@charset "UTF-8";
/* =====================================================================
   TalentHub — website styles
   Concept: "the codebook". Paper, ink-navy, medical green and a coder's
   highlighter yellow; codes set in monospace like the books students use.
   ===================================================================== */

:root {
  --paper: #F6F5EF;
  --paper-2: #EEECE3;
  --card: #FFFFFF;
  --line: #E2DFD3;
  --line-2: #D3CFC0;

  --ink: #0D1633;
  --ink-2: #384162;
  --ink-3: #626A87;

  --navy: #10209A;
  --navy-2: #0B1A5C;
  --navy-3: #07113D;
  --blue: #2F45D6;

  --green: #15803D;
  --green-2: #1B9A4A;
  --green-3: #00C465;
  --green-soft: #E2F3E7;
  --green-text: #137536;   /* green for small text: >= 4.5:1 on every light background used */

  --gold: #F2B705;
  --gold-soft: #FFF3C4;
  --hl: #FFE36E;
  --amber: #C2410C;
  --violet: #5B3E96;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-1: 0 1px 2px rgba(13, 22, 51, .06), 0 6px 18px rgba(13, 22, 51, .06);
  --shadow-2: 0 18px 50px rgba(11, 26, 92, .16);
  --shadow-3: 0 30px 80px rgba(7, 17, 61, .28);

  --font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 64px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(1.95rem, 3.6vw, 3rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.45rem, 2.4vw, 2.05rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1rem, 1.25vw, 1.15rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
code, .mono { font-family: var(--font-mono); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--hl); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(44px, 6vw, 78px) 0; position: relative; }
.section-tight { padding: clamp(32px, 4vw, 52px) 0; }
.section-alt { background: var(--paper-2); }
.section-white { background: #fff; }
.section-dark { background: var(--navy-3); color: #DDE3FA; }
.section-dark h2, .section-dark h3 { color: #fff; }

/* ---------- small type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-text);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow { color: var(--green-3); }
.lead { font-size: clamp(.98rem, 1.1vw, 1.06rem); color: var(--ink-2); line-height: 1.65; }
.section-dark .lead { color: #C3CBEA; }
.muted { color: var(--ink-3); }
.hl {
  background: linear-gradient(transparent 58%, var(--hl) 58%, var(--hl) 92%, transparent 92%);
  padding: 0 .08em;
}
.section-head { max-width: 760px; margin-bottom: clamp(22px, 3.2vw, 38px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }
.section-dark .section-head p { color: #C3CBEA; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff; --bd: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 10px 20px; border-radius: 12px;
  font: 700 .95rem/1.2 var(--font-body); letter-spacing: .005em;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(13, 22, 51, .18); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary { --bg: var(--green); }
.btn-primary:hover { --bg: #11702F; }
.btn-navy { --bg: var(--navy); }
.btn-navy:hover { --bg: var(--navy-2); }
.btn-ghost { --bg: transparent; --fg: var(--navy); --bd: var(--line-2); }
.btn-ghost:hover { --bd: var(--navy); --fg: var(--navy); background: #fff; }
.btn-light { --bg: #fff; --fg: var(--navy-2); }
.btn-light:hover { --fg: var(--navy-2); }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { --bd: #fff; }
.btn-gold { --bg: var(--gold); --fg: var(--ink); }
.btn-gold:hover { --fg: var(--ink); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.02rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--navy); }
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- top bar ---------- */
.topbar { background: var(--navy-3); color: #C9D1F2; font-size: .82rem; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #E6EAFB; text-decoration: none; }
.topbar a:hover { color: var(--green-3); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar i { margin-right: 4px; opacity: .85; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green-3); margin-right: 6px; box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: livePulse 2s infinite; vertical-align: 1px; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 239, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(13, 22, 51, .06); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 0; }
.logo-svg { display: block; height: 46px; width: auto; overflow: visible; }
.brand-footer { background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.brand-footer .logo-svg { height: 52px; }

.main-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link {
  display: block; padding: 10px 12px; border-radius: 10px;
  font-weight: 600; font-size: .95rem; color: var(--ink-2); text-decoration: none;
}
.nav-link:hover { color: var(--navy); background: rgba(18, 37, 122, .06); }
.nav-link.is-active { color: var(--navy); }
.nav-link.is-active::after { content: ""; display: block; height: 2px; margin-top: 2px; background: var(--green); border-radius: 2px; }
.has-sub .nav-link { padding-right: 4px; }
.sub-toggle { border: 0; background: transparent; color: var(--ink-3); width: 28px; height: 32px; border-radius: 8px; cursor: pointer; font-size: .7rem; }
.sub-toggle:hover { color: var(--navy); background: rgba(18, 37, 122, .06); }
.sub-toggle i { transition: transform .2s ease; }
.sub-menu {
  position: absolute; top: calc(100% + 6px); left: -8px; min-width: 300px;
  list-style: none; padding: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.sub-menu a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.sub-menu a span { font-weight: 700; font-size: .93rem; }
.sub-menu a small { color: var(--ink-3); font-size: .78rem; }
.sub-menu a:hover { background: var(--paper); color: var(--navy); }
@media (hover: hover) and (min-width: 1081px) {
  .has-sub:not(.is-dismissed):hover .sub-menu { opacity: 1; visibility: visible; transform: none; }
}
.has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.has-sub.is-open .sub-toggle i { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { min-height: 42px; padding: 8px 16px; font-size: .9rem; }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; }
.bars { display: grid; gap: 5px; width: 20px; margin: 0 auto; }
.bars span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-open .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .bars span:nth-child(2) { opacity: 0; }
.nav-open .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  :root { --header-h: 64px; }
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
  .js .nav-toggle { display: block; }
  html:not(.js) .header-row { flex-wrap: wrap; padding-bottom: 12px; }
  html:not(.js) .main-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 12px; margin: 0; }
  .js .main-nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, 102px); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 18px; margin: 0;
    padding: 18px var(--gutter) 32px; background: var(--paper);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    border-top: 1px solid var(--line);
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; padding: 15px 4px; font-size: 1.08rem; font-weight: 700; color: var(--ink); border-radius: 0; }
  .nav-link:hover { background: transparent; }
  .nav-link.is-active::after { display: none; }
  .nav-link.is-active { color: var(--green); }
  .sub-toggle { width: 44px; height: 44px; font-size: .8rem; }
  .sub-menu { position: static; min-width: 0; width: 100%; box-shadow: none; border: 0; background: transparent; padding: 0 0 10px; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub.is-open .sub-menu { display: block; }
  .sub-menu a { padding: 10px 12px; background: #fff; margin-bottom: 6px; border: 1px solid var(--line); }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .nav-cta .btn { min-height: 50px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .logo-svg { height: 44px; }
  .brand-footer .logo-svg { height: 50px; }
  .topbar-left, .topbar-right { gap: 14px; }
}

/* ---------- HOME HERO ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(18, 37, 122, .13) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 60%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: -120px;
  background: radial-gradient(closest-side, rgba(34, 197, 94, .20), rgba(34, 197, 94, 0) 70%), radial-gradient(closest-side at 30% 70%, rgba(47, 75, 214, .16), rgba(47, 75, 214, 0) 70%);
  filter: blur(8px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-1);
  font-size: .86rem; font-weight: 600; color: var(--ink-2);
}
.hero-badge b { background: var(--green-soft); color: var(--green-text); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--green); }
.hero-hl { position: relative; white-space: nowrap; }
.hero-hl::before {
  content: ""; position: absolute; z-index: -1; left: -.08em; right: -.08em; bottom: .06em; height: .42em;
  background: var(--hl); border-radius: 3px; transform-origin: left center; transform: scaleX(0) skewX(-6deg);
  animation: hlSweep .9s .55s cubic-bezier(.65, 0, .35, 1) forwards;
}
@keyframes hlSweep { to { transform: scaleX(1) skewX(-6deg); } }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 36px; padding-top: 26px; border-top: 1px dashed var(--line-2); }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.55rem; line-height: 1; color: var(--navy); letter-spacing: -.03em; }
.trust-item div > span { display: block; font-size: .8rem; color: var(--ink-3); font-weight: 600; margin-top: 4px; }
.trust-stars { color: var(--gold); font-size: .78rem; letter-spacing: 1px; }

/* chart-to-code visual */
.c2c { position: relative; padding: 18px 0 30px 0; }
.c2c-note {
  position: relative; background: #fff; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: var(--shadow-2); padding: 22px 24px 50px; width: min(100%, 470px);
  transform: rotate(-1.6deg);
  background-image: repeating-linear-gradient(180deg, transparent 0, transparent 31px, rgba(47, 75, 214, .07) 31px, rgba(47, 75, 214, .07) 32px);
  background-position: 0 58px;
}
.c2c-note::before { content: ""; position: absolute; left: 44px; top: 56px; bottom: 16px; width: 1.5px; background: rgba(214, 69, 69, .28); }
.c2c-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.c2c-head b { color: var(--navy); font-weight: 700; }
.c2c-dl { margin: 0; padding-left: 36px; font-size: .95rem; line-height: 32px; }
.c2c-dl dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); line-height: 32px; }
.c2c-dl dd { margin: 0 0 0; color: var(--ink); font-weight: 600; }
.c2c-dl dd.plain { font-weight: 500; color: var(--ink-2); font-size: .9rem; line-height: 32px; }
.c2c mark { background: linear-gradient(90deg, var(--hl), var(--hl)) no-repeat left 55% / 0% 72%; color: inherit; padding: 0 3px; border-radius: 3px; animation: markIn .7s cubic-bezier(.65, 0, .35, 1) forwards; }
.c2c mark.m1 { animation-delay: .9s; }
.c2c mark.m2 { animation-delay: 1.5s; background-image: linear-gradient(90deg, #C9F2D6, #C9F2D6); }
@keyframes markIn { to { background-size: 100% 72%; } }
.c2c-codes { list-style: none; display: grid; gap: 10px; width: min(100%, 360px); margin: -46px 0 0 auto; position: relative; z-index: 2; }
.code-chip {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 14px;
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--c, var(--navy));
  border-radius: 14px; padding: 11px 16px; box-shadow: var(--shadow-1);
  opacity: 0; transform: translateX(22px); animation: chipIn .55s cubic-bezier(.2, .8, .2, 1) forwards;
}
.code-chip:nth-child(1) { animation-delay: 1.25s; }
.code-chip:nth-child(2) { animation-delay: 1.85s; }
.code-chip:nth-child(3) { animation-delay: 2.1s; }
.code-chip:nth-child(4) { animation-delay: 2.55s; }
@keyframes chipIn { to { opacity: 1; transform: none; } }
.code-chip .sys { grid-column: 1 / -1; font-family: var(--font-mono); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c, var(--navy)); }
.code-chip code { font-size: 1.22rem; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.code-chip .desc { font-size: .8rem; color: var(--ink-3); line-height: 1.35; }
.chip-cm { --c: var(--green); }
.chip-pcs { --c: var(--navy); }
.chip-cpt { --c: var(--amber); }
.chip-drg { --c: var(--violet); }
.c2c-seal {
  position: absolute; right: -14px; top: -34px; width: 104px; height: 104px; border-radius: 50%;
  background: var(--gold); color: var(--ink); display: grid; place-items: center; text-align: center;
  box-shadow: 0 12px 30px rgba(242, 183, 5, .35); transform: rotate(10deg); z-index: 3;
  font-family: var(--font-display); line-height: 1.02;
}
.c2c-seal::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed rgba(13, 22, 51, .35); }
.c2c-seal strong { display: block; font-size: 1.7rem; letter-spacing: -.04em; }
.c2c-seal span { display: block; font-size: .62rem; font-family: var(--font-mono); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.c2c-caption { margin: 18px 0 0; font-size: .8rem; color: var(--ink-3); text-align: right; }
.c2c-caption i { color: var(--green); margin-right: 4px; }

.thumb-tabs { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 6px; z-index: 1; }
.thumb-tabs span { writing-mode: vertical-rl; font-family: var(--font-mono); font-size: .66rem; font-weight: 700; letter-spacing: .14em; color: #fff; padding: 14px 7px; border-radius: 8px 0 0 8px; }
.thumb-tabs span:nth-child(1) { background: var(--green); }
.thumb-tabs span:nth-child(2) { background: var(--navy); }
.thumb-tabs span:nth-child(3) { background: var(--amber); }

/* ---------- ticker ---------- */
.ticker { background: var(--navy-2); color: #D6DCF7; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; }
.ticker li { display: flex; align-items: center; gap: 22px; padding: 15px 0 15px 22px; font-family: var(--font-mono); font-size: .82rem; font-weight: 500; letter-spacing: .06em; white-space: nowrap; }
.ticker li::after { content: "✚"; color: var(--green-3); font-size: .7rem; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- generic cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 26px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 22px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.split.center { align-items: center; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow-1); }
.icon-badge { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; background: var(--green-soft); color: var(--green); margin-bottom: 16px; flex-shrink: 0; }
.icon-badge.navy { background: #E4E8F8; color: var(--navy); }
.icon-badge.gold { background: var(--gold-soft); color: #9A6B00; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--ink-2); font-size: .96rem; margin: 0; }
.prose p { color: var(--ink-2); font-size: 1.04rem; }
.prose p:first-child { font-size: 1.14rem; color: var(--ink); }

.check-list { list-style: none; display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 32px; color: var(--ink-2); }
.check-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .68rem;
  position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-soft); color: var(--green);
}
.section-dark .check-list li { color: #D2D9F5; }
.section-dark .check-list li::before { background: rgba(34, 197, 94, .16); color: var(--green-3); }
.check-list strong { color: var(--ink); }
.section-dark .check-list strong { color: #fff; }

/* ---------- welcome pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pillars .card { padding: 24px; }

/* ---------- stats band ---------- */
.stats { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 120px); }
.stats-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.stat { padding: clamp(28px, 4vw, 44px) 18px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; }
.stat strong small { font-size: .5em; color: var(--green-3); margin-left: 2px; }
.stat > span { display: block; margin-top: 10px; font-size: .82rem; color: #BFC8EE; font-weight: 600; letter-spacing: .02em; }

/* ---------- programs ---------- */
.programs { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; }
.programs-side { display: grid; gap: 22px; }
.program {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px 26px; box-shadow: var(--shadow-1); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.program::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c, var(--navy)); }
.program-tag { align-self: flex-start; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tag, var(--c)); background: color-mix(in srgb, var(--c) 10%, #fff); padding: 5px 10px; border-radius: 8px; margin-bottom: 16px; }
.program h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 800; letter-spacing: -.025em; }
.program p { color: var(--ink-2); }
.program .check-list { margin: 4px 0 22px; font-size: .95rem; }
.program-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.dur-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 18px; }
.dur-chip { display: inline-flex; flex-direction: column; padding: 9px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); line-height: 1.15; }
.dur-chip b { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.dur-chip small { font-size: .72rem; color: var(--ink-3); font-weight: 600; }
.program.featured { --c: var(--green); --tag: var(--green-text); background: linear-gradient(160deg, #fff 55%, #F1FAF3); }
.program.p-ipdrg { --c: var(--navy); }
.program.p-bmct { --c: var(--amber); --tag: #B23C0B; }

/* ---------- CCS spotlight (dark) ---------- */
.spot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.exam-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); }
.exam-top { display: flex; align-items: flex-end; gap: 22px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); margin-bottom: 22px; }
.exam-score { font-family: var(--font-display); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: #fff; font-size: clamp(3.4rem, 7vw, 5.4rem); }
.exam-score small { font-size: .38em; color: #9AA6D8; letter-spacing: -.02em; }
.exam-top p { margin: 0; color: #C3CBEA; font-size: .95rem; }
.exam-top p b { color: var(--green-3); }
.exam-bar { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); overflow: hidden; margin: 12px 0 0; }
.exam-bar span { display: block; height: 100%; width: 75%; background: linear-gradient(90deg, var(--green-2), var(--green-3)); border-radius: inherit; }
.exam-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.exam-fact { background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 16px; }
.exam-fact strong { display: block; font-family: var(--font-display); font-size: 2rem; color: #fff; line-height: 1; letter-spacing: -.03em; }
.exam-fact span { font-size: .82rem; color: #BFC8EE; }
.exam-note { margin: 16px 0 0; font-size: .78rem; color: #8E9ACC; }
.dur-list { display: grid; gap: 12px; margin: 26px 0; }
.dur-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.dur-row span { color: #D2D9F5; font-weight: 600; }
.dur-row span small { display: block; color: #8E9ACC; font-weight: 500; font-size: .8rem; }
.dur-row b { font-family: var(--font-display); font-size: 1.5rem; color: #fff; letter-spacing: -.02em; white-space: nowrap; }
.dur-row.fast { background: linear-gradient(90deg, rgba(242, 183, 5, .18), rgba(242, 183, 5, .04)); border-color: rgba(242, 183, 5, .4); }
.dur-row.fast b { color: var(--gold); }

/* books */
.books { display: flex; align-items: flex-end; gap: 12px; height: 180px; margin-top: 28px; }
.book {
  position: relative; width: 96px; flex: 0 1 96px; min-width: 0; border-radius: 4px 8px 8px 4px; padding: 14px 10px 12px 14px; color: #fff;
  box-shadow: inset 6px 0 0 rgba(0, 0, 0, .18), 0 14px 30px rgba(0, 0, 0, .35);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .25s ease;
}
.book:hover { transform: translateY(-8px) rotate(-2deg); }
.book b { font-family: var(--font-display); font-size: .95rem; line-height: 1.05; letter-spacing: -.01em; }
.book small { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .08em; opacity: .85; }
.book.b1 { height: 150px; background: linear-gradient(160deg, #6E4BB0, #4A2F86); }
.book.b2 { height: 165px; background: linear-gradient(160deg, #2A3F9E, #16246A); }
.book.b3 { height: 158px; background: linear-gradient(160deg, #1F7F4C, #125A34); }
.books-cap { font-size: .8rem; color: #9AA6D8; margin-top: 12px; }

/* ---------- why us (index list) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.why-item { padding: 26px 24px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: transparent; transition: background .2s ease; }
.why-item:hover { background: #fff; }
.why-num { font-family: var(--font-mono); font-size: .74rem; font-weight: 700; color: var(--green); letter-spacing: .1em; }
.why-item h3 { margin: 10px 0 6px; font-size: 1.12rem; }
.why-item p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.why-item.hot { background: var(--gold-soft); }
.why-item.hot:hover { background: #FFEFAE; }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 26px 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-mono); font-weight: 700; font-size: .78rem; color: #fff; background: var(--navy); border-radius: 8px; padding: 4px 8px; position: absolute; top: -12px; left: 18px; }
.step h3 { font-size: 1.04rem; margin: 6px 0 6px; }
.step p { margin: 0; font-size: .88rem; color: var(--ink-2); line-height: 1.55; }
.step i { color: var(--green); font-size: 1.2rem; }

/* ---------- live results ---------- */
.batch-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.batch-chip { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-1); }
.batch-chip strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--green); line-height: 1; letter-spacing: -.03em; }
.batch-chip span { font-size: .8rem; line-height: 1.25; color: var(--ink-3); }
.batch-chip span b { display: block; color: var(--ink); font-size: .9rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: tick var(--dur, 60s) linear infinite; padding: 8px 0 14px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.t-card { margin: 0; width: 330px; flex-shrink: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 14px; }
.t-quote { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.t-quote::before { content: "“"; font-family: var(--font-display); font-size: 2.2rem; line-height: 0; vertical-align: -.45em; color: var(--green); margin-right: 4px; }
.t-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--green-soft); background: var(--paper-2); }
.t-initial { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.t-name { font-weight: 800; color: var(--ink); line-height: 1.2; }
.t-meta { font-size: .78rem; color: var(--green); font-weight: 700; }
.t-score { margin-left: auto; font-family: var(--font-mono); font-weight: 700; font-size: .8rem; color: var(--navy); background: #E4E8F8; padding: 5px 9px; border-radius: 8px; white-space: nowrap; }
.t-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.t-grid .t-card { width: auto; }
.t-grid .t-quote { -webkit-line-clamp: 8; }

/* ---------- referral ---------- */
.referral {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 5vw, 56px);
  background: var(--gold); color: var(--ink);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center;
}
.referral::before { content: "₹"; position: absolute; right: -20px; bottom: -110px; font-family: var(--font-display); font-weight: 800; font-size: 420px; line-height: 1; color: rgba(13, 22, 51, .07); }
.referral h2 { margin-bottom: 10px; }
.referral p { margin: 0; font-size: 1.05rem; color: #3B3312; }
.ref-amount { position: relative; text-align: center; background: var(--ink); color: #fff; border-radius: 22px; padding: 26px; transform: rotate(-2deg); box-shadow: 0 20px 40px rgba(13, 22, 51, .3); }
.ref-amount small { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ref-amount strong { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -.04em; }
.ref-amount span { font-size: .85rem; color: #C3CBEA; }

/* ---------- apply block ---------- */
.apply { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 14px; margin: 26px 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon-badge { margin: 0; width: 44px; height: 44px; border-radius: 12px; }
.contact-list b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 700; }
.contact-list a, .contact-list span { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.02rem; }
.contact-list a:hover { color: var(--green); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3.2vw, 36px); box-shadow: var(--shadow-2); position: relative; }
.form-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--green), var(--navy)); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form-card > p { color: var(--ink-3); font-size: .93rem; margin-bottom: 20px; }
.already { margin: 16px 0 0; text-align: center; font-size: .9rem; color: var(--ink-3); }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.req { color: #C0362C; }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px;
  border: 1.5px solid #8A8F9E; background: #FCFCFA; color: var(--ink);
  font: 500 1rem var(--font-body); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23626A87' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input::placeholder { color: #6B7185; }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(18, 37, 122, .12); }
.field input:user-invalid, .field select:user-invalid { border-color: #C0362C; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 52px; }
.pw-toggle { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px; color: var(--ink-3); cursor: pointer; }
.pw-toggle:hover { color: var(--navy); background: var(--paper); }
.form-note { margin: 0; font-size: .8rem; color: var(--ink-3); line-height: 1.5; }
.form .btn { margin-top: 4px; min-height: 52px; font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 1.04rem; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--navy); font-size: 1.2rem; font-weight: 600; transition: transform .2s ease, background .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--green-soft); color: var(--green); }
.faq details > div { padding: 0 22px 20px; color: var(--ink-2); }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-3); color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 60px); position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; background: radial-gradient(closest-side, rgba(34, 197, 94, .35), transparent); }
.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.3rem); position: relative; }
.cta-band p { margin: 0; color: #C3CBEA; position: relative; }
.cta-band .btn-row { position: relative; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); background: var(--paper-2); overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(18, 37, 122, .12) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-bottom: 16px; }
.page-hero .lead { max-width: 680px; margin-bottom: 26px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .82rem; color: var(--ink-3); margin-bottom: 18px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--ink-3); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--navy); }
.fact-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.fact-chip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.fact-chip i { color: var(--green); }
.fact-chip b { color: var(--ink); }
.hero-aside { justify-self: end; width: 100%; max-width: 360px; }

/* ---------- syllabus / modules ---------- */
.track-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 26px; }
.track-tabs button { border: 0; background: transparent; padding: 11px 18px; border-radius: 11px; font: 700 .95rem var(--font-body); color: var(--ink-3); cursor: pointer; }
.track-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.track-tabs button:hover:not([aria-selected="true"]) { background: var(--paper); color: var(--ink); }
.track { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr); gap: 26px; align-items: start; }
.modules { list-style: none; counter-reset: mod; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.modules li { counter-increment: mod; display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); color: var(--ink-2); align-items: baseline; }
.modules li:last-child { border-bottom: 0; }
.modules li::before { content: counter(mod, decimal-leading-zero); font-family: var(--font-mono); font-weight: 700; font-size: .85rem; color: var(--green); }
.modules li strong { color: var(--ink); }
.track-side { display: grid; gap: 16px; }
.track-meta { background: var(--navy-3); color: #D2D9F5; border-radius: var(--radius-lg); padding: 24px; }
.track-meta h3 { color: #fff; }
.track-meta dl { margin: 0; display: grid; gap: 12px; }
.track-meta dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.track-meta dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.track-meta dt { color: #9AA6D8; font-size: .9rem; }
.track-meta dd { margin: 0; font-weight: 700; color: #fff; text-align: right; }

/* ---------- PCS anatomy ---------- */
.pcs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-1); }
.pcs-code { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin: 20px 0 8px; }
.pcs-char { text-align: center; border-radius: 14px; padding: 14px 6px 12px; background: var(--paper); border: 1px solid var(--line); transition: transform .2s ease, background .2s ease; }
.pcs-char:hover { transform: translateY(-4px); background: var(--gold-soft); }
.pcs-char code { display: block; font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 700; color: var(--navy); line-height: 1.1; }
.pcs-char small { display: block; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }
.pcs-char span { display: block; font-size: .8rem; font-weight: 700; color: var(--ink); margin-top: 4px; line-height: 1.25; }
.pcs-caption { font-size: .85rem; color: var(--ink-3); margin: 12px 0 0; }

/* ---------- DRG diagram ---------- */
.drg { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: center; }
.drg-inputs { display: grid; gap: 10px; }
.drg-in { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-weight: 600; color: var(--ink-2); font-size: .94rem; }
.drg-in i { color: var(--navy); width: 20px; text-align: center; }
.drg-arrow { font-size: 1.6rem; color: var(--green); }
.drg-out { display: grid; gap: 10px; }
.drg-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.drg-row code { font-size: 1.3rem; font-weight: 700; color: var(--violet); }
.drg-row span { font-size: .86rem; color: var(--ink-2); line-height: 1.35; }
.drg-row.pick { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(91, 62, 150, .12); }

/* ---------- compare table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-1); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .95rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy-3); color: #fff; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.compare thead th:first-child { background: var(--navy-2); }
.compare tbody th { color: var(--ink-3); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; width: 18%; background: #FBFAF6; }
.compare td { color: var(--ink-2); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--green); font-weight: 700; }

/* ---------- services ---------- */
.service { display: flex; gap: 20px; }
.service .icon-badge { width: 56px; height: 56px; font-size: 1.35rem; border-radius: 16px; }
.service h3 { margin-top: 4px; }
.service p { color: var(--ink-2); margin: 0; }

/* ---------- gallery ---------- */
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; cursor: zoom-in; break-inside: avoid; box-shadow: var(--shadow-1); }
.gallery img { width: 100%; height: auto; transition: transform .35s ease; }
.gallery button:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(7, 17, 61, .86); }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 14px; margin: 0 auto; }
.lightbox .portal-close { position: fixed; top: 16px; right: 16px; background: #fff; }
.empty { text-align: center; padding: clamp(32px, 5vw, 56px); border: 1.5px dashed var(--line-2); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .6); color: var(--ink-2); }
.empty i { font-size: 2rem; color: var(--green); margin-bottom: 12px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-3); color: #BFC8EE; padding: clamp(56px, 7vw, 84px) 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 48px; }
.footer-brand p { margin: 18px 0 20px; font-size: .94rem; max-width: 380px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; font-size: 1.1rem; transition: background .2s ease; }
.footer-social a:hover { background: var(--green); color: #fff; }
.footer-h { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 700; margin: 6px 0 18px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: #BFC8EE; text-decoration: none; font-size: .95rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--green-3); }
.footer-contact { list-style: none; display: grid; gap: 12px; font-size: .95rem; }
.footer-contact li { display: flex; gap: 12px; align-items: baseline; }
.footer-contact i { color: var(--green-3); width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; padding-bottom: 96px; display: grid; gap: 8px; font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-legal { font-size: .74rem; color: #7F8BBF; max-width: 900px; line-height: 1.6; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: #25D366; color: #073B1C; text-decoration: none; font-weight: 800; font-size: .95rem;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .4); transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float i { font-size: 1.6rem; }
.wa-float:hover { color: #073B1C; transform: translateY(-3px); box-shadow: 0 16px 36px rgba(37, 211, 102, .5); }
@media (max-width: 640px) { .wa-float { width: 56px; padding: 0; justify-content: center; } .wa-label { display: none; } }

/* ---------- Student Portal dialog ---------- */
.portal { border: 0; padding: 0; background: transparent; width: min(100% - 24px, 520px); max-height: calc(100dvh - 24px); margin: auto; overflow: visible; }
.portal::backdrop { background: rgba(7, 17, 61, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.portal[open] .portal-card { animation: dlgIn .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.portal-card { position: relative; background: #fff; border-radius: 26px; box-shadow: var(--shadow-3); padding: 28px clamp(20px, 4vw, 32px) 26px; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.portal-close { position: sticky; top: 0; float: right; margin: -12px -14px 0 8px; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); cursor: pointer; font-size: 1.1rem; z-index: 2; }
.portal-close:hover { color: var(--ink); background: #fff; }
.portal-head { padding-right: 48px; }
.portal-head h2 { font-size: 1.7rem; margin-bottom: 18px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 18px; }
.tabs button { border: 0; background: transparent; border-radius: 11px; padding: 12px; font: 700 .98rem var(--font-body); color: var(--ink-3); cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow-1); }
.tabs button i { margin-right: 6px; }
.pane-intro { font-size: .92rem; color: var(--ink-2); margin-bottom: 16px; }

/* ---------- scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .c2c { max-width: 560px; }
  .thumb-tabs { display: none; }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .t-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .programs, .spot-grid, .split, .apply, .track, .referral, .page-hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-aside { justify-self: start; max-width: 480px; }
  .drg { grid-template-columns: 1fr; }
  .drg-arrow { transform: rotate(90deg); justify-self: center; }
  .ref-amount { transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid-2, .grid-3, .grid-4, .pillars, .why-grid, .t-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-left: 0 !important; border-top: 1px solid rgba(255, 255, 255, .1); padding: 26px 12px; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .1); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:last-child { grid-column: 1 / -1; border-right: 0; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .hero-trust { gap: 18px 24px; }
  .c2c-note { padding: 18px 16px 16px; }
  .c2c-note::before { left: 30px; }
  .c2c-dl { padding-left: 24px; }
  .c2c-codes { margin-top: -30px; width: 94%; }
  .c2c-seal { width: 80px; height: 80px; right: -6px; top: -30px; }
  .c2c-seal strong { font-size: 1.35rem; }
  .pcs-code { gap: 5px; }
  .pcs-char { padding: 10px 2px; border-radius: 10px; }
  .pcs-char span { font-size: .66rem; }
  .pcs-char small { font-size: .5rem; letter-spacing: .02em; }
  .exam-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .service { flex-direction: column; gap: 4px; }
  .t-card { width: 290px; }
  .cta-band .btn-row, .cta-band .btn-row .btn { width: 100%; }
  .modules li { grid-template-columns: 36px 1fr; padding: 14px 16px; gap: 8px; }
  .track-tabs { display: flex; }
  .track-tabs button { flex: 1; padding: 11px 10px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ticker-track, .marquee-track { animation: none !important; }
  .marquee { overflow-x: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .wa-float, .portal, .ticker, .site-footer { display: none !important; }
  body { background: #fff; }
}

/* static code chips (inner-page hero asides) */
.chip-stack { display: grid; gap: 10px; }
.code-chip.static { opacity: 1; transform: none; animation: none; }
.chip-stack .code-chip:nth-child(2) { margin-left: 22px; }
.chip-stack .code-chip:nth-child(3) { margin-left: 44px; }
@media (max-width: 640px) { .chip-stack .code-chip:nth-child(n) { margin-left: 0; } }
a.card { display: block; color: inherit; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); color: inherit; }
.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .steps.steps-3 { grid-template-columns: 1fr; } }

/* CCS mini exam strip (programme card) */
.mini-exam { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0 0 22px; }
.mini-exam div { background: #fff; padding: 12px 10px; text-align: center; line-height: 1.15; }
.mini-exam b { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); letter-spacing: -.02em; }
.mini-exam small { font-size: .72rem; color: var(--ink-3); font-weight: 600; }
.program-foot .muted i { margin-right: 6px; }
@media (max-width: 400px) { .mini-exam { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* phone refinements */
@media (max-width: 640px) {
  .hero-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .trust-item strong { font-size: 1.3rem; }
  .trust-item div > span { font-size: .72rem; line-height: 1.3; }
  .trust-stars { display: block; font-size: .7rem; margin-top: 3px; }
  .card.pillar { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 20px; }
  .card.pillar .icon-badge { grid-row: span 2; margin: 2px 0 0; width: 44px; height: 44px; }
  .card.pillar h3 { margin-bottom: 4px; }
  .c2c-note { padding-bottom: 40px; }
  .c2c-codes { margin-top: -22px; }
}

/* PCS demo: full width; stacked rows on phones */
.pcs-char span { overflow-wrap: normal; hyphens: auto; }
.pcs-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; margin-top: 26px; }
@media (max-width: 900px) { .pcs-points { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .pcs-code { grid-template-columns: 1fr; gap: 6px; }
  .pcs-char { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; text-align: left; align-items: center; padding: 10px 14px; }
  .pcs-char code { grid-row: span 2; font-size: 1.6rem; text-align: center; }
  .pcs-char small { margin-top: 0; font-size: .6rem; letter-spacing: .08em; }
  .pcs-char span { margin-top: 0; font-size: .9rem; }
}
/* keep the course facts card in view while reading a long syllabus */
@media (min-width: 901px) { .track-side { position: sticky; top: calc(var(--header-h) + 20px); } }

.t-result { margin: 0; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.t-result i { color: var(--gold); }

/* focus ring that stays visible on the dark bands */
.topbar :focus-visible, .site-footer :focus-visible, .section-dark :focus-visible, .cta-band :focus-visible, .track-meta :focus-visible, .stats :focus-visible, .ticker :focus-visible { outline-color: #fff; }

/* pause control for moving content (ticker + testimonial marquee) */
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 6px 14px; font: 600 .82rem var(--font-body); cursor: pointer; }
.motion-toggle:hover { color: var(--navy); border-color: var(--navy); }
.ticker { position: relative; }
.ticker .motion-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); z-index: 2; background: var(--navy-2); color: #fff; border-color: rgba(255, 255, 255, .35); padding: 5px 10px; }
.ticker .motion-toggle:hover { color: #fff; border-color: #fff; }
.motion-paused .ticker-track, .motion-paused .marquee-track { animation-play-state: paused !important; }
.marquee-bar { display: flex; justify-content: flex-end; margin: -14px 0 12px; }
/* hero-aside card titles are h2 (heading order) but look like the other card titles */
.track-meta .tm-title { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 700; color: #fff; margin: 0 0 .5em; letter-spacing: -.02em; }
.exam-scale { display: block; font-size: .8rem; color: #9AA6D8; margin-top: 6px; font-family: var(--font-body); letter-spacing: 0; font-weight: 600; }

/* ---------- review polish (layout) ---------- */
body { font-feature-settings: "calt" 0; }                 /* keep both hyphens in ICD-10-CM the same width */
.nobr { white-space: nowrap; }
.book b .nobr { white-space: normal; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
a[href^="tel:"] { word-spacing: .18em; }
.topbar a, .topbar span { white-space: nowrap; }
@media (max-width: 900px) { .hide-md { display: none !important; } }
body.nav-open .wa-float { display: none; }
.mini-exam b { white-space: nowrap; }
.ticker .motion-toggle { box-shadow: -30px 0 18px 8px var(--navy-2); }
.portal-head { padding-right: 0; }
.inc-row { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 22px; }
.inc-row li { display: flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.inc-row i { color: var(--green); width: 16px; text-align: center; }
.swipe-hint { display: none; font-size: .85rem; font-weight: 600; color: var(--ink-3); margin: -18px 0 10px; }
.swipe-hint i { color: var(--green); margin-right: 6px; }
.compare th:first-child, .compare td:first-child { position: sticky; left: 0; z-index: 1; }
@media (max-width: 760px) { .swipe-hint { display: block; } .table-wrap { -webkit-mask-image: linear-gradient(90deg, #000 85%, rgba(0, 0, 0, .35)); mask-image: linear-gradient(90deg, #000 85%, rgba(0, 0, 0, .35)); } }
@media (min-width: 641px) and (max-width: 1000px) { .pcs-code { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 641px) and (max-width: 1080px) {
  .stats-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .stat { grid-column: span 2; }
  .stat:nth-child(n+4) { grid-column: span 3; }
}
@media (min-width: 641px) and (max-width: 900px) { .why-item:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 400px) { .inc-row { grid-template-columns: 1fr; } }
@media (max-width: 359px) { .btn { white-space: normal; text-align: center; } }


/* =====================================================================
   CINEMATIC HERO — graded video (home) / graded still (inner pages),
   film grain, index rail, italic-serif accent. Compact by design: the
   first screen fits without scrolling.
   ===================================================================== */
:root { --cine-ink: #040C24; }

.hero-cine {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: min(70vh, 620px);
  padding: clamp(26px, 3.4vw, 44px) 0 clamp(34px, 3.6vw, 48px);
}
.hc-media { position: absolute; inset: 0; z-index: -3; background: var(--cine-ink); }
.hc-still { position: absolute; inset: 0; background-size: cover; background-position: 68% center; }
.hc-clip {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 68% center;
  opacity: 0; transition: opacity 1.6s ease;
  filter: saturate(.92) contrast(1.06);
  transform: scale(1.04); animation: hcDrift 30s ease-in-out infinite alternate;
}
.hc-clip.is-on { opacity: 1; }
@keyframes hcDrift { from { transform: scale(1.04); } to { transform: scale(1.12) translate3d(-1.2%, -1%, 0); } }

.hc-grade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 90% at 6% 42%, rgba(34, 197, 94, .22), transparent 62%),
    radial-gradient(90% 120% at 100% 0%, rgba(47, 69, 214, .28), transparent 58%),
    linear-gradient(101deg, rgba(4, 12, 36, .97) 0%, rgba(4, 12, 36, .9) 34%, rgba(4, 12, 36, .56) 60%, rgba(4, 12, 36, .22) 88%),
    linear-gradient(0deg, rgba(4, 12, 36, .85), rgba(4, 12, 36, 0) 42%);
}
.hc-grain {
  position: absolute; inset: -140%; z-index: -1; pointer-events: none; opacity: .085;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: hcGrain 1.1s steps(4) infinite;
}
@keyframes hcGrain {
  0% { transform: translate3d(0, 0, 0); } 25% { transform: translate3d(-3%, 2%, 0); }
  50% { transform: translate3d(2%, -3%, 0); } 75% { transform: translate3d(-2%, -2%, 0); }
  100% { transform: translate3d(3%, 1%, 0); }
}

.hc-rail {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; margin: 0; display: flex; align-items: center; gap: 14px;
  font: 700 .62rem/1 var(--font-mono); letter-spacing: .32em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5); opacity: 0; animation: hcFade .9s 1s ease forwards;
}
.hc-rail i { width: 1px; height: 56px; background: currentColor; opacity: .5; }

.hc-inner { position: relative; max-width: 760px; padding-left: clamp(0px, 3vw, 32px); }
.hc-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  font: 700 .66rem/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase;
  color: #9FF0BE; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .35);
  padding: 7px 13px; border-radius: 999px; opacity: 0; animation: hcFade .7s .15s ease forwards;
}
.hc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-3); box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: livePulse 2.2s infinite; }

.hc-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: .98; letter-spacing: -.045em; color: #fff; margin: 0 0 14px; text-wrap: balance; }
.hc-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hc-line > span { display: block; transform: translateY(110%); animation: hcRise .9s cubic-bezier(.16, .84, .32, 1) forwards; }
.hc-line:nth-child(1) > span { animation-delay: .1s; }
.hc-line:nth-child(2) > span { animation-delay: .22s; }
.hc-title em, .page-hero h1 em {
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400;
  letter-spacing: -.01em; color: var(--gold); padding-right: .06em; position: relative;
}
.hc-title em::after {
  content: ""; position: absolute; left: .02em; right: .08em; bottom: -.04em; height: .055em; border-radius: 2px;
  background: currentColor; transform-origin: left; transform: scaleX(0);
  animation: hcSwipe .7s 1s cubic-bezier(.65, 0, .35, 1) forwards;
}
.hc-lead { max-width: 56ch; margin: 0 0 20px; font-size: clamp(.98rem, 1.1vw, 1.06rem); line-height: 1.65; color: rgba(226, 232, 255, .86); opacity: 0; animation: hcFade .8s .5s ease forwards; }
.hc-cta { opacity: 0; animation: hcFade .8s .65s ease forwards; }
.btn-quiet { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .45); }
.btn-quiet:hover { --bg: #fff; --fg: var(--navy-2); --bd: #fff; }

/* one chart, three code cards */
.hc-deck { display: flex; align-items: flex-start; margin: 24px 0 0; padding-left: 4px; }
.hc-card {
  position: relative; flex: 0 0 auto; width: 168px; padding: 12px 14px 11px;
  background: rgba(255, 255, 255, .96); border-radius: 13px; border-top: 3px solid var(--c, var(--green));
  box-shadow: 0 16px 36px rgba(2, 8, 28, .45);
  opacity: 0; transform: translateY(16px) rotate(var(--r, 0deg)) scale(.96);
  animation: hcDeal .7s cubic-bezier(.2, .9, .25, 1) forwards;
  transition: transform .35s cubic-bezier(.2, .9, .25, 1), box-shadow .35s ease, margin .35s ease;
}
.hc-card span { display: block; font: 700 .55rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.hc-card code { display: block; margin: 6px 0 3px; font-size: 1.14rem; font-weight: 700; color: var(--ink); }
.hc-card small { display: block; font-size: .7rem; line-height: 1.35; color: var(--ink-3); }
.hc-card.c1 { --c: var(--green-text); --r: -3.5deg; z-index: 1; animation-delay: .95s; }
.hc-card.c2 { --c: var(--navy); --r: 1.5deg; z-index: 2; margin: 10px 0 0 -12px; animation-delay: 1.1s; }
.hc-card.c3 { --c: #B23C0B; --r: -1.5deg; z-index: 3; margin: 20px 0 0 -12px; animation-delay: 1.25s; }
.hc-deck:hover .hc-card { transform: translateY(-5px) rotate(0deg) scale(1); margin-left: 10px; margin-top: 0; box-shadow: 0 22px 46px rgba(2, 8, 28, .5); }
.hc-deck:hover .hc-card.c1 { margin-left: 0; }

.hc-metrics { display: flex; flex-wrap: wrap; margin: 26px 0 0; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 15px; opacity: 0; animation: hcFade .8s .8s ease forwards; }
.hc-metrics > div { padding: 0 20px; border-left: 1px solid rgba(255, 255, 255, .16); }
.hc-metrics > div:first-child { padding-left: 0; border-left: 0; }
.hc-metrics dt { font: 700 .58rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(226, 232, 255, .6); margin-bottom: 6px; }
.hc-metrics dd { margin: 0; font-family: var(--font-display); font-size: 1.28rem; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.hc-metrics dd .star { color: var(--gold); font-size: .8em; margin-left: 2px; }

.hc-scroll { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; font: 700 .62rem/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); opacity: 0; animation: hcFade .8s 1.4s ease forwards; }
.hc-scroll:hover { color: #fff; }
.hc-scroll i { animation: hcBob 1.9s ease-in-out infinite; }
@keyframes hcBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.hc-pause { position: absolute; right: 20px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(4, 12, 36, .5); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 999px; padding: 6px 13px; font: 600 .74rem var(--font-body); cursor: pointer; }
.hc-pause:hover { background: rgba(4, 12, 36, .75); }

@keyframes hcRise { to { transform: translateY(0); } }
@keyframes hcFade { to { opacity: 1; } }
@keyframes hcSwipe { to { transform: scaleX(1); } }
@keyframes hcDeal { to { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)) scale(1); } }

/* ---- inner pages: same treatment over a still frame ---- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; border-bottom: 0;
  background: var(--cine-ink);
  padding: clamp(30px, 3.6vw, 52px) 0 clamp(30px, 3.6vw, 52px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    radial-gradient(70% 90% at 6% 42%, rgba(34, 197, 94, .2), transparent 62%),
    linear-gradient(101deg, rgba(4, 12, 36, .97) 0%, rgba(4, 12, 36, .92) 36%, rgba(4, 12, 36, .68) 62%, rgba(4, 12, 36, .42) 100%),
    url("../img/hero-still.jpg");
  background-size: auto, auto, cover; background-position: center, center, 70% center;
}
.page-hero::after {
  content: ""; position: absolute; inset: -140%; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(226, 232, 255, .86); }
.page-hero .eyebrow { color: #9FF0BE; }
.page-hero .crumbs { color: rgba(226, 232, 255, .6); }
.page-hero .crumbs a { color: rgba(226, 232, 255, .8); }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs li + li::before { color: rgba(255, 255, 255, .3); }
.page-hero .fact-chip { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #E6EAFB; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.page-hero .fact-chip b { color: #fff; }
.page-hero .fact-chip i { color: var(--green-3); }
.page-hero .btn-ghost { --fg: #fff; --bd: rgba(255, 255, 255, .45); }
.page-hero .btn-ghost:hover { --bg: #fff; --fg: var(--navy-2); --bd: #fff; }
.page-hero .track-meta { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.page-hero .chip-stack .code-chip { background: rgba(255, 255, 255, .95); }

@media (max-width: 1080px) {
  .hero-cine { min-height: 0; }
  .hc-rail { display: none; }
  .hc-inner { padding-left: 0; }
  .hc-grade { background: radial-gradient(80% 60% at 20% 20%, rgba(34, 197, 94, .16), transparent 60%), linear-gradient(180deg, rgba(4, 12, 36, .74), rgba(4, 12, 36, .93)); }
  .page-hero::before { background-image: radial-gradient(80% 60% at 20% 20%, rgba(34, 197, 94, .16), transparent 60%), linear-gradient(180deg, rgba(4, 12, 36, .8), rgba(4, 12, 36, .94)), url("../img/hero-still.jpg"); }
}
@media (max-width: 760px) {
  .hc-title { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .hc-deck { flex-wrap: wrap; gap: 9px; }
  .hc-card { width: calc(50% - 5px); margin-left: 0 !important; margin-top: 0 !important; transform: none; animation-name: hcFade; }
  .hc-card.c3 { width: 100%; }
  .hc-deck:hover .hc-card { transform: none; margin-left: 0; }
  .hc-metrics > div { padding: 0 12px; }
  .hc-metrics dd { font-size: 1.1rem; }
  .hc-scroll, .hc-pause { display: none; }
}
@media (max-width: 420px) {
  .hc-metrics > div { width: 50%; padding: 8px 10px; border-left: 0; }
  .hc-metrics > div:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .16); }
}
@media (prefers-reduced-motion: reduce) {
  .hc-clip, .hc-grain, .hc-scroll i { animation: none !important; }
  .hc-line > span, .hc-card { transform: none !important; }
  .hc-kicker, .hc-lead, .hc-cta, .hc-metrics, .hc-rail, .hc-scroll, .hc-card { opacity: 1 !important; animation: none !important; }
  .hc-title em::after { transform: scaleX(1); animation: none; }
}

/* ---- compact pass over the rest of the page ---- */
.btn { min-height: 42px; padding: 8px 16px; font-size: .9rem; }
.btn-lg { min-height: 48px; padding: 11px 20px; font-size: .95rem; }
.nav-link { font-size: .9rem; padding: 8px 10px; }
.nav-cta .btn { min-height: 38px; font-size: .85rem; }
.card { padding: clamp(18px, 2vw, 24px); border-radius: 18px; }
.icon-badge { width: 40px; height: 40px; font-size: 1rem; border-radius: 12px; margin-bottom: 12px; }
.pillar p, .why-item p, .step p, .program p { font-size: .9rem; }
.stat { padding: clamp(20px, 3vw, 32px) 14px; }
.stat strong { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.stat > span { font-size: .76rem; margin-top: 6px; }
.program { padding: 24px 22px 20px; }
.dur-chip b { font-size: 1.05rem; }
.why-item { padding: 20px; }
.why-item h3 { font-size: 1rem; margin: 8px 0 4px; }
.step { padding: 22px 16px 18px; }
.step h3 { font-size: .95rem; }
.exam-score { font-size: clamp(2.6rem, 5vw, 3.8rem); }
.exam-fact strong { font-size: 1.6rem; }
.dur-row { padding: 12px 16px; }
.dur-row b { font-size: 1.2rem; }
.referral { padding: clamp(24px, 4vw, 40px); border-radius: 22px; }
.ref-amount strong { font-size: clamp(2.1rem, 4.4vw, 3rem); }
.t-card { width: 300px; padding: 16px; }
.t-quote { font-size: .88rem; }
.faq summary { padding: 16px 52px 16px 18px; font-size: .96rem; }
.faq details > div { padding: 0 18px 16px; font-size: .92rem; }
.form-card { padding: clamp(18px, 2.6vw, 28px); }
.form-card h3 { font-size: 1.2rem; }
.field input, .field select { height: 44px; font-size: .95rem; }
.ticker li { padding: 11px 0 11px 20px; font-size: .76rem; }
.site-footer { padding-top: clamp(44px, 6vw, 64px); }
.footer-brand p, .footer-links a, .footer-contact { font-size: .88rem; }
.wa-float { height: 50px; font-size: .88rem; }
.wa-float i { font-size: 1.4rem; }
@media (max-width: 640px) { .wa-float { width: 50px; } .logo-svg { height: 40px; } }

/* =====================================================================
   ULTRA-COMPACT PASS — first screen fits without scrolling; less scrolling
   on every page. (Overrides the sizes above.)
   ===================================================================== */
.hero-cine { min-height: min(58vh, 500px); padding: clamp(18px, 2.2vw, 30px) 0 clamp(22px, 2.4vw, 34px); }
.hc-kicker { font-size: .6rem; padding: 6px 11px; margin-bottom: 12px; }
.hc-title { font-size: clamp(1.75rem, 3.1vw, 2.45rem); margin-bottom: 10px; }
.hc-lead { max-width: 52ch; font-size: clamp(.92rem, 1vw, .98rem); line-height: 1.6; margin-bottom: 16px; }
.hc-deck { margin-top: 18px; }
.hc-card { width: 150px; padding: 9px 12px 9px; border-radius: 11px; }
.hc-card code { font-size: 1rem; margin: 4px 0 2px; }
.hc-card small { font-size: .66rem; }
.hc-card.c2 { margin-top: 8px; }
.hc-card.c3 { margin-top: 16px; }
.hc-metrics { margin-top: 18px; padding-top: 12px; }
.hc-metrics dt { font-size: .54rem; margin-bottom: 4px; }
.hc-metrics dd { font-size: 1.12rem; }
.hc-metrics > div { padding: 0 16px; }
.hc-scroll { bottom: 10px; font-size: .58rem; }
.hc-pause { bottom: 12px; right: 16px; padding: 5px 11px; font-size: .7rem; }
.btn-lg { min-height: 44px; padding: 10px 18px; font-size: .92rem; }

h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 2.1vw, 1.85rem); }
h3 { font-size: clamp(.98rem, 1.15vw, 1.08rem); }
.lead { font-size: clamp(.94rem, 1vw, 1rem); line-height: 1.6; }
.section { padding: clamp(36px, 4.6vw, 62px) 0; }
.section-tight { padding: clamp(26px, 3.2vw, 42px) 0; }
.section-head { margin-bottom: clamp(18px, 2.6vw, 30px); }
.section-head p { font-size: .94rem; }
.page-hero { padding: clamp(22px, 2.6vw, 38px) 0; }
.page-hero .lead { margin-bottom: 18px; }
.card { padding: clamp(15px, 1.7vw, 20px); border-radius: 16px; }
.icon-badge { width: 36px; height: 36px; font-size: .92rem; border-radius: 11px; margin-bottom: 10px; }
.pillar p, .why-item p, .step p, .program p, .service p { font-size: .86rem; }
.check-list { gap: 8px; }
.check-list li { font-size: .9rem; padding-left: 28px; }
.stat { padding: clamp(16px, 2.4vw, 26px) 12px; }
.stat strong { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.stat > span { font-size: .72rem; }
.program { padding: 20px 18px 16px; }
.dur-chip { padding: 7px 12px; }
.dur-chip b { font-size: .98rem; }
.mini-exam div { padding: 9px 8px; }
.mini-exam b { font-size: 1.12rem; }
.why-item { padding: 16px 18px; }
.step { padding: 18px 14px 15px; }
.exam-card { padding: clamp(16px, 2vw, 24px); }
.exam-score { font-size: clamp(2.2rem, 4vw, 3rem); }
.exam-fact { padding: 12px; }
.exam-fact strong { font-size: 1.35rem; }
.dur-row { padding: 10px 14px; }
.dur-row b { font-size: 1.08rem; }
.modules li { padding: 12px 18px; }
.modules li span { font-size: .9rem; }
.track-meta { padding: 18px; }
.t-card { width: 272px; padding: 14px; gap: 10px; }
.faq summary { padding: 13px 48px 13px 16px; font-size: .92rem; }
.faq details > div { padding: 0 16px 14px; font-size: .88rem; }
.form-card { padding: clamp(16px, 2.2vw, 24px); border-radius: 20px; }
.field input, .field select { height: 40px; font-size: .92rem; }
.field label { font-size: .78rem; }
.form { gap: 11px; }
.form .btn { min-height: 46px; }
.cta-band { padding: clamp(22px, 3.4vw, 40px); border-radius: 22px; }
.referral { padding: clamp(20px, 3vw, 34px); }
.contact-list { gap: 11px; margin: 18px 0; }
.contact-list a, .contact-list span { font-size: .92rem; }
.footer-grid { padding-bottom: 34px; gap: 28px; }
.site-footer { padding-top: clamp(34px, 4.4vw, 52px); }
@media (max-width: 760px) {
  .hero-cine { padding: 16px 0 20px; }
  .hc-title { font-size: clamp(1.65rem, 7vw, 2.1rem); }
  .hc-card { padding: 9px 11px; }
}
