/* LXA Scholars — shared styles
   Brand: navy #0B1120, cyan #3CE0D2, sky #4E9EDF, Plus Jakarta Sans, pill buttons. */
:root {
  --navy: #0b1120;
  --navy-2: #111a2e;
  --navy-3: #16213a;
  --ink: #0f172a;
  --muted: #5b6577;
  --mist: #f6f8fb;
  --white: #ffffff;
  --line: #e5e7eb;
  --cyan: #3ce0d2;
  --cyan-deep: #0d9488;
  --blue: #4e9edf;
  --purple: #b273b5;
  --star: #fbbf24;
  --on-dark-muted: rgba(255,255,255,0.68);
  --on-dark-line: rgba(255,255,255,0.1);
  --font: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 3.8vw, 42px); font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-deep); }
.dark .eyebrow { color: var(--cyan); }
.lede { color: var(--muted); max-width: 60ch; font-size: 17.5px; }
.dark .lede { color: var(--on-dark-muted); }
section { padding: 96px 0; }
.section-head { display: grid; gap: 14px; margin-bottom: 48px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.accent { color: var(--cyan); }
.dark { background: var(--navy); color: var(--white); }
.mist { background: var(--mist); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; border-radius: 9999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--font); transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: var(--white); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(60,224,210,.7); }
.light .btn-primary:hover, .btn-primary.on-light:hover { background: #5fe8dc; }
.btn-ghost { border-color: rgba(255,255,255,0.22); color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-3); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.link-arrow { font-weight: 800; color: var(--cyan-deep); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/* Header */
header.site { position: sticky; top: 0; z-index: 40; background: rgba(11,17,32,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--on-dark-line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 6px; text-decoration: none; font-size: 24px; font-weight: 900; line-height: 1; }
.brand-mark { color: var(--cyan); }
.brand-sub { color: var(--white); letter-spacing: -0.025em; }
.brand-sub .dot { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 6px 6px 6px 14px; font-size: 15px; font-weight: 700; background: var(--white); border-radius: 9999px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.nav-links > li > a, .nav-links > li > button { text-decoration: none; color: var(--navy); padding: 7px 11px; background: none; border: 0; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; border-radius: 9999px; }
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-links .nav-cta { background: var(--blue); color: var(--white) !important; padding: 9px 18px; margin-left: 6px; }
.nav-links .nav-cta:hover { background: #3b8fd4; }
.nav-results { position: relative; }
.nav-results .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(60,224,210,.7); animation: pip 2.2s ease-out infinite; }
@keyframes pip { 0% { box-shadow: 0 0 0 0 rgba(60,224,210,.7); } 70%,100% { box-shadow: 0 0 0 9px rgba(60,224,210,0); } }
.has-menu { position: relative; }
.has-menu > button i { font-size: 11px; opacity: .6; transition: transform .2s ease; }
.has-menu:hover > button i, .has-menu.open > button i { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px); width: 420px; background: var(--navy-2); border: 1px solid var(--on-dark-line); border-radius: 22px; padding: 12px; display: grid; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.open .menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.menu a { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: var(--white); transition: background .15s ease; }
.menu a:hover { background: rgba(255,255,255,.07); }
.menu .mi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(60,224,210,.12); color: var(--cyan); font-size: 16px; }
.menu b { display: block; font-size: 15px; font-weight: 800; }
.menu small { display: block; font-size: 12.5px; color: rgba(255,255,255,.55); font-weight: 600; }
.menu-btn { display: none; width: 40px; height: 40px; background: var(--white); border: 0; color: var(--navy); border-radius: 50%; font-size: 17px; cursor: pointer; }

/* Logo tiles (real school logos go in images/logos/<slug>.webp) */
.logo { display: grid; place-items: center; width: 100%; height: 100%; }
.logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-fallback { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: #eef2f7; color: var(--navy); font-weight: 900; font-size: 13px; letter-spacing: .02em; border: 1px solid var(--line); }
.dark .logo-fallback, .modal .logo-fallback { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.14); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: 0; min-height: 620px; display: flex; align-items: center; }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: 56%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.45) 30%, #000 62%); mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.45) 30%, #000 62%); }
.hero-inner { position: relative; z-index: 1; padding: 96px 0 104px; }
.hero-copy { max-width: 560px; display: grid; gap: 24px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 62px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.results-pill { justify-self: start; display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 9999px; background: rgba(255,255,255,.06); border: 1px solid rgba(60,224,210,.35); color: var(--white); font: 700 14px var(--font); cursor: pointer; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.results-pill:hover { background: rgba(60,224,210,.12); border-color: var(--cyan); }
.results-pill .yr { background: var(--cyan); color: var(--navy); border-radius: 9999px; padding: 4px 10px; font-weight: 900; font-size: 12.5px; }
.results-pill b { color: var(--cyan); }
.results-pill i { font-size: 12px; opacity: .7; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; font-weight: 600; color: var(--on-dark-muted); padding-top: 22px; border-top: 1px solid var(--on-dark-line); }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts i { color: var(--cyan); }

/* Logo wall */
.logo-wall { padding: 44px 0 52px; border-bottom: 1px solid var(--line); }
.logo-wall p { text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 34px; }
.logo-row .logo-item { display: grid; justify-items: center; gap: 8px; width: 92px; text-align: center; }
.logo-row .logo-box { width: 64px; height: 64px; filter: grayscale(1); opacity: .75; transition: filter .25s ease, opacity .25s ease, transform .25s ease; }
.logo-row .logo-item:hover .logo-box { filter: none; opacity: 1; transform: translateY(-2px); }
.logo-row span { font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.3; }

/* Pathway cards */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path { position: relative; display: grid; gap: 14px; align-content: start; padding: 30px 28px 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; overflow: hidden; }
.path:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(15,23,42,.45); border-color: rgba(13,148,136,.4); }
.path .tag { justify-self: start; font-size: 12px; font-weight: 800; color: var(--cyan-deep); background: rgba(60,224,210,0.14); padding: 5px 12px; border-radius: 9999px; }
.path h3 { font-size: 24px; }
.path p { color: var(--muted); font-size: 15.5px; }
.path .stat { display: flex; align-items: baseline; gap: 10px; padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--line); }
.path .stat strong { font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.path .stat span { font-size: 13.5px; font-weight: 700; color: var(--muted); line-height: 1.3; }
.path .go { font-weight: 800; color: var(--cyan-deep); display: inline-flex; align-items: center; gap: 8px; }
.path .go i { transition: transform .2s ease; }
.path:hover .go i { transform: translateX(4px); }
.path .new { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; background: var(--navy); color: var(--cyan); padding: 4px 10px; border-radius: 9999px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-photo { border-radius: 26px; overflow: hidden; aspect-ratio: 4/3.4; box-shadow: 0 30px 60px -36px rgba(15,23,42,.6); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.ticks li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.ticks .ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(60,224,210,.14); color: var(--cyan-deep); display: grid; place-items: center; }
.dark .ticks .ic { color: var(--cyan); }
.ticks b { display: block; font-size: 16.5px; }
.ticks span { color: var(--muted); font-size: 15px; }
.dark .ticks span { color: var(--on-dark-muted); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 700; }
.faq summary:hover { color: var(--cyan-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mist); border: 1px solid var(--line); color: var(--cyan-deep); font-size: 18px; font-weight: 700; display: grid; place-items: center; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 64ch; }

/* Enrol */
.enrol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-lines { display: grid; gap: 18px; margin-top: 28px; }
.contact-lines div { display: grid; gap: 2px; }
.contact-lines .label { font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); }
.contact-lines .val { font-size: 21px; font-weight: 800; color: var(--white); letter-spacing: -0.01em; text-decoration: none; }
.contact-lines a.val:hover { color: var(--cyan); }
form.trial { display: grid; gap: 16px; background: var(--white); color: var(--ink); border-radius: 24px; padding: 32px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
form.trial h3 { font-size: 22px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: 13.5px; font-weight: 700; }
input, select, textarea { font: 15.5px var(--font); color: var(--ink); background: var(--mist); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--cyan); outline-offset: 0; border-color: var(--cyan); background: var(--white); }
textarea { min-height: 92px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }
.form-msg { font-size: 14px; background: rgba(60,224,210,0.16); border-radius: 12px; padding: 12px 14px; display: none; }
.form-msg.show { display: block; }
.form-msg a { color: var(--cyan-deep); font-weight: 700; }

/* CTA band (subpages) */
.cta-band { background: var(--navy); border-radius: 32px; padding: 56px; color: var(--white); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(60,224,210,.18), transparent 65%); }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 38px); }
.cta-band p { color: var(--on-dark-muted); margin-top: 10px; max-width: 52ch; }
.cta-band > * { position: relative; }

