/* ==========================================================================
   OxNeural: cinematic layer (loaded after styles.css)
   Brief section 06 tokens + new components + motion. Existing production
   styles stay in styles.css untouched; this file only extends and re-tokens.
   Progressive enhancement: CSS first, small JS second, the canvas hero last.
   ========================================================================== */

:root {
  /* Brief design tokens */
  --deep-navy:  #081426;   /* hero, footer, high-contrast sections */
  --navy:       #10233D;   /* nav surfaces, cards, panels */
  --cyan:       #16D9F5;
  --blue:       #3B82F6;
  --violet:     #8B5CF6;
  --canvas:     #F2F7FB;   /* readable light sections */

  --bg:         var(--deep-navy);
  --surface:    #0a1a30;
  --surface-2:  var(--navy);
  --surface-3:  #132a48;
  --border:     #1a3050;
  --border-lit: #284468;

  --faint:      #828fa5;   /* was #78869c: 4.44:1 on navy, below AA; now >= 4.5:1 on every surface */

  --ink:        #0b1a2e;   /* text on light canvas */
  --ink-soft:   #33475f;
  --glass:      rgba(13, 32, 56, .55);
  --glass-line: rgba(148, 190, 235, .14);
  --glow:       0 0 0 1px rgba(22, 217, 245, .28), 0 18px 50px -24px rgba(22, 217, 245, .45);
}

body { background: var(--bg); }
.site-header { background: rgba(8, 20, 38, .72); }
.site-header.is-stuck { background: rgba(8, 20, 38, .94); }
.inline-link { color: var(--cyan); border-bottom: 1px solid rgba(22, 217, 245, .35); }
.pad { padding: 30px 32px; }

/* --- glass + glow surfaces ------------------------------------------------ */
.glass {
  position: relative; isolation: isolate;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--glass-line); border-radius: var(--r-lg);
  transition: border-color var(--t4) var(--ease), box-shadow var(--t5) var(--ease-out), transform var(--t5) var(--ease-out);
}
.glass::before {      /* pointer light, positioned by app.js (--mx/--my) */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(22, 217, 245, .10), transparent 60%);
  opacity: 0; transition: opacity var(--t5) var(--ease);
}
.glass:hover, .glass:focus-within { border-color: rgba(22, 217, 245, .35); box-shadow: var(--glow); }
.glass:hover::before, .glass:focus-within::before { opacity: 1; }
.tilt { will-change: transform; transform-style: preserve-3d; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.js .reveal.stagger-item.in { transition-delay: var(--d, 0ms); }

/* --- navigation: drawer below 1080px (seven items + CTA need the room) ---- */
@media (max-width: 1080px) {
  .nav-links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; max-height: calc(100dvh - 76px); overflow-y: auto;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px var(--gut) 22px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 14px 4px; font-size: 16px; border-radius: 0; display: flex; justify-content: space-between; align-items: center; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .caret { display: block; width: 14px; height: 14px; }
  #navlinks li.has-sub > ul.sub { display: none !important; position: static; opacity: 1; visibility: visible; transform: none; min-width: 0;
    box-shadow: none; background: none; border: 0; border-left: 1px solid var(--border); border-radius: 0; margin: 0 0 6px 6px; padding: 0 0 0 12px; }
  #navlinks li.has-sub.mobile-open > ul.sub { display: block !important; }
  #navlinks li.has-sub.mobile-open .caret { transform: rotate(180deg); }
  .has-sub:hover .caret, .has-sub:focus-within .caret { transform: none; }
  .sub a { padding: 11px 4px; font-size: 14.5px; }
  .nav-cta-m { display: block; margin-top: 14px; }
  #navlinks > li.nav-cta-m > a { display: flex; justify-content: center; padding: 14px 20px; border-radius: var(--r-md); }
  .nav-cta-m a { display: flex; align-items: center; justify-content: center; padding: 14px 20px;
    border-radius: var(--r-md); font-weight: 600; color: #04121a;
    background: linear-gradient(110deg, var(--cyan) 0%, #38bdf8 46%, var(--blue) 100%); }
}
@media (min-width: 1081px) {
  .nav-links a { padding: 8px 11px; font-size: 14px; }
  .nav-links .sub a { padding: 10px 13px; }
}

/* --- cinematic hero -------------------------------------------------------- */
.hero-cine { min-height: min(100svh, 920px); padding-bottom: 96px; }
.hero-stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero3d-on .hero-canvas { opacity: 1; }
.hero-fallback { position: absolute; inset: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.orb-a { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; right: -6vw; top: 8%;
  background: radial-gradient(circle, rgba(22, 217, 245, .38), transparent 65%); animation: drift 18s var(--ease) infinite alternate; }
.orb-b { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; right: 18vw; top: 38%;
  background: radial-gradient(circle, rgba(139, 92, 246, .34), transparent 65%); animation: drift 22s var(--ease) infinite alternate-reverse; }
.orb-c { width: 28vw; height: 28vw; max-width: 380px; max-height: 380px; left: -8vw; bottom: -6%;
  background: radial-gradient(circle, rgba(59, 130, 246, .30), transparent 65%); animation: drift 26s var(--ease) infinite alternate; }
.hero3d-on .orb { opacity: .32; }
@keyframes drift { to { transform: translate3d(-3vw, 2vw, 0) scale(1.08); } }
.hero-inner-cine { grid-template-columns: minmax(0, 1fr); }
.hero-inner-cine .hero-copy { max-width: 880px; }
.hero-title { font-size: clamp(40px, 5.4vw, 70px) !important; line-height: 1.02; letter-spacing: -.045em !important; }
.ht-line { display: inline-block; }
.js body.ready .hero-title .ht-line { animation: lineIn 900ms var(--ease-out) both; }
.js body.ready .hero-title .ht-line:nth-child(2) { animation-delay: 120ms; }
.js body.ready .hero-title .ht-line:nth-child(3) { animation-delay: 240ms; }
.js body.ready .hero-title .ht-line:nth-child(4) { animation-delay: 360ms; }
@keyframes lineIn { from { opacity: 0; transform: translateY(.35em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.hero-cine .hero-sub { max-width: 58ch; }
.hero-cine::after { background: linear-gradient(90deg, rgba(8, 20, 38, .92) 0%, rgba(8, 20, 38, .55) 48%, rgba(8, 20, 38, 0) 75%),
  linear-gradient(180deg, transparent 60%, var(--bg) 100%); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 2; width: 26px; height: 42px; margin-left: -13px;
  border: 1.5px solid var(--border-lit); border-radius: 14px; }
.scroll-cue i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px;
  background: var(--cyan); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 1000px) {
  .hero-cine::after { background: linear-gradient(180deg, rgba(8, 20, 38, .35) 0%, rgba(8, 20, 38, .82) 55%, var(--bg) 100%); }
  .hero-cine .hero-canvas { opacity: .55; }
}

/* --- ticker ------------------------------------------------------------------ */
.ticker { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--border); background: rgba(13, 32, 56, .45);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; list-style: none; margin: 0; padding: 16px 0; gap: 0;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft);
  animation: tick 42s linear infinite; }
.ticker-track li { display: inline-flex; align-items: center; white-space: nowrap; }
.ticker-track li::after { content: ""; width: 5px; height: 5px; margin: 0 26px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--violet)); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* --- proof strip (rendered only when metrics are verified) ---------------- */
.proof-strip { list-style: none; margin: 0 auto; padding: 0 var(--gut); max-width: var(--max); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.proof-strip li { padding: 28px 18px; text-align: center; }
.proof-strip strong { display: block; font-size: clamp(28px, 3.4vw, 40px); background: linear-gradient(100deg, var(--cyan), var(--blue) 55%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof-strip span { font-size: 13px; color: var(--muted); }

/* --- grids of cards --------------------------------------------------------- */
.path-grid, .family-grid, .track-grid, .course-grid, .prod-grid, .ref-grid, .quote-grid, .stu-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.path-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.family-grid, .track-grid, .course-grid, .prod-grid, .ref-grid, .quote-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.path-card, .family-card, .track-card, .course-card, .prod-card, .ref-card { display: flex; flex-direction: column; padding: 28px 26px 24px; }
.path-card h3, .family-card h3, .track-card h3, .course-card h3 { font-size: 19px; margin-bottom: 10px; }
.path-card p, .family-card p, .track-card p, .course-card p, .prod-card p, .ref-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.path-n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--faint); margin-bottom: 18px; }
.path-ico, .course-ico svg { width: 34px; height: 34px; color: var(--cyan); margin-bottom: 18px; }
.course-ico { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 16px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(22, 217, 245, .14), rgba(139, 92, 246, .14)); border: 1px solid var(--glass-line); }
.course-ico svg { margin: 0; width: 28px; height: 28px; }
.family-card { overflow: hidden; }
.fam-glow { position: absolute; z-index: -1; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .25), transparent 70%); transition: transform var(--t5) var(--ease-out); }
.family-card:hover .fam-glow { transform: scale(1.5); }
.family-card .svc-cta, .track-card .svc-cta { align-self: flex-start; }

