/* CMTI site styles: corporate and formal.
   IBM Plex Sans throughout; CMTI logo blue, deep navy and a restrained amber accent. */

:root {
  --blue: #195b9c;           /* CMTI Denim Blue */
  --blue-dark: #0f3d6e;
  --blue-tint: #edf3fa;
  --navy: #0a1f3a;
  --navy-2: #102c50;
  --ink: #14202e;
  --text: #2a3646;
  --muted: #55657a;         /* 5.9:1 on white */
  --line: #dde3ea;
  --alt: #f4f6f9;
  --amber: #ffa434;          /* CMTI Carrot Orange */
  --white: #ffffff;
  --error: #b42318;
  --wa: #128c4b;

  --page: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 8vw, 112px);
  --radius: 4px;
  --shadow: 0 18px 40px -20px rgba(10, 31, 58, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
[id] { scroll-margin-top: 110px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.375rem, 4.8vw, 4rem); font-weight: 600; letter-spacing: -.025em; }
h2 { font-size: clamp(1.875rem, 3.2vw, 2.625rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
address { font-style: normal; }
main { overflow-x: clip; }
[hidden] { display: none !important; }
.container { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip:focus { top: 16px; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font: inherit; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms var(--ease);
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--amber); color: var(--navy); }
.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-white:hover { background: #fff; color: var(--navy); }
.btn .arr, .link-arrow::after {
  content: ""; display: inline-block; width: 8px; height: 8px; flex: none;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 200ms var(--ease);
}
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow:hover::after { transform: translateX(4px) rotate(45deg); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c3d0df; font-size: .875rem; }
.topbar-inner { max-width: var(--page); margin: 0 auto; padding: 8px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar ul { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; list-style: none; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--amber); }
.topbar .tb-label { color: var(--amber); font-weight: 600; }
.topbar .rating { color: var(--amber); letter-spacing: 1px; }

/* ---------- Header ---------- */
.masthead { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); transition: box-shadow 200ms ease; }
.masthead.is-scrolled { box-shadow: 0 8px 24px -16px rgba(10, 31, 58, .4); }
.masthead-inner { max-width: var(--page); margin: 0 auto; padding: 8px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 128px; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav > ul { display: flex; margin: 0; padding: 0; list-style: none; }
.site-nav li { position: relative; }
.site-nav > ul > li > a, .site-nav > ul > li > button {
  display: flex; align-items: center; gap: 7px; min-height: 64px; padding: 0 14px;
  background: none; border: 0; border-bottom: 3px solid transparent;
  color: var(--ink); font: inherit; font-size: .96875rem; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease;
}
.site-nav > ul > li > button::after {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform 200ms var(--ease);
}
.site-nav > ul > li > button[aria-expanded="true"]::after { transform: translateY(1px) rotate(225deg); }
.site-nav > ul > li > a:hover, .site-nav > ul > li > button:hover,
.site-nav > ul > li > button[aria-expanded="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue) !important; }
.site-nav > ul > li > button.is-current { color: var(--blue); border-bottom-color: var(--blue); }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 300px; padding: 10px 0;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 160ms ease, transform 200ms var(--ease), visibility 0s linear 200ms;
}
.has-sub > button[aria-expanded="true"] + .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sub a { display: block; padding: 10px 22px; color: var(--text); text-decoration: none; font-size: .9375rem; border-left: 3px solid transparent; }
.sub a:hover { background: var(--alt); color: var(--blue); border-left-color: var(--amber); }
.menu-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
}
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: currentColor; transition: transform 200ms var(--ease); }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1200px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--nav-top, 120px) 0 0 0; flex-direction: column; align-items: stretch; gap: 20px;
    padding: 8px var(--gutter) 32px; overflow-y: auto; background: #fff;
    opacity: 0; visibility: hidden; transition: opacity 200ms ease, visibility 0s linear 200ms;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
  .site-nav > ul { flex-direction: column; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav > ul > li > a, .site-nav > ul > li > button { width: 100%; justify-content: space-between; min-height: 56px; padding: 0 4px; border-bottom: 0; font-size: 1.0625rem; }
  .sub { position: static; display: none; min-width: 0; padding: 0 0 10px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub > button[aria-expanded="true"] + .sub { display: block; }
  .sub a { padding: 11px 16px; border-left: 2px solid var(--line); }
  .site-nav .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
  .topbar .tb-hide { display: none; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #d9e3ee;
  min-height: clamp(560px, 78vh, 760px); display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 31, 58, .94) 0%, rgba(10, 31, 58, .82) 42%, rgba(10, 31, 58, .25) 100%);
}
.hero-inner { width: 100%; max-width: var(--page); margin: 0 auto; padding: 96px var(--gutter) 140px; }
.hero-copy { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .lede { font-size: 1.25rem; color: #d9e3ee; max-width: 56ch; margin-bottom: 34px; }
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font-size: .9375rem; font-weight: 600; color: var(--blue); letter-spacing: .01em;
}
.eyebrow::before { content: ""; width: 36px; height: 3px; background: var(--amber); flex: none; }
.hero .eyebrow, .on-dark .eyebrow { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.stat-strip { position: relative; z-index: 2; margin-top: -76px; }
.stat-strip dl {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0;
  background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--blue);
}
.stat-strip dl > div { padding: 28px 30px; border-right: 1px solid var(--line); }
.stat-strip dl > div:last-child { border-right: 0; }
.stat-strip dd { margin: 0; font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 600; color: var(--blue); letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-strip dt { margin-top: 6px; color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.stat-strip dl > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 800ms var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 90ms; }
  .hero-copy > :nth-child(3) { animation-delay: 180ms; }
  .hero-copy > :nth-child(4) { animation-delay: 270ms; }
  .hero-bg img { animation: settle 1.6s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { transform: scale(1.06); } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; color: #d9e3ee; background: var(--navy); }
.page-hero-bg { position: absolute; inset: 0 0 0 40%; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 40%, rgba(10, 31, 58, .7) 62%, rgba(10, 31, 58, .2) 100%);
}
.page-hero-inner { max-width: var(--page); margin: 0 auto; padding: 40px var(--gutter) 80px; }
.page-hero .copy { max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2.125rem, 4vw, 3.25rem); margin-bottom: 18px; }
.page-hero .lede { font-size: 1.1875rem; color: #d9e3ee; max-width: 60ch; }
.page-hero .meta { color: #fff; font-weight: 500; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; font-size: .875rem; color: #9fb2c8; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { color: #c9d6e4; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.tags li { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-size: .9375rem; font-weight: 500; }
.tags-label { margin: 24px 0 -12px; font-size: .875rem; color: #9fb2c8; }
.light .tags li { border-color: var(--line); color: var(--ink); background: #fff; }
.light .tags-label { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section.alt { background: var(--alt); }
.section.dark { background: var(--navy); color: #c9d6e4; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section + .section:not(.alt):not(.dark) { padding-top: 0; }
.section.alt + .section.alt { padding-top: 0; }
.section-head { max-width: 820px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.125rem; margin: 0; }
.dark .section-head p { color: #c9d6e4; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 40px; }
.head-row .section-head { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.two-col.center { align-items: center; }
.prose p { max-width: 68ch; }
.lead { font-size: 1.1875rem; color: var(--ink); }
.photo { position: relative; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 40%; height: 40%; border-left: 4px solid var(--amber); border-bottom: 4px solid var(--amber); z-index: -1; }
.photo { isolation: isolate; }

/* Cards: square-cut, with a blue rule on top */
.grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 30px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue);
  transition: box-shadow 250ms ease, transform 250ms var(--ease), border-color 250ms ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.card .label { margin: 0 0 8px; font-size: .875rem; font-weight: 600; color: var(--blue); }
.card .cred { color: var(--ink); font-weight: 600; }
.card .num { font-size: .875rem; font-weight: 700; color: var(--amber); margin-bottom: 14px; letter-spacing: .04em; }
.dark .card { background: var(--navy-2); border-color: rgba(255, 255, 255, .12); border-top-color: var(--amber); }
.dark .card p { color: #c9d6e4; }
.dark .card .label { color: var(--amber); }
.monogram { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; background: var(--blue); color: #fff; font-weight: 600; font-size: 1.25rem; letter-spacing: .02em; }
.icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; background: var(--blue-tint); }
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card .logo { width: 84px; height: 84px; object-fit: contain; margin-bottom: 20px; border: 1px solid var(--line); padding: 8px; }

.panel { padding: clamp(28px, 4vw, 48px); background: var(--navy); color: #c9d6e4; border-left: 5px solid var(--amber); }
.panel h3, .panel h2 { color: #fff; margin-bottom: 14px; }
.panel .muted { margin: 0; font-size: .9375rem; color: #9fb2c8; }
.panel.light { background: var(--blue-tint); color: var(--text); border-left-color: var(--blue); }
.panel.light h2, .panel.light h3 { color: var(--ink); }

.cols-rule { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cols-rule > article { padding: 36px 32px; border-right: 1px solid var(--line); }
.cols-rule > article:last-child { border-right: 0; }
.cols-rule h3 { margin-bottom: 10px; }
.cols-rule p { color: var(--muted); }

.tick-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.tick-list li { position: relative; padding: 18px 0 18px 40px; border-bottom: 1px solid var(--line); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 20px; width: 24px; height: 24px; background: var(--blue)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.tick-list.one { grid-template-columns: 1fr; }

.steps { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: s; border-top: 3px solid var(--blue); }
.steps li { counter-increment: s; position: relative; padding: 28px 24px 8px 0; font-weight: 500; color: var(--ink); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; margin-bottom: 10px; font-size: 1.5rem; font-weight: 600; color: var(--blue); }
.steps li::after { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.dark .steps { border-top-color: var(--amber); }
.dark .steps li { color: #fff; }
.dark .steps li::before { color: var(--amber); }
.dark .steps li::after { background: var(--navy); border-color: var(--amber); }
.steps.mini { --cols: 1; border-top: 0; border-left: 2px solid var(--line); margin: 4px 0 20px; }
.steps.mini li { padding: 6px 0 6px 22px; font-size: .9375rem; }
.steps.mini li::before { display: inline; margin: 0 8px 0 0; font-size: .875rem; color: var(--amber); }
.steps.mini li::after { display: none; }

.accordion { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0;
  cursor: pointer; list-style: none; font-weight: 600; color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; width: 30px; height: 30px; background: var(--blue-tint)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%23185a9d' stroke-width='2'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform 250ms var(--ease);
}
.accordion summary:hover { color: var(--blue); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p { margin: 0; padding: 0 0 20px; color: var(--muted); }

.logo-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.logo-grid li { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 14px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-grid img { width: 100%; height: 100%; max-height: 66px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter 250ms ease, opacity 250ms ease; }
.logo-grid li:hover img { filter: none; opacity: 1; }
.college-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin: 0 0 36px; padding: 0; list-style: none; }
.college-grid li { display: grid; justify-items: center; align-content: start; gap: 12px; padding: 22px 14px; background: #fff; border: 1px solid var(--line); text-align: center; font-size: .9375rem; font-weight: 500; color: var(--ink); line-height: 1.35; }
.college-grid img { width: 64px; height: 64px; object-fit: contain; }

/* Partner colleges, state by state */
.state-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.state-nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.state-nav a:hover { border-color: var(--blue); color: var(--blue); }
.state-nav a span, .state-title span { font-size: .8125rem; font-weight: 700; color: var(--blue); }
.state-title { display: flex; align-items: baseline; gap: 12px; margin: 40px 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); scroll-margin-top: 110px; }
.college-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.college-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.college-list img, .college-list .mark { width: 44px; height: 44px; }
.college-list img { object-fit: contain; }
.college-list .mark { display: grid; place-items: center; background: var(--blue-tint); }
.college-list .mark svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.college-list strong { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.college-list small { display: block; margin-top: 2px; font-size: .8125rem; color: var(--muted); }

.impact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 48px; background: var(--navy); }
.impact div { padding: 28px 32px; border-right: 1px solid rgba(255, 255, 255, .12); color: #c9d6e4; }
.impact div:last-child { border-right: 0; }
.impact strong { display: block; font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 600; color: #fff; line-height: 1.1; letter-spacing: -.02em; }

.mentor { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.mentor .monogram { width: 104px; height: 104px; font-size: 2rem; background: var(--amber); color: var(--navy); margin: 0; }
.mentor .role { color: var(--amber); font-weight: 600; margin-bottom: 18px; }
.mentor a { color: #fff; font-weight: 600; }

.statement { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-top: 4px solid var(--blue); background: #fff; }
.statement h2 { margin-bottom: 18px; }
.statement p { font-size: 1.125rem; margin: 0; }

.video { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--navy); cursor: pointer; text-align: left; font: inherit; color: inherit; }
.video .thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.video:hover img { transform: scale(1.04); }
.video .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; background: var(--amber); transition: transform 250ms var(--ease); }
.video .play::after { content: ""; position: absolute; left: 29px; top: 23px; border-left: 20px solid var(--navy); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.video:hover .play { transform: scale(1.08); }
.video .cap { display: block; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-top: 0; }
.video .cap strong { display: block; color: var(--ink); font-size: 1.125rem; }
.video .cap span { color: var(--blue); font-weight: 600; font-size: .9375rem; }
.video-dialog { width: min(980px, 92vw); padding: 0; border: 0; background: #000; overflow: visible; }
.video-dialog::backdrop { background: rgba(10, 31, 58, .85); }
.video-frame { aspect-ratio: 16 / 9; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-close { position: absolute; right: 0; top: -54px; min-height: 44px; padding: 8px 18px; border: 0; background: #fff; color: var(--navy); font: inherit; font-weight: 600; cursor: pointer; }

.rating-box { display: inline-flex; align-items: center; gap: 18px; padding: 16px 22px; background: #fff; color: var(--muted); text-decoration: none; border-left: 4px solid var(--amber); }
a.rating-box:hover { color: var(--muted); box-shadow: var(--shadow); }
.rating-box .score { font-size: 2.5rem; font-weight: 600; color: var(--ink); line-height: 1; }
.rating-box strong { color: var(--ink); }
.stars { --size: 18px; display: block; width: calc(var(--size) * 5); height: var(--size); margin-bottom: 4px;
  background: linear-gradient(90deg, var(--amber) calc(var(--rating) / 5 * 100%), #d5dde7 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info h3 { margin: 30px 0 8px; font-size: 1.0625rem; }
.contact-info a { font-weight: 600; }
.promise { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 10px 16px; background: var(--blue-tint); color: var(--ink); font-weight: 600; border-left: 4px solid var(--blue); }
.form-panel { padding: clamp(24px, 3.5vw, 44px); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); box-shadow: var(--shadow); }
.form-panel h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-panel .help { color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-top: 20px; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9375rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #c4cfdb; border-radius: var(--radius);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24, 90, 157, .18); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { min-height: 1.3em; margin: 4px 0 10px; color: var(--error); font-size: .875rem; font-weight: 600; }
.btn-wa { width: 100%; background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0d6e3a; color: #fff; }
.form-status { margin: 14px 0 0; font-weight: 600; color: var(--ink); }
.form-status:empty { display: none; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #e3ecf6; }
.cta-inner { max-width: var(--page); margin: 0 auto; padding: 56px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.625rem, 2.6vw, 2.125rem); }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a9bad0; font-size: .9375rem; }
.footer-grid { max-width: var(--page); margin: 0 auto; padding: 72px var(--gutter) 48px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 170px; margin-bottom: 20px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--amber); display: inline-block; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #d5e0ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-base p { max-width: var(--page); margin: 0 auto; padding: 20px var(--gutter) 96px; font-size: .875rem; }

/* ---------- Quick contact ---------- */
.quick-contact { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; gap: 10px; }
.quick-contact a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; min-width: 52px; padding: 12px 20px; font-weight: 600; text-decoration: none; box-shadow: 0 12px 28px -10px rgba(10, 31, 58, .5); }
.qc-wa { background: var(--wa); color: #fff; }
.qc-wa:hover { background: #0d6e3a; color: #fff; }
.qc-text { display: flex; flex-direction: column; line-height: 1.2; }
.qc-text small { font-size: .8rem; font-weight: 500; letter-spacing: .01em; }
.qc-call { display: none !important; background: #fff; color: var(--navy); border: 1px solid var(--line); }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--delay, 0ms); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid { --cols: 2 !important; }
  .logo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .stat-strip dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip dl > div:nth-child(2) { border-right: 0; }
  .stat-strip dl > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { --cols: 3 !important; row-gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .two-col, .contact-wrap, .mentor { grid-template-columns: 1fr; }
  .cols-rule { grid-template-columns: 1fr; }
  .cols-rule > article { border-right: 0; border-bottom: 1px solid var(--line); }
  .cols-rule > article:last-child { border-bottom: 0; }
  .tick-list, .accordion { grid-template-columns: 1fr; }
  .impact { grid-template-columns: 1fr; }
  .impact div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .page-hero-bg { inset: 0; opacity: .35; }
  .page-hero::before { background: linear-gradient(180deg, rgba(10, 31, 58, .85), var(--navy)); }
  .hero::before { background: linear-gradient(180deg, rgba(10, 31, 58, .7), rgba(10, 31, 58, .92)); }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .grid { --cols: 1 !important; }
  .steps { --cols: 1 !important; border-top: 0; border-left: 3px solid var(--blue); }
  .steps li { padding: 12px 0 12px 28px; }
  .steps li::after { top: 18px; left: -9px; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-strip dl > div { padding: 20px 18px; }
  .fields { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .hero-inner { padding: 64px var(--gutter) 120px; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-inner { justify-content: center; }
  .topbar .tb-right { display: none; }
  .quick-contact { left: 16px; right: 16px; bottom: 16px; }
  .quick-contact .qc-wa { flex: 1; }
  .qc-call { display: inline-flex !important; }
}

/* ---------- Logo marquee (two rows) ---------- */
.marquee-group { display: grid; gap: 16px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; margin: 0; padding: 0 0 0 16px; list-style: none; }
.marquee-track li { flex: none; display: flex; align-items: center; justify-content: center; width: 230px; height: 124px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.marquee.large .marquee-track li { width: 260px; height: 140px; }
.marquee-track img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.marquee-track li.college { flex-direction: column; width: 260px; height: auto; gap: 12px; padding: 18px 16px; text-align: center; font-size: .875rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
.marquee-track li.college img { width: 100%; height: 130px; max-height: none; object-fit: contain; }
.marquee.reverse .marquee-track { animation-direction: reverse !important; }
.marquee-toggle { min-height: 40px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.marquee-toggle:hover { border-color: var(--blue); color: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .marquee.is-running .marquee-track { animation: marquee var(--marquee-duration, 60s) linear infinite; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); width: auto; padding: 0; }
  .marquee-track li, .marquee.large .marquee-track li { width: auto; height: 104px; }
  .marquee-track li.college { height: auto; }
}
.video-embed { aspect-ratio: 16 / 9; background: #000; }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Infographic tiles (colleges, topics) ---------- */
.info-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.info-tile { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 28px; background: #fff; transition: background-color 200ms ease; }
.info-tile:hover { background: var(--blue-tint); }
.info-tile .icon { margin: 0; width: 56px; height: 56px; background: var(--blue); }
.info-tile .icon svg { stroke: #fff; }
.info-tile h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.info-tile p { margin: 0; font-size: .9375rem; color: var(--muted); }
.info-tile .n { position: absolute; right: 18px; top: 14px; font-size: .8125rem; font-weight: 700; color: var(--amber); }

.topic-board { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; border: 1px solid var(--line); background: #fff; }
.topic-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-right: 1px solid var(--line); }
.topic-list [role="tab"] { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; background: #fff; border: 0; text-align: left; font: inherit; font-weight: 600; font-size: .9375rem; color: var(--ink); cursor: pointer; transition: background-color 200ms ease, color 200ms ease; }
.topic-list [role="tab"] .icon { width: 40px; height: 40px; margin: 0; flex: none; }
.topic-list [role="tab"] .icon svg { width: 22px; height: 22px; }
.topic-list [role="tab"]:hover { background: var(--blue-tint); }
.topic-list [role="tab"][aria-selected="true"] { background: var(--blue); color: #fff; }
.topic-list [role="tab"][aria-selected="true"] .icon { background: rgba(255, 255, 255, .15); }
.topic-list [role="tab"][aria-selected="true"] .icon svg { stroke: #fff; }
.topic-detail { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; background: var(--navy); color: #c9d6e4; }
.topic-detail .icon { background: rgba(255, 255, 255, .1); width: 72px; height: 72px; }
.topic-detail .icon svg { stroke: var(--amber); width: 36px; height: 36px; }
.topic-detail h3 { color: #fff; font-size: 1.625rem; margin-bottom: 12px; }
.topic-detail p { font-size: 1.125rem; }
.topic-detail:not([hidden]) { animation: rise 350ms var(--ease); }
.topic-count { margin-top: auto; padding-top: 18px; font-size: .875rem; color: #9fb2c8; }

.vm-block { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; align-items: stretch; }
.vm-block + .vm-block { margin-top: 40px; }
.vm-block .vm-img img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.vm-block .vm-text { padding: clamp(32px, 5vw, 64px); background: var(--alt); display: flex; flex-direction: column; justify-content: center; border-top: 4px solid var(--blue); }
.vm-block.flip .vm-img { order: 2; }
.vm-block .vm-text p { font-size: 1.125rem; margin: 0; }
.vm-block h2 { margin-bottom: 18px; }
@media (max-width: 1100px) { .info-grid { --cols: 2 !important; } .topic-board { grid-template-columns: 1fr; } .topic-list { border-right: 0; } }
@media (max-width: 860px) { .vm-block { grid-template-columns: 1fr; } .vm-block.flip .vm-img { order: 0; } .vm-block .vm-img img { min-height: 240px; } }
@media (max-width: 600px) { .info-grid { --cols: 1 !important; } .topic-list { grid-template-columns: 1fr; } .marquee-track li { width: 180px; height: 100px; } .marquee.large .marquee-track li { width: 200px; height: 110px; } .marquee-track li.college { width: 210px; } .marquee-track li.college img { height: 104px; } }

/* ---------- Brand logos ---------- */
.hero-badge { width: 240px; margin-bottom: 28px; }
.card-brand { width: 200px; margin: 0 0 20px; }
@media (max-width: 600px) { .hero-badge { width: 180px; } .brand img { width: 108px; } }
.page-hero .eyebrow { color: #fff; }
.card-brand { order: -1; }

/* Desktop: menus also open on hover (click, tap and keyboard still work) */
@media (hover: hover) and (min-width: 1201px) {
  .has-sub:hover > button { color: var(--blue); border-bottom-color: var(--blue); }
  .has-sub:hover > button::after { transform: translateY(1px) rotate(225deg); }
  .has-sub:hover > .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}

/* ---------- Training topics: flip cards ---------- */
.flip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.flip-card { perspective: 1200px; min-height: 250px; }
.flip-inner { position: relative; height: 100%; min-height: 250px; transform-style: preserve-3d; transition: transform 650ms cubic-bezier(.3, .7, .2, 1); }
.flip-face {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px 24px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  font: inherit; text-align: left;
}
.flip-front { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); color: var(--ink); cursor: pointer; transition: box-shadow 250ms ease; }
.flip-front:hover { box-shadow: var(--shadow); }
.flip-front .icon { margin: 0 0 20px; width: 56px; height: 56px; }
.flip-front h3 { font-size: 1.125rem; line-height: 1.35; }
.flip-hint { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--blue); }
.flip-hint::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23195b9c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.3-5.7M20 4v4h-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.flip-back { transform: rotateY(180deg); background: var(--navy); color: #c9d6e4; border-top: 3px solid var(--amber); pointer-events: none; }
.flip-back h3 { color: #fff; font-size: 1.125rem; margin-bottom: 10px; }
.flip-back p { margin: 0 0 16px; font-size: .96875rem; color: #dbe5f0; }
.flip-num { margin: 0 0 8px !important; font-size: .8125rem !important; font-weight: 700; color: var(--amber) !important; letter-spacing: .04em; }
.flip-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.flip-back .link-arrow { color: #fff; }
.flip-return { min-height: 36px; padding: 6px 12px; background: transparent; color: #c9d6e4; border: 1px solid rgba(255, 255, 255, .3); font: inherit; font-size: .8125rem; font-weight: 600; cursor: pointer; }
.flip-return:hover { color: #fff; border-color: #fff; }
.flip-card.is-flipped .flip-inner, .flip-card:focus-within:not(:has(.flip-front:focus-visible)) .flip-inner { transform: rotateY(180deg); }
.flip-card.is-flipped .flip-back, .flip-card:focus-within .flip-back { pointer-events: auto; }
.flip-card.is-flipped .flip-front { pointer-events: none; }
@media (hover: hover) and (min-width: 861px) {
  .flip-card:hover .flip-inner { transform: rotateY(180deg); }
  .flip-card:hover .flip-back { pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .flip-inner { transition: none; transform: none !important; }
  .flip-back { transform: none; opacity: 0; transition: opacity 150ms ease; }
  .flip-card.is-flipped .flip-back, .flip-card:focus-within:not(:has(.flip-front:focus-visible)) .flip-back { opacity: 1; }
  .flip-card.is-flipped .flip-front { visibility: hidden; }
}
@media (hover: hover) and (min-width: 861px) and (prefers-reduced-motion: reduce) { .flip-card:hover .flip-back { opacity: 1; } }
@media (max-width: 1100px) { .flip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .flip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .flip-grid { grid-template-columns: 1fr; } .flip-card, .flip-inner { min-height: 220px; } }

/* ---------- Corporate services: high-contrast cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service { display: flex; flex-direction: column; background: #fff; border: 1px solid #c9d3df; box-shadow: 0 14px 30px -22px rgba(10, 31, 58, .55); transition: transform 250ms var(--ease), box-shadow 250ms ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-head { display: flex; align-items: center; gap: 18px; padding: 26px 28px; background: var(--navy); border-bottom: 4px solid var(--amber); }
.service-head .icon { margin: 0; width: 60px; height: 60px; flex: none; background: var(--amber); }
.service-head .icon svg { stroke: var(--navy); width: 30px; height: 30px; stroke-width: 2; }
.service-head h3 { color: #fff; font-size: 1.375rem; }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.service-label { margin: 0 0 14px; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; color: var(--blue); }
.service-steps { margin: 0 0 22px; padding: 0; list-style: none; counter-reset: sv; }
.service-steps li { counter-increment: sv; position: relative; padding: 0 0 18px 50px; min-height: 36px; display: flex; align-items: center; font-weight: 600; color: var(--ink); }
.service-steps li::before {
  content: counter(sv); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-size: .9375rem; z-index: 1;
}
.service-steps li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--blue); opacity: .35; }
.service-steps li:last-child { padding-bottom: 0; }
.service-text { color: var(--text); font-size: 1rem; margin-bottom: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.service-cta { margin-top: auto; align-self: flex-start; }
@media (max-width: 1100px) { .service-grid { grid-template-columns: 1fr; max-width: 640px; } }

/* ---------- Training by career stage: solid colour blocks ---------- */
.stage-blocks { display: grid; box-shadow: var(--shadow); }
.stage-block { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; padding: 30px 32px; color: #fff; transition: transform 250ms var(--ease); }
.stage-block:hover { transform: translateX(6px); }
.stage-block h4 { margin: 0 0 8px; font-size: 1.375rem; font-weight: 600; line-height: 1.2; color: inherit; }
.stage-block p { margin: 0; font-size: 1.0625rem; }
.sb-figure { font-size: 2.5rem !important; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.sb-figure small { display: block; margin-top: 8px; font-size: .8125rem; font-weight: 600; letter-spacing: .02em; opacity: .9; }
.tone-1 { background: var(--blue); }
.tone-1 .sb-figure { font-size: 1.5rem !important; white-space: nowrap; }
.tone-2 { background: var(--navy); }
.tone-3 { background: var(--amber); color: var(--navy); }
@media (max-width: 600px) {
  .stage-block { grid-template-columns: 1fr; gap: 14px; padding: 24px 22px; }
  .stage-block:hover { transform: none; }
}

/* ---------- MoU benefits: For your students / For your college ---------- */
.mou-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); box-shadow: var(--shadow); }
.mou-col { padding: clamp(26px, 3.5vw, 44px); }
.mou-col h3 { margin: 0 0 18px; font-size: 1.5rem; }
.mou-col ul { margin: 0; padding: 0; list-style: none; }
.mou-col li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(25, 91, 156, .18); }
.mou-col li:last-child { border-bottom: 0; }
.mou-col li .icon { margin: 0; width: 52px; height: 52px; flex: none; }
.mou-col h4 { margin: 0 0 4px; font-size: 1.125rem; font-weight: 600; }
.mou-col li p { margin: 0; font-size: 1rem; }
.mou-students { background: var(--blue-tint); border-top: 6px solid var(--blue); }
.mou-students h3, .mou-students h4 { color: var(--ink); }
.mou-students li p { color: var(--text); }
.mou-students .icon { background: var(--blue); }
.mou-students .icon svg { stroke: #fff; }
.mou-college { background: var(--navy); border-top: 6px solid var(--amber); }
.mou-college h3, .mou-college h4 { color: #fff; }
.mou-college li p { color: #c9d6e4; }
.mou-college li { border-bottom-color: rgba(255, 255, 255, .14); }
.mou-college .icon { background: var(--amber); }
.mou-college .icon svg { stroke: var(--navy); stroke-width: 2; }
@media (max-width: 860px) { .mou-split { grid-template-columns: 1fr; } }

/* Keep menu labels on one line; tighten spacing on smaller laptops */
.site-nav > ul > li > a, .site-nav > ul > li > button, .site-nav .btn { white-space: nowrap; }
@media (min-width: 1201px) and (max-width: 1360px) {
  .site-nav { gap: 12px; }
  .site-nav > ul > li > a, .site-nav > ul > li > button { padding: 0 10px; }
  .site-nav .btn { padding: 12px 18px; }
}

/* ---------- Trainers, mentor photo, legal footer line ---------- */
.trainer-grid .card .link-arrow { color: #fff; }
.section:not(.dark) .trainer-grid .card .link-arrow { color: var(--blue); }
.mentor-photo { width: 168px; height: 168px; object-fit: cover; border: 4px solid var(--amber); }
.footer-base p { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; }
.footer-base strong { color: #fff; font-weight: 600; }
.footer-base .legal { color: #a9bad0; }

/* ---------- Full-width header: logo at the left edge, menu at the right ---------- */
.masthead-inner, .topbar-inner { max-width: none; padding-left: clamp(16px, 3vw, 56px); padding-right: clamp(16px, 3vw, 56px); }
.site-nav { margin-left: auto; gap: 28px; }
.brand img { width: 140px; }
@media (min-width: 1500px) {
  .site-nav > ul > li > a, .site-nav > ul > li > button { padding: 0 18px; font-size: 1rem; }
}
@media (max-width: 1200px) { .brand img { width: 112px; } }

/* Mentor: photo column as tall as the text beside it */
.mentor:has(.mentor-photo) { grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); align-items: stretch; gap: clamp(32px, 5vw, 72px); }
.mentor-photo { width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: center 30%; }
@media (max-width: 860px) {
  .mentor:has(.mentor-photo) { grid-template-columns: 1fr; }
  .mentor-photo { height: auto; min-height: 0; max-width: 360px; aspect-ratio: 1; }
}

/* A white section after a navy or grey one keeps its full top spacing */
.section.dark + .section:not(.alt):not(.dark),
.section.alt + .section:not(.alt):not(.dark),
.cta-band + .section { padding-top: var(--section); }

/* ---------- Full-width footer, matching the header edges ---------- */
.footer-grid {
  max-width: none; padding-left: clamp(16px, 3vw, 56px); padding-right: clamp(16px, 3vw, 56px);
  grid-template-columns: minmax(260px, 340px) repeat(4, auto); justify-content: space-between; column-gap: clamp(32px, 4vw, 72px);
}
.footer-base p { max-width: none; padding-left: clamp(16px, 3vw, 56px); padding-right: clamp(16px, 3vw, 56px); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, auto); } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Larger sub-titles (eyebrows) and card labels for readability ---------- */
.eyebrow { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); font-weight: 600; gap: 16px; margin-bottom: 14px; letter-spacing: 0; }
.eyebrow::before { width: 44px; height: 4px; }
.card .label { font-size: 1rem; }
.tags-label { font-size: 1rem; }

/* Flip cards size to the taller of their two faces, so the back never overflows */
.flip-inner { display: grid; min-height: 250px; }
.flip-face { position: relative; inset: auto; grid-area: 1 / 1; }
.flip-card { min-height: 0; }
@media (max-width: 480px) { .flip-inner { min-height: 220px; } }

/* ---------- Homepage webinar banner ---------- */
.section.webinar-section { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.webinar-strip {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px 32px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.5vw, 44px);
  background: var(--blue-tint); border-left: 6px solid var(--amber);
}
.webinar-strip .icon { margin: 0; width: 72px; height: 72px; background: var(--blue); }
.webinar-strip .icon svg { stroke: #fff; width: 36px; height: 36px; }
.ws-label { margin: 0 0 4px; font-size: 1.0625rem; font-weight: 600; color: var(--blue); }
.webinar-strip h2 { font-size: clamp(1.375rem, 2.4vw, 1.875rem); margin: 0 0 6px; }
.ws-when { margin: 0; color: var(--text); font-weight: 500; }
@media (max-width: 760px) {
  .webinar-strip { grid-template-columns: auto minmax(0, 1fr); }
  .webinar-strip .btn { grid-column: 1 / -1; justify-self: start; }
  .webinar-strip .icon { width: 56px; height: 56px; }
}
#webinars.webinar-section { padding-top: clamp(40px, 5vw, 64px); }

/* ---------- Privacy policy and terms pages ---------- */
.legal-text { max-width: 820px; }
.legal-text h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); margin: 44px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal-text h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-text p, .legal-text li { font-size: 1.0625rem; color: var(--text); }
.legal-text ul { margin: 0 0 1rem; padding-left: 1.25rem; display: grid; gap: 10px; }
.legal-text li::marker { color: var(--amber); }
.footer-base .legal-links { display: inline-flex; gap: 18px; margin-left: auto; }
.footer-base .legal-links a { color: #d5e0ec; }
@media (max-width: 600px) { .footer-base .legal-links { margin-left: 0; } }

/* ---------- Footer: social band, columns, rights bar ---------- */
.footer-social { text-align: center; padding: 40px clamp(16px, 3vw, 56px) 40px; border-top: 1px solid rgba(255, 255, 255, .1); background: #081a31; }
.fs-title { margin: 0 0 22px; color: #fff; font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.fs-sub { margin: 0 0 22px; color: var(--amber); font-size: .9375rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.site-footer .social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.social-links a {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: #fff; color: var(--navy);
  transition: background-color 200ms ease, color 200ms ease, transform 200ms var(--ease);
}
.social-links a:hover { background: var(--amber); color: var(--navy); transform: translateY(-3px); text-decoration: none; }
.social-links a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.social-links svg { width: 24px; height: 24px; fill: currentColor; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .1); }
.fb-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; padding: 22px clamp(16px, 3vw, 56px) 0; }
.fb-inner p { margin: 0; padding: 0; max-width: none; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .875rem; }
.fb-rights { color: #fff; font-weight: 600; letter-spacing: .04em; }
.fb-company { color: #a9bad0; }
.fb-company strong { color: #d5e0ec; font-weight: 600; }
.fb-links a { color: #fff; font-weight: 600; }
.fb-links a + a { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .3); }
.footer-base .fb-credit { margin: 0; padding: 10px clamp(16px, 3vw, 56px) 96px; font-size: .75rem; color: #7f93ab; display: block; }
@media (max-width: 900px) { .fb-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Top 5 reasons: light panel, one reason open at a time ---------- */
.reasons-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding: clamp(28px, 4vw, 52px); background: var(--blue-tint); border-top: 5px solid var(--blue); }
.reasons-lead h2 { margin-bottom: 16px; }
.reasons-lead p { color: var(--text); font-size: 1.125rem; margin-bottom: 26px; }
.reasons-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.reason { background: #fff; border: 1px solid #c9d3df; border-left: 5px solid var(--blue); transition: background-color 250ms ease, border-color 250ms ease, box-shadow 250ms ease; }
.reason-head { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 68px; padding: 12px 20px; background: none; border: 0; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.reason-num { font-size: 1.5rem; font-weight: 700; color: var(--amber); min-width: 34px; line-height: 1; }
.reason .icon { margin: 0; width: 44px; height: 44px; flex: none; background: var(--blue-tint); }
.reason .icon svg { width: 24px; height: 24px; }
.reason-title { flex: 1; font-size: 1.125rem; font-weight: 600; }
.reason-x { position: relative; width: 16px; height: 16px; flex: none; }
.reason-x::before, .reason-x::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--blue); transition: transform 250ms var(--ease); }
.reason-x::after { transform: rotate(90deg); }
.reason-body p { margin: 0; padding: 0 20px 20px 90px; font-size: 1.0625rem; }
.reason.is-open { background: var(--blue); border-color: var(--blue); border-left-color: var(--amber); box-shadow: var(--shadow); }
.reason.is-open .reason-head, .reason.is-open .reason-title { color: #fff; }
.reason.is-open .icon { background: var(--amber); }
.reason.is-open .icon svg { stroke: var(--navy); }
.reason.is-open .reason-x::before, .reason.is-open .reason-x::after { background: #fff; }
.reason.is-open .reason-x::after { transform: rotate(0deg); }
.reason.is-open .reason-body p { color: #e6eef7; }
@media (prefers-reduced-motion: no-preference) { .reason.is-open .reason-body:not([hidden]) { animation: rise 300ms var(--ease); } }
@media (max-width: 960px) { .reasons-panel { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .reason-head { gap: 12px; padding: 12px 14px; } .reason .icon { display: none; } .reason-body p { padding: 0 14px 18px 60px; } }

/* ---------- Back to top button ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 86px; z-index: 41;
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  background: var(--navy); color: #fff; border: 2px solid var(--amber); border-radius: 50%;
  box-shadow: 0 12px 28px -10px rgba(10, 31, 58, .5); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 200ms ease, transform 250ms var(--ease), visibility 0s linear 250ms, background-color 200ms ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--amber); color: var(--navy); }
.to-top svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .to-top { right: 16px; bottom: 82px; width: 48px; height: 48px; } }

/* ---------- Leadership cards: names first, aligned and highlighted ---------- */
.leader .leader-name { margin: 0 0 14px; padding-bottom: 12px; font-size: clamp(1.1875rem, 1.45vw, 1.375rem); white-space: nowrap; font-weight: 700; color: var(--navy); line-height: 1.2; border-bottom: 3px solid var(--amber); }
.leader .leader-role { min-height: 3em; margin: 0 0 8px; font-size: 1rem; font-weight: 600; color: var(--blue); }
@media (max-width: 1100px) { .leader .leader-role { min-height: 0; } }
@media (max-width: 1250px) and (min-width: 1101px) { .leader .leader-name { white-space: normal; min-height: 2.6em; } }

/* ---------- Awards & Certificates ---------- */
.award-list { display: grid; gap: clamp(32px, 4vw, 56px); }
.award { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.award:nth-child(even) .award-img { order: 2; }
.award-img { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.award-img img { width: 100%; height: auto; transition: transform 500ms var(--ease); }
.award-img:hover img { transform: scale(1.03); }
.award-zoom { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; background: rgba(10, 31, 58, .8); color: #fff; font-size: .8125rem; font-weight: 600; }
.award-body { border-left: 5px solid var(--amber); padding-left: clamp(18px, 2.5vw, 28px); }
.award-kind { margin: 0 0 8px; font-size: 1rem; font-weight: 700; color: var(--blue); }
.award-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); margin-bottom: 12px; }
.award-meta { font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.award-body p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .award { grid-template-columns: 1fr; } .award:nth-child(even) .award-img { order: 0; } }

/* ---------- Award photo slider ---------- */
.award-slider { position: relative; }
.award:nth-child(even) .award-slider { order: 2; }
.slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border: 1px solid var(--line); box-shadow: var(--shadow); background: #0a1f3a; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.slide .award-img { width: 100%; height: 100%; border: 0; box-shadow: none; background: #0a1f3a; }
.slide .award-img img { width: 100%; height: 100%; object-fit: contain; }
.slider-btn { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 18px rgba(10, 31, 58, .35); cursor: pointer; transition: background-color 200ms ease, opacity 200ms ease; }
.slider-btn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; border-top: 3px solid var(--navy); border-right: 3px solid var(--navy); }
.slider-btn.prev { left: 12px; } .slider-btn.prev::after { transform: translate(-30%, -50%) rotate(-135deg); }
.slider-btn.next { right: 12px; } .slider-btn.next::after { transform: translate(-70%, -50%) rotate(45deg); }
.slider-btn:hover { background: var(--amber); }
.slider-btn:disabled { opacity: .35; cursor: default; background: rgba(255, 255, 255, .92); }
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.slider-dots button { width: 12px; height: 12px; padding: 0; border: 2px solid var(--blue); border-radius: 50%; background: transparent; cursor: pointer; }
.slider-dots button[aria-current="true"] { background: var(--amber); border-color: var(--amber); }
@media (max-width: 860px) { .award:nth-child(even) .award-slider { order: 0; } }

/* ---------- Testimonials page ---------- */
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.story:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -24px rgba(10, 31, 58, .45); }
.story .video { height: 100%; }
.story .video .thumb { aspect-ratio: 9 / 16; height: 100%; }
.story .video img { object-fit: cover; object-position: center; transform: scale(1.02); }
.story .video:hover img { transform: scale(1.06); }
.story .video .play { border-radius: 50%; box-shadow: 0 0 0 12px rgba(255, 164, 52, .25); }
.story .video .play::after { left: 28px; }
.story-body { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(24px, 3vw, 40px); border-left: 4px solid var(--amber); }
.story-mark { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: var(--amber); font: 700 3.25rem/1 Georgia, serif; padding-top: 18px; }
.story-body h3 { margin: 0 0 4px; font-size: clamp(1.25rem, 1.8vw, 1.5rem); color: var(--ink); }
.story-body p { margin: 0; color: var(--blue); font-weight: 600; font-size: 1rem; }

.journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; position: relative; }
.journey li { position: relative; padding: 32px 30px 30px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); }
.journey li:nth-child(2) { border-top-color: var(--amber); }
.journey li:nth-child(3) { border-top-color: var(--navy); }
.journey .j-num { display: block; margin-bottom: 14px; font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--blue-tint); -webkit-text-stroke: 1.5px var(--blue); }
.journey h3 { margin: 0 0 10px; font-size: 1.3125rem; }
.journey p { margin: 0; color: var(--muted); }
.journey li:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-top: 3px solid var(--amber); border-right: 3px solid var(--amber); transform: rotate(45deg); z-index: 1; }


@media (max-width: 900px) {
  .story-grid, .journey { grid-template-columns: 1fr; }
  .journey li:not(:last-child)::after { right: 50%; top: auto; bottom: -19px; margin: 0 -7px 0 0; transform: rotate(135deg); }
}
@media (max-width: 600px) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .story-body { padding: 20px 18px; gap: 12px; }
  .story-mark { width: 44px; height: 44px; font-size: 2.5rem; padding-top: 12px; }
  .story-body .link-arrow { font-size: .875rem; gap: 4px; }
}

/* ---------- What we do: corporate and college pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.services .pillars { margin-top: 0; }
.pillar { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 32px 60px -28px rgba(10, 31, 58, .5); }
.pillar-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.pillar:hover .pillar-img img { transform: scale(1.05); }
.pillar-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 31, 58, .55)); }
.pillar-num { position: absolute; left: 28px; bottom: -1px; z-index: 1; padding: 10px 18px 6px; background: var(--amber); color: var(--navy); font-size: 1.75rem; font-weight: 700; line-height: 1; }
.pillar-body { display: flex; flex-direction: column; flex: 1; padding: clamp(28px, 3.2vw, 44px); border-top: 4px solid var(--amber); }
.pillar.alt .pillar-body { border-top-color: var(--blue); }
.pillar.alt .pillar-num { background: var(--blue); color: #fff; }
.pillar-label { margin: 0 0 8px; color: var(--blue); font-weight: 600; font-size: .9375rem; text-transform: uppercase; letter-spacing: .06em; }
.pillar h3 { margin: 0 0 14px; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.2; color: var(--ink); }
.pillar-text { margin: 0 0 22px; color: var(--muted); font-size: 1.0625rem; }
.pillar-points { display: grid; gap: 14px; margin: 0 0 32px; padding: 0; list-style: none; }
.pillar-points li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); }
.pillar-points strong { color: var(--navy); }
.pillar-points .tick { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; background: var(--blue-tint); }
.pillar-points .tick svg { width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pillar .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .pillar .btn { align-self: stretch; text-align: center; } .pillar-num { left: 20px; font-size: 1.375rem; } }

/* ---------- E-Learning: courses offered ---------- */
.topic-grid { columns: 3; column-gap: 24px; }
.topic-block { break-inside: avoid; margin-bottom: 24px; padding: 28px 28px 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); }
.topic-block:nth-child(3n+2) { border-top-color: var(--amber); }
.topic-block:nth-child(3n) { border-top-color: var(--navy); }
.tb-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tb-head .icon { margin: 0; flex: none; }
.tb-head h3 { flex: 1; margin: 0; font-size: 1.1875rem; line-height: 1.3; }
.tb-count { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--alt); color: var(--muted); font-size: .8125rem; font-weight: 600; }
.tb-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tb-list li { position: relative; padding-left: 18px; color: var(--text); font-size: .9375rem; line-height: 1.45; }
.tb-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.course-more { margin: 12px 0 0; text-align: center; }
@media (max-width: 1000px) { .topic-grid { columns: 2; } }
@media (max-width: 640px) { .topic-grid { columns: 1; } }
