/* ==========================================================================
   StudyGenius.tech — design system
   Modern academic editorial meets education technology.
   Navy carries authority; orange is a controlled accent, never a background.
   ========================================================================== */

/* --- tokens ------------------------------------------------------------- */
:root{
  /* brand — sampled from assets/img/logo_new.jpeg */
  --navy:#0A1F7F;        /* cap + wordmark: authority, headings, primary actions */
  --navy-900:#071553;    /* deepest: dark sections and footer */
  --navy-700:#0D2A9E;
  --navy-600:#123BC4;
  --navy-050:#EDF1FE;
  --blue:#005CFD;        /* road highlight: links and interactive accents */
  --blue-600:#0B4FD6;
  --blue-050:#E8F0FF;
  --orange:#FD6A02;      /* ".tech", tassel, swoosh: the accent, used sparingly */
  --orange-600:#D65703;
  --orange-200:#FFD2AE;
  --orange-050:#FFF2E8;
  --off-white:#F6F8FD;
  --mist:#EDF1FA;
  --ink:#0E1425;
  --muted:#5B6478;
  --green:#0E8A5F;
  --green-050:#E7F5EF;
  --white:#FFFFFF;

  /* lines + surfaces */
  --line:#DFE5F2;
  --line-strong:#C3CFE6;
  --surface:var(--white);
  --surface-alt:var(--off-white);

  /* type */
  /* Century Gothic is a licensed Monotype face and cannot be served as a
     webfont, so it is used where the visitor already has it (most Windows and
     Office installs, and URW Gothic on Linux) and Poppins — geometric, wide,
     single-storey 'a' — is loaded as the closest freely licensed fallback. */
  --font-cg:'Century Gothic','CenturyGothic','URW Gothic','URW Gothic L',
            'AppleGothic','Poppins',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-head:var(--font-cg);
  --font-body:var(--font-cg);
  --fs-display:clamp(2.5rem,1.6rem + 3.6vw,4.5rem);
  --fs-h1:clamp(2.1rem,1.5rem + 2.4vw,3.4rem);
  --fs-h2:clamp(1.75rem,1.3rem + 1.8vw,2.7rem);
  --fs-h3:clamp(1.15rem,1.05rem + .4vw,1.4rem);
  --fs-lead:clamp(1.02rem,.98rem + .3vw,1.19rem);
  --fs-body:1rem;
  --fs-sm:.9rem;
  --fs-xs:.8rem;
  --fs-eyebrow:.75rem;

  /* spacing */
  --sp-1:.25rem; --sp-2:.5rem;  --sp-3:.75rem; --sp-4:1rem;
  --sp-5:1.5rem; --sp-6:2rem;   --sp-7:3rem;   --sp-8:4rem;
  --sp-9:5rem;   --sp-10:6.5rem;
  --section-y:clamp(2.4rem,1.6rem + 3.2vw,4rem);
  --container:1200px;
  --container-narrow:820px;
  --gutter:clamp(1.15rem,4vw,2rem);

  /* shape */
  --r-sm:8px; --r-md:12px; --r-lg:18px; --r-pill:999px;
  --shadow-sm:0 1px 2px rgba(7,21,83,.05),0 2px 8px rgba(7,21,83,.04);
  --shadow-md:0 2px 6px rgba(7,21,83,.05),0 12px 28px rgba(7,21,83,.07);
  --shadow-lg:0 4px 12px rgba(7,21,83,.06),0 24px 56px rgba(7,21,83,.10);

  /* motion */
  --t-fast:140ms cubic-bezier(.4,0,.2,1);
  --t-base:220ms cubic-bezier(.4,0,.2,1);
}

