/* =========================================================
   Ronarts Mindworks: Bright design system (v2)
   60 / 30 / 10
     60%  White & sky tints   #FFFFFF  #F5FAFF  #E0F2FE
     30%  Brand blue family   #0284C7  #0369A1  #38BDF8
     10%  Obsidian            #090D16  headings, footer, one accent card
   Type: Outfit (headings) + DM Sans (body)
   ========================================================= */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 1000; font-style: normal; font-display: swap;
}

:root {
  --white: #FFFFFF;
  --sky-50: #F5FAFF;
  --sky-100: #E0F2FE;
  --sky-200: #BAE6FD;
  --sky-400: #38BDF8;
  --blue: #0284C7;
  --blue-deep: #0369A1;
  --ink: #090D16;
  --text: #0F172A;
  --text-2: #475569;
  --muted: #64748B;
  --line: #E2EAF3;
  --amber: #F59E0B;   /* small accent only: dots, dashes, icons */

  --font-head: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-h1: clamp(2.5rem, 1.5rem + 3.4vw, 4.3rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
  --fs-h3: clamp(1.15rem, 1.08rem + .3vw, 1.3rem);
  --fs-lead: clamp(1.06rem, 1rem + .3vw, 1.2rem);

  --radius: 1.5rem;
  --radius-lg: 2rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 14px -6px rgba(15, 23, 42, .08);
  --shadow-md: 0 2px 4px rgba(15, 23, 42, .04), 0 18px 40px -18px rgba(2, 132, 199, .28);
  --shadow-blue: 0 14px 30px -12px rgba(2, 132, 199, .55);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 8vw, 7rem);
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body {
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--text);
  background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: 999px; transition: transform .3s var(--ease); }
