@charset "UTF-8";
/* ==========================================================================
   Silk Way Education — v4.2 "Red / White Editorial Grid"
   One stylesheet, no framework, no CDN.
   Order: tokens → reset → type → layout → components → blocks → pages → utils
   ========================================================================== */

/* ---------- 1. Fonts (self-hosted Manrope, cyrillic + latin, 44KB total) ---- */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F,
    U+FE2E-FE2F;
}

/* ---------- 2. Tokens ------------------------------------------------------ */
:root {
  --maroon: #651321;
  --maroon-dk: #4e0f19;
  --maroon-22: rgba(101, 19, 33, 0.22);
  --paper: #ffffff;
  --off: #f6f6f6;
  --ink: #141414;
  --ink-60: #5f5f5f;
  --ink-40: #8c8c8c;
  --line: #e2ded8;
  --brand-red: #c83d32;

  --on-dark: rgba(255, 255, 255, 0.72);
  --on-dark-dim: rgba(255, 255, 255, 0.55);
  --hair-dark: rgba(255, 255, 255, 0.35);

  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --sp: 8px;
  --sec: 112px;
}

/* ---------- 3. Reset ------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
ul,
ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.on-dark :focus-visible,
.sec--maroon :focus-visible,
.foot :focus-visible {
  outline-color: #fff;
}
::selection {
  background: var(--maroon);
  color: #fff;
}

/* ---------- 4. Typography -------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
}
h1 {
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(26px, 3.2vw, 44px);
}
h3 {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
p {
  margin-bottom: 16px;
}
p:last-child {
  margin-bottom: 0;
}
strong,
b {
  font-weight: 700;
}
small {
  font-size: 13px;
}
.num {
  font-variant-numeric: tabular-nums;
}

/* underline-emphasis: colour stays, a 2px maroon rule does the work */
.u {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
  text-decoration-color: var(--maroon);
}
.sec--maroon .u,
.on-dark .u,
.foot .u {
  text-decoration-color: rgba(255, 255, 255, 0.55);
}
.u-thin {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: var(--maroon);
}

/* ---------- 5. Layout ------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.sec {
  padding: var(--sec) 0;
}
.sec--tight {
  padding: 64px 0;
}
.sec--off {
  background: var(--off);
}
.sec--maroon {
  background: var(--maroon);
  color: #fff;
}
.sec--maroon h2,
.sec--maroon h3 {
  color: #fff;
}
.measure {
  max-width: 720px;
}
.measure-s {
  max-width: 560px;
}

/* eyebrow: 11px caps + 6px square */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  flex: none;
}
.sec--maroon .eyebrow,
.on-dark .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}
.eyebrow--center {
  justify-content: center;
}

.sec-head {
  margin-bottom: 56px;
}
.sec-head h2 + p {
  margin-top: 20px;
  color: var(--ink-60);
  font-size: 17px;
  max-width: 720px;
}
.sec--maroon .sec-head h2 + p {
  color: var(--on-dark);
}

/* the signature hairline above every column */
.hair {
  border-top: 1px solid var(--line);
}
.hair--dark {
  border-top: 1px solid var(--hair-dark);
}
.tick {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--maroon);
  margin-bottom: 28px;
}
.sec--maroon .tick {
  background: rgba(255, 255, 255, 0.45);
}

/* ---------- 6. Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease,
    transform 0.12s ease;
  white-space: nowrap;
}
.btn svg {
  width: 14px;
  height: 14px;
  flex: none;
}
.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 10.5px;
}
.btn--block {
  width: 100%;
}
/* primary: white -> maroon on hover (the client's explicit ask) */
.btn--primary {
  background: #fff;
  color: var(--maroon);
  border-color: var(--ink);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
  transform: translateY(-2px);
}
/* solid maroon (header / dark contexts) */
.btn--solid {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}
.btn--solid:hover,
.btn--solid:focus-visible {
  background: var(--maroon-dk);
  border-color: var(--maroon-dk);
}
/* outline on light */
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}
/* outline on maroon */
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: #fff;
  color: var(--maroon);
  border-color: #fff;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--ink-40);
  padding-bottom: 2px;
  transition: color 0.12s, border-color 0.12s;
}
.link-arrow:hover {
  color: var(--maroon);
  border-color: var(--maroon);
}
.sec--maroon .link-arrow,
.foot .link-arrow {
  border-color: rgba(255, 255, 255, 0.4);
}
.sec--maroon .link-arrow:hover,
.foot .link-arrow:hover {
  color: #fff;
  border-color: #fff;
}