/* Footer */
footer.site { padding: 56px 0 40px; background: var(--navy); color: rgba(255,255,255,0.6); font-size: 14px; border-top: 1px solid var(--on-dark-line); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot .brand { font-size: 22px; margin-bottom: 12px; }
.foot h4 { margin: 0 0 12px; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--on-dark-line); font-size: 12.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Subpage hero ---------- */
.page-hero { padding: 72px 0 84px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 700px; height: 700px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(60,224,210,0.13), transparent 65%); pointer-events: none; }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.crumbs { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.5); display: flex; gap: 8px; align-items: center; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.page-hero .copy { display: grid; gap: 22px; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); }

/* Results card used on subpage heroes */
.rcard { background: linear-gradient(180deg, #131d33 0%, #0f1729 100%); border: 1px solid rgba(255,255,255,.1); border-radius: 26px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); position: relative; overflow: hidden; }
.rcard::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(60,224,210,0.10) 50%, transparent 62%); transform: translateX(-120%); animation: sheen 2.4s ease-out .6s 1 forwards; }
@keyframes sheen { to { transform: translateX(120%); } }
.rcard .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.rcard .top small { font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.rcard .top .stars { color: var(--star); letter-spacing: 3px; font-size: 13px; }
.rcard .big { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--on-dark-line); }
.rcard .big strong { font-size: 76px; font-weight: 800; line-height: .9; letter-spacing: -.05em; color: var(--cyan); font-variant-numeric: tabular-nums; }
.rcard .big span { font-weight: 800; font-size: 17px; line-height: 1.3; }
.rcard .big em { display: block; font-style: normal; font-weight: 600; color: rgba(255,255,255,.55); font-size: 13.5px; margin-top: 4px; }
.rcard .logos { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--on-dark-line); }
.rcard .logos .logo-box { width: 46px; height: 46px; border-radius: 50%; background: var(--white); padding: 6px; }
.rcard .logos .logo-box .logo-fallback { background: transparent; border: 0; color: var(--navy); font-size: 11px; }
.rcard .rows { list-style: none; padding: 0; margin: 0; }
.rcard .rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-weight: 700; font-size: 15px; }
.rcard .rows li:last-child { border-bottom: 0; padding-bottom: 0; }
.rcard .rows b { color: var(--cyan); font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rcard .rows small { display: block; color: rgba(255,255,255,.5); font-weight: 500; font-size: 12.5px; }
.rcard .more { margin-top: 16px; background: none; border: 0; color: var(--white); font: 700 14px var(--font); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; padding: 0; }
.rcard .more:hover { color: var(--cyan); }

/* Exam facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; background: var(--white); }
.fact small { display: block; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-deep); margin-bottom: 8px; }
.fact b { font-size: 17px; line-height: 1.35; display: block; }
.fact span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Schools list */
.schools { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.school { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.school .logo-box { width: 52px; height: 52px; }
.school b { display: block; font-size: 15.5px; line-height: 1.3; }
.school span { font-size: 13px; color: var(--muted); font-weight: 600; }
.school .n { color: var(--cyan-deep); font-weight: 800; }

/* Answer sheet (skills) */
.sheet-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.answer-sheet { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px -30px rgba(15,23,42,0.3); }
.answer-sheet header { display: flex; justify-content: space-between; gap: 12px; padding: 14px 22px; background: var(--navy); color: var(--white); font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.answer-sheet header span:last-child { color: var(--cyan); }
.q { display: grid; grid-template-columns: 34px 1fr auto; gap: 18px; padding: 20px 22px; border-bottom: 1px solid var(--line); align-items: start; }
.q:last-child { border-bottom: 0; }
.q .n { width: 30px; height: 30px; border-radius: 9px; background: var(--mist); border: 1px solid var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.q h3 { font-size: 17.5px; margin-bottom: 4px; }
.q p { color: var(--muted); font-size: 15px; }
.bubbles { display: flex; gap: 6px; padding-top: 4px; }
.bubbles i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #d1d5db; font: 700 10.5px var(--font); font-style: normal; display: grid; place-items: center; color: #9ca3af; transition: background .3s ease, border-color .3s ease, color .3s ease; }
.bubbles i.on { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.strategy-box { border-left: 4px solid var(--cyan); padding: 4px 0 4px 22px; display: grid; gap: 6px; margin-top: 22px; }
.strategy-box p { color: var(--muted); }

/* Cards grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; background: var(--white); display: grid; gap: 10px; align-content: start; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(60,224,210,.14); color: var(--cyan-deep); display: grid; place-items: center; font-size: 17px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15.5px; }
.dark .card { background: rgba(255,255,255,.03); border-color: var(--on-dark-line); }
.dark .card p { color: var(--on-dark-muted); }
.dark .card .ic { color: var(--cyan); }

/* SEAL interview feature */
.interview { position: relative; overflow: hidden; }
.interview::before { content: ""; position: absolute; width: 760px; height: 760px; left: -300px; bottom: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(178,115,181,.16), transparent 65%); pointer-events: none; }
.interview .wrap { position: relative; }
.badge-new { display: inline-flex; align-items: center; gap: 8px; background: rgba(60,224,210,.12); border: 1px solid rgba(60,224,210,.35); color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 9999px; justify-self: start; }
.iv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.iv-steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 0; counter-reset: s; }
.iv-steps li { position: relative; padding: 0 0 26px 58px; counter-increment: s; }
.iv-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; background: var(--navy-3); border: 1px solid rgba(60,224,210,.45); color: var(--cyan); font-weight: 800; display: grid; place-items: center; }
.iv-steps li::after { content: ""; position: absolute; left: 18.5px; top: 40px; bottom: 4px; width: 1px; background: rgba(60,224,210,.25); }
.iv-steps li:last-child { padding-bottom: 0; }
.iv-steps li:last-child::after { display: none; }
.iv-steps b { display: block; font-size: 17px; }
.iv-steps span { color: var(--on-dark-muted); font-size: 15px; }
.mock { background: var(--white); color: var(--ink); border-radius: 26px; padding: 26px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); display: grid; gap: 14px; }
.mock .mh { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mock .mh b { font-size: 15px; }
.mock .mh .rec { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: #e11d48; }
.mock .mh .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e11d48; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: 14.5px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.bubble.in { opacity: 1; transform: none; }
.bubble.tutor { background: var(--mist); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble.tutor small { display: block; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-deep); margin-bottom: 3px; }
.bubble.student { justify-self: end; background: var(--navy); color: var(--white); border-bottom-right-radius: 6px; }
.bubble.note { justify-self: center; max-width: 100%; background: rgba(60,224,210,.16); color: var(--ink); font-size: 13px; text-align: center; border-radius: 12px; }
.bubble.note i { color: var(--cyan-deep); margin-right: 6px; }

/* Tutor spotlight */
.tutor-card { display: grid; grid-template-columns: 220px 1fr; border-radius: 24px; overflow: hidden; background: var(--navy); color: var(--white); }
.tutor-card .ph { background: var(--navy-3); min-height: 260px; position: relative; }
.tutor-card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tutor-card .ph .ph-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; font-weight: 800; color: var(--cyan); }
.tutor-card .body { padding: 30px; display: grid; gap: 10px; align-content: center; }
.tutor-card .body small { font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.tutor-card .body h3 { font-size: 26px; }
.tutor-card .body p { color: var(--on-dark-muted); font-size: 15px; }
.tutor-card .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tutor-card .chips span { font-size: 12.5px; font-weight: 800; padding: 5px 12px; border-radius: 9999px; background: rgba(60,224,210,.14); color: var(--cyan); }

/* Big numbers row */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.num-card { border-radius: var(--radius); padding: 28px; background: var(--white); border: 1px solid var(--line); }
.num-card strong { font-size: 58px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; display: block; }
.num-card strong::after { content: ""; display: block; width: 32px; height: 4px; border-radius: 4px; background: var(--cyan); margin-top: 14px; }
.num-card b { display: block; margin-top: 14px; font-size: 17px; }
.num-card span { color: var(--muted); font-size: 14.5px; }

/* Papers */
.papers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.paper { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px 20px; display: grid; gap: 26px; box-shadow: 5px 5px 0 -1px var(--white), 5px 5px 0 0 var(--line); }
.paper .code { font-size: 12px; font-weight: 800; color: var(--cyan-deep); letter-spacing: 0.08em; text-transform: uppercase; }
.paper strong { font-size: 17.5px; font-weight: 800; line-height: 1.25; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .bubble { opacity: 1; transform: none; } .rcard::after { display: none; } .nav-results .pip { animation: none; } }

/* ---------- Results modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.modal.open { visibility: visible; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,9,18,.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s ease; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-panel { position: relative; width: min(880px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: linear-gradient(180deg, #121c31 0%, #0b1120 100%); color: var(--white); border: 1px solid rgba(255,255,255,.12); border-radius: 30px; padding: 34px 34px 28px; box-shadow: 0 60px 120px -40px rgba(0,0,0,.9); transform: translateY(24px) scale(.97); opacity: 0; transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .35s ease; scrollbar-width: thin; }
.modal.open .modal-panel { transform: none; opacity: 1; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: var(--white); cursor: pointer; font-size: 16px; z-index: 3; }
.modal-close:hover { background: rgba(255,255,255,.14); }
#confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.m-head { display: flex; align-items: end; gap: 18px; margin-bottom: 24px; padding-right: 50px; }
.m-year { font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: .85; background: linear-gradient(90deg, var(--white), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m-head small { display: block; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.m-head h2 { font-size: 24px; margin-top: 4px; }
.m-stars { color: var(--star); letter-spacing: 3px; font-size: 13px; }

.m-feature { display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: center; padding: 26px; border-radius: 24px; background: rgba(60,224,210,.07); border: 1px solid rgba(60,224,210,.3); position: relative; overflow: hidden; }
.m-feature::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.08) 50%, transparent 62%); transform: translateX(-120%); }
.modal.open .m-feature::after { animation: sheen 1.6s ease-out 1.4s 1 forwards; }
.ring { position: relative; width: 170px; height: 170px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: rgba(255,255,255,.08); }
.ring .bar { stroke: var(--cyan); stroke-linecap: round; stroke-dasharray: 465; stroke-dashoffset: 465; transition: stroke-dashoffset 1.6s cubic-bezier(.16,1,.3,1) .35s; filter: drop-shadow(0 0 8px rgba(60,224,210,.55)); }
.modal.open .ring .bar { stroke-dashoffset: 0; }
.ring .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .val strong { font-size: 66px; font-weight: 800; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.ring .val span { display: block; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-top: 4px; }
.m-feature h3 { font-size: 26px; }
.m-feature p { color: var(--on-dark-muted); font-size: 15px; margin-top: 6px; }
.m-logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
/* Popup shows school names as chips (no logos: some logo files have white backgrounds) */
.m-logo { display: inline-block; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 13px; font-weight: 700; color: rgba(255,255,255,.88); line-height: 1.2; opacity: 0; transform: translateY(10px) scale(.8); }
.modal.open .m-logo { animation: pop .55s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes pop { to { opacity: 1; transform: none; } }

.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.m-card { border-radius: 20px; padding: 18px 18px 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); opacity: 0; transform: translateY(14px); transition: border-color .4s ease, background .4s ease, box-shadow .4s ease; }
.modal.open .m-card { animation: pop .6s cubic-bezier(.16,1,.3,1) forwards; }
.m-card.lit { border-color: rgba(60,224,210,.6); background: rgba(60,224,210,.08); box-shadow: 0 0 0 4px rgba(60,224,210,.08); }
.m-card strong { font-size: 42px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--cyan); font-variant-numeric: tabular-nums; }
.m-card b { display: block; font-size: 14.5px; margin-top: 8px; line-height: 1.3; }
.m-card small { display: block; color: rgba(255,255,255,.5); font-size: 12px; font-weight: 600; margin-top: 8px; line-height: 1.4; }
.m-card.wide { grid-column: span 2; }
.m-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--on-dark-line); }
.m-foot p { color: rgba(255,255,255,.55); font-size: 13.5px; font-weight: 600; }
.m-foot .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.m-foot .btn { padding: 11px 20px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) {
  .modal-panel, .ring .bar { transition: none; }
  .modal.open .m-logo, .modal.open .m-card { animation: none; opacity: 1; transform: none; }
  .modal.open .m-feature::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 76px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; border-radius: 22px; }
  .nav-links.open { display: flex; }
  .nav-links > li > a, .nav-links > li > button { width: 100%; padding: 12px 10px; justify-content: space-between; }
  .nav-links .nav-cta { margin: 8px 0 0; justify-content: center !important; }
  .menu { position: static; transform: none !important; width: auto; display: none; opacity: 1; visibility: visible; box-shadow: none; margin: 4px 0 8px; }
  .menu::before { display: none; }
  .has-menu.open .menu { display: grid; }
  .has-menu:hover .menu { display: none; }
  .has-menu.open:hover .menu { display: grid; }
  section { padding: 72px 0; }
}
@media (max-width: 980px) {
  .hero { min-height: 0; }
  .hero-photo { width: 100%; }
  .hero-photo img { -webkit-mask-image: none; mask-image: none; opacity: .28; }
  .hero-inner { padding: 64px 0 72px; }
  .paths, .cards, .numbers { grid-template-columns: 1fr; }
  .split, .faq-layout, .enrol-grid, .page-hero .wrap, .sheet-wrap, .iv-grid { grid-template-columns: 1fr; gap: 40px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .papers { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .cta-band { padding: 40px 28px; }
  .m-feature { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .m-logos { justify-content: center; }
  .m-grid { grid-template-columns: 1fr 1fr; }
  .m-card.wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .facts, .papers, .field-row { grid-template-columns: 1fr; }
  .tutor-card { grid-template-columns: 1fr; }
  .tutor-card .ph { min-height: 280px; }
  .q { grid-template-columns: 30px 1fr; }
  .q .bubbles { grid-column: 2; }
  form.trial { padding: 22px; }
  .modal { padding: 10px; }
  .modal-panel { padding: 26px 18px 20px; border-radius: 24px; }
  .m-year { font-size: 48px; }
  .m-grid { grid-template-columns: 1fr; }
  .m-card.wide { grid-column: auto; }
  .foot { grid-template-columns: 1fr; }
  .logo-row { gap: 18px 14px; }
  .logo-row .logo-item { width: 84px; }
}

/* fit tweaks */
.hero h1 .accent { white-space: nowrap; }
.logo-row { gap: 20px 14px; }
.logo-row .logo-item { width: 84px; }
.modal-panel { padding: 28px 30px 24px; }
.m-head { margin-bottom: 18px; }
.m-year { font-size: 56px; }
.m-feature { grid-template-columns: 140px 1fr; padding: 20px 24px; }
.ring { width: 140px; height: 140px; }
.ring .val strong { font-size: 54px; }
.m-card { padding: 16px 16px 14px; }
.m-card strong { font-size: 36px; }
@media (max-width: 980px) { .m-feature { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hero h1 .accent { white-space: normal; } }
@media (max-width: 560px) { .m-head { flex-direction: column; align-items: flex-start; gap: 10px; } .m-head h2 { font-size: 20px; } }

/* ===== v2 redesign overrides ===== */
/* Header: logo left, nav pill centred */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; }
.nav .brand { justify-self: start; }
.nav-right { justify-self: end; display: flex; }
.menu-btn { display: none; }

/* Hero: left-aligned, lined up under the logo */
.hero-inner { width: 100%; }

/* Centred section heads and content */
.section-head.center .lede { margin: 0 auto; }
.faq { max-width: 780px; margin: 0 auto; }
.schools { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.school { width: 240px; }
.cards.two { grid-template-columns: 1fr 1fr; max-width: 880px; margin: 0 auto; }
.sub-head { text-align: center; margin: 56px 0 20px; }
.sheet-wrap { grid-template-columns: 1.1fr .9fr; align-items: center; }
.cta-band { flex-direction: column; text-align: center; justify-content: center; gap: 6px; padding: 60px 40px; }
.cta-band p { margin: 6px auto 18px; }
.cta-band::before { right: 50%; transform: translateX(50%); }

/* Minimal pathway cards */
.path { justify-items: center; text-align: center; padding: 34px 28px 30px; gap: 10px; }
.path .tag { justify-self: center; }
.path h3 { font-size: 23px; }
.path .stat { flex-direction: column; align-items: center; gap: 4px; border-top: 0; padding: 10px 0 6px; margin: 0; }
.path .stat strong { font-size: 64px; color: var(--ink); }
.path .stat strong::after { content: ""; display: block; width: 32px; height: 4px; border-radius: 4px; background: var(--cyan); margin: 12px auto 0; }
.path .stat span { font-size: 14px; margin-top: 8px; }
.path .new { position: static; justify-self: center; order: -1; margin-bottom: -2px; }

/* Scrolling logo strip (right to left) */
.logo-strip { padding: 40px 0 46px; border-bottom: 1px solid var(--line); overflow: hidden; }
.logo-strip > p { text-align: center; font-size: 12.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: logos 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: grid; justify-items: center; gap: 10px; width: 132px; margin: 0 14px; text-align: center; }
.marquee-item .logo-box { width: 72px; height: 72px; transition: transform .25s ease; }
.marquee-item:hover .logo-box { transform: scale(1.08); }
.marquee-item span { font-size: 12.5px; font-weight: 700; color: var(--muted); line-height: 1.3; }
@keyframes logos { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 18px; } .marquee-item[aria-hidden] { display: none; } }

@media (max-width: 1020px) {
  .nav { display: flex; }
  .menu-btn { display: grid; place-items: center; }
}
@media (max-width: 980px) {
  .cards.two { grid-template-columns: 1fr; }
  .sheet-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .school { width: 100%; }
  .marquee-item { width: 104px; margin: 0 8px; }
  .marquee-item .logo-box { width: 58px; height: 58px; }
}

/* ===== v3: solid navy header/footer, tutors ===== */
header.site { background: #0b1120; backdrop-filter: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
footer.site { background: #0b1120; }

.tutors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tutor { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .2s ease, box-shadow .2s ease; }
.tutor:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(15,23,42,.45); }
.t-photo { position: relative; aspect-ratio: 4 / 5; background: var(--navy); }
.t-photo span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 48px; font-weight: 800; color: var(--cyan); }
.t-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.t-body { padding: 16px 16px 18px; display: grid; gap: 6px; align-content: start; }
.t-tag { justify-self: start; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan-deep); background: rgba(60,224,210,.14); padding: 4px 10px; border-radius: 9999px; }
.t-body h3 { font-size: 17px; }
.t-body p { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 1020px) { .tutors { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .tutors { grid-template-columns: repeat(2, 1fr); gap: 12px; } .t-body h3 { font-size: 15.5px; } }

/* ===== Nov 2026 refresh: section tints, coloured pathway panels, bigger logos, teaching collage ===== */
.tint { background: #eef3f9; }
.logo-strip { background: var(--white); }

/* Logo strip: logos only, bigger */
.marquee-item { width: auto; margin: 0 20px; gap: 0; align-items: center; }
.marquee-item .logo-box { width: 150px; height: 96px; }
.marquee-item .logo-box img { width: 150px; height: 96px; max-width: none; max-height: none; object-fit: contain; }
.marquee-item .logo-fallback { width: 84px; height: 84px; justify-self: center; }
@media (max-width: 640px) {
  .marquee-item { margin: 0 14px; }
  .marquee-item .logo-box, .marquee-item .logo-box img { width: 112px; height: 72px; }
  .marquee-item .logo-fallback { width: 64px; height: 64px; }
}

/* Pathway panels: one colour each, fill with full colour on hover */
.path { --pc: var(--blue); --pc-soft: #e3effb; --pc-line: #c6dcf3; background: var(--pc-soft); border-color: var(--pc-line); }
.path-blue   { --pc: #3f8fd6; --pc-soft: #e3effb; --pc-line: #c6dcf3; }
.path-purple { --pc: #a35fa6; --pc-soft: #f4e8f5; --pc-line: #e5cde6; }
.path-teal   { --pc: #0d9488; --pc-soft: #dcf5f1; --pc-line: #b5e7e0; }
.path .tag { color: var(--pc); background: rgba(255,255,255,.75); }
.path .stat strong::after { background: var(--pc); }
.path .go { color: var(--pc); }
.path h3, .path .stat strong, .path .stat span, .path .tag, .path .go { transition: color .25s ease, background-color .25s ease; }
.path.reveal.in { transition: opacity .6s ease, transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease; }
.path:hover, .path:focus-visible { background: var(--pc); border-color: var(--pc); box-shadow: 0 26px 48px -26px var(--pc); }
.path:hover h3, .path:hover .stat strong, .path:hover .go,
.path:focus-visible h3, .path:focus-visible .stat strong, .path:focus-visible .go { color: var(--white); }
.path:hover .stat span, .path:focus-visible .stat span { color: rgba(255,255,255,.85); }
.path:hover .tag, .path:focus-visible .tag { background: rgba(255,255,255,.2); color: var(--white); }
.path:hover .stat strong::after, .path:focus-visible .stat strong::after { background: var(--white); }

/* How we teach: photo collage (photos kept near their natural 16:9 so they aren't over-zoomed) */
.split-collage { grid-template-columns: 1.15fr 1fr; }
.collage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); padding: 10px 0 30px; }
.c-shot { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy-3); box-shadow: 0 28px 50px -30px rgba(15,23,42,.65); transition: transform .3s ease, box-shadow .3s ease; position: relative; }
.c-shot img { width: 100%; height: 100%; object-fit: cover; }
.c-shot:hover { transform: translateY(-4px) rotate(0deg) !important; box-shadow: 0 34px 56px -28px rgba(15,23,42,.7); z-index: 4; }
.c1 { grid-column: 1 / 11; grid-row: 1; z-index: 1; }
.c2 { grid-column: 6 / 13; grid-row: 2; margin-top: -16%; z-index: 2; border: 6px solid var(--white); transform: rotate(1.5deg); }
.c3 { grid-column: 1 / 7; grid-row: 2; margin-top: 7%; z-index: 3; border: 6px solid var(--white); transform: rotate(-2deg); }
.collage-dots { position: absolute; right: -8px; top: -14px; width: 120px; height: 120px; background-image: radial-gradient(var(--cyan) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .55; z-index: 0; }
.c-badge { position: absolute; left: 47%; top: 50%; transform: translate(-50%, -50%); z-index: 5; display: flex; align-items: center; gap: 10px; background: var(--navy); color: var(--white); padding: 10px 16px 10px 12px; border-radius: 9999px; box-shadow: 0 18px 34px -16px rgba(11,17,32,.7); }
.c-badge b { width: 38px; height: 38px; border-radius: 50%; background: var(--cyan); color: var(--navy); display: grid; place-items: center; font-size: 19px; font-weight: 900; }
.c-badge span { font-size: 12px; font-weight: 800; line-height: 1.2; }
@media (max-width: 980px) { .split-collage { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .c2, .c3 { border-width: 4px; } .c-badge { padding: 7px 12px 7px 8px; } .c-badge b { width: 30px; height: 30px; font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .c2, .c3 { transform: none; } }

/* ===== Program pages: hero → stats → tutor → what we offer → FAQ → contact ===== */
.page-hero.solo { padding: 84px 0 92px; }
.page-hero.solo .wrap { grid-template-columns: 1fr; }
.page-hero.solo .copy { max-width: 760px; }
.page-hero.solo h1 { font-size: clamp(44px, 6vw, 72px); }
.tutor-solo { max-width: 880px; margin: 0 auto; }
.offer-facts { margin-bottom: 48px; }
.results-link { text-align: center; margin-top: 28px; }
.results-link .link-arrow { background: none; border: 0; padding: 0; font: 800 16px var(--font); cursor: pointer; }
.results-link .link-arrow i { transition: transform .2s ease; }
.results-link .link-arrow:hover i { transform: translateX(4px); }


/* ===== Contact: one tidy, centred unit ===== */
.enrol-grid { max-width: 1000px; margin: 0 auto; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.contact-lines { gap: 14px; margin-top: 26px; }
.contact-lines > div { grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--on-dark-line); }
.contact-lines > div > span:last-child { display: grid; gap: 1px; }
.contact-lines .ci { width: 46px; height: 46px; border-radius: 14px; background: rgba(60,224,210,.12); color: var(--cyan); display: grid; place-items: center; font-size: 18px; }
.contact-lines .val { font-size: 18px; }
@media (max-width: 980px) { .enrol-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===== Program hero: title, short description, photo ===== */
.prog-hero .lede { color: var(--on-dark-muted); max-width: 58ch; font-size: 17.5px; }
.prog-hero h1 { font-size: clamp(42px, 5.6vw, 66px); }
.hero-shot { margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--on-dark-line); box-shadow: 0 40px 70px -40px rgba(0,0,0,.9); position: relative; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,17,32,.35)); }

/* ===== Results: one feature card + school breakdown ===== */
.res-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.res-main { position: relative; overflow: hidden; background: var(--navy); color: var(--white); border-radius: 28px; padding: 34px 32px 30px; display: grid; gap: 22px; justify-items: center; text-align: center; }
.res-main::before { content: ""; position: absolute; width: 420px; height: 420px; top: -200px; right: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(60,224,210,.22), transparent 65%); pointer-events: none; }
.res-main > * { position: relative; }
.res-ring { position: relative; width: 190px; height: 190px; }
.res-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.res-ring circle { fill: none; stroke-width: 10; }
.res-ring .track { stroke: rgba(255,255,255,.08); }
.res-ring .bar { stroke: var(--cyan); stroke-linecap: round; stroke-dasharray: 465; stroke-dashoffset: 465; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1) .2s; filter: drop-shadow(0 0 8px rgba(60,224,210,.45)); }
.res-main.in .res-ring .bar { stroke-dashoffset: 0; }
.res-ring .val { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; }
.res-ring .val strong { font-size: 64px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.res-ring .val span { font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-top: 6px; }
.res-main h3 { font-size: 21px; }
.res-mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.res-mini li { background: rgba(255,255,255,.05); border: 1px solid var(--on-dark-line); border-radius: 16px; padding: 14px 12px; display: grid; gap: 2px; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.res-main.in .res-mini li { opacity: 1; transform: none; }
.res-main.in .res-mini li:nth-child(1) { transition-delay: .9s; }
.res-main.in .res-mini li:nth-child(2) { transition-delay: 1.05s; }
.res-mini b { font-size: 30px; font-weight: 800; color: var(--cyan); line-height: 1.1; font-variant-numeric: tabular-nums; }
.res-mini span { font-size: 13px; color: var(--on-dark-muted); line-height: 1.35; }
.res-main .link-arrow { background: none; border: 0; padding: 0; font: 800 15px var(--font); color: var(--white); cursor: pointer; }
.res-main .link-arrow:hover { color: var(--cyan); }
.res-main .link-arrow i { transition: transform .2s ease; }
.res-main .link-arrow:hover i { transform: translateX(4px); }

.res-schools { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 28px 28px 22px; display: grid; align-content: start; gap: 6px; }
.res-schools > h3 { font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.res-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) 46px; gap: 16px; align-items: center; padding: 10px 10px; border-radius: 16px; transition: background-color .2s ease, opacity .6s ease, transform .6s ease; }
.res-row:hover { background: var(--mist); }
.res-row .logo-box { width: 58px; height: 58px; transition: transform .25s ease; }
.res-row:hover .logo-box { transform: scale(1.08); }
.res-row .nm b { display: block; font-size: 15.5px; line-height: 1.3; }
.res-row .bar { display: block; height: 8px; margin-top: 8px; border-radius: 8px; background: #edf1f6; overflow: hidden; }
.res-row .bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--cyan-deep), var(--cyan)); transition: width 1.1s cubic-bezier(.2,.8,.2,1) .35s; }
.res-row.in .bar i { width: var(--w); }
.res-row .ct { font-size: 26px; font-weight: 800; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.res-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.res-tile { display: grid; justify-items: center; gap: 8px; padding: 16px 8px 14px; border-radius: 18px; border: 1px solid var(--line); text-align: center; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .6s ease; }
.res-tile:hover { transform: translateY(-3px); border-color: rgba(13,148,136,.4); box-shadow: 0 18px 30px -22px rgba(15,23,42,.45); }
.res-tile .logo-box { width: 64px; height: 64px; }
.res-tile b { font-size: 13.5px; line-height: 1.25; }
.res-tile.reveal { transform: translateY(14px) scale(.94); }
.res-tile.reveal.in { transform: none; }
.res-tile.reveal.in:hover { transform: translateY(-3px); }
@media (max-width: 980px) { .res-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .res-tiles { grid-template-columns: repeat(2, 1fr); } .res-schools { padding: 22px 16px 16px; } .res-row { grid-template-columns: 48px minmax(0,1fr) 38px; gap: 12px; } .res-row .logo-box { width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .res-ring .bar { transition: none; stroke-dashoffset: 0; } .res-row .bar i { transition: none; width: var(--w); } .res-mini li { opacity: 1; transform: none; transition: none; } }

/* ===== Tutor profile card ===== */
.pcard { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; background: var(--navy); color: var(--white); border-radius: 28px; overflow: hidden; border: 1px solid var(--on-dark-line); box-shadow: 0 40px 70px -40px rgba(11,17,32,.7); }
.pcard-photo { position: relative; min-height: 380px; background: var(--navy-3); }
.pcard-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.pcard-photo .ph-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; font-weight: 800; color: var(--cyan); }
.pcard-body { padding: 34px 34px 30px; display: grid; gap: 18px; align-content: start; }
.pcard-tag { font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.pcard-body h3 { font-size: clamp(26px, 3vw, 32px); font-weight: 900; margin-top: 4px; }
.pcard-sub { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-top: 2px; }
.pcard-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pcard-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.45; }
.pcard-list i { color: var(--cyan); margin-top: 3px; font-size: 14px; }
.pcard-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 18px; border-top: 1px solid var(--on-dark-line); }
.pcard-stats div { background: rgba(255,255,255,.05); border: 1px solid var(--on-dark-line); border-radius: 18px; padding: 14px 12px; text-align: center; }
.pcard-stats strong { display: block; font-size: 30px; font-weight: 900; color: var(--cyan); line-height: 1.1; font-variant-numeric: tabular-nums; }
.pcard-stats span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
@media (max-width: 760px) { .pcard { grid-template-columns: 1fr; } .pcard-photo { min-height: 0; aspect-ratio: 4 / 4.2; } .pcard-body { padding: 26px 22px 24px; } }

/* ===== What we offer cards ===== */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.o-card { --oc: #3f8fd6; --oc-soft: #eaf3fc; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px 26px; display: grid; gap: 8px; align-content: start; text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease, opacity .6s ease; }
.o-card:hover { transform: translateY(-4px); background: var(--oc-soft); border-color: var(--oc); box-shadow: 0 24px 40px -28px var(--oc); }
.o-card.reveal.in:hover { transform: translateY(-4px); }
.o-card .oi { width: 48px; height: 48px; border-radius: 15px; background: var(--oc); color: var(--white); display: grid; place-items: center; font-size: 19px; margin-bottom: 10px; box-shadow: 0 10px 20px -10px var(--oc); transition: transform .25s ease; }
.o-card:hover .oi { transform: rotate(-6deg) scale(1.06); }
.o-card small { font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--oc); }
.o-card h3 { font-size: 19px; line-height: 1.3; }
.o-card p { color: var(--muted); font-size: 15px; }
.o-card .go { font-weight: 800; color: var(--oc); font-size: 14.5px; display: inline-flex; gap: 8px; align-items: center; margin-top: 4px; }
.oc-sky { --oc: #3f8fd6; --oc-soft: #eaf3fc; }
.oc-purple { --oc: #a35fa6; --oc-soft: #f7eef8; }
.oc-green { --oc: #10a37f; --oc-soft: #e8f8f2; }
.oc-amber { --oc: #e39b12; --oc-soft: #fdf5e4; }
.oc-rose { --oc: #e0516b; --oc-soft: #fdedf0; }
.oc-indigo { --oc: #5a5fd6; --oc-soft: #efeffd; }
.provider-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -14px 0 34px; }
.provider-chips span { font-size: 13px; font-weight: 800; padding: 7px 14px; border-radius: 9999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.provider-chips span:first-child { background: none; border-color: transparent; color: var(--muted); }
@media (max-width: 980px) { .offer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .offer-grid { grid-template-columns: 1fr; } }
/* Keep every logo inside its box */
.logo-box.logo { display: flex; align-items: center; justify-content: center; }
.logo-box.logo > img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.marquee-item .logo-box.logo > img { width: 150px; height: 96px; max-width: none; max-height: none; }
@media (max-width: 640px) { .marquee-item .logo-box.logo > img { width: 112px; height: 72px; } }

/* ===== Results popup: plain notice ===== */
.modal-backdrop { background: rgba(11,17,32,.55); backdrop-filter: none; transition: opacity .2s ease; }
.modal-panel { width: min(600px, 100%); background: var(--white); color: var(--ink); border: 0; border-radius: 18px; padding: 36px 40px 30px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); transform: none; transition: opacity .2s ease; }
.modal.open .modal-panel { transform: none; }
.modal-close { top: 16px; right: 16px; width: 36px; height: 36px; border: 0; background: none; color: var(--muted); font-size: 18px; }
.modal-close:hover { background: var(--mist); color: var(--ink); }
.r-kicker { font-size: 13px; font-weight: 700; color: var(--cyan-deep); }
.modal-panel h2 { font-size: 27px; line-height: 1.2; margin-top: 4px; padding-right: 30px; }
.r-intro { color: var(--muted); font-size: 15.5px; margin-top: 10px; }
.r-list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.r-list li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.r-n { font-size: 26px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; text-align: right; }
.r-t b { display: block; font-size: 16px; font-weight: 700; }
.r-t span { display: block; font-size: 14px; color: var(--muted); margin-top: 1px; }
.r-since { font-size: 14px; color: var(--muted); margin-top: 16px; }
.r-acts { display: flex; align-items: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.r-acts .btn { padding: 12px 22px; font-size: 15px; }
.r-later { background: none; border: 0; padding: 0; font: 700 15px var(--font); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.r-later:hover { color: var(--ink); }
@media (max-width: 560px) { .modal-panel { padding: 28px 22px 22px; } .modal-panel h2 { font-size: 23px; } .r-list li { grid-template-columns: 40px 1fr; gap: 10px; } .r-n { font-size: 22px; } }
.modal-close:focus-visible { outline: 2px solid var(--line); outline-offset: 0; }

/* ===== Results popup: flyer style ===== */
.modal-panel.rf { width: min(760px, 100%); background: #13325f; color: var(--white); border-radius: 4px; padding: 0 0 26px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); }
.rf .modal-close { top: 10px; right: 10px; color: rgba(255,255,255,.75); z-index: 3; }
.rf .modal-close:hover { background: rgba(255,255,255,.12); color: var(--white); }
.rf-top { display: flex; justify-content: space-between; align-items: stretch; padding: 0 42px; min-height: 92px; }
.rf-brand { align-self: center; font-size: 22px; font-weight: 900; letter-spacing: -.01em; }
.rf-brand span { color: var(--cyan); }
.rf-tag { background: rgba(255,255,255,.14); padding: 22px 26px 34px; margin-bottom: -22px; font-size: 21px; font-weight: 900; line-height: 1.1; text-transform: uppercase; color: rgba(255,255,255,.55); position: relative; z-index: 1; margin-right: 34px; }
.rf-banner { position: relative; margin: 0 26px; height: 170px; background: url("images/class-discussion.jpg") center 35% / cover; display: flex; align-items: center; padding-left: 30px; }
.rf-banner::before { content: ""; position: absolute; inset: 0; background: rgba(19,50,95,.45); }
.rf-box { position: relative; background: rgba(255,255,255,.94); color: #13325f; padding: 22px 30px 20px; }
.rf-box h2 { font-size: clamp(26px, 4.4vw, 40px); font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -.01em; padding: 0; margin: 0; }
.rf-box p { font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; margin-top: 6px; }
.rf-stats { list-style: none; margin: 0; padding: 26px 48px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 30px; }
.rf-stats li { display: flex; align-items: center; gap: 16px; }
.rf-dot { flex: none; width: 58px; height: 58px; border-radius: 50%; border: 6px solid var(--cyan); display: grid; place-items: center; font-size: 19px; font-weight: 900; }
.rf-stats b { display: block; font-size: 14.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.rf-stats li > span:last-child > span { display: block; font-size: 14px; color: rgba(255,255,255,.8); }
.rf-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 26px; }
.rf-panel { padding: 24px 26px 22px; font-size: 15px; line-height: 1.5; }
.rf-panel h3 { font-size: 21px; font-weight: 900; text-transform: uppercase; margin-bottom: 10px; color: #13325f; }
.rf-panel p { margin: 0 0 8px; }
.rf-panel ul { margin: 0 0 14px; padding-left: 18px; }
.rf-panel li { margin: 2px 0; }
.rf-panel b { color: #13325f; }
.rf-teal { background: #8ab8c2; color: #0f2747; }
.rf-grey { background: #ececec; color: #22272e; }
.rf-foot { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px; padding: 24px 26px 0; text-align: center; }
.rf-foot p { width: 100%; font-size: 19px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.rf-btn { background: var(--cyan); color: var(--navy); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; text-decoration: none; padding: 12px 22px; border-radius: 4px; }
.rf-btn:hover { background: var(--white); }
.rf-contact { font-weight: 700; color: rgba(255,255,255,.85); }
.rf-contact i { color: var(--cyan); margin-right: 6px; }
.rf-close { background: none; border: 0; color: rgba(255,255,255,.7); font: 700 14px var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rf-close:hover { color: var(--white); }
@media (max-width: 640px) {
  .rf-top { padding: 0 20px; min-height: 70px; }
  .rf-tag { display: none; }
  .rf-banner { margin: 0 14px; height: 130px; padding-left: 16px; }
  .rf-box { padding: 14px 18px; }
  .rf-stats { grid-template-columns: 1fr; padding: 22px 22px 20px; }
  .rf-panels { grid-template-columns: 1fr; margin: 0 14px; }
}
.rf .modal-close:focus-visible { outline: 2px solid rgba(255,255,255,.3); }

/* ===== Results popup: rounded, on-brand ===== */
.modal-panel.rf { width: min(760px, 100%); background: var(--navy); border: 1px solid var(--on-dark-line); border-radius: 28px; padding: 0 0 28px; box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); }
.rf .modal-close { top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--on-dark-line); }
.rf-top { padding: 0 32px; min-height: 84px; }
.rf-brand { font-size: 21px; }
.rf-tag { align-self: flex-start; background: rgba(60,224,210,.1); color: var(--cyan); font-size: 15px; letter-spacing: .04em; padding: 18px 22px 16px; margin: 0 60px 0 0; border-radius: 0 0 18px 18px; border: 1px solid rgba(60,224,210,.25); border-top: 0; }
.rf-banner { margin: 0 24px; height: 180px; border-radius: 22px; overflow: hidden; padding-left: 26px; }
.rf-banner::before { background: linear-gradient(90deg, rgba(11,17,32,.55), rgba(11,17,32,.15)); }
.rf-box { border-radius: 18px; background: var(--white); color: var(--ink); padding: 18px 26px 20px; box-shadow: 0 20px 40px -24px rgba(0,0,0,.6); }
.rf-box p { order: -1; margin: 0 0 6px; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-deep); }
.rf-box h2 { text-transform: none; font-size: clamp(28px, 4.4vw, 40px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.rf-box h2 .accent { color: var(--cyan); }
.rf-stats { padding: 22px 24px 18px; gap: 12px; }
.rf-stats li { background: rgba(255,255,255,.04); border: 1px solid var(--on-dark-line); border-radius: 18px; padding: 14px 16px; gap: 14px; }
.rf-dot { width: 52px; height: 52px; border: 0; background: rgba(60,224,210,.14); color: var(--cyan); font-size: 21px; font-weight: 800; box-shadow: inset 0 0 0 2px rgba(60,224,210,.45); }
.rf-stats b { font-size: 13px; letter-spacing: .08em; font-weight: 900; }
.rf-stats li > span:last-child > span { font-size: 13.5px; color: var(--on-dark-muted); line-height: 1.4; margin-top: 2px; }
.rf-panels { gap: 12px; margin: 0 24px; }
.rf-panel { border-radius: 22px; padding: 24px 24px 18px; font-size: 14.5px; }
.rf-panel h3 { text-transform: none; font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin-bottom: 10px; }
.rf-panel b { color: var(--cyan-deep); }
.rf-teal { background: #dff6f3; color: var(--ink); }
.rf-grey { background: var(--mist); color: var(--ink); }
.rf-panel ul { list-style: none; padding: 0; margin: 4px 0 14px; display: grid; gap: 4px; }
.rf-panel ul li { position: relative; padding-left: 18px; margin: 0; }
.rf-panel ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-deep); }
.rf-foot { padding-top: 26px; }
.rf-foot p { text-transform: none; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.rf-btn { border-radius: 9999px; padding: 12px 24px; font-size: 15px; text-transform: none; letter-spacing: 0; }
.rf-btn:hover { background: #5fe8dc; }
@media (max-width: 640px) {
  .modal-panel.rf { border-radius: 22px; }
  .rf-top { padding: 0 20px; }
  .rf-banner { margin: 0 14px; height: 140px; padding-left: 14px; border-radius: 18px; }
  .rf-stats { padding: 18px 14px 14px; }
  .rf-panels { margin: 0 14px; }
}

/* ===== Results popup: lighter blue palette ===== */
.modal-panel.rf { --rf-bg: #2f62b3; --rf-deep: #1c4180; --rf-steel: #c3d9ec; --rf-light: #f4f6f9; background: var(--rf-bg); border-color: rgba(255,255,255,.18); box-shadow: 0 40px 90px -40px rgba(10,25,60,.75); }
.modal-backdrop { background: rgba(20,40,80,.45); }
.rf .modal-close { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); color: var(--white); }
.rf .modal-close:hover { background: rgba(255,255,255,.26); }
.rf-brand span { color: #cfe3f7; }
.rf-tag { background: rgba(255,255,255,.16); color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.22); }
.rf-banner::before { background: linear-gradient(90deg, rgba(28,65,128,.6), rgba(28,65,128,.2)); }
.rf-box p { color: var(--rf-bg); }
.rf-box h2 { color: var(--rf-deep); }
.rf-box h2 .accent { color: #7fb3e6; }
.rf-stats li { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.rf-dot { background: var(--white); color: var(--rf-deep); box-shadow: inset 0 0 0 4px #9cc4ea; }
.rf-stats li > span:last-child > span { color: rgba(255,255,255,.85); }
.rf-teal { background: var(--rf-steel); color: #13294f; }
.rf-grey { background: var(--rf-light); color: #22324a; }
.rf-panel h3 { color: var(--rf-deep); }
.rf-panel b { color: var(--rf-bg); }
.rf-panel ul li::before { background: var(--rf-bg); }
.rf-btn.btn-primary { background: var(--white); color: var(--rf-deep); }
.rf-btn.btn-primary:hover { background: #e3eefa; }
.rf-contact i { color: #cfe3f7; }
.rf-close { color: rgba(255,255,255,.8); }

/* ===== Results popup: flyer palette ===== */
.modal-panel.rf { --rf-bg: #17447f; --rf-deep: #17447f; --rf-steel: #81aeba; --rf-light: #ececec; --rf-ring: #42b4d9; background: var(--rf-bg); border-color: rgba(255,255,255,.12); }
.rf-brand span { color: #a8d8e8; }
.rf-tag { background: rgba(255,255,255,.18); color: #a9bfd9; border-color: transparent; }
.rf-banner::before { background: linear-gradient(90deg, rgba(23,68,127,.55), rgba(23,68,127,.25)); }
.rf-box p { color: var(--rf-deep); opacity: .8; }
.rf-box h2 { color: var(--rf-deep); }
.rf-box h2 .accent { color: var(--rf-ring); }
.rf-stats li { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); }
.rf-dot { background: transparent; color: var(--white); box-shadow: inset 0 0 0 6px var(--rf-ring); }
.rf-stats li > span:last-child > span { color: rgba(255,255,255,.85); }
.rf-teal { background: var(--rf-steel); color: #10305c; }
.rf-grey { background: var(--rf-light); color: #222a35; }
.rf-panel h3, .rf-panel b { color: var(--rf-deep); }
.rf-panel ul li::before { background: var(--rf-deep); }
.rf-btn.btn-primary { background: #0f6ff0; color: var(--white); box-shadow: 0 6px 0 #0b3f8a; }
.rf-btn.btn-primary:hover { background: #2a82f5; }
.rf-contact i { color: var(--rf-ring); }