/* --- split layout ----------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; text-wrap: balance; }
.split .lede { margin-bottom: 28px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.flow li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 20px; border-radius: var(--r-md);
  background: #fff; border: 1px solid #dbe6f0; box-shadow: 0 10px 30px -24px rgba(8, 20, 38, .4); }
.flow span { font-family: var(--font-mono); font-size: 12px; color: #0e7490; padding-top: 3px; }
.flow h3 { font-size: 16px; margin-bottom: 4px; color: var(--ink); }
.flow p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* --- light canvas sections (brief: #F2F7FB) -------------------------------- */
.section-lit { background: var(--canvas); color: var(--ink); border-top: 0 !important; }
.section-lit + section { border-top: 0; }
.section-lit h2, .section-lit h3, .section-lit h4 { color: var(--ink); }
.section-lit .section-head p, .section-lit .lede, .section-lit p { color: var(--ink-soft); }
.section-lit .eyebrow { color: #0e7490; }
.section-lit .btn-ghost { color: var(--ink); border-color: #b9c8d8; }
.section-lit .btn-ghost:hover { border-color: #0e7490; background: rgba(14, 116, 144, .06); }
.section-lit .glass { background: rgba(255, 255, 255, .78); border-color: #dbe6f0; box-shadow: 0 16px 40px -30px rgba(8, 20, 38, .45); }
.section-lit .glass:hover { border-color: #7dd3e6; box-shadow: 0 0 0 1px rgba(14, 116, 144, .25), 0 20px 50px -28px rgba(14, 116, 144, .5); }
.section-lit .glass::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(22, 217, 245, .14), transparent 60%); }
.section-lit .course-card p, .section-lit .quote-card p { color: var(--ink-soft); }
.section-lit .course-ico svg { color: #0e7490; }
.section-lit .cap-note { background: #fff; border-color: #dbe6f0; }
.section-lit .cap-note p { color: var(--ink-soft); }
.section-lit .cap-note p + p { margin-top: 12px; }
.section-lit .grad { background: linear-gradient(100deg, #0e7490, #1d4ed8 55%, #6d28d9); -webkit-background-clip: text; background-clip: text; }

/* --- academy ------------------------------------------------------------------ */
.academy-band { background: radial-gradient(900px 420px at 85% 50%, rgba(139, 92, 246, .16), transparent 70%),
  radial-gradient(700px 380px at 10% 20%, rgba(22, 217, 245, .10), transparent 70%); }
.academy-orbit { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-inline: auto; }
.academy-orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--glass-line); }
.academy-orbit .r2 { inset: 14%; border-color: rgba(22, 217, 245, .22); }
.academy-orbit .r3 { inset: 30%; border-color: rgba(139, 92, 246, .3);
  background: radial-gradient(circle, rgba(59, 130, 246, .22), transparent 70%); }
.academy-orbit .node { position: absolute; display: inline-flex; align-items: center; justify-content: center; min-width: 74px; height: 38px;
  padding: 0 14px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--text);
  background: rgba(13, 32, 56, .85); border: 1px solid var(--glass-line); box-shadow: var(--glow); }
.academy-orbit .n1 { left: 50%; top: 0; transform: translate(-50%, -50%); }
.academy-orbit .n2 { right: 2%; bottom: 18%; transform: translate(30%, 0); }
.academy-orbit .n3 { left: 2%; bottom: 18%; transform: translate(-30%, 0); }
.academy-orbit { animation: orbit 60s linear infinite; }
.academy-orbit .node { animation: orbit 60s linear infinite; }   /* counter-rotates (keyframes below go to -360deg) */
.academy-orbit .n1 { animation-name: orbitN1; } .academy-orbit .n2 { animation-name: orbitN2; } .academy-orbit .n3 { animation-name: orbitN3; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes orbitN1 { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes orbitN2 { from { transform: translate(30%, 0) rotate(0); } to { transform: translate(30%, 0) rotate(-360deg); } }
@keyframes orbitN3 { from { transform: translate(-30%, 0) rotate(0); } to { transform: translate(-30%, 0) rotate(-360deg); } }

.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 500;
  color: var(--text); background: rgba(22, 217, 245, .08); border: 1px solid rgba(22, 217, 245, .28); }
.pills-lg .pill { font-size: 14px; padding: 8px 16px; }
.pill-ico { width: 14px; height: 14px; color: var(--cyan); }
.section-lit .pill { color: var(--ink); background: #e6f6fa; border-color: #a5dfeb; }

/* student showcase */
.stu-group { margin-bottom: 52px; }
.stu-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.stu-group-head h3 { font-size: 20px; }
.group-ico { width: 26px; height: 26px; color: var(--cyan); }
.stu-pending { color: var(--muted); font-size: 15px; padding: 22px 24px; border: 1px dashed var(--border-lit); border-radius: var(--r-md); margin: 0; max-width: 70ch; }
.stu-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.stu-card { display: flex; flex-direction: column; padding: 22px; outline: none; }
.stu-card:hover, .stu-card:focus-visible { transform: translateY(-4px); }
.stu-card:focus-visible { box-shadow: 0 0 0 2px var(--cyan), var(--glow); }
.stu-card:active { transform: translateY(-1px) scale(.995); }
.stu-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.stu-head h4 { font-size: 17px; margin-bottom: 4px; }
.stu-media { position: relative; flex: 0 0 96px; width: 96px; height: 96px; }
.stu-photo, .stu-avatar { position: absolute; inset: 0; width: 96px; height: 96px; border-radius: 22px; object-fit: cover; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--glass-line); background: linear-gradient(160deg, var(--surface-3), var(--surface)); }
.stu-photo { z-index: 1; }
.stu-photo[hidden] { display: none; }
.stu-avatar-ico { width: 40px; height: 40px; color: var(--cyan); opacity: .85; }
.stu-badge { position: absolute; right: -6px; bottom: -6px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--navy); border: 1px solid var(--glass-line); }
.stu-badge-ico { width: 17px; height: 17px; color: var(--cyan); }
.stu-focus { display: flex; flex-wrap: wrap; gap: 2px 0; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--text-soft); }
.stu-focus li:not(:last-child)::after { content: "·"; margin: 0 7px; color: var(--faint); }
.stu-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin: 0 0 8px; }
.stu-quote { margin: 2px 0 16px; padding: 14px 0 0; border-top: 1px solid var(--border); }
.stu-quote p { font-size: 14px; color: var(--text-soft); margin: 0; line-height: 1.6; }
.stu-quote p::before { content: "\201C"; color: var(--cyan); font-size: 22px; line-height: 0; vertical-align: -6px; margin-right: 2px; }
.stu-li { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 600; color: #9ccfff; background: rgba(10, 102, 194, .14); border: 1px solid rgba(10, 102, 194, .5);
  transition: background var(--t2) var(--ease), border-color var(--t2) var(--ease); }
.stu-li svg { width: 15px; height: 15px; }
.stu-li:hover, .stu-li:focus-visible { background: rgba(10, 102, 194, .28); border-color: #0a66c2; }
.stu-review { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(240, 180, 41, .1); border: 1px solid rgba(240, 180, 41, .45);
  font-size: 12px; color: #f5d27a; }
.stu-review strong { display: block; margin-bottom: 4px; }
.stu-review ul { margin: 6px 0 0; padding-left: 16px; }
.review-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 400; padding: 8px 16px; text-align: center; font-size: 13px; font-weight: 600;
  background: #f0b429; color: #1a1300; }

/* testimonials */
.quote-card { margin: 0; padding: 28px 26px; display: flex; flex-direction: column; }
.quote-card blockquote { margin: 0 0 20px; }
.quote-card p { font-size: 15px; line-height: 1.65; margin: 0; }
.quote-card figcaption strong { display: block; font-size: 15px; }
.quote-card figcaption span { font-size: 13px; color: var(--muted); }
.section-lit .quote-card figcaption span { color: #52657d; }

/* --- products ----------------------------------------------------------------- */
.prod-family { margin-bottom: 44px; }
.prod-family > h2, .prod-family > h3 { font-size: 22px; margin-bottom: 6px; }
.prod-intro { color: var(--muted); margin-bottom: 20px; }
.prod-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.prod-top h3, .prod-top h4 { font-size: 17px; }

/* team page: heading promoted to h1 (production had no h1); same look as the original h2 */
.ox-team-heading h1 { margin: 14px 0 0; max-width: 760px; font-size: clamp(42px, 5vw, 72px); line-height: .98; letter-spacing: -.045em; }
.ox-team-heading h1 span { background: linear-gradient(90deg, #fff, #72ddff 45%, #a18cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 720px) { .ox-team-heading h1 { font-size: 40px; } }
.prod-mods { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; }
.prod-mods > span:first-child { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-right: 6px; }
.prod-note { padding: 18px 22px; border-left: 2px solid var(--cyan); background: var(--surface-2); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--text-soft); max-width: 78ch; }
.status { flex-shrink: 0; padding: 3px 10px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; border: 1px solid; }
.status-available { color: #86efac; border-color: rgba(34, 197, 94, .5); background: rgba(34, 197, 94, .1); }
.status-pilot { color: #67e8f9; border-color: rgba(22, 217, 245, .5); background: rgba(22, 217, 245, .1); }
.status-in-development { color: #fcd34d; border-color: rgba(240, 180, 41, .5); background: rgba(240, 180, 41, .1); }
.status-concept { color: #c4b5fd; border-color: rgba(139, 92, 246, .5); background: rgba(139, 92, 246, .12); }
#products-preview .prod-family { margin-bottom: 26px; }
#products-preview .arrow-link { margin-top: 6px; }

/* portfolio labels */
.type { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase; color: #fcd34d; border: 1px solid rgba(240, 180, 41, .45); background: rgba(240, 180, 41, .08); }
.ref-cat { font-size: 13px !important; color: var(--faint) !important; margin-bottom: 8px !important; }

/* --- process variants --------------------------------------------------------- */
.process-6 { grid-template-columns: repeat(6, 1fr); }
.process-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .process-6 { grid-template-columns: repeat(3, 1fr); } }

/* --- contact ------------------------------------------------------------------ */
.contact-paths-wrap { padding-top: 0; border-top: 0 !important; }
.contact-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cpath { padding: 30px 30px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.cpath-kicker { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.cpath-edu .cpath-kicker { color: #a78bfa; }
.cpath h2 { font-size: 22px; margin-bottom: 10px; }
.cpath p { color: var(--muted); font-size: 15px; }
.cpath-mail { font-size: clamp(17px, 2vw, 21px); font-weight: 600; color: var(--text); border-bottom: 1px solid rgba(22, 217, 245, .4); margin: 4px 0 20px; word-break: break-word; }
.cpath-edu .cpath-mail { border-bottom-color: rgba(139, 92, 246, .55); }
.cpath-mail:hover { color: var(--cyan); }
button.btn-ghost { background: transparent; color: var(--text); }
.route-note { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.route-note strong { color: var(--cyan); font-weight: 600; word-break: break-word; }
.field select optgroup { font-weight: 600; }

/* --- footer -------------------------------------------------------------------- */
.footer-top-5 { grid-template-columns: 1.4fr 1fr .9fr .9fr 1.2fr; }
.footer-mail li { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.footer-mail span { font-size: 12px; color: var(--faint); }
.footer-mail a { word-break: break-word; }
@media (max-width: 1100px) { .footer-top-5 { grid-template-columns: 1fr 1fr 1fr; } }

/* --- misc -------------------------------------------------------------------- */
.band-routes { flex-wrap: wrap; justify-content: flex-end; max-width: 520px; }
.band-routes .btn { padding: 12px 18px; font-size: 14.5px; }
.markets { margin-top: 20px; }
.market-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 8px; padding: 0; }
.market-list li { padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid var(--border-lit); font-size: 13px; }
.market-note { font-size: 12.5px; color: var(--faint); margin: 0; }
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 20px; line-height: 1; transition: transform var(--t3) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-soft); padding-bottom: 18px; margin: 0; }
.faq a, .prose a { color: var(--cyan); border-bottom: 1px solid rgba(22, 217, 245, .35); }
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: 34px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-soft); }
.page-head-cine { background: radial-gradient(800px 360px at 80% 30%, rgba(59, 130, 246, .14), transparent 70%),
  radial-gradient(600px 300px at 10% 0%, rgba(139, 92, 246, .10), transparent 70%); }
.err-hero { min-height: 80svh; text-align: center; }
.err-hero .hero-actions { justify-content: center; }
.err-hero .err-mark { margin: 0 auto 18px; }
.err-hero .hero-sub { margin-inline: auto; }

/* --- responsive -------------------------------------------------------------- */
@media (max-width: 1100px) {
  .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family-grid, .track-grid, .course-grid, .prod-grid, .ref-grid, .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .band-routes { justify-content: flex-start; max-width: none; }
}
@media (max-width: 820px) {
  .process-4 { grid-template-columns: 1fr; }
  .contact-paths { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .path-grid, .family-grid, .track-grid, .course-grid, .prod-grid, .ref-grid, .quote-grid { grid-template-columns: 1fr; }
  .hero-cine { min-height: auto; padding-top: 120px; }
  .scroll-cue { display: none; }
  .academy-orbit { width: min(78%, 320px); }
  .cpath, .pad { padding: 24px 22px; }
  .footer-top-5 { grid-template-columns: 1fr 1fr; }
  .stu-card:hover { transform: none; }          /* tap feedback via :active only */
  .stu-media, .stu-photo, .stu-avatar { width: 80px; height: 80px; flex-basis: 80px; }
}
@media (max-width: 480px) { .footer-top-5 { grid-template-columns: 1fr; } }

/* --- reduced motion: everything still visible, nothing moves ----------------- */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker-track li:nth-child(n+10) { display: none; }
  .orb, .academy-orbit, .academy-orbit .node, .scroll-cue i { animation: none !important; }
  .js body.ready .hero-title .ht-line { animation: none !important; }
  .tilt, .stu-card, .glass { transform: none !important; }
}
/* --- proof strip (owner-supplied figures; verify before production) -------- */
.proof { padding: 0 0 40px; border-top: 0 !important; margin-top: -56px; z-index: 2; }
.proof + section { border-top: 0; }
.proof .proof-strip { padding: 0; gap: 14px; }
.proof .proof-strip li { padding: 22px 16px; border-radius: var(--r-lg); background: rgba(13, 32, 56, .72); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.proof .proof-strip span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--text-soft); }
.review-flag { margin: 10px 0 0; font-size: 12.5px; color: #f5d27a; text-align: center; }

/* --- case study card (Work / Selected work) -------------------------------- */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(18px, 2.4vw, 28px); }
.case-visual { display: block; width: 100%; max-width: 560px; justify-self: center; border-radius: var(--r-md); overflow: hidden; }
.hero-cine:has(+ .proof) .scroll-cue { display: none; }
.case-browser { display: block; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-md); overflow: hidden; background: #0b0e15;
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .8); transition: transform var(--t5) var(--ease-out); }
.case:hover .case-browser { transform: translateY(-3px); }
.case-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #080a0f; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.case-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.case-bar small { margin-left: 8px; font: 500 10px/1 var(--font-mono); color: rgba(255, 255, 255, .55); }
.case-screen { display: block; aspect-ratio: 16 / 9; padding: clamp(16px, 2.4vw, 26px); background: #f4f1e9; color: #111318; }
.case-screen-nav { display: flex; justify-content: space-between; gap: 12px; font-size: 10.5px; }
.case-screen-nav b { font: 500 15px/1 Georgia, serif; }
.case-screen-nav em { font-style: normal; color: #4a4f57; }
.case-screen-title { display: block; margin-top: clamp(26px, 5vw, 56px); max-width: 15ch; font: 500 clamp(22px, 2.6vw, 36px)/1 Georgia, serif; letter-spacing: -.03em; }
.case-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; font: 500 11px/1.2 var(--font-mono);
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case-n { color: var(--cyan); }
.case-body h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 12px; }
.case-body > p { color: var(--text-soft); font-size: 15.5px; }
.case-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 18px 0 12px; border-radius: var(--r-md); overflow: hidden;
  background: var(--border); border: 1px solid var(--border); }
.case-facts div { background: var(--surface); padding: 12px 14px; }
.case-facts dt { font: 500 10px/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.case-facts dd { margin: 0; font-size: 13px; color: var(--text); }
.case-body > p.case-note { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.case-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- academy structure ---------------------------------------------------------- */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.subnav a { padding: 8px 14px; border-radius: var(--r-pill); font-size: 13.5px; color: var(--text-soft); border: 1px solid var(--border-lit);
  background: rgba(13, 32, 56, .5); transition: border-color var(--t2) var(--ease), color var(--t2) var(--ease); }
.subnav a:hover, .subnav a:focus-visible { color: var(--text); border-color: var(--cyan); }
.track-ico { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 14px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(22, 217, 245, .14), rgba(139, 92, 246, .14)); border: 1px solid var(--glass-line); }
.track-ico svg { width: 24px; height: 24px; color: var(--cyan); }
.lpath-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lpath { padding: 28px; }
.lpath-kicker { font: 500 11.5px/1.2 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.lpath h3 { font-size: 21px; margin-bottom: 8px; }
.lpath > p { color: var(--muted); }
.lpath-steps { list-style: none; counter-reset: s; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; padding: 0; }
.lpath-steps li { counter-increment: s; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: var(--r-pill);
  font-size: 13.5px; background: rgba(22, 217, 245, .08); border: 1px solid rgba(22, 217, 245, .28); }
.lpath-steps li::before { content: counter(s); font: 600 11px/1 var(--font-mono); color: var(--cyan); }
.flow-dark li { background: var(--surface); border-color: var(--border); box-shadow: none; }
.flow-dark h3 { color: var(--text); }
.flow-dark p { color: var(--muted); }
.flow-dark span { color: var(--cyan); }
.section-lit .cap-note a { color: #0e7490; border-bottom: 1px solid rgba(14, 116, 144, .35); }
.section-lit .path-card p { color: var(--ink-soft); }
.section-lit .path-n { color: #52657d; }
.section-lit .path-ico { color: #0e7490; }
.section-lit .arrow-link { color: #0e7490; }
@media (max-width: 1000px) { .case { grid-template-columns: 1fr; } .lpath-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .case-facts { grid-template-columns: 1fr; } .proof .proof-strip { gap: 10px; } .proof { margin-top: -20px; } }

@media print { .hero-stage, .ticker, .scroll-cue, .review-banner { display: none; } }

/* inner-page hero: space between lede and actions */
.page-head .hero-actions { margin-top: 28px; margin-bottom: 0; }

/* --- sample demo cards (portfolio) -------------------------------------------- */
#selected-work .case + .smp-grid { margin-top: 22px; }
.case-facts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.smp-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.smp { display: flex; flex-direction: column; overflow: hidden; }
.smp-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.smp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; font: 500 10.5px/1.3 var(--font-mono);
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.smp h3 { font-size: 17.5px; margin-bottom: 8px; }
.smp-body > p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.smp-body > p.smp-out { font-size: 12.5px; color: var(--faint); font-style: italic; margin-bottom: 14px; }
.smp-tech { display: flex; flex-wrap: wrap; gap: 6px; }
.smp-tech .chip { padding: 4px 9px; border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 12px; color: var(--text-soft); }
.smp .arrow-link { margin-top: auto; padding-top: 4px; }
.smp-more { margin: 26px 0 0; }
.sv { position: relative; display: block; aspect-ratio: 16 / 8; padding: 16px; background: linear-gradient(160deg, var(--surface-3), var(--surface));
  border-bottom: 1px solid var(--glass-line); overflow: hidden; }
.sv i { display: block; border-radius: 4px; background: rgba(148, 190, 235, .16); }
.sv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sv-kpis i { height: 22px; background: rgba(22, 217, 245, .16); }
.sv-chart { display: flex; align-items: flex-end; gap: 6px; height: 58%; margin-top: 10px; }
.sv-chart i { flex: 1; height: var(--h); background: linear-gradient(180deg, rgba(22, 217, 245, .55), rgba(59, 130, 246, .25)); }
.sv-erp { display: grid; grid-template-columns: 22% 1fr; gap: 10px; }
.sv-side { display: block; border-radius: 6px; background: rgba(139, 92, 246, .16); }
.sv-table { display: grid; gap: 7px; align-content: start; }
.sv-table i { height: 14px; }
.sv-table i:first-child { background: rgba(22, 217, 245, .22); }
.sv-healthcare { display: grid; grid-template-columns: 30% 1fr; gap: 14px; align-items: center; }
.sv-cross { position: relative; display: block; width: 56px; height: 56px; margin: auto; }
.sv-cross::before, .sv-cross::after { content: ""; position: absolute; border-radius: 4px; background: rgba(22, 217, 245, .5); }
.sv-cross::before { left: 20px; top: 0; width: 16px; height: 56px; }
.sv-cross::after { left: 0; top: 20px; width: 56px; height: 16px; }
.sv-lines { display: grid; gap: 9px; }
.sv-lines i { height: 12px; }
.sv-lines i:nth-child(2) { width: 80%; } .sv-lines i:nth-child(4) { width: 60%; }
.sv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; height: 100%; }
.sv-grid i { background: rgba(59, 130, 246, .18); }
.sv-grid i:nth-child(2), .sv-grid i:nth-child(6) { background: rgba(139, 92, 246, .2); }
.sv-website { display: flex; flex-direction: column; gap: 12px; }
.sv-nav { display: flex; justify-content: flex-end; gap: 8px; }
.sv-nav i { width: 34px; height: 8px; }
.sv-hero { display: grid; gap: 8px; width: 62%; }
.sv-hero i { height: 14px; background: rgba(232, 237, 245, .22); }
.sv-hero i:last-child { width: 70%; height: 10px; background: rgba(148, 190, 235, .14); }
.sv-cta { display: block; width: 84px; height: 20px; border-radius: 6px; background: rgba(22, 217, 245, .45); }
@media (max-width: 1100px) { .smp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .smp-grid { grid-template-columns: 1fr; } .case-facts-2 { grid-template-columns: 1fr; } }


/* --- Work page filters --------------------------------------------------- */
.work-filter-section { padding: 8px 0 0; }
.work-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.work-filter { appearance: none; border: 1px solid var(--border-lit); border-radius: var(--r-pill); background: rgba(13,32,56,.55); color: var(--text-soft); padding: 9px 14px; font: inherit; font-size: 13px; cursor: pointer; transition: border-color var(--t2) var(--ease-out), background var(--t2) var(--ease-out), color var(--t2) var(--ease-out); }
.work-filter:hover, .work-filter:focus-visible { border-color: var(--cyan); color: var(--text); }
.work-filter:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.work-filter.is-active { background: rgba(22, 217, 245,.12); border-color: var(--cyan); color: var(--text); }
.work-filter-status { color: var(--muted); font-size: 12.5px; margin: 10px 0 0; }
[data-work-card][hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .work-filter { transition: none; } }

/* --- Hero service panel (merged from Global Website Upgrade Final_Review, 18 Oct 2026) --- */
.hero-inner-cine {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(290px, .66fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  max-width: 1320px;
  padding-top: clamp(84px, 11vh, 136px);
  padding-bottom: clamp(72px, 9vh, 110px);
}
.hero-inner-cine .hero-copy { max-width: 720px; position: relative; z-index: 2; }
.hero-title { max-width: 13ch; text-wrap: balance; }
.hero-cine .hero-sub { max-width: 54ch; }
.hero-service-panel {
  position: relative;
  z-index: 2;
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid rgba(95, 169, 232, .42);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(5, 20, 40, .88), rgba(8, 17, 37, .72));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .26), inset 0 1px rgba(255,255,255,.045);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.hero-service-panel::before {
  content: ""; position: absolute; width: 230px; height: 230px; right: -105px; top: -130px;
  border-radius: 50%; background: radial-gradient(circle, rgba(22, 217, 245,.18), transparent 70%); pointer-events: none;
}
.hero-panel-kicker { margin: 0 0 9px; color: var(--cyan); font: 700 10px/1.4 var(--font-mono); letter-spacing: .19em; text-transform: uppercase; }
.hero-service-panel h2 { font-size: clamp(25px, 2.7vw, 36px); line-height: 1.05; letter-spacing: -.04em; margin-bottom: 23px; }
.hero-service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.hero-service-list li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; align-items: center; min-height: 42px; }
.hero-service-icon {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid rgba(22, 217, 245,.28); background: rgba(22, 217, 245,.075); color: var(--cyan);
  font: 600 15px/1 var(--font-mono); box-shadow: inset 0 0 18px rgba(22, 217, 245,.035);
}
.hero-service-list a { color: var(--text-soft); font-size: 13px; line-height: 1.4; transition: color var(--t2), transform var(--t2); }
.hero-service-list a:hover { color: #fff; transform: translateX(3px); }
.hero-panel-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 21px; color: var(--cyan); font-size: 13px; font-weight: 700; }
.hero-panel-link span { transition: transform var(--t2); }
.hero-panel-link:hover span { transform: translateX(4px); }
.hero-cine::after { background: linear-gradient(90deg, rgba(5, 12, 25, .95) 0%, rgba(5, 12, 25, .70) 38%, rgba(5, 12, 25, .20) 76%, rgba(5, 12, 25, .48) 100%), linear-gradient(180deg, transparent 55%, var(--bg) 100%); }
.path-card, .family-card, .demo-card, .product-card { transition: transform 280ms var(--ease-out), border-color 280ms var(--ease), box-shadow 280ms var(--ease); }
.path-card:hover, .family-card:hover, .demo-card:hover, .product-card:hover { border-color: rgba(22, 217, 245,.42); box-shadow: 0 18px 46px rgba(0,0,0,.18), 0 0 0 1px rgba(22, 217, 245,.035); }
@media (max-width: 1000px) {
  .hero-inner-cine { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 110px; }
  .hero-inner-cine .hero-copy { max-width: 760px; }
  .hero-service-panel { max-width: 680px; }
  .hero-service-list { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 18px; }
  .hero-cine::after { background: linear-gradient(180deg, rgba(5,12,25,.25), rgba(5,12,25,.82) 42%, var(--bg) 100%); }
}
@media (max-width: 600px) {
  .hero-inner-cine { padding-top: 94px; padding-bottom: 56px; gap: 26px; }
  .hero-title { font-size: clamp(34px, 10vw, 50px) !important; max-width: 13ch; }
  .hero-service-panel { padding: 22px 18px; border-radius: 18px; }
  .hero-service-panel h2 { font-size: 28px; }
  .hero-service-list { grid-template-columns: 1fr; gap: 8px; }
  .hero-service-list li { min-height: 40px; }
  .hero-service-list a { font-size: 13px; }
  .hero-cine .hero-canvas { opacity: .42; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-service-list a, .hero-panel-link span, .path-card, .family-card, .demo-card, .product-card { transition: none !important; }
}

/* --- Release 2026-10-20: new pages and components ------------------------- */
/* shared card grids */
.deliv-grid, .tech-grid, .sector-grid, .trainer-grid, .mentor-grid, .showcase-plan {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 16px;
}
.deliv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.deliv-grid li { position: relative; padding: 18px 20px 18px 46px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.deliv-grid li::before { content: ""; position: absolute; left: 20px; top: 23px; width: 12px; height: 7px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.deliv-grid p { margin: 0; color: var(--text-soft); font-size: 14.5px; line-height: 1.55; }
.section-lit .deliv-grid li { background: #fff; border-color: #d9e3ee; }
.section-lit .deliv-grid li::before { border-color: #0e7490; }
.section-lit .deliv-grid p { color: var(--ink-soft); }

.tech-band { background: linear-gradient(180deg, var(--bg), var(--navy) 60%, var(--bg)); }
.tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tech-card, .sector-card { padding: 24px 24px 22px; }
.tech-card h3, .sector-card h3 { font-size: 16px; margin: 0 0 8px; color: var(--text); }
.tech-card h3 { color: var(--cyan); font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.tech-card p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.6; }
.sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sector-card p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.6; }

.prog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.prog-card { padding: 28px 28px 26px; }
.prog-card h3 { font-size: 20px; margin: 0 0 8px; }
.prog-card > p { color: var(--text-soft); font-size: 14.5px; line-height: 1.6; margin: 0 0 6px; }
.prog-n { font-family: var(--font-mono); color: var(--cyan) !important; font-size: 12px !important; letter-spacing: .14em; margin: 0 0 10px !important; }
.prog-label { margin: 16px 0 6px !important; color: var(--muted) !important; font: 600 11px/1.4 var(--font-mono) !important; letter-spacing: .14em; text-transform: uppercase; }

.trainer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trainer-grid li { padding: 22px 22px 20px; }
.trainer-grid h3 { font-size: 16px; margin: 0 0 4px; }
.trainer-role { margin: 0 0 10px; color: var(--cyan); font: 600 11px/1.45 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.trainer-grid p:last-child { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.6; }
.section-lit .trainer-grid li.glass { background: #fff; border-color: #d9e3ee; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 10px 30px -22px rgba(8, 20, 38, .35); }
.section-lit .trainer-role { color: #0e7490; }
.section-lit .trainer-grid p:last-child { color: var(--ink-soft); }

.mentor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mentor-grid li { padding: 22px 22px 20px; }
.mentor-grid h3 { font-size: 16px; margin: 6px 0 6px; }
.mentor-grid p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.6; }
.mentor-n { font-family: var(--font-mono); color: var(--cyan); font-size: 12px; letter-spacing: .14em; }

.showcase-plan { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 8px; }
.showcase-plan li { padding: 22px 22px 20px; }
.showcase-plan h3 { font-size: 16px; margin: 0 0 6px; }
.showcase-plan p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.6; }

.process-5 { grid-template-columns: repeat(5, 1fr); }
.contact-paths-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-paths-6 .cpath { padding: 24px 24px 22px; }
.contact-paths-6 .cpath h2 { font-size: 20px; }
.svc-disclaimer { margin: 22px 0 0; padding: 16px 18px; border-left: 3px solid var(--violet); background: rgba(139, 92, 246, .08); color: var(--text-soft); font-size: 14px; line-height: 1.6; border-radius: 0 var(--r-md) var(--r-md) 0; }

/* team cards: readable body text, expertise chips, in-flow LinkedIn link */
.ox-card-text { color: rgba(242, 247, 251, .72); font-size: 13px; }
.ox-stack { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ox-stack li { padding: 4px 9px; border-radius: var(--r-pill); border: 1px solid rgba(22, 217, 245, .22); background: rgba(22, 217, 245, .06); color: var(--text-soft); font-size: 11.5px; line-height: 1.4; }
.ox-highlight { margin: 12px 0 0 !important; color: #c4b5fd !important; font-size: 12.5px !important; }
.ox-team-card .ox-linkedin, .ox-specialist-card .ox-linkedin { position: static; margin-top: 16px; }
.ox-team-card { display: flex; flex-direction: column; }
.ox-team-card .ox-linkedin { margin-top: auto; padding-top: 16px; }
.ox-h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 0; }

@media (max-width: 1000px) {
  .deliv-grid, .tech-grid, .sector-grid, .showcase-plan, .contact-paths-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trainer-grid, .mentor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .deliv-grid, .tech-grid, .sector-grid, .showcase-plan, .contact-paths-6, .prog-grid, .trainer-grid, .mentor-grid { grid-template-columns: 1fr; }
  .process-5 { grid-template-columns: 1fr; }
  .prog-card { padding: 22px 20px; }
}

/* =========================================================================
   Cinematic motion layer (release 2026-10-20b)
   CSS-only unless noted. Every effect has a prefers-reduced-motion override
   at the end of this block. JS: hero3d.js (canvas 3D scene), motion.js
   (parallax, pointer spotlight). No animation library.
   ========================================================================= */

/* --- page transitions (View Transitions API; ignored where unsupported) --- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vtOut 220ms cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vtIn 420ms cubic-bezier(.16, 1, .3, 1) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-6px); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } }

/* --- hero: cinematic opening ---------------------------------------------- */
.hero-cine .hero-canvas { opacity: 0; transition: opacity 1600ms var(--ease-out); }
.hero3d-on .hero-cine .hero-canvas { opacity: 1; }
.hero3d-on .hero-cine .hero-fallback { opacity: .35; transition: opacity 1600ms var(--ease-out); }
.hero-cine .hero-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 58% 52%, transparent 35%, rgba(8, 20, 38, .55) 100%);
}
.js body.ready .hero-cine .hero-eyebrow { animation: eyebrowIn 1200ms var(--ease-out) both; }
@keyframes eyebrowIn { from { letter-spacing: .6em; opacity: 0; } to { opacity: 1; } }
.js body.ready .hero-cine .ht-line { animation: lineMask 1000ms cubic-bezier(.16, 1, .3, 1) both; }
.js body.ready .hero-cine .ht-line:nth-child(2) { animation-delay: 140ms; }
.js body.ready .hero-cine .ht-line:nth-child(3) { animation-delay: 280ms; }
@keyframes lineMask {
  from { clip-path: inset(0 0 100% 0); transform: translateY(.45em); opacity: .2; }
  to   { clip-path: inset(-20% -6% -25% -6%); transform: none; opacity: 1; }
}
.hero-cine .grad { background-size: 200% 100%; animation: gradShift 9s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% 50%; } }

/* glass panel: lighter glass so the neural core reads through it */
.hero-service-panel {
  background: linear-gradient(145deg, rgba(8, 20, 38, .66), rgba(16, 35, 61, .44));
  -webkit-backdrop-filter: blur(7px) saturate(150%); backdrop-filter: blur(7px) saturate(150%);
}
.hero-service-panel::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(22, 217, 245, .9), rgba(139, 92, 246, .7), transparent);
  background-size: 40% 100%; background-repeat: no-repeat; animation: edgeSweep 6s ease-in-out 2.4s infinite;
}
@keyframes edgeSweep { 0% { background-position: -40% 0; } 55%, 100% { background-position: 140% 0; } }
.js body.ready .hero-service-panel { animation: panelIn 1100ms cubic-bezier(.16, 1, .3, 1) 380ms both; }
@keyframes panelIn { from { opacity: 0; transform: translate3d(28px, 0, 0) scale(.97); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.js body.ready .hero-service-list li { animation: itemIn 700ms var(--ease-out) both; }
.js body.ready .hero-service-list li:nth-child(1) { animation-delay: 720ms; }
.js body.ready .hero-service-list li:nth-child(2) { animation-delay: 790ms; }
.js body.ready .hero-service-list li:nth-child(3) { animation-delay: 860ms; }
.js body.ready .hero-service-list li:nth-child(4) { animation-delay: 930ms; }
.js body.ready .hero-service-list li:nth-child(5) { animation-delay: 1000ms; }
.js body.ready .hero-service-list li:nth-child(6) { animation-delay: 1070ms; }
@keyframes itemIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.hero-service-icon { transition: border-color var(--t2), box-shadow 300ms, transform var(--t2); }
.hero-service-list li:hover .hero-service-icon { border-color: var(--cyan); box-shadow: 0 0 18px rgba(22, 217, 245, .35); transform: scale(1.06); }

/* --- buttons: light sweep + press ------------------------------------------ */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 700ms var(--ease-out);
}
.btn-primary:hover::after, .btn-primary:focus-visible::after { transform: translateX(120%); }
.arrow-link svg, .svc-cta svg { transition: transform var(--t4) var(--ease-out); }
.arrow-link:hover svg, .svc-cta:hover svg { transform: translateX(4px); }

/* --- navigation ------------------------------------------------------------ */
.nav-links > li > a { position: relative; }
@media (min-width: 1001px) {
  .nav-links > li > a::after {
    content: ""; position: absolute; left: 12%; right: 12%; bottom: -4px; height: 1px;
    background: linear-gradient(90deg, var(--cyan), var(--violet)); transform: scaleX(0); transform-origin: left;
    transition: transform 320ms var(--ease-out);
  }
  .nav-links > li > a:hover::after, .nav-links > li > a.is-active::after { transform: scaleX(1); }
}
.nav-links.open > li { animation: navItemIn 420ms var(--ease-out) both; }
.nav-links.open > li:nth-child(2) { animation-delay: 40ms; }
.nav-links.open > li:nth-child(3) { animation-delay: 80ms; }
.nav-links.open > li:nth-child(4) { animation-delay: 120ms; }
.nav-links.open > li:nth-child(5) { animation-delay: 160ms; }
.nav-links.open > li:nth-child(6) { animation-delay: 200ms; }
.nav-links.open > li:nth-child(7) { animation-delay: 240ms; }
@keyframes navItemIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* --- section heads: eyebrow rule draws in ---------------------------------- */
.js .section-head.reveal .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease-out) 150ms; }
.js .section-head.reveal.in .eyebrow::before { transform: scaleX(1); }

/* --- cards: lift, edge light, pointer spotlight (motion.js sets --sx/--sy) - */
.tech-card, .sector-card, .prog-card, .trainer-grid li, .mentor-grid li, .showcase-plan li, .deliv-grid li, .cpath {
  transition: transform 420ms var(--ease-out), border-color 300ms var(--ease), box-shadow 420ms var(--ease-out), background 300ms var(--ease);
}
.tech-card:hover, .sector-card:hover, .prog-card:hover, .mentor-grid li:hover, .showcase-plan li:hover, .cpath:hover,
.trainer-grid li:hover, .deliv-grid li:hover {
  transform: translateY(-4px); border-color: rgba(22, 217, 245, .38);
  box-shadow: 0 22px 50px -30px rgba(22, 217, 245, .45), 0 0 0 1px rgba(22, 217, 245, .06);
}
.section-lit .trainer-grid li:hover, .section-lit .deliv-grid li:hover { box-shadow: 0 22px 44px -30px rgba(8, 20, 38, .45); border-color: #9fdcea; }
[data-spot] { position: relative; }
[data-spot]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(22, 217, 245, .10), transparent 60%);
  transition: opacity 300ms var(--ease);
}
[data-spot]:hover::after { opacity: 1; }
.section-lit [data-spot]::after { background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(14, 116, 144, .08), transparent 60%); }

/* --- technologies band: data lines flowing across ---------------------------- */
.tech-band { position: relative; overflow: hidden; }
.tech-band::before, .tech-band::after {
  content: ""; position: absolute; left: -30%; width: 30%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(22, 217, 245, .8), transparent);
  animation: dataFlow 7s linear infinite;
}
.tech-band::before { top: 28%; }
.tech-band::after { top: 74%; animation-duration: 10s; animation-delay: -4s; background: linear-gradient(90deg, transparent, rgba(139, 92, 246, .7), transparent); }
@keyframes dataFlow { to { transform: translateX(440%); } }
.tech-card h3 { position: relative; padding-left: 14px; }
.tech-card h3::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.js .tech-card.reveal.in h3::before { animation: nodePing 2.4s ease-out 1; }
@keyframes nodePing { 0% { box-shadow: 0 0 0 0 rgba(22, 217, 245, .7); } 100% { box-shadow: 0 0 0 12px rgba(22, 217, 245, 0); } }

/* --- work showcase: browser mock tilts in 3D, screen glints ----------------- */
.case { perspective: 1200px; }
.case-browser { transition: transform 700ms cubic-bezier(.16, 1, .3, 1), box-shadow 700ms var(--ease-out); transform-origin: 50% 60%; }
.case:hover .case-browser { transform: rotateY(-7deg) rotateX(3deg) translateY(-4px); box-shadow: 30px 40px 80px -40px rgba(22, 217, 245, .35); }
.case-screen { position: relative; overflow: hidden; }
.case-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .22) 50%, transparent 60%);
  transform: translateX(-100%);
}
.case:hover .case-screen::after { transform: translateX(100%); transition: transform 1100ms var(--ease-out); }

/* --- CTA band: slow aurora glow ---------------------------------------------- */
.band-inner { position: relative; isolation: isolate; overflow: hidden; }
.band-inner::before {
  content: ""; position: absolute; inset: -40%; z-index: -1; pointer-events: none; opacity: .55;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0 70%, rgba(22, 217, 245, .14) 80%, rgba(139, 92, 246, .12) 90%, transparent 100%);
  animation: aurora 18s linear infinite;
}
@keyframes aurora { to { transform: rotate(360deg); } }

/* --- page heads: ambient depth ------------------------------------------- */
.page-art, .academy-orbit { will-change: transform; }
.page-head-cine { position: relative; overflow: hidden; }
.page-head-cine::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(22, 217, 245, .10), rgba(139, 92, 246, .06) 45%, transparent 70%);
  animation: drift 22s ease-in-out infinite alternate;
}
.page-head-cine > .wrap { position: relative; z-index: 1; }

@media (min-width: 701px) and (max-width: 1000px) { .hero3d-on .hero-cine .hero-canvas { opacity: .55; } }

/* --- phones: lighter motion ------------------------------------------------- */
@media (max-width: 700px) {
  .tech-band::after, .band-inner::before { animation: none; }
  .hero3d-on .hero-cine .hero-canvas { opacity: .5; }
  .case:hover .case-browser { transform: translateY(-3px); }
  .hero-cine .hero-stage::after { background: linear-gradient(180deg, rgba(8, 20, 38, .1), rgba(8, 20, 38, .6)); }
}

/* --- reduced motion: everything settles immediately ----------------------- */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .js body.ready .hero-cine .hero-eyebrow, .js body.ready .hero-cine .ht-line, .hero-cine .grad,
  .js body.ready .hero-service-panel, .js body.ready .hero-service-list li, .hero-service-panel::after,
  .nav-links.open > li, .tech-band::before, .tech-band::after, .js .tech-card.reveal.in h3::before,
  .band-inner::before, .page-head-cine::before { animation: none !important; }
  .hero-cine .hero-canvas, .hero3d-on .hero-cine .hero-fallback { transition: none !important; }
  .btn-primary::after, .case-screen::after { display: none; }
  .case:hover .case-browser, .tech-card:hover, .sector-card:hover, .prog-card:hover, .mentor-grid li:hover,
  .showcase-plan li:hover, .cpath:hover, .trainer-grid li:hover, .deliv-grid li:hover { transform: none !important; }
  .js .section-head.reveal .eyebrow::before { transform: none; transition: none; }
  .page-art, .academy-orbit, .hero-copy { transform: none !important; }
}