/* ---------- 7. Top bar (toolbar + nav) ------------------------------------- */
.toolbar {
  background: var(--maroon);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.toolbar__in {
  display: flex;
  align-items: center;
  height: 36px;
  gap: 0;
}
.toolbar a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.toolbar__cell {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.toolbar__cell:first-child {
  padding-left: 0;
  border-left: 0;
}
.toolbar__spacer {
  flex: 1;
}
.toolbar .toolbar__socials {
  gap: 0;
}
.toolbar .toolbar__socials a {
  width: 38px;
  height: 30px;
  border-color: transparent;
}
.toolbar .toolbar__socials a:focus-visible {
  outline-color: #fff;
  outline-offset: -2px;
}
.lang {
  display: flex;
  gap: 6px;
  align-items: center;
}
.lang b {
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}
.lang span {
  color: rgba(255, 255, 255, 0.45);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.header.is-stuck {
  border-bottom-color: var(--line);
}
.header__in {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 76px;
  transition: height 0.22s ease;
}
.header.is-stuck .header__in {
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand img {
  width: 34px;
  height: 36px;
  object-fit: contain;
}
.brand__txt {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__txt b {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--maroon);
}
.brand__txt b em {
  font-style: normal;
  color: var(--ink);
}
.brand__txt small {
  font-size: 8.5px;
  letter-spacing: 0.3em;
  color: var(--ink-40);
  margin-top: 4px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.nav a {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--maroon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav a[aria-current="page"] {
  color: var(--maroon);
}
.header__cta {
  flex: none;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  margin-left: 4px;
}
.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.burger span {
  top: 21px;
}
.burger span::before {
  content: "";
  top: -7px;
}
.burger span::after {
  content: "";
  top: 7px;
}
.burger[aria-expanded="true"] span {
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] span::before {
  opacity: 0;
}
.burger[aria-expanded="true"] span::after {
  transform: rotate(-90deg) translateX(7px);
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.is-open {
  transform: none;
}
body.is-locked {
  overflow: hidden;
}
.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer__close {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.drawer nav {
  display: flex;
  flex-direction: column;
  padding: 12px 20px;
}
.drawer nav a {
  padding: 16px 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}
.drawer__foot {
  margin-top: auto;
  background: var(--maroon);
  color: #fff;
  padding: 24px 20px;
  display: grid;
  gap: 12px;
  font-size: 13px;
}
.drawer__foot .btn {
  width: 100%;
}

/* ---------- 8. Hero -------------------------------------------------------- */
.hero {
  background: var(--off);
  position: relative;
}
/* 44/56: the copy column is pulled ~100px over the photo, so the headline
   prints on the feathered edge instead of stopping at a seam */
.hero__grid {
  display: grid;
  grid-template-columns: 44fr 56fr;
  align-items: stretch;
  min-height: 620px;
  overflow: hidden;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 0 64px max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  position: relative;
  z-index: 2;
}
.hero h1 {
  /* fluid below 1280 so the longest line keeps landing on the photo edge;
     13em caps the measure at the exact width the 3 lines need */
  font-size: clamp(30px, 3.75vw, 48px);
  max-width: 13em;
  /* only the headline is allowed to run ~150px past the column, onto the photo */
  margin-right: -150px;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
  text-wrap: wrap;
}
/* emphasis inside the headline carries the brand colour, not just a rule —
   mirrors the reference where one phrase is maroon and the rest stays ink */
.hero h1 .u {
  color: var(--maroon);
  text-decoration-thickness: max(2px, 0.05em);
  text-underline-offset: 0.12em;
}
/* second line of the hierarchy: the offer, set as a paragraph not a headline */
.hero__lead {
  font-size: clamp(15px, 1.18vw, 17px);
  line-height: 1.5;
  color: var(--ink-60);
  max-width: 25em;
  margin-bottom: 18px;
}
/* third line: the risk reversal, smallest and marked with the maroon square */
.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.3;
  margin-bottom: 34px;
}
.hero__note::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--maroon);
  flex: none;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero__media-wrap {
  position: relative;
  display: grid;
  /* no overflow clipping here: the path card deliberately overhangs the seam;
     the photo is clipped by .hero__media itself */
}
.hero__media {
  position: relative;
  overflow: hidden;
  background: var(--off);
  min-height: 100%;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  /* the left ~28% of the photo dissolves into the page so copy can sit on it */
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.42) 9%, rgba(0, 0, 0, 0.86) 20%, #000 30%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.42) 9%, rgba(0, 0, 0, 0.86) 20%, #000 30%);
  will-change: transform;
}
/* a faint wash on the same edge, so the headline stays readable where it
   crosses the photo — the image is still clearly visible underneath */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 300px;
  background: linear-gradient(90deg, rgba(246, 246, 246, 0.55) 0, rgba(246, 246, 246, 0.34) 30%, rgba(246, 246, 246, 0.1) 65%, rgba(246, 246, 246, 0) 100%);
  pointer-events: none;
}
/* path card sits inside the photo, bottom-left of the buildings — clear of
   both faces and of the CTA row in the copy column */
.pathcard {
  position: absolute;
  left: 13%;
  bottom: 28px;
  width: 292px;
  max-width: calc(100% - 13% - 32px);
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px 20px 12px;
  z-index: 3;
}
.pathcard__t {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2px;
}
.pathcard ol {
  display: grid;
}
.pathcard li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.35;
}
.pathcard li:last-child {
  border-bottom: 0;
}
.pathcard li span {
  font-size: 13px;
  font-weight: 300;
  color: rgba(20, 20, 20, 0.28);
  font-variant-numeric: tabular-nums;
  flex: none;
}
.pathcard__note {
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--ink-40);
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

/* ---------- 9. Stats band (maroon) ---------------------------------------- */
.stats {
  background: var(--maroon);
  color: #fff;
  padding: 88px 0;
}
.stats .eyebrow {
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.9);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 24px 28px 0 0;
  border-top: 1px solid var(--hair-dark);
}
.stat + .stat {
  border-left: 1px solid var(--hair-dark);
  padding-left: 28px;
}
.stat__num {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: clamp(40px, 4.4vw, 62px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 22px;
  font-variant-numeric: tabular-nums;
}
.stat__num small {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}
.stat__label {
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- 10. Trust columns --------------------------------------------- */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust__col {
  padding: 28px 40px 0 0;
}
.trust__col + .trust__col {
  border-left: 1px solid var(--line);
  padding-left: 40px;
}
.trust__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  color: var(--maroon);
}
.trust__col h3 {
  margin-bottom: 14px;
  max-width: 14em;
}
.trust__col p {
  font-size: 15px;
  color: var(--ink-60);
  margin-bottom: 28px;
  max-width: 34em;
}

/* ---------- 11. Differentiators (1 + 2) ----------------------------------- */
.diff__hero {
  display: grid;
  grid-template-columns: 55fr 45fr;
  background: var(--maroon);
  color: #fff;
  overflow: hidden;
}
.diff__hero-copy {
  padding: 64px;
}
.diff__hero-copy h3 {
  color: #fff;
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 22px;
  max-width: 18em;
}
.diff__hero-copy p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36em;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.tag::before {
  content: "";
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
}
.diff__hero-media {
  position: relative;
  overflow: hidden;
}
.diff__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.diff__hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--maroon-22);
}
.diff__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
}
.diff__cell {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  position: relative;
}
.diff__cell .tick {
  position: absolute;
  top: -1px;
  left: 0;
  margin: 0;
}
.diff__cell h3 {
  margin: 20px 0 22px;
  max-width: 16em;
}
.ghost {
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(20, 20, 20, 0.12);
  font-variant-numeric: tabular-nums;
}
.sec--maroon .ghost {
  color: rgba(255, 255, 255, 0.18);
}
.crit {
  display: grid;
}
.crit li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.crit li:first-child {
  padding-top: 0;
}
.crit li span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--maroon);
  font-variant-numeric: tabular-nums;
}
.diff__cell p {
  font-size: 14.5px;
  color: var(--ink-60);
}