/* --- reset -------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
html:focus-within{scroll-behavior:smooth}
body{
  margin:0;font-family:var(--font-body);font-size:var(--fs-body);line-height:1.65;
  color:var(--ink);background:var(--white);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
h1,h2,h3,h4,h5{font-family:var(--font-head);font-weight:700;line-height:1.14;letter-spacing:-.015em;margin:0 0 var(--sp-4);color:var(--ink)}
h1{font-size:var(--fs-h1)}h2{font-size:var(--fs-h2)}h3{font-size:var(--fs-h3);font-weight:700}
p{margin:0 0 var(--sp-4);color:var(--muted)}
a{color:inherit;text-decoration:none}
img,svg,video{display:block;max-width:100%}
img{height:auto}
button,input,select,textarea{font:inherit;color:inherit}
ul,ol{margin:0;padding:0}
hr{border:0;border-top:1px solid var(--line);margin:var(--sp-6) 0}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:3px solid var(--orange);outline-offset:2px;border-radius:var(--r-sm);
}
::selection{background:var(--navy);color:#fff}

/* --- layout ------------------------------------------------------------- */
.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:var(--gutter)}
.container-narrow{max-width:var(--container-narrow)}
.section{padding-block:var(--section-y)}
.section--alt{background:var(--off-white)}
.section--mist{background:var(--mist)}
.section--dark{background:var(--navy-900);color:#fff}
.section--dark h1,.section--dark h2,.section--dark h3{color:#fff}
.section--dark p{color:#E3D2D8}
.stack>*+*{margin-top:var(--sp-4)}
.skip-link{
  position:absolute;left:var(--sp-4);top:-100px;z-index:200;
  background:var(--navy);color:#fff;padding:.75rem 1.15rem;border-radius:var(--r-sm);
  font-weight:700;transition:top var(--t-fast);
}
.skip-link:focus{top:var(--sp-4)}

/* --- typography helpers ------------------------------------------------- */
.eyebrow{
  display:inline-flex;align-items:center;gap:.55rem;
  font-family:var(--font-head);font-size:var(--fs-eyebrow);font-weight:800;
  letter-spacing:.13em;text-transform:uppercase;color:var(--navy);
  margin:0 0 var(--sp-4);
}
.eyebrow::before{content:"";width:22px;height:2px;background:var(--orange);flex:none}
.eyebrow--plain::before{display:none}
.lead{font-size:var(--fs-lead);color:var(--muted);max-width:62ch}
.display{font-size:var(--fs-display);letter-spacing:-.026em;line-height:1.04}
.u-accent{color:var(--orange-600)}
.u-navy{color:var(--navy)}
.section--dark .u-accent{color:var(--orange)}
.measure{max-width:66ch}
.text-center{text-align:center}
.text-center .eyebrow{justify-content:center}
.section-head{max-width:70ch;margin-bottom:var(--sp-6)}
.section-head.text-center{margin-inline:auto}
.visually-hidden{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}
[hidden]{display:none!important}

/* --- icons -------------------------------------------------------------- */
.icon{width:20px;height:20px;flex:none}
.icon--sm{width:16px;height:16px}
.icon--lg{width:26px;height:26px}

/* --- buttons ------------------------------------------------------------ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:48px;padding:.8rem 1.35rem;border:1px solid transparent;border-radius:var(--r-sm);
  font-family:var(--font-head);font-weight:700;font-size:var(--fs-sm);cursor:pointer;
  transition:background var(--t-fast),border-color var(--t-fast),color var(--t-fast),box-shadow var(--t-fast);
  text-align:center;
}
.btn--primary{background:var(--navy);color:#fff}
.btn--primary:hover{background:var(--navy-700)}
.btn--primary:active{background:var(--navy-900)}
.btn--orange{background:var(--orange);color:#FFFFFF}
.btn--orange:hover{background:var(--orange-600);color:#fff}
.btn--outline{background:transparent;color:var(--navy);border-color:var(--line-strong)}
.btn--outline:hover{border-color:var(--navy);background:var(--navy-050)}
.btn--ghost-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.btn--ghost-light:hover{background:rgba(255,255,255,.1);border-color:#fff}
.btn--sm{min-height:40px;padding:.5rem 1rem;font-size:var(--fs-xs)}
.btn--block{width:100%}
.btn[disabled],.btn[aria-disabled=true]{opacity:.5;cursor:not-allowed}
.btn-row{display:flex;flex-wrap:wrap;gap:var(--sp-3)}
.link-arrow{
  display:inline-flex;align-items:center;gap:.4rem;font-weight:700;color:var(--navy);
  font-family:var(--font-head);font-size:var(--fs-sm);
}
.link-arrow .icon{transition:transform var(--t-fast)}
.link-arrow:hover .icon{transform:translateX(3px)}

/* --- tags / pills ------------------------------------------------------- */
.tag{
  display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .7rem;white-space:nowrap;
  border:1px solid var(--line);border-radius:var(--r-sm);background:var(--white);
  font-size:var(--fs-xs);font-weight:700;color:var(--navy);font-family:var(--font-head);
}
.tag--orange{background:var(--orange-050);border-color:#FFD2AE;color:var(--orange-600)}
.tag--green{background:var(--green-050);border-color:#B6DECB;color:var(--green)}
.tag-row{display:flex;flex-wrap:wrap;gap:var(--sp-2)}

/* --- header / nav ------------------------------------------------------- */
.site-header{
  position:sticky;top:0;z-index:100;background:var(--navy-900);
  border-bottom:1px solid rgba(255,255,255,.1);
}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-5);min-height:70px}
.brand{display:flex;align-items:center;gap:.65rem;flex:none}
/* logo_new.jpeg is a 1536x1024 lockup: the mark occupies x386-1126, y20-762,
   with the wordmark and tagline below it. The navbar crops to the mark alone
   and sets the wordmark as live text, which stays crisp at any size. */
.brand__mark{display:block;height:38px;aspect-ratio:740/742;overflow:hidden;position:relative;flex:none;border-radius:6px}
.brand__mark img{position:absolute;width:207.6%;max-width:none;left:-52.2%;top:-2.7%;height:auto}
.brand__mark--svg{aspect-ratio:1;height:38px}
.brand__mark--svg img{position:static;width:100%;left:auto;top:auto}
.brand__text{font-family:var(--font-head);font-weight:800;font-size:1.12rem;letter-spacing:-.03em;line-height:1.05;color:#fff}
.brand__text b{color:var(--orange);font-weight:800}
.brand__text small{display:block;font-size:.53rem;letter-spacing:.14em;color:#A9B6D4;font-weight:700;margin-top:2px}
.nav{display:flex;align-items:center;gap:var(--sp-5)}
.nav__list{display:flex;align-items:center;gap:var(--sp-5);list-style:none}
.nav .btn--primary{background:var(--orange);color:#fff}
.nav .btn--primary:hover{background:var(--orange-600)}
.nav__link{
  font-family:var(--font-head);font-weight:600;font-size:.92rem;color:#D4DCEF;
  padding:.4rem 0;border-bottom:2px solid transparent;transition:color var(--t-fast),border-color var(--t-fast);
}
.nav__link:hover{color:#fff}
.nav__link[aria-current=page]{color:#fff;border-bottom-color:var(--orange)}
.nav__toggle{
  display:none;align-items:center;justify-content:center;gap:.4rem;
  min-height:44px;min-width:44px;padding:.5rem .7rem;background:transparent;
  border:1px solid rgba(255,255,255,.3);border-radius:var(--r-sm);color:#fff;cursor:pointer;
}
.mobile-panel .nav__toggle{border-color:var(--line-strong);color:var(--navy)}
.mobile-panel{
  position:fixed;inset:0;z-index:110;background:var(--white);
  display:flex;flex-direction:column;padding:var(--sp-5) var(--gutter) var(--sp-7);
  overflow-y:auto;
}
.mobile-panel[hidden]{display:none!important}
.mobile-panel__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--sp-6)}
.mobile-panel__list{list-style:none;display:grid;gap:0}
.mobile-panel__list a{
  display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);
  font-family:var(--font-head);font-weight:700;font-size:1.1rem;
  padding:1rem 0;border-bottom:1px solid var(--line);color:var(--ink);
}
.mobile-panel__list a[aria-current=page]{color:var(--navy)}
.mobile-panel__cta{margin-top:var(--sp-6);display:grid;gap:var(--sp-3)}
.mobile-panel__meta{margin-top:auto;padding-top:var(--sp-6);font-size:var(--fs-sm);color:var(--muted)}
.mobile-panel__meta a{display:inline-flex;align-items:center;gap:.45rem;color:var(--navy);font-weight:600}
body.nav-open{overflow:hidden}

/* --- hero --------------------------------------------------------------- */
/* The hero is the first screen: everything down to the programme codes has to
   be visible without scrolling, so it is height-bounded and the type scales to
   fit rather than the block growing to fit the type. svh avoids the mobile
   address-bar jump; the min-height only applies where there is room for it. */
.hero{
  background:linear-gradient(180deg,#fff 0%,var(--off-white) 100%);
  border-bottom:1px solid var(--line);
  padding-block:clamp(.9rem,.5rem + 1.1vw,1.4rem) clamp(.9rem,.5rem + 1.2vw,1.5rem);
  position:relative;overflow:hidden;display:flex;align-items:center;
}
@media (min-height:700px) and (min-width:861px){
  .hero{min-height:calc(100svh - 70px)}
}
/* Two-column row, then the programme strip spanning the full width beneath it. */
.hero__inner{display:flex;flex-direction:column;justify-content:center;gap:clamp(.85rem,1.6vw,1.4rem);width:100%;position:relative;z-index:1}
.hero__grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(1.5rem,3vw,3rem);align-items:center;width:100%}
.hero__strip{width:100%}
/* Compact inside the hero, where vertical space is the constraint. */
.hero__strip .progstrip__item{min-height:94px;padding:.75rem .8rem .7rem;gap:.35rem}
.hero__strip .progstrip__icon--logo{width:38px;height:38px;border-radius:9px;padding:3px}
.hero__strip .progstrip__icon .icon{width:26px;height:26px}
.hero__strip .progstrip__label{font-size:.82rem}
.hero__strip .progstrip__sub{font-size:.66rem}
.hero__title{font-size:clamp(1.75rem,.95rem + 2vw,2.5rem);letter-spacing:-.03em;line-height:1.05;margin-bottom:var(--sp-3)}
.hero__title .accent{color:var(--orange);display:block}
.hero__lead{font-size:.93rem;max-width:46ch;margin-bottom:.6rem}
.hero__kicker{font-family:var(--font-head);font-weight:700;font-size:.82rem;color:var(--navy);margin:0 0 .8rem}
.hero__reassure{display:flex;align-items:center;gap:.5rem;margin-top:var(--sp-3);font-size:var(--fs-sm);color:var(--muted)}
.hero__reassure .icon{color:var(--green)}

/* Programme codes as a dotted run, matching the reference hero. */
.hero__codes{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin-top:var(--sp-4)}
.hero__codes a{
  font-family:var(--font-head);font-weight:700;font-size:.88rem;color:var(--navy);cursor:pointer;
  padding:.15rem 0;border-bottom:2px solid transparent;transition:color var(--t-fast),border-color var(--t-fast);
}
.hero__codes a:hover{color:var(--orange-600);border-bottom-color:var(--orange)}
.hero__codes i{width:5px;height:5px;border-radius:50%;background:var(--orange);display:block;flex:none}

/* --- hero media: photo with a floating plan card ------------------------- */
.hero__media{position:relative}
.hero__photo{
  border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line);
  box-shadow:var(--shadow-lg);margin:0;
}
.hero__photo img{width:100%;height:100%;object-fit:cover;object-position:50% 40%;aspect-ratio:16/9;display:block}
.hero__plan{
  position:absolute;right:.7rem;bottom:.7rem;width:min(272px,66%);
  background:rgba(255,255,255,.97);backdrop-filter:blur(8px);
  border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-lg);
  padding:.9rem 1rem;
}
.hero__plan-top{display:flex;align-items:center;gap:.5rem;margin-bottom:.7rem}
.hero__plan-top b{font-family:var(--font-head);font-size:.92rem}
.hero__plan-top .icon{color:var(--orange);width:17px;height:17px}
.hero__plan-badge{
  margin-left:auto;font-size:.66rem;font-weight:800;font-family:var(--font-head);
  color:var(--green);background:var(--green-050);border:1px solid #B6DECB;
  padding:.2rem .5rem;border-radius:999px;white-space:nowrap;
}
.hero__plan-row{display:grid;grid-template-columns:auto 1fr auto;gap:.5rem;align-items:center;padding:.38rem 0;border-bottom:1px solid var(--line);font-size:.78rem}
.hero__plan-row:last-child{border-bottom:0;padding-bottom:0}
.hero__plan-row .icon{width:16px;height:16px}
.hero__plan-row:nth-child(2) .icon{color:var(--blue)}
.hero__plan-row:nth-child(3) .icon{color:var(--orange)}
.hero__plan-row:nth-child(4) .icon{color:#7C5CFF}
.hero__plan-row:nth-child(5) .icon{color:var(--green)}
.hero__plan-row span{color:var(--muted)}
.hero__plan-row b{font-family:var(--font-head);font-weight:700;color:var(--ink);white-space:nowrap}

/* decorative dotted path, echoing the logo's road */
.hero__path{position:absolute;inset:0;pointer-events:none;z-index:0;opacity:.5}
@media(prefers-reduced-motion:no-preference){
  .hero__spark{animation:heroTwinkle 3.6s ease-in-out infinite}
}
@keyframes heroTwinkle{0%,100%{opacity:.35;transform:scale(.9)}50%{opacity:1;transform:scale(1.08)}}

/* --- product preview ---------------------------------------------------- */
.preview{
  background:var(--white);border:1px solid var(--line-strong);border-radius:var(--r-lg);
  box-shadow:var(--shadow-lg);overflow:hidden;
}
.preview__bar{
  display:flex;align-items:center;gap:.6rem;padding:.7rem 1rem;
  background:var(--mist);border-bottom:1px solid var(--line);
}
.preview__dots{display:flex;gap:.35rem}
.preview__dots span{width:9px;height:9px;border-radius:50%;background:var(--line-strong)}
.preview__title{font-family:var(--font-head);font-size:var(--fs-xs);font-weight:700;color:var(--muted)}
.preview__body{padding:clamp(1rem,2vw,1.4rem)}
.preview__head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--sp-4);margin-bottom:var(--sp-4)}
.preview__head h3{font-size:1.08rem;margin:0}
.preview__head p{margin:0;font-size:var(--fs-xs)}
.preview__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin-bottom:var(--sp-4)}
.stat{border:1px solid var(--line);border-radius:var(--r-sm);padding:.7rem .75rem;background:var(--white)}
.stat__label{display:block;font-size:.7rem;color:var(--muted);font-weight:600;margin-bottom:.2rem}
.stat__value{font-family:var(--font-head);font-size:1.35rem;font-weight:800;letter-spacing:-.02em;line-height:1}
.stat__value small{font-size:.72rem;font-weight:700;color:var(--muted)}
.stat--green .stat__value{color:var(--green)}
.stat--navy .stat__value{color:var(--navy)}
.preview__panel{border:1px solid var(--line);border-radius:var(--r-md);padding:.85rem;margin-bottom:.7rem}
.preview__panel h4{font-family:var(--font-head);font-size:var(--fs-xs);font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 .6rem}
.plan-row{display:grid;grid-template-columns:auto 1fr auto;gap:.7rem;align-items:center;padding:.5rem 0;border-bottom:1px solid var(--line)}
.plan-row:last-child{border-bottom:0;padding-bottom:0}
.plan-row:first-of-type{padding-top:0}
.plan-row__time{font-family:var(--font-head);font-weight:700;font-size:.82rem;color:var(--navy);white-space:nowrap}
.plan-row__task{font-size:.85rem;color:var(--ink);min-width:0}
.plan-row__len{font-size:.75rem;color:var(--muted);white-space:nowrap}
.meter{display:grid;gap:.3rem;margin-bottom:.65rem}
.meter:last-child{margin-bottom:0}
.meter__top{display:flex;justify-content:space-between;gap:.6rem;font-size:.8rem}
.meter__top b{font-weight:600;color:var(--ink)}
.meter__top span{color:var(--muted);font-variant-numeric:tabular-nums}
/* Both are <span>; height is ignored on an inline box, so blockify them. */
.meter__track{display:block;height:7px;border-radius:var(--r-pill);background:var(--mist);overflow:hidden}
.meter__fill{display:block;height:100%;border-radius:var(--r-pill);background:var(--navy);min-width:3px}
.meter__fill--weak{background:var(--orange)}
.meter__fill--strong{background:var(--green)}
.coach-note{
  display:flex;gap:.65rem;align-items:flex-start;padding:.8rem .9rem;
  background:var(--orange-050);border:1px solid #FFD2AE;border-radius:var(--r-md);
}
.coach-note .icon{color:var(--orange-600);margin-top:2px}
.coach-note p{margin:0;font-size:.82rem;color:#7A3A02;line-height:1.55}
.coach-note b{color:#5C2B01}

/* --- trust strip -------------------------------------------------------- */
.trust{border-bottom:1px solid var(--line);background:var(--white);padding-block:var(--sp-5)}
.trust__inner{display:flex;align-items:center;justify-content:center;gap:clamp(1rem,3vw,2.25rem);flex-wrap:wrap;text-align:center}
.trust__logo{height:46px;width:auto}
.trust__text{font-size:var(--fs-sm);color:var(--muted);max-width:46ch}
.trust__text b{color:var(--ink);font-weight:600}

/* --- generic cards / grids ---------------------------------------------- */
.grid{display:grid;gap:var(--sp-5)}
.grid--2{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.grid--3{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.grid--4{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);padding:var(--sp-5)}
.card--pad-lg{padding:var(--sp-6)}
.card--elevated{box-shadow:var(--shadow-md)}
.card__icon{
  display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;
  border-radius:var(--r-sm);background:var(--navy-050);color:var(--navy);margin-bottom:var(--sp-4);
}
.card__icon--orange{background:var(--orange-050);color:var(--orange-600)}
.card h3{margin-bottom:var(--sp-2)}
.card p:last-child{margin-bottom:0}

/* --- split (image + copy) ----------------------------------------------- */
.split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:clamp(2rem,4vw,3.5rem);align-items:center}
.split--reverse>*:first-child{order:2}
.figure{position:relative;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line)}
.figure img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.figure--tall img{aspect-ratio:3/4}
.figure__caption{
  position:absolute;left:0;right:0;bottom:0;padding:1.5rem 1.1rem .85rem;
  background:linear-gradient(180deg,transparent,rgba(7,21,83,.86));
  color:#fff;font-size:var(--fs-xs);
}

/* --- checklist ---------------------------------------------------------- */
.checklist{list-style:none;display:grid;gap:var(--sp-3)}
.checklist li{display:grid;grid-template-columns:auto 1fr;gap:.7rem;align-items:start;color:var(--muted);line-height:1.6}
.checklist .icon{color:var(--green);margin-top:3px}
.section--dark .checklist li{color:#E3D2D8}
.section--dark .checklist .icon{color:var(--orange)}

/* --- steps -------------------------------------------------------------- */
.steps{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:var(--sp-5);counter-reset:step;position:relative}
.step{position:relative;padding-top:var(--sp-6)}
.step::before{
  counter-increment:step;content:counter(step,decimal-leading-zero);
  position:absolute;top:0;left:0;font-family:var(--font-head);font-weight:800;
  font-size:.85rem;color:var(--navy);background:var(--white);
  border:1px solid var(--line-strong);border-radius:var(--r-sm);padding:.3rem .55rem;
}
.step::after{
  content:"";position:absolute;top:16px;left:52px;right:-1rem;height:1px;background:var(--line);
}
.step:last-child::after{display:none}
.step h3{font-size:1.05rem;margin-bottom:var(--sp-2)}
.step p{font-size:var(--fs-sm);margin:0}

/* --- feature rows (editorial) ------------------------------------------- */
.feature-row{
  display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,.9fr);gap:clamp(1rem,3vw,2.5rem);
  align-items:start;padding-block:var(--sp-6);border-top:1px solid var(--line);
}
.feature-row:last-child{border-bottom:1px solid var(--line)}
.feature-row__icon{
  display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;
  border-radius:var(--r-sm);background:var(--navy-050);color:var(--navy);
}
.feature-row h3{margin-bottom:var(--sp-2)}
.feature-row p{margin:0;font-size:var(--fs-sm)}
.feature-row__aside{
  border:1px solid var(--line);border-radius:var(--r-md);padding:var(--sp-4);background:var(--off-white);
}
.feature-row__aside h4{
  font-family:var(--font-head);font-size:var(--fs-xs);font-weight:800;letter-spacing:.06em;
  text-transform:uppercase;color:var(--muted);margin:0 0 .6rem;
}

/* --- before/after adaptation -------------------------------------------- */
.adapt{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:var(--sp-5);align-items:stretch}
.adapt__col{border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:var(--white);display:flex;flex-direction:column}
.adapt__head{padding:.85rem 1rem;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap}
.adapt__head h3{margin:0;font-size:.98rem}
.adapt__body{padding:1rem;flex:1}
.adapt__col--after{border-color:var(--navy);box-shadow:var(--shadow-md)}
.adapt__col--after .adapt__head{background:var(--navy-050)}
.adapt__arrow{display:flex;align-items:center;justify-content:center;color:var(--navy)}
.delta{font-size:var(--fs-xs);font-weight:700;font-family:var(--font-head);display:inline-flex;align-items:center;gap:.25rem}
.delta--up{color:var(--navy)}
.delta--down{color:var(--muted)}

/* --- programme cards ---------------------------------------------------- */
.prog-card{
  display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);
  border-radius:var(--r-lg);overflow:hidden;transition:border-color var(--t-fast),box-shadow var(--t-fast),transform var(--t-fast);
}
.prog-card:hover{border-color:var(--line-strong);box-shadow:var(--shadow-md);transform:translateY(-2px)}
.prog-card__top{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);padding:var(--sp-5) var(--sp-5) var(--sp-3)}
.prog-card__code{font-family:var(--font-head);font-size:1.5rem;font-weight:800;letter-spacing:-.03em;color:var(--navy)}
.prog-card__body{padding:var(--sp-4) var(--sp-5) var(--sp-5);display:flex;flex-direction:column;flex:1}
.prog-card__name{font-size:.98rem;font-weight:700;font-family:var(--font-head);line-height:1.4;margin-bottom:var(--sp-2)}
.prog-card__desc{font-size:var(--fs-sm);margin-bottom:var(--sp-4)}
.prog-card__meta{display:flex;flex-wrap:wrap;gap:var(--sp-2);margin-bottom:var(--sp-4);font-size:var(--fs-xs)}
.prog-card__for{
  font-size:var(--fs-xs);color:var(--muted);padding-top:var(--sp-3);margin-bottom:var(--sp-4);
  border-top:1px dashed var(--line);
}
.prog-card__for b{color:var(--ink);font-weight:600;display:block;margin-bottom:.15rem;font-family:var(--font-head)}
.prog-card .btn{margin-top:auto}
.body-badge{display:inline-flex;align-items:center;gap:.4rem;font-size:var(--fs-xs);font-weight:700;color:var(--muted);font-family:var(--font-head)}
.body-badge img{height:18px;width:auto;border-radius:3px}

