/* ==========================================================================
   KNOWLY — Premium Learning Website
   Brand colours derived from the Knowly logo (green script wordmark)
   ========================================================================== */

/* =========================
   1. DESIGN TOKENS
========================= */
:root {
    --primary: #3E9B63;
    --primary-600: #2E7D4E;
    --primary-100: #E4F3EA;
    --secondary: #0F2A3D;
    --accent: #F4B63F;
    --accent-soft: #FFF3D9;
    --dark: #0A1822;
    --dark-2: #102432;
    --light: #F5F8F4;
    --surface: #FFFFFF;
    --text: #17262F;
    --muted: #5B6B74;
    --border: #E2E9E4;

    --grad-brand: linear-gradient(135deg, #3E9B63 0%, #2A8C7A 55%, #1F6F8B 100%);
    --grad-warm: linear-gradient(135deg, #F4B63F 0%, #F28C4B 100%);

    --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --font-serif: "Instrument Serif", Georgia, serif;

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --shadow-sm: 0 4px 14px rgba(15, 42, 61, .06);
    --shadow: 0 18px 50px -12px rgba(15, 42, 61, .18);
    --shadow-lg: 0 40px 90px -20px rgba(15, 42, 61, .28);

    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);
    --container: 1240px;
    --header-h: 80px;
}

/* =========================
   2. RESET & BASE
========================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--surface);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; color: var(--secondary); letter-spacing: -.02em; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--primary); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 7vw, 96px) 0; position: relative; }
.section--soft { background: var(--light); }
.section--dark { background: var(--dark); color: #C9D6DD; }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 2000;
    background: var(--secondary); color: #fff; padding: 10px 18px; border-radius: 10px;
    transition: top .3s;
}
.skip-link:focus { top: 16px; }

/* =========================
   3. TYPOGRAPHY HELPERS
========================= */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-size: 13px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase; color: var(--primary);
    margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #8FD6AA; }
.hero__eyebrow::before { display: none; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-100); animation: pulseDot 2s infinite; }