.differentiators .diff__hero {
  background: var(--maroon-dk);
  outline: 1px solid var(--hair-dark);
  outline-offset: -1px;
}
.differentiators .diff__cell,
.differentiators .crit li {
  border-color: var(--hair-dark);
}
.differentiators .diff__cell p,
.differentiators .crit li span {
  color: var(--on-dark);
}
.differentiators .diff__hero-media::after {
  pointer-events: none;
}
.expo-photos {
  height: 100%;
  touch-action: pan-y pinch-zoom;
}
.expo-photos img {
  aspect-ratio: 1200 / 846;
}
.expo-photos img[hidden],
.expo-controls[hidden] {
  display: none;
}
.expo-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  background: var(--maroon-dk);
  color: var(--paper);
}
.expo-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.expo-controls button:hover {
  background: var(--maroon);
}
.expo-controls button:focus-visible {
  outline-offset: -4px;
}
.expo-controls svg {
  width: 18px;
  height: 18px;
}
.expo-count {
  min-width: 32px;
  padding: 0 4px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
@media (max-width: 1023px) {
  .expo-photos img {
    aspect-ratio: 16 / 9;
  }
}

/* ---------- 12. Team -------------------------------------------------------
   Sized so both founders fit one screen: landscape crop, tighter body copy. */
.founder {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.founder:first-of-type {
  padding-top: 0;
}
.founder:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}
.founder--flip {
  grid-template-columns: 1fr 320px;
}
.founder--flip .founder__media {
  order: 2;
}
.founder__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.founder__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 26%;
  filter: saturate(0.72) contrast(1.04);
}
.founder__body {
  align-self: center;
  max-width: 640px;
}
/* mirrored row: the text hugs the photo side, so both rows read symmetrically */
.founder--flip .founder__body {
  justify-self: end;
}
/* the second portrait is a studio shot cropped from 3:4 into the 4:3 frame —
   a touch more headroom keeps the hair off the top edge */
