/* ==========================================================================
   Elluminate — shared stylesheet  ·  "IBTE-grade" modern system
   Indigo/purple accent · light-grey backdrop · white rounded sheet ·
   big rounded cards · Plus Jakarta Sans · generous whitespace.
   Sections:  1. Tokens  2. Reset/base  3. Typography  4. Layout/sheet
              5. Header/nav  6. Buttons  7. Cards/components  8. Progress track
              9. Page sections  10. Footer  11. Mobile WhatsApp bar
             12. Motion/reveal  13. Responsive  14. Accessibility
             15. Intro preloader  16. Scroll spell-out
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* brand — indigo/purple */
  --brand:        #4C2CE2;
  --brand-hover:  #5B3FEE;
  --brand-strong: #3A1CC0;
  --brand-soft:   #ECE8FD;   /* light tint for icon chips / soft cards */
  --brand-ink:    #1a1140;   /* deep indigo for dark cards */

  /* neutrals */
  --ink:     #17141f;        /* near-black headings */
  --body:    #423e4e;        /* body text */
  --slate:   #6e6b7b;        /* muted / secondary */
  --bg:      #e7e6ec;        /* page grey backdrop */
  --white:   #ffffff;
  --soft:    #f4f3f8;        /* subtle fill */
  --line:    #eae8f1;        /* hairlines */
  --line-ink: rgba(255,255,255,.14);

  /* functional */
  --green: #1fa85c; --green-dark: #17864a;   /* WhatsApp */
  --amber: #E0A039; --amber-deep: #C1811F;   /* editorial TBC markers / logo pop */

  /* backward-compat aliases (kept so existing inline styles still resolve) */
  --paper: var(--white);
  --paper-2: var(--soft);

  /* type */
  --sans:  "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: var(--sans);      /* headings share the family now */
  --mono:  var(--sans);

  /* scale */
  --step--1: clamp(.82rem, .79rem + .14vw, .92rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.09rem);
  --step-1:  clamp(1.18rem, 1.1rem + .38vw, 1.42rem);
  --step-2:  clamp(1.4rem, 1.25rem + .7vw, 1.9rem);
  --step-3:  clamp(1.85rem, 1.5rem + 1.6vw, 3rem);
  --step-4:  clamp(2.35rem, 1.8rem + 2.8vw, 4.3rem);

  /* space + shape */
  --gut: clamp(1.1rem, 3vw, 2rem);
  --maxw: 1160px;
  --sheetw: 1300px;
  --radius: 22px;
  --radius-lg: 30px;
  --radius-sm: 14px;
  --pill: 999px;
  --shadow: 0 1px 2px rgba(23,20,31,.04), 0 14px 30px -20px rgba(23,20,31,.22);
  --shadow-lift: 0 10px 24px -10px rgba(23,20,31,.12), 0 34px 60px -30px rgba(76,44,226,.30);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* 2. RESET / BASE ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; }
li { list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* 3. TYPOGRAPHY ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.015em; }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

