/* =========================================================
   TOKENS: light theme (palette and type kept from the approved reference)
   ========================================================= */
:root {
  --bg: #fbfbfd;
  --bg-soft: #f2f4f9;
  --card: #ffffff;
  --ink: #08182b;
  --text: #1a1d26;
  --muted: #5d6375;
  --dim: #8a91a5;
  --line: rgba(15, 20, 40, .08);
  --line-2: rgba(15, 20, 40, .14);
  --blue: #1a5fd0;
  --blue-soft: #eaf1fd;
  --violet: #0b3b82;
  --cyan: #12a0e0;
  --green: #12b76a;

  --shadow-sm: 0 1px 2px rgba(16, 24, 64, .05), 0 2px 8px rgba(16, 24, 64, .04);
  --shadow: 0 1px 2px rgba(16, 24, 64, .04), 0 12px 40px -12px rgba(16, 24, 64, .14);
  --shadow-lg: 0 2px 4px rgba(16, 24, 64, .04), 0 30px 70px -20px rgba(30, 50, 140, .25);

  --f-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1220px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
main { position: relative; z-index: 2; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.mono { font-family: var(--f-mono); }
.t-blue { color: var(--blue); }
.t-muted { color: var(--dim); }
.grad {
  background: linear-gradient(100deg, var(--blue) 0%, var(--violet) 45%, var(--cyan) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s ease-in-out infinite alternate;
}
.grad--light { background-image: linear-gradient(100deg, #9cc3ff, #ffffff 45%, #8ad8ff 90%); }
@keyframes shimmer { to { background-position: 100% 0; } }

/* Split-word headings */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; will-change: transform; }
.grad .w > span { background: inherit; -webkit-background-clip: text; background-clip: text; }

/* =========================================================
   AMBIENT BACKGROUND
   ========================================================= */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.blob--a { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: #d6e4fb; animation: drift 20s ease-in-out infinite alternate; }
.blob--b { width: 38vw; height: 38vw; right: -10vw; top: 10vh; background: #e1e8f7; animation: drift 24s ease-in-out infinite alternate-reverse; }
.blob--c { width: 34vw; height: 34vw; left: 30vw; bottom: -18vw; background: #d5effb; animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(6vw, 5vh) scale(1.12); } }
.ambient__dots {
  position: absolute; inset: 0; opacity: .55;
  background-image: radial-gradient(rgba(15, 20, 40, .14) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 75% 55% at 50% 25%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 25%, #000 25%, transparent 75%);
}

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--violet), var(--cyan)); }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; z-index: 90; pointer-events: none; }
  .cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; translate: -50% -50%; }
  .cursor__dot { width: 6px; height: 6px; background: var(--ink); }
  .cursor__ring { width: 34px; height: 34px; border: 1.5px solid rgba(26, 95, 208, .45); transition: width .35s var(--ease), height .35s var(--ease), background .3s, border-color .3s; }
  .cursor.is-hover .cursor__ring { width: 62px; height: 62px; background: rgba(26, 95, 208, .08); border-color: var(--blue); }
}

/* =========================================================
   LOADER
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); transition: opacity .6s var(--ease), visibility .6s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 18px; width: min(240px, 70vw); }
.loader__logo { width: 86px; height: auto; animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); } }
.loader__bar { width: 100%; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--violet)); transition: width .25s var(--ease); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; z-index: 60; top: 14px; left: 50%; translate: -50% 0;
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 6px 6px 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: translate .5s var(--ease);
}
.nav.hide { translate: -50% -150%; }
.nav__logo { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.nav__mark { width: auto; height: 34px; flex: none; transition: transform .5s var(--spring); }
.nav__logo:hover .nav__mark { transform: scale(1.08); }
.nav__name { font-family: var(--f-display); font-weight: 800; letter-spacing: .01em; color: var(--ink); }
.nav__links { display: flex; gap: 2px; }
.nav__links a { padding: 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: color .25s, background .25s; }
.nav__links a:hover { color: var(--ink); background: rgba(15, 20, 40, .05); }
.nav__links a.active { color: var(--blue); background: var(--blue-soft); }
.nav__more, .nav__menu-cta { display: none; }   /* phone/tablet menu only */
.nav__cta { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: var(--ink); color: #fff; white-space: nowrap; }
.nav__cta-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 4px rgba(62, 224, 143, .25); }
.nav__burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(15, 20, 40, .05); position: relative; cursor: pointer; flex: none; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
body.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
body.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   BUTTONS / TAGS / HEADINGS
   ========================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 14px; border: 0; cursor: pointer;
  transition: box-shadow .35s, background .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 10px 30px -8px rgba(26, 95, 208, .55), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary:hover { box-shadow: 0 16px 40px -8px rgba(26, 95, 208, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost { background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.btn--white { background: #fff; color: var(--ink); }
.btn--outline-light { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }

.tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); padding: 6px 12px; border-radius: 999px; background: var(--blue-soft); }
.tag--light { background: rgba(255,255,255,.12); color: #c4dafc; }
.h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.02; letter-spacing: -.035em; margin: 18px 0 0; color: var(--ink); }
/* one-line headings: sized down so the whole sentence fits on one line on laptops and desktops */
.h2--line { font-size: 24px; line-height: 1.15; }
@media (max-width: 380px) { .h2--line { font-size: 22px; } }
/* 600px and up: always one line — the size follows the available width (the sentence is ~22.5em wide) */
@media (min-width: 601px) { .h2--line { white-space: nowrap; font-size: min(42px, calc((100vw - 2 * var(--gutter)) / 23.5)); } }
.section__sub { color: var(--muted); font-size: 16px; max-width: 58ch; margin: 18px 0 0; }
.section__sub b { color: var(--ink); }

/* Pointer spotlight */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(26, 95, 208, .09), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }

.ico { display: inline-grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto; }
.ico svg { width: 100%; height: 100%; }

/* =========================================================
   IMAGE FIT: shows the whole image without cropping;
   a blurred copy fills any leftover space so nothing looks empty.
   ========================================================= */
.fit { position: relative; overflow: hidden; background: var(--bg-soft); isolation: isolate; }
.fit__bg { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(24px) saturate(1.2); opacity: .55; z-index: -1; }
.fit__img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  /* leaves ~200px at the bottom so the logo strip peeks into the first screen */
  position: relative; min-height: calc(100vh - 230px); min-height: calc(100svh - 230px); max-width: var(--max); margin: 0 auto;
  padding: 100px var(--gutter) 24px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 30px; align-items: center;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13px; color: var(--muted); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { transform: scale(3); opacity: 0; } }
.hero__title { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(38px, 5vw, 72px); line-height: .98; letter-spacing: -.045em; color: var(--ink); }
.hero__line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__line--sm { font-family: var(--f-mono); font-weight: 600; font-size: .3em; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-bottom: .4em; }
.split { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s var(--ease); }
body.ready .split { transform: none; }
.hero__line:nth-child(2) .split { transition-delay: .08s; }
.hero__line:nth-child(3) .split { transition-delay: .16s; }
.hero__role { margin: 26px 0 0; font-size: clamp(17px, 1.6vw, 21px); color: var(--text); font-weight: 500; min-height: 1.6em; }
.hero__role-k { color: var(--dim); font-size: .8em; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 4px; vertical-align: -3px; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__lede { color: var(--muted); max-width: 52ch; margin: 14px 0 30px; font-size: clamp(15px, 1.3vw, 17px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { list-style: none; margin: 40px 0 0; padding: 0; display: flex; gap: 34px; flex-wrap: wrap; }
.hero__facts li { display: grid; }
.hero__facts b { font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.hero__facts li > span { font-size: 13px; color: var(--muted); }
.hero-in { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
body.ready .hero-in { opacity: 1; transform: none; }
body.ready .hero-in:nth-child(4) { transition-delay: .25s; } body.ready .hero-in:nth-child(5) { transition-delay: .32s; }
body.ready .hero-in:nth-child(6) { transition-delay: .4s; } body.ready .hero-in:nth-child(7) { transition-delay: .48s; }

/* Hero visual: globe behind, character in front */
.hero__visual { position: relative; width: 100%; max-width: min(480px, calc(100vh - 340px)); max-width: min(480px, calc(100svh - 340px)); aspect-ratio: 1 / 1.08; justify-self: center; }
/* the canvas is ~30% larger than the sphere so the arcs and orbit ring are never cut at its edges */
.globe { position: absolute; left: 50%; top: 46%; width: 120%; aspect-ratio: 1; translate: -50% -50%; cursor: grab; touch-action: pan-y; }
.globe.dragging { cursor: grabbing; }
.globe canvas { width: 100%; height: 100%; display: block; }
.hero__glow { position: absolute; left: 50%; top: 46%; width: 70%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(26, 95, 208, .16), transparent 65%); filter: blur(10px); }
.persona { position: absolute; inset: 4% 8% 0; pointer-events: none; }
.persona img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; opacity: 0; filter: drop-shadow(0 26px 30px rgba(20, 30, 90, .22)); will-change: transform, opacity; }
.persona img.on { opacity: 1; }
.persona::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -2%; height: 7%; border-radius: 50%; background: radial-gradient(ellipse, rgba(20, 30, 90, .22), transparent 70%); filter: blur(4px); z-index: -1; }
.float-card {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255,255,255,.88);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: bob 6s ease-in-out infinite; pointer-events: none; white-space: nowrap;
}
.float-card > .ico { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
/* colourful gradient icon tiles for the three role cards */
.float-card > .ico--ent, .float-card > .ico--hack, .float-card > .ico--inf { color: #fff; }
.float-card > .ico--ent { background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 8px 18px -8px var(--violet); }
.float-card > .ico--hack { background: linear-gradient(135deg, var(--cyan), var(--blue)); box-shadow: 0 8px 18px -8px var(--cyan); }
.float-card > .ico--inf { background: linear-gradient(135deg, #ff3355, var(--violet)); box-shadow: 0 8px 18px -8px #ff3355; }
.float-card b { display: block; font-size: 14px; color: var(--ink); line-height: 1.2; }
.float-card small { font-size: 11px; color: var(--muted); }
.float-card--a { top: 10%; left: -4%; }
.float-card--b { top: 44%; right: -6%; animation-delay: -2s; }
.float-card--c { bottom: 12%; left: -2%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-12px); } }


/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 16px 0; background: var(--ink); margin: clamp(64px, 8vw, 96px) 0 0; }
.marquee__track { display: flex; align-items: center; gap: 30px; width: max-content; animation: scroll 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-weight: 700; font-size: clamp(17px, 2vw, 26px); white-space: nowrap; color: #fff; }
.marquee i { font-style: normal; color: #7fb4ff; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS / CARDS
   ========================================================= */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 96px) var(--gutter) 0; }
.section__head { margin-bottom: clamp(24px, 3.6vw, 40px); text-align: center; }
.section__head .section__sub { margin-inline: auto; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* About: open profile layout (picture + text + one slim stats row, no boxes) */
/* text and cartoon sit as one centred pair, so the picture stays right beside the paragraphs */
.about { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 460px); justify-content: center; gap: clamp(24px, 3vw, 40px); align-items: center; }
.about__art { position: relative; width: 100%; max-width: 460px; aspect-ratio: 3 / 4; justify-self: start; order: 2; }
.about__art::before { content: ""; position: absolute; left: 50%; top: 52%; width: 92%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(26, 95, 208, .16), rgba(11, 59, 130, .08) 45%, transparent 70%); }
.about__art::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -1%; height: 6%; border-radius: 50%; background: radial-gradient(ellipse, rgba(20, 30, 90, .2), transparent 70%); filter: blur(4px); }
.about__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; z-index: 1; filter: drop-shadow(0 22px 26px rgba(20, 30, 90, .18)); }
.about__text p { margin: 0 0 14px; color: var(--muted); max-width: 60ch; }
.about__text .about__lead { font-weight: 400; font-size: clamp(16px, 1.3vw, 17.5px); line-height: 1.65; color: var(--ink); margin-bottom: 16px; }
.about__lead strong { color: var(--blue); font-weight: 600; }
.about__text .about__now { display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 0; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13.5px; color: var(--muted); max-width: none; }
.about__now b { color: var(--ink); font-weight: 600; }
.about__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--line); }
.about__stats div { padding: 18px 16px 0 0; display: grid; gap: 4px; align-content: start; }
.about__stats div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.about__stats b { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 3vw, 40px); line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.about__stats span { font-size: 13px; color: var(--muted); line-height: 1.4; }