.section-title { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; margin-bottom: 18px; }
.section-title em { color: var(--primary); }
.section-title--light { color: #fff; }
.section-title--light em { color: #8FD6AA; }
.section-sub { color: var(--muted); max-width: 440px; font-size: 17px; }
.lead { font-size: 19px; color: var(--secondary); font-weight: 500; margin-bottom: 16px; }

.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

/* Line-by-line text reveal */
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line > span { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.text-reveal.is-in .line > span { transform: none; opacity: 1; }
.text-reveal.is-in .line:nth-child(2) > span { transition-delay: .12s; }
.text-reveal.is-in .line:nth-child(3) > span { transition-delay: .24s; }

.placeholder-note { display: inline-block; font-size: 12px; color: #9A6B00; background: var(--accent-soft); padding: 1px 8px; border-radius: 6px; }

/* =========================
   4. BUTTONS
========================= */
.btn {
    --bg: var(--primary); --fg: #fff;
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    padding: 16px 28px; border-radius: 100px;
    font-family: var(--font-head); font-weight: 700; font-size: 15px;
    background: var(--bg); color: var(--fg);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s;
    white-space: nowrap;
}
.btn i { transition: transform .4s var(--ease); font-size: 13px; }
.btn::after { /* shine */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -10px rgba(62,155,99,.55); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover i { transform: translateX(5px); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--grad-brand); }
.btn--dark { --bg: var(--secondary); }
.btn--dark:hover { box-shadow: 0 14px 30px -10px rgba(15,42,61,.5); }
.btn--light { --bg: #fff; --fg: var(--secondary); }
.btn--ghost { --bg: transparent; --fg: var(--secondary); box-shadow: inset 0 0 0 1.5px var(--border); background: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--primary), 0 14px 30px -12px rgba(15,42,61,.25); }
.btn--sm { padding: 12px 22px; font-size: 14px; }
.btn--block { width: 100%; }

.round-btn {
    width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center;
    background: #fff; color: var(--secondary); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border);
    transition: background .3s, color .3s, transform .3s var(--ease);
}
.round-btn:hover { background: var(--primary); color: #fff; transform: scale(1.06); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--primary-600); word-break: break-word; }
.link-arrow i { transition: transform .35s var(--ease); font-size: 12px; }
.link-arrow:hover i { transform: translateX(6px); }

/* =========================
   5. TOP BAR
========================= */
.topbar { background: var(--dark); color: #B9C8D0; font-size: 13px; position: relative; z-index: 60; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar__welcome { display: flex; align-items: center; gap: 8px; }
.topbar__welcome i { color: #8FD6AA; }
.topbar__info { display: flex; gap: 24px; }
.topbar__info li, .topbar__info a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.topbar__info a:hover { color: #fff; }
.topbar__info i { color: #8FD6AA; }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; transition: background .3s, color .3s; }
.topbar__social a:hover { background: var(--primary); color: #fff; }

/* =========================
   6. HEADER / NAVIGATION
========================= */
.header {
    position: sticky; top: 0; z-index: 50;
    height: var(--header-h);
    transition: transform .5s var(--ease), background .4s, box-shadow .4s;
}
.header.is-scrolled { background: rgba(255,255,255,.82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 10px 30px -18px rgba(15,42,61,.35); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 66px; width: auto; }
/* The logo file has a white background — multiply blends it away on light headers */
.logo__img { mix-blend-mode: multiply; }
.drawer__head .logo__img { height: 44px; width: auto; }
/* Text wordmark — vector, so it stays razor-sharp at any size / screen density.
   Replace with <img src="assets/images/logo.svg"> once the client's original high-res logo is available. */
.wordmark {
    display: inline-block; padding: 0 .1em .08em 0;
    font-family: "Dancing Script", cursive; font-weight: 700; font-size: 56px; line-height: 1; letter-spacing: -.01em;
    background: linear-gradient(135deg, #4FAF74 0%, #2E7D4E 55%, #1F6B52 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision;
    transition: transform .4s var(--ease);
}
.logo:hover .wordmark { transform: rotate(-3deg) scale(1.04); }
.wordmark--sm { font-size: 40px; }
.wordmark--light { background: linear-gradient(135deg, #BFE6CD 0%, #8FD6AA 100%); -webkit-background-clip: text; background-clip: text; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__link {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 14px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--secondary);
}
.nav__link i { font-size: 10px; transition: transform .3s; }
.nav__link::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--primary); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--primary-600); }

.nav__has-drop { position: relative; }
.nav__drop {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px;
    background: #fff; border-radius: var(--radius-sm); padding: 10px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .35s var(--ease);
}
.nav__drop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__has-drop:hover .nav__drop, .nav__has-drop:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__has-drop:hover .nav__link i { transform: rotate(180deg); }
.nav__drop a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; transition: background .25s, color .25s, padding .25s; }
.nav__drop a:hover { background: var(--primary-100); color: var(--primary-600); padding-left: 20px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; background: var(--light); margin-left: auto; z-index: 1101; }
.burger span { position: absolute; left: 13px; width: 20px; height: 2px; background: var(--secondary); border-radius: 2px; transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.burger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* =========================
   7. MOBILE DRAWER
========================= */
.drawer-overlay { position: fixed; inset: 0; background: rgba(6,16,23,.55); backdrop-filter: blur(4px); z-index: 1099; opacity: 0; transition: opacity .4s; }
.drawer-overlay.is-open { opacity: 1; }
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1100;
    width: min(380px, 88vw); background: #fff; padding: 24px;
    display: flex; flex-direction: column; overflow-y: auto;
    transform: translateX(100%); transition: transform .55s var(--ease); visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.drawer__head img { height: 34px; width: auto; }
.drawer__close { width: 44px; height: 44px; border-radius: 50%; background: var(--light); font-size: 18px; transition: transform .4s var(--ease), background .3s; }
.drawer__close:hover { transform: rotate(90deg); background: var(--primary-100); }
.drawer__list > li { border-bottom: 1px solid var(--border); opacity: 0; transform: translateX(30px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.drawer.is-open .drawer__list > li { opacity: 1; transform: none; }
.drawer.is-open .drawer__list > li:nth-child(1) { transition-delay: .12s; }
.drawer.is-open .drawer__list > li:nth-child(2) { transition-delay: .17s; }
.drawer.is-open .drawer__list > li:nth-child(3) { transition-delay: .22s; }
.drawer.is-open .drawer__list > li:nth-child(4) { transition-delay: .27s; }
.drawer.is-open .drawer__list > li:nth-child(5) { transition-delay: .32s; }
.drawer.is-open .drawer__list > li:nth-child(6) { transition-delay: .37s; }
.drawer.is-open .drawer__list > li:nth-child(7) { transition-delay: .42s; }
.drawer__list > li > a, .drawer__acc-btn { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 16px 4px; font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--secondary); }
.drawer__acc-btn i { font-size: 14px; transition: transform .4s var(--ease); color: var(--primary); }
.drawer__acc-btn[aria-expanded="true"] i { transform: rotate(45deg); }
.drawer__sub { overflow: hidden; height: 0; transition: height .45s var(--ease); }
.drawer__sub a { display: block; padding: 10px 14px; color: var(--muted); font-weight: 500; border-left: 2px solid var(--border); }
.drawer__sub a:hover { color: var(--primary); border-color: var(--primary); }
.drawer__sub li:last-child a { margin-bottom: 14px; }
.drawer__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.drawer__contact { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; }
.drawer__contact i { color: var(--primary); }

/* =========================
   8. HERO
========================= */
.hero {
    position: relative; overflow: hidden;
    min-height: min(calc(100vh - var(--header-h) - 42px), 720px);
    min-height: min(calc(100svh - var(--header-h) - 42px), 720px);
    display: flex; flex-direction: column;
    background: radial-gradient(120% 90% at 85% 10%, #EAF6EE 0%, #F7FAF7 45%, #fff 100%);
}
.hero__bg { position: absolute; inset: -40px; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: blobMove 18s ease-in-out infinite alternate; }
.blob--1 { width: 520px; height: 520px; background: #BFE6CD; top: -120px; right: 4%; }
.blob--2 { width: 380px; height: 380px; background: #FCE3B0; bottom: -60px; left: 30%; animation-delay: -6s; }
.blob--3 { width: 300px; height: 300px; background: #C9E3F0; top: 30%; left: -80px; animation-delay: -12s; }
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__lines path { fill: none; stroke: var(--primary); stroke-opacity: .18; stroke-width: 1.5; stroke-dasharray: 8 10; animation: dashFlow 30s linear infinite; }
.hero__lines path + path { stroke: var(--secondary); stroke-opacity: .08; animation-duration: 45s; }
.hero__grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(15,42,61,.09) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(70% 60% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 70% 40%, #000 20%, transparent 75%); }

.hero__slider { flex: 1; width: 100%; display: flex; flex-direction: column; }
.hero__slider .swiper-wrapper { flex: 1; }
.hero__slide { display: flex; align-items: center; height: auto; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.hero__title { font-size: clamp(38px, 5.6vw, 72px); font-weight: 800; line-height: 1.02; margin-bottom: 24px; letter-spacing: -.035em; }
.hero__title em { color: var(--primary); }
.hero__text { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 520px; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero reveal choreography — triggered by active slide */
.hero__eyebrow, .hero__text, .hero__ctas { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero__ctas { transform: translateY(20px) scale(.94); }
.hero__title .line > span { transform: translateY(105%); opacity: 0; transition: transform 1.1s var(--ease), opacity 1.1s var(--ease); }
.hero__img { clip-path: inset(12% 12% 12% 12% round 40px); opacity: 0; transition: clip-path 1.4s var(--ease), opacity 1s; }
.hero__slide .float-card, .hero__slide .chip { opacity: 0; transition: opacity .8s var(--ease) 1s; }

.swiper-slide-active .hero__eyebrow { opacity: 1; transform: none; transition-delay: .2s; }
.swiper-slide-active .hero__title .line > span { transform: none; opacity: 1; }
.swiper-slide-active .hero__title .line:nth-child(1) > span { transition-delay: .3s; }
.swiper-slide-active .hero__title .line:nth-child(2) > span { transition-delay: .45s; }
.swiper-slide-active .hero__text { opacity: 1; transform: none; transition-delay: .65s; }
.swiper-slide-active .hero__ctas { opacity: 1; transform: none; transition-delay: .85s; }
.swiper-slide-active .hero__img { clip-path: inset(0 0 0 0 round 40px); opacity: 1; }
.swiper-slide-active .float-card, .swiper-slide-active .chip { opacity: 1; }
.swiper-slide-active .hero__img img { animation: kenBurns 14s ease-out forwards; }

.hero__visual { position: relative; aspect-ratio: 11 / 12.5; max-height: 62vh; justify-self: center; width: min(100%, 460px); }
.hero__img { position: absolute; inset: 0; border-radius: 40px; overflow: hidden; box-shadow: var(--shadow-lg); will-change: transform; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__ring { position: absolute; inset: -28px -28px auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(62,155,99,.35); animation: spin 40s linear infinite; }

.float-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: 14px 18px; border-radius: 18px; box-shadow: var(--shadow);
    will-change: transform; z-index: 2;
}
.float-card > * { animation: floatY 6s ease-in-out infinite; }
.float-card strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--secondary); line-height: 1.2; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.float-card__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-100); color: var(--primary); flex-shrink: 0; }
.float-card__icon--accent { background: var(--accent-soft); color: #C98A12; }
.float-card--a { left: -48px; top: 16%; }
.float-card--b { right: -36px; bottom: 14%; }
.float-card--b > * { animation-delay: -3s; }
.skill-card { flex-direction: column; align-items: stretch; gap: 8px; min-width: 210px; }
.skill-card__bar { height: 8px; border-radius: 8px; background: var(--primary-100); overflow: hidden; }
.skill-card__bar span { display: block; height: 100%; width: 0; background: var(--grad-brand); border-radius: inherit; transition: width 2s var(--ease) 1.2s; }
.swiper-slide-active .skill-card__bar span { width: 78%; }
.skill-card__tags { display: flex; gap: 6px; }
.skill-card__tags span { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--light); color: var(--secondary); }
.chip { position: absolute; left: 12%; bottom: -18px; z-index: 2; padding: 10px 18px; border-radius: 100px; background: var(--secondary); color: #fff; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); }

.hero__controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 30px; position: relative; z-index: 3; }
.hero__pagination { display: flex; gap: 10px; }
.hero__pagination .swiper-pagination-bullet { width: 44px; height: 4px; border-radius: 4px; background: rgba(15,42,61,.12); opacity: 1; position: relative; overflow: hidden; margin: 0 !important; }
.hero__pagination .swiper-pagination-bullet::after { content: ""; position: absolute; inset: 0; background: var(--primary); transform: scaleX(0); transform-origin: left; }
.hero__pagination .swiper-pagination-bullet-active::after { animation: bulletFill 6.5s linear forwards; }
.hero__arrows { display: flex; gap: 10px; }

.scroll-ind { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.scroll-ind__line { width: 1.5px; height: 48px; background: rgba(15,42,61,.12); position: relative; overflow: hidden; }
.scroll-ind__line::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--primary); animation: scrollLine 1.8s var(--ease-in-out) infinite; }

/* =========================
   9. HIGHLIGHTS STRIP
========================= */
.highlights { position: relative; z-index: 4; margin-top: -10px; padding-bottom: 20px; }
.highlights__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.hl { display: flex; align-items: center; gap: 16px; padding: 30px 28px; position: relative; transition: background .4s; }
.hl + .hl::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--border); }
.hl:hover { background: var(--light); }
.hl__icon { width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0; display: grid; place-items: center; font-size: 20px; color: var(--primary); background: var(--primary-100); transition: transform .5s var(--ease), background .4s, color .4s; }
.hl:hover .hl__icon { transform: rotate(-8deg) scale(1.08); background: var(--primary); color: #fff; }
.hl__num { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--secondary); line-height: 1.1; }
.hl p { color: var(--muted); font-size: 14px; line-height: 1.4; }

.marquee { overflow: hidden; margin-top: 28px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--font-head); font-weight: 800; font-size: clamp(20px, 2.4vw, 30px); color: transparent; -webkit-text-stroke: 1px rgba(15,42,61,.3); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; transition: color .3s; }
.marquee span::after { content: "✦"; -webkit-text-stroke: 0; color: var(--primary); font-size: .6em; }
.marquee span:hover { color: var(--primary); -webkit-text-stroke-color: var(--primary); }

/* =========================
   10. ABOUT
========================= */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; padding: 0 12% 14% 0; }
.about__img-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 6; box-shadow: var(--shadow); }
.about__img-main img, .about__img-sub img { width: 100%; height: 100%; object-fit: cover; }
.about__img-sub { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.about__card { position: absolute; left: -24px; bottom: 22%; max-width: 250px; padding: 22px; border-radius: var(--radius); background: var(--secondary); color: #fff; box-shadow: var(--shadow-lg); z-index: 2; }
.about__card i { color: var(--accent); font-size: 20px; margin-bottom: 8px; display: block; }
.about__card p { font-size: 15px; line-height: 1.5; }
.about__card em { color: #8FD6AA; font-size: 1.15em; }
.about__circle { position: absolute; top: -40px; right: 4%; width: 150px; z-index: 2; animation: spin 26s linear infinite; }
.about__circle text { font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: 4px; fill: var(--primary); }
.about__content p { color: var(--muted); margin-bottom: 16px; }
.about__content .lead { color: var(--secondary); }
.about__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 20px 0 28px; }
.about__list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--secondary); font-size: 15px; }
.about__list i { color: var(--primary); margin-top: 5px; }
.about__foot { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.about__founder { display: flex; align-items: center; gap: 12px; }
.about__founder strong { display: block; font-family: var(--font-head); color: var(--secondary); line-height: 1.2; }
.about__founder small { color: var(--muted); }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--grad-brand); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px; }

/* Scroll-triggered image reveals */
/* The wipe is applied to the IMAGE, not the figure, so the figure stays observable
   (a fully clip-pathed element is never reported as intersecting → it never revealed). */
.reveal-clip { transition: box-shadow 1s var(--ease) .6s; }
.reveal-clip:not(.is-in) { box-shadow: none; }
.reveal-clip img { clip-path: inset(100% 0 0 0); transform: scale(1.25); transition: clip-path 1.4s var(--ease), transform 1.8s var(--ease); }
.reveal-clip.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.reveal-slide { opacity: 0; translate: 60px 0; transition: opacity 1s var(--ease) .4s, translate 1.2s var(--ease) .4s; }
.reveal-slide.is-in { opacity: 1; translate: 0 0; }
.reveal-pop { opacity: 0; scale: .8; transition: opacity .8s var(--ease) .8s, scale .8s var(--ease) .8s; }
.reveal-pop.is-in { opacity: 1; scale: 1; }

/* =========================
   11. PROGRAMS — EXPLORER
========================= */
.prog { overflow: hidden; isolation: isolate; }
.prog__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.prog__bg::before { /* dotted grid */
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(15,42,61,.10) 1.2px, transparent 1.6px); background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 80% 20%, #000 15%, transparent 70%);
            mask-image: radial-gradient(ellipse 60% 50% at 80% 20%, #000 15%, transparent 70%);
}
.prog__blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: blobMove 18s ease-in-out infinite alternate; }
.prog__blob--a { width: 520px; height: 520px; background: #BFE6CD; top: 20%; left: -200px; }
.prog__blob--b { width: 420px; height: 420px; background: #FFE3B0; bottom: -120px; right: -120px; animation-delay: -8s; }

/* Head */
.prog__head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.prog__intro { display: flex; flex-direction: column; gap: 20px; max-width: 460px; }
.prog__intro .section-sub { max-width: none; }
.prog__boards { display: flex; flex-wrap: wrap; gap: 8px; }
.prog__board {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px;
    font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--secondary);
    background: #fff; box-shadow: inset 0 0 0 1px var(--border);
    transition: background .4s, color .4s, box-shadow .4s, transform .4s var(--ease);
}
.prog__board::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--border); transition: background .4s, box-shadow .4s; }
.prog__board:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--primary); }
.prog__board.is-current { background: var(--secondary); color: #fff; box-shadow: 0 10px 22px -12px rgba(15,42,61,.7); }
.prog__board.is-current::before { background: #8FD6AA; box-shadow: 0 0 0 3px rgba(143,214,170,.25); }

/* Layout */
.prog__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }

/* Visual stage — stretches to the full height of the program list */
.prog__stage { position: relative; display: flex; }
.prog__frame {
    position: relative; overflow: hidden; isolation: isolate;
    width: 100%; height: 100%; min-height: 480px;
    border-radius: 32px; background: var(--secondary); box-shadow: var(--shadow-lg);
}
.prog__slide { position: absolute; inset: 0; margin: 0; z-index: 1; clip-path: inset(100% 0 0 0); }
.prog__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.prog__slide.is-active { z-index: 3; clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-in-out); }
.prog__slide.is-active img { transform: scale(1); transition: transform 1.8s var(--ease); }
.prog__slide.was-active { z-index: 2; clip-path: inset(0 0 0 0); }
.prog__slide.was-active img { transform: scale(1.06); transition: transform 1.1s var(--ease-in-out); }
.prog__frame::after { /* shade */
    content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
    background: linear-gradient(180deg, rgba(10,24,34,.35) 0%, rgba(10,24,34,0) 30%, rgba(10,24,34,0) 50%, rgba(10,24,34,.75) 100%);
}

.prog__counter {
    position: absolute; z-index: 5; top: 20px; left: 20px; padding: 7px 14px; border-radius: 100px;
    font-family: var(--font-head); font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75);
    background: rgba(10,24,34,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.15);
}
.prog__counter b { color: #fff; }
.prog__bignum {
    position: absolute; z-index: 5; top: 6px; right: 22px; font-family: var(--font-head); font-weight: 800;
    font-size: clamp(80px, 9vw, 130px); line-height: 1; letter-spacing: -.04em;
    color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.7);
}
.prog__info {
    position: absolute; z-index: 5; left: 18px; right: 18px; bottom: 18px;
    display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 22px; color: #fff;
    background: rgba(10,24,34,.5); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(255,255,255,.16);
}
.prog__info-top { display: flex; align-items: center; gap: 14px; }
.prog__info-more { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.prog__info-desc { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.85); margin-bottom: 12px; }
.prog__info-tags { margin-bottom: 0; }
.prog__info-tags li { background: rgba(255,255,255,.14); color: #fff; }
.prog__info-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; font-size: 20px; background: var(--grad-brand); box-shadow: 0 10px 24px -10px rgba(62,155,99,.8); }
.prog__info-text { flex: 1; min-width: 0; }
.prog__info-text small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8FD6AA; }
.prog__info-text strong { display: block; font-family: var(--font-head); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.25; }
.prog__info-go { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--secondary); transition: transform .5s var(--ease), background .4s, color .4s; }
.prog__info-go i { transform: rotate(-45deg); transition: transform .5s var(--ease); }
.prog__info-go:hover { background: var(--accent); }
.prog__info-go:hover i { transform: rotate(0); }

/* Swap animation for the stage text */
.prog__counter b, .prog__bignum, .prog__info-icon, .prog__info-text, .prog__info-more { transition: opacity .35s var(--ease), transform .5s var(--ease); }
.prog__stage.is-swapping .prog__bignum { opacity: 0; transform: translateY(-24px); }
.prog__stage.is-swapping .prog__info-text, .prog__stage.is-swapping .prog__info-more { opacity: 0; transform: translateY(12px); }
.prog__stage.is-swapping .prog__info-icon { opacity: 0; transform: scale(.6) rotate(-20deg); }
.prog__stage.is-swapping .prog__counter b { opacity: 0; }

/* Rotating seal */
.prog__seal {
    position: absolute; z-index: 6; left: -46px; top: 46px; width: 112px; height: 112px; border-radius: 50%;
    display: grid; place-items: center; background: #fff; box-shadow: var(--shadow);
}
.prog__seal svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 16s linear infinite; }
.prog__seal text { font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; fill: var(--secondary); }
.prog__seal i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-100); color: var(--primary); font-size: 17px; }