/* --- pricing ------------------------------------------------------------ */
.price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:var(--sp-5);align-items:stretch}
.price-card{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);padding:var(--sp-6)}
.price-card--featured{border-color:var(--navy);box-shadow:var(--shadow-md);position:relative}
.price-card__flag{
  position:absolute;top:-11px;left:var(--sp-6);background:var(--navy);color:#fff;
  font-family:var(--font-head);font-size:.68rem;font-weight:800;letter-spacing:.08em;
  text-transform:uppercase;padding:.3rem .6rem;border-radius:var(--r-sm);
}
.price-card__name{font-family:var(--font-head);font-weight:700;font-size:1.05rem;margin-bottom:var(--sp-2)}
.price-card__amount{font-family:var(--font-head);font-size:2.1rem;font-weight:800;letter-spacing:-.03em;color:var(--navy);line-height:1.05}
.price-card__amount small{display:block;font-size:.78rem;font-weight:600;color:var(--muted);letter-spacing:0;margin-top:.25rem}
.price-card__list{list-style:none;display:grid;gap:.6rem;margin:var(--sp-5) 0;font-size:var(--fs-sm)}
.price-card__list li{display:grid;grid-template-columns:auto 1fr;gap:.6rem;align-items:start;color:var(--muted)}
.price-card__list .icon{color:var(--green);margin-top:3px}
.price-card .btn{margin-top:auto}
.price-note{display:flex;gap:.7rem;align-items:flex-start;padding:var(--sp-4);background:var(--off-white);border:1px solid var(--line);border-radius:var(--r-md);font-size:var(--fs-sm);color:var(--muted)}
.price-note .icon{color:var(--navy);margin-top:2px}