.founder--flip .founder__media img {
  object-position: center 18%;
}
.founder__body .ghost {
  font-size: 26px;
  margin-bottom: 6px;
}
.founder__name {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 6px;
}
.founder__role {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maroon);
  line-height: 1.4;
  margin-bottom: 12px;
  max-width: 34em;
}
.founder__body p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-60);
  max-width: 44em;
}
.author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  max-width: 30em;
}
.author img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}
.author b {
  display: block;
  font-size: 12.5px;
}
.author span {
  font-size: 11.5px;
  color: var(--ink-40);
}
/* head of the team section is tightened so both founders clear one viewport */
.team {
  padding-top: 64px;
}
.team .sec-head {
  margin-bottom: 24px;
}
.team .sec-head h2 {
  font-size: clamp(23px, 2.35vw, 32px);
}
.team .sec-head h2 + p {
  margin-top: 16px;
  font-size: 15px;
  max-width: 62em;
}
.quote {
  background: var(--off);
  padding: 64px 0;
}
.quote__lead {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.015em;
  padding-left: 28px;
  border-left: 2px solid var(--maroon);
  max-width: 30em;
  margin-bottom: 28px;
}
.quote p {
  font-size: 16px;
  color: var(--ink-60);
  max-width: 780px;
  padding-left: 30px;
}
.quote__sign {
  padding-left: 30px;
}
.quote__sign {
  font-size: 13px;
  color: var(--ink-40);
  margin-top: 26px;
}

/* ---------- 13. Pricing ---------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.plan:hover {
  transform: translateY(-4px);
  border-color: var(--maroon);
}
.plan__name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
  min-height: 2.6em;
}
.plan__price {
  font-size: clamp(26px, 2.15vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--maroon);
  line-height: 1;
  margin: 12px 0 8px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.plan__unit {
  font-size: 11px;
  color: var(--ink-40);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  min-height: 3.4em;
}
.plan ul {
  display: grid;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 22px;
}
.plan li {
  padding-left: 18px;
  position: relative;
  color: var(--ink);
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--maroon);
}
.plan__for {
  font-size: 12px;
  color: var(--ink-60);
  line-height: 1.5;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-bottom: 20px;
}
.plan--featured {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
  transform: translateY(-7px);
}
.plan--featured:hover {
  transform: translateY(-11px);
  border-color: var(--maroon-dk);
}
.plan--featured .plan__name,
.plan--featured .plan__unit,
.plan--featured .plan__for {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.25);
}
.plan--featured .plan__price {
  color: #fff;
}
.plan--featured .plan__unit,
.plan--featured .plan__for {
  border-color: rgba(255, 255, 255, 0.22);
}
.plan--featured li {
  color: rgba(255, 255, 255, 0.92);
}
.plan--featured li::before {
  background: rgba(255, 255, 255, 0.6);
}
.plan--featured .btn--outline {
  background: #fff;
  color: var(--maroon);
  border-color: #fff;
}
.plan--featured .btn--outline:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.plan__badge {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--maroon);
  background: #fff;
  padding: 7px 12px;
}
.pricing__notes {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--off);
}
.pricing__note {
  padding: 32px 40px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-60);
}
.pricing__note + .pricing__note {
  border-left: 1px solid var(--line);
}
.pricing__note h3,
.pricing__note h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}

/* ---------- 14. FAQ rows --------------------------------------------------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__btn {
  width: 100%;
  display: grid;
  grid-template-columns: 120px 1fr 56px;
  align-items: center;
  gap: 24px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  padding: 32px 40px 32px 40px;
  margin: 0 -40px;
  width: calc(100% + 80px);
  color: inherit;
  transition: background 0.18s ease, color 0.18s ease;
}
.faq__num {
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  color: rgba(20, 20, 20, 0.12);
  font-variant-numeric: tabular-nums;
  transition: color 0.18s;
}
.faq__q {
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}
.faq__arrow {
  justify-self: end;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.18s, transform 0.18s, background 0.18s, color 0.18s;
}
.faq__arrow svg {
  width: 14px;
  height: 14px;
}
.faq__item.is-open .faq__arrow,
.faq__btn:hover .faq__arrow {
  opacity: 1;
  transform: none;
}
.faq__item.is-open .faq__btn {
  background: var(--maroon);
  color: #fff;
}
.faq__item.is-open .faq__num {
  color: rgba(255, 255, 255, 0.18);
}
.faq__item.is-open .faq__arrow {
  background: #fff;
  color: var(--maroon);
}
.faq__item.is-open .faq__arrow svg {
  transform: rotate(45deg);
}
.faq__panel {
  overflow: hidden;
  height: 0;
  transition: height 0.22s ease;
  background: var(--maroon);
  color: #fff;
  margin: 0 -40px;
}
.faq__panel-in {
  padding: 0 40px 40px 184px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  max-width: 900px;
}
.faq__panel-in p {
  margin-bottom: 14px;
}
.faq__opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 22px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.faq__opt {
  padding: 20px 22px;
  font-size: 14px;
  line-height: 1.55;
}
.faq__opt + .faq__opt {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}
.faq__opt b {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}
.faq__note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 14px;
}
.faq__more {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
}
.home-faq {
  padding-bottom: clamp(40px, 5vw, 72px);
}

/* ---------- 15. Consult card + footer -------------------------------------- */
.tail {
  background: var(--maroon);
  padding-bottom: 0;
  position: relative;
}
.consult {
  position: relative;
  z-index: 2;
  background: #fff;
  color: var(--ink);
  display: grid;
  grid-template-columns: 5fr 6fr;
  margin-top: -120px;
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
}
.home-faq + .tail > .consult {
  margin-top: 0;
}
.consult__media {
  overflow: hidden;
}
.consult__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}
.consult__body {
  padding: 56px;
}
.consult__body h2 {
  margin-bottom: 18px;
  max-width: 16em;
}
.consult__body > p {
  font-size: 15px;
  color: var(--ink-60);
  margin-bottom: 28px;
  max-width: 40em;
}
.form {
  display: grid;
  gap: 14px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.field input,
.field select,
.field textarea {
  height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0;
  padding: 0 12px;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.12s;
  width: 100%;
}
.field textarea {
  height: auto;
  padding: 12px;
  min-height: 88px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-40);
}
.field.has-error input,
.field.has-error select {
  border-color: var(--brand-red);
}
.field__err {
  font-size: 11.5px;
  color: var(--brand-red);
  display: none;
}
.field.has-error .field__err {
  display: block;
}
.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--ink-60);
  line-height: 1.5;
}
.form__consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--maroon);
  flex: none;
}
.form__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.form__ok {
  display: none;
  border: 1px solid var(--line);
  padding: 24px;
  font-size: 14px;
  line-height: 1.6;
}
.form__ok b {
  display: block;
  margin-bottom: 8px;
}
.form.is-sent .form__ok {
  display: block;
}
.form.is-sent .form__fields {
  display: none;
}
.form__fields {
  display: grid;
  gap: 14px;
}
.consult__note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 24px var(--gutter) 0;
}