.skip-link:focus { transform: translateY(5rem); }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); line-height: 1.1; font-weight: 400; letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
h2 em { font-style: normal; color: var(--blue); }
p { text-wrap: pretty; }
.lead { font-size: var(--fs-lead); color: var(--text-2); max-width: 58ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-deep); background: var(--sky-100);
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.eyebrow-on-blue { color: #fff; background: rgba(255,255,255,.18); }

/* ---------- Buttons ---------- */
.btn {
  --h: 3.25rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem; white-space: nowrap;
  min-height: var(--h); padding: 0 1.5rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: -.005em; line-height: 1.1;
  transition: transform .4s var(--ease), background-color .3s var(--ease), box-shadow .4s var(--ease), color .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { --h: 2.75rem; font-size: .93rem; padding: 0 1.2rem; }
.btn-lg { --h: 3.6rem; font-size: 1.04rem; padding: 0 1.75rem; }
.btn:has(.btn-icon) { padding-right: .4rem; }
.btn-icon { display: grid; place-items: center; width: calc(var(--h) - .8rem); height: calc(var(--h) - .8rem); border-radius: 50%; flex: none; transition: transform .45s var(--ease-spring); }
.btn-icon svg { width: 1.05rem; height: 1.05rem; stroke-width: 2; }
.btn:hover .btn-icon { transform: rotate(45deg); }

.btn-primary { color: #fff; background: var(--blue); box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-primary .btn-icon { background: rgba(255,255,255,.2); }
.btn-outline { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue-deep); }
.btn-white { color: var(--blue-deep); background: #fff; box-shadow: 0 14px 30px -14px rgba(9,13,22,.4); }
.btn-white .btn-icon { background: var(--blue); color: #fff; }
.btn-white-outline { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn-white-outline:hover { background: rgba(255,255,255,.12); }
.btn .wa { width: 1.25rem; height: 1.25rem; }
:root { --wa-green: #25D366; }
.btn .wa, .ct-ic.wa-icon { color: #087B40; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--blue); }
.link-arrow svg { width: 1.1rem; height: 1.1rem; transition: transform .45s var(--ease-spring); }
a:hover > .link-arrow svg, .link-arrow:hover svg, .series-card:hover .link-arrow svg { transform: translateX(5px); }

/* ---------- Cards (kept class names from v1) ---------- */
.bezel { display: block; border-radius: var(--radius); }
.bezel-core {
  position: relative; height: 100%; overflow: hidden; border-radius: var(--radius);
  background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}
.core-ink { background: linear-gradient(150deg, #0EA5E9 0%, var(--blue) 45%, var(--blue-deep) 100%) !important; color: #fff; box-shadow: var(--shadow-blue) !important; }
.core-ink h3, .core-ink blockquote, .core-ink strong { color: #fff !important; }
.core-ink p, .core-ink small { color: rgba(255,255,255,.86) !important; }
.core-blue { background: var(--ink) !important; color: #fff; box-shadow: 0 18px 40px -20px rgba(9,13,22,.6) !important; }
.core-blue h3 { color: #fff; }

/* Media placeholder: bright sky gradient + faint logo until photos arrive */
.media { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--sky-100) 0%, var(--sky-200) 100%); }
.media::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/ronarts-logo-mark.png") center / 38% auto no-repeat; opacity: .22;
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.icon-chip { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; color: var(--blue); background: var(--sky-100); }
.icon-chip svg { width: 1.45rem; height: 1.45rem; }
.chip-dark { color: #fff; background: rgba(255,255,255,.2); }
.card-kicker { font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-top: .5rem; }
.core-ink .card-kicker { color: #fff; opacity: .85; }

/* =========================================================
   NAVIGATION: logo · centred pill · CTA (transparent on hero)
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(15,23,42,.25);
}
.site-header.is-hidden { transform: translateY(-100%); }
.nav { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: .6rem; justify-self: start; }
.brand img { width: 48px; height: auto; }
.brand-word { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; transition: color .3s; }
.brand-word span { color: var(--blue); font-weight: 400; transition: color .3s; }
.logo-light { display: none; }
.on-hero:not(.is-scrolled) .logo-dark { display: none; }
.on-hero:not(.is-scrolled) .logo-light { display: block; }
.on-hero:not(.is-scrolled) .brand-word { color: #fff; }
.on-hero:not(.is-scrolled) .brand-word span { color: var(--sky-200); }
.brand-light .brand-word { color: #fff; }
.brand-light .brand-word span { color: var(--sky-400); }

.nav-pill {
  padding: .3rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line); background: rgba(255,255,255,.6);
  transition: background-color .3s, box-shadow .3s;
}
.on-hero:not(.is-scrolled) .nav-pill { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.nav-links { display: flex; align-items: center; gap: .1rem; }
.nav-links a {
  display: block; padding: .5rem .9rem; border-radius: 999px; white-space: nowrap;
  font-family: var(--font-head); font-size: .93rem; font-weight: 400; color: var(--text-2);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--sky-100); }
.nav-links a[aria-current="page"] { color: var(--blue-deep); font-weight: 500; background: var(--sky-100); }
.on-hero:not(.is-scrolled) .nav-links a { color: rgba(255,255,255,.85); }
.on-hero:not(.is-scrolled) .nav-links a:hover { color: #fff; background: rgba(255,255,255,.12); }
.on-hero:not(.is-scrolled) .nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.16); }

.nav-right { display: flex; align-items: center; gap: .75rem; justify-self: end; }
.btn-nav { --h: 2.75rem; padding: 0 1.4rem; font-size: .93rem; color: #fff; background: var(--blue); box-shadow: var(--shadow-blue); }
.btn-nav:hover { background: var(--blue-deep); }
.on-hero:not(.is-scrolled) .btn-nav { color: var(--blue-deep); background: #fff; box-shadow: 0 10px 24px -12px rgba(0,0,0,.35); }

.burger { display: none; position: relative; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--sky-100); }
.on-hero:not(.is-scrolled) .burger { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.burger span { position: absolute; left: 50%; width: 1.15rem; height: 2px; background: var(--ink); border-radius: 2px; transform: translateX(-50%); transition: transform .45s var(--ease), top .45s var(--ease), background-color .3s; }
.on-hero:not(.is-scrolled) .burger span { background: #fff; }
.burger span:first-child { top: calc(50% - 4px); }
.burger span:last-child  { top: calc(50% + 3px); }
.burger[aria-expanded="true"] span:first-child { top: 50%; transform: translateX(-50%) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { top: 50%; transform: translateX(-50%) rotate(-45deg); }
.menu-open .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }   /* a filter here would trap the full-screen menu inside the bar */
.menu-open .site-header .burger { background: var(--sky-100); box-shadow: none; }
.menu-open .site-header .burger span { background: var(--ink); }
.menu-open .site-header .logo-dark { display: block; }
.menu-open .site-header .logo-light { display: none; }
.menu-open .site-header .brand-word { color: var(--ink); }
.menu-open .site-header .brand-word span { color: var(--blue); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: -1;
  padding: 1.5rem var(--gutter) 2.5rem; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; background: #fff;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-menu ul a { display: block; flex: 1; padding: .95rem 0; font-family: var(--font-head); font-size: clamp(1.4rem, 5.5vw, 1.8rem); font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.mobile-menu-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.mobile-phone { font-family: var(--font-head); font-weight: 600; color: var(--blue); }

/* Programmes submenu */
.has-sub { position: relative; display: flex; align-items: center; }
.nav-links .has-sub > a { padding-right: 1.95rem; }
.sub-btn { position: absolute; right: .3rem; display: grid; place-items: center; width: 1.6rem; height: 1.8rem; border-radius: 999px; color: var(--text-2); }
.sub-btn svg, .mm-btn svg { width: 1rem; height: 1rem; stroke-width: 2.2; transition: transform .35s var(--ease); }
.on-hero:not(.is-scrolled) .sub-btn { color: rgba(255,255,255,.85); }
.sub { position: absolute; left: 50%; top: 100%; width: 580px; margin-top: .95rem; padding: 1.1rem; border-radius: 1.6rem; background: #fff; box-shadow: 0 30px 70px -24px rgba(7,34,74,.45), 0 0 0 1px var(--line); transform: translate(-50%, 10px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .35s var(--ease), visibility .25s; }
.sub::before { content: ""; position: absolute; inset: -1.1rem 0 auto; height: 1.1rem; }   /* keeps the menu open while the pointer crosses the gap */
.has-sub.is-open .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub.is-open .sub-btn svg { transform: rotate(180deg); }
@media (hover: hover) { .has-sub:hover:not(.is-shut) .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); } .has-sub:hover:not(.is-shut) .sub-btn svg { transform: rotate(180deg); } }
.sub ul { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .4rem; }
.site-header.site-header .sub a { white-space: normal; color: var(--ink); background: none; padding: .7rem .9rem; border-radius: 1rem; }
.site-header.site-header .sub a:hover { background: var(--sky-50); color: var(--ink); }
.sub b { display: block; font-weight: 600; font-size: 1.02rem; line-height: 1.35; }
.sub li span { display: block; font-family: var(--font-body); font-size: .9rem; line-height: 1.4; color: var(--text-2); }
.site-header.site-header .sub .sub-all { margin-top: .75rem; text-align: center; font-weight: 600; color: var(--blue-deep); background: var(--sky-100); }
.site-header.site-header .sub .sub-all:hover { background: var(--sky-200); }
.mm-has > div { display: flex; align-items: center; }
.mm-btn { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--sky-100); color: var(--blue-deep); }
.mm-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mm-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; padding-bottom: 1rem; }
.mm-sub[hidden] { display: none; }
.mobile-menu .mm-sub li { border: 0; }
.mobile-menu .mm-sub a { padding: .65rem 0; font-size: 1.1rem; letter-spacing: 0; color: var(--text-2); }
.mobile-menu a[aria-current="page"] { color: var(--blue-deep); }

@media (max-width: 1220px) { .nav-links a { padding: .5rem .65rem; font-size: .9rem; } .nav-links .has-sub > a { padding-right: 1.8rem; } }
@media (max-width: 1180px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-pill, .nav-cta { display: none; }
  .burger { display: block; }
}

/* =========================================================
   HERO: full-bleed blue field, orbits, light headline, card stack
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: max(680px, 100dvh);
  padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(3.5rem, 6vw, 5rem);
  display: flex; align-items: center;
  background: linear-gradient(155deg, #07224A 0%, #074E8C 38%, #0284C7 72%, #38BDF8 112%);
}
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hero-orbits { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orbit { position: absolute; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.o1 { width: 1100px; height: 1100px; right: -380px; top: -260px; }
.o2 { width: 720px; height: 720px; right: -120px; top: 80px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.node { position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.15), 0 0 24px 4px rgba(186,230,253,.8); }
.node-sm { width: 7px; height: 7px; margin-left: -3.5px; top: -3.5px; box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 0 16px 2px rgba(186,230,253,.7); }
.cross { position: absolute; right: 32%; top: 46%; width: 22px; height: 22px; }
.cross::before, .cross::after { content: ""; position: absolute; background: rgba(255,255,255,.35); }
.cross::before { left: 50%; top: 0; width: 1px; height: 100%; }
.cross::after { top: 50%; left: 0; height: 1px; width: 100%; }

.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.6rem;
  font-family: var(--font-head); font-size: .82rem; font-weight: 400; letter-spacing: .04em; color: rgba(255,255,255,.9);
  padding: .4rem .9rem; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #7DF9C4; box-shadow: 0 0 0 4px rgba(125,249,196,.2); }

.hero-title {
  color: #fff; font-weight: 300; letter-spacing: -.03em; line-height: 1.08;
  font-size: clamp(2.3rem, 1.4rem + 2.9vw, 3.6rem); margin-bottom: 1.4rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .05em; }
.hero-title .line-inner { display: inline-block; }
.hero-sub { font-size: clamp(1rem, .95rem + .25vw, 1.12rem); color: rgba(255,255,255,.85); max-width: 40rem; margin-bottom: 2.2rem; font-weight: 400; }

.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.btn-white { color: var(--blue-deep); background: #fff; box-shadow: 0 14px 30px -14px rgba(3,20,50,.5); }
.btn-white .arrow { transition: transform .45s var(--ease-spring); }
.btn-white:hover .arrow { transform: translateX(4px); }
.hero-text-cta { font-family: var(--font-head); font-weight: 400; font-size: 1.02rem; color: #fff; display: inline-flex; gap: .5rem; align-items: center; }
.hero-text-cta span { transition: transform .45s var(--ease-spring); }
.hero-text-cta:hover span { transform: translateX(5px); }

.flip-label { margin-top: 2.5rem; font-family: var(--font-head); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.flip-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1rem; max-width: 36rem; }
.flip-card { position: relative; height: 2.2rem; overflow: hidden; perspective: 600px; }
.flip-item {
  position: absolute; inset: 0; display: flex; align-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; color: rgba(255,255,255,.88);
  white-space: nowrap; opacity: 0;
}
.flip-item.is-active { opacity: 1; }

/* Hero visual: two scenes (staircase → orbit) */
.hero-visual { position: relative; width: 100%; max-width: 600px; justify-self: end; aspect-ratio: 600 / 700; }
.scene { position: absolute; inset: 0 0 5.25rem; }   /* lifted, so the art never touches the switch below */
.scene:not(.is-active) { pointer-events: none; }
.scene-stair { display: flex; align-items: center; }

/* 3D learning staircase: Learn → Transform → Excel */
.stair-svg { display: block; width: 100%; height: auto; overflow: visible; stroke: none; fill: none; }
.stair-svg polygon, .stair-svg ellipse.stair-shadow, .stair-svg rect, .stair-svg circle { stroke: none; }
.st-edge { fill: none; stroke: #fff; stroke-width: 1.5; stroke-opacity: .9; }
.st-glow { opacity: 0; }
.st-label {
  font-family: var(--font-head); font-weight: 700; font-size: 34px; letter-spacing: -.005em; fill: #fff;
  paint-order: stroke; stroke: rgba(3,20,50,.35); stroke-width: 3px; stroke-linejoin: round;
}
.st-num { font-family: var(--font-head); font-weight: 600; font-size: 15px; fill: #7DD3FC; letter-spacing: .18em; }
.light-track { fill: none; stroke: rgba(255,255,255,.4); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.light-trail { fill: none; stroke: #E0F7FF; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ring { fill: none; stroke: #E0F7FF; stroke-width: 2; transform-box: fill-box; transform-origin: 50% 50%; }
.orb { opacity: 0; }
.beam-col { transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: reduce) { .orb { display: none; } }

/* Campus scene: miniature isometric world, one building per series */
.scene-orbit, .scene-campus { opacity: 0; visibility: hidden; }
.scene-campus { display: flex; align-items: center; justify-content: center; }
.campus { position: relative; width: 100%; }
.campus-svg { display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke: none; }
.campus-svg polygon { stroke: none; }
.campus-shadow { fill: rgba(3,20,46,.35); filter: blur(18px); }
.ground-grid line { stroke: rgba(2,132,199,.12); stroke-width: 1; }
.sweep { mix-blend-mode: screen; }
.route { fill: none; stroke: rgba(2,132,199,.55); stroke-width: 2.5; stroke-dasharray: 3 6; stroke-linecap: round; }
.flow { fill: #0284C7; stroke: #fff; stroke-width: 2; opacity: 0; }
.b-foot { fill: rgba(2,132,199,.08); }
.b-win { stroke: rgba(186,230,253,.55); stroke-width: 2; stroke-linecap: round; }
.antenna { stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.antenna-dot { fill: #7DD3FC; stroke: #fff; stroke-width: 1.5; transform-box: fill-box; transform-origin: 50% 50%; }
.bld { cursor: pointer; transition: transform .45s var(--ease-spring); outline: none; }
.bld .b-top { transition: fill .3s; }
.bld.is-hot { transform: translateY(-8px); }
.bld.is-hot .b-top { fill: #BAE6FD; }
.bld.is-hot .b-foot { fill: rgba(2,132,199,.25); }

.campus-pins { position: absolute; inset: 0; pointer-events: none; }
.pin { position: absolute; transform: translate(-50%, -100%); pointer-events: auto; display: flex; flex-direction: column; align-items: center; }
.pin-ic {
  display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: #fff; color: var(--blue); box-shadow: 0 10px 22px -10px rgba(3,20,46,.7), 0 0 0 4px rgba(255,255,255,.22);
  transition: transform .4s var(--ease-spring), background-color .3s, color .3s;
}
.pin-ic svg { width: 1.1rem; height: 1.1rem; stroke-width: 1.8; }
.pin-tag {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); opacity: 0; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; white-space: nowrap;
  padding: .45rem .8rem; border-radius: .75rem; background: var(--ink); color: #fff; font-size: .74rem; line-height: 1.25;
  box-shadow: 0 14px 30px -12px rgba(3,20,46,.7); transition: opacity .3s var(--ease), transform .4s var(--ease-spring);
}
.pin-tag b { font-family: var(--font-head); font-size: .9rem; font-weight: 600; }
.pin-tag span { color: #BAE6FD; }
.pin-tag::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--ink); }
.pin.is-hot .pin-ic, .pin:focus-visible .pin-ic { transform: scale(1.15); background: var(--blue); color: #fff; }
.pin.is-hot .pin-tag, .pin:focus-visible .pin-tag { opacity: 1; transform: translate(-50%, 0); }
.pin.is-hot { z-index: 5; }

.scene-switch { position: absolute; left: 50%; bottom: -1.25rem; transform: translateX(-50%); z-index: 10; display: flex; gap: .25rem; padding: .3rem; border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); white-space: nowrap; }
.ss-btn { font-family: var(--font-head); font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.8); padding: .45rem .9rem; border-radius: 999px; transition: background-color .3s, color .3s; }
.ss-btn:hover { color: #fff; }
.ss-btn.is-active { background: #fff; color: var(--blue-deep); }

/* Section label: short amber dash + name */
.sec-meta { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.sec-meta::before { content: ""; flex: none; width: 28px; height: 3px; border-radius: 3px; background: var(--amber); }
.sec-label { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--blue-deep); }
.section-head-center .sec-meta { justify-content: center; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding-block: var(--section-y); }
.section-tint { background: var(--sky-50); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); max-width: 760px; }
.section-head h2 { margin-bottom: 1rem; }
.section-head-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem 4rem; align-items: end; max-width: none; }
.section-head-split h2 { margin-bottom: 0; }
.section-head-center { text-align: center; margin-inline: auto; }

/* Mission: scroll-driven 3D walk (.is-live) with a static card layout as fallback */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mwalk { position: relative; padding-block: var(--section-y); background: var(--sky-50); }
.mw-gl, .mw-scrim, .mw-hud, .mw-veil, .mw-cue { display: none; }
.mw-intro, .mw-chapters { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.mw-intro h2 { margin-bottom: 1rem; max-width: 18ch; }
.mw-chapters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.mw-media { aspect-ratio: 16 / 10; border-radius: var(--radius); margin-bottom: 1.25rem; }
.mw-copy { display: grid; gap: .8rem; }
.mw-kicker { display: flex; align-items: baseline; gap: .8rem; font-family: var(--font-head); font-weight: 500; color: var(--blue-deep); }
.mw-copy h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); line-height: 1.15; }
.mw-text { color: var(--text-2); }
.mw-note { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--blue-deep); }
.mw-note svg { width: 1rem; height: 1rem; flex: none; }

.mwalk.is-live { height: 560vh; padding: 0; background: #fff; }
.is-live .mw-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.is-live .mw-gl { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.is-live .mw-veil { display: block; position: absolute; inset: 0; background: #fff; pointer-events: none; }
.is-live .mw-media { display: none; }
.is-live .mw-chapters { position: static; width: auto; margin: 0; display: block; }
.is-live .mw-intro, .is-live .mw-ch { position: absolute; pointer-events: none; margin: 0; }
.is-live .mw-intro { width: auto; padding-inline: var(--gutter); inset: calc(var(--nav-h) + 3vh) 0 auto; text-align: center; display: grid; justify-items: center; }
.is-live .mw-intro h2 { max-width: 20ch; font-size: clamp(2.1rem, min(1rem + 3.2vw, 7.2vh), 3.8rem); font-weight: 500; line-height: 1.08; margin-bottom: 1.1rem; }
.is-live .mw-intro .lead { max-width: 52ch; color: var(--text); }
.is-live .mw-intro::before { content: ""; position: absolute; z-index: -1; inset: -40% 0 -12%; background: linear-gradient(180deg, #fff 70%, rgba(255,255,255,0)); opacity: 0; transition: opacity .6s; }
.is-live .mw-intro.is-on::before { opacity: 1; }
.is-live .mw-cue { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.4rem; font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--blue-deep); }
.mw-cue i { position: relative; width: 20px; height: 32px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px currentColor; }
.mw-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 4px; background: var(--amber); animation: mwCue 1.8s var(--ease) infinite; }
@keyframes mwCue { 60%, 100% { transform: translateY(10px); opacity: 0; } }
.is-live .mw-intro, .is-live .mw-ch { isolation: isolate; }
.is-live .mw-ch { top: 0; bottom: 0; width: min(29rem, 40vw); display: flex; align-items: center; left: max(var(--gutter), calc((100% - var(--container)) / 2)); }
.is-live .mw-ch2 { left: auto; right: max(calc(var(--gutter) + 3.5rem), calc((100% - var(--container)) / 2)); }
.is-live .mw-copy { gap: 1.35rem; }
.is-live .mw-kicker { display: flex; align-items: center; gap: .75rem; font-size: 1rem; font-weight: 600; color: var(--blue-deep); }
.mw-kicker::before { content: ""; align-self: center; width: 28px; height: 3px; border-radius: 3px; background: var(--amber); }
.is-live .mw-copy h3 { font-size: clamp(2rem, min(1rem + 2vw, 5.6vh), 2.9rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; }
.is-live .mw-text { color: var(--text); font-size: clamp(1.06rem, 1rem + .25vw, 1.18rem); line-height: 1.65; max-width: 42ch; }
.is-live .mw-note { justify-self: start; color: var(--ink); font-size: 1rem; }
.is-live .mw-note svg { color: var(--amber); width: 1.15rem; height: 1.15rem; stroke-width: 2.5; }

/* soft light behind the copy keeps it readable over the scene */
.is-live .mw-ch::before { content: ""; position: absolute; z-index: -1; inset: 0 -26% 0 -60vw; background: linear-gradient(90deg, rgba(255,255,255,.72) 72%, rgba(255,255,255,0)); opacity: 0; transition: opacity .4s; }
.is-live .mw-ch2::before { inset: 0 -60vw 0 -26%; background: linear-gradient(270deg, rgba(255,255,255,.72) 72%, rgba(255,255,255,0)); }
.is-live .mw-ch.is-on::before { opacity: 1; transition-duration: .9s; }
.is-booting * { transition: none !important; }

/* text reveal: words rise from a mask, the rest follows */
.mw-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .04em .16em; margin: -.06em -.04em -.16em; }
.mw-word { display: inline-block; transform: translateY(125%); transition: transform .45s cubic-bezier(.5, 0, .75, 0); }
.is-past .mw-word { transform: translateY(-125%); }
.is-on .mw-word { transform: none; transition: transform .95s var(--ease) calc(var(--i) * 60ms); }
.is-live .mw-intro > :not(h2), .is-live .mw-copy > :not(h3) { opacity: 0; transform: translateY(26px); transition: opacity .3s, transform .4s; }
.is-live .is-past.mw-intro > :not(h2), .is-live .is-past .mw-copy > :not(h3) { transform: translateY(-26px); }
.is-live .is-on.mw-intro > :not(h2), .is-live .is-on .mw-copy > :not(h3) { opacity: 1; transform: none; transition: opacity .9s var(--ease) .16s, transform 1.05s var(--ease) .16s; }
.is-live .is-on.mw-intro > :nth-child(n+3), .is-live .is-on .mw-copy > :nth-child(3) { transition-delay: .34s; }
.is-live .is-on .mw-copy > :nth-child(4), .is-live .is-on .mw-cue { transition-delay: .48s; }

/* progress rail */
.is-live .mw-hud { display: block; position: absolute; inset: 0; pointer-events: none; }
.mw-rail { position: absolute; right: clamp(.75rem, 2vw, 1.75rem); top: 50%; transform: translateY(-50%); display: grid; pointer-events: auto; }
.mw-rail-line { position: absolute; right: 21px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.mw-rail-line i { display: block; height: 100%; background: var(--blue-deep); transform: scaleY(0); transform-origin: top; }
.mw-rail button { position: relative; height: 56px; min-width: 44px; padding-right: 44px; text-align: right; font-family: var(--font-head); font-size: .85rem; font-weight: 500; color: var(--ink); }
.mw-rail button::after { content: ""; position: absolute; right: 15px; top: 50%; width: 10px; height: 10px; margin: -5px 2px 0 0; border-radius: 50%; background: #9FBFD6; box-shadow: 0 0 0 4px #fff; transition: transform .4s var(--ease-spring), background-color .3s; }
.mw-rail button[aria-current]::after { background: var(--amber); transform: scale(1.3); }
.mw-rail button span { opacity: 0; transition: opacity .3s; white-space: nowrap; background: rgba(255,255,255,.88); padding: .35rem .7rem; border-radius: 999px; pointer-events: none; }
.mw-rail button:hover span, .mw-rail button:focus-visible span { opacity: 1; }
@media (max-width: 1080px), (max-aspect-ratio: 1/1) { .mw-rail button { width: 44px; padding: 0; } .mw-rail button span { display: none; } }

@media (max-width: 820px), (max-aspect-ratio: 1/1) {
  .mwalk.is-live { height: 520svh; }
  .is-live .mw-intro { inset: calc(var(--nav-h) + 2vh) 0 auto; }
  .is-live .mw-ch, .is-live .mw-ch2 { top: auto; bottom: 0; left: 0; right: 0; width: auto; align-items: flex-end; padding: 0 var(--gutter) max(5.75rem, 11svh); }
  .is-live .mw-ch::before { display: none; }
  .is-live .mw-intro::before { inset: -40% 0 -12%; }
  .is-live .mw-scrim { display: block; position: absolute; inset: 38% 0 0; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.75) 22%); }
  .is-live .mw-copy { gap: .8rem; }
  .is-live .mw-copy h3 { font-size: clamp(1.6rem, 7vw, 2.3rem); }
  .is-live .mw-text { font-size: 1.03rem; line-height: 1.55; max-width: 60ch; }
  .mw-rail { top: 30%; right: .35rem; }
}

/* Illustrations used in the static mission cards */
.mw-media.has-art { background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%); }
.mw-media.has-art::before { display: none; }
.mis-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; stroke: none; fill: none; }
.mw-media img { z-index: 1; }
.mis-art .m-float { animation: mFloat 4s ease-in-out infinite; }
.mis-art .m-float.f2 { animation-duration: 5s; animation-delay: -1.5s; }
.mis-art .m-glow { animation: mGlow 3s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 50%; }
.mis-art .m-bulb, .mis-art .m-chip, .mis-art .m-chip-txt { animation: mFloat 3.6s ease-in-out infinite; }
.mis-art .m-ray { animation: mRay 2.4s ease-in-out infinite; }
.mis-art .m-link, .mis-art .m-arrow path:first-child { animation: mDash 1.6s linear infinite; }
@keyframes mFloat { 50% { transform: translateY(-8px); } }
@keyframes mGlow { 50% { opacity: .55; transform: scale(.9); } }
@keyframes mRay { 50% { opacity: .35; } }
@keyframes mDash { to { stroke-dashoffset: -22; } }
@media (prefers-reduced-motion: reduce) { .mis-art * { animation: none !important; } }


/* =========================================================
   02 · PROGRAMME EXPLORER (expanding panels + course ribbon)
   ========================================================= */
.explorer { overflow: clip; }
/* Series rows: each photo rises from behind its line as you scroll; the section turns deep blue */
.explorer {
  --rs-bg: #fff; --rs-h: var(--ink); --rs-t: var(--text-2); --rs-accent: var(--blue-deep); --rs-sub: var(--blue-deep); --rs-em: var(--blue); --rs-line: #D5E1EC;
  background-color: var(--rs-bg);
  background-image:
    radial-gradient(ellipse at 94% 0%, rgba(56, 189, 248, .16), transparent 44%),
    radial-gradient(ellipse at 0% 46%, rgba(3, 42, 86, .17), transparent 56%),
    radial-gradient(ellipse at 100% 90%, rgba(9, 23, 51, .24), transparent 58%),
    linear-gradient(155deg, transparent 27%, rgba(2, 132, 199, .08) 61%, rgba(3, 42, 86, .12));
  transition: background-color .9s var(--ease);
}
.explorer.is-deep { --rs-bg: #072F5C; --rs-h: #fff; --rs-t: #D3E6F7; --rs-accent: #FCD34D; --rs-sub: #BAE6FD; --rs-em: #7DD3FC; --rs-line: rgba(186,230,253,.28); }
.explorer :is(h2, h3, p, li, a, em, .sec-label, .rs-row) { transition: color .9s var(--ease), border-color .9s var(--ease); }
.rs-head { max-width: 760px; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.rs-head h2 { color: var(--rs-h); margin-bottom: 1rem; }
.rs-head h2 em { color: var(--rs-em); }
.rs-head .lead { color: var(--rs-t); }
.explorer .sec-label { color: var(--rs-accent); }
.rs-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px) minmax(0, 1.2fr); column-gap: clamp(1.75rem, 4vw, 4rem); align-items: center; min-height: 270px; border-bottom: 1px solid var(--rs-line); overflow: hidden; scroll-margin-top: calc(var(--nav-h) + 1rem); }
.rs-title { padding-block: 1.5rem; }
.rs-name { font-family: var(--font-head); font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.4rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; color: var(--rs-h); margin-bottom: .45rem; }
.rs-title h3 { font-weight: 500; color: var(--rs-sub); max-width: 18ch; }
.rs-window { align-self: stretch; position: relative; min-height: 270px; }
.rs-shape { position: absolute; left: 0; right: 0; bottom: -20px; height: 256px; border-radius: 1.75rem 1.75rem 0 0; overflow: hidden; background: var(--sky-200); will-change: transform; }
.rs-shape img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .rs-row:hover .rs-shape img { transform: scale(1.06); } }
#mindlead img { object-position: 62% 50%; } #mindperform img { object-position: 42% 50%; } #mindtech img { object-position: 40% 50%; } #mindcom img { object-position: 52% 50%; } #mindcomply img { object-position: 50% 50%; } #mindsafe img { object-position: 30% 50%; }
.rs-text { padding-block: 1.4rem 1.1rem; display: grid; gap: .7rem; justify-items: start; }
.rs-text > p { color: var(--rs-t); font-size: 1.0625rem; max-width: 46ch; }
.rs-courses { display: grid; gap: .2rem; }
.rs-courses li { position: relative; padding-left: 1.05rem; font-weight: 500; line-height: 1.45; color: var(--rs-h); }
.rs-courses li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.rs-text .link-arrow { min-height: 44px; color: var(--rs-accent); }
.rs-all { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3.25rem); }
@media (max-width: 900px) {
  .rs-row { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: .5rem; }
  .rs-title { padding-block: 1.75rem 0; }
  .rs-title h3 { max-width: none; }
  .rs-window { min-height: min(58vw, 320px); overflow: hidden; border-bottom: 1px solid var(--rs-line); }
  .rs-shape { bottom: -20px; height: calc(100% + 4px); max-width: 560px; }
  .rs-text { padding-block: 1.4rem 1.75rem; }
}

.journey { overflow-x: clip; }   /* cards slide in from the sides; never widen the page */
.mq { display: flex; overflow: hidden; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { flex: none; display: flex; gap: .75rem; padding-right: .75rem; animation: mq 60s linear infinite; }
.mq-rev .mq-track { animation-direction: reverse; }
.mq:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-100%); } }
.mq-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* =========================================================
   03 · TRAINER (portrait, rotating badge, career line)
   ========================================================= */
.trainer {
  background: linear-gradient(90deg, var(--sky-100) 0 27%, var(--sky-50) 30% 100%);
}
.tr-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.tr-visual { position: relative; padding: 0 2rem 2rem 0; }
.tr-photo { aspect-ratio: 4 / 5; border-radius: 2rem; box-shadow: 0 40px 80px -40px rgba(2,132,199,.6); }
.tr-photo::after { content: ""; position: absolute; inset: auto -20% -30% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,.35), transparent 65%); z-index: -1; }
.tr-badge { position: absolute; right: 0; top: 8%; width: 150px; height: 150px; filter: drop-shadow(0 14px 22px rgba(9,13,22,.22)); }
.tr-badge { stroke: none; }
.tr-badge circle { fill: var(--amber); }
.tr-badge text { fill: var(--ink); font-family: var(--font-head); font-size: 13.5px; font-weight: 500; letter-spacing: 2.6px; }
.tr-badge .tr-badge-num { font-size: 40px; font-weight: 700; letter-spacing: -1px; }
.tr-badge-ring { transform-origin: 100px 100px; animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tr-card { position: absolute; left: -1.25rem; bottom: 0; display: flex; align-items: center; gap: .75rem; padding: .85rem 1.1rem .85rem .85rem; border-radius: 1.25rem; background: #fff; box-shadow: 0 24px 50px -24px rgba(3,20,46,.45); font-size: .85rem; color: var(--muted); line-height: 1.3; }
.tr-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; }
.tr-card-ic { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .9rem; background: var(--sky-100); color: var(--blue); }
.tr-card-ic svg { width: 1.3rem; height: 1.3rem; }
.tr-copy h2 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4.2rem); line-height: 1; margin-bottom: 1rem; }
.tr-copy h2 em { display: block; }
.tr-copy .lead b { font-family: var(--font-head); color: var(--blue); font-size: 1.3em; font-weight: 700; }
.tr-journey { position: relative; margin: 2.25rem 0 2rem; }
.tr-line { position: absolute; left: 0; right: 0; top: 6px; width: 100%; height: 20px; overflow: visible; }
.tr-line path { stroke: var(--blue); stroke-width: 3; stroke-linecap: round; fill: none; vector-effect: non-scaling-stroke; }
.tr-journey ol { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.tr-journey li { display: grid; gap: .7rem; justify-items: start; font-family: var(--font-head); font-size: .88rem; font-weight: 500; color: var(--ink); line-height: 1.25; }
.tr-journey li i { width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px var(--blue), 0 0 0 5px var(--sky-100); margin-top: 7px; }
.tr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2.25rem; }
.tr-cols h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .9rem; }
.tr-creds li { display: flex; gap: .6rem; align-items: baseline; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; color: var(--text-2); }
.tr-creds b { font-family: var(--font-head); color: var(--blue-deep); font-weight: 600; }
.tr-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tr-tags li { font-size: .85rem; font-weight: 500; padding: .35rem .75rem; border-radius: 999px; background: var(--sky-100); color: var(--blue-deep); transition: transform .3s var(--ease-spring), background-color .3s, color .3s; }
.tr-tags li:hover { transform: translateY(-3px) rotate(-2deg); background: var(--blue); color: #fff; }

/* =========================================================
   04 · SIX-PHASE JOURNEY (rail fills on scroll)
   ========================================================= */
.journey { background: linear-gradient(180deg, var(--sky-50), #fff); }
.jr-wrap { position: relative; max-width: 1040px; margin-inline: auto; }
.jr-rail { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; border-radius: 4px; background: var(--sky-100); overflow: visible; }
.jr-fill { position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(180deg, var(--sky-400), var(--blue)); transform-origin: top; transform: scaleY(0); }
.jr-spark { position: absolute; left: 50%; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(56,189,248,.35), 0 0 24px 6px rgba(56,189,248,.7); }
.jr { position: relative; display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.jr-step { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; }
.jr-node { grid-column: 2; justify-self: center; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--sky-200); transition: background-color .4s var(--ease), box-shadow .4s, transform .5s var(--ease-spring); z-index: 1; }
.jr-node b { font-family: var(--font-head); font-weight: 600; color: var(--blue-deep); transition: color .3s; }
.jr-step.is-lit .jr-node { background: var(--blue); box-shadow: 0 0 0 8px rgba(56,189,248,.2), 0 14px 30px -10px rgba(2,132,199,.8); transform: scale(1.08); }
.jr-step.is-lit .jr-node b { color: #fff; }
.jr-card { grid-row: 1; padding: 1.5rem 1.6rem; border-radius: 1.5rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); transition: box-shadow .5s var(--ease), transform .6s var(--ease); }
.jr-step:nth-child(odd) .jr-card { grid-column: 1; margin-right: 1.5rem; }
.jr-step:nth-child(even) .jr-card { grid-column: 3; margin-left: 1.5rem; }
.jr-step.is-lit .jr-card { box-shadow: inset 0 0 0 1.5px var(--sky-200), var(--shadow-md); }
.jr-tag { display: inline-block; font-family: var(--font-head); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .5rem; }
.jr-card h3 { margin-bottom: .4rem; }
.jr-card p { color: var(--text-2); font-size: .98rem; }
.jr-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; margin-top: 3rem; }

/* =========================================================
   05 · TESTIMONIAL WALL (two rows drifting opposite ways)
   ========================================================= */
/* Photo behind the feedback: clear in the middle, faded at the top for the heading and at the bottom for the cards */
.wall { position: relative; overflow: hidden; isolation: isolate; }
/* the people sit between 37% and 70% of the photo: place that band between heading and cards */
.wall-bg { position: absolute; z-index: -1; left: 0; right: 0; top: calc(365px - 20.8vw); aspect-ratio: 16 / 9; -webkit-mask-image: linear-gradient(180deg, transparent 2%, rgba(0,0,0,.3) 16%, rgba(0,0,0,.85) 33%, #000 40%, #000 64%, rgba(0,0,0,.4) 76%, transparent 90%); mask-image: linear-gradient(180deg, transparent 2%, rgba(0,0,0,.3) 16%, rgba(0,0,0,.85) 33%, #000 40%, #000 64%, rgba(0,0,0,.4) 76%, transparent 90%); }
.wall-bg img { width: 100%; height: 100%; object-fit: cover; }
.wall .section-head { margin-bottom: clamp(13rem, 19.5vw, 25rem); }
.wall-rows { display: grid; gap: 1.25rem; }
.mq-slow .mq-track { animation-duration: 70s; gap: 1.25rem; padding-right: 1.25rem; }
.wq { width: 380px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding: 1.75rem; border-radius: 1.5rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); white-space: normal; transition: transform .4s var(--ease), box-shadow .4s; }
.wq:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: inset 0 0 0 1.5px var(--sky-200), var(--shadow-md); }
.wq blockquote { font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; color: var(--ink); }
.mq-rev .wq { background: linear-gradient(150deg, #0EA5E9, var(--blue) 55%, var(--blue-deep)); box-shadow: var(--shadow-blue); }
.mq-rev .wq blockquote, .mq-rev .wq strong { color: #fff; }
.mq-rev .wq small { color: rgba(255,255,255,.8); }
.mq-rev .wq .avatar { background: rgba(255,255,255,.2); color: #fff; }
.wq figcaption { display: flex; align-items: center; gap: .75rem; font-size: .92rem; }
.wq strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.wq small { color: var(--muted); font-size: .82rem; }
.avatar { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; font-family: var(--font-head); font-weight: 700; font-size: .82rem; background: var(--sky-100); color: var(--blue-deep); flex: none; }
.affiliates { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.5rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.aff-label { font-family: var(--font-head); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.aff-logo { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; color: #94A3B8; transition: color .3s var(--ease); }
.aff-logo:hover { color: var(--ink); }

/* =========================================================
   06 · FAQ (contact card + numbered accordion)
   ========================================================= */
.fq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.fq-card { position: sticky; top: calc(var(--nav-h) + 1.5rem); padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: 2rem; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, #0EA5E9 0%, var(--blue) 50%, var(--blue-deep) 100%); box-shadow: 0 30px 60px -30px rgba(2,132,199,.7); }
.fq-card::after { content: "?"; position: absolute; right: -1rem; bottom: -4.5rem; z-index: -1; font-family: var(--font-head); font-weight: 700; font-size: 16rem; line-height: 1; color: rgba(255,255,255,.1); }
.fq-card .sec-label { color: #fff; }
.fq-card h2 { color: #fff; margin-bottom: .9rem; }
.fq-card > p:not(.sec-meta) { color: rgba(255,255,255,.88); margin-bottom: 1.75rem; }
.fq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.fq-mail { font-family: var(--font-head); font-weight: 500; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.fq-list { display: grid; gap: .75rem; }
.fq { border-radius: 1.4rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); transition: box-shadow .35s var(--ease), background-color .35s; }
.fq[open] { background: var(--sky-50); box-shadow: inset 0 0 0 1.5px var(--sky-200), var(--shadow-md); }
.fq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 1.1rem; align-items: center; padding: 1.35rem 1.5rem; }
.fq summary::-webkit-details-marker { display: none; }
.fq-q { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.fq-x { position: relative; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--sky-100); transition: transform .5s var(--ease-spring), background-color .3s; }
.fq-x::before, .fq-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--blue); }
.fq-x::after { transform: rotate(90deg); }
.fq[open] .fq-x { transform: rotate(135deg); background: var(--blue); }
.fq[open] .fq-x::before, .fq[open] .fq-x::after { background: #fff; }
.fq-a { overflow: hidden; }
.fq-a p { padding: 0 1.5rem 1.4rem; color: var(--text-2); max-width: 68ch; }
.fq-a a { color: var(--blue); font-weight: 600; }

/* =========================================================
   CTA ticker + footer wordmark
   ========================================================= */
.section-cta .cta-panel { padding-bottom: clamp(7.5rem, 12.5vw, 11.5rem); }   /* room for the line of words below the buttons */
.section-cta + * , main:has(.section-cta) + .site-footer { margin-top: 0; }
.section-cta { padding-bottom: clamp(3rem, 6vw, 5rem); }
.cta-ticker { position: absolute; left: 0; bottom: 1rem; z-index: -1; display: flex; white-space: nowrap; pointer-events: none; }
.cta-ticker span { flex: none; font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 7vw, 6rem); line-height: 1; letter-spacing: -.03em; color: rgba(186,230,253,.2); padding-right: .3em; animation: mq 40s linear infinite; }
.cta-inner h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); }
.footer-word { font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 19vw, 17rem); line-height: .8; letter-spacing: -.06em; text-align: center; margin: 2.5rem 0 1rem;
  background: linear-gradient(180deg, rgba(56,189,248,.35), rgba(56,189,248,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* responsive */
@media (max-width: 1080px) {
  .trainer { background: linear-gradient(180deg, var(--sky-100), var(--sky-50) 30%); }
  .tr-grid, .fq-grid { grid-template-columns: 1fr; }
  .tr-visual { max-width: 460px; }
  .fq-card { position: static; }
}
@media (max-width: 767px) {
  .tr-journey ol { grid-template-columns: 1fr; gap: 1rem; }
  .tr-line { display: none; }
  .tr-journey ol::before { content: ""; position: absolute; left: 8px; top: 9px; bottom: 9px; width: 3px; margin-left: -1.5px; border-radius: 3px; background: var(--blue); }
  .tr-journey li { grid-template-columns: auto 1fr; align-items: center; gap: .8rem; }
  .tr-journey li i { margin-top: 0; position: relative; }
  .tr-cols { grid-template-columns: 1fr; }
  .jr-rail { left: 28px; }
  .jr-step { grid-template-columns: 56px 1fr; gap: 1rem; }
  .jr-node { grid-column: 1; }
  .jr-step:nth-child(n) .jr-card { grid-column: 2; margin: 0; }
  .wq { width: 300px; }
  .wq blockquote { font-size: 1.05rem; }
  .fq-a p { padding-left: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-track, .cta-ticker span, .tr-badge-ring { animation: none !important; }
}

/* Final CTA: bright blue panel */
.section-cta { padding-top: 0; }
.cta-panel {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 2.5rem;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 6vw, 5rem);
  background: linear-gradient(130deg, var(--sky-400) 0%, var(--blue) 45%, var(--blue-deep) 100%); color: #fff;
  box-shadow: 0 40px 80px -40px rgba(2,132,199,.7);
}
.cta-panel::before, .cta-panel::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 2px solid rgba(255,255,255,.16); }
.cta-panel::before { width: 34rem; height: 34rem; right: -9rem; top: -14rem; }
.cta-panel::after { width: 22rem; height: 22rem; right: 6rem; bottom: -14rem; background: rgba(255,255,255,.07); border: 0; }
.cta-inner { max-width: 640px; }
.cta-inner h2 { color: #fff; margin-bottom: 1.1rem; }
.cta-inner h2 em { color: var(--sky-200); }
.cta-inner > p:not(.eyebrow) { color: rgba(255,255,255,.9); font-size: var(--fs-lead); margin-bottom: 2.1rem; }

/* Footer (the 10% obsidian) */
.site-footer { background: var(--ink); color: #A9B6C8; padding: clamp(4rem, 8vw, 5.5rem) 0 2rem; margin-top: var(--section-y); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-brand > p { max-width: 38ch; margin: 1.25rem 0 1.5rem; font-size: .97rem; }
.hrd-badge { display: flex; gap: .9rem; align-items: center; padding: .9rem 1rem; border-radius: 1rem; background: rgba(255,255,255,.05); font-size: .9rem; color: #fff; max-width: 25rem; }
.hrd-badge img { width: 52px; height: 52px; flex: none; border-radius: 50%; }
.hrd-badge small { color: #A9B6C8; font-size: .78rem; }
.footer-col h3 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.1rem; }
.footer-col li + li { margin-top: .5rem; }
.footer-col a, .footer-col address { font-size: .97rem; line-height: 1.9; transition: color .25s var(--ease); }
.footer-col a:hover { color: #fff; }
.muted { opacity: .7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; font-size: .88rem; }
.footer-bottom a:hover { color: #fff; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--wa-green); color: #fff; box-shadow: 0 10px 24px -10px rgba(7, 59, 36, .45);
  transition: opacity .4s var(--ease), transform .45s var(--ease-spring), background-color .3s;
}
.wa-float svg { width: 1.55rem; height: 1.55rem; }
.wa-float:hover { background: #1DBF5B; transform: scale(1.06); }
.js .wa-float { opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; }
.js .wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* Motion pre-states (JS + motion allowed only) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal, .js .hero-rise, .js .hero-title, .js .stair-step, .js .light-track, .js .light-trail, .js .stair-shadow, .js .beam, .js .scene-switch { opacity: 0; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 480px; }
  .o1 { right: -600px; }
  .series-card { grid-column: span 6; }
  .sc-feature, .sc-cta { grid-column: span 12; }
  .section-head-split, .process-wrap, .faq-wrap, .trainer-panel { grid-template-columns: 1fr; }
  .process-intro { position: static; }
  .trainer-visual { max-width: 420px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 767px) {
  .wall-bg { top: -45px; height: 640px; aspect-ratio: auto; }
  .wall-bg img { object-position: 48% 50%; }
  .wall .section-head { margin-bottom: 13.5rem; }
  :root { --nav-h: 68px; }
  body { font-size: 1rem; }
  .brand img { width: 44px; }
  .brand-word { font-size: 1.08rem; }
  .hero-ctas .btn { width: 100%; justify-content: space-between; }
  .hero-ctas .btn-outline { justify-content: center; }
  .flip-strip { gap: 1rem; }
  .flip-item { font-size: .9rem; white-space: normal; line-height: 1.2; }
  .flip-card { height: 2.6rem; }
  .hero-text-cta { width: 100%; justify-content: center; }
  .hero-badge { font-size: .74rem; }
  .pin-ic { width: 1.9rem; height: 1.9rem; }
  .pin-tag { font-size: .68rem; }
  .ss-btn { font-size: .74rem; padding: .4rem .7rem; }
  .series-grid { grid-template-columns: 1fr; }
  .series-card, .sc-feature, .sc-cta { grid-column: auto; grid-row: auto; }
  .trainer-panel, .cta-panel { border-radius: 1.75rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .wa-float { width: 3.1rem; height: 3.1rem; right: 1rem; bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.portrait-fallback { display: none; }

/* Large desktops and 4K: everything scales up together instead of shrinking into the middle */
@media (min-width: 1800px) {
  html { font-size: 106.25%; }
  :root { --container: 1400px; --fs-h1: 4.5rem; }
  .hero-visual { max-width: 660px; }
}
@media (min-width: 2300px) {
  html { font-size: 125%; }
  :root { --container: 1680px; }
  .hero-visual { max-width: 780px; }
  .rs-row { grid-template-columns: minmax(0, 1fr) minmax(0, 540px) minmax(0, 1.2fr); }
  .rs-row, .rs-window { min-height: 350px; } .rs-shape { height: 336px; }
}

/* HRD Corp registered seal next to the page intro */
.reg { display: inline-flex; align-items: center; gap: .9rem; margin-bottom: 1.6rem; padding: .45rem 1.2rem .45rem .45rem; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); color: #fff; text-align: left; }
.reg img { flex: none; width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 8px 20px -8px rgba(3,20,46,.6); }
.reg b { display: block; font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.reg small { display: block; font-size: .84rem; color: rgba(255,255,255,.78); }
@media (max-width: 480px) { .reg { gap: .7rem; padding-right: .9rem; } .reg img { width: 50px; height: 50px; } .reg b { font-size: .9rem; } }