/* Program list */
.prog__item { position: relative; border-radius: 24px; transition: background .5s var(--ease), box-shadow .5s var(--ease); }
.prog__item + .prog__item { margin-top: 4px; }
.prog__item::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: -2px; height: 1px; background: var(--border); transition: opacity .4s; }
.prog__item:last-child::after, .prog__item.is-active::after { opacity: 0; }
.prog__item:hover:not(.is-active) { background: rgba(255,255,255,.55); }
.prog__item.is-active { background: #fff; box-shadow: var(--shadow), inset 0 0 0 1px var(--border); }

.prog__h { font-size: inherit; margin: 0; }
.prog__btn {
    width: 100%; display: grid; grid-template-columns: 52px minmax(0, 1fr) 44px; align-items: center; gap: 16px;
    padding: 22px 24px; text-align: left; border-radius: 24px;
}
.prog__num { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--muted); transition: color .4s; }
.prog__num::after { content: ""; display: block; width: 18px; height: 2px; margin-top: 6px; border-radius: 2px; background: currentColor; transition: width .5s var(--ease); }
.prog__item.is-active .prog__num, .prog__item:hover .prog__num { color: var(--primary); }
.prog__item.is-active .prog__num::after { width: 32px; }
.prog__titles { display: flex; flex-direction: column; gap: 4px; transition: transform .5s var(--ease); }
.prog__item:hover:not(.is-active) .prog__titles { transform: translateX(8px); }
.prog__name { font-family: var(--font-head); font-size: clamp(18px, 1.8vw, 23px); font-weight: 700; line-height: 1.25; color: var(--secondary); letter-spacing: -.01em; }
.prog__titles small { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.prog__toggle {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; justify-self: end;
    font-size: 14px; color: var(--secondary); box-shadow: inset 0 0 0 1.5px var(--border);
    transition: background .4s, color .4s, box-shadow .4s, transform .6s var(--ease);
}
.prog__item:hover .prog__toggle { box-shadow: inset 0 0 0 1.5px var(--primary); }
.prog__item.is-active .prog__toggle { background: var(--secondary); color: #fff; box-shadow: none; }
.prog__ico-arrow { display: none; }
.prog__ico-plus { transition: transform .6s var(--ease); }
.prog__item.is-active .prog__ico-plus { transform: rotate(135deg); }

.prog__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.prog__item.is-active .prog__panel { grid-template-rows: 1fr; }
.prog__panel-inner { overflow: hidden; min-height: 0; }
.prog__panel-body { padding: 0 24px 26px 92px; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .6s var(--ease); }
.prog__item.is-active .prog__panel-body { opacity: 1; transform: none; transition-delay: .18s; }
.prog__panel-body p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.prog__thumb { display: none; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tags li { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 8px; background: var(--primary-100); color: var(--primary-600); }

.prog__link {
    display: inline-flex; align-items: center; gap: 10px; padding-bottom: 2px;
    font-family: var(--font-head); font-size: 14.5px; font-weight: 700; color: var(--primary-600);
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease);
}
.prog__link i { font-size: 12px; transition: transform .5s var(--ease); }
.prog__link:hover { background-size: 100% 1.5px; }
.prog__link:hover i { transform: translateX(6px); }

/* Active rail (left edge of the active row) */
.prog__timer { position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--grad-brand); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.prog__item.is-active .prog__timer { transform: scaleY(1); }

/* Desktop: rows stay one height (no accordion) — details show in the stage on hover */
@media (min-width: 1024px) {
    .prog__panel { display: none; }
    .prog__btn { padding: 14px 24px; }
    .prog__ico-plus { display: none; }
    .prog__ico-arrow { display: block; transition: transform .5s var(--ease); }
    .prog__item.is-active .prog__ico-arrow { transform: translateX(3px); }
    .prog__item.is-active .prog__titles { transform: translateX(8px); }
}

/* Bottom CTA strip */
.prog__cta {
    display: flex; align-items: center; gap: 18px; margin-top: clamp(32px, 4vw, 48px);
    padding: 14px 14px 14px 18px; border-radius: 100px; background: #fff;
    box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border);
}
.prog__cta-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: #C98A12; font-size: 19px; }
.prog__cta-icon i { animation: spin 10s linear infinite; }
.prog__cta p { flex: 1; color: var(--muted); font-size: 15.5px; }
.prog__cta strong { color: var(--secondary); font-family: var(--font-head); }

/* =========================
   12. SERVICES — SIGNATURE SECTION
========================= */
.services { position: relative; background: var(--dark); color: #C9D6DD; }
.services::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 20% 30%, rgba(62,155,99,.22), transparent 70%), radial-gradient(50% 50% at 90% 80%, rgba(31,111,139,.25), transparent 70%); pointer-events: none; }
.services__pin { position: relative; }
.services__stage { position: relative; display: grid; grid-template-columns: minmax(340px, 400px) 1fr; gap: 56px; align-items: center; max-width: 1440px; margin: 0 auto; padding: 0 0 0 max(24px, calc((100vw - var(--container)) / 2 + 24px)); }
.services__intro { position: relative; z-index: 2; }
.services__intro .section-title { font-size: clamp(32px, 3.6vw, 50px); }