.foot {
  background-color: var(--maroon);
  color: #fff;
  position: relative;
  padding: 72px 0 0;
  overflow: hidden;
}
.foot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/v3/campus-library.jpg");
  background-image: image-set(
    url("../img/v3/campus-library.webp") type("image/webp"),
    url("../img/v3/campus-library.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center;
  /* dark photo, not a pale wash: multiply keeps the maroon and only re-shades it */
  filter: grayscale(1) contrast(1.1) blur(0.5px);
  mix-blend-mode: multiply;
  opacity: 0.38;
  pointer-events: none;
}
.foot__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}
.foot__brand .brand__txt b {
  color: #fff;
}
.foot__brand .brand__txt b em {
  color: rgba(255, 255, 255, 0.75);
}
.foot__brand .brand__txt small {
  color: rgba(255, 255, 255, 0.5);
}
.foot__brand img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.foot__brand p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
  margin: 20px 0 24px;
  max-width: 30em;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  transition: background 0.15s, color 0.15s;
}
.socials a:hover {
  background: #fff;
  color: var(--maroon);
  border-color: #fff;
}
.socials svg {
  width: 15px;
  height: 15px;
}
.foot h5,
.foot .foot__title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}
.foot__col a,
.foot__col span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 0;
}
.foot__col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.foot__col .foot__socials a {
  display: grid;
  padding: 0;
}
.foot__col .foot__socials a:hover {
  color: var(--maroon);
}
.foot__contact {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 0;
}
.foot__contact svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 3px;
  opacity: 0.7;
}
.foot__bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 20px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
}
.foot__bar a:hover {
  color: #fff;
}

/* ---------- 16. Inner pages ------------------------------------------------ */
.page-head {
  background: var(--off);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(30px, 3.8vw, 52px);
  margin-bottom: 22px;
  max-width: 20em;
}
.page-head p {
  font-size: 17px;
  color: var(--ink-60);
  max-width: 720px;
}
.crumbs {
  display: flex;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-40);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.crumbs a:hover {
  color: var(--maroon);
}
.crumbs span {
  opacity: 0.5;
}

.prose {
  max-width: 780px;
  font-size: 16.5px;
  line-height: 1.7;
}
.prose h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  margin: 56px 0 18px;
}
.prose h3 {
  margin: 40px 0 14px;
}
.prose p {
  margin-bottom: 18px;
  color: #2b2b2b;
}
.prose ul,
.prose ol {
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
}
.prose ul li {
  padding-left: 20px;
  position: relative;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--maroon);
}
.prose ol {
  counter-reset: n;
}
.prose ol li {
  padding-left: 34px;
  position: relative;
  counter-increment: n;
}
.prose ol li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: 0.06em;
}
.prose blockquote {
  border-left: 2px solid var(--maroon);
  padding-left: 24px;
  margin: 28px 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}