/* --- journey ------------------------------------------------------------ */
.journey{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;align-items:stretch}
.journey li{
  display:flex;align-items:center;gap:.5rem;padding:.6rem .85rem;background:var(--white);
  border:1px solid var(--line);border-radius:var(--r-sm);font-size:var(--fs-xs);font-weight:600;
  font-family:var(--font-head);color:var(--ink);
}
.journey li .icon{color:var(--navy)}
.section--dark .journey li{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.18);color:#fff}
.section--dark .journey li .icon{color:var(--orange)}

/* --- FAQ accordion ------------------------------------------------------ */
.faq{display:grid;gap:.75rem}
.faq__item{border:1px solid var(--line);border-radius:var(--r-md);background:var(--white);overflow:hidden}
.faq__item[open]{border-color:var(--line-strong)}
.faq__q{
  display:flex;align-items:center;justify-content:space-between;gap:var(--sp-4);width:100%;
  padding:1.05rem 1.15rem;background:transparent;border:0;cursor:pointer;text-align:left;
  font-family:var(--font-head);font-weight:700;font-size:1rem;color:var(--ink);min-height:56px;
}
.faq__q:hover{color:var(--navy)}
.faq__q::-webkit-details-marker{display:none}
.faq__q::marker{content:""}
.faq__q{list-style:none}
.faq__q .icon{color:var(--navy);transition:transform var(--t-base);flex:none}
.faq__item[open] .faq__q .icon{transform:rotate(180deg)}
.faq__a{padding:0 1.15rem 1.15rem;border-top:1px solid var(--line);padding-top:1rem}
.faq__a p:last-child{margin-bottom:0}
.faq__a{font-size:var(--fs-sm)}