.journey-ui { margin-top: 28px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); overflow: hidden; }
.journey-ui__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.journey-ui__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.2); }
.journey-ui__bar span:first-child { background: #F26B5B; }
.journey-ui__bar span:nth-child(2) { background: var(--accent); }
.journey-ui__bar span:nth-child(3) { background: var(--primary); }
.journey-ui__bar small { margin-left: 10px; font-family: ui-monospace, monospace; font-size: 11px; color: #7D909B; }
.journey-ui__body { position: relative; display: grid; grid-template-columns: 60px 1fr auto; gap: 8px; padding: 18px 20px 18px 6px; }
.journey-ui__svg { width: 60px; height: 260px; }
.journey-ui__track { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 2; }
.journey-ui__fill { fill: none; stroke: #8FD6AA; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .3s linear; }
.journey-ui__nodes { position: absolute; left: 6px; top: 18px; bottom: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.journey-ui__nodes li { display: flex; align-items: center; gap: 18px; height: 40px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #6F828D; transition: color .4s; }
.journey-ui__nodes .node { width: 60px; display: grid; place-items: center; position: relative; }
.journey-ui__nodes .node::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--dark); border: 2px solid rgba(255,255,255,.25); transition: all .4s var(--ease); }
.journey-ui__nodes li.is-done { color: #B7C7CF; }
.journey-ui__nodes li.is-done .node::before { background: #8FD6AA; border-color: #8FD6AA; }
.journey-ui__nodes li.is-active { color: #fff; }
.journey-ui__nodes li.is-active .node::before { width: 18px; height: 18px; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(244,182,63,.2), 0 0 20px rgba(244,182,63,.6); }
.journey-ui__meter { grid-column: 3; align-self: end; text-align: right; }
.journey-ui__meter small { display: block; font-size: 11px; color: #7D909B; text-transform: uppercase; letter-spacing: .12em; }
.journey-ui__meter strong { font-family: var(--font-head); font-size: 34px; color: #fff; }
.services__counter { margin-top: 20px; font-family: var(--font-head); font-weight: 600; color: #6F828D; }
.services__current { color: #fff; font-size: 22px; }

.services__viewport { position: relative; min-width: 0; overflow: hidden; padding: 40px 0; mask-image: linear-gradient(90deg, transparent 0, #000 60px); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px); }
.services__track { display: flex; gap: 32px; padding: 0 60px; will-change: transform; }

.svc-card {
    --mx: 50%; --my: 50%;
    position: relative; flex: 0 0 min(420px, 34vw);
    background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.1); border-radius: 28px; overflow: hidden; isolation: isolate;
    transform-origin: center; will-change: transform, opacity, filter;
    transition: border-color .4s, box-shadow .4s;
}
.svc-card__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(143,214,170,.22), transparent 60%); }
.svc-card:hover .svc-card__glow { opacity: 1; }
.svc-card:hover { border-color: rgba(143,214,170,.45); box-shadow: 0 30px 70px -30px rgba(62,155,99,.5); }
.svc-card__media { aspect-ratio: 16 / 9; overflow: hidden; clip-path: inset(0 0 0 0); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); filter: saturate(.9); }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card__body { padding: 26px 28px 30px; }
.svc-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.svc-card__num { font-family: var(--font-head); font-weight: 800; font-size: 14px; color: #8FD6AA; letter-spacing: .1em; }
.svc-card h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.svc-card p { font-size: 15px; color: #A8B8C1; margin-bottom: 20px; }
.svc-card__link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #fff; }
.svc-card__link i { transition: transform .45s var(--ease); color: var(--accent); }
.svc-card:hover .svc-card__link i { transform: translateX(8px); }

/* Animated service icons (stroke drawing) */
.svc-icon { width: 52px; height: 52px; }
.svc-icon path, .svc-icon circle { fill: none; stroke: #8FD6AA; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc-icon .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.svc-card:hover .svc-icon .draw { animation: drawStroke 1.1s var(--ease) forwards; }
.svc-card:hover .svc-icon .draw:nth-child(2) { animation-delay: .12s; }
.svc-card:hover .svc-icon .draw:nth-child(3) { animation-delay: .24s; }
.svc-card:hover .svc-icon .draw:nth-child(4) { animation-delay: .36s; }
.svc-card:hover .svc-icon .draw:nth-child(5) { animation-delay: .48s; }
.svc-icon .page { stroke: var(--accent); transform-origin: 24px 24px; opacity: 0; transition: transform .7s var(--ease), opacity .4s; transform: scaleX(.2); }
.svc-card:hover .svc-icon .page { opacity: 1; transform: scaleX(1); }
.svc-icon .pulse { fill: #8FD6AA; stroke: none; }
.svc-card:hover .svc-icon .pulse { animation: chatDot 1s ease-in-out infinite; }
.svc-card:hover .svc-icon .pulse:nth-of-type(2) { animation-delay: .15s; }
.svc-card:hover .svc-icon .pulse:nth-of-type(3) { animation-delay: .3s; }
.svc-icon .link { stroke: var(--accent); stroke-dasharray: 2 3; }

.services__progress { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); width: min(300px, 60vw); height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.services__progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; }

/* Desktop pinned mode (enabled by JS: .services.is-pinned) */
.services.is-pinned .services__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.services.is-pinned .services__stage { width: 100%; }
.services.is-pinned .svc-card {
    transform: perspective(1200px) scale(var(--s, 1)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    opacity: var(--o, 1);
    filter: blur(var(--b, 0px));
}
.services.is-pinned .svc-card__media { clip-path: inset(0 calc(var(--clip, 0) * 70%) 0 0); }
.services.is-pinned .svc-card.is-active { border-color: rgba(143,214,170,.4); box-shadow: 0 40px 80px -30px rgba(62,155,99,.45); }

/* Default / mobile layout */
.services:not(.is-pinned) { padding: clamp(56px, 7vw, 96px) 0; }
.services:not(.is-pinned) .services__progress { display: none; }

/* =========================
   13. WHY CHOOSE US
========================= */
.why { overflow: hidden; }
.why__pattern { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 50% 0%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 50% 0%, #000, transparent); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.why-card { position: relative; overflow: hidden; padding: 28px 28px; border-radius: 24px; background: var(--dark-2); border: 1px solid rgba(255,255,255,.07); transition: transform .5s var(--ease), border-color .5s; isolation: isolate; }
.why-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 0% 0%, rgba(62,155,99,.25), transparent 60%); opacity: 0; transition: opacity .5s; }
.why__grid .why-card:hover { transform: translateY(-8px); border-color: rgba(143,214,170,.3); } /* scoped to beat AOS specificity */
.why-card:hover::before { opacity: 1; }
.why-card__num { position: absolute; top: 22px; right: 26px; font-family: var(--font-head); font-weight: 800; font-size: 44px; color: rgba(255,255,255,.05); transition: color .5s; }
.why-card:hover .why-card__num { color: rgba(143,214,170,.2); }
.why-card__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; font-size: 22px; color: #8FD6AA; background: rgba(62,155,99,.14); transition: transform .5s var(--ease), background .4s, color .4s; }
.why-card:hover .why-card__icon { transform: scale(1.12) rotate(-6deg); background: var(--primary); color: #fff; }
.why-card h3 { color: #fff; font-size: 20px; margin-bottom: 12px; }
.why-card p { font-size: 15px; color: #9FB0BA; }
.why-card__line { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.why-card:hover .why-card__line { transform: scaleX(1); }

/* =========================
   14. LEARNING JOURNEY
========================= */
.journey__wrap { position: relative; max-width: 1000px; margin: 0 auto; }
.journey__svg { position: absolute; left: 50%; top: 0; width: 200px; height: 100%; transform: translateX(-50%); overflow: visible; }
.journey__path-bg, .journey__path { fill: none; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.journey__path-bg { stroke: var(--border); stroke-dasharray: 6 8; }
.journey__path { stroke: var(--primary); }
.journey__steps { position: relative; display: grid; gap: clamp(24px, 3.5vw, 44px); }
.jstep { position: relative; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; }
.jstep__marker { grid-column: 2; justify-self: center; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--muted); background: #fff; box-shadow: 0 0 0 1.5px var(--border), var(--shadow-sm); transition: all .6s var(--ease); z-index: 1; }
.jstep__card { grid-row: 1; background: #fff; border-radius: 22px; padding: 22px 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); opacity: .35; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .7s; }
.jstep:nth-child(odd) .jstep__card { grid-column: 1; text-align: right; }
.jstep:nth-child(even) .jstep__card { grid-column: 3; }
.jstep__num { display: inline-block; font-family: var(--font-head); font-size: 14px; font-weight: 800; color: var(--primary); letter-spacing: .1em; margin-bottom: 6px; transition: transform .5s var(--ease); transform-origin: left; }
.jstep:nth-child(odd) .jstep__num { transform-origin: right; }
.jstep__card h3 { font-size: 24px; margin-bottom: 8px; }
.jstep__card p { color: var(--muted); font-size: 15px; }
.jstep.is-active .jstep__marker { color: #fff; background: var(--grad-brand); box-shadow: 0 0 0 8px var(--primary-100), 0 10px 30px rgba(62,155,99,.5); transform: scale(1.08); }
.jstep.is-active .jstep__card { opacity: 1; transform: none; box-shadow: var(--shadow); }
.jstep.is-active .jstep__num { transform: scale(1.3); }

/* =========================
   15. LEARNING ENVIRONMENT
========================= */
.env { overflow: hidden; }
.env__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.env__content p { color: var(--muted); margin-bottom: 28px; }
.env__centres { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.env__centres li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); font-family: var(--font-head); font-weight: 700; color: var(--secondary); transition: transform .4s var(--ease), box-shadow .4s; }
.env__centres li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.env__centres i { color: var(--primary); }
.env__centres small { width: 100%; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 13px; padding-left: 22px; }
.env__collage { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.env__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.env__img img { width: 100%; height: 100%; object-fit: cover; }
.env__img--1 { grid-row: span 2; aspect-ratio: 4 / 4.6; }
.env__img--2, .env__img--3 { aspect-ratio: 4 / 3; }
.env__img--3 { transition-delay: .2s; }
.env-tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 100px; background: #fff; box-shadow: var(--shadow); font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--secondary); }
.env-tag i { color: var(--primary); }
.env-tag--1 { top: 8%; left: -20px; }
.env-tag--2 { top: 44%; left: 44%; background: var(--secondary); color: #fff; }
.env-tag--2 i { color: var(--accent); }
.env-tag--3 { bottom: 6%; left: 10%; }
.env-tag--4 { top: -14px; right: 8%; background: var(--primary); color: #fff; }
.env-tag--4 i { color: #fff; }

/* =========================
   16. PATHWAYS
========================= */
.paths__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.path-card {
    --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
    position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; isolation: isolate; color: #fff;
    clip-path: inset(0 0 0 0 round 26px);
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(0);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease), clip-path 1.2s var(--ease-in-out);
}
.path-card.is-tilting { transition: transform .15s linear, box-shadow .6s var(--ease), clip-path 1.2s var(--ease-in-out); }
.path-card:hover { box-shadow: 0 30px 60px -24px rgba(15,42,61,.55); }
.path-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease), filter .6s; }
.path-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,24,34,.05) 20%, rgba(10,24,34,.88) 100%); transition: background .6s; }
.path-card::before { /* cursor-following glare */
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255,255,255,.22), transparent 55%);
    opacity: 0; transition: opacity .5s;
}
.path-card:hover::before { opacity: 1; }
.path-card:hover img { transform: scale(1.1); filter: saturate(1.1); }
.path-card:hover::after { background: linear-gradient(180deg, rgba(46,125,78,.2) 0%, rgba(10,24,34,.92) 100%); }

/* Corner arrow ring that spins in on hover */
.path-card__ring {
    position: absolute; z-index: 1; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center; color: #fff; font-size: 13px;
    background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3);
    transform: scale(.6) rotate(-90deg); opacity: 0; transition: transform .6s var(--ease), opacity .4s, background .4s, color .4s;
}
.path-card__ring i { transform: rotate(-45deg); }
.path-card:hover .path-card__ring { transform: none; opacity: 1; background: #fff; color: var(--secondary); }

.path-card__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 26px; transform: translateY(34px); transition: transform .6s var(--ease); }
.path-card:hover .path-card__body { transform: none; }
.path-card__body span { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 13px; color: #8FD6AA; letter-spacing: .1em; }
.path-card__body span::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: width .6s var(--ease); }
.path-card:hover .path-card__body span::after { width: 46px; }
.path-card h3 { color: #fff; font-size: 22px; margin: 6px 0 8px; }
.path-card p { font-size: 14px; color: rgba(255,255,255,.8); }
.path-card__body i { margin-top: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--secondary); font-size: 13px; opacity: 0; transform: translateX(-10px); transition: all .6s var(--ease); }
.path-card:hover .path-card__body i { opacity: 1; transform: none; }

/* Scroll reveal: wipe up, image settles, text rises in sequence (JS adds .is-ready / .is-in) */
.paths__grid.is-ready .path-card:not(.is-in) { clip-path: inset(100% 0 0 0 round 26px); }
.paths__grid.is-ready .path-card:not(.is-in) img { transform: scale(1.35); }
.paths__grid.is-ready .path-card__body > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.paths__grid.is-ready .path-card.is-in .path-card__body > * { opacity: 1; transform: none; }
.paths__grid.is-ready .path-card.is-in .path-card__body > :nth-child(1) { transition-delay: calc(var(--d, 0ms) + .55s); }
.paths__grid.is-ready .path-card.is-in .path-card__body > :nth-child(2) { transition-delay: calc(var(--d, 0ms) + .65s); }
.paths__grid.is-ready .path-card.is-in .path-card__body > :nth-child(3) { transition-delay: calc(var(--d, 0ms) + .75s); }
.paths__grid.is-ready .path-card.is-in .path-card__body > i { opacity: 0; transform: translateX(-10px); }
.paths__grid.is-ready .path-card.is-in:hover .path-card__body > i { opacity: 1; transform: none; transition-delay: 0s; }
.paths__grid.is-ready .path-card.is-done .path-card__body > * { transition-delay: 0s; }
.paths__grid.is-ready .path-card.is-in:not(.is-done),
.paths__grid.is-ready .path-card.is-in:not(.is-done) img { transition-delay: var(--d, 0ms); }

/* =========================
   17. TESTIMONIALS
========================= */
.testimonials { overflow: hidden; }
.t-circle { position: absolute; border-radius: 50%; border: 1.5px solid rgba(62,155,99,.18); pointer-events: none; animation: spin 50s linear infinite; }
.t-circle--1 { width: 520px; height: 520px; top: -160px; left: -180px; border-style: dashed; }
.t-circle--2 { width: 380px; height: 380px; bottom: -140px; right: -100px; background: radial-gradient(circle, rgba(244,182,63,.12), transparent 70%); border: 0; }
.testimonials .section-head { margin-bottom: 32px; }

/* Voice picker */
.t-voices { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.t-voice {
    display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 100px; text-align: left;
    background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s;
}
.t-voice .avatar { width: 42px; height: 42px; font-size: 13px; filter: grayscale(1); opacity: .6; transition: filter .5s, opacity .5s, transform .5s var(--ease); }
.t-voice__txt strong { display: block; font-family: var(--font-head); font-size: 14px; color: var(--secondary); line-height: 1.2; }
.t-voice__txt small { font-size: 12px; color: var(--muted); }
.t-voice:hover { transform: translateY(-3px); box-shadow: var(--shadow), inset 0 0 0 1px var(--border); }
.t-voice:hover .avatar { filter: none; opacity: 1; }
.t-voice.is-active { background: var(--secondary); box-shadow: 0 16px 34px -16px rgba(15,42,61,.7); }
.t-voice.is-active .avatar { filter: none; opacity: 1; transform: scale(1.06); }
.t-voice.is-active strong { color: #fff; }
.t-voice.is-active small { color: #8FD6AA; }

/* Slider: centred card with neighbours peeking */
.t-slider { overflow: visible; padding: 12px 0 8px; }
.t-slider .swiper-slide { width: min(820px, 86vw); height: auto; }
.t-card {
    position: relative; height: 100%; background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 56px) clamp(24px, 3.5vw, 36px);
    box-shadow: var(--shadow); text-align: center; overflow: hidden; isolation: isolate;
    transform: scale(.88); opacity: .4; filter: blur(1.5px);
    transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s var(--ease), box-shadow .9s var(--ease);
}
.swiper-slide-active .t-card { transform: none; opacity: 1; filter: none; box-shadow: var(--shadow-lg); }
.t-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.swiper-slide-active .t-card::before { transform: scaleX(1); }
.t-card::after { /* soft corner glow */
    content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; right: -120px; bottom: -160px; border-radius: 50%;
    background: radial-gradient(circle, rgba(62,155,99,.14), transparent 70%);
}
.t-card__quote { position: absolute; z-index: -1; left: 50%; top: 10px; translate: -50% 0; font-family: var(--font-serif); font-size: 260px; line-height: 1; color: var(--primary); opacity: .07; pointer-events: none; }
.t-card__mark {
    display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; margin-bottom: 16px;
    background: var(--grad-brand); color: #fff; font-size: 22px; box-shadow: 0 16px 30px -12px rgba(62,155,99,.7);
    transform: rotate(-8deg) scale(.6); opacity: 0; transition: transform .8s var(--ease) .15s, opacity .5s .15s;
}
.swiper-slide-active .t-card__mark { transform: rotate(-8deg); opacity: 1; animation: floatY 5s ease-in-out 1s infinite; }
.t-card blockquote, .t-card figcaption { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.swiper-slide-active .t-card blockquote { opacity: 1; transform: none; transition-delay: .3s; }
.swiper-slide-active .t-card figcaption { opacity: 1; transform: none; transition-delay: .5s; }
.t-card blockquote { font-family: var(--font-head); font-size: clamp(19px, 2.4vw, 26px); font-weight: 600; line-height: 1.5; color: var(--secondary); margin: 0 auto 22px; max-width: 680px; letter-spacing: -.01em; }
.t-card figcaption { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.t-card figcaption strong { display: block; font-family: var(--font-head); color: var(--secondary); }
.t-card figcaption small { color: var(--muted); }
.t-avatar { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0; }
.t-avatar::before { /* spinning gradient ring */
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: conic-gradient(from var(--angle, 0deg), var(--primary), var(--accent), transparent 70%, var(--primary));
    -webkit-mask: radial-gradient(circle, transparent 66%, #000 67%); mask: radial-gradient(circle, transparent 66%, #000 67%);
    animation: spinAngle 4s linear infinite;
}

/* Nav + timed pagination */
.t-slider__nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; }
.t-pagination { display: flex; gap: 8px; width: auto !important; }
.t-pagination .swiper-pagination-bullet { position: relative; overflow: hidden; width: 10px; height: 10px; background: rgba(15,42,61,.18); opacity: 1; margin: 0 !important; transition: width .4s var(--ease), background .4s; border-radius: 10px; }
.t-pagination .swiper-pagination-bullet-active { width: 44px; background: var(--primary-100); }
.t-pagination .swiper-pagination-bullet::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--primary); transform: scaleX(0); transform-origin: left; }
.t-pagination .swiper-pagination-bullet-active::after { animation: bulletFill var(--t-delay, 7s) linear forwards; }
.t-slider.is-paused .t-pagination .swiper-pagination-bullet-active::after { animation-play-state: paused; }

/* =========================
   18. FAQ
========================= */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq__intro { position: sticky; top: 120px; }
.faq__intro p { color: var(--muted); margin-bottom: 28px; }
.faq__list { display: grid; gap: 14px; }
.faq-item { border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: background .4s, border-color .4s, box-shadow .4s; }
.faq-item:hover { border-color: rgba(62,155,99,.35); }
.faq-item.is-open { border-color: rgba(62,155,99,.35); box-shadow: var(--shadow); }
.faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--secondary); }
.faq-item__icon { position: relative; width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--border); transition: transform .5s var(--ease), background .4s; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--secondary); border-radius: 2px; transition: background .4s; }
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-item__icon { transform: rotate(135deg); background: var(--primary); }
.faq-item.is-open .faq-item__icon::before, .faq-item.is-open .faq-item__icon::after { background: #fff; }
.faq-item__a { height: 0; overflow: hidden; transition: height .5s var(--ease); }
.faq-item__a p { padding: 0 26px 24px; color: var(--muted); }

/* =========================
   19. CTA
========================= */
.cta { padding: 0 0 clamp(56px, 7vw, 88px); }
.cta__box { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(36px, 5vw, 60px) clamp(24px, 5vw, 64px); background: var(--secondary); isolation: isolate; }
.cta__content .eyebrow { margin-bottom: 12px; }
.cta__content .section-title { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 14px; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .22; mix-blend-mode: luminosity; animation: kenBurns 20s ease-in-out infinite alternate; }
.cta__box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 100% 0%, rgba(62,155,99,.6), transparent 60%), linear-gradient(120deg, rgba(10,24,34,.95) 30%, rgba(10,24,34,.5)); }
.cta__nodes { position: absolute; right: 0; bottom: 0; width: min(600px, 60%); opacity: .6; z-index: -1; }
.cta__nodes path { fill: none; stroke: #8FD6AA; stroke-width: 1.5; stroke-dasharray: 6 8; animation: dashFlow 20s linear infinite; }
.cta__nodes circle { fill: var(--accent); animation: pulseDot 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.cta__content { max-width: 640px; position: relative; }
.cta__content p { color: #B9C8D0; font-size: 17px; margin-bottom: 24px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.cta__quick { display: flex; gap: 12px; }
.cta__quick a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.2); transition: background .3s, transform .4s var(--ease); }
.cta__quick a:hover { background: var(--primary); transform: translateY(-4px); }

/* =========================
   20. CONTACT
========================= */
.contact { padding-top: 0; }
.contact__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 20px; }
.contact-card { position: relative; padding: 26px 24px; border-radius: 24px; background: var(--light); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, background .5s; display: flex; flex-direction: column; }
.contact__grid .contact-card:hover { transform: translateY(-8px); background: #fff; box-shadow: var(--shadow); }
.contact-card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 20px; color: #fff; background: var(--grad-brand); margin-bottom: 22px; transition: transform .5s var(--ease); }
.contact-card:hover .contact-card__icon { transform: rotate(-8deg) scale(1.08); }
.contact-card--wa .contact-card__icon { background: #25D366; }
.contact-card h3 { font-size: 20px; margin-bottom: 10px; }
.contact-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.contact-card p strong { color: var(--secondary); }
.contact-card .link-arrow { margin-top: auto; font-size: 15px; white-space: nowrap; word-break: normal; }

/* =========================
   21. FOOTER
========================= */
.footer { position: relative; background: var(--dark); color: #9FB0BA; padding: 64px 0 0; overflow: hidden; }
.footer__pattern { position: absolute; inset: 0; opacity: .6; background-image: radial-gradient(rgba(143,214,170,.12) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(180deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); pointer-events: none; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 48px; padding-bottom: 44px; }
.footer__logo {
    display: inline-flex; align-items: center; margin-bottom: 20px; padding: 10px 18px; border-radius: 16px;
    background: #fff; box-shadow: 0 12px 30px -14px rgba(0,0,0,.6);
    transition: transform .4s var(--ease);
}
.footer__logo:hover { transform: translateY(-3px); }
.footer__logo img { height: 52px; width: auto; mix-blend-mode: multiply; }
.footer__brand p { font-size: 15px; margin-bottom: 24px; max-width: 320px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; transition: background .3s, transform .4s var(--ease); }
.footer__social a:hover { background: var(--primary); transform: translateY(-4px); }
.footer__title { color: #fff; font-size: 17px; margin-bottom: 22px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { position: relative; font-size: 15px; transition: color .3s, padding .3s var(--ease); }
.footer__links a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1.5px; background: var(--primary); transition: width .3s var(--ease); }
.footer__links a:hover { color: #fff; padding-left: 18px; }
.footer__links a:hover::before { width: 12px; }
.footer__contact { display: grid; gap: 14px; font-size: 15px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact i { color: #8FD6AA; margin-top: 5px; }
.footer__contact a { word-break: break-word; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.footer__bottom a { color: #fff; transition: color .3s; }
.footer__bottom a:hover { color: #8FD6AA; }

/* =========================
   22. BACK TO TOP
========================= */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); color: var(--secondary); opacity: 0; visibility: hidden; transform: translateY(20px) scale(.8); transition: all .5s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--secondary); color: #fff; }
.to-top svg { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 3; }
.to-top__track { stroke: var(--border); }
.to-top__ring { stroke: var(--primary); stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; }
.to-top i { transition: transform .4s var(--ease); }
.to-top:hover i { transform: translateY(-3px); }

/* =========================
   23. CUSTOM CURSOR
========================= */
.cursor { display: none; }
.has-cursor .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 3000; pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    background: var(--primary); mix-blend-mode: normal;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s;
}
.has-cursor .cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(62,155,99,.18); box-shadow: inset 0 0 0 1.5px var(--primary); }
.has-cursor .cursor.is-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--secondary); box-shadow: none; }
.cursor__label { font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .25s; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-hidden { opacity: 0; }

/* =========================
   24. KEYFRAMES
========================= */
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes blobMove { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(40px, 30px) scale(1.12); } }
@keyframes dashFlow { to { stroke-dashoffset: -600; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes kenBurns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes scrollLine { 0% { top: -40%; } 100% { top: 100%; } }
@keyframes bulletFill { to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: .7; } }
@keyframes drawStroke { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes chatDot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes spinAngle { to { --angle: 360deg; } }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* =========================
   25. RESPONSIVE
========================= */
@media (max-width: 1200px) {
    .nav__link { padding: 10px 10px; font-size: 14.5px; }
    .header__inner { gap: 20px; }
    .float-card--a { left: -20px; }
    .float-card--b { right: -16px; }
    .contact__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
    .nav, .header__cta { display: none; }
    .burger { display: block; }
    .hide-md { display: none !important; }
}

@media (max-width: 1023px) {
    .hero__inner { grid-template-columns: 1fr; gap: 48px; padding-top: 30px; text-align: left; }
    .hero__visual { width: min(100%, 440px); max-height: none; }
    .scroll-ind { display: none; }
    .highlights__grid { grid-template-columns: repeat(2, 1fr); }
    .hl:nth-child(3)::before { display: none; }
    .hl:nth-child(n+3) { border-top: 1px solid var(--border); }
    .about__grid, .env__grid, .faq__grid { grid-template-columns: 1fr; }
    .about__media { max-width: 560px; }
    .faq__intro { position: static; }
    .why__grid { grid-template-columns: repeat(2, 1fr); }
    .paths__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }

    /* Programs: stage hidden, each row shows its own image */
    .prog__grid { grid-template-columns: 1fr; }
    .prog__stage { display: none; }
    .prog__thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; margin-bottom: 18px; }

    /* Services: vertical interactive cards */
    .services__stage { grid-template-columns: 1fr; padding: 0 24px; gap: 40px; max-width: var(--container); }
    .journey-ui, .services__counter { display: none; }
    .services__viewport { overflow: visible; padding: 0; mask-image: none; -webkit-mask-image: none; }
    .services__track { flex-direction: column; padding: 0; gap: 24px; transform: none !important; }
    .svc-card { flex: none; width: 100%; display: grid; grid-template-columns: 1fr 1.2fr; opacity: 0; transform: translateY(50px) scale(.96); transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .4s; }
    .svc-card .svc-card__media { aspect-ratio: auto; height: 100%; clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease) .15s; }
    .svc-card.is-in { opacity: 1; transform: none; }
    .svc-card.is-in .svc-card__media { clip-path: inset(0 0 0 0); }
}

@media (max-width: 767px) {
    :root { --header-h: 70px; }
    .container { padding: 0 16px; }
    .services__stage { padding: 0 16px; }
    .hide-sm { display: none !important; }
    .topbar__welcome { display: none; }
    .topbar__inner { justify-content: space-between; }
    .logo img { height: 48px; }
    .logo .wordmark { font-size: 42px; }

    .hero__title { font-size: clamp(36px, 10.5vw, 52px); }
    .hero__ctas .btn { flex: 1 1 auto; }
    .hero__visual { width: 100%; max-width: 380px; aspect-ratio: 1 / 1.05; }
    .float-card { padding: 10px 12px; border-radius: 14px; gap: 10px; }
    .float-card__icon { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }
    .float-card strong { font-size: 13px; }
    .float-card small { font-size: 11px; }
    .float-card--a { left: -6px; top: 8%; }
    .float-card--b { right: -6px; bottom: 12%; }
    .skill-card { min-width: 170px; }
    .chip { font-size: 12px; padding: 8px 14px; }
    .hero__controls { padding-bottom: 24px; }
    .round-btn { width: 44px; height: 44px; }

    .highlights__grid { grid-template-columns: 1fr 1fr; border-radius: 24px; }
    .hl { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 18px; }
    .hl__icon { width: 46px; height: 46px; font-size: 17px; border-radius: 14px; }
    .hl__num { font-size: 22px; }

    .about__media { padding: 0 8% 16% 0; }
    .about__card { left: -6px; max-width: 200px; padding: 16px; bottom: 24%; }
    .about__card p { font-size: 13.5px; }
    .about__circle { width: 110px; top: -30px; }
    .about__list { grid-template-columns: 1fr; }

    .section-head--split { flex-direction: column; align-items: flex-start; }
    .why__grid { grid-template-columns: 1fr; }

    /* Programs: compact accordion */
    .prog__head-row { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
    .prog__intro { max-width: none; }
    .prog__btn { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 12px; padding: 18px 16px; }
    .prog__num { font-size: 13px; }
    .prog__toggle { width: 38px; height: 38px; font-size: 12px; }
    .prog__item::after { left: 16px; right: 16px; }
    .prog__item:hover:not(.is-active) .prog__titles { transform: none; }
    .prog__panel-body { padding: 0 16px 20px; }
    .prog__thumb { border-radius: 14px; margin-bottom: 14px; }
    .prog__cta { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; border-radius: 24px; }
    .prog__cta .btn { width: 100%; }

    .svc-card { grid-template-columns: 1fr; }
    .svc-card .svc-card__media { aspect-ratio: 16 / 9; clip-path: inset(0 0 100% 0); }

    .jstep { grid-template-columns: 64px 1fr; gap: 18px; }
    .jstep__marker { grid-column: 1; width: 52px; height: 52px; font-size: 17px; }
    .jstep:nth-child(odd) .jstep__card, .jstep:nth-child(even) .jstep__card { grid-column: 2; text-align: left; }
    .jstep:nth-child(odd) .jstep__num { transform-origin: left; }
    .jstep__card { padding: 22px; }
    .journey__svg { left: 32px; width: 60px; }

    .env__centres { grid-template-columns: 1fr; }
    .env-tag { font-size: 12px; padding: 8px 12px; }
    .env-tag--1 { left: 0; }
    .paths__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .path-card { border-radius: 20px; }
    .path-card__body { padding: 16px; transform: none; }
    .path-card h3 { font-size: 16px; }
    .path-card p { display: none; }
    .path-card__body i, .path-card__ring { display: none; }

    .t-voice { padding-right: 14px; }
    .t-voice .avatar { width: 36px; height: 36px; font-size: 12px; }
    .t-voice__txt small { display: none; }
    .t-slider .swiper-slide { width: 100%; }
    .t-card { transform: none; filter: none; }
    .t-card__quote { font-size: 180px; }

    .cta__box { border-radius: 28px; }
    .cta__btns .btn { flex: 1 1 auto; }
    .contact__grid, .footer__grid { grid-template-columns: 1fr; }
    .footer__grid { gap: 36px; }
    .to-top { right: 16px; bottom: 16px; width: 50px; height: 50px; }
}

@media (max-width: 380px) {
    .hero__ctas { flex-direction: column; }
    .highlights__grid { grid-template-columns: 1fr; }
    .hl::before { display: none; }
    .hl + .hl { border-top: 1px solid var(--border); }
    .float-card--b { display: none; }
    .paths__grid { grid-template-columns: 1fr; }
}

/* =========================
   26. REDUCED MOTION
========================= */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
    .line > span, .hero__title .line > span { transform: none !important; opacity: 1 !important; }
    .reveal-clip img, .reveal-clip.is-in img { clip-path: none; transform: none; }
    .prog__blob, .prog__seal svg, .prog__cta-icon i { animation: none; }
    .reveal-slide, .reveal-pop, .svc-card, .jstep__card { opacity: 1 !important; transform: none !important; translate: none !important; scale: none !important; }
    .svc-card .svc-card__media { clip-path: none !important; }
    .marquee__track { animation: none; }
}

/* Persistent WhatsApp contact action shared by the public pages. */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-height: 58px;
    padding: 0 20px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    background: #20b96b;
    box-shadow: 0 12px 32px rgba(13, 93, 53, .28), 0 3px 9px rgba(15, 42, 61, .14);
    color: #fff;
    font: 700 14px/1 Inter, "Segoe UI", sans-serif;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover {
    transform: translateY(-3px);
    background: #159b57;
    box-shadow: 0 16px 36px rgba(13, 93, 53, .34), 0 4px 10px rgba(15, 42, 61, .15);
    color: #fff;
}
.whatsapp-float:focus-visible { outline: 3px solid #0f2a3d; outline-offset: 4px; }
.whatsapp-float__icon { font-size: 25px; line-height: 1; }
.whatsapp-float__label { white-space: nowrap; }
@media (max-width: 767px) {
    .whatsapp-float { right: 16px; bottom: 16px; min-height: 54px; padding: 0 17px; }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-float { transition: none; } }

/* ==========================================================================
   27. INNER PAGES — shared page hero, enquiry form & page components
   ========================================================================== */

/* ---------- Page hero ---------- */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px);
    background: radial-gradient(120% 90% at 85% 0%, #E3F3E8 0%, #F5F9F5 45%, #fff 100%);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.page-hero__bg::before { /* dotted grid */
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(15,42,61,.10) 1.2px, transparent 1.6px); background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 10%, transparent 70%);
            mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 10%, transparent 70%);
}
.page-hero__bg .blob--1 { top: -160px; right: -60px; }
.page-hero__bg .blob--2 { bottom: -160px; left: 20%; }
.page-hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero__title { font-size: clamp(36px, 5.4vw, 70px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; margin-bottom: 20px; }
.page-hero__title em { color: var(--primary); }
.page-hero__text { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.page-hero__content > * { animation: phRise .9s var(--ease) both; }
.page-hero__content > :nth-child(2) { animation-delay: .08s; }
.page-hero__content > :nth-child(3) { animation-delay: .16s; }
.page-hero__content > :nth-child(4) { animation-delay: .24s; }
.page-hero__content > :nth-child(5) { animation-delay: .32s; }
@keyframes phRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.crumbs { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 16px 7px 8px; border-radius: 100px; background: rgba(255,255,255,.8); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border); font-size: 13px; font-weight: 600; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; gap: 8px; color: var(--secondary); transition: color .3s; }
.crumbs a i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-100); color: var(--primary); font-size: 11px; }
.crumbs a:hover { color: var(--primary); }
.crumbs > i { font-size: 9px; opacity: .6; }
.crumbs span { color: var(--primary-600); }

/* Orbit visual (no photos — animated icon system) */
.orbit { position: relative; width: min(100%, 480px); aspect-ratio: 1; margin-inline: auto; animation: phRise 1.1s var(--ease) .2s both; }
.orbit__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(62,155,99,.3); animation: spin 60s linear infinite; }
.orbit__ring--2 { inset: 17%; border-style: solid; border-color: rgba(15,42,61,.08); animation-direction: reverse; animation-duration: 40s; }
.orbit__ring--3 { inset: 34%; border: 0; background: radial-gradient(circle, rgba(62,155,99,.18), transparent 70%); animation: pulseDot 4s ease-in-out infinite; }
.orbit__core {
    position: absolute; inset: 36%; border-radius: 32%; display: grid; place-items: center;
    background: var(--grad-brand); color: #fff; font-size: clamp(30px, 4vw, 46px);
    box-shadow: 0 30px 60px -20px rgba(62,155,99,.7), inset 0 0 0 6px rgba(255,255,255,.15);
    animation: floatY 6s ease-in-out infinite;
}
.orbit__track { position: absolute; inset: 0; animation: spin 36s linear infinite; }
.orbit__track--inner { inset: 17%; animation-duration: 26s; animation-direction: reverse; }
.orbit__dot {
    --r: 50%;
    position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px;
    transform: rotate(var(--a)) translateY(calc(var(--orbit-r, 240px) * -1)) rotate(calc(var(--a) * -1));
}
.orbit__dot i {
    width: 100%; height: 100%; border-radius: 18px; display: grid; place-items: center; font-size: 20px;
    background: #fff; color: var(--primary); box-shadow: var(--shadow), inset 0 0 0 1px var(--border);
    animation: spin 36s linear infinite reverse;
}
.orbit__track--inner .orbit__dot { transform: rotate(var(--a)) translateY(calc(var(--orbit-r, 240px) * -.66)) rotate(calc(var(--a) * -1)); }
.orbit__track--inner .orbit__dot i { animation-duration: 26s; animation-direction: normal; color: var(--secondary); }
.orbit__dot--accent i { background: var(--accent-soft); color: #C98A12; }
.orbit__dot--dark i { background: var(--secondary); color: #8FD6AA; }
.orbit .float-card { z-index: 3; }
.orbit .float-card--a { left: -6%; top: 10%; }
.orbit .float-card--b { right: -6%; bottom: 8%; }

/* ---------- Generic section bits for inner pages ---------- */
.lead-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.lead-split p { color: var(--muted); margin-bottom: 16px; }
.check-list { display: grid; gap: 12px; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--secondary); }
.check-list i { margin-top: 4px; color: var(--primary); }

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--secondary); box-shadow: var(--shadow-lg); position: relative; isolation: isolate; }
.stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 0% 0%, rgba(62,155,99,.45), transparent 60%), radial-gradient(50% 120% at 100% 100%, rgba(31,111,139,.4), transparent 60%); }
.stat { padding: clamp(24px, 3vw, 36px); text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(255,255,255,.12); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; color: #fff; line-height: 1.1; }
.stat > span { font-size: 14px; color: #A9BCC6; }

/* Value / feature tiles (light) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
    --mx: 50%; --my: 50%;
    position: relative; overflow: hidden; isolation: isolate; padding: 30px 28px; border-radius: 24px;
    background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(62,155,99,.12), transparent 60%); opacity: 0; transition: opacity .4s; }
.tiles .tile:hover, .bento .tile:hover { transform: translateY(-8px); box-shadow: var(--shadow), inset 0 0 0 1px rgba(62,155,99,.25); }
.tile:hover::before { opacity: 1; }
.tile__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; font-size: 21px; color: var(--primary); background: var(--primary-100); transition: transform .5s var(--ease), background .4s, color .4s; }
.tile:hover .tile__icon { transform: rotate(-8deg) scale(1.08); background: var(--grad-brand); color: #fff; }
.tile__num { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-weight: 800; font-size: 40px; color: rgba(15,42,61,.05); transition: color .4s; }
.tile:hover .tile__num { color: rgba(62,155,99,.16); }
.tile h3 { font-size: 19px; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 15px; }

/* Founder spotlight */
.founder { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.founder__media { position: relative; }
.founder__photo { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); background: var(--light); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.founder__media:hover .founder__photo img { transform: scale(1.05); }
.founder__badge { position: absolute; right: -18px; bottom: 28px; padding: 16px 20px; border-radius: 20px; background: var(--secondary); color: #fff; box-shadow: var(--shadow-lg); animation: floatY 6s ease-in-out infinite; }
.founder__badge strong { display: block; font-family: var(--font-head); font-size: 17px; }
.founder__badge small { color: #8FD6AA; }
.founder__ring { position: absolute; top: -26px; left: -26px; width: 120px; height: 120px; border-radius: 50%; border: 2px dashed rgba(62,155,99,.45); animation: spin 30s linear infinite; z-index: -1; }
.founder blockquote { font-family: var(--font-head); font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; line-height: 1.45; color: var(--secondary); margin-bottom: 22px; }
.founder blockquote em { color: var(--primary); font-size: 1.1em; }
.founder p { color: var(--muted); margin-bottom: 14px; }
.founder__sign { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.founder__sign strong { display: block; font-family: var(--font-head); color: var(--secondary); }
.founder__sign small { color: var(--muted); }

/* ---------- Courses page ---------- */
.cfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.cfilter__btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 100px; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--secondary); background: #fff; box-shadow: inset 0 0 0 1px var(--border); transition: background .35s, color .35s, box-shadow .35s, transform .35s var(--ease); }
.cfilter__btn b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 100px; display: inline-grid; place-items: center; font-size: 11px; background: var(--light); color: var(--muted); transition: inherit; }
.cfilter__btn:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--primary); }
.cfilter__btn.is-active { background: var(--secondary); color: #fff; box-shadow: 0 12px 24px -12px rgba(15,42,61,.7); }
.cfilter__btn.is-active b { background: rgba(255,255,255,.16); color: #fff; }

.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ccard {
    --mx: 50%; --my: 50%;
    position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; scroll-margin-top: 120px;
    border-radius: 28px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border);
    transition: transform .55s var(--ease), box-shadow .55s var(--ease), opacity .45s var(--ease), scale .45s var(--ease);
}
/* .cgrid prefix = same specificity as AOS's [data-aos].aos-animate rules, and this file loads later */
.cgrid .ccard:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -26px rgba(62,155,99,.45), inset 0 0 0 1px rgba(62,155,99,.25); }
.cgrid .ccard.is-hiding { opacity: 0; scale: .92; }
.ccard.is-hidden { display: none; }
.ccard.is-target { animation: targetPulse 1.6s var(--ease) 2; }
@keyframes targetPulse { 50% { box-shadow: 0 0 0 6px rgba(62,155,99,.35), var(--shadow); } }
.ccard__head {
    position: relative; padding: 26px 26px 54px; color: #fff;
    background: var(--ch, var(--grad-brand));
}
.ccard__head::before { /* pattern */
    content: ""; position: absolute; inset: 0; opacity: .25;
    background-image: radial-gradient(rgba(255,255,255,.6) 1px, transparent 1.4px); background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000); mask-image: linear-gradient(120deg, transparent 30%, #000);
}
.ccard__head::after { /* glare following cursor */
    content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx) var(--my), rgba(255,255,255,.28), transparent 60%); opacity: 0; transition: opacity .4s;
}
.ccard:hover .ccard__head::after { opacity: 1; }
.ccard__badge { position: relative; display: inline-flex; padding: 5px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.ccard__num { position: absolute; right: 22px; top: 12px; font-family: var(--font-head); font-weight: 800; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.45); transition: transform .6s var(--ease), color .6s; }
.ccard:hover .ccard__num { color: rgba(255,255,255,.18); transform: translateY(-4px) rotate(-4deg); }
.ccard__icon {
    position: absolute; left: 26px; bottom: -28px; z-index: 2; width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center;
    background: #fff; color: var(--primary); font-size: 22px; box-shadow: 0 14px 30px -12px rgba(15,42,61,.4);
    transition: transform .6s var(--ease);
}
.ccard:hover .ccard__icon { transform: rotate(-10deg) scale(1.08); }
.ccard__body { display: flex; flex-direction: column; flex: 1; padding: 44px 26px 24px; }
.ccard__body h3 { font-size: 21px; margin-bottom: 8px; }
.ccard__body p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.ccard__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 18px; font-size: 13px; color: var(--secondary); font-weight: 500; }
.ccard__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ccard__meta i { color: var(--primary); font-size: 12px; }
.ccard__cta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px dashed var(--border); font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--secondary); }
.ccard__cta span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--secondary); color: #fff; font-size: 13px; transition: background .4s, transform .5s var(--ease), box-shadow .5s; }
.ccard__cta span i { transform: rotate(-45deg); transition: transform .5s var(--ease); }
.ccard:hover .ccard__cta span { background: var(--primary); transform: scale(1.08); box-shadow: 0 0 0 6px var(--primary-100); }
.ccard:hover .ccard__cta span i { transform: none; }
.ccard--ib        { --ch: linear-gradient(135deg, #3E9B63, #1F6F8B); }
.ccard--cambridge { --ch: linear-gradient(135deg, #0F2A3D, #2A6F8C); }
.ccard--gcse      { --ch: linear-gradient(135deg, #2E7D4E, #6BBF8A); }
.ccard--american  { --ch: linear-gradient(135deg, #1F4E79, #3E9B63); }
.ccard--ap        { --ch: linear-gradient(135deg, #F28C4B, #F4B63F); }
.ccard--sat       { --ch: linear-gradient(135deg, #2A8C7A, #0F2A3D); }
.ccard--olympiad  { --ch: linear-gradient(135deg, #C98A12, #F28C4B); }

/* ---------- Services page ---------- */
.srows { display: grid; gap: clamp(28px, 4vw, 48px); }
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.srow:nth-child(even) .srow__art { order: 2; }
.srow__art {
    position: relative; aspect-ratio: 5 / 4; border-radius: 32px; overflow: hidden; isolation: isolate;
    display: grid; place-items: center; background: var(--sa, var(--secondary));
    box-shadow: var(--shadow-lg);
}
.srow__art::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.6px); background-size: 24px 24px; }
.srow__art::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(143,214,170,.4), transparent 65%); animation: pulseDot 5s ease-in-out infinite; }
.srow__img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.srow__art:has(.srow__img)::before { z-index: 0; background: linear-gradient(180deg, rgba(10,24,34,.05) 40%, rgba(10,24,34,.45)); }
.srow__art:has(.srow__img)::after, .srow__art:has(.srow__img) .srow__big { display: none; }
.srow__big { width: 34%; aspect-ratio: 1; border-radius: 30%; display: grid; place-items: center; font-size: clamp(36px, 5vw, 60px); color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); animation: floatY 6s ease-in-out infinite; }
.srow__chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 100px; font-family: var(--font-head); font-size: 13.5px; font-weight: 700; color: var(--secondary); background: #fff; box-shadow: var(--shadow); animation: floatY 7s ease-in-out infinite; }
.srow__chip i { color: var(--primary); }
.srow__chip--1 { top: 12%; left: 8%; }
.srow__chip--2 { bottom: 14%; right: 8%; animation-delay: -3s; }
.srow__chip--3 { top: 18%; right: 10%; animation-delay: -5s; background: var(--accent); }
.srow__chip--3 i { color: var(--secondary); }
.srow__num { font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: .14em; color: var(--primary); }
.srow h3 { font-size: clamp(26px, 3vw, 38px); margin: 8px 0 14px; }
.srow p { color: var(--muted); margin-bottom: 8px; }
.srow--1 { --sa: linear-gradient(135deg, #0F2A3D, #1F6F8B); }
.srow--2 { --sa: linear-gradient(135deg, #2E7D4E, #3E9B63); }
.srow--3 { --sa: linear-gradient(135deg, #1F4E79, #2A8C7A); }
.srow--4 { --sa: linear-gradient(135deg, #C98A12, #F28C4B); }
.srow--5 { --sa: linear-gradient(135deg, #0A1822, #2E7D4E); }

/* Format comparison */
.compare { overflow-x: auto; border-radius: 28px; background: #fff; box-shadow: var(--shadow), inset 0 0 0 1px var(--border); }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15px; }
.compare thead th { font-family: var(--font-head); font-size: 16px; color: var(--secondary); background: var(--light); }
.compare thead th i { color: var(--primary); margin-right: 8px; }
.compare tbody th { font-family: var(--font-head); font-weight: 600; color: var(--secondary); width: 30%; }
.compare td { color: var(--muted); }
.compare td .fa-check { color: var(--primary); margin-right: 6px; }
.compare tbody tr { transition: background .3s; }
.compare tbody tr:hover { background: var(--primary-100); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* ---------- Why page: bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento .tile { grid-column: span 2; }
.bento .tile--wide { grid-column: span 4; }
.bento .tile--dark { background: var(--secondary); box-shadow: var(--shadow-lg); }
.bento .tile--dark h3 { color: #fff; }
.bento .tile--dark p { color: #A9BCC6; }
.bento .tile--dark .tile__icon { background: rgba(143,214,170,.14); color: #8FD6AA; }
.bento .tile--dark .tile__num { color: rgba(255,255,255,.06); }
.bento .tile--dark::before { background: radial-gradient(300px circle at var(--mx) var(--my), rgba(143,214,170,.18), transparent 60%); }
.bento .tile--wide p { max-width: 520px; }

/* ---------- Team page ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.member { position: relative; text-align: center; }
.member__photo {
    position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; isolation: isolate; margin-bottom: 16px;
    background: linear-gradient(160deg, var(--primary-100), #fff); box-shadow: var(--shadow-sm);
    transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-radius .55s var(--ease);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.92); }
.member__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,24,34,.55)); opacity: 0; transition: opacity .5s; }
.member__tag {
    position: absolute; left: 50%; bottom: 16px; z-index: 2; translate: -50% 20px; opacity: 0;
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; white-space: nowrap;
    font-size: 12px; font-weight: 700; color: var(--secondary); background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
    transition: translate .55s var(--ease), opacity .4s;
}
.member__tag i { color: var(--primary); }
.member:hover .member__photo { transform: translateY(-8px); box-shadow: 0 30px 60px -26px rgba(15,42,61,.45); border-radius: 28px 28px 28px 80px; }
.member:hover .member__photo img { transform: scale(1.07); filter: saturate(1.05); }
.member:hover .member__photo::after { opacity: 1; }
.member:hover .member__tag { translate: -50% 0; opacity: 1; }
.member h3 { font-size: 18px; margin-bottom: 2px; transition: color .3s; }
.member:hover h3 { color: var(--primary-600); }
.member small { color: var(--muted); font-size: 13.5px; }
.member--lead small { color: var(--primary-600); font-weight: 600; }
.team-grid--names { gap: 14px; }
.team-grid--names .member {
    display: grid;
    min-height: 88px;
    align-content: center;
    justify-items: center;
    gap: 4px;
    padding: 16px 12px;
    border: 1px solid rgba(62,155,99,.2);
    border-left: 4px solid var(--primary);
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 22px rgba(15,42,61,.055);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.team-grid--names .member:hover {
    transform: translateY(-4px);
    border-color: rgba(62,155,99,.48);
    background: #fff;
    box-shadow: 0 16px 32px rgba(15,42,61,.1);
}
.team-grid--names .member h3 {
    margin: 0;
    color: var(--secondary);
    font-size: clamp(16px, 1.55vw, 19px);
    font-weight: 750;
    line-height: 1.35;
    letter-spacing: -.025em;
}
.team-grid--names .member:hover h3 { color: var(--primary-600); }
.team-grid--names .member small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}
.team-grid--names .member--lead small { color: var(--primary-600); }

.join { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 44px); border-radius: 32px; background: var(--secondary); position: relative; overflow: hidden; isolation: isolate; }
.join::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 140% at 100% 0%, rgba(62,155,99,.5), transparent 60%); }
.join h3 { color: #fff; font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 6px; }
.join h3 em { color: #8FD6AA; }
.join p { color: #A9BCC6; }

/* ---------- Contact page ---------- */
.centres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.centre {
    position: relative; overflow: hidden; padding: 24px; border-radius: 24px; background: #fff;
    box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border); transition: transform .5s var(--ease), box-shadow .5s;
}
.centres .centre:hover { transform: translateY(-6px); box-shadow: var(--shadow), inset 0 0 0 1px rgba(62,155,99,.3); }
.centre__pin { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; background: var(--grad-brand); font-size: 18px; }
.centre:hover .centre__pin { animation: pinBounce .7s var(--ease); }
@keyframes pinBounce { 30% { transform: translateY(-8px); } 60% { transform: translateY(2px); } }
.centre h3 { font-size: 18px; margin-bottom: 4px; }
.centre p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.map { margin-top: 28px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--light); aspect-ratio: 21 / 8; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25) contrast(1.05); }

/* ---------- Enquiry form ---------- */
.enquiry { scroll-margin-top: 90px; }
.enquiry__wrap { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 36px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--border); }
.enquiry__info { position: relative; overflow: hidden; isolation: isolate; padding: clamp(32px, 4vw, 52px); color: #C9D6DD; background: radial-gradient(120% 120% at 0% 0%, #1B4A3A 0%, var(--secondary) 55%, var(--dark) 100%); }
.enquiry__info::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(143,214,170,.14) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.enquiry__ring { position: absolute; z-index: -1; width: 300px; height: 300px; right: -110px; bottom: -110px; border-radius: 50%; background: conic-gradient(from var(--angle, 0deg), transparent 0 55%, rgba(143,214,170,.55) 75%, rgba(244,182,63,.6) 90%, transparent 100%); -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%); mask: radial-gradient(circle, transparent 62%, #000 63%); animation: spinAngle 7s linear infinite; }
.enquiry__info .section-title { font-size: clamp(28px, 3.2vw, 42px); }
.enquiry__info > p { color: #A9BCC6; margin-bottom: 26px; }
.enquiry__points { display: grid; gap: 14px; margin-bottom: 30px; }
.enquiry__points li { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 500; }
.enquiry__points i { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: rgba(143,214,170,.14); color: #8FD6AA; }
.enquiry__quick { display: grid; gap: 10px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.enquiry__quick a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 15px; transition: color .3s, transform .3s var(--ease); }
.enquiry__quick a i { color: #8FD6AA; width: 18px; }
.enquiry__quick a:hover { color: #8FD6AA; transform: translateX(4px); }

.eform { position: relative; padding: clamp(28px, 4vw, 52px); }
.eform__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.eform__head h3 { font-size: 22px; }
.eform__progress { flex: 0 0 140px; }
.eform__progress small { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.eform__progress b { color: var(--primary); }
.eform__bar { height: 6px; border-radius: 6px; background: var(--light); overflow: hidden; }
.eform__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad-brand); transition: width .6s var(--ease); }
.eform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.eform__full { grid-column: 1 / -1; }

.field { position: relative; }
.field input, .field select, .field textarea {
    width: 100%; padding: 24px 16px 10px; border-radius: 16px; border: 1.5px solid var(--border); background: #fff;
    font: inherit; font-size: 15px; color: var(--secondary); outline: none; appearance: none; -webkit-appearance: none;
    transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { padding-right: 42px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235B6B74' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field label {
    position: absolute; left: 17px; top: 17px; pointer-events: none; font-size: 15px; color: var(--muted);
    transform-origin: left top; transition: transform .3s var(--ease), color .3s, top .3s var(--ease);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; transform: scale(.78); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-100); }
.field input:focus + label, .field select:focus + label, .field textarea:focus + label { color: var(--primary-600); }
.field__icon { position: absolute; right: 16px; top: 20px; color: var(--muted); font-size: 14px; pointer-events: none; transition: color .3s; }
.field input:focus ~ .field__icon { color: var(--primary); }
.field__err { display: block; max-height: 0; overflow: hidden; font-size: 12.5px; color: #C2410C; transition: max-height .3s, margin .3s; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #E9785A; background: #FFF8F5; animation: shake .4s; }
.field.is-invalid .field__err { max-height: 30px; margin-top: 6px; }
.field.is-valid input, .field.is-valid select { border-color: rgba(62,155,99,.55); }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.chips-label { display: block; font-size: 13px; font-weight: 600; color: var(--secondary); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 100px; cursor: pointer;
    font-size: 14px; font-weight: 600; color: var(--secondary); background: #fff; box-shadow: inset 0 0 0 1.5px var(--border);
    transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease);
}
.chip-opt span i { color: var(--primary); transition: color .3s; }
.chip-opt span:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--primary); }
.chip-opt input:checked + span { background: var(--secondary); color: #fff; box-shadow: 0 10px 20px -10px rgba(15,42,61,.7); }
.chip-opt input:checked + span i { color: #8FD6AA; }
.chip-opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.eform__reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease), opacity .4s; opacity: 0; }
.eform__reveal > div { overflow: hidden; min-height: 0; }
.eform__reveal.is-open { grid-template-rows: 1fr; opacity: 1; }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent__box { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; border-radius: 7px; display: grid; place-items: center; color: transparent; font-size: 11px; box-shadow: inset 0 0 0 1.5px var(--border); transition: background .3s, color .3s, box-shadow .3s; }
.consent input:checked + .consent__box { background: var(--primary); color: #fff; box-shadow: none; }
.consent input:focus-visible + .consent__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent.is-invalid .consent__box { box-shadow: inset 0 0 0 1.5px #E9785A; animation: shake .4s; }

.eform__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.eform__actions .btn { min-width: 220px; }
.eform__actions small { color: var(--muted); font-size: 13px; }
.eform__actions small i { color: #25D366; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading span { opacity: .6; }
.btn.is-loading i { animation: spin .8s linear infinite; }

.eform__success {
    position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; text-align: center; padding: 40px;
    background: rgba(255,255,255,.97); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.eform.is-sent .eform__success { opacity: 1; visibility: visible; }
.eform__success svg { width: 96px; height: 96px; margin: 0 auto 18px; }
.eform__success circle { fill: none; stroke: var(--primary-100); stroke-width: 6; }
.eform__success .tick-ring { stroke: var(--primary); stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; }
.eform__success .tick { fill: none; stroke: var(--primary); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.eform.is-sent .tick-ring { animation: drawStroke .8s var(--ease) .1s forwards; }
.eform.is-sent .tick { animation: drawStroke .5s var(--ease) .75s forwards; }
.eform__success h3 { font-size: 26px; margin-bottom: 8px; }
.eform__success p { color: var(--muted); max-width: 380px; margin: 0 auto 22px; }

.eform fieldset { margin: 0; padding: 0; min-width: 0; }
.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; }

/* Header nav: 9 links fit */
.nav__list { gap: 2px; }
.nav__link { padding: 10px 10px; font-size: 14.5px; }
.nav__link::after { left: 10px; right: 10px; }
@media (max-width: 1240px) {
    .nav, .header__cta { display: none; }
    .burger { display: block; }
}

/* ---------- Worksheets ---------- */
.ws-art { position: relative; width: min(100%, 520px); margin-inline: auto; aspect-ratio: 1; display: grid; place-items: center; }
.ws-art::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--primary-100) 70%); box-shadow: inset 0 0 0 1px rgba(62,155,99,.15); }
.ws-art__svg { position: relative; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(15,42,61,.18)); }
.ws-art__pencil { animation: floatY 6s ease-in-out infinite; }
.ws-art__square { animation: floatY 7s ease-in-out infinite -3s; }
.ws-art__spark { animation: floatY 4s ease-in-out infinite -1s; }
.ws-art .float-card { z-index: 2; }
.ws-art .float-card--a { left: -4%; top: 12%; }
.ws-art .float-card--b { right: -4%; bottom: 10%; }

.wsresults { margin: -16px 0 22px; font-size: 14.5px; color: var(--muted); }
.wsresults b { font-family: var(--font-head); font-size: 16px; color: var(--secondary); }
.wsresults span { margin: 0 6px; opacity: .5; }

.cgrid.wslist { grid-template-columns: 1fr; gap: 14px; }
.ccard.wsrow { flex-direction: row; align-items: center; gap: clamp(16px, 2.4vw, 28px); padding: 18px clamp(18px, 2.4vw, 28px) 18px 18px; border-radius: 24px; }
.wsrow__file { position: relative; flex-shrink: 0; width: 72px; height: 84px; border-radius: 18px; display: grid; place-items: center; align-content: center; gap: 6px; color: #fff; font-size: 24px; background: var(--ch, var(--grad-brand)); box-shadow: 0 14px 26px -14px rgba(15,42,61,.6); transition: transform .5s var(--ease); }
.wsrow__file::after { content: ""; position: absolute; top: 0; right: 0; width: 18px; height: 18px; border-radius: 0 18px 0 8px; background: rgba(255,255,255,.3); }
.wsrow__file small { font-family: var(--font-head); font-size: 10px; font-weight: 800; letter-spacing: .14em; opacity: .85; }
.wsrow:hover .wsrow__file { transform: rotate(-6deg) scale(1.05); }
.wsrow__info { flex: 1; min-width: 0; }
.wsrow__label { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-600); }
.wsrow h3 { font-size: clamp(17px, 1.6vw, 20px); margin-bottom: 6px; }
.wsrow__fmt { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13.5px; color: var(--muted); }
.wsrow__fmt span { display: inline-flex; align-items: center; gap: 6px; }
.wsrow__fmt i { color: var(--primary); font-size: 12px; }
.wsrow__btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 100px; font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--secondary); box-shadow: inset 0 0 0 1.5px var(--border); transition: background .35s, color .35s, box-shadow .35s; }
.wsrow__btn i { font-size: 12px; transition: transform .35s var(--ease); }
.wsrow:hover .wsrow__btn { background: var(--primary); color: #fff; box-shadow: 0 12px 24px -12px rgba(62,155,99,.8); }
.wsrow:hover .wsrow__btn i { transform: translateY(2px); }

.ws-share { display: flex; align-items: center; gap: clamp(18px, 3vw, 32px); padding: clamp(24px, 4vw, 40px); border-radius: 32px; background: #fff; border: 2px dashed rgba(62,155,99,.4); }
.ws-share__icon { flex-shrink: 0; width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; font-size: 26px; color: #fff; background: var(--grad-brand); }
.ws-share > div { flex: 1; }
.ws-share h3 { font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 6px; }
.ws-share h3 em { color: var(--primary); }
.ws-share p { color: var(--muted); }

@media (max-width: 1023px) {
    .ws-art { width: min(100%, 420px); }
}
@media (max-width: 767px) {
    .ccard.wsrow { flex-wrap: wrap; }
    .wsrow__file { width: 60px; height: 70px; font-size: 20px; }
    .wsrow__info { flex-basis: calc(100% - 90px); }
    .wsrow__btn { width: 100%; justify-content: center; }
    .cgrid.wslist { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .ws-share { flex-direction: column; align-items: flex-start; }
    .ws-share .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .ws-art__pencil, .ws-art__square, .ws-art__spark { animation: none; }
}

/* ---------- Blog ---------- */
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bcard { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border); transition: transform .55s var(--ease), box-shadow .55s var(--ease); }
.bgrid .bcard { cursor: pointer; }
.bgrid .bcard.is-selected { box-shadow: 0 0 0 2px var(--primary), 0 18px 38px -22px rgba(15,42,61,.38); }
.bgrid .bcard:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -26px rgba(62,155,99,.45), inset 0 0 0 1px rgba(62,155,99,.25); }
.bcard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--light); }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bcard:hover .bcard__img img { transform: scale(1.06); }
.bcard__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.bcard__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.bcard__cat { padding: 4px 11px; border-radius: 100px; font-size: 12px; font-weight: 600; background: var(--primary-100); color: var(--primary-600); }
.bcard h3 { font-size: 21px; margin-bottom: 10px; }
.bcard p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.bcard .link-arrow { margin-top: auto; }

.post { max-width: 880px; margin: 0 auto; scroll-margin-top: 120px; border-radius: 32px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--border); counter-reset: step; }
.post[hidden] { display: none !important; }
.post + .post { margin-top: clamp(40px, 5vw, 64px); }
.post__cover { position: relative; aspect-ratio: 16 / 7; overflow: hidden; }
.post__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post__cover img { transform: scale(1.04); }
.post__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10,24,34,.75)); }
.post__cover-meta { position: absolute; left: clamp(24px, 5vw, 56px); bottom: 22px; z-index: 1; display: flex; align-items: center; gap: 14px; color: #fff; font-size: 14px; font-weight: 500; }
.post__cat { padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--primary); color: #fff; }
.post__body { padding: clamp(28px, 5vw, 56px); }
.post h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 18px; }
.post h2 em { color: var(--primary); }
.post p { color: var(--muted); font-size: 16.5px; }
.post__lead { font-size: clamp(17px, 1.6vw, 19px) !important; color: var(--secondary) !important; padding-left: 20px; border-left: 3px solid var(--primary); margin-bottom: 30px; }
.post__step { position: relative; padding: 0 0 26px 64px; }
.post__step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--primary-600); background: var(--primary-100); }
.post__step::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 6px; width: 2px; background: linear-gradient(var(--primary-100), transparent); }
.post__step h3 { font-size: 20px; margin-bottom: 6px; }
.post__box { margin: 8px 0 28px; padding: 24px 26px; border-radius: 22px; background: var(--light); box-shadow: inset 0 0 0 1px var(--border); }
.post__box h4 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 12px; color: var(--secondary); }
.post__box h4 i { color: var(--primary); }
.post__box .check-list { margin: 0; }
.post__quote { position: relative; margin: 8px 0 28px; padding: 28px 30px 28px 76px; border-radius: 22px; background: var(--secondary); color: #fff; font-family: var(--font-head); font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.4; }
.post__quote::before { content: "\201C"; position: absolute; left: 24px; top: 6px; font-family: var(--font-serif); font-size: 80px; line-height: 1; color: #8FD6AA; }
.post__quote em { color: #8FD6AA; }
.post__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px dashed var(--border); }
.post__by { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--secondary); }
.post__by img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; padding: 4px; background: #fff; box-shadow: inset 0 0 0 1px var(--border); }
@media (max-width: 767px) {
    .post__cover { aspect-ratio: 16 / 10; }
    .post__step { padding-left: 54px; }
    .post__step::before { width: 38px; height: 38px; font-size: 13px; }
    .post__step::after { left: 18px; top: 42px; }
    .post__quote { padding: 60px 22px 22px; }
}

@media (max-width: 1023px) {
    .bgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .bgrid { grid-template-columns: 1fr; }
}

/* ---------- Inner pages responsive ---------- */
@media (max-width: 1200px) {
    .orbit { --orbit-r: 200px; }
}
@media (max-width: 1023px) {
    .page-hero__inner { grid-template-columns: 1fr; }
    .orbit { width: min(100%, 400px); --orbit-r: 170px; }
    .lead-split, .founder, .srow { grid-template-columns: 1fr; }
    .srow:nth-child(even) .srow__art { order: 0; }
    .tiles, .cgrid { grid-template-columns: repeat(2, 1fr); }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento .tile, .bento .tile--wide { grid-column: span 1; }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .centres { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3)::before { display: none; }
    .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
    .enquiry__wrap { grid-template-columns: 1fr; }
    .founder__media { max-width: 460px; }
    .map { aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
    .page-hero__title { font-size: clamp(34px, 10vw, 48px); }
    .page-hero__ctas .btn { flex: 1 1 auto; }
    .orbit { width: min(100%, 320px); --orbit-r: 136px; }
    .orbit__dot { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
    .orbit__dot i { border-radius: 14px; font-size: 16px; }
    .orbit .float-card--a { left: -4px; }
    .orbit .float-card--b { right: -4px; }
    .tiles, .cgrid, .bento { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .member__photo { border-radius: 20px; }
    .member__tag { display: none; }
    .centres { grid-template-columns: 1fr; }
    .founder__badge { right: 8px; }
    .eform__grid { grid-template-columns: 1fr; }
    .eform__head { flex-direction: column; align-items: flex-start; }
    .eform__progress { flex: none; width: 100%; }
    .eform__actions .btn { width: 100%; }
    .enquiry__wrap { border-radius: 28px; }
    .join { flex-direction: column; align-items: flex-start; }
    .join .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .page-hero__content > *, .orbit { animation: none !important; opacity: 1 !important; transform: none !important; }
    .orbit__track, .orbit__ring, .orbit__dot i, .orbit__core, .srow__big, .srow__chip, .founder__badge, .founder__ring, .enquiry__ring { animation: none !important; }
}