.prose a {
  color: var(--maroon);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose table {
  font-size: 14px;
  margin: 24px 0;
  border-top: 1px solid var(--line);
}
.prose th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line);
}
.prose td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose img {
  width: 100%;
  margin: 24px 0;
}

.list-rows {
  border-top: 1px solid var(--line);
}
.list-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.list-row h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.list-row p {
  font-size: 14.5px;
  color: var(--ink-60);
  max-width: 46em;
}
.list-row .ghost {
  font-size: 40px;
}

.steps {
  display: grid;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.step:last-child {
  border-bottom: 1px solid var(--line);
}
.step__n {
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
  color: rgba(20, 20, 20, 0.14);
  font-variant-numeric: tabular-nums;
}
.step__time {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maroon);
  border: 1px solid var(--line);
  padding: 4px 10px;
  margin-bottom: 14px;
}
.step h3 {
  margin-bottom: 12px;
}
.step p {
  font-size: 15px;
  color: var(--ink-60);
  max-width: 46em;
}
.step__out {
  margin-top: 16px;
  font-size: 13.5px;
  display: grid;
  gap: 6px;
}
.step__out b {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.step__out li {
  padding-left: 16px;
  position: relative;
  color: var(--ink);
}
.step__out li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--maroon);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.card {
  padding: 28px 40px 36px 0;
  border-top: 1px solid var(--line);
}
.card + .card {
  border-left: 1px solid var(--line);
  padding-left: 40px;
}
.card h3 {
  margin-bottom: 12px;
}
.card p {
  font-size: 14.5px;
  color: var(--ink-60);
}

/* universities table */
.uni-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.uni-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.12s;
}
.chip:hover {
  border-color: var(--ink);
}
.chip[aria-pressed="true"] {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}
.uni-search {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 12px;
  font-size: 14px;
  min-width: 240px;
}
.uni-block {
  margin-top: 48px;
  scroll-margin-top: 90px;
}
.uni-block__head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}
.uni-block__head .muted {
  margin-top: 6px;
  font-size: 13px;
}
.prog-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.prog {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 6px 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.prog[hidden] {
  display: none;
}
.prog__name {
  font-weight: 700;
}
.prog__meta {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) minmax(max-content, 1.55fr) minmax(max-content, 0.9fr) max-content;
  gap: 12px;
  align-items: baseline;
  color: var(--ink-60);
  font-size: 12px;
}
.prog__dur,
.prog__fee {
  white-space: nowrap;
}
.prog__fee {
  justify-self: end;
  color: var(--maroon);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.uni-block .link-arrow {
  margin-top: 16px;
  white-space: normal;
}
@media (max-width: 900px) {
  .prog {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 540px) {
  .prog__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
  }
}
.uni-table {
  font-size: 14px;
}
.uni-table thead th {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
  text-align: left;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--ink);
  cursor: pointer;
  white-space: nowrap;
}
.uni-table tbody tr {
  border-bottom: 1px solid var(--line);
}
.uni-table tbody tr:hover {
  background: var(--off);
}
.uni-table td {
  padding: 14px 16px 14px 0;
  vertical-align: top;
}
.uni-table td:first-child {
  font-weight: 700;
}
.uni-table .muted {
  color: var(--ink-60);
  font-size: 13px;
}
.uni-table td:nth-child(5) {
  white-space: nowrap;
}
.uni-table .fee {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.empty {
  padding: 56px 0;
  text-align: center;
  color: var(--ink-60);
  font-size: 15px;
}

/* news */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.post {
  display: flex;
  flex-direction: column;
}
.post img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 20px;
}
.post__meta {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
}
.post__meta span {
  color: var(--ink-40);
}
.post h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.3;
}
.post p {
  font-size: 14px;
  color: var(--ink-60);
}
.post:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* article pages */
.article-cover {
  max-width: 780px;
  margin: 0 0 44px;
}
.article-cover img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 26px;
}
.inline-cta {
  border: 1px solid var(--line);
  border-left: 2px solid var(--maroon);
  background: var(--off);
  padding: 24px 28px;
  margin: 32px 0;
}
.inline-cta h3,
.inline-cta .inline-cta__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.inline-cta p {
  font-size: 14.5px;
  color: var(--ink-60);
  margin-bottom: 16px;
}
.article-foot {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-40);
}

/* generic content blocks */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.kv {
  display: grid;
  border-top: 1px solid var(--line);
}
.kv > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.kv dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-40);
  padding-top: 3px;
}