@keyframes sweep { to { transform: rotate(360deg); } }

/* Community: featured YouTube creator card + slim platform rows */
.creator { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.cr-yt {
  position: relative; overflow: hidden; display: grid; align-content: start; justify-items: start;
  grid-template-columns: minmax(0, 1fr) clamp(160px, 15vw, 215px);
  grid-template-areas: "badge art" "num art" "label art" "topics art" "cta art" "handle art";
  padding: clamp(22px, 2.6vw, 32px); padding-bottom: 0;
  background: radial-gradient(120% 90% at 100% 100%, #ffe9ed, transparent 60%), var(--card);
  transition: box-shadow .45s;
}
.cr-yt:hover { box-shadow: var(--shadow-lg); }
.cr-yt__badge { grid-area: badge; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff0f2; color: #d1002a; font-weight: 600; font-size: 14px; }
.cr-yt__badge .ico { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: #ff0033; color: #fff; }
.cr-yt__num { grid-area: num; margin-top: 18px; font-family: var(--f-display); font-weight: 800; font-size: clamp(46px, 5vw, 64px); line-height: 1; letter-spacing: -.045em; color: var(--ink); }
.cr-yt__label { grid-area: label; margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.cr-yt__topics { grid-area: topics; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.cr-yt__topics span { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .7); font-size: 12.5px; font-weight: 500; color: var(--ink); }
.cr-yt__cta { grid-area: cta; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cr-yt__cta .btn { min-height: 44px; padding: 0 16px; gap: 8px; font-size: 13.5px; }
.cr-yt__handle { grid-area: handle; margin: 14px 0 clamp(22px, 2.6vw, 32px); font-size: 11.5px; color: var(--dim); }
.cr-yt__art { grid-area: art; align-self: center; justify-self: stretch; position: relative; height: clamp(250px, 24vw, 310px); margin: 0 -8px clamp(22px, 2.6vw, 32px) 0; }
.cr-yt__art::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 230px; height: 230px; translate: -50% 20%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 0, 51, .14), transparent 65%); }
.cr-yt__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transition: transform .6s var(--ease); }
.cr-yt:hover .cr-yt__art img { transform: translateY(-6px); }

.cr-list { display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.cr-row { --c: var(--blue); display: flex; align-items: center; gap: 16px; padding: 16px 18px; min-width: 0; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.cr-row:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--line-2); border-color: color-mix(in srgb, var(--c) 35%, transparent); }
.cr-row__icon { width: 46px; height: 46px; padding: 12px; border-radius: 14px; flex: none; color: #fff; background: var(--c); box-shadow: 0 10px 22px -10px var(--c); }
.cr-row__text { display: grid; gap: 4px; min-width: 0; flex: 1; }
.cr-row__top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cr-row__top b { font-family: var(--f-display); font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.cr-row__top b b { font-size: inherit; }
.cr-row__top > span { font-size: 14px; font-weight: 600; color: var(--ink); }
.cr-row small { font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); overflow-wrap: anywhere; }
.cr-row--gh small { color: var(--blue); }
.cr-row__go { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s; }
.cr-row:hover .cr-row__go { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.cr-row--ig { --c: #d62976; }
.cr-row--ig .cr-row__icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.cr-row--li { --c: #0a66c2; }
.cr-row--gh { --c: #24292f; }
.cr-short { display: none; }

/* Follow / share line: light strip of clickable brand pills, moving left to right; pauses on hover */
.act-line { position: relative; z-index: 2; overflow: hidden; margin: clamp(40px, 5vw, 64px) 0 0; padding: 14px 0;
  background: rgba(255, 255, 255, .75); border-block: 1px solid var(--line); }
.act-line__track { display: flex; align-items: center; gap: 18px; width: max-content; padding-inline: 9px; will-change: transform; }
.act-line i { font-style: normal; color: var(--dim); font-size: 12px; }
.act { --c: var(--violet); --g: linear-gradient(135deg, var(--blue), var(--violet)); display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 999px; white-space: nowrap;
  font: 600 14px/1 var(--f-body, inherit); color: var(--ink); background: var(--card); border: 1px solid var(--line-2); cursor: pointer;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .35s; }
/* each pill wears its platform's own colour (--c for glow, --g for fill); Share keeps the site gradient */
.act--yt { --c: #ff0033; --g: #ff0033; }
.act--ig { --c: #d62976; --g: linear-gradient(45deg, #feda75, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5); }
.act--li { --c: #0a66c2; --g: #0a66c2; }
.act--gh { --c: #24292f; --g: #24292f; }
.act__ico { width: 32px; height: 32px; padding: 7px; border-radius: 50%; color: #fff; background: var(--g); flex: none; transition: background .3s, color .3s; }
.act:hover, .act:focus-visible { transform: translateY(-3px); background: var(--g); border-color: transparent; color: #fff; box-shadow: 0 12px 26px -12px var(--c); }
.act:hover .act__ico, .act:focus-visible .act__ico { background: rgba(255, 255, 255, .22); }

/* small confirmation message (e.g. "Link copied") */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 200; translate: -50% 20px; opacity: 0; pointer-events: none;
  padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); transition: opacity .3s, translate .3s var(--ease); }
.toast.show { opacity: 1; translate: -50% 0; }


.btn--yt { background: #ff0033; color: #fff; box-shadow: 0 10px 28px -8px rgba(255, 0, 51, .55); flex: none; }
.btn--yt:hover { box-shadow: 0 14px 36px -8px rgba(255, 0, 51, .7); }


/* Ventures */
/* Experience: "Now" slim cards + "Earlier" small tiles */
.vt-label { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.vt-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ventures + .vt-label { margin-top: 26px; }
.ventures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.venture { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-width: 0; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.venture:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(26, 95, 208, .25); }
.venture__mark { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 15px; color: var(--blue); background: var(--blue-soft); }
.venture:nth-child(3n+2) .venture__mark { color: var(--violet); background: #f2edff; }
.venture:nth-child(3n) .venture__mark { color: #0090ad; background: #e3f8fc; }
.venture__body { display: grid; gap: 3px; min-width: 0; flex: 1; }
.venture h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.venture__meta { font-size: 13px; color: var(--muted); }
.venture__meta .mono { font-size: 11.5px; color: var(--dim); white-space: nowrap; }
.live { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #e8faf0; color: #067647; font-size: 12px; font-weight: 600; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.past-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.past-tile { display: grid; gap: 3px; align-content: start; padding: 14px 16px; min-width: 0; transition: transform .45s var(--ease), box-shadow .45s; }
.past-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.past-tile b { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.past-tile span { font-size: 12.5px; color: var(--muted); }
.past-tile i { font-style: normal; font-size: 11px; color: var(--dim); margin-top: 4px; }

/* Expertise: one card, five clean rows — area on the left, skills as plain dotted text on the right */
.skl { padding: 6px clamp(10px, 1.6vw, 18px); }
.skl__row { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 12px 32px; align-items: center; padding: 20px 14px; border-radius: 14px; position: relative; transition: background .3s; }
.skl__row + .skl__row::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 1px; background: var(--line); }
.skl__row:hover { background: rgba(26, 95, 208, .045); }
.skl__head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.skl__ico { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 8px 18px -10px var(--violet); transition: transform .45s var(--spring); }
.skl__row:nth-child(2n) .skl__ico { background: linear-gradient(135deg, var(--cyan), var(--blue)); box-shadow: 0 8px 18px -10px var(--cyan); }
.skl__row:hover .skl__ico { transform: rotate(-8deg) scale(1.08); }
.skl__head h3 { margin: 0; font-family: var(--f-display); font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.skl__head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.skl__list { margin: 0; font-size: 14px; line-height: 1.9; color: var(--ink); }
.skl__list span { white-space: nowrap; }
.skl__list i { font-style: normal; color: var(--blue); opacity: .45; margin: 0 5px; }


/* Research & reach: compact trust banner with two endless logo strips moving in opposite directions */
.section--trust { padding-top: 8px; }
.trust__label { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 0 0 clamp(14px, 2vw, 20px); font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trust__label i { font-style: normal; color: var(--blue); }
.trust__label::before, .trust__label::after { content: ""; flex: 1; max-width: 120px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2)); }
.trust__label::after { background: linear-gradient(90deg, var(--line-2), transparent); }
.strips { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 2.6vw, 28px); }
.strip { min-width: 0; } /* stops the long logo track from stretching the column */
.strip__label { display: flex; align-items: baseline; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 0 0 8px; }
.strip__label .mono { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.strip__label b { font-family: var(--f-display); font-weight: 700; font-size: 16px; color: var(--ink); }
/* Full screen width, centred on the page (--vw = window width without the scrollbar, set in main.js) */
.strip__viewport { overflow: hidden; width: var(--vw, 100vw); margin-left: calc(50% - var(--vw, 100vw) / 2); padding: 8px 0 14px; }
.strip__track { display: flex; gap: 12px; width: max-content; padding-inline: 7px; will-change: transform; }
/* Moving lines are driven by main.js: they glide on their own and can be dragged or flicked.
   pan-y keeps normal vertical page scrolling when a finger starts on them. */
.strip__viewport, .act-line, .slides__row { touch-action: pan-y; cursor: grab; }
.strip__viewport.is-dragging, .act-line.is-dragging, .slides__row.is-dragging { cursor: grabbing; }
.strip__track, .act-line__track, .slides__track { user-select: none; -webkit-user-select: none; }
.strip__track img, .slides__track img { -webkit-user-drag: none; }
.is-dragging .org, .is-dragging .slide, .is-dragging .act { pointer-events: none; }
.org { flex: none; width: 156px; height: 112px; display: grid; grid-template-rows: 1fr auto; gap: 6px; padding: 12px 12px 10px; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.org:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(26, 95, 208, .3); }
.org__logo { display: grid; place-items: center; min-height: 0; }
.org__logo img { max-width: 92%; max-height: 40px; width: auto; height: auto; object-fit: contain; }
.org__logo b { font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: var(--ink); text-align: center; }
/* long names wrap (up to 3 lines) instead of being cut with "…" */
.org__name { font-size: 10.5px; color: var(--muted); text-align: center; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; text-wrap: balance; }
.org--inst { width: 144px; }
.org--inst .org__logo img { max-height: 46px; }

/* Credentials */
.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; perspective: 1000px; }
.cert { position: relative; overflow: hidden; padding: 0; cursor: zoom-in; transform-style: preserve-3d; transition: box-shadow .3s; }
.cert:hover { box-shadow: var(--shadow-lg); }
.cert .fit { aspect-ratio: 1.27; background: #fff; }
.cert:hover .fit__img { transform: scale(1.04); }
.cert__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(26, 95, 208, .1), transparent 50%); opacity: 0; transition: opacity .3s; }
.cert:hover .cert__shine { opacity: 1; }

/* Honours: a justified row; each card grows by its image ratio (--r), so all share one height and show the full image */
.honours { display: flex; flex-wrap: wrap; gap: 8px 16px; } /* the 0-height break line adds the second 8px */
.honours__break { flex-basis: 100%; height: 0; }
@media (min-width: 1081px) { .honours__break { display: none; } }   /* laptops/desktops: all four in one compact row */
.honour { flex: var(--r) 1 0; min-width: 0; aspect-ratio: var(--r); overflow: hidden; cursor: zoom-in; transition: transform .45s var(--ease), box-shadow .45s; }
.honour:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.honour .fit { height: 100%; }
.honour:hover .fit__img { transform: scale(1.04); }

/* Speaking */
/* Guest speaker: one full-width line of photo slides (moved by main.js; hover pauses, drag to browse) */
.slides { display: grid; gap: 14px; width: var(--vw, 100vw); margin-left: calc(50% - var(--vw, 100vw) / 2); }
.slides__row { overflow: hidden; padding: 6px 0 10px; }
.slides__track { display: flex; gap: 14px; width: max-content; padding-inline: 7px; will-change: transform; }
.slide { --h: 210px; flex: none; height: var(--h); width: calc(var(--h) * var(--r, 1.43)); padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); cursor: zoom-in; transition: transform .45s var(--ease), box-shadow .45s; }
.slide img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--bg-soft); transition: transform .8s var(--ease); }
.slide:hover, .slide:focus-visible { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.slide:hover img { transform: scale(1.05); }

/* Education + beyond */
.records { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.records__col { padding: 22px; }
.records__title { margin: 0 0 8px; font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: var(--blue); }
.row { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row span { font-size: 14px; }
.row span b { display: block; color: var(--ink); font-weight: 600; }
.row span small { color: var(--muted); font-size: 13px; }
.row i { font-style: normal; font-family: var(--f-mono); font-size: 12px; color: var(--dim); white-space: nowrap; padding-top: 3px; }
.beyond { position: relative; overflow: hidden; display: flex; flex-direction: column; }
/* Education timeline: grey track, gradient fill that grows on scroll, a dot per degree */
.edu { position: relative; list-style: none; margin: 14px 0 0; padding: 0 0 0 30px; display: grid; gap: 14px; }
.edu::before, .edu__fill { content: ""; position: absolute; left: 7px; top: 10px; bottom: 26px; width: 2px; border-radius: 2px; }
.edu::before { background: var(--line); }
.edu__fill { background: linear-gradient(var(--blue), var(--violet), var(--cyan)); transform-origin: top; z-index: 1; }
.edu__item { position: relative; display: grid; justify-items: start; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.edu__item:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: rgba(26, 95, 208, .25); }
.edu__dot { position: absolute; left: -30px; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); z-index: 2; }
.edu__item:nth-child(3) .edu__dot { border-color: var(--violet); }
.edu__item:nth-child(4) .edu__dot { border-color: #7b6dff; }
.edu__item:nth-child(5) .edu__dot { border-color: var(--cyan); }
.edu__year { font-size: 11.5px; color: var(--blue); background: var(--blue-soft); padding: 2px 9px; border-radius: 999px; }
.edu__t { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.edu__t .ico { width: 26px; height: 26px; padding: 5px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); }
.edu__i { font-size: 13.5px; color: var(--muted); }
.edu__score { margin-top: 4px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; color: #067647; background: #e8faf0; }
.edu__item--top { background: linear-gradient(135deg, rgba(26, 95, 208, .06), rgba(11, 59, 130, .06)); border-color: rgba(26, 95, 208, .2); }

/* computers: the full-width timeline runs horizontally, the line filling left to right */
@media (min-width: 901px) {
  .edu { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 34px 0 0; gap: 14px; }
  .edu::before, .edu__fill { left: 8px; right: 8px; top: 7px; bottom: auto; width: auto; height: 2px; }
  .edu__fill { transform-origin: left; }
  .edu__dot { left: 16px; top: -34px; }
  .edu__item { align-content: start; }
  .edu__item:hover { transform: translateY(-4px); }
}

/* Hobbies: one slim row of gradient icon tiles */
.hobbies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.hobby { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; font-size: 14px; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s; }
.hobby:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hobby i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-style: normal; flex: none; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 8px 18px -10px var(--violet); }
.hobby:nth-child(2) i { background: linear-gradient(135deg, var(--cyan), var(--blue)); box-shadow: 0 8px 18px -10px var(--cyan); }
.hobby:nth-child(3) i { background: linear-gradient(135deg, var(--violet), #b44dff); }
.hobby i svg { width: 20px; height: 20px; }

/* Contact */
.contact { padding-bottom: clamp(60px, 8vw, 110px); }
.contact__card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 20px;
  border-radius: 28px; padding: clamp(24px, 4vw, 48px); color: #fff;
  background: radial-gradient(ellipse at 90% 10%, rgba(11, 59, 130, .55), transparent 55%), radial-gradient(ellipse at 10% 100%, rgba(18, 160, 224, .35), transparent 50%), #0a2540;
  box-shadow: var(--shadow-lg);
}
.contact__title { color: #fff; font-size: clamp(34px, 4.6vw, 60px); }
.contact__text p { color: #b8c2e6; font-size: 16px; margin: 16px 0 0; }
.contact__mail { display: inline-block; margin-top: 18px; font-family: var(--f-mono); font-size: clamp(13px, 1.6vw, 16px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); overflow-wrap: anywhere; }
.contact__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.orbit { position: relative; width: min(280px, 100%); aspect-ratio: 1; justify-self: center; --r: 112px; }
.orbit__core { position: absolute; inset: 25%; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 0 60px rgba(11, 59, 130, .6); animation: breathe 3s ease-in-out infinite; }
/* the whole figure fits inside the circle (head to shoes), sitting slightly above the bottom edge */
.orbit__core img { position: absolute; left: 50%; bottom: 5%; height: 88%; width: auto; max-width: none; translate: -50% 0; filter: drop-shadow(0 6px 10px rgba(10, 10, 40, .35)); }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.22); }
.orbit__ring--1 { inset: 10%; animation: sweep 40s linear infinite; }
.orbit__ring--2 { inset: 22%; border-style: solid; border-color: rgba(255,255,255,.1); }
.orbit__spin { position: absolute; inset: 0; animation: sweep 22s linear infinite; }
.orbit:hover .orbit__spin, .orbit:hover .orbit__item .ico { animation-play-state: paused; }
.orbit__item {
  position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px;
  transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a)));
  border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .3s, box-shadow .3s, scale .35s var(--spring);
}
.orbit__item .ico { width: 20px; height: 20px; animation: sweep 22s linear infinite reverse; }
.orbit__item:hover { scale: 1.2; }
.orbit__item--yt:hover { background: #ff0033; box-shadow: 0 0 30px #ff0033; }
.orbit__item--ig:hover { background: #d62976; box-shadow: 0 0 30px #d62976; }
.orbit__item--li:hover { background: #0a66c2; box-shadow: 0 0 30px #0a66c2; }
.orbit__item--gh:hover { background: #24292f; box-shadow: 0 0 30px rgba(255,255,255,.4); }

.footer { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom)); }
.footer__top { display: grid; grid-template-columns: 1.3fr 1.2fr auto; gap: 32px; align-items: start; padding: 40px 0 32px; border-top: 1px solid var(--line); }
.footer__brand p { margin: 14px 0 10px; color: var(--muted); font-size: 14px; max-width: 34ch; }
.footer__mail { font-family: var(--f-mono); font-size: 13px; color: var(--blue); overflow-wrap: anywhere; }
.footer__mail:hover { text-decoration: underline; }
.footer__links { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 28px; justify-content: start; font-size: 14px; color: var(--muted); }
.footer__links a:hover { color: var(--ink); }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--muted); transition: color .3s, border-color .3s, transform .35s var(--spring); }
.footer__social a .ico { width: 18px; height: 18px; }
.footer__social a:hover { color: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; color: var(--dim); }
.footer__bottom a:hover { color: var(--ink); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 64px 16px; background: rgba(11, 13, 18, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.lb.open { opacity: 1; visibility: visible; }
.lb__img { max-width: min(1100px, 100%); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 14px; box-shadow: 0 40px 80px rgba(0,0,0,.4); transform: scale(.96); transition: transform .45s var(--ease), opacity .25s; }
.lb.open .lb__img { transform: none; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: #fff; font-size: 22px; cursor: pointer; display: grid; place-items: center; transition: background .3s; }
.lb button:hover { background: rgba(255,255,255,.22); }
.lb__close { top: 14px; right: 14px; }
.lb__prev { left: 14px; top: 50%; translate: 0 -50%; }
.lb__next { right: 14px; top: 50%; translate: 0 -50%; }
.lb__cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-family: var(--f-mono); font-size: 12px; color: #c9d1d9; }

/* Reveal (driven by GSAP; CSS fallback state) */
.reveal:not(.in) { opacity: 0; transform: translateY(40px); }
.no-js .reveal, .reduced .reveal { opacity: 1 !important; transform: none !important; }

/* =========================================================
   LARGE TABLET / SMALL LAPTOP
   ========================================================= */
@media (max-width: 1180px) {
  .float-card--a { left: 0; } .float-card--b { right: 0; } .float-card--c { left: 2%; }
}

/* =========================================================
   TABLET (iPad)
   ========================================================= */
@media (max-width: 1080px) {
  .creator { grid-template-columns: 1fr; }
  .cr-list { grid-template-rows: none; }
  .skl__row { grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 10px 22px; }
  .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert:last-child { grid-column: span 2; }
  .cert:last-child .fit { aspect-ratio: 16 / 7; }
  /* About stacks on tablets: picture on top, then one centred text column the same width as its stats */
  .about { grid-template-columns: 1fr; gap: 24px; }
  .about__art { max-width: 300px; order: -1; justify-self: center; }
  .about__text { width: 100%; max-width: 640px; justify-self: center; }
  .about__text p { max-width: none; }
}

/* Nav: the full link row needs ~1060px, so narrower screens use the menu button */
@media (max-width: 1200px) {
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute; left: auto; right: 0; width: min(360px, 100%); top: calc(100% + 10px); flex-direction: column; gap: 2px; padding: 10px; border-radius: 24px;
    background: rgba(255,255,255,.97); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav__links a { padding: 14px 16px; font-size: 18px; font-weight: 600; color: var(--ink); border-radius: 14px; }
  body.menu-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links { max-height: calc(100vh - 100px); max-height: calc(100svh - 100px); overflow-y: auto; }
  .nav__links .nav__more { display: block; }
  .nav__links .nav__menu-cta { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 8px; background: var(--ink); color: #fff; }
  .nav__links .nav__menu-cta:hover { background: var(--ink); color: #fff; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 96px; gap: 28px; text-align: center; }
  .hero__visual { order: -1; max-width: 400px; }
  .eyebrow { margin-bottom: 18px; }
  .hero__lede { margin-inline: auto; }
  .hero__actions, .hero__facts { justify-content: center; }

  .ventures { grid-template-columns: 1fr; }
  .past-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .records { grid-template-columns: 1fr; }
  .contact__card { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__social { grid-column: 1 / -1; }
  .orbit { width: min(260px, 80%); --r: min(104px, 30vw); }
}

/* =========================================================
   PHONE
   ========================================================= */
@media (max-width: 600px) {
  body { font-size: 15px; }
  .nav { top: 10px; }
  .hero { gap: 24px; }
  .hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
  .hero__facts b { font-size: 20px; }
  .hero__facts li > span { font-size: 11.5px; line-height: 1.35; }
  .hero__actions .btn { flex: 1 1 100%; }
  .float-card { padding: 7px 10px 7px 7px; gap: 8px; border-radius: 13px; }
  .float-card > .ico { width: 28px; height: 28px; padding: 6px; }
  .float-card b { font-size: 12px; }
  .float-card small { font-size: 10px; }
  .float-card--a { top: 6%; } .float-card--c { bottom: 16%; }
  /* the soft background colour blobs stay put on phones: same look, less GPU and battery work */
  .blob { animation: none; }
  /* About on phones: no cartoon (the hero already shows one; display:none also skips its download),
     one centred column, the "Currently" line as a soft rounded box, stats centred */
  .about__art { display: none; }
  .about__text { text-align: center; }
  .about__text .about__now { flex-wrap: wrap; justify-content: center; gap: 4px 8px; padding: 10px 16px; border-radius: 16px; font-size: 12.5px; }
  .about__stats div, .about__stats div + div { padding: 18px 6px 0; justify-items: center; }
  .about__stats b { font-size: 28px; }
  .about__stats span { font-size: 12px; }
  /* Community on phones: number + label hug beside a larger cartoon, one row of buttons, platforms as 3 tiles */
  #community .section__sub { font-size: 14px; }
  .creator { gap: 10px; }
  .cr-yt { grid-template-columns: minmax(0, 1fr) 132px; grid-template-areas: "badge badge" "num art" "label art" "topics topics" "cta cta"; padding: 18px; }
  .cr-yt__badge { font-size: 13px; }
  .cr-yt__num { font-size: 46px; margin-top: 0; align-self: end; }
  .cr-yt__label { font-size: 13.5px; align-self: start; }
  .cr-yt__art { height: 160px; margin: 10px -8px 0 0; align-self: center; }
  .cr-yt__art::before { width: 150px; height: 150px; }
  .cr-yt__topics { margin-top: 14px; gap: 6px; }
  .cr-yt__topics span { font-size: 12px; padding: 5px 10px; }
  .cr-yt__cta { width: 100%; flex-wrap: nowrap; gap: 8px; margin-top: 16px; }
  .cr-yt__cta .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }
  .cr-long, .cr-yt__handle { display: none; }
  .cr-short { display: inline; }
  .cr-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cr-row { position: relative; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 16px 6px 14px; }
  .cr-row:hover { transform: translateY(-4px); }
  .cr-row__icon { width: 40px; height: 40px; padding: 10px; border-radius: 12px; }
  .cr-row__text { flex: none; }
  .cr-row__top { flex-direction: column; align-items: center; gap: 4px; }
  .cr-row__top b { font-size: 19px; }
  .cr-row__top > span { font-size: 11.5px; font-weight: 500; color: var(--muted); }
  .cr-row small { display: none; }
  .cr-row__go { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; font-size: 11px; }
  .act-line { padding: 11px 0; }
  .act-line__track { gap: 12px; }
  .act { gap: 8px; padding: 5px 14px 5px 5px; font-size: 13px; }
  .act__ico { width: 28px; height: 28px; padding: 6px; }
  .skl { padding: 4px 8px; }
  .skl__row { grid-template-columns: 1fr; gap: 10px; padding: 16px 8px; }
  .skl__row + .skl__row::before { left: 8px; right: 8px; }
  .skl__ico { width: 38px; height: 38px; padding: 9px; border-radius: 11px; }
  .skl__head h3 { font-size: 16px; }
  .skl__list { font-size: 13.5px; line-height: 1.85; }
  .skl__list i { margin: 0 3px; }
  .trust__label { flex-direction: column; gap: 2px; font-size: 11px; }
  .trust__label::before, .trust__label::after, .trust__label i { display: none; }
  .org { width: 132px; height: 104px; padding: 10px 8px 8px; }
  .org__logo img { max-height: 34px; }
  .org__logo b { font-size: 16px; }
  .org--inst { width: 142px; }
  .org--inst .org__logo img { max-height: 40px; }
  .strip__track { gap: 10px; }
  .certs { grid-template-columns: 1fr; }
  .honours { flex-wrap: wrap; gap: 10px; }
  .honour { order: var(--o); }
  .honour--wide { flex-basis: 100%; }
  .honours__break { display: none; }
  .cert:last-child { grid-column: auto; }

  .cert:last-child .fit { aspect-ratio: 1.27; }
  .slides, .slides__track { gap: 10px; }
  .slide { --h: 140px; border-radius: 13px; }
  /* phones: full names wrap, date on its own line, "Active" becomes a green dot in the corner */
  .venture { position: relative; align-items: flex-start; padding: 12px 14px; gap: 12px; }
  .venture__mark { width: 38px; height: 38px; border-radius: 11px; font-size: 14px; }
  .venture h3 { white-space: normal; padding-right: 16px; }
  .venture__sep { display: none; }
  .venture__meta .mono { display: block; margin-top: 2px; }
  .live { position: absolute; top: 14px; right: 14px; padding: 0; font-size: 0; background: none; }
  .live::before { width: 8px; height: 8px; box-shadow: 0 0 0 4px #e8faf0; }
  .past-tile b { font-size: 13.5px; }
  .past-grid { gap: 10px; }
  .past-tile { padding: 12px 14px; }
  .hobbies { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hobby { flex-direction: column; text-align: center; gap: 8px; padding: 12px 6px; font-size: 12.5px; line-height: 1.3; }
  .edu { padding-left: 26px; gap: 10px; }
  .edu__dot { left: -26px; width: 14px; height: 14px; }
  .edu::before, .edu__fill { left: 6px; }
  .edu__item { padding: 12px 14px; }
  .edu__t { font-size: 16px; }
  .edu__i { font-size: 13px; }
  .row { flex-direction: column; gap: 2px; }
  .contact__links .btn { flex: 1 1 100%; }
  .orbit__item { width: 42px; height: 42px; margin: -21px; }
  .lb { padding: 64px 8px; }
  .lb__prev, .lb__next { top: auto; bottom: 10px; translate: none; }
  .lb__cap { bottom: 24px; }
}

/* Touch screens of any size (phones, iPads): roomier footer links, ~44px tall, for thumbs */
@media (hover: none) {
  .footer__links { row-gap: 0; }
  .footer__links a { padding: 11px 0; }
  .footer__mail { display: inline-block; padding: 10px 0; }
  .footer__bottom a { display: inline-block; padding: 12px 0; margin: -12px 0; }
}

/* Footer on phones: one centred column; links in 3 even columns across the full width (~44px tall each);
   placed after the touch rules above so these win on phones */
@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr; gap: 20px; padding: 32px 0 24px; justify-items: center; text-align: center; }
  .footer__brand { display: grid; justify-items: center; }
  .footer__brand p { margin: 10px auto 2px; }
  .footer__links { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
  .footer__links a { flex: 0 0 33.333%; padding: 11px 4px; }   /* 3 per row; a short last row sits centred */
  .footer__social { grid-column: auto; justify-content: center; }
  .footer__social a { width: 44px; height: 44px; }
  .footer__bottom { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .footer__bottom a { display: inline-flex; align-items: center; min-height: 40px; margin: 0; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .split, .hero-in { opacity: 1 !important; transform: none !important; }
  /* still grid instead of moving strips */
  .strip__viewport { width: auto; margin-left: 0; cursor: auto; }
  .strip__track { width: auto; flex-wrap: wrap; justify-content: center; }
  .strip__track [aria-hidden="true"] { display: none; }
}

/* =========================================================
   SECUEYES ADDITIONS (loaded after the portfolio base styles)
   ========================================================= */
:root { --navy: #0a2540; --wa: #25d366; --grad: linear-gradient(135deg, var(--blue), var(--violet)); }
.nav__name { font-size: 18px; color: var(--navy); letter-spacing: -.01em; }
.nav__mark { height: 34px; }
.hero__title { font-size: clamp(32px, 3.6vw, 54px); line-height: 1.04; }
@media (min-width: 901px) { .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
/* headings that wrap break into even lines, never one lonely word */
.h2, .hero__title, .chero__title, .section__sub { text-wrap: balance; }
.hero__line--sm { color: var(--blue); font-size: max(12px, .24em); }
.hero__facts b { font-size: 28px; }
.hero { min-height: calc(100vh - 150px); min-height: calc(100svh - 150px); }
.marquee { background: var(--navy); }
.vt-label { margin: 32px 0 12px; }
.section__sub { max-width: 60ch; }

/* Hero eye in front of the globe */
.eye { position: absolute; left: 50%; top: 47%; width: 44%; translate: -50% -50%; pointer-events: none; filter: drop-shadow(0 22px 28px rgba(10, 40, 100, .28)); }
.eye img { display: block; width: 100%; height: auto; will-change: transform; }
/* a soft light sweep across the logo, clipped to the logo's own shape */
.eye__shine { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url(../assets/logo-mark-lg.png) center / contain no-repeat; mask: url(../assets/logo-mark-lg.png) center / contain no-repeat;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, .55) 50%, transparent 58%) no-repeat; background-size: 300% 100%;
  animation: shine 6s ease-in-out 2s infinite; }
@keyframes shine { 0% { background-position: 100% 0; } 30%, 100% { background-position: 0 0; } }
.nav__word { display: block; width: auto; height: 19px; }
.footer .nav__word { height: 20px; }
.loader__logo { width: 140px; }
.float-card > .ico { color: #fff; }
.float-card > .ico--inf { background: linear-gradient(135deg, var(--wa), #0e9f6e); box-shadow: 0 8px 18px -8px var(--wa); }

/* Courses grid: 7 cards + "full program" */
.courses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.course { display: flex; flex-direction: column; gap: 10px; padding: 20px; min-width: 0; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(26, 95, 208, .25); }
.course__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.course__no { font-size: 28px; font-weight: 600; line-height: 1; color: var(--blue); }
.course__ico { width: 42px; height: 42px; padding: 10px; border-radius: 12px; color: var(--blue); background: var(--blue-soft); transition: transform .45s var(--spring), background .3s, color .3s; }
.course:hover .course__ico { transform: rotate(-8deg) scale(1.08); background: var(--grad); color: #fff; }
.course h3 { margin: 0; font-family: var(--f-display); font-size: 19px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.course p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.course__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-size: 12.5px; color: var(--muted); }
.course__meta b { color: var(--ink); }
.course__meta i { font-style: normal; color: var(--dim); }
.course__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.course__go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.course:hover .course__go svg { transform: translateX(4px); }
.course--all { border: 0; color: #fff; background: radial-gradient(ellipse at 100% 0%, rgba(18, 160, 224, .45), transparent 55%), linear-gradient(160deg, #0f3a7a, var(--navy)); box-shadow: var(--shadow-lg); }
.course--all:hover { transform: none; }
.course--all .course__no { color: #8fc7ff; font-size: 20px; }
.course--all .course__ico { color: #fff; background: rgba(255, 255, 255, .12); }
.course--all h3 { color: #fff; }
.course--all p, .course--all .course__meta { color: #b9cbe6; }
.course--all .course__meta b { color: #fff; }
.course--all .btn { align-self: flex-start; margin-top: 6px; min-height: 42px; font-size: 13.5px; }

/* Roadmap chart */
.road { padding: clamp(14px, 2.2vw, 26px); }
.road__head, .road__row { display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 18px; align-items: center; }
.road__head { row-gap: 6px; margin-bottom: 6px; padding: 0 10px; }
.road__head > span:not([class]) { display: none; }
@media (min-width: 761px) { .road__head .road__grid { grid-column: 2; } .road__corner { grid-column: 1; grid-row: 1 / 3; } }
.road__corner { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.road__grid { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); }
.road__months span { margin: 0 2px; padding: 3px 0; border-radius: 999px; text-align: center; white-space: nowrap; overflow: hidden; font-family: var(--f-mono); font-size: 11px; color: var(--blue); background: var(--blue-soft); }
.road__weeks span { text-align: center; font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.road__row { padding: 9px 10px; border-top: 1px solid var(--line); border-radius: 12px; transition: background .3s; }
.road__row:hover { background: rgba(26, 95, 208, .045); }
.road__label { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; column-gap: 10px; min-width: 0; }
.road__label .road__no { grid-row: span 2; }
.road__no { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--blue); background: var(--blue-soft); }
.road__name { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.road__label small { font-size: 12px; line-height: 1.3; color: var(--dim); }
.road__wk { display: none; }
.road__track { height: 34px; border-radius: 9px; background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: calc(100% / 15) 100%; }
.road__bar { grid-row: 1; display: flex; align-items: center; min-width: 0; padding: 0 10px; border-radius: 9px; overflow: hidden; white-space: nowrap; font-size: 12px; font-weight: 600; color: #fff; background: var(--grad); transform-origin: left; box-shadow: 0 8px 18px -10px var(--violet); }
.road__row:nth-child(3n) .road__bar { background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.road__row:nth-child(3n+1) .road__bar { background: linear-gradient(135deg, var(--violet), var(--navy)); }
.road__foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.road__foot .ico { width: 16px; height: 16px; color: var(--blue); }

/* How you learn: modes + labs */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mode { padding: 22px; transition: transform .45s var(--ease), box-shadow .45s; }
.mode:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mode__ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; color: #fff; background: var(--grad); }
.mode:nth-child(2) .mode__ico { background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.mode:nth-child(3) .mode__ico { background: linear-gradient(135deg, var(--navy), var(--violet)); }
.mode h3 { margin: 16px 0 4px; font-family: var(--f-display); font-size: 19px; font-weight: 700; color: var(--ink); }
.mode p { margin: 0; font-size: 14px; color: var(--muted); }
.labs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lab { display: grid; align-content: start; gap: 4px; padding: 16px; min-width: 0; transition: transform .45s var(--ease), box-shadow .45s; }
.lab:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lab__ico { width: 34px; height: 34px; padding: 8px; margin-bottom: 6px; border-radius: 10px; color: var(--blue); background: var(--blue-soft); }
.lab b { font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.lab > span:not(.ico) { font-size: 13px; line-height: 1.5; color: var(--muted); }
.lab i { margin-top: 6px; font-style: normal; font-size: 11px; color: var(--blue); }

/* Instructor */
/* computers: text column starts on the same left edge as the cards; picture on the right */
@media (min-width: 1081px) {
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); justify-content: stretch; gap: 48px; }
  .about__art { max-width: 360px; justify-self: end; }
}
.about__text .skl__list { margin: 0 0 6px; font-size: 13.5px; line-height: 1.9; color: var(--ink); }
.about__stats { margin-top: 22px; }
.about__stats b span { font-size: inherit; color: inherit; line-height: inherit; }
.about__text .about__cta { margin-top: 24px; }
.certs { margin-top: clamp(28px, 4vw, 44px); }
button.cert { font: inherit; text-align: left; }
.cert__tag { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #fff; background: rgba(8, 24, 43, .78); }

/* Free demo */
.demo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; }
.demo__slots, .demo__covers { padding: clamp(20px, 2.6vw, 30px); }
.demo__slots { background: radial-gradient(110% 80% at 100% 100%, #e3f9ec, transparent 60%), var(--card); }
.demo__k { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.demo__k .ico { width: 18px; height: 18px; }
.slot { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "day go" "time go"; align-items: center; column-gap: 12px; margin-top: 10px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--card); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.slot:hover { transform: translateX(4px); border-color: var(--wa); box-shadow: var(--shadow); }
.slot__day { grid-area: day; font-weight: 600; color: var(--ink); }
.slot__time { grid-area: time; font-size: 13px; color: var(--muted); }
.slot__go { grid-area: go; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; background: var(--wa); }
.slot__go .ico { width: 18px; height: 18px; }
.demo__note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.demo__covers ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.demo__covers li { display: flex; gap: 12px; font-size: 14.5px; color: var(--ink); }
.demo__covers li .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; background: var(--grad); margin-top: 1px; }
.demo__call { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.demo__call a { font-weight: 600; color: var(--blue); }

/* Careers + guidance */
.careers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.career { position: relative; padding: 22px; transition: transform .45s var(--ease), box-shadow .45s; }
.career:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.career__no { position: absolute; top: 18px; right: 20px; font-size: 12px; color: var(--dim); }
.career__ico { width: 42px; height: 42px; padding: 10px; border-radius: 12px; color: #fff; background: var(--grad); }
.career:nth-child(2n) .career__ico { background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.career h3 { margin: 14px 0 4px; font-family: var(--f-display); font-size: 17px; font-weight: 700; color: var(--ink); }
.career p { margin: 0; font-size: 14px; color: var(--muted); }
.career__e { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px !important; }
.career__e .mono { width: 100%; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.career__e a { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--ink); transition: color .3s, border-color .3s; }
.career__e a:hover { color: var(--blue); border-color: var(--blue); }
.careers__note { margin: 14px 0 0; text-align: center; font-size: 12.5px; color: var(--dim); }
.beyond-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.beyond-grid .hobby { align-items: flex-start; padding: 14px 16px; background: var(--card); }
.beyond-grid .hobby span { display: grid; gap: 2px; }
.beyond-grid .hobby small { font-size: 13px; font-weight: 400; color: var(--muted); }

/* FAQ and syllabus accordions */
.faq, .syl { display: grid; gap: 10px; max-width: 880px; margin: 0 auto; }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; list-style: none; cursor: pointer; font-weight: 600; font-size: 15.5px; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; border-radius: 2px; background: var(--blue); transition: transform .35s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa__a { padding: 0 20px 18px; }
.qa__a p { margin: 0; color: var(--muted); }
.syl__g summary > span { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.syl__n { padding: 3px 8px; border-radius: 8px; font-size: 12px; color: var(--blue); background: var(--blue-soft); }
.syl__g summary small { font-family: var(--f-mono); font-size: 11.5px; font-weight: 400; color: var(--dim); }
.syl__list { columns: 2; column-gap: 28px; list-style: none; margin: 0; padding: 0; }
.syl__list li { position: relative; padding: 6px 0 6px 18px; break-inside: avoid; font-size: 14.5px; color: var(--ink); }
.syl__list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.linkbtn { padding: 0; border: 0; background: none; cursor: pointer; color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Contact orbit: the logo sits on a white disc */
.orbit__core--logo { display: grid; place-items: center; background: #fff; box-shadow: 0 0 60px rgba(18, 160, 224, .55); }
.orbit__core--logo img { left: 50%; top: 50%; bottom: auto; width: auto; height: 64%; translate: -50% -50%; filter: none; }
.orbit__item--wa:hover { background: var(--wa); box-shadow: 0 0 30px var(--wa); }
.orbit__item--mail:hover { background: var(--blue); box-shadow: 0 0 30px var(--blue); }
.orbit__item--tel:hover { background: var(--cyan); box-shadow: 0 0 30px var(--cyan); }
.contact__card--slim { grid-template-columns: 1fr; }
.contact__card--slim .contact__text { max-width: 720px; }

/* Footer: brand, courses, more links, contact icons */
.footer__top { grid-template-columns: 1.25fr 1.1fr 1.05fr auto; }
.footer__links--courses { grid-template-columns: 1fr; gap: 8px; }
.footer__links--courses .mono { font-size: 11px; color: var(--blue); margin-right: 4px; }
.footer__links--more { grid-template-columns: 1fr; gap: 8px; }

/* Phone/tablet action bar (shown by main.js after the first screen) */
.dock { display: none; }
@media (max-width: 900px) {
  .dock { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .9); border-top: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    transform: translateY(110%); transition: transform .45s var(--ease); }
  .dock.show { transform: none; }
  .dock__main { flex: 1; }
  .dock__call { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ink); }
  .dock__call .ico { width: 20px; height: 20px; }
}

/* =========================================================
   COURSE PAGES
   ========================================================= */
.chero { position: relative; max-width: var(--max); margin: 0 auto; padding: 118px var(--gutter) 10px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.crumbs a { color: var(--blue); }
.chero__title { margin: 16px 0 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.04em; color: var(--ink); }
.chero__no { display: inline-block; margin-right: .4em; padding: .18em .5em; border-radius: 999px; vertical-align: middle; font-family: var(--f-mono); font-size: .36em; letter-spacing: 0; color: var(--blue); background: var(--blue-soft); }
.chero__sum { max-width: 62ch; margin: 18px 0 0; font-size: clamp(15px, 1.3vw, 17.5px); color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 13.5px; font-weight: 500; color: var(--ink); }
.chips .ico { width: 16px; height: 16px; color: var(--blue); }
.glance { padding: 22px; }
.glance__k { margin: 0 0 8px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.glance__k ~ .glance__k { margin-top: 18px; }
.glance__list { margin: 0; }
.glance__list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.glance__list dt { color: var(--muted); }
.glance__list dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
.glance__tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.glance__tools span { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; color: var(--ink); background: var(--bg-soft); }
.glance__steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.glance__steps i { height: 6px; border-radius: 3px; background: var(--line-2); }
.glance__steps i.done { background: rgba(26, 95, 208, .35); }
.glance__steps i.now { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.cnav { max-width: var(--max); margin: 28px auto 0; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.cnav::-webkit-scrollbar { display: none; }
.cnav__track { display: flex; gap: 8px; width: max-content; padding: 4px 0; }
.cnav__pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: color .3s, border-color .3s; }
.cnav__pill:hover { color: var(--ink); border-color: var(--line-2); }
.cnav__pill .mono { font-size: 11.5px; color: var(--blue); }
.cnav__pill.is-on { color: #fff; border-color: var(--ink); background: var(--ink); }
.cnav__pill.is-on .mono { color: #8fc7ff; }
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.outcome { position: relative; padding: 20px; }
.outcome__n { position: absolute; top: 16px; right: 18px; font-size: 12px; color: var(--dim); }
.outcome__ico { width: 36px; height: 36px; padding: 8px; border-radius: 11px; color: #fff; background: var(--grad); }
.outcome p { margin: 14px 0 0; font-size: 15px; font-weight: 500; color: var(--ink); }
.days { max-width: 880px; margin: 0 auto; padding: 6px 0; list-style: none; }
.day { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px 22px; }
.day + .day { border-top: 1px solid var(--line); }
.day__n { font-size: 12.5px; font-weight: 600; color: var(--blue); }
.day__t { font-size: 15px; font-weight: 600; color: var(--ink); }
.day__w { padding: 3px 9px; border-radius: 999px; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); background: var(--bg-soft); }
.pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pn__card { display: grid; gap: 6px; padding: 22px; transition: transform .45s var(--ease), box-shadow .45s; }
.pn__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pn__card--next { text-align: right; }
.pn__card .mono { font-size: 12px; color: var(--blue); }
.pn__card b { font-family: var(--f-display); font-size: 18px; color: var(--ink); }
.pn__card small { font-size: 13px; color: var(--muted); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .labs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .careers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .road__head, .road__row { grid-template-columns: 200px minmax(0, 1fr); }
  .road__label small { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .demo { grid-template-columns: 1fr; }
  .modes { grid-template-columns: 1fr; }
  .chero { grid-template-columns: 1fr; padding-top: 104px; }
  .outcomes { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* roadmap: label above each bar, chart keeps all 15 weeks */
  .road__head, .road__row { grid-template-columns: 1fr; }
  .road__corner, .road__head > span:not([class]) { display: none; }
  .road__row { row-gap: 8px; padding: 12px 6px; }
  .road__head { padding: 0 6px; }
  .road__label small { display: block; }
  .road__wk { display: inline; }
  .road__bar span { display: none; }
  .road__track { height: 22px; }
  .road__months span { font-size: 10px; }
  .road__weeks span { font-size: 10px; }
}
@media (max-width: 600px) {
  .courses, .careers, .labs, .beyond-grid { grid-template-columns: 1fr; }
  .course p { -webkit-line-clamp: unset; }
  .hero__facts b { font-size: 22px; }
  .eye { width: 50%; }
  .syl__list { columns: 1; }
  .qa summary { padding: 16px; font-size: 15px; }
  .qa__a { padding: 0 16px 16px; }
  .day { grid-template-columns: auto 1fr; grid-template-areas: "n w" "t t"; gap: 4px 10px; padding: 12px 16px; }
  .day__n { grid-area: n; } .day__w { grid-area: w; justify-self: end; } .day__t { grid-area: t; font-size: 14.5px; }
  .pn { grid-template-columns: 1fr; }
  .pn__card--next { text-align: left; }
  .slot { grid-template-areas: "day go" "time go"; padding: 12px 14px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__links--courses, .footer__links--more { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0; text-align: left; }
  .footer__links--courses a, .footer__links--more a { flex: none; padding: 10px 4px; }
}

/* =========================================================
   PHONE / TABLET ALIGNMENT FIXES (kept last so they win)
   ========================================================= */
@media (max-width: 900px) { .demo { gap: 12px; } }
@media (min-width: 601px) and (max-width: 900px) { .modes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mode { padding: 18px; } }
@media (max-width: 1180px) {
  /* hero picture: smaller logo, the three cards tucked into the corners so they never cover it */
  .eye { width: 40%; top: 48%; }
  .float-card--a { top: 2%; left: 0; }
  .float-card--b { top: auto; bottom: 3%; right: 0; }
  .float-card--c { bottom: 3%; left: 0; }
}
@media (max-width: 600px) {
  /* "Online · Classroom · Workshops" on one line */
  .trust__label { flex-direction: row; gap: 8px; font-size: 11px; letter-spacing: .1em; }
  .trust__label i { display: inline; }
  /* guidance tiles: icon beside left-aligned text, like every other card */
  .beyond-grid .hobby { flex-direction: row; align-items: flex-start; text-align: left; gap: 14px; padding: 14px 16px; font-size: 14px; }
  .beyond-grid .hobby small { font-size: 13px; }
  /* instructor: one clean column, left-aligned like the rest of the cards */
  .about__text { text-align: left; }
  .about__stats div, .about__stats div + div { justify-items: start; padding: 16px 8px 0 0; }
  .about__stats div + div { padding-left: 12px; }
  .about__stats b { font-size: 26px; }
  .about__cta .btn { width: 100%; }
  /* footer: everything left-aligned, links in two even columns */
  .footer__top { justify-items: stretch; text-align: left; }
  .footer__brand { justify-items: start; }
  .footer__brand p { margin: 10px 0 2px; }
  .footer__links--courses, .footer__links--more { padding-top: 14px; border-top: 1px solid var(--line); }
  .footer__links--courses a, .footer__links--more a { padding: 9px 8px 9px 0; }
  .footer__social { justify-content: flex-start; }
  .footer__bottom { align-items: flex-start; text-align: left; }
}.hobby:nth-child(3) i { background: linear-gradient(135deg, var(--navy), var(--violet)); box-shadow: 0 8px 18px -10px var(--navy); }
@media (max-width: 600px) {
  .footer__links--courses { grid-template-columns: 1fr; }
  /* certificates: three thumbnails in one row (tap to view full size) */
  .certs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cert { border-radius: 12px; }
  .cert .fit, .cert:last-child .fit { aspect-ratio: 1.27; }
  .cert__tag { left: 6px; bottom: 6px; padding: 2px 7px; font-size: 10px; }
}/* tablets: smaller instructor picture; one-week roadmap bars too narrow for their label */
@media (max-width: 1080px) { .about__art { max-width: 220px; } }
@media (max-width: 1100px) { .road__bar--one span { display: none; } }/* computers: all seven course pills fit, so they wrap and centre instead of scrolling */
@media (min-width: 1081px) { .cnav__track { width: auto; flex-wrap: wrap; justify-content: center; } }
/* =========================================================
   INSTRUCTOR (real photo)
   ========================================================= */
.mentor { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.mentor__photo { position: relative; margin: 0; padding: 0 0 26px; }
.mentor__frame { display: block; width: 100%; padding: 0; border: 0; border-radius: 24px; overflow: hidden; cursor: zoom-in; background: var(--bg-soft);
  box-shadow: var(--shadow-lg); outline: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s; }
.mentor__frame img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.mentor__frame:hover img { transform: scale(1.04); }
.mentor__photo::before { content: ""; position: absolute; inset: 8% -4% 18% 6%; z-index: -1; border-radius: 32px; background: radial-gradient(circle at 30% 40%, rgba(26, 95, 208, .22), rgba(18, 160, 224, .1) 50%, transparent 72%); filter: blur(20px); }
.mentor__badge { pointer-events: none; }
.mentor__badge--a { top: -16px; right: -14px; }
.mentor__badge--b { left: -14px; bottom: 56px; animation-delay: -3s; }
.mentor__cap { position: absolute; left: 18px; right: 18px; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: var(--shadow);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mentor__cap b { font-family: var(--f-display); font-size: 15px; color: var(--ink); }
.mentor__cap span { font-family: var(--f-mono); font-size: 11.5px; color: var(--blue); }
.mentor__text > p { margin: 0 0 14px; color: var(--muted); }
.mentor__text .about__lead { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.6; color: var(--ink); }
.mentor__text .about__lead strong { color: var(--blue); font-weight: 600; }
.mentor__role { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13px; color: var(--muted) !important; }
.mentor__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 22px; border-block: 1px solid var(--line); }
.mentor__stats div { display: grid; gap: 4px; align-content: start; padding: 16px 12px 16px 0; }
.mentor__stats div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.mentor__stats b { font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.mentor__stats b span { font: inherit; color: inherit; }
.mentor__stats div > span { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.mentor__k { margin: 0 0 10px !important; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue) !important; }
.mentor__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mentor__chips span { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: 12.5px; font-weight: 500; color: var(--ink); }
.mentor__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.mentor__awards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 44px); }
.mentor__award { position: relative; padding: 20px; transition: transform .45s var(--ease), box-shadow .45s; }
.mentor__award:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mentor__date { position: absolute; top: 18px; right: 18px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; color: var(--blue); background: var(--blue-soft); }
.mentor__aico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #f5b301, #e07b00); box-shadow: 0 8px 18px -10px #e07b00; }
.mentor__award:first-child .mentor__aico { background: var(--grad); box-shadow: 0 8px 18px -10px var(--violet); }
.mentor__award h3 { margin: 14px 0 4px; font-family: var(--f-display); font-size: 17px; font-weight: 700; color: var(--ink); }
.mentor__award p { margin: 0; font-size: 14px; color: var(--muted); }
.certs--sm { margin-top: 14px; }

@media (max-width: 1080px) {
  .mentor { grid-template-columns: 1fr; }
  .mentor__photo { max-width: 680px; width: 100%; justify-self: center; }
  .mentor__badge--a { right: 0; } .mentor__badge--b { left: 0; }
}
@media (max-width: 900px) { .mentor__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mentor__stats div:nth-child(3) { padding-left: 0; border-left: 0; } .mentor__stats div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 760px) { .mentor__awards { grid-template-columns: 1fr; gap: 10px; } }
@media (max-width: 600px) {
  .mentor__frame { border-radius: 18px; }
  .mentor__badge--a { top: -12px; right: -4px; }
  .mentor__badge--b { display: none; }
  .mentor__cap { left: 10px; right: 10px; padding: 10px 12px; }
  .mentor__cap b { font-size: 13.5px; }
  .mentor__cta .btn { flex: 1 1 100%; }
  .mentor__stats b { font-size: 26px; }
  .mentor__award { padding: 16px; }
}/* photo: a little taller, no caption over it, badges on two corners */
.mentor__photo { padding: 0; }
.mentor__frame img { aspect-ratio: 4 / 3; object-position: 35% center; }
.mentor__badge--b { bottom: -16px; left: -14px; }
@media (max-width: 1080px) { .mentor__badge--b { left: 0; } }
@media (max-width: 600px) { .mentor__badge--b { display: inline-flex; bottom: -12px; left: -4px; } .mentor__photo { margin-bottom: 12px; } }
/* =========================================================
   8 COURSES: live / recorded tags, program banner, recorded course
   ========================================================= */
.course__top { gap: 8px; }
.course__tag { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: #9a4d00; background: #fff1de; }
.course__tag .ico { width: 14px; height: 14px; }
.course__tag--live { color: #067647; background: #e8faf0; }
.course__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(18, 183, 106, .2); }
.course--rec { background: radial-gradient(120% 80% at 100% 0%, #fff4e5, transparent 55%), var(--card); }
.course--rec .course__ico { color: #c56a00; background: #fff1de; }
.course--rec:hover .course__ico { background: linear-gradient(135deg, #f5a524, #e07b00); color: #fff; }
/* live-program banner: one row across the full grid width */
.course--all { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 20px; padding: 22px 26px; }
.course--all > .course__ico { flex: none; width: 52px; height: 52px; padding: 13px; border-radius: 16px; }
.course__all-text { flex: 1; min-width: 0; display: grid; gap: 4px; }
.course--all .course__no { font-size: 12px; letter-spacing: .06em; }
.course--all h3 { font-size: 20px; }
.course--all p { -webkit-line-clamp: unset; }
.course--all .btn { flex: none; align-self: center; margin: 0; }
@media (max-width: 760px) { .course--all { flex-direction: column; align-items: flex-start; padding: 20px; } .course--all .btn { align-self: flex-start; } }
/* roadmap note about the recorded course */
.road__rec { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; border: 1px dashed #f0c27a; background: #fffaf2; font-size: 13.5px; color: var(--muted); transition: border-color .3s; }
.road__rec:hover { border-color: #e07b00; }
.road__rec b { color: var(--ink); }
.road__rec .road__no { color: #c56a00; background: #fff1de; }
.road__rec-go { flex: none; margin-left: auto; color: #c56a00; }
.road__rec-go svg { width: 18px; height: 18px; display: block; }
/* syllabus Theory / Practical sub-headings */
.syl__sub { margin: 8px 0 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.syl__sub:first-child { margin-top: 0; }
.qa__a .syl__list + .syl__sub { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.pn__card small.course__meta { display: flex; margin: 0; padding: 0; }
.pn__card--next small.course__meta { justify-content: flex-end; }
@media (max-width: 600px) { .pn__card--next small.course__meta { justify-content: flex-start; } }
.glance__steps { grid-template-columns: repeat(var(--n, 7), 1fr); }

/* =========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================= */
.wa-fab { position: fixed; z-index: 75; right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(20px) scale(.8); transition: opacity .5s var(--ease), transform .5s var(--spring), bottom .45s var(--ease); }
body.ready .wa-fab { opacity: 1; transform: none; transition-delay: .6s; }
.wa-fab__ico { position: relative; width: 58px; height: 58px; padding: 14px; border-radius: 50%; color: #fff; background: var(--wa);
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7), 0 2px 6px rgba(0, 0, 0, .12); transition: transform .35s var(--spring); }
/* a soft ring that pulses outward every few seconds */
.wa-fab__ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: wa-ring 2.6s ease-out infinite; }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-fab__tip { padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow);
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.wa-fab:hover .wa-fab__ico, .wa-fab:focus-visible .wa-fab__ico { transform: scale(1.08); }
.wa-fab:hover .wa-fab__tip, .wa-fab:focus-visible .wa-fab__tip { opacity: 1; transform: none; }
/* phones/tablets: smaller, and it moves up while the "Book free demo" bar is showing */
@media (max-width: 900px) {
  .wa-fab { right: calc(14px + env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); }
  .wa-fab__ico { width: 52px; height: 52px; padding: 12px; }
  .wa-fab__tip { display: none; }
  body:has(.dock.show) .wa-fab { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
/* the lightbox covers everything, the button included */
body:has(.lb.open) .wa-fab { opacity: 0; pointer-events: none; }
/* =========================================================
   MOBILE POLISH (audit fixes)
   ========================================================= */
/* syllabus headers: number badge on the left, title with its count stacked beside it */
.syl__g summary > span { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; row-gap: 2px; }
.syl__g .syl__n { grid-row: span 2; align-self: center; }
.syl__t { line-height: 1.3; }
.syl__g summary small { grid-column: 2; }
/* prev/next cards: the class count uses the small meta style, not the big title font */
.pn__card .course__meta b { font: inherit; font-weight: 600; color: var(--ink); }
/* bigger tap areas */
.contact__mail { padding: 8px 0; }
.crumbs a { display: inline-flex; align-items: center; min-height: 40px; margin: -10px 0; }
/* roadmap footnote: centred, wraps neatly */
.road__foot { flex-wrap: wrap; text-align: center; }
/* WhatsApp button: hidden while the phone menu is open */
body.menu-open .wa-fab { opacity: 0; pointer-events: none; }
@media (max-width: 900px) {
  /* once the bottom "Book free demo" bar (which has WhatsApp) shows, the round button steps aside */
  body:has(.dock.show) .wa-fab { bottom: calc(14px + env(safe-area-inset-bottom)); opacity: 0; pointer-events: none; transform: translateY(20px) scale(.8); }
}
@media (max-width: 420px) {
  .eyebrow { font-size: 12px; white-space: nowrap; padding: 6px 12px 6px 9px; gap: 8px; }
}
@media (max-width: 600px) {
  /* compact rows: icon on the left, text beside it (less scrolling) */
  .mode { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .mode__ico { grid-row: span 2; width: 42px; height: 42px; padding: 10px; border-radius: 12px; }
  .mode h3 { margin: 0 0 2px; font-size: 17px; }
  .mode p { font-size: 13.5px; }
  .modes { gap: 10px; }
  .labs { gap: 10px; }
  .lab { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; padding: 14px; }
  .lab__ico { grid-row: span 3; margin: 0; }
  .lab i { margin-top: 2px; }
  .careers { gap: 10px; }
  .career { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .career__ico { grid-row: span 2; width: 40px; height: 40px; padding: 9px; }
  .career h3 { margin: 0 30px 2px 0; font-size: 16px; }
  .career p { font-size: 13.5px; }
  .career .career__e { grid-column: 1 / -1; margin-top: 12px !important; }
  .career__no { top: 16px; right: 16px; }
  .mentor__award { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .mentor__aico { grid-row: span 2; }
  .mentor__award h3 { margin: 0 70px 2px 0; font-size: 16px; }
  .mentor__award p { font-size: 13.5px; }
  .mentor__date { top: 16px; right: 16px; }
}
/* =========================================================
   CERTIFIED & RECOGNISED (ISO 9001, ISO 27001, MSME)
   ========================================================= */
.certify { max-width: 980px; margin: 0 auto clamp(26px, 3.4vw, 40px); padding: 18px clamp(16px, 2.4vw, 28px); border-radius: 22px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.certify__k { margin: 0 0 12px; text-align: center; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.certify__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.certify__item { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; padding: 4px 6px; }
.certify__item + .certify__item { border-left: 1px solid var(--line); }
.certify__item img { flex: none; width: auto; height: 64px; transition: transform .45s var(--spring); }
.certify__item:hover img { transform: scale(1.06) rotate(-3deg); }
.certify__item span { display: grid; gap: 1px; min-width: 0; }
.certify__item b { font-family: var(--f-display); font-size: 15px; color: var(--ink); }
.certify__item small { font-size: 12px; line-height: 1.35; color: var(--muted); }
/* MSME is a wide wordmark: show it alone, a bit wider */
.certify__item:last-child img { height: 46px; }
.certify__item:last-child span { display: none; }
.footer__certs { display: flex; align-items: center; gap: 12px; margin: 14px 0 0 !important; }
.footer__certs img { width: auto; height: 40px; }
.footer__certs img:last-child { height: 30px; }
/* roadmap footnote: icon sits inline with its text */
.road__foot { display: block; }
.road__foot .ico { display: inline-grid; vertical-align: -3px; margin-right: 6px; }
@media (max-width: 760px) {
  .certify__item { flex-direction: column; text-align: center; gap: 6px; }
  .certify__item img { height: 56px; }
  .certify__item:last-child img { height: auto; width: 100%; max-width: 150px; }
}
@media (max-width: 420px) {
  .certify { padding: 14px 10px; }
  .certify__row { gap: 6px; }
  .certify__item { padding: 2px; }
  .certify__item img { height: 50px; }
  .certify__item b { font-size: 13px; }
  .certify__item small { font-size: 10.5px; }
}
@media (min-width: 761px) { .certify__item:last-child img { height: 58px; } }

/* Certified & recognised v2: three equal boxes, logo in a fixed-height area, title + caption centred under it */
.certify { max-width: 900px; padding: 0; background: none; border: 0; box-shadow: none; }
.certify__k { margin-bottom: 14px; }
.certify__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.certify__box { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 18px 14px 16px; text-align: center; min-width: 0;
  transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.certify__box:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(26, 95, 208, .25); }
.certify__logo { display: grid; place-items: center; width: 100%; height: 76px; margin-bottom: 8px; }
.certify__logo img { width: auto; height: auto; max-width: 100%; max-height: 76px; object-fit: contain; transition: transform .45s var(--spring); }
.certify__box:hover .certify__logo img { transform: scale(1.06); }
.certify__box b { font-family: var(--f-display); font-size: 16px; line-height: 1.2; color: var(--ink); }
.certify__box small { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
@media (max-width: 600px) {
  .certify__row { gap: 8px; }
  .certify__box { padding: 12px 6px 12px; border-radius: 14px; }
  .certify__logo { height: 54px; margin-bottom: 6px; }
  .certify__logo img { max-height: 54px; }
  .certify__box b { font-size: 13px; }
  .certify__box small { font-size: 11px; }
}
/* phones: the round WhatsApp button always stays visible, lifted above the "Book free demo" bar */
@media (max-width: 900px) {
  body.ready:has(.dock.show) .wa-fab { bottom: calc(80px + env(safe-area-inset-bottom)); opacity: 1; pointer-events: auto; transform: none; }
  body.menu-open .wa-fab { opacity: 0; pointer-events: none; }
}
/* =========================================================
   DOWNLOADS (brochure + full syllabus PDFs)
   ========================================================= */
.dl { margin-top: 26px; }
.dl .vt-label { margin-top: 0; }
.dl__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dl__card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; min-width: 0; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.dl__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(26, 95, 208, .25); }
.dl__ico { width: 48px; height: 48px; padding: 12px; border-radius: 14px; color: #fff; background: var(--grad); box-shadow: 0 10px 22px -10px var(--violet); }
.dl__card:nth-child(2) .dl__ico { background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.dl__text { display: grid; gap: 3px; flex: 1; min-width: 0; }
.dl__text b { font-family: var(--f-display); font-size: 17px; color: var(--ink); }
.dl__text small { font-size: 13px; line-height: 1.45; color: var(--muted); }
.dl__text i { font-style: normal; font-size: 11.5px; color: var(--blue); margin-top: 2px; }
.dl__go { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #fff; background: var(--ink); transition: background .3s; }
.dl__go .ico { width: 18px; height: 18px; }
.dl__card:hover .dl__go { background: var(--blue); }
@media (max-width: 900px) { .dl__grid { grid-template-columns: 1fr; } }
/* computers: brochure, full syllabus and class schedule side by side, each with its button along the bottom */
@media (min-width: 901px) {
  .dl__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dl__card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto; align-items: start; gap: 14px; }
  .dl__go { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 600px) {
  .dl__card { flex-wrap: wrap; gap: 12px 14px; padding: 16px; }
  .dl__ico { width: 42px; height: 42px; padding: 10px; }
  .dl__text b { font-size: 16px; }
  .dl__go { width: 100%; justify-content: center; }
}

/* course pages: small link to the full syllabus under the buttons */
.course__full { flex-basis: 100%; margin-top: 2px; font-size: 13.5px; text-align: left; }
@media (max-width: 900px) { .course__full { text-align: center; } }
/* a 40px-tall tap area for the small "full syllabus" link; the extra padding is cancelled by negative margins, so nothing moves */
.course__full { padding: 10px 0; margin-top: -8px; margin-bottom: -10px; }
/* even line breaks, so a short word never sits alone on the last line */
.course--all h3, .road__foot, .mentor__award h3 { text-wrap: balance; }

/* =========================================================
   PHONE POLISH v2 (hero, bottom bar, footer) - phones only, desktop unchanged
   ========================================================= */
.footer__h, .footer__reach, .dock__wa { display: none; }
@media (max-width: 900px) {
  /* bottom bar: [Book free demo] [WhatsApp] [Call]; the round WhatsApp button steps aside while the bar shows */
  .dock__wa { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--wa); }
  .dock__wa .ico { width: 22px; height: 22px; }
  body.ready:has(.dock.show) .wa-fab { bottom: calc(14px + env(safe-area-inset-bottom)); opacity: 0; pointer-events: none; transform: translateY(20px) scale(.8); }
}
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
/* computers: seven contact/social icons in one row without squeezing the link columns */
@media (min-width: 901px) {
  .footer__social { gap: 6px; }
  .footer__social a { width: 38px; height: 38px; border-radius: 11px; }
  .footer__social a .ico { width: 17px; height: 17px; }
}
@media (max-width: 900px) {
  /* phones + tablets footer: one tidy left-aligned column, small headings, links in even grids, room for the WhatsApp button */
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .footer__top { grid-template-columns: 1fr; gap: 26px; padding: 32px 0 26px; justify-items: stretch; text-align: left; }
  .footer__brand { display: grid; justify-items: start; }
  .footer__brand p { margin: 10px 0 2px; }
  .footer__reach { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 2px 0 0 !important; font-size: 13.5px; color: var(--muted); }
  .footer__reach a { color: var(--ink); font-weight: 600; padding: 6px 0; }
  .footer__reach span { padding: 6px 0; }
  .footer__certs { gap: 16px; }
  .footer__certs img { height: 52px; }
  .footer__certs img:last-child { height: 38px; }
  .footer__h { display: block; grid-column: 1 / -1; margin: 0 0 4px; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
  .footer__links--more .footer__h:not(:first-child) { margin-top: 16px; }
  .footer__links--courses, .footer__links--more { width: 100%; display: grid; gap: 0 16px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; text-align: left; }
  .footer__links--courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__links--more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__links--more a[download] { grid-column: 1 / -1; }
  .footer__links--courses a, .footer__links--more a { flex: none; padding: 9px 8px 9px 0; white-space: nowrap; }
  .footer__social { grid-column: auto; justify-content: flex-start; flex-wrap: wrap; gap: 10px; }
  .footer__social a { width: 44px; height: 44px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; }
  .footer__bottom a { display: inline-flex; align-items: center; min-height: 40px; margin: 0; padding: 0; border: 0; background: none; color: var(--muted); }
  .footer__legal { gap: 4px 24px; }
}
@media (max-width: 600px) {
  .footer__links--courses { grid-template-columns: 1fr; }
  /* seven contact/social icons in one row on small phones */
  .footer__social { gap: 7px; }
  .footer__social a { width: 40px; height: 40px; border-radius: 11px; }
}

/* =========================================================
   PRIVACY POLICY PAGE
   ========================================================= */
.legal { max-width: 780px; padding-top: clamp(120px, 14vw, 150px); padding-bottom: clamp(48px, 6vw, 80px); }
.legal__head { text-align: left; margin-bottom: 28px; }
.legal__head .h2 { margin-top: 14px; }
.legal__head .section__sub { margin-top: 12px; font-family: var(--f-mono); font-size: 13px; }
.legal h2 { margin: 34px 0 10px; font-family: var(--f-display); font-size: clamp(19px, 2vw, 22px); line-height: 1.25; color: var(--ink); }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: var(--text); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal b { color: var(--ink); }

/* =========================================================
   HERO ANIMATION POLISH (calmer motion, card clear of the logo, logo centred on the globe)
   ========================================================= */
@keyframes bob-soft { 50% { transform: translateY(-6px); } }
.float-card { animation-name: bob-soft; animation-duration: 8s; }
.float-card--b { animation-delay: -2.7s; }
.float-card--c { animation-delay: -5.3s; }
/* computers: "Hands-on labs" sits lower, beside the narrow bottom of the shield, so it never covers the logo */
@media (min-width: 1181px) { .float-card--b { top: 63%; right: -7%; } }
/* phones/tablets: logo centre on the globe centre (both at 46%) */
@media (max-width: 1180px) { .eye { top: 47.2%; } }