/* --- forms -------------------------------------------------------------- */
.form-card{background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);padding:clamp(1.25rem,3vw,2.25rem)}
.fieldset{border:0;padding:0;margin:0 0 var(--sp-6)}
.fieldset:last-of-type{margin-bottom:0}
.fieldset__legend{
  display:flex;align-items:center;gap:.65rem;font-family:var(--font-head);font-weight:800;
  font-size:1.05rem;margin-bottom:var(--sp-4);padding:0;color:var(--ink);
}
.fieldset__num{
  display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:none;
  border-radius:var(--r-sm);background:var(--navy);color:#fff;font-size:.82rem;font-weight:800;
}
.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:var(--sp-4)}
.field{display:grid;gap:.4rem}
.field--full{grid-column:1/-1}
.field label{font-family:var(--font-head);font-size:var(--fs-sm);font-weight:700}
.field .req{color:var(--navy)}
.field input,.field select,.field textarea{
  width:100%;min-height:48px;padding:.7rem .85rem;font-size:16px;
  background:var(--white);border:1px solid var(--line-strong);border-radius:var(--r-sm);
  transition:border-color var(--t-fast),box-shadow var(--t-fast);
}
.field textarea{min-height:120px;resize:vertical;line-height:1.6}
.field input:hover,.field select:hover,.field textarea:hover{border-color:var(--muted)}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(10,31,127,.13);
}
.field__hint{font-size:var(--fs-xs);color:var(--muted)}
.field__error{font-size:var(--fs-xs);color:var(--navy);font-weight:600;display:flex;align-items:center;gap:.35rem}
.field--invalid input,.field--invalid select,.field--invalid textarea{border-color:var(--navy);background:var(--navy-050)}
.honeypot{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-privacy{display:flex;gap:.6rem;align-items:flex-start;font-size:var(--fs-xs);color:var(--muted);margin-top:var(--sp-4)}
.form-privacy .icon{color:var(--green);margin-top:2px}

/* --- notices ------------------------------------------------------------ */
.notice{display:flex;gap:.75rem;align-items:flex-start;padding:1rem 1.1rem;border-radius:var(--r-md);font-size:var(--fs-sm);margin-bottom:var(--sp-5);border:1px solid}
.notice .icon{margin-top:2px;flex:none}
.notice p{margin:0;color:inherit}
.notice--ok{background:var(--green-050);border-color:#B6DECB;color:#0B5C40}
.notice--warn{background:var(--orange-050);border-color:#FFD2AE;color:#7A3A02}
.notice--err{background:var(--navy-050);border-color:#EEC9D2;color:var(--navy)}

/* --- study demo --------------------------------------------------------- */
.demo{background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);padding:clamp(1.15rem,2.5vw,1.75rem);box-shadow:var(--shadow-sm)}
.demo__controls{display:grid;gap:var(--sp-4);margin-bottom:var(--sp-5)}
.demo__slider-top{display:flex;justify-content:space-between;align-items:baseline;gap:var(--sp-4);margin-bottom:.5rem}
.demo__slider-top b{font-family:var(--font-head);font-size:var(--fs-sm)}
.demo__hours{font-family:var(--font-head);font-weight:800;font-size:1.25rem;color:var(--navy);font-variant-numeric:tabular-nums}
input[type=range]{width:100%;accent-color:var(--navy);height:44px}
.demo__out{border-top:1px solid var(--line);padding-top:var(--sp-4);display:grid;gap:var(--sp-3)}
.demo__verdict{display:flex;gap:.65rem;align-items:flex-start;font-size:var(--fs-sm);color:var(--ink)}
.demo__verdict .icon{margin-top:3px}
.demo__verdict[data-tone=tight] .icon{color:var(--orange-600)}
.demo__verdict[data-tone=good] .icon{color:var(--green)}
.demo__split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:.6rem}
.demo__disclaimer{font-size:var(--fs-xs);color:var(--muted);display:flex;gap:.5rem;align-items:flex-start;margin-top:var(--sp-2)}

/* --- unit picker (enrolment) -------------------------------------------- */
.picker{border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden}
.picker__bar{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);padding:.75rem 1rem;background:var(--off-white);border-bottom:1px solid var(--line);flex-wrap:wrap}
.picker__all{display:flex;align-items:center;gap:.55rem;font-size:var(--fs-sm);font-weight:700;font-family:var(--font-head);cursor:pointer;min-height:44px}
.picker__count{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}
.picker__list{max-height:390px;overflow-y:auto}
.picker__section+.picker__section{border-top:1px solid var(--line)}
.picker__sec-head{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.6rem 1rem;background:var(--mist);flex-wrap:wrap}
.picker__sec-label{font-family:var(--font-head);font-size:var(--fs-xs);font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--navy)}
.picker__sec-btn{background:transparent;border:0;color:var(--orange-600);font-family:var(--font-head);font-size:var(--fs-xs);font-weight:700;cursor:pointer;padding:.4rem .5rem;border-radius:var(--r-sm);min-height:44px}
.picker__sec-btn:hover{background:var(--white)}
.unit{display:grid;grid-template-columns:auto auto 1fr;gap:.7rem;align-items:start;padding:.75rem 1rem;cursor:pointer;font-size:var(--fs-sm);line-height:1.5;border-bottom:1px solid var(--line);min-height:44px}
.unit:last-child{border-bottom:0}
.unit:hover{background:var(--off-white)}
.unit--on{background:var(--navy-050)}
.unit input{width:20px;height:20px;margin-top:2px;accent-color:var(--navy);flex:none}
.unit__code{font-family:var(--font-head);font-size:.7rem;font-weight:800;color:var(--navy);background:var(--white);border:1px solid var(--line);border-radius:5px;padding:.15rem .4rem;white-space:nowrap;margin-top:1px}
.unit--on .unit__code{border-color:var(--navy)}
.quote{border:1px solid var(--line-strong);border-radius:var(--r-md);overflow:hidden;margin-top:var(--sp-5)}
.quote__row{display:flex;align-items:baseline;justify-content:space-between;gap:var(--sp-4);padding:.85rem 1.1rem}
.quote__row+.quote__row{border-top:1px solid var(--line)}
.quote__row b{font-family:var(--font-head);font-size:var(--fs-sm)}
.quote__amount{font-family:var(--font-head);font-size:1.5rem;font-weight:800;color:var(--navy);letter-spacing:-.02em}
.quote__row--now{background:var(--off-white)}
.quote__row--now .quote__amount{font-size:1.2rem}
.plans{display:grid;gap:.55rem;padding:.85rem 1.1rem;border-top:1px solid var(--line);background:var(--white)}
.plans__label{font-family:var(--font-head);font-size:var(--fs-xs);font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.plan-opt{display:flex;align-items:center;gap:.65rem;padding:.75rem .85rem;border:1px solid var(--line);border-radius:var(--r-sm);cursor:pointer;font-size:var(--fs-sm);min-height:48px}
.plan-opt:hover{border-color:var(--line-strong)}
.plan-opt input{width:20px;height:20px;accent-color:var(--navy);flex:none}
.plan-opt--on{border-color:var(--navy);background:var(--navy-050)}
.plan-opt b{font-family:var(--font-head)}

/* --- curriculum overview ------------------------------------------------ */
.cur-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:var(--sp-5);align-items:start}
.cur-col{background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden}
.cur-col__head{padding:.9rem 1.1rem;font-family:var(--font-head);font-weight:800;font-size:var(--fs-sm);letter-spacing:.06em;text-transform:uppercase;color:var(--navy);background:var(--off-white);border-bottom:2px solid var(--navy)}
.cur-col--advanced .cur-col__head{color:var(--orange-600);border-bottom-color:var(--orange)}
.cur-sec{padding:.5rem 0}
.cur-sec+.cur-sec{border-top:1px solid var(--line)}
.cur-sec__head{display:flex;justify-content:space-between;gap:.6rem;align-items:center;padding:.5rem 1.1rem;flex-wrap:wrap}
.cur-sec__label{font-family:var(--font-head);font-size:.68rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.cur-sec__fee{font-size:var(--fs-xs);font-weight:700;color:var(--orange-600)}
.cur-unit{display:grid;grid-template-columns:auto 1fr;gap:.65rem;align-items:baseline;padding:.5rem 1.1rem;font-size:var(--fs-sm)}
.cur-unit__code{font-family:var(--font-head);font-size:.68rem;font-weight:800;color:var(--navy);background:var(--navy-050);border-radius:5px;padding:.15rem .4rem;white-space:nowrap}

/* --- programme detail --------------------------------------------------- */
.page-head{background:var(--off-white);border-bottom:1px solid var(--line);padding-block:var(--sp-7)}
.crumbs{font-size:var(--fs-xs);color:var(--muted);margin-bottom:var(--sp-4)}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
.crumbs a:hover{color:var(--navy);text-decoration:underline}
.crumbs [aria-current=page]{color:var(--ink);font-weight:600}
.detail-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.6fr);gap:clamp(2rem,4vw,3.5rem);align-items:start}
.detail-main h2{font-size:1.5rem;margin-top:var(--sp-7)}
.detail-main>h2:first-child{margin-top:0}
.aside-sticky{position:sticky;top:96px;display:grid;gap:var(--sp-4)}
.fact-list{display:grid;border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden}
.fact-list div{display:grid;grid-template-columns:40% 60%;gap:.75rem;padding:.8rem 1rem;font-size:var(--fs-sm);border-bottom:1px solid var(--line)}
.fact-list div:last-child{border-bottom:0}
.fact-list dt,.fact-list b{color:var(--muted);font-weight:600}
.fact-list dd{margin:0}