/* ---------- 16b. Inner-page extras ----------------------------------------- */
/* closing band reused on every inner page */
.cta-band {
  background: var(--maroon);
  color: #fff;
  padding: 72px 0;
}
.cta-band__in {
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 48px;
  align-items: center;
}
.cta-band h2 {
  color: #fff;
  max-width: 18em;
}
.cta-band p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  max-width: 44em;
}
.cta-band__actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

/* table overflow guard */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-wrap table {
  min-width: 640px;
}

/* feature card: large article entry (scholarship hub) */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border: 1px solid var(--line);
  background: #fff;
}
.feature__media {
  overflow: hidden;
  background: var(--off);
}
.feature__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}
.feature__body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature__body h3 {
  font-size: clamp(21px, 2.2vw, 28px);
  margin-bottom: 14px;
}
.feature__body p {
  font-size: 15px;
  color: var(--ink-60);
  margin-bottom: 24px;
}

/* contact rows */
.contact-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.contact-list a,
.contact-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.contact-list svg {
  width: 16px;
  height: 16px;
  color: var(--maroon);
  flex: none;
}
.contact-list a:hover {
  color: var(--maroon);
}

/* legal pages */
.legal {
  max-width: 820px;
}
.legal h2 {
  font-size: clamp(20px, 2vw, 24px);
  margin: 48px 0 14px;
}
.legal h2:first-of-type {
  margin-top: 0;
}
.legal p,
.legal li {
  font-size: 15.5px;
  line-height: 1.7;
  color: #2b2b2b;
}
.legal ul {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding-left: 20px;
  list-style: disc;
}
.legal ol {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding-left: 22px;
  list-style: decimal;
}
.legal dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 10px 24px;
  padding: 20px 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.legal dt {
  color: var(--ink-60);
}
.legal dd {
  font-weight: 700;
}
.legal h2 + p,
.legal h2 + ul,
.legal h2 + ol {
  margin-top: 0;
}
.callout {
  border-left: 2px solid var(--maroon);
  background: var(--off);
  padding: 20px 24px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-60);
  margin-bottom: 32px;
}
.callout b {
  color: var(--ink);
}

@media (max-width: 1023px) {
  .cta-band__in {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature {
    grid-template-columns: 1fr;
  }
  .feature__body {
    padding: 28px;
  }
}

/* ---------- 17. Utilities -------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--maroon);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  font-size: 13px;
}
.skip:focus {
  left: 8px;
  top: 8px;
}
.mt-0 {
  margin-top: 0;
}
.mt-40 {
  margin-top: 40px;
}
.mt-56 {
  margin-top: 56px;
}
.center {
  text-align: center;
}
.muted {
  color: var(--ink-60);
}

/* reveal on scroll */
/* hidden only when the script is running — with JS off everything is visible */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 18. Responsive ------------------------------------------------ */
@media (max-width: 1279px) {
  :root {
    --gutter: 24px;
    --sec: 96px;
  }
  .nav {
    gap: 12px;
  }
  .header__in {
    gap: 14px;
  }
  /* below 1280 the photo is too narrow to carry a floating card — it becomes
     a band under the image instead of an overlay */
  .hero__media-wrap {
    display: flex;
    flex-direction: column;
    background: var(--off);
  }
  .hero__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .pathcard {
    position: static;
    width: auto;
    max-width: none;
    margin: 0 24px 24px;
    border-top: 0;
  }
  .plans {
    gap: 16px;
  }
  .plan {
    padding: 24px;
  }
}

@media (1100px < width < 1200px) {
  .header__in {
    gap: 10px;
  }
  .nav {
    gap: 8px;
  }
  .nav a {
    letter-spacing: 0.08em;
  }
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }
  .burger {
    display: block;
  }
  .header__cta {
    margin-left: auto;
  }
  .hero__grid {
    min-height: 0;
  }
  .hero__copy {
    padding: 48px 0 56px max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  }
  .faq__btn {
    grid-template-columns: 72px 1fr 48px;
    padding: 26px 24px;
    margin: 0 -24px;
    gap: 16px;
  }
  .faq__num {
    font-size: 40px;
  }
  .faq__panel {
    margin: 0 -24px;
  }
  .faq__panel-in {
    padding: 0 24px 32px 112px;
  }
}