/* pill "eyebrow" chip (replaces the old mono grade-stamp) */
.stamp {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: -.01em;
  color: var(--brand); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--pill);
  padding: .42rem .85rem; box-shadow: var(--shadow);
}
.stamp::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--brand); }
.stamp--plain::before { display: none; }
.on-ink .stamp { background: rgba(255,255,255,.1); border-color: var(--line-ink); color: #fff; box-shadow: none; }
.on-ink .stamp::before { background: #C9B8FF; }

.lede { font-size: var(--step-1); color: var(--slate); line-height: 1.5; max-width: 48ch; font-weight: 500; }
.on-ink { color: #eae7f4; }
.on-ink h1, .on-ink h2, .on-ink h3 { color: #fff; }
.on-ink .lede { color: #cfc9e6; }

/* 4. LAYOUT / WHITE SHEET -------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(3rem, 6.5vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 4.5vw, 3.5rem); }
.section-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head .stamp { margin-bottom: 1.1rem; }
.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.5rem); }
.center { text-align: center; margin-inline: auto; }

/* the main content lives on a floating white rounded sheet over the grey bg */
main {
  display: block; max-width: var(--sheetw); margin: 14px auto;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: clip;
  padding: clamp(10px, 1.4vw, 16px);
}

.skip {
  position: absolute; left: -999px; top: 0; z-index: 1200;
  background: var(--brand); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip:focus { left: 0; }

/* 5. HEADER / NAV (floating white pill) ------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 100; padding: 14px var(--gut) 0; }
.nav {
  position: relative; display: flex; align-items: center; gap: 1rem;
  max-width: var(--sheetw); margin-inline: auto;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); padding: .5rem .55rem .5rem 1.1rem; min-height: 62px;
  transition: box-shadow .25s;
}
.site-header.is-scrolled .nav { box-shadow: 0 8px 30px -14px rgba(23,20,31,.28); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 32px; height: 32px; flex: none; border-radius: 8px; }
.brand__name { font-family: var(--sans); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.brand__name b { color: var(--brand); font-weight: 800; }
.brand__logo { height: 34px; width: auto; }
@media (max-width: 420px) { .brand__logo { height: 29px; } }
/* white logo on dark backgrounds (footer) — transparent PNG/WebP recoloured */
.brand__logo--light { filter: brightness(0) invert(1); opacity: .95; }

.nav__links { display: flex; align-items: center; gap: .15rem; }
.nav__links a {
  display: block; text-decoration: none; color: var(--body); font-weight: 600; font-size: .95rem;
  padding: .5rem .75rem; border-radius: 10px; transition: background .2s, color .2s;
}
.nav__links a:hover { background: var(--soft); color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.nav__cta { margin-left: .4rem; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--white); border-radius: 12px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav__toggle span { position: relative; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after  { transform: translateY(6px); }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg); }

/* 6. BUTTONS --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 700; font-size: .95rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  padding: .78rem 1.3rem; border-radius: var(--radius-sm); min-height: 46px;
  transition: transform .18s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--amber { background: var(--brand); color: #fff; box-shadow: 0 12px 24px -12px rgba(76,44,226,.8); }   /* primary */
.btn--amber:hover { background: var(--brand-hover); color: #fff; }
.btn--wa { background: var(--green); color: #fff; box-shadow: 0 12px 24px -12px rgba(31,168,92,.7); }
.btn--wa:hover { background: var(--green-dark); }
.btn--ghost { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-ink .btn--ghost, .hero .btn--ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); color: #fff; }
.on-ink .btn--ghost:hover, .hero .btn--ghost:hover { background: #fff; color: var(--brand); border-color: #fff; }
.btn__icon { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* 7. CARDS / COMPONENTS ---------------------------------------------------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.75rem); box-shadow: var(--shadow);
  transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
  position: relative;
}
a.card, .card--link { text-decoration: none; color: inherit; display: block; }
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: transparent; }

/* subject card — purple badge icon + "learn more" affordance */
.subject-card h3 { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .5rem; }
.subject-card h3::before {
  content: ""; order: -1; width: 34px; height: 34px; flex: none; border-radius: 10px;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234C2CE2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.subject-card h3 { padding-left: 0; }
.subject-card h3 span:not(.subject-card__tag) { flex: 1; }
.subject-card__tag {
  font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .01em;
  color: var(--brand); background: var(--brand-soft); padding: .28rem .6rem; border-radius: var(--pill); white-space: nowrap;
}
.subject-card p { color: var(--slate); font-size: var(--step--1); }
.subject-card__list { margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: 0;
  background: var(--soft); color: var(--body); padding: .3rem .65rem; border-radius: var(--pill); border: 1px solid var(--line);
}
/* "Learn more" arrow footer for linkable subject cards */
a.subject-card::after {
  content: "Learn more \2192"; display: inline-block; margin-top: 1rem;
  font-weight: 700; font-size: .88rem; color: var(--brand);
  transition: transform .2s var(--ease);
}
a.subject-card:hover::after { transform: translateX(4px); }

/* real brand photos (used sparingly) — placeholder shows until the file exists */
.photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: linear-gradient(140deg, var(--brand-soft), #e7e9fb); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.photo__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .5rem; text-align: center; padding: 1.2rem; color: var(--brand); font-weight: 700; font-size: .82rem; line-height: 1.4; }
.photo__ph svg { width: 30px; height: 30px; opacity: .55; }
.photo__ph small { font-weight: 600; opacity: .8; font-size: .95em; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--wide { aspect-ratio: 16 / 10; }
.on-ink .photo { border: 1px solid var(--line-ink); box-shadow: 0 24px 55px -26px rgba(0,0,0,.55); }

/* level heading block */
.level-band { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-bottom: .9rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.level-band h2 { margin: 0; }
.level-band .count { font-family: var(--sans); font-weight: 600; font-size: .82rem; color: var(--slate); margin-left: auto; }

/* feature items (why band) */
.feature { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.feature__num { font-family: var(--sans); font-weight: 700; font-size: .85rem; color: #C9B8FF; border: 1px solid var(--line-ink); border-radius: 10px; padding: .45rem .6rem; line-height: 1; align-self: start; }
.feature h3 { margin-bottom: .3rem; }
.feature p { color: #cfc9e6; margin: 0; }

/* testimonial card */
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow); position: relative; }
.quote::before { content: "\201C"; font-family: var(--serif); font-weight: 800; font-size: 4.5rem; line-height: 1; color: var(--brand); opacity: .28; position: absolute; top: .5rem; right: 1.1rem; }
.quote p { font-family: var(--sans); font-weight: 600; font-size: var(--step-1); line-height: 1.45; color: var(--ink); letter-spacing: -.01em; }
.quote__meta { display: flex; align-items: center; gap: .8rem; margin-top: 1.3rem; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-family: var(--sans); font-weight: 800; font-size: 1.15rem; }
.quote__name { font-weight: 700; font-size: .95rem; color: var(--ink); }
.quote__role { font-size: .82rem; color: var(--slate); }
/* titled, longer real testimonials */
.quote__title { font-size: var(--step-1); margin: 0 0 .7rem; padding-right: 2.5rem; color: var(--ink); }
.quote--full p { font-family: var(--sans); font-weight: 500; font-size: 1rem; line-height: 1.62; color: var(--body); }
.quote--full::before { font-size: 3.5rem; top: .2rem; }

/* "stacking cards" deal-in for Student Stories (JS-driven; hidden only when JS is on) */
.js-deck { position: relative; }
.js .js-deck .quote { opacity: 0; }
/* packed preview: a fanned pile of title-only cards, shown before the unveil */
.js-deck.is-packed { position: relative; min-height: 9.5rem; }
.js-deck.is-packed .quote { position: absolute; top: 0; left: 0; right: 0; }
.js-deck .quote { will-change: transform, opacity; backface-visibility: hidden; }
/* collapsed = title only (during the shuffle), then opens to the full card */
.js-deck .quote.is-collapsed { max-height: 7rem; overflow: hidden; }
.js-deck .quote.is-collapsed p,
.js-deck .quote.is-collapsed .quote__meta { opacity: 0; }
.js-deck .quote.is-open p,
.js-deck .quote.is-open .quote__meta { transition: opacity .5s var(--ease) .12s; }
@media (prefers-reduced-motion: reduce) { .js .js-deck .quote { opacity: 1 !important; transform: none !important; max-height: none !important; } .js-deck .quote.is-collapsed p, .js-deck .quote.is-collapsed .quote__meta { opacity: 1 !important; } }

/* placeholder marker */
.tbc { display: inline-block; font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--amber-deep); background: #fbf1dc; border: 1px dashed var(--amber); border-radius: 7px; padding: .14rem .5rem; margin-left: .4rem; vertical-align: middle; }

/* 8. PROGRESS TRACK -------------------------------------------------------- */
.track { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow-lift); position: relative; overflow: hidden; }
.track__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.track__head p { margin: 0; color: var(--slate); font-size: var(--step--1); font-weight: 500; }
.track__rail { position: relative; }
.track__line { position: absolute; left: 0; right: 0; top: 15px; height: 4px; background: var(--soft); border-radius: 4px; overflow: hidden; }
.track__fill { position: absolute; inset: 0; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-hover)); transition: width 1.4s var(--ease); }
.is-revealed .track__fill { width: 100%; }
.track__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; position: relative; }
.track__step { text-align: center; }
.track__dot { width: 34px; height: 34px; margin: 0 auto .8rem; border-radius: 50%; background: var(--white); border: 3px solid var(--soft); display: grid; place-items: center; font-family: var(--sans); font-size: .82rem; font-weight: 700; color: var(--slate); position: relative; z-index: 1; transition: border-color .4s var(--ease), color .4s, background .4s, transform .4s var(--ease); }
.is-revealed .track__step .track__dot { animation: pop .5s var(--ease) backwards; }
.is-revealed .track__step:nth-child(1) .track__dot { border-color: var(--brand); color: var(--brand); animation-delay: .1s; }
.is-revealed .track__step:nth-child(2) .track__dot { border-color: var(--brand); color: var(--brand); animation-delay: .45s; }
.is-revealed .track__step:nth-child(3) .track__dot { border-color: var(--brand); color: var(--brand); animation-delay: .8s; }
.is-revealed .track__step:nth-child(4) .track__dot { border-color: var(--brand); background: var(--brand); color: #fff; animation-delay: 1.15s; }
.track__label { font-weight: 700; font-size: .95rem; margin-bottom: .15rem; color: var(--ink); }
.track__sub { font-size: .78rem; color: var(--slate); line-height: 1.35; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* mini track motif */
.track-mini { display: inline-flex; align-items: center; gap: 0; }
.track-mini i { width: 8px; height: 8px; border-radius: 50%; background: var(--soft); border: 2px solid var(--brand); display: inline-block; }
.track-mini i:last-child { background: var(--brand); }
.track-mini b { width: 26px; height: 2px; background: var(--brand); display: inline-block; opacity: .4; }
.on-ink .track-mini i { background: transparent; border-color: #C9B8FF; }
.on-ink .track-mini i:last-child { background: #C9B8FF; }
.on-ink .track-mini b { background: #C9B8FF; }

/* 9. PAGE SECTIONS --------------------------------------------------------- */
/* hero — big purple gradient card inside the sheet */
.hero { position: relative; color: #fff; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(135deg, #3a1cc0 0%, #4c2ce2 48%, #6a4bf0 100%); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(120% 100% at 85% 0%, #000 25%, transparent 72%);
          mask-image: radial-gradient(120% 100% at 85% 0%, #000 25%, transparent 72%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(2.75rem, 6vw, 5rem); display: grid; gap: clamp(2rem,5vw,3rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: #C9B8FF; }
.hero .lede { color: #ddd6f5; }
.hero__tag { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.hero__tag span { display: inline-flex; align-items: center; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22); color: #fff; font-weight: 600; font-size: .8rem; letter-spacing: 0; padding: .42rem .85rem; border-radius: var(--pill); }
.hero .btn-row { margin-top: 1.7rem; }
.hero .btn--wa { background: #fff; color: var(--brand); box-shadow: 0 12px 24px -12px rgba(0,0,0,.4); }
.hero .btn--wa:hover { background: #f0ecff; color: var(--brand-strong); }
.hero__note { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .9rem; color: #e7e2fa; font-weight: 600; }
.hero__note li { display: flex; align-items: center; gap: .5rem; }
.hero__note svg { color: #C9B8FF; flex: none; }

/* interior page hero — purple card */
.page-hero { color: #fff; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(135deg, #3a1cc0 0%, #4c2ce2 55%, #6a4bf0 100%); }
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 78%);
          mask-image: linear-gradient(90deg, #000, transparent 78%);
}
.page-hero__inner { position: relative; z-index: 1; padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero .lede { color: #ddd6f5; }
.crumbs { font-weight: 600; font-size: .78rem; letter-spacing: .01em; color: #b7aee0; margin-bottom: 1.1rem; }
.crumbs a { color: #ddd6f5; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* dark band (why) — deep indigo card */
.band-ink { background: linear-gradient(160deg, #201646 0%, #1a1140 100%); color: #eae7f4; position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.band-ink::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(90% 90% at 20% 10%, #000 20%, transparent 75%); mask-image: radial-gradient(90% 90% at 20% 10%, #000 20%, transparent 75%); }
.band-ink .wrap { position: relative; z-index: 1; }

/* stat row */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { border: 1px solid var(--line-ink); border-radius: var(--radius); padding: 1.3rem 1.2rem; background: rgba(255,255,255,.04); }
.stat b { font-family: var(--sans); font-weight: 800; font-size: var(--step-3); color: #C9B8FF; display: block; line-height: 1; letter-spacing: -.03em; }
.stat span { font-size: .85rem; color: #cfc9e6; display: block; margin-top: .5rem; }

/* contact / location */
.contact-grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.info-list { display: grid; gap: 1rem; }
.info-item { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.info-item__ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.info-item__ic svg { width: 20px; height: 20px; }
.info-item dt { font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); margin-bottom: .15rem; }
.info-item dd { margin: 0; font-weight: 600; color: var(--ink); }
.info-item dd a { color: var(--ink); text-decoration: none; }
.info-item dd a:hover { color: var(--brand); }
.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--soft); aspect-ratio: 4 / 3; width: 100%; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* schedule table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
.sched { width: 100%; border-collapse: collapse; min-width: 640px; }
.sched caption { text-align: left; padding: 1.1rem 1.2rem .25rem; font-weight: 700; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }
.sched th, .sched td { text-align: left; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.sched thead th { font-weight: 700; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--slate); background: var(--soft); }
.sched tbody th { font-family: var(--sans); font-weight: 700; font-size: 1.02rem; white-space: nowrap; color: var(--ink); }
.sched tbody tr:last-child th, .sched tbody tr:last-child td { border-bottom: 0; }
.sched tbody tr:hover td, .sched tbody tr:hover th { background: #faf9fe; }
.slot { display: block; font-weight: 700; color: var(--ink); }
.slot span { display: block; font-size: .8rem; color: var(--slate); font-weight: 500; }
.slot--empty { color: var(--slate); font-style: italic; font-weight: 500; }

/* interactive schedule filters */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
/* compact dropdown pivots */
.sched-controls { display: flex; flex-wrap: wrap; gap: .7rem; align-items: flex-end; margin-bottom: 1.1rem; }
.sched-select { display: inline-flex; flex-direction: column; gap: .3rem; font-weight: 800; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.sched-select select {
  font-family: var(--sans); font-weight: 700; font-size: .9rem; text-transform: none; letter-spacing: 0; color: var(--ink);
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236e6b7b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .7rem center;
  border: 1px solid var(--line); border-radius: 12px; padding: .55rem 2rem .55rem .8rem; min-height: 42px; min-width: 124px;
  transition: border-color .18s var(--ease);
}
.sched-select select:hover { border-color: var(--brand); }
.sched-reset { align-self: flex-end; background: none; border: 0; color: var(--brand); font-family: var(--sans); font-weight: 800; font-size: .85rem; cursor: pointer; padding: .62rem .3rem; text-decoration: underline; text-underline-offset: 3px; }
.sched-reset:hover { color: var(--brand-strong); }
/* legacy chip filter (unused, kept harmless) */
.sched-filter { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.sched-filter__label { font-weight: 800; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--slate); margin-right: .35rem; min-width: 42px; }
.chip-btn { font-family: var(--sans); font-weight: 700; font-size: .85rem; padding: .5rem .9rem; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white); color: var(--body); cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease); min-height: 40px; }
.chip-btn:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.chip-btn.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.sched-count { font-weight: 700; color: var(--ink); font-size: .95rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.sched-tbc { font-family: var(--sans); font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-deep); background: #fbf1dc; border: 1px dashed var(--amber); border-radius: 6px; padding: .12rem .45rem; }
.sched--live .sched-time { font-weight: 800; color: var(--ink); white-space: nowrap; }
.sched-sub { display: inline-block; margin-left: .4rem; font-size: .75rem; font-weight: 700; color: var(--slate); }
.lvl-tag { display: inline-block; font-weight: 800; font-size: .68rem; padding: .22rem .5rem; border-radius: var(--pill); white-space: nowrap; }
.lvl-tag--no { background: var(--brand-soft); color: var(--brand); }
.lvl-tag--pri { background: #e2eef2; color: #1f6f86; }
.lvl-tag--lsec { background: #e6f2ea; color: #1f7a4a; }
.lvl-tag--usec { background: var(--brand-soft); color: var(--brand); }
.lvl-tag--a { background: #eaf1ee; color: #1f7a4a; }

/* weekly overview timetable (day columns + hover-to-reveal chips) */
.tt { display: grid; grid-template-columns: repeat(7, 1fr); gap: .6rem; align-items: start; margin-top: .5rem; }
.tt-day { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.tt-day__label { font-weight: 800; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); text-align: center; padding: .35rem 0; border-bottom: 2px solid var(--line); }
.tt-chip { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: .6rem; cursor: pointer; overflow: hidden; transition: border-color .16s var(--ease), box-shadow .16s, transform .16s; }
.tt-chip--open { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-1px); }
.tt-chip:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.tt-chip__head { display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; }
.tt-chip__subj { font-weight: 800; font-size: .84rem; color: var(--ink); line-height: 1.2; }
.tt-chip__detail { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .28s var(--ease), opacity .2s, margin-top .28s var(--ease); }
.tt-chip--open .tt-chip__detail { max-height: 130px; opacity: 1; margin-top: .6rem; }
/* Hover-to-reveal only on devices that truly hover (desktop); touch uses tap-to-toggle. */
@media (hover: hover) and (pointer: fine) {
  .tt-chip:hover, .tt-chip:focus-within { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-1px); }
  .tt-chip:hover .tt-chip__detail, .tt-chip:focus-within .tt-chip__detail { max-height: 130px; opacity: 1; margin-top: .6rem; }
}
.tt-chip__time { font-weight: 700; font-size: .76rem; color: var(--slate); margin: 0 0 .45rem; }
.tt-chip__detail .btn { width: 100%; min-height: auto; padding: .42rem .5rem; font-size: .76rem; }
.tt-chip.is-hidden, .tt-day.is-hidden { display: none; }
@media (max-width: 1100px) { .tt { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) { .tt { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .tt { grid-template-columns: repeat(2, 1fr); gap: .5rem; } }
.sched--live tbody tr.is-hidden { display: none; }
/* lean layout: no horizontal scroll, abbreviated days, level folded into Class */
.sched--live { min-width: 0; width: 100%; }
.sched--live th, .sched--live td { padding: .8rem .6rem; }
.sched--live th:first-child, .sched--live td:first-child { padding-left: 1rem; }
.sched--live th:last-child, .sched--live td:last-child { padding-right: 1rem; }
.sched--live tbody th { width: 1%; white-space: nowrap; font-size: .98rem; }
.sched--live .sched-time { font-variant-numeric: tabular-nums; }
.sched-class { line-height: 1.45; }
.sched-class .lvl-tag { margin-left: .35rem; vertical-align: middle; }
.sched-empty { padding: 1.5rem; text-align: center; color: var(--slate); font-weight: 600; margin: 0; }
.sched-empty a { color: var(--brand); font-weight: 800; }

/* CTA band — soft purple card */
.cta-band { background: var(--brand-soft); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.9rem, 4vw, 3rem); text-align: center; border: 1px solid #ddd4fb; }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--slate); max-width: 50ch; margin-inline: auto; }
.cta-band .stamp { margin-bottom: 1rem; }
.cta-band .btn-row { justify-content: center; margin-top: 1.4rem; }

/* blurred, framed brand photo used as an ambient component background */
.photobg { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; }
.photobg img { width: 100%; height: 100%; object-fit: cover; filter: blur(3px) saturate(1.12) brightness(1.04); transform: scale(1.06); }
.photobg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(30,20,72,.5) 0%, rgba(18,12,44,.74) 100%); }
.has-photobg { position: relative; overflow: hidden; }
.has-photobg > :not(.photobg) { position: relative; z-index: 1; }
/* text-heavy panels get a slightly stronger scrim so copy stays legible over the photo */
.band-ink .photobg::after,
.page-hero--photo .photobg::after { background: linear-gradient(150deg, rgba(26,17,60,.68) 0%, rgba(15,10,38,.85) 100%); }

/* page hero as an integrated photo banner (white text over a blurred brand photo) */
.page-hero--photo { color: #fff; }
.page-hero--photo::after { display: none; }
.page-hero--photo h1 { color: #fff; }
.page-hero--photo .lede { color: rgba(255,255,255,.86); }
.page-hero--photo .crumbs { color: rgba(255,255,255,.72); }
.page-hero--photo .crumbs a { color: #fff; }
.page-hero--photo .stamp { background: rgba(255,255,255,.12); border-color: var(--line-ink); color: #fff; }
.page-hero--photo .stamp::before { background: #C9B8FF; }

/* CTA panel over a blurred photo (upgrades the light gold CTA to a rich photo one) */
.cta-band--photo { color: #fff; border: 0; background: var(--brand-ink); }
.cta-band--photo h2 { color: #fff; }
.cta-band--photo p { color: rgba(255,255,255,.85); }
.cta-band--photo .stamp { background: rgba(255,255,255,.1); border-color: var(--line-ink); color: #fff; }
.cta-band--photo .stamp::before { background: #C9B8FF; }
.cta-band--photo .btn--ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); color: #fff; }
.cta-band--photo .btn--ghost:hover { background: #fff; color: var(--brand); border-color: #fff; }

/* 10. FOOTER (dark rounded card on grey) ----------------------------------- */
.site-footer {
  background: linear-gradient(160deg, #201646 0%, #17141f 100%); color: #cfc9e6;
  max-width: var(--sheetw); margin: 0 auto 14px; border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2rem,4vw,2.75rem);
}
.site-footer .wrap { max-width: var(--maxw); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.5fr 1fr 1fr; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__name b { color: #C9B8FF; }
.site-footer h4 { font-weight: 700; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: #9a92c4; margin: 0 0 1rem; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { text-decoration: none; color: #cfc9e6; font-size: .92rem; font-weight: 500; }
.footer-links a:hover { color: #C9B8FF; }
.footer-note { font-size: .9rem; color: #cfc9e6; margin-top: .9rem; max-width: 36ch; }
.footer-bottom { border-top: 1px solid var(--line-ink); margin-top: 2.25rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between; font-size: .82rem; color: #9a92c4; }
.footer-bottom a { color: #9a92c4; }
.social { display: flex; gap: .6rem; }
.social a { width: 42px; height: 42px; border: 1px solid var(--line-ink); border-radius: 12px; display: grid; place-items: center; color: #cfc9e6; transition: border-color .2s, color .2s, background .2s; }
.social a:hover { border-color: #C9B8FF; color: #fff; background: rgba(255,255,255,.06); }
.social svg { width: 18px; height: 18px; }

/* 11. MOBILE WHATSAPP BAR -------------------------------------------------- */
.wa-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: .6rem var(--gut); padding-bottom: calc(.6rem + env(safe-area-inset-bottom)); gap: .6rem; }
.wa-bar .btn { flex: 1; }
.wa-bar .btn--call { flex: 0 0 auto; }

/* 12. MOTION / REVEAL ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .07s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .35s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .42s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .49s; }

/* 13. RESPONSIVE ----------------------------------------------------------- */
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 861px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .page-hero__inner--split { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
}

@media (max-width: 860px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }

  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border: 1px solid var(--line); border-radius: 18px;
    padding: .5rem; box-shadow: var(--shadow-lift);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease);
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: .8rem .75rem; border-radius: 10px; font-size: 1.02rem; }
  .nav__links a[aria-current="page"] { background: var(--brand-soft); }
  .nav .nav__cta { display: none; }

  .wa-bar { display: flex; }
  .track { padding: 1.3rem 1.05rem; }
  .track__sub { display: none; }
  .track__steps { gap: .25rem; }
  .track__step { min-width: 0; }
  .track__label { font-size: .68rem; line-height: 1.15; overflow-wrap: anywhere; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .brand__name { font-size: 1.18rem; }
  main { margin: 8px; border-radius: 22px; }
}

/* 15. INTRO PRELOADER ------------------------------------------------------ */
/* Clean white backdrop; the video sits in a purple-bordered card so it pops. */
.intro { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: #fff; padding: var(--gut); }
.intro__frame {
  width: 100%; max-width: 700px; aspect-ratio: 1280 / 560;
  border: 4px solid var(--brand); border-radius: 22px; overflow: hidden; background: #d4d4d4;
  box-shadow: 0 24px 60px -24px rgba(76,44,226,.55), 0 6px 18px -8px rgba(23,20,31,.16);
}
.intro__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro__still { display: none; width: min(78vw, 460px); height: auto; }
.intro { cursor: pointer; }
.intro__hint {
  position: absolute; left: 50%; bottom: clamp(1.4rem, 5vh, 3rem); transform: translateX(-50%);
  font-family: var(--sans); font-weight: 700; font-size: .82rem; color: var(--slate);
  background: rgba(23,20,31,.05); border: 1px solid var(--line); border-radius: var(--pill);
  padding: .5rem 1.05rem; white-space: nowrap; pointer-events: none;
  opacity: 0; animation: hintIn .6s var(--ease) 1.1s forwards;
}
@keyframes hintIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.intro.is-done { animation: curtain .7s var(--ease) forwards; }
.intro.is-skip { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s var(--ease); }
@keyframes curtain { to { opacity: 0; visibility: hidden; } }
.intro-done .intro { display: none !important; }

/* 16. SCROLL SPELL-OUT STATEMENT ------------------------------------------- */
.statement { background: linear-gradient(160deg, #201646 0%, #1a1140 100%); color: #fff; text-align: center; overflow: hidden; position: relative; border-radius: var(--radius-lg); }
.statement::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(90% 90% at 50% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(90% 90% at 50% 50%, #000 20%, transparent 75%); }
.statement .wrap { position: relative; z-index: 1; padding-block: clamp(3.5rem, 12vh, 7.5rem); }
.statement .stamp { margin-bottom: 1.4rem; }
.spell { font-family: var(--sans); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; font-size: clamp(2.1rem, 8.5vw, 5.5rem); margin: 0; color: #fff; }
.spell__vis { display: inline; }
.spell__word { display: inline-block; white-space: nowrap; }
.spell__word + .spell__word { margin-left: .28em; }
.spell .l { display: inline-block; opacity: .16; transform: translateY(.14em); transition: opacity .45s var(--ease), transform .45s var(--ease), color .45s var(--ease); }
.spell .l.lit { opacity: 1; transform: none; }
.spell .accent { color: #fff; }
.spell .accent.lit { color: #C9B8FF; }
.statement__sub { font-family: var(--sans); font-size: var(--step-1); font-weight: 500; color: #cfc9e6; max-width: 44ch; margin: 1.6rem auto 0; line-height: 1.5; }
.statement .track-mini { margin-top: 2rem; }

/* 14. ACCESSIBILITY / MOTION PREFERENCE ------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .track__fill { width: 100% !important; transition: none; }
  .btn:hover, .card--hover:hover { transform: none; }

  .intro__frame { display: none; }
  .intro__still { display: block; }
  .intro { animation: curtain .5s ease 1.2s forwards; }
  .spell .l { opacity: 1 !important; transform: none !important; }
  .spell .accent { color: #C9B8FF !important; }
}