/* --- footer ------------------------------------------------------------- */
.site-footer{background:var(--navy-900);color:#fff;padding-block:var(--sp-8) var(--sp-5)}
.site-footer h2,.site-footer h3{color:#fff}
.site-footer p,.site-footer a{color:#D9C6CC;font-size:var(--fs-sm)}
.site-footer a:hover{color:var(--orange);text-decoration:underline}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(auto-fit,minmax(140px,1fr));gap:var(--sp-6)}
/* The footer has room for the whole lockup — mark, wordmark and tagline — with
   only the file's surrounding whitespace trimmed (content is x62-1468, y20-992). */
.footer-brand{background:#fff;border-radius:var(--r-md);padding:.7rem .85rem;display:inline-block;margin-bottom:var(--sp-4)}
.footer-brand__crop{display:block;height:82px;aspect-ratio:1406/972;overflow:hidden;position:relative}
.footer-brand__crop img{position:absolute;width:109.2%;max-width:none;left:-4.4%;top:-2.1%;height:auto}
.footer-col h3{font-family:var(--font-head);font-size:var(--fs-sm);font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#fff;margin-bottom:var(--sp-4)}
.footer-list{list-style:none;display:grid;gap:.6rem}
.footer-list a{display:inline-flex;align-items:center;gap:.45rem;min-height:32px}
.footer-bottom{margin-top:var(--sp-7);padding-top:var(--sp-5);border-top:1px solid rgba(255,255,255,.14);display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--sp-4);font-size:var(--fs-xs);color:#B49AA2}

/* --- floating whatsapp -------------------------------------------------- */
.fab{
  position:fixed;right:1.1rem;bottom:1.1rem;z-index:90;display:inline-flex;align-items:center;gap:.5rem;
  min-height:52px;padding:.8rem 1.1rem;border-radius:var(--r-pill);background:#128C7E;color:#fff;
  font-family:var(--font-head);font-weight:700;font-size:var(--fs-sm);box-shadow:var(--shadow-lg);
}
.fab:hover{background:#0F7266}
.fab .icon{width:22px;height:22px}
@media(max-width:520px){.fab span{display:none}.fab{padding:.85rem;min-width:52px;justify-content:center}}

/* --- reveal ------------------------------------------------------------- */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .55s ease,transform .55s ease}
.reveal.is-visible{opacity:1;transform:none}
.no-js .reveal{opacity:1;transform:none}

/* --- responsive --------------------------------------------------------- */
@media(max-width:1024px){
  .hero__grid{grid-template-columns:1fr;gap:var(--sp-7)}
  .detail-grid{grid-template-columns:1fr}
  .aside-sticky{position:static}
  .feature-row{grid-template-columns:auto minmax(0,1fr)}
  .feature-row__aside{grid-column:1/-1}
  .step::after{display:none}
}
@media(max-width:860px){
  .nav__list,.nav>.btn{display:none}
  .nav__toggle{display:inline-flex}
  .footer-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}
}
@media(max-width:600px){
  .preview__stats{grid-template-columns:1fr 1fr}
  .fact-list div{grid-template-columns:1fr;gap:.2rem}
  .split--reverse>*:first-child{order:0}
  .quote__row{flex-wrap:wrap}
}
@media(max-width:380px){
  .preview__stats{grid-template-columns:1fr}
  .btn{width:100%}
  .btn-row{flex-direction:column}
}

/* --- motion / print ----------------------------------------------------- */
@media(prefers-reduced-motion:reduce){
  html:focus-within{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .reveal{opacity:1;transform:none}
}
@media print{
  .site-header,.site-footer,.fab,.mobile-panel{display:none}
  body{color:#000}
}

/* ==========================================================================
   Programme, fee and strip surfaces
   These were the Vantage brown/gold set; they now use the StudyGenius brand
   tokens so the whole site reads as one identity. Navy carries navigation and
   actions, orange stays an accent.
   ========================================================================== */
:root{
  --navy:#0A1F7F;
  --navy-700:#0D2A9E;
  --orange:#FD6A02;
  --orange-200:#FF9A4D;
  --navy-900:#071553;
  --muted:#5B6478;
  --off-white:#F6F8FD;
}

/* --- available programmes strip ---------------------------------------- */
.progstrip{position:relative;background:var(--navy-900);border-radius:var(--r-lg);overflow:hidden}
.progstrip__track{
  display:flex;gap:0;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x proximity;
  -ms-overflow-style:none;scrollbar-width:none;padding:0 3rem;
}
.progstrip__track::-webkit-scrollbar{display:none}
.progstrip__item{
  flex:1 0 auto;min-width:150px;scroll-snap-align:center;
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:.65rem;
  padding:1.6rem .9rem 1.5rem;color:#EDF1FA;text-align:center;
  border-right:1px solid rgba(255,255,255,.08);transition:background var(--t-fast),color var(--t-fast);
  min-height:132px;
}
.progstrip__item:last-child{border-right:0}
.progstrip__item:hover,.progstrip__item:focus-visible{background:rgba(253,106,2,.14);color:#fff}
.progstrip__item[aria-current=page]{background:rgba(253,106,2,.2)}
.progstrip__icon{
  display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;
  color:var(--orange-200);
}
.progstrip__icon .icon{width:32px;height:32px;stroke-width:1.6}
.progstrip__item:hover .progstrip__icon{color:#fff}
.progstrip__label{font-family:var(--font-head);font-weight:700;font-size:.86rem;line-height:1.25}
.progstrip__sub{font-size:.7rem;color:#C9B9A8;font-weight:500}
.progstrip__nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:2;
  width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.25);
  background:rgba(44,24,16,.85);color:#fff;display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:background var(--t-fast),opacity var(--t-fast);
}
.progstrip__nav:hover{background:var(--navy)}
.progstrip__nav[disabled]{opacity:.3;cursor:default}
/* Both buttons reuse chevron-right; flip the previous one. */
.progstrip__nav--prev .icon{transform:rotate(180deg)}
.progstrip__nav--prev{left:.5rem}
.progstrip__nav--next{right:.5rem}
@media(max-width:600px){
  .progstrip__track{padding:0 2.6rem}
  .progstrip__item{min-width:128px;padding:1.3rem .6rem}
}

/* --- Vantage-format fee options ---------------------------------------- */
.fee-options{display:flex;flex-direction:column;gap:.75rem}
.fee-option{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1rem 1.15rem;border:1.5px solid rgba(253,106,2,.28);border-radius:14px;
  background:var(--white);
  transition:transform var(--t-fast),box-shadow var(--t-fast),border-color var(--t-fast);
}
.fee-option:hover{transform:translateY(-2px);border-color:rgba(253,106,2,.55);box-shadow:0 6px 18px rgba(10,31,127,.1)}
.fee-option--highlight{background:linear-gradient(135deg,rgba(255,154,77,.16),rgba(253,106,2,.06));border-color:rgba(253,106,2,.5)}
.fee-option-info{display:flex;flex-direction:column;gap:.15rem}
.fee-option-label{font-family:var(--font-head);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:var(--navy)}
.fee-option-sub{font-size:.78rem;color:var(--muted);font-weight:500}
.fee-option-amount{font-family:var(--font-head);font-size:1.5rem;font-weight:800;color:var(--orange);white-space:nowrap;line-height:1}
.fee-option-amount .fee-cur{font-size:.82rem;font-weight:700;color:var(--navy);vertical-align:.4em;margin-right:.1rem}

/* --- programme cards in Vantage brown/gold ------------------------------ */
.prog-card__code{color:var(--navy)}
.prog-card:hover{border-color:rgba(253,106,2,.5);box-shadow:0 12px 32px rgba(10,31,127,.13)}
.prog-card__top{border-bottom:1px solid var(--line)}
.prog-card__badge{
  font-family:var(--font-head);font-size:.66rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;
  color:var(--navy);background:linear-gradient(135deg,rgba(255,154,77,.22),rgba(253,106,2,.1));
  border:1px solid rgba(253,106,2,.35);border-radius:var(--r-sm);padding:.28rem .55rem;white-space:nowrap;
}
.detail-row{display:grid;grid-template-columns:auto 1fr;gap:.65rem;align-items:start;padding:.5rem 0;font-size:var(--fs-xs)}
.detail-row .icon{color:var(--orange);margin-top:2px}
.detail-row__label{display:block;font-weight:700;color:var(--navy);font-family:var(--font-head);
  font-size:.66rem;letter-spacing:.07em;text-transform:uppercase}
.detail-row__value{color:var(--muted);line-height:1.5}

/* --- tabs --------------------------------------------------------------- */
.tabs{display:flex;flex-wrap:wrap;gap:.5rem;border-bottom:1px solid var(--line);padding-bottom:0}
.tab{
  display:inline-flex;align-items:center;gap:.45rem;padding:.7rem 1.1rem;min-height:44px;
  font-family:var(--font-head);font-weight:700;font-size:var(--fs-sm);color:var(--muted);
  border:1px solid transparent;border-bottom:3px solid transparent;border-radius:var(--r-sm) var(--r-sm) 0 0;
  transition:color var(--t-fast),border-color var(--t-fast),background var(--t-fast);
}
.tab:hover{color:var(--navy);background:var(--off-white)}
.tab[aria-current=page],.tab--active{color:var(--navy);border-bottom-color:var(--orange);background:var(--off-white)}

/* --- hero visual (supplied artwork) ------------------------------------- */
.hero__visual{margin:0;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow-lg);background:var(--white)}
.hero__visual img{width:100%;height:auto;display:block}
.hero__kicker{
  font-family:var(--font-head);font-weight:700;font-size:var(--fs-sm);color:var(--navy);
  margin:calc(var(--sp-4) * -1) 0 var(--sp-6);
}
@media(max-width:1024px){.hero__visual{max-width:560px;margin-inline:auto}}
.prog-card__details{display:grid;gap:.15rem;padding:var(--sp-3) 0;border-top:1px solid var(--line);margin-bottom:var(--sp-4)}
.prog-card__fee{
  display:flex;align-items:center;justify-content:space-between;gap:.75rem;
  padding:.85rem 1rem;margin-bottom:var(--sp-4);border-radius:var(--r-md);
  background:linear-gradient(135deg,rgba(255,154,77,.16),rgba(253,106,2,.06));
  border:1.5px solid rgba(253,106,2,.35);
}
.prog-card__fee-unit{font-size:.72rem;font-weight:600;color:var(--muted);letter-spacing:0;margin-left:.2rem}

/* --- five programmes across ---------------------------------------------
   A 1200px container leaves ~208px per card at five across, which is too tight
   for the detail rows. The programmes grid gets a wider container, a smaller
   gap and a compact card, stepping down cleanly below 1180px. */
.container--wide{max-width:1340px}
.grid--programmes{display:grid;gap:1rem;grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1180px){.grid--programmes{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sp-5)}}
@media(max-width:860px){.grid--programmes{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.grid--programmes{grid-template-columns:1fr}}

.prog-card--compact .prog-card__top{padding:var(--sp-4) var(--sp-4) .6rem;gap:.5rem}
.prog-card--compact .prog-card__body{padding:.75rem var(--sp-4) var(--sp-4)}
.prog-card--compact .prog-card__code{font-size:1.22rem}
.prog-card--compact .prog-card__badge{font-size:.58rem;padding:.22rem .4rem;letter-spacing:.06em}
.prog-card--compact .prog-card__name{font-size:.88rem;line-height:1.42;margin-bottom:.35rem;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.prog-card--compact .prog-card__desc{font-size:.79rem;line-height:1.5;margin-bottom:.7rem;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.prog-card--compact .prog-card__meta{gap:.35rem;margin-bottom:.7rem}
.prog-card--compact .prog-card__meta .tag{font-size:.68rem;padding:.24rem .48rem;gap:.25rem}
.prog-card--compact .prog-card__details{padding:.6rem 0;margin-bottom:.7rem;gap:.35rem}
.prog-card--compact .detail-row{gap:.45rem;padding:0;font-size:.72rem}
.prog-card--compact .detail-row__label{font-size:.6rem;letter-spacing:.05em}
.prog-card--compact .detail-row__value{font-size:.73rem;line-height:1.45;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.prog-card--compact .prog-card__fee{padding:.6rem .7rem;margin-bottom:.7rem}
.prog-card--compact .fee-option-amount{font-size:1.12rem}
.prog-card--compact .prog-card__fee-unit{font-size:.64rem}
.prog-card--compact .btn{min-height:42px;padding:.55rem .7rem;font-size:.76rem;gap:.3rem}

/* --- footer ownership (was a homepage trust strip) ---------------------- */
.footer-owner{
  display:flex;align-items:center;gap:1rem;flex-wrap:wrap;
  margin-top:var(--sp-5);padding-top:var(--sp-5);border-top:1px solid rgba(255,255,255,.14);
}
.footer-owner__logo{background:#fff;border-radius:var(--r-sm);padding:.5rem .6rem;flex:none;line-height:0}
.footer-owner__logo img{height:38px;width:auto}
.footer-owner__text{margin:0;max-width:38ch;font-size:var(--fs-xs);line-height:1.6}
.footer-owner__text b{color:#fff;font-weight:600}

/* ==========================================================================
   Graduation-cap cursor + navigation trail
   Only on devices that actually have a pointer: a custom cursor is meaningless
   on touch, and the trail would just burn battery.
   ========================================================================== */
@media (hover:hover) and (pointer:fine){
  body{cursor:url("../img/cursor-cap.png") 4 10,auto}
  /* Interactive things get the darker cap, so the "this is clickable" signal
     the default pointer normally carries is not lost. */
  a,button,summary,label,select,[role="button"],[tabindex]:not([tabindex="-1"]),
  .tab,.faq__q,.unit,.plan-opt,.picker__all,.progstrip__item{
    cursor:url("../img/cursor-cap-active.png") 4 10,pointer;
  }
  /* Never take the text caret away — it tells people a field is editable. */
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]),
  textarea{cursor:text}
  input[type="range"]{cursor:ew-resize}
  input[type="checkbox"],input[type="radio"]{cursor:url("../img/cursor-cap-active.png") 4 10,pointer}
  [disabled],[aria-disabled="true"]{cursor:not-allowed}
  ::selection{cursor:auto}
}

/* The trail canvas never intercepts input. */
.sg-trail{
  position:fixed;inset:0;width:100%;height:100%;
  pointer-events:none;z-index:9998;
}
@media (prefers-reduced-motion:reduce){.sg-trail{display:none}}
.btn--accent-outline{background:#fff;color:var(--orange-600);border-color:var(--orange)}
.btn--accent-outline:hover{background:var(--orange-050);border-color:var(--orange-600)}

/* --- programme quick-look modal ----------------------------------------- */
.pm{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:var(--gutter)}
.pm[hidden]{display:none!important}
.pm__backdrop{position:absolute;inset:0;background:rgba(7,21,83,.55);backdrop-filter:blur(3px)}
.pm__panel{
  position:relative;width:min(560px,100%);max-height:88vh;overflow-y:auto;
  background:#fff;border-radius:var(--r-lg);box-shadow:var(--shadow-lg);
  padding:clamp(1.3rem,3vw,2rem);
}
.pm__x{
  position:absolute;top:.8rem;right:.8rem;width:38px;height:38px;border-radius:50%;
  border:1px solid var(--line);background:#fff;color:var(--muted);display:grid;place-items:center;cursor:pointer;
}
.pm__x:hover{background:var(--off-white);color:var(--navy)}
.pm__eyebrow{
  font-family:var(--font-head);font-size:.72rem;font-weight:800;letter-spacing:.12em;
  text-transform:uppercase;color:var(--orange-600);margin:0 0 .35rem;
}
.pm__title{font-size:1.4rem;margin:0 0 .6rem;padding-right:2.5rem}
.pm__blurb{font-size:var(--fs-sm);margin:0 0 var(--sp-4)}
.pm__facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.6rem;margin:0 0 var(--sp-4)}
.pm__fact{background:var(--off-white);border:1px solid var(--line);border-radius:var(--r-md);padding:.6rem .7rem}
.pm__fact dt{font-size:.65rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-family:var(--font-head)}
.pm__fact dd{margin:.15rem 0 0;font-family:var(--font-head);font-weight:700;font-size:.95rem;color:var(--navy)}
.pm__who h3{font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 .5rem}
.pm__who ul{list-style:none;display:grid;gap:.4rem;margin:0 0 var(--sp-4);padding:0}
.pm__who li{display:grid;grid-template-columns:auto 1fr;gap:.5rem;font-size:var(--fs-sm);color:var(--muted);line-height:1.5}
.pm__who li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--orange);margin-top:.5rem}
.pm__entry{font-size:var(--fs-xs);color:var(--muted);background:var(--off-white);border:1px solid var(--line);
  border-radius:var(--r-md);padding:.7rem .8rem;margin:0 0 var(--sp-4);line-height:1.55}
.pm__actions{display:flex;flex-wrap:wrap;gap:.6rem}
.pm__actions .btn{flex:1 1 190px}
.btn--wa{background:#128C7E;color:#fff}
.btn--wa:hover{background:#0F7266}
.progstrip__item--other .progstrip__icon{color:#5EE6A8}
body.pm-open{overflow:hidden}
.prog-card--other{border-style:dashed;border-color:var(--line-strong);background:var(--off-white)}
.prog-card--other .prog-card__code{color:var(--green);display:flex;align-items:center}
.prog-card--other:hover{border-color:var(--orange);border-style:solid}

/* Examining-body marks in the programme strip: white tile so each logo keeps
   its own colours against the navy, and every mark reads at the same size. */
.progstrip__icon--logo{
  width:46px;height:46px;border-radius:10px;background:#fff;padding:4px;
  box-shadow:0 2px 8px rgba(7,21,83,.28);
}
.progstrip__icon--logo img{width:100%;height:100%;object-fit:contain;display:block}
.progstrip__item:hover .progstrip__icon--logo{box-shadow:0 4px 14px rgba(253,106,2,.4)}
.tag__logo{width:16px;height:16px;object-fit:contain;border-radius:3px}
.pm__head{display:flex;align-items:center;gap:.7rem;margin-bottom:.35rem}
.pm__logo{width:52px;height:52px;object-fit:contain;background:#fff;border:1px solid var(--line);
  border-radius:10px;padding:5px;flex:none}
.pm__head .pm__eyebrow{margin:0}
.pm__pricing{border:1px solid var(--line);border-radius:var(--r-md);padding:.8rem .9rem;margin-bottom:var(--sp-4);background:var(--off-white)}
.pm__pricing h3{font-family:var(--font-head);font-size:.68rem;font-weight:800;letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted);margin:0 0 .55rem}
.pm__pricing ul{list-style:none;display:grid;gap:.4rem;margin:0;padding:0}
.pm__pricing li{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;font-size:var(--fs-sm)}
.pm__pricing li span{color:var(--muted)}
.pm__pricing li b{font-family:var(--font-head);font-weight:800;color:var(--navy);white-space:nowrap}
.pm__pricing li:first-child b{color:var(--orange-600)}
.pm__pricing-note{font-size:var(--fs-xs);color:var(--muted);margin:.6rem 0 0;line-height:1.5}