@media (max-width: 1023px) {
  :root {
    --sec: 72px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__copy {
    padding: 48px var(--gutter) 40px;
    margin-right: 0;
  }
  .hero h1 {
    margin-right: 0;
    max-width: none;
  }
  .hero__lead {
    max-width: none;
  }
  .hero__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .hero__media img {
    -webkit-mask-image: none;
    mask-image: none;
  }
  /* stacked layout: no copy sits on the photo, so the wash goes away */
  .hero__media::after {
    display: none;
  }
  .pathcard {
    position: static;
    width: auto;
    max-width: none;
    margin: 0 var(--gutter) 0;
    border-top: 0;
  }
  .hero__media-wrap {
    display: flex;
    flex-direction: column;
    background: var(--off);
  }
  .stats__grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 0;
  }
  .stat {
    padding: 24px 24px 32px 0;
  }
  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .stat:nth-child(even) {
    border-left: 1px solid var(--hair-dark);
    padding-left: 24px;
  }
  .stat:nth-child(3) {
    border-top: 1px solid var(--hair-dark);
    margin-top: 8px;
  }
  .stat:nth-child(4) {
    border-top: 1px solid var(--hair-dark);
    margin-top: 8px;
  }
  .trust__grid {
    grid-template-columns: 1fr;
  }
  .trust__col {
    padding: 28px 0 36px;
    border-bottom: 1px solid var(--line);
  }
  .trust__col + .trust__col {
    border-left: 0;
    padding-left: 0;
  }
  .trust__col:last-child {
    border-bottom: 0;
  }
  .diff__hero {
    grid-template-columns: 1fr;
  }
  .diff__hero-copy {
    padding: 40px 32px;
    order: 2;
  }
  .diff__hero-media img {
    min-height: 240px;
    aspect-ratio: 16 / 9;
  }
  .diff__pair {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .founder,
  .founder--flip {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .founder--flip .founder__media {
    order: 0;
  }
  .plans {
    grid-template-columns: 1fr 1fr;
  }
  .plan--featured {
    transform: none;
  }
  .plan--featured:hover {
    transform: translateY(-4px);
  }
  .consult {
    grid-template-columns: 1fr;
    margin-top: -80px;
  }
  .consult__media img {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }
  .consult__body {
    padding: 32px 24px;
  }
  .foot__in {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .pricing__notes {
    grid-template-columns: 1fr;
  }
  .pricing__note + .pricing__note {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cards-3,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 24px 0 28px;
    border-bottom: 1px solid var(--line);
  }
  .card + .card {
    border-left: 0;
    padding-left: 0;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .toolbar__cell.loc {
    display: none;
  }
}

@media (max-width: 767px) {
  :root {
    --sec: 64px;
  }
  body {
    font-size: 15px;
  }
  .toolbar__in {
    height: 32px;
    font-size: 10.5px;
  }
  .toolbar__cell.mail,
  .toolbar__cell.lang {
    display: none;
  }
  .header__in {
    height: 64px;
    gap: 12px;
  }
  .brand img {
    width: 28px;
    height: 30px;
  }
  .brand__txt b {
    font-size: 13px;
  }
  .brand__txt small {
    font-size: 7.5px;
    letter-spacing: 0.24em;
  }
  .header__cta {
    height: 38px;
    padding: 0 14px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .stats {
    padding: 56px 0;
  }
  .stat__num {
    font-size: 38px;
    margin-bottom: 14px;
  }
  .stat__num small {
    font-size: 15px;
  }
  .stat__label {
    font-size: 12.5px;
  }
  .faq__btn {
    grid-template-columns: 48px 1fr 40px;
    padding: 22px 20px;
    margin: 0 -20px;
    width: calc(100% + 40px);
    gap: 12px;
  }
  .faq__num {
    font-size: 26px;
  }
  .faq__arrow {
    width: 34px;
    height: 34px;
    opacity: 1;
    transform: none;
    background: transparent;
    color: var(--maroon);
    border: 1px solid var(--line);
  }
  .faq__item.is-open .faq__arrow {
    background: #fff;
    border-color: #fff;
  }
  .faq__panel {
    margin: 0 -20px;
  }
  .faq__panel-in {
    padding: 0 20px 28px;
    font-size: 14px;
  }
  .faq__opts {
    grid-template-columns: 1fr;
  }
  .faq__opt + .faq__opt {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .plan--featured {
    order: -1;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .foot__in {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 40px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .step {
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 28px 0;
  }
  .step__n {
    font-size: 30px;
  }
  .list-row {
    grid-template-columns: 56px 1fr;
    gap: 16px;
  }
  .list-row .ghost {
    font-size: 26px;
  }
  .uni-table thead th:nth-child(3),
  .uni-table tbody td:nth-child(3) {
    display: none;
  }
  .kv > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .hero__actions {
    gap: 20px;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .consult__body h2 {
    font-size: 24px;
  }
}

/* narrow phones: the header CTA would push the burger off-screen */
@media (max-width: 480px) {
  .header__cta {
    display: none;
  }
  .hero h1 {
    font-size: 28px;
    letter-spacing: -0.03em;
  }
}

@media (max-width: 400px) {
  .brand__txt {
    display: none;
  }
  .stat__label {
    font-size: 11.5px;
  }
}

/* ---------- 19. Motion preferences ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero__media img {
    transform: none !important;
  }
}
