/* ==========================================================================
   Digiquest Academy – Hitboox-style theme
   ========================================================================== */
:root {
  --primary: #F15A22;
  --primary-hover: #D9481A;
  --navy: #121212;
  --navy-2: #262626;
  --text: #3B3936;
  --muted: #77716B;
  --line: #EEE6E0;
  --soft: #FFF3EC;
  --white: #fff;
  --accent: #F15A22;
  --f-head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 24px;
  --radius-sm: 14px;
  --cut: 16px;
  --container: 1320px;
  --gutter: clamp(18px, 3vw, 32px);
  --dark-grad: radial-gradient(70% 90% at 92% 0%, rgba(241,90,34,.55) 0%, rgba(241,90,34,0) 62%), radial-gradient(55% 70% at 0% 100%, rgba(241,90,34,.16), rgba(241,90,34,0) 60%), #121212;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 18px/1.6 var(--f-body); -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* not hidden: hidden breaks position: sticky (header, sidebars, card stack) */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-hover); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head); font-weight: 400; color: var(--navy);
  line-height: 1.1; margin: 0 0 .5em; letter-spacing: .2px;
}
h1 { font-size: clamp(32px, 4.4vw, 58px); text-transform: none; }
h2 { font-size: clamp(26px, 3vw, 40px); text-transform: none; }
h3 { font-size: clamp(19px, 1.8vw, 24px); }
h4 { font-size: clamp(17px, 1.5vw, 20px); }
h5 { font-size: 17px; }
h6 { font-size: 16px; text-transform: none; letter-spacing: 1px; color: var(--primary); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section-sm { padding: clamp(44px, 6vw, 80px) 0; }
.text-center { text-align: center; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--text); }
.muted { color: var(--muted); }

/* ---------- Buttons: cut corners like Hitboox ---------- */
.btn {
  --c: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 var(--f-head); text-transform: none; letter-spacing: .6px;
  padding: 18px 40px; border: 0; cursor: pointer; white-space: nowrap;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  border-radius: 5px; transition: background .25s, color .25s, transform .25s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--primary); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 13px 26px; font-size: 15px; --c: 10px; }
.btn .arrow { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Notched panels ---------- */
.notch-tl { clip-path: polygon(0 0, calc(100% - 120px) 0, calc(100% - 90px) 30px, 100% 30px, 100% 100%, 0 100%); }
.notch-bl { clip-path: polygon(0 0, 100% 0, 100% 100%, 260px 100%, 230px calc(100% - 30px), 0 calc(100% - 30px)); }
.notch-both { clip-path: polygon(0 0, calc(100% - 120px) 0, calc(100% - 90px) 30px, 100% 30px, 100% 100%, 260px 100%, 230px calc(100% - 30px), 0 calc(100% - 30px)); }
.cut-card { --c: 22px; clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 6px 30px rgba(18,18,18,.08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); min-height: 84px; }
.brand img { width: 190px; height: auto; }
.main-nav { margin-left: auto; }
.menu { list-style: none; display: flex; align-items: center; gap: 4px; }
.menu li { position: relative; list-style: none; }
.menu > li > a {
  display: block; padding: 30px 14px; font: 600 15px/1 var(--f-head); text-transform: none;
  letter-spacing: .6px; color: var(--navy);
}
.menu > li.active > a, .menu > li > a:hover { color: var(--primary); }
.menu > li.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; list-style: none; padding: 12px 0;
  border-radius: var(--radius-sm); box-shadow: 0 20px 50px rgba(18,18,18,.14); opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all .25s;
}
.sub .sub { top: -12px; left: 100%; }
.menu li:hover > .sub, .menu li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 22px; color: var(--navy); font-size: 15.5px; font-weight: 500; }
.sub li.has-sub > a::after { content: "›"; float: right; margin-left: 10px; }
.sub a:hover, .sub li.active > a { color: var(--primary); background: var(--soft); }
.sub-toggle { display: none; }
.header-cta { padding: 15px 28px; font-size: 16px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

@media (max-width: 1180px) {
  /* backdrop-filter would make the header the containing block of the fixed menu */
  .site-header { backdrop-filter: none; background: #fff; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: 84px 0 0 0; background: #fff; overflow-y: auto; padding: 10px var(--gutter) 40px;
    transform: translateX(100%); transition: transform .35s, visibility 0s .35s; margin: 0; visibility: hidden;
  }
  .nav-open .main-nav { transform: none; visibility: visible; transition: transform .35s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu li { border-bottom: 1px solid var(--line); }
  .menu > li > a { padding: 18px 0; font-size: 20px; }
  .menu > li.has-sub > a::after, .sub li.has-sub > a::after { display: none; }
  .sub, .sub .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 0 10px 14px; min-width: 0; }
  .sub li { border: 0; }
  .menu li.open > .sub { display: block; }
  .sub-toggle { display: block; position: absolute; right: 0; top: 8px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
  .sub .sub-toggle { top: 0; }
  .sub-toggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: translate(-50%,-70%) rotate(45deg); transition: .25s; }
  .menu li.open > .sub-toggle::before { transform: translate(-50%,-30%) rotate(225deg); }
}

/* ---------- Section heading with vertical eyebrow ---------- */
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 0 26px; align-items: start; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head .eyebrow {
  writing-mode: vertical-rl; transform: rotate(180deg); font: 600 14px/1 var(--f-head); letter-spacing: 1.5px;
  text-transform: none; color: var(--primary); padding-top: 8px; border-right: 2px solid var(--primary);
  padding-left: 6px; align-self: stretch; max-height: 170px; white-space: nowrap;
}
.sec-head h2 { margin: 0; }
.sec-head.split { grid-template-columns: auto 1fr auto; align-items: end; }
.sec-head.split .side { max-width: 420px; display: flex; gap: 28px; align-items: center; }
.sec-head.split .side p { margin: 0; font-size: 17px; }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head.center .eyebrow { writing-mode: horizontal-tb; transform: none; border: 0; padding: 0; margin-bottom: 14px; max-height: none; }
.on-dark .sec-head h2, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark h5 { color: #fff; }
.on-dark .sec-head .eyebrow { color: #FFB38E; border-color: #FFB38E; }
.on-dark, .on-dark p { color: rgba(255,255,255,.82); }
@media (max-width: 860px) {
  .sec-head.split { grid-template-columns: auto 1fr; }
  .sec-head.split .side { grid-column: 2; margin-top: 18px; flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---------- Home hero: slanted image strips ---------- */
.hero { padding: 0; }
.hero-box {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: min(86vh, 860px);
  background: var(--navy); display: flex; align-items: flex-end;
}
.hero-strips { position: absolute; inset: 0; display: flex; margin: 0 -8%; }
.hero-strips figure {
  flex: 1; margin: 0 -1px; overflow: hidden; transform: skewX(-12deg); position: relative;
  border-right: 3px solid var(--navy);
}
.hero-strips img {
  position: absolute; inset: 0 -40%; width: 180%; height: 100%; object-fit: cover; transform: skewX(12deg) scale(1.05);
  transition: transform 6s ease;
}
.hero-strips figure:hover img { transform: skewX(12deg) scale(1.12); }
.hero-box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,12,.88) 0%, rgba(12,12,12,.55) 45%, rgba(12,12,12,.1) 100%), linear-gradient(0deg, rgba(12,12,12,.7), transparent 50%); }
.hero-content { position: relative; z-index: 2; padding: clamp(38px, 5vw, 70px); width: 100%; }
.hero-content .kicker { display: inline-block; font: 600 15px/1 var(--f-head); letter-spacing: 1.5px; text-transform: none; color: #fff; background: var(--primary); padding: 9px 16px; margin-bottom: 22px; clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px); }
.hero-content h1 { color: #fff; max-width: 980px; margin-bottom: 36px; letter-spacing: -.5px; }
.hero-bottom { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero-bottom p { color: rgba(255,255,255,.9); max-width: 520px; margin: 0; font-size: 19px; }
.hero-notch { position: relative; height: 34px; margin-top: -34px; z-index: 3; pointer-events: none; }
.hero-notch::before, .hero-notch::after { content: ""; position: absolute; bottom: 0; width: 140px; height: 34px; background: #fff; }
.hero-notch::before { left: 70px; clip-path: polygon(34px 0, 100% 0, 100% 100%, 0 100%); }
.hero-notch::after { right: 70px; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 100%, 0 100%); }
.marquee-bar { background: var(--primary); color: #fff; overflow: hidden; padding: 16px 0; margin-top: 30px; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font: 600 19px/1 var(--f-head); text-transform: none; letter-spacing: 1px; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "★"; color: #FFB38E; font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 0; }
.page-hero .box {
  position: relative; border-radius: 0; overflow: hidden; min-height: clamp(420px, 52vh, 560px);
  display: flex; align-items: flex-end; background: var(--navy);
}
.page-hero .box img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,12,.94), rgba(12,12,12,.6) 55%, rgba(12,12,12,.2)), radial-gradient(50% 80% at 85% 100%, rgba(241,90,34,.45), transparent 70%); }
.page-hero .box img.bg { animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.page-hero .inner { position: relative; z-index: 2; padding: clamp(35px, 5vw, 64px); width: 100%; max-width: var(--container); margin: 0 auto; }
.page-hero h1 { color: #fff; font-size: clamp(29px, 3.5vw, 52px); margin: 0 0 18px; max-width: 1000px; }
.page-hero .sub-title { color: rgba(255,255,255,.88); max-width: 680px; font-size: 19px; margin: 0 0 6px; }
@media (max-width: 700px) {
  .page-hero .inner { padding-bottom: 64px; }
  .hero-content { padding-bottom: 70px; }
  .hero-notch::before, .hero-notch::after { width: 90px; }
  .hero-notch::before { left: 24px; }
  .hero-notch::after { right: 24px; }
  .page-hero .box { min-height: 340px; }
}
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: #FFB38E; }

/* ---------- About split ---------- */
.split-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px, 6vw, 90px); align-items: center; }
.split-grid.rev > :first-child { order: 2; }
.split-grid .media { position: relative; }
.split-grid .media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.split-grid .media .badge {
  position: absolute; left: -20px; bottom: 30px; background: var(--primary); color: #fff; padding: 22px 26px;
  font: 600 15px/1.1 var(--f-head); text-transform: none; clip-path: polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);
}
.split-grid .media .badge strong { display: block; font-size: 30px; line-height: 1.1; }
.prose { font-size: 18px; }
.prose h2 { font-size: clamp(17px, 1.97vw, 26px); margin: 1.2em 0 .5em; }
.prose h3 { font-size: clamp(17px, 1.73vw, 23px); margin: 1.3em 0 .45em; }
.prose h4, .prose h5, .prose h6 { margin: 1.3em 0 .5em; }
.prose h5, .prose h6 { font-family: var(--f-head); font-size: 22px; text-transform: none; letter-spacing: .3px; color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--primary); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-sm); margin: 1.4em 0; }
.prose blockquote { margin: 1.5em 0; padding: 24px 30px; background: var(--soft); border-left: 4px solid var(--primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.prose th { background: var(--soft); color: var(--navy); }
.prose > :first-child { margin-top: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-top: clamp(50px, 7vw, 90px); }
.stat { display: flex; gap: 14px; align-items: flex-start; }
.stat .num { font: 600 clamp(32px, 3.5vw, 55px)/1.1 var(--f-head); color: var(--navy); }
.stat .plus { color: var(--primary); font: 400 34px/1 var(--f-body); }
.stat p { margin: 4px 0 0; font-size: 15px; line-height: 1.35; color: var(--muted); max-width: 120px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Dark feature panel ---------- */
.dark-panel { background: var(--dark-grad); border-radius: var(--radius); padding: clamp(55px, 7vw, 100px) clamp(44px, 5vw, 80px) clamp(70px, 8vw, 110px); position: relative; overflow: hidden; color: #fff; }
.dark-panel .glow { position: absolute; right: -5%; top: -10%; width: 55%; height: 120%; object-fit: cover; opacity: .45; mask-image: linear-gradient(90deg, transparent, #000 40%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); pointer-events: none; }
.dark-panel > * { position: relative; }
.dark-panel .intro { max-width: 560px; margin-bottom: 50px; }
.glass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.glass {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 34px 32px 38px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .3s, transform .3s;
}
.glass:hover { background: rgba(255,255,255,.13); transform: translateY(-6px); }
.glass .no { font: 600 19px/1 var(--f-head); color: #fff; padding-bottom: 22px; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.18); display: block; }
.glass h3 { color: #fff; font-size: clamp(20px, 1.87vw, 27px); }
.glass p { color: rgba(255,255,255,.78); font-size: 16px; margin: 0; }
.glass .ico { width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.12); display: grid; place-items: center; margin-bottom: 22px; }
.glass .ico img { width: 30px; height: 30px; object-fit: contain; filter: brightness(0) invert(1); }
@media (max-width: 960px) { .glass-grid { grid-template-columns: 1fr; } }

/* ---------- Course cards ("Our games") ---------- */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.course-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 400px; display: flex;
  background: var(--navy); color: #fff; isolation: isolate;
}
.course-card.wide { grid-column: span 2; min-height: 480px; }
.course-card img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s; }
.course-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,12,12,.75) 0%, rgba(12,12,12,.05) 45%, rgba(12,12,12,.85) 100%); }
.course-card:hover img.bg { transform: scale(1.06); }
.course-card .top { display: flex; gap: 18px; align-items: center; padding: 30px; align-self: flex-start; }
.course-card .tile { width: 70px; height: 70px; border-radius: 14px; background: var(--primary); display: grid; place-items: center; font: 600 19px/1 var(--f-head); color: #fff; flex: 0 0 auto; }
.course-card h3 { color: #fff; margin: 0 0 8px; font-size: clamp(16px, 1.74vw, 25px); }
.pill { display: inline-block; font: 600 12px/1 var(--f-body); text-transform: none; letter-spacing: .8px; padding: 6px 10px; border-radius: 6px; background: var(--primary); color: #fff; }
.pill.alt { background: var(--accent); }
.course-card .foot { position: absolute; left: 30px; right: 30px; bottom: 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.course-card .foot p { margin: 0; color: rgba(255,255,255,.88); max-width: 420px; font-size: 16px; }
.course-card a.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.course-card .btn { position: relative; z-index: 2; }
@media (max-width: 860px) { .course-grid { grid-template-columns: 1fr; } .course-card.wide { grid-column: auto; } .course-card .foot { flex-direction: column; align-items: flex-start; } }

/* ---------- Numbered services list (soft bg) ---------- */
.soft-panel { background: var(--soft); border-radius: var(--radius); padding: clamp(55px, 7vw, 100px) clamp(44px, 5vw, 80px); }
.svc-list { display: grid; gap: 18px; }
.svc {
  display: grid; grid-template-columns: 180px 1fr 340px; gap: 30px; align-items: center; background: #fff;
  border-radius: var(--radius); padding: 34px 40px; overflow: hidden; position: relative; transition: box-shadow .3s;
}
.svc:hover { box-shadow: 0 24px 60px rgba(18,18,18,.10); }
.svc .big-no { font: 600 60px/1.1 var(--f-head); color: transparent; -webkit-text-stroke: 2px #F3C3AC; align-self: end; margin-bottom: -40px; transition: color .3s; }
.svc:hover .big-no { color: var(--primary); -webkit-text-stroke-color: var(--primary); }
.svc h3 { margin: 0 0 10px; }
.svc p { margin: 0; font-size: 16px; }
.svc img { width: 100%; height: 190px; object-fit: cover; border-radius: var(--radius-sm); }
.svc .svc-ico { justify-self: end; width: 120px; height: 120px; border-radius: 28px; background: var(--soft); display: grid; place-items: center; transition: background .3s; }
.svc .svc-ico img { width: 64px; height: 64px; object-fit: contain; border-radius: 0; }
.svc:hover .svc-ico { background: #FFE0CF; }
@media (max-width: 960px) { .svc .svc-ico { justify-self: start; width: 84px; height: 84px; } .svc .svc-ico img { width: 46px; height: 46px; } }
@media (max-width: 960px) { .svc { grid-template-columns: 1fr; padding: 28px; } .svc .big-no { font-size: 35px; margin: 0; } }

/* ---------- Generic card grid ---------- */
.card-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(18,18,18,.10); border-color: transparent; }
.card h3, .card h4 { font-size: clamp(17px, 1.58vw, 21px); margin-bottom: 12px; }
.card p { font-size: 16px; margin: 0; }
.card .no { font: 600 15px/1 var(--f-head); color: var(--primary); display: block; margin-bottom: 26px; }
.card.featured { background: var(--primary); border-color: var(--primary); }
.card.featured h3, .card.featured h4, .card.featured p, .card.featured .no { color: #fff; }
.card .card-img { margin: -34px -30px 24px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.card .card-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.05); }
@media (max-width: 1024px) { .card-grid { --cols: 2 !important; } }
@media (max-width: 640px) { .card-grid { --cols: 1 !important; } }

/* ---------- Curriculum ---------- */
.curriculum { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.sem { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.sem .year { font: 600 13px/1 var(--f-head); letter-spacing: 1px; text-transform: none; color: var(--muted); display: block; margin-bottom: 8px; }
.sem h3 { font-size: 22px; color: var(--primary); margin-bottom: 18px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px dashed var(--line); font-size: 16px; }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 5px; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.on-dark .check-list li { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.88); }

/* ---------- Tabs ---------- */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tabs-nav button { font: 600 16px/1 var(--f-head); text-transform: none; letter-spacing: .6px; padding: 16px 26px; border: 0; cursor: pointer; background: #fff; color: var(--navy); border-radius: 5px; clip-path: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px); }
.tabs-nav button[aria-selected="true"] { background: var(--primary); color: #fff; }
.tab-panel[hidden] { display: none; }

/* ---------- Awards / legacy table (dark) ---------- */
.awards { display: grid; grid-template-columns: 360px 1fr; gap: clamp(38px, 5vw, 70px); align-items: start; }
.awards .photo { border-radius: var(--radius); overflow: hidden; }
.awards .photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.award-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.award-rows li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.18); transition: padding .3s, background .3s; }
.award-rows li:hover { padding-left: 14px; background: rgba(255,255,255,.04); }
.award-rows .yr { font: 600 14px/1.6 var(--f-head); color: #FFB38E; letter-spacing: 1px; }
.award-rows strong { display: block; font: 600 19px/1.2 var(--f-head); color: #fff; letter-spacing: .3px; margin-bottom: 4px; }
.award-rows span.d { font-size: 15px; color: rgba(255,255,255,.72); }
@media (max-width: 900px) { .awards { grid-template-columns: 1fr; } }

/* ---------- Outline marquee ("TEAM ★ TEAM") ---------- */
.outline-marquee { overflow: hidden; padding: 20px 0; position: relative; }
.outline-marquee .marquee-track span { font-size: clamp(36px, 4.5vw, 65px); color: transparent; -webkit-text-stroke: 1.5px #F6CDB9; gap: 40px; }
.outline-marquee .marquee-track span::after { -webkit-text-stroke: 0; color: #F6CDB9; font-size: .45em; }
.outline-marquee .label { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: #fff; padding: 10px 22px; font: 600 15px/1 var(--f-head); color: var(--primary); text-transform: none; letter-spacing: 1px; border: 1px solid var(--line); border-radius: 6px; z-index: 2; white-space: nowrap; }

/* ---------- People cards (faculty / placements) ---------- */
.people { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 24px; }
.person { text-align: left; }
.person .ph { border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 4/4.6; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.person:hover .ph img { transform: scale(1.05); }
.person h3, .person h4 { font-size: 17px; margin: 16px 0 4px; }
.person p { margin: 0; font-size: 15px; color: var(--muted); }
.person .co { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--primary); font-size: 15px; }
@media (max-width: 1024px) { .people { --cols: 3 !important; } }
@media (max-width: 760px) { .people { --cols: 2 !important; } }

.profile-card { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: clamp(28px, 4vw, 50px); align-items: start; padding: clamp(20px, 3vw, 36px); }
@media (max-width: 700px) { .profile-card { grid-template-columns: 1fr; } .profile-card .person { max-width: 280px; } }

/* ---------- Logo strip ---------- */
.logo-strip { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-strip .marquee-track { gap: 70px; align-items: center; animation-duration: 35s; }
.logo-strip img { height: 56px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .3s; }
.logo-strip img:hover { filter: none; opacity: 1; }

/* ---------- Gallery / videos ---------- */
.gallery { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 16px; }
.gallery a, .gallery figure { display: block; margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery a:hover img { transform: scale(1.07); }
@media (max-width: 900px) { .gallery { --cols: 3 !important; } }
@media (max-width: 600px) { .gallery { --cols: 2 !important; } }
.video-grid { display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); gap: 24px; }
.yt { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--navy); cursor: pointer; border: 0; padding: 0; width: 100%; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s; }
.yt:hover img { opacity: 1; transform: scale(1.04); }
.yt .play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; transform: translate(-50%,-50%); background: var(--primary); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(241,90,34,.3); transition: transform .3s; }
.yt:hover .play { transform: translate(-50%,-50%) scale(1.1); }
.yt .play::after { content: ""; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .video-grid { --cols: 1 !important; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10,10,10,.92); z-index: 300; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; width: auto; border-radius: var(--radius-sm); }
.lightbox button { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; line-height: 1.1; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(18,18,18,.10); }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--soft); position: relative; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .thumb .pill { position: absolute; left: 18px; top: 18px; }
.post-card .body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.post-card h2, .post-card h3 { font-size: 19px; line-height: 1.1; text-transform: none; margin: 0 0 12px; }
.post-card h2 a, .post-card h3 a { color: var(--navy); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--primary); }
.post-card p { font-size: 16px; margin: 0 0 18px; }
.post-card .more { margin-top: auto; font: 600 14px/1 var(--f-head); text-transform: none; letter-spacing: .6px; }
@media (max-width: 1024px) { .post-grid { --cols: 2 !important; } }
@media (max-width: 640px) { .post-grid { --cols: 1 !important; } }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 50px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 48px; height: 48px; display: grid; place-items: center; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); font: 600 16px/1 var(--f-head); color: var(--navy); }
.pager a:hover, .pager .cur { background: var(--primary); border-color: var(--primary); color: #fff; }

.single-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(38px, 5vw, 70px); }
.single-wrap .feat { border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; }
.single-wrap .feat img { width: 100%; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgba(255,255,255,.85); font-size: 15px; }
.sidebar > * + * { margin-top: 28px; }
.widget { background: var(--soft); border-radius: var(--radius); padding: 30px; }
.widget h3 { font-size: 19px; margin-bottom: 18px; }
.widget ul { list-style: none; }
.widget li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.4; }
.widget li:last-child { border: 0; }
.widget li a { color: var(--navy); }
.widget li a:hover { color: var(--primary); }
.widget.cta { background: var(--dark-grad); color: #fff; }
.widget.cta h3 { color: #fff; }
.widget.cta p { color: rgba(255,255,255,.8); font-size: 16px; }
.terms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.terms a { font-size: 14px; padding: 7px 14px; border-radius: 30px; background: var(--soft); color: var(--navy); }
.terms a:hover { background: var(--primary); color: #fff; }
.sidebar { position: sticky; top: 110px; align-self: start; }
@media (max-width: 1024px) { .single-wrap { grid-template-columns: 1fr; } .sidebar { position: static; } }

/* ---------- Accordion (FAQs) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative; font: 600 clamp(16px, 1.44vw, 18px)/1.2 var(--f-head); color: var(--navy); letter-spacing: .3px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--soft); color: var(--primary); display: grid; place-items: center; font: 400 26px/1 var(--f-body); transition: .3s; }
.faq details[open] summary::after { content: "–"; background: var(--primary); color: #fff; }
.faq .ans { padding: 0 0 26px; max-width: 900px; }

/* ---------- Forms / CTA ---------- */
.cta-band { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); padding: clamp(61px, 8vw, 110px) clamp(50px, 6vw, 90px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.cta-band h2 { margin-bottom: 18px; }
.cta-band .img { border-radius: var(--radius); overflow: hidden; }
.cta-band .img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; font: 400 16px/1.4 var(--f-body); color: var(--navy); background: #fff; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(241,90,34,.12); }
.form textarea { min-height: 130px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); box-shadow: 0 30px 80px rgba(18,18,18,.12); }
.form-card h3 { margin-bottom: 8px; }
.alert { padding: 16px 20px; border-radius: 10px; margin-bottom: 20px; font-size: 16px; }
.alert.ok { background: #E8F8EE; color: #146C3A; }
.alert.err { background: #FDECEC; color: #9B1C1C; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 18px; }
.contact-cards .card { display: flex; gap: 18px; align-items: flex-start; padding: 26px; }
.contact-cards .ic { width: 52px; height: 52px; border-radius: 12px; background: var(--primary); display: grid; place-items: center; flex: 0 0 auto; }
.contact-cards .ic svg { width: 24px; height: 24px; fill: #fff; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 21/8; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .map { aspect-ratio: 4/3; } }

/* ---------- Footer ---------- */
.site-footer { padding: 30px 0 14px; }
.footer-panel { background: var(--dark-grad); border-radius: var(--radius); padding: clamp(50px, 7vw, 90px) clamp(38px, 5vw, 70px) 30px; color: rgba(255,255,255,.8); }
.footer-top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; }
.footer-big { list-style: none; }
.footer-big a { font: 600 clamp(23px, 2.8vw, 41px)/1.1 var(--f-head); color: #fff; text-transform: none; transition: color .25s, padding .25s; display: inline-block; }
.footer-big a:hover { color: #FFB38E; padding-left: 10px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-cols h6 { color: rgba(255,255,255,.55); font: 600 13px/1 var(--f-body); letter-spacing: 1.2px; margin-bottom: 20px; }
.footer-cols ul { list-style: none; }
.footer-cols li { margin-bottom: 12px; }
.footer-cols a { color: #fff; font-size: 16px; }
.footer-cols a:hover { color: #FFB38E; }
.footer-cols address { font-style: normal; font-size: 15.5px; margin-bottom: 12px; }
.footer-cols p { font-size: 15.5px; }
.footer-cta { display: grid; grid-template-columns: 200px 1fr auto; gap: 30px; align-items: center; margin-top: 60px; padding: 26px 30px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.footer-cta img { border-radius: 14px; width: 200px; height: 120px; object-fit: cover; }
.footer-cta p { margin: 0; color: rgba(255,255,255,.8); }
.footer-cta strong { color: #fff; font-size: 20px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 30px; font-size: 14.5px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.social { list-style: none; display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; transition: background .25s; }
.social a:hover { background: var(--primary); }
.social svg { width: 18px; height: 18px; fill: #fff; }
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-cols > div:last-child { grid-column: 1 / -1; } .footer-cta { grid-template-columns: 1fr; } .footer-cta img { width: 100%; height: 160px; } }

/* ---------- Floating buttons ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 52px; height: 52px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; z-index: 90; opacity: 0; visibility: hidden; transition: .3s; box-shadow: 0 10px 30px rgba(241,90,34,.4); }
.to-top.show { opacity: 1; visibility: visible; }
.to-top svg { width: 22px; height: 22px; fill: #fff; }
.float-call { position: fixed; right: 24px; bottom: 90px; z-index: 90; display: flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; padding: 12px 20px 12px 14px; border-radius: 40px; font: 600 15px/1 var(--f-head); letter-spacing: .6px; text-transform: none; box-shadow: 0 10px 30px rgba(241,90,34,.45); animation: pulse 2.2s infinite; }
.float-call:hover { color: #fff; background: #D9481A; }
.float-call svg { width: 22px; height: 22px; fill: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(241,90,34,.6); } 70% { box-shadow: 0 0 0 16px rgba(241,90,34,0); } 100% { box-shadow: 0 0 0 0 rgba(241,90,34,0); } }
@media (max-width: 600px) { .float-call span { display: none; } .float-call { padding: 14px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.err-page { text-align: center; padding: clamp(88px, 12vw, 160px) 0; }
.err-page .code { font: 600 clamp(72px, 11.0vw, 130px)/1.1 var(--f-head); color: transparent; -webkit-text-stroke: 3px var(--primary); }

/* ==========================================================================
   Animated poster hero (Three.js) – the Digiquest kids
   ========================================================================== */
.h3 {
  position: relative; overflow: hidden; width: 100%;
  height: clamp(660px, calc(100svh - 84px), 980px);
  background:
    radial-gradient(42% 38% at 50% 78%, rgba(241,90,34,.42), rgba(241,90,34,0) 70%),
    radial-gradient(70% 60% at 50% 30%, #232020 0%, rgba(20,18,18,0) 70%),
    linear-gradient(180deg, #0B0B0B 0%, #141211 60%, #0D0C0C 100%);
  isolation: isolate; color: #fff;
}
/* print grain so the gradient doesn't look like a flat render */
.h3::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .6 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; opacity: 0; transition: opacity .8s; cursor: pointer; }
.h3.is-ready #hero-canvas { opacity: 1; }
.h3.is-ready .h3-fallback { opacity: 0; visibility: hidden; }

/* giant word behind the scene, the two I's are the kids */
.h3-giant {
  position: absolute; left: 0; right: 0; top: 30%; z-index: 1; display: flex; justify-content: center; align-items: flex-end;
  font: 600 clamp(110px, 10.5vw, 200px)/1.1 var(--f-head); letter-spacing: -.01em; user-select: none;
}
.h3-giant .g {
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.16);
  background: linear-gradient(100deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.11) 40%, rgba(241,90,34,.4) 50%, rgba(255,255,255,.11) 60%, rgba(255,255,255,.11) 100%) 120% 0 / 300% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  display: inline-block; transform-origin: 50% 100%; animation: gDrop .9s cubic-bezier(.3,1.4,.5,1) both, gIdle 6s ease-in-out infinite, sheen 11s linear infinite; animation-delay: calc(var(--i) * 70ms + .2s), calc(var(--i) * 140ms + 1.4s), 1.6s; }
@keyframes sheen { 0% { background-position: 120% 0; } 35%, 100% { background-position: -20% 0; } }
.h3-giant .kid-letter { width: .5em; height: .82em; color: rgba(241,90,34,.85); filter: drop-shadow(0 0 24px rgba(241,90,34,.55)); overflow: visible; }
.h3-giant .g:has(.kid-letter) { -webkit-text-stroke: 0; background: none; }
.h3-giant .kid-letter .k-eyes { display: none; }
@keyframes gDrop {
  0% { transform: translateY(-80%) scale(.9, 1.25); opacity: 0; }
  55% { transform: translateY(0) scale(1.12, .82); opacity: 1; }
  72% { transform: translateY(-6%) scale(.96, 1.06); }
  86% { transform: translateY(0) scale(1.03, .97); }
  100% { transform: none; }
}
@keyframes gIdle { 0%, 88%, 100% { translate: 0 0; } 92% { translate: 0 -4%; } 96% { translate: 0 1%; } }

.h3-spaced {
  position: absolute; z-index: 1; left: 6%; right: 6%; top: calc(30% + clamp(154px, 16.6vw, 280px));
  display: flex; justify-content: space-between; align-items: center;
  font: 600 clamp(16px, 1.22vw, 20px)/1.1 var(--f-head); color: rgba(255,255,255,.42); letter-spacing: .02em;
}
.h3-spaced span { animation: spIn .6s steps(4) both; animation-delay: calc(var(--i) * 40ms + .9s); }
.h3-spaced .dot { width: .5em; height: .5em; border-radius: 50%; background: var(--primary); box-shadow: 0 0 14px rgba(241,90,34,.8); animation: spIn .6s steps(4) both, pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot { 50% { box-shadow: 0 0 0 6px rgba(241,90,34,.15), 0 0 20px rgba(241,90,34,.9); } }
@keyframes spIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* HUD corners */
.h3-tl, .h3-tr, .h3-bl, .h3-br, .h3-badge { position: absolute; z-index: 3; }
.h3-tl { left: clamp(26px, 3.2vw, 48px); top: clamp(25px, 3.4vw, 46px); max-width: 430px; animation: hudIn .8s .3s cubic-bezier(.2,.9,.3,1.2) both; }
.h3-kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--f-body); letter-spacing: 1.6px; text-transform: none; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); padding: 8px 12px; border-radius: 30px; margin-bottom: 16px; backdrop-filter: blur(6px); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #F15A22; animation: rec 1s steps(2) infinite; }
@keyframes rec { 50% { opacity: .15; } }
.h3-tl h1 { font-size: clamp(16px, 1.51vw, 24px); line-height: 1.1; margin: 0 0 14px; color: #fff; }
.h3-tl h1 .accent { color: var(--primary); }
.h3-tl p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.66); margin: 0; max-width: 330px; }
.h3-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.h3-btns .btn { padding: 15px 26px; font-size: 15px; }

.h3-tr { right: clamp(26px, 3.2vw, 48px); top: clamp(25px, 3.4vw, 46px); display: flex; flex-direction: column; align-items: flex-end; gap: 14px; animation: hudIn .8s .45s cubic-bezier(.2,.9,.3,1.2) both; }
.h3-icons { list-style: none; display: flex; gap: 8px; }
.h3-icons a { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.04); transition: background .2s, border-color .2s; }
.h3-icons a:hover { background: var(--primary); border-color: var(--primary); color: #fff; animation: jelly .6s; }
.h3-icons svg { width: 15px; height: 15px; fill: currentColor; }
.h3-outline { font: italic 400 clamp(47px, 5vw, 86px)/.9 var(--f-head); color: transparent; -webkit-text-stroke: 1.6px var(--primary); transform: skewX(-10deg); letter-spacing: .02em; text-shadow: none; }
.h3-tc { font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .5px; color: #fff; opacity: .55; }
.h3-tc b { font-weight: 700; }

.h3-badge { right: clamp(38px, 4vw, 70px); top: 50%; width: clamp(110px, 10vw, 160px); aspect-ratio: 1; }
.h3-badge .ring { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.h3-badge text { font: 600 13.5px/1 var(--f-body); letter-spacing: 1px; fill: rgba(255,255,255,.8); }
.h3-badge .kid { position: absolute; left: 50%; top: 50%; width: 38%; translate: -50% -55%; color: #F15A22; }
@keyframes spin { to { transform: rotate(360deg); } }

.h3-bl { left: clamp(26px, 3.2vw, 48px); bottom: clamp(22px, 3vw, 40px); max-width: 330px; animation: hudIn .8s .6s cubic-bezier(.2,.9,.3,1.2) both; }
.h3-principle { display: flex; align-items: baseline; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.18); margin-bottom: 12px; perspective: 400px; }
.h3-principle b { font: italic 400 clamp(44px, 4.4vw, 68px)/.85 var(--f-head); color: var(--primary); transform: skewX(-8deg); }
.h3-principle span { font: 600 15px/1.2 var(--f-body); color: #fff; }
.h3-principle.flip b, .h3-principle.flip span { animation: flipIn .5s steps(5) both; }
.h3-principle.flip span { animation-delay: .08s; }
@keyframes flipIn { from { transform: rotateX(90deg); opacity: 0; } to { transform: none; opacity: 1; } }
.h3-partners { font: 600 12px/1 var(--f-body); color: rgba(255,255,255,.75); letter-spacing: .4px; margin-bottom: 8px; }
.h3-partners i { color: #F15A22; font-style: normal; margin: 0 3px; }
.h3 .fine { font-size: 10.5px; line-height: 1.45; color: rgba(255,255,255,.45); margin: 0; }
.h3 .kid-line { color: rgba(255,255,255,.7); }

.h3-br { right: clamp(26px, 3.2vw, 48px); bottom: clamp(22px, 3vw, 40px); width: 230px; animation: hudIn .8s .75s cubic-bezier(.2,.9,.3,1.2) both; }
.turnaround { display: flex; justify-content: space-between; align-items: flex-end; padding: 0 6px 6px; margin-bottom: 10px; position: relative;
  background: repeating-linear-gradient(180deg, transparent 0 21px, rgba(255,255,255,.08) 21px 22px); }
.turnaround .kid { width: 30%; }
@keyframes hudIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* fallback kids when WebGL is unavailable */
.h3-fallback { position: absolute; z-index: 2; left: 50%; bottom: 14%; translate: -50% 0; display: flex; gap: 30px; transition: opacity .6s; }
.h3-fallback .kid { width: clamp(94px, 12vw, 170px); color: #F15A22; }

@media (max-width: 1100px) {
  .h3-br, .h3-partners { display: none; }
  .h3-badge { top: auto; bottom: 26px; }
}
@media (max-width: 760px) {
  .h3 { height: max(760px, 100svh - 100px); }
  .h3-giant { top: 40%; font-size: 25vw; }
  .h3-spaced { top: calc(40% + 21vw); font-size: 3.3vw; left: 5%; right: 5%; }
  .h3-tl { right: 20px; max-width: none; }
  .h3-tl p { max-width: none; }
  .h3-tr { display: none; }
  .h3-outline, .h3-tc, .h3-icons, .h3-bl .fine, .h3-badge { display: none; }
  .h3-bl { max-width: none; right: 20px; bottom: 44px; }
  .h3-btns { flex-wrap: nowrap; }
  .h3-btns .btn { padding: 14px 18px; font-size: 14px; flex: 1; }
  .h3-principle { border: 0; margin: 0; padding: 0; }
  .h3-principle b { font-size: 23px; }
}

/* ==========================================================================
   The kid SVG rig (used in hero badge, turnaround, footer walk cycle, page heroes)
   ========================================================================== */
.kid { display: block; overflow: visible; color: #F15A22; }
.kid path { stroke: currentColor; stroke-width: 5; stroke-linecap: round; fill: none; }
.kid circle, .kid ellipse { fill: currentColor; }
.kid .k-eyes ellipse { fill: #2a160d; }
.kid g { transform-box: view-box; }
.k-arm-l { transform-origin: 46px 54px; } .k-arm-r { transform-origin: 74px 54px; }
.k-leg-l { transform-origin: 53px 88px; } .k-leg-r { transform-origin: 67px 88px; }
.k-head { transform-origin: 60px 40px; } .k-body { transform-origin: 60px 90px; }
.k-eyes { transform-origin: 60px 24px; animation: blink 4.2s steps(1) infinite; }
@keyframes blink { 0%, 96% { transform: none; } 97%, 99% { transform: scaleY(.1); } }

/* line-art turnaround: drawn on like a sketch */
.kid-line { color: var(--navy); }
.kid-line path, .kid-line circle, .kid-line ellipse { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 2.4s 1.2s ease forwards; }
.kid-line .k-eyes { display: none; }
.kid-line.q .k-torso { transform: scaleX(.8); transform-origin: 60px 66px; }
.kid-line.q .k-arm-l { transform: scaleX(.6); } .kid-line.q .k-head circle { transform: translateX(3px); }
.kid-line.s .k-torso { transform: scaleX(.62); transform-origin: 60px 66px; }
.kid-line.s .k-arm-l, .kid-line.s .k-leg-l { opacity: .25; }
.kid-line.s .k-arm-r { transform: rotate(60deg); }
.kid-line.q path, .kid-line.q circle, .kid-line.q ellipse { animation-delay: 1.5s; }
.kid-line.s path, .kid-line.s circle, .kid-line.s ellipse { animation-delay: 1.8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.kid-jump { animation: kidJump 2.4s infinite; transform-origin: 50% 100%; }
@keyframes kidJump {
  0%, 60%, 100% { transform: none; }
  64% { transform: scale(1.15, .8); }
  72% { transform: translateY(-28%) scale(.9, 1.15); }
  80% { transform: translateY(0) scale(1.18, .78); }
  88% { transform: scale(.96, 1.05); }
}
.kid-bounce { animation: kidJump 1.6s infinite; transform-origin: 50% 100%; }
.kid-bounce.b2 { animation-delay: .4s; width: clamp(61px, 8vw, 110px) !important; }

/* walk cycle "on twos" – stepped like hand-drawn animation */
.kid-walk .k-leg-l { animation: legSwing .6s steps(4, jump-none) infinite alternate; }
.kid-walk .k-leg-r { animation: legSwing .6s steps(4, jump-none) infinite alternate-reverse; }
.kid-walk .k-arm-l { animation: armSwing .6s steps(4, jump-none) infinite alternate; }
.kid-walk .k-arm-r { animation: armSwing .6s steps(4, jump-none) infinite alternate-reverse; }
.kid-walk .k-body { animation: bob .3s steps(2, jump-none) infinite alternate; }
@keyframes legSwing { from { transform: rotate(-22deg); } to { transform: rotate(18deg); } }
@keyframes armSwing { from { transform: rotate(14deg); } to { transform: rotate(-14deg); } }
@keyframes bob { to { transform: translateY(-4px); } }

.kid-wave .k-arm-r { animation: waveArm .5s ease-in-out infinite alternate; }
@keyframes waveArm { from { transform: rotate(-60deg); } to { transform: rotate(-100deg); } }

/* ==========================================================================
   Site-wide keyframe animation library
   ========================================================================== */
/* scroll scrubber: a dope-sheet timeline under the header */
.scrub { position: absolute; left: 0; right: 0; bottom: -1px; height: 7px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(18,18,18,.16) 0 1px, transparent 1px 12px); }
.scrub::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, rgba(241,90,34,.25), rgba(241,90,34,.55)); }
.scrub .head { position: absolute; top: -3px; left: calc(var(--p, 0) * 100%); width: 2px; height: 13px; background: #F15A22; translate: -1px 0; }
.scrub .head::after { content: attr(data-f); position: absolute; top: 13px; left: 4px; font: 600 9.5px/1 ui-monospace, Menlo, monospace; color: #F15A22; background: #fff; padding: 2px 4px; border-radius: 3px; white-space: nowrap; box-shadow: 0 2px 8px rgba(18,18,18,.12); opacity: 0; transition: opacity .2s; }
.is-scrolling .scrub .head::after { opacity: 1; }

/* reveal = pop with squash & stretch, staggered by --d */
.reveal { opacity: 0; transform: translateY(40px); transition: none; }
.reveal.in { animation: popIn .95s cubic-bezier(.2,.85,.25,1.15) both; animation-delay: calc(var(--d, 0) * 90ms); }
@keyframes popIn {
  0% { opacity: 0; transform: translateY(60px) scale(.97, 1.05); }
  55% { opacity: 1; transform: translateY(-8px) scale(1.01, .985); }
  78% { transform: translateY(2px) scale(.997, 1.006); }
  100% { opacity: 1; transform: none; }
}
/* images wipe in like a film reveal */
.reveal.in .media img, .reveal.in > img, .reveal.in .card-img img, .reveal.in .thumb img, .reveal.in .ph img, .gallery .reveal.in img, .reveal.in .photo img, .course-card.reveal.in img.bg {
  animation: wipe 1.1s cubic-bezier(.75,0,.2,1) both; animation-delay: calc(var(--d, 0) * 90ms + .1s);
}
.media.reveal.in img { animation: wipe 1.1s cubic-bezier(.75,0,.2,1) both; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); scale: 1.12; } to { clip-path: inset(0 0 0 0); scale: 1; } }

/* split headings: letters pop up one by one */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em 0 .22em; margin: -.12em 0 -.22em; white-space: nowrap; }
.split .ch { display: inline-block; transform: translateY(110%); transform-origin: 50% 100%; }
.split.in .ch { animation: chPop .75s cubic-bezier(.2,.9,.25,1.25) both; animation-delay: calc(var(--i) * 24ms + var(--d0, 0ms)); }
@keyframes chPop {
  0% { transform: translateY(110%) scale(1, 1.4); }
  60% { transform: translateY(-6%) scale(1.06, .9); }
  80% { transform: translateY(1%) scale(.98, 1.03); }
  100% { transform: none; }
}
.sec-head.in .eyebrow { animation: typeV .7s steps(10) both; }
@keyframes typeV { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }

/* buttons: jelly on hover */
.btn:hover { animation: jelly .6s; }
@keyframes jelly {
  0% { transform: scale(1); } 30% { transform: scale(1.1, .9); } 45% { transform: scale(.93, 1.07); }
  60% { transform: scale(1.04, .96); } 75% { transform: scale(.98, 1.02); } 100% { transform: scale(1); }
}

/* "boiling line" wiggle on hover, like redrawn frames */
.card:hover .no, .glass:hover .no, .sem:hover h3, .post-card:hover .pill { animation: boil .36s steps(3) infinite; }
@keyframes boil { 0% { transform: rotate(-2deg); } 33% { transform: rotate(2deg) translate(1px, -1px); } 66% { transform: rotate(-1deg) translate(-1px, 1px); } 100% { transform: rotate(1deg); } }
.course-card:hover .tile { animation: flipbook .6s steps(6) both; }
@keyframes flipbook { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
.svc:hover .big-no { animation: smear .45s cubic-bezier(.3,1.5,.5,1); }
@keyframes smear { 0% { transform: none; } 30% { transform: translateX(14px) skewX(-18deg) scaleX(1.2); } 100% { transform: none; } }

/* smear frames: fast scrolling skews marquees */
.marquee-track span { transform: skewX(calc(var(--smear, 0) * 1deg)); transition: transform .25s; }

/* little kid peeking out of inner page heroes */
.peek { position: absolute; z-index: 3; right: clamp(165px, 18vw, 300px); bottom: 0; width: clamp(64px, 7vw, 100px); color: #F15A22; overflow: hidden; height: clamp(80px, 9vw, 130px); pointer-events: none; }
.peek .kid { position: absolute; bottom: 0; width: 100%; animation: peek 7s cubic-bezier(.3,1.3,.5,1) infinite; animation-delay: 1.2s; }
@keyframes peek {
  0%, 8% { transform: translateY(105%); }
  16% { transform: translateY(18%) scale(1.06, .92); }
  20%, 58% { transform: translateY(22%); }
  66%, 100% { transform: translateY(105%); }
}
.peek .k-arm-r { animation: waveArm .35s ease-in-out infinite alternate; }

/* walking kids along the footer */
.walkers { position: relative; height: 64px; margin: 0 0 -6px; pointer-events: none; overflow: hidden; }
.walkers .pair { position: absolute; bottom: 0; display: flex; gap: 2px; animation: walkAcross 26s linear infinite; }
.walkers .kid { width: 46px; }
@keyframes walkAcross { from { transform: translateX(-140px); } to { transform: translateX(calc(100vw + 40px)); } }

@media (prefers-reduced-motion: reduce) {
  .split .ch { transform: none; }
  .reveal.in, .split.in .ch { animation: none; }
}

/* ==========================================================================
   v3 – logo palette, modern motion layer
   ========================================================================== */
/* crossing tape marquees under the hero */
.tapes { position: relative; height: clamp(120px, 12vw, 170px); overflow: hidden; margin-top: -10px; }
.tape { position: absolute; left: -5%; right: -5%; top: 50%; padding: 16px 0; overflow: hidden; }
.tape .marquee-track span { font: 600 clamp(16px, 1.58vw, 21px)/1.1 var(--f-head); text-transform: none; letter-spacing: 1px; display: flex; align-items: center; gap: 44px; white-space: nowrap; }
.tape .marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 34s linear infinite; }
.tape.a { background: var(--primary); color: #121212; transform: translateY(-50%) rotate(-2.4deg); z-index: 2; box-shadow: 0 10px 30px rgba(241,90,34,.35); }
.tape.b { background: #121212; color: #fff; transform: translateY(-50%) rotate(2deg); }
.tape.b .marquee-track { animation-direction: reverse; animation-duration: 40s; }
.tape.a .marquee-track span::after { content: "✦"; color: #121212; }
.tape.b .marquee-track span::after { content: "✦"; color: var(--primary); }

/* header: animated underline on nav items */
.menu > li > a { position: relative; }
.menu > li > a::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 22px; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.7,0,.2,1); }
.menu > li:hover > a::before, .menu > li.active > a::before { transform: scaleX(1); transform-origin: left; }
@media (max-width: 1180px) { .menu > li > a::before { display: none; } }

/* dark full-bleed section (used for home courses) */
.dark-sec { background: #121212; color: rgba(255,255,255,.75); position: relative; overflow: clip; }
.dark-sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 100% 0%, rgba(241,90,34,.28), transparent 60%), radial-gradient(40% 50% at 0% 100%, rgba(241,90,34,.12), transparent 60%); pointer-events: none; }
.dark-sec > * { position: relative; }
.dark-sec h2, .dark-sec h3 { color: #fff; }
.dark-sec .sec-head .eyebrow { color: var(--primary); border-color: var(--primary); }
.dark-sec .btn-outline { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.dark-sec .btn-outline:hover { background: var(--primary); box-shadow: none; }

/* cards lift + tilt (JS sets --rx/--ry) */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.tilt.tilting { transition: transform .08s linear; }
.tilt .tile, .tilt h3 { transform: translateZ(30px); }
.course-card .glare { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.18), transparent 45%); opacity: 0; transition: opacity .3s; }
.course-card:hover .glare { opacity: 1; }

/* finished reveals hand transform back to interactions */
.reveal.done { animation: none !important; opacity: 1; transform: none; }
.reveal.done.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* custom cursor (fine pointers only) */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; border-radius: 50%; opacity: 0; }
.cursor.on, .cursor-dot.on { opacity: 1; }
.cursor { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid var(--primary); display: grid; place-items: center; transition: width .3s, height .3s, margin .3s, background .3s, border-color .3s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--primary); }
.cursor span { font: 600 10px/1 var(--f-head); letter-spacing: 1px; color: #121212; opacity: 0; transition: opacity .2s; }
.cursor.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(241,90,34,.12); }
.cursor.label { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--primary); border-color: var(--primary); }
.cursor.label span { opacity: 1; }
.cursor.down { transform: scale(.8); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor #hero-canvas { cursor: none; }

/* parallax images */
[data-parallax] { will-change: translate; }
.split-grid .media, .cta-band .img, .awards .photo { overflow: hidden; border-radius: var(--radius); }
.split-grid .media img[data-parallax], .cta-band .img img[data-parallax] { scale: 1.15; }

/* panels grow in on scroll */
[data-grow] { scale: var(--g, 1); transform-origin: 50% 100%; }

/* section counter label */
.sec-head .eyebrow::before { content: attr(data-n); display: block; color: var(--navy); opacity: .35; margin-bottom: 8px; }
.on-dark .sec-head .eyebrow::before, .dark-sec .sec-head .eyebrow::before { color: #fff; }

.float-call { opacity: 0; visibility: hidden; translate: 0 20px; transition: opacity .3s, visibility .3s, translate .4s cubic-bezier(.2,1.4,.4,1); }
.float-call.show { opacity: 1; visibility: visible; translate: 0 0; }

/* ---------- Hero v4: calmer composition ---------- */
.h3::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.45) 34%, rgba(10,10,10,0) 58%); }
.h3-copy { position: absolute; z-index: 4; left: clamp(61px, 6vw, 110px); top: 50%; translate: 0 -50%; max-width: 580px; animation: hudIn .9s .25s cubic-bezier(.2,.9,.3,1.2) both; }
.h3-copy h1 { font-size: clamp(25px, 2.7vw, 46px); line-height: 1.1; color: #fff; margin: 0 0 22px; letter-spacing: -.3px; }
.h3-copy p { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.66); max-width: 430px; margin: 0 0 32px; }
.h3-copy .h3-btns { margin: 0; }
.h3-copy .btn { padding: 18px 34px; font-size: 16px; }
.h3-giant { top: auto; bottom: -3.5%; font-size: clamp(116px, 11.0vw, 210px); }
.h3-giant .g { -webkit-text-stroke-color: rgba(255,255,255,.09); }
.h3-principle { position: absolute; z-index: 4; right: clamp(35px, 4vw, 64px); bottom: clamp(48px, 6vh, 70px); border: 0; padding: 0; margin: 0; opacity: .85; animation: hudIn .8s .8s both; }
.h3-principle b { font-size: 22px; }
.h3-principle span { font-size: 13px; color: rgba(255,255,255,.7); }
@media (max-width: 760px) {
  .h3::before { background: linear-gradient(180deg, rgba(10,10,10,.8) 0%, rgba(10,10,10,0) 45%); }
  .h3-copy { top: 30px; translate: none; right: 20px; left: 20px; }
  .h3-copy h1 { font-size: 27px; margin-bottom: 14px; }
  .h3-copy p { font-size: 15px; margin-bottom: 20px; }
  .h3-copy .btn { padding: 14px 18px; font-size: 14px; flex: 1; }
  .h3-copy .h3-btns { flex-wrap: nowrap; }
  .h3-giant { bottom: 4%; top: auto; font-size: 25vw; }
  .h3-principle { display: none; }
}
.h3-giant .kid-letter { color: rgba(241,90,34,.16); filter: none; }

/* ==========================================================================
   Home banner slider – images only (text is baked into the artwork)
   ========================================================================== */
/* Same as the live site: one fixed height for every slide (607px desktop, 264px tablet, 121px phone), banners fill it */
.banner-slider { --dur: 5s; position: relative; width: 100%; height: 607px; background: #0d0d0d; overflow: hidden; isolation: isolate; }
@media (max-width: 1024px) { .banner-slider { height: 264px; } }
@media (max-width: 767px) { .banner-slider { height: 121px; } }
.bs-track { position: absolute; inset: 0; touch-action: pan-y; }
.bs-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.bs-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }
.bs-slide.is-leaving { opacity: 1; visibility: visible; transition: none; z-index: 0; }
/* each banner is shown full width; the slider height follows the active image */
.bs-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bs-slide.is-active .bs-img { animation: bsIn 1.1s cubic-bezier(.7,0,.2,1) both, bsZoom var(--dur) linear both; }
@keyframes bsIn { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@keyframes bsZoom { from { scale: 1.02; } to { scale: 1; } }

.bs-nav { position: absolute; z-index: 3; top: 50%; translate: 0 -50%; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(18,18,18,.35); backdrop-filter: blur(8px); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .3s, background .25s, border-color .25s; }
.bs-nav svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bs-nav.prev { left: clamp(22px, 2.5vw, 40px); } .bs-nav.next { right: clamp(22px, 2.5vw, 40px); }
.banner-slider:hover .bs-nav, .bs-nav:focus-visible { opacity: 1; }
.bs-nav:hover { background: var(--primary); border-color: var(--primary); }

.bs-dots { position: absolute; z-index: 3; left: 50%; bottom: clamp(16px, 2.4vw, 28px); translate: -50% 0; display: flex; gap: 8px; padding: 8px 12px; border-radius: 30px; background: rgba(18,18,18,.35); backdrop-filter: blur(8px); }
.bs-dots button { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.3); cursor: pointer; overflow: hidden; position: relative; }
.bs-dots button i { position: absolute; inset: 0; background: var(--primary); transform: scaleX(0); transform-origin: left; }
.bs-dots button.on i { animation: bsProgress var(--dur) linear forwards; }

@keyframes bsProgress { to { transform: scaleX(1); } }

@media (max-width: 760px) {
  .bs-nav { display: none; }
  .bs-dots { padding: 6px 10px; } .bs-dots button { width: 22px; }
}

/* 3D kids section now sits below the slider */
.stage .h3 { height: clamp(600px, 86vh, 860px); }

/* home: the about heading is the page H1 (same as the live site) */
.sec-head h1 { font-size: clamp(20px, 2.6vw, 36px); text-transform: none; margin: 0; }
/* cursor: hide the centre dot while a label is shown */
.cursor.label ~ .cursor-dot, .cursor-dot.hide { opacity: 0 !important; }

/* ---------- Home intro: copy left, counseling form right ---------- */
.intro-sec { padding-top: clamp(56px, 7vw, 100px); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(44px, 5vw, 80px); align-items: start; }
.pill-label { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--f-body); letter-spacing: 1.4px; text-transform: none; color: var(--primary); background: var(--soft); padding: 9px 14px; border-radius: 30px; margin-bottom: 22px; }
.pill-label .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-label.light { background: rgba(255,255,255,.1); color: #FFB38E; }
.intro-copy h1 { font-size: clamp(20px, 2.44vw, 33px); line-height: 1.1; margin: 0 0 22px; max-width: 620px; }
.lead-prose { font-size: 17.5px; color: var(--text); max-width: 600px; }
.studio-note { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; margin: 30px 0 34px; padding: 24px 0 0; border-top: 1px solid var(--line); max-width: 600px; }
.studio-note .yr { font: 600 27px/1.1 var(--f-head); color: var(--primary); }
.studio-note h3 { font-size: 17px; margin: 0 0 8px; }
.studio-note .prose { font-size: 16px; color: var(--muted); }
.studio-note .prose p { margin: 0; }
.intro-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.intro-phone { display: flex; flex-direction: column; gap: 4px; font: 600 19px/1 var(--f-head); color: var(--navy); letter-spacing: .3px; }
.intro-phone span { font: 500 12px/1 var(--f-body); letter-spacing: 1px; text-transform: none; color: var(--muted); }
.intro-phone:hover { color: var(--primary); }

.intro-form { background: var(--dark-grad); color: rgba(255,255,255,.75); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); box-shadow: 0 30px 70px rgba(18,18,18,.18); position: sticky; top: 110px; }
.intro-form h2 { color: #fff; font-size: clamp(17px, 1.62vw, 23px); margin: 0 0 10px; }
.intro-form > p { font-size: 15px; margin: 0 0 24px; color: rgba(255,255,255,.7); }
.intro-form .form label { color: rgba(255,255,255,.8); }
.intro-form .form input, .intro-form .form select, .intro-form .form textarea { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.intro-form .form select option { color: #121212; }
.intro-form .form input::placeholder, .intro-form .form textarea::placeholder { color: rgba(255,255,255,.4); }
.intro-form .form input:focus, .intro-form .form select:focus, .intro-form .form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(241,90,34,.2); }
.intro-form .form textarea { min-height: 90px; }
.intro-form .btn { width: 100%; }

.featured-video { grid-column: 1 / -1; }

@media (max-width: 960px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-form { position: static; }
}

/* ==========================================================================
   Home courses: pinned stacked cards (GSAP on desktop, CSS sticky stack on phones)
   ========================================================================== */
.courses-stack { padding: clamp(80px, 10vw, 130px) 0; }
.cs-wrap { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(44px, 5vw, 80px); align-items: start; }
.cs-side h2 { color: #fff; font-size: clamp(23px, 2.7vw, 42px); margin: 0 0 18px; }
.cs-side > p { color: rgba(255,255,255,.65); font-size: 16.5px; max-width: 380px; margin: 0 0 30px; }
.cs-meter { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; max-width: 380px; }
.cs-count { font: 600 15px/1 var(--f-head); color: rgba(255,255,255,.45); letter-spacing: 1px; white-space: nowrap; }
.cs-count b { font-weight: 400; font-size: 26px; color: var(--primary); vertical-align: -6px; }
.cs-progress { flex: 1; height: 2px; background: rgba(255,255,255,.14); position: relative; overflow: hidden; }
.cs-progress i { position: absolute; inset: 0; background: var(--primary); transform: scaleX(0); transform-origin: left; }
.cs-list { list-style: none; counter-reset: cs; margin: 0 0 30px; padding: 0; max-width: 440px; }
.cs-list li { counter-increment: cs; border-bottom: 1px solid rgba(255,255,255,.08); }
.cs-list a { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; color: rgba(255,255,255,.45); font-size: 15px; transition: color .3s, padding .3s; }
.cs-list a::before { content: counter(cs, decimal-leading-zero); font: 600 12px/1 var(--f-head); letter-spacing: 1px; color: rgba(255,255,255,.3); }
.cs-list li.on a, .cs-list a:hover { color: #fff; padding-left: 8px; }
.cs-list li.on a::before { color: var(--primary); }

.cs-card { position: relative; border-radius: var(--radius); overflow: hidden; background: #1c1a19; color: #fff; height: min(70vh, 600px); box-shadow: 0 -20px 60px rgba(0,0,0,.45); transform-origin: 50% 0; will-change: transform; }
.cs-media { position: absolute; inset: 0; overflow: hidden; }
.cs-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.cs-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,12,.55) 0%, rgba(12,12,12,0) 35%, rgba(12,12,12,.2) 55%, rgba(12,12,12,.9) 100%); pointer-events: none; }
.cs-body { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(22px, 3vw, 36px); }
.cs-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cs-top .tile { width: 60px; height: 60px; border-radius: 14px; background: var(--primary); display: grid; place-items: center; font: 600 17px/1 var(--f-head); }
.cs-body h3 { margin: auto 0 14px; font-size: clamp(17px, 2.0vw, 30px); line-height: 1.1; max-width: 640px; }
.cs-body h3 a { color: #fff; }
.cs-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.cs-foot p { margin: 0; color: rgba(255,255,255,.8); font-size: 16px; max-width: 380px; }
.cs-foot .btn { flex: 0 0 auto; }

/* no-JS / phones: cards stack with CSS sticky */
.cs-stage { display: grid; gap: 22px; }
.cs-stage .cs-card { position: sticky; top: calc(110px + var(--i) * 14px); }

/* desktop with GSAP: the section pins and cards layer in one place */
.courses-stack.is-pinned { height: calc(100vh - 84px); padding: clamp(110px, 15vh, 150px) 0 clamp(64px, 9vh, 100px); display: flex; align-items: center; }
.courses-stack.is-pinned .cs-wrap { align-items: center; width: 100%; }
.courses-stack.is-pinned .cs-stage { display: block; position: relative; height: min(calc(100vh - 84px - clamp(110px, 15vh, 150px) - clamp(64px, 9vh, 100px)), 540px); }
.courses-stack.is-pinned .cs-card { position: absolute; inset: 0; top: 0; height: auto; }

@media (max-width: 960px) {
  .cs-wrap { grid-template-columns: 1fr; }
  .cs-list, .cs-meter { display: none; }
  .cs-card { height: 460px; }
  .cs-stage .cs-card { top: calc(96px + var(--i) * 10px); }
}
@media (max-width: 560px) {
  .cs-card { height: 400px; }
  .cs-foot { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Home: placements wall of fame
   ========================================================================== */
.placements-wall { padding: clamp(80px, 10vw, 130px) 0 clamp(70px, 8vw, 110px); background: #fff; position: relative; overflow: clip; }
.placements-wall::before { content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 500px; translate: -50% -55%; background: radial-gradient(closest-side, rgba(241,90,34,.12), transparent); pointer-events: none; }
.pw-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(44px, 5vw, 80px); align-items: end; margin-bottom: clamp(44px, 5vw, 70px); }
.pw-head h2 { font-size: clamp(23px, 2.7vw, 42px); line-height: 1.1; margin: 0 0 18px; }
.pw-head h2 span { color: var(--primary); display: block; }
.pw-head p { font-size: 17px; color: var(--muted); max-width: 520px; margin: 0; }
.pw-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pw-stats li { padding: 24px 20px; border-right: 1px solid var(--line); }
.pw-stats li:last-child { border-right: 0; }
.pw-stats b { font: 600 clamp(23px, 2.32vw, 33px)/1.1 var(--f-head); color: var(--navy); font-weight: 400; }
.pw-stats i { font: 400 24px/1 var(--f-body); font-style: normal; color: var(--primary); margin-left: 2px; vertical-align: top; }
.pw-stats span { display: block; margin-top: 10px; font-size: 13.5px; line-height: 1.3; color: var(--muted); }

.pw-rows { display: grid; gap: 16px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pw-row { overflow: hidden; }
.pw-track { display: flex; gap: 16px; width: max-content; padding: 8px 0; animation: marquee 70s linear infinite; }
.pw-row.rev .pw-track { animation-direction: reverse; animation-duration: 80s; }
.pw-row:hover .pw-track { animation-play-state: paused; }
.pw-dup { display: contents; }
.pw-card { display: flex; align-items: center; gap: 14px; padding: 10px 26px 10px 10px; background: #fff; border: 1px solid var(--line); border-radius: 100px; min-width: 300px; max-width: 380px; transition: border-color .3s, box-shadow .3s, translate .3s; }
.pw-card:hover { border-color: var(--primary); box-shadow: 0 14px 34px rgba(241,90,34,.16); translate: 0 -4px; }
.pw-ava { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--soft); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); transition: box-shadow .3s; }
.pw-card:hover .pw-ava { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--primary); }
.pw-ava img { width: 100%; height: 100%; object-fit: cover; scale: 1.08; }
.pw-info { display: flex; flex-direction: column; min-width: 0; }
.pw-info strong { font: 600 16px/1.1 var(--f-head); color: var(--navy); letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-co { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 14px; font-weight: 600; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-co::before { content: ""; flex: 0 0 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pw-meta { margin-top: 3px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-meta:empty { display: none; }

.pw-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; margin-top: clamp(44px, 5vw, 70px); padding-top: 34px; border-top: 1px solid var(--line); }
.pw-logos { display: flex; align-items: center; gap: 28px; min-width: 0; }
.pw-label { flex: 0 0 auto; font: 600 12px/1.3 var(--f-body); letter-spacing: 1.4px; text-transform: none; color: var(--muted); max-width: 90px; }
.pw-logos .logo-strip { flex: 1; min-width: 0; }
.pw-logos .logo-strip img { height: 40px; }
.pw-cta { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .pw-head { grid-template-columns: 1fr; align-items: start; }
  .pw-foot { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pw-stats li { padding: 18px 12px; }
  .pw-stats span { font-size: 12px; }
  .pw-card { min-width: 250px; padding-right: 18px; }
  .pw-ava { flex-basis: 52px; width: 52px; height: 52px; }
  .pw-logos { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pw-label { max-width: none; }
  .pw-cta .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .pw-row { overflow-x: auto; } }

/* ==========================================================================
   Home: full-width "Leading Academy" video section
   ========================================================================== */
.lead-video { position: relative; overflow: clip; isolation: isolate; color: rgba(255,255,255,.78); padding: clamp(80px, 10vw, 140px) 0; background: #0f0d0c; }
.lv-bg { position: absolute; inset: -40px; z-index: -3; background-size: cover; background-position: center; filter: blur(28px) saturate(1.1); opacity: .45; transform: scale(1.1); }
.lead-video::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(100deg, rgba(12,11,10,.96) 0%, rgba(12,11,10,.82) 38%, rgba(160,52,14,.78) 72%, rgba(241,90,34,.92) 100%); }
.lv-dots { position: absolute; z-index: -1; right: -6%; top: -20%; width: 62%; height: 140%;
  background-image: radial-gradient(rgba(255,255,255,.22) 1.6px, transparent 1.8px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 75%); mask-image: radial-gradient(closest-side, #000 20%, transparent 75%);
  animation: dotsDrift 24s linear infinite; }
@keyframes dotsDrift { to { background-position: 180px 90px; } }
.lv-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(53px, 6vw, 96px); align-items: center; }
.lv-player { aspect-ratio: 16 / 9; border-radius: var(--radius); box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); }
.lv-player img { opacity: 1; }
.lv-player::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 45%); pointer-events: none; }
.lv-player .play { width: 96px; height: 96px; z-index: 1; }
.lv-player .play::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(241,90,34,.6); animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.lv-tag { position: absolute; z-index: 1; left: 20px; bottom: 18px; font: 600 13px/1 var(--f-body); color: #fff; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); padding: 9px 14px; border-radius: 30px; }
.lv-player iframe { z-index: 2; }
.lv-copy h2 { color: #fff; font-size: clamp(19px, 2.2vw, 33px); line-height: 1.1; margin: 0 0 20px; }
.lv-copy > p { font-size: 17.5px; color: rgba(255,255,255,.8); max-width: 520px; margin: 0 0 28px; }
.lv-quote { display: flex; gap: 14px; align-items: center; padding: 18px 0; margin-bottom: 30px; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); max-width: 520px; }
.lv-q { font: 600 32px/1.1 var(--f-head); color: var(--primary); height: 30px; }
.lv-quote strong { display: block; color: #fff; font: 600 17px/1.1 var(--f-head); letter-spacing: .3px; }
.lv-quote span { font-size: 14px; color: rgba(255,255,255,.65); }
.lv-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 960px) {
  .lv-grid { grid-template-columns: 1fr; }
  .lead-video::before { background: linear-gradient(180deg, rgba(12,11,10,.95) 0%, rgba(12,11,10,.8) 50%, rgba(200,70,20,.85) 100%); }
  .lv-dots { width: 100%; right: -30%; }
}
@media (max-width: 560px) { .lv-actions .btn { flex: 1; } .lv-player .play { width: 72px; height: 72px; } .lv-tag { font-size: 11.5px; } }

.btn-dark { background: #121212; color: #fff; }
.btn-dark:hover { background: #fff; color: #121212; }
.lv-q { font-size: 45px; height: 40px; }

/* ==========================================================================
   Home lower sections – modern layout (steps, bento, legacy, media, blog, apply)
   ========================================================================== */
.mh { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px 60px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 60px); }
.mh h2 { font-size: clamp(21px, 2.5vw, 38px); line-height: 1.1; margin: 0; }
.mh-side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.mh-side p { margin: 0; font-size: 16.5px; color: var(--muted); max-width: 440px; }
.mh-dark h2 { color: #fff; } .mh-dark .mh-side p { color: rgba(255,255,255,.65); }
@media (max-width: 860px) { .mh { grid-template-columns: 1fr; align-items: start; } }

/* steps */
.hl-steps { padding: clamp(80px, 9vw, 130px) 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); position: relative; padding: 0; margin: 0; }
.steps::before { content: ""; position: absolute; left: 30px; right: 30px; top: 30px; height: 2px; background: repeating-linear-gradient(90deg, var(--primary) 0 10px, transparent 10px 18px); opacity: .45; }
.step { position: relative; }
.step-no { position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); color: var(--primary); font: 600 19px/1 var(--f-head); margin-bottom: 28px; transition: background .3s, color .3s, transform .3s; }
.step:hover .step-no { background: var(--primary); color: #fff; transform: scale(1.08); }
.step h3 { font-size: clamp(17px, 1.66vw, 23px); margin: 0 0 10px; }
.step p { font-size: 16px; color: var(--muted); margin: 0 0 16px; max-width: 340px; }
.step-link { font: 600 14px/1 var(--f-head); letter-spacing: .6px; text-transform: none; color: var(--primary); }
.step-link span { display: inline-block; transition: transform .25s; }
.step-link:hover span { transform: translateX(5px); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { left: 29px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--primary) 0 10px, transparent 10px 18px); }
  .step { padding-left: 84px; } .step-no { position: absolute; left: 0; top: 0; margin: 0; }
}

/* bento */
.hl-bento { padding: clamp(80px, 9vw, 130px) 0; background: var(--soft); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.bt-photo { grid-column: span 2; grid-row: span 2; position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 440px; }
.bt-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.bt-photo:hover img { transform: scale(1.04); }
.bt-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,12,12,.8), transparent 55%); }
.bt-photo figcaption { position: absolute; z-index: 1; left: 26px; bottom: 24px; display: flex; flex-direction: column; gap: 6px; color: rgba(255,255,255,.8); font-size: 15px; }
.bt-photo figcaption .pill { align-self: flex-start; }
.bt-photo figcaption strong { color: #fff; font: 600 22px/1.1 var(--f-head); }
.bt-tile { background: #fff; border-radius: var(--radius); padding: 26px 24px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s; }
.bt-tile:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(18,18,18,.08); border-color: transparent; }
.bt-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; margin-bottom: 18px; }
.bt-ico img { width: 30px; height: 30px; object-fit: contain; }
.bt-tile h3 { font-size: 22px; margin: 0 0 8px; }
.bt-tile p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.bt-stat { background: #121212; border-color: #121212; color: #fff; justify-content: flex-end; }
.bt-stat b { font: 600 32px/1.1 var(--f-head); color: #fff; font-weight: 400; }
.bt-stat i { font: 400 30px/1 var(--f-body); color: var(--primary); font-style: normal; position: absolute; margin: 4px 0 0 6px; }
.bt-stat > b + i { position: static; display: inline; }
.bt-stat p { color: rgba(255,255,255,.7); margin-top: 10px; }
.bt-cta { background: var(--primary); border-color: var(--primary); color: #fff; position: relative; }
.bt-cta h3 { color: #fff; } .bt-cta p { color: rgba(255,255,255,.85); }
.bt-arrow { position: absolute; right: 22px; bottom: 18px; font: 400 34px/1 var(--f-body); transition: transform .3s; }
.bt-cta:hover .bt-arrow { transform: translateX(6px); }
@media (max-width: 1100px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bt-photo { grid-column: auto; grid-row: auto; min-height: 300px; } }

/* legacy */
.hl-legacy { padding: clamp(80px, 9vw, 130px) 0; }
.lg-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(50px, 6vw, 90px); align-items: start; }
.lg-side { position: sticky; top: 120px; }
.lg-side h2 { color: #fff; font-size: clamp(21px, 2.5vw, 38px); line-height: 1.1; margin: 0 0 20px; }
.lg-intro { color: rgba(255,255,255,.7); font-size: 16.5px; max-width: 460px; }
.lg-photo { margin: 30px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.lg-photo img { width: 100%; height: 100%; object-fit: cover; }
.lg-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.lg-list li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.12); position: relative; transition: padding .35s; }
.lg-list li::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.7,0,.2,1); }
.lg-list li:hover::before { transform: scaleX(1); }
.lg-list li:hover { padding-left: 10px; }
.lg-no { font: 600 22px/1.1 var(--f-head); color: rgba(255,255,255,.25); transition: color .3s; }
.lg-list li:hover .lg-no { color: var(--primary); }
.lg-list h3 { color: #fff; font-size: clamp(16px, 1.44vw, 20px); margin: 0 0 8px; }
.lg-yr { display: inline-block; vertical-align: middle; font: 600 12px/1 var(--f-body); letter-spacing: 1px; color: #121212; background: var(--primary); padding: 6px 9px; border-radius: 20px; margin-left: 6px; }
.lg-list p { margin: 0; color: rgba(255,255,255,.65); font-size: 15.5px; }
@media (max-width: 960px) { .lg-grid { grid-template-columns: 1fr; } .lg-side { position: static; } }

/* media */
.hl-media { padding: clamp(80px, 9vw, 130px) 0; }
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.media-grid .mg-feat { grid-column: span 2; grid-row: span 2; }
.media-grid .mg-feat .yt { height: 100%; aspect-ratio: auto; min-height: 100%; }
.media-grid .yt { border-radius: 18px; }
.media-grid > div:not(.mg-feat) .play { width: 56px; height: 56px; box-shadow: 0 0 0 8px rgba(241,90,34,.3); }
.media-grid > div:not(.mg-feat) .play::after { border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }
@media (max-width: 960px) { .media-grid { grid-template-columns: repeat(2, 1fr); } .media-grid .mg-feat { grid-column: span 2; grid-row: auto; } .media-grid .mg-feat .yt { aspect-ratio: 16 / 9; } }

/* blog */
.hl-blog { padding: clamp(80px, 9vw, 130px) 0; background: var(--soft); }

/* apply */
.hl-apply { padding: clamp(80px, 9vw, 130px) 0; position: relative; overflow: clip; color: #fff;
  background: radial-gradient(60% 90% at 100% 0%, #ff8a4c 0%, transparent 60%), linear-gradient(120deg, #D9481A 0%, #F15A22 55%, #ff7a3d 100%); }
.hl-apply::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1.4px, transparent 1.6px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); mask-image: linear-gradient(90deg, #000, transparent 60%); pointer-events: none; }
.ap-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(50px, 6vw, 90px); align-items: center; }
.ap-pill { background: rgba(255,255,255,.18); color: #fff; }
.ap-copy h2 { color: #fff; font-size: clamp(21px, 2.5vw, 39px); line-height: 1.1; margin: 0 0 20px; }
.ap-copy p { color: rgba(255,255,255,.9); font-size: 17.5px; max-width: 480px; margin: 0 0 30px; }
.ap-phone { display: inline-flex; flex-direction: column; gap: 6px; color: #fff; font: 600 24px/1.1 var(--f-head); }
.ap-phone span { font: 600 12px/1 var(--f-body); letter-spacing: 1.2px; text-transform: none; color: rgba(255,255,255,.75); }
.ap-phone:hover { color: #121212; }
.ap-form { background: #fff; color: var(--text); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); box-shadow: 0 40px 80px rgba(80,20,0,.3); }
.ap-form h3 { font-size: 22px; margin: 0 0 18px; }
.ap-form .btn { width: 100%; }
.ap-form .form textarea { min-height: 90px; }
@media (max-width: 900px) { .ap-grid { grid-template-columns: 1fr; } }

/* Footer: full-bleed dark band, content aligned to the site container */
.site-footer { padding: 0; }
.site-footer .walkers { margin: 40px 0 -6px; }
.footer-panel { border-radius: 0; clip-path: none; padding: clamp(64px, 8vw, 110px) 0 28px; }
.footer-panel .footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; }

/* recruiters as its own section (live order) + single-column apply band */
.hl-recruiters { padding: clamp(70px, 8vw, 110px) 0; }
.hl-recruiters .mh { margin-bottom: 36px; }
.hl-recruiters .logo-strip img { height: 52px; }
.ap-solo { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ap-solo h2 { color: #fff; font-size: clamp(24px, 2.8vw, 44px); line-height: 1.1; margin: 0 0 18px; max-width: 980px; }
.ap-solo p { color: rgba(255,255,255,.9); font-size: 18px; margin: 0 0 30px; }
.pw-head-cta { justify-self: end; }
@media (max-width: 960px) { .pw-head-cta { justify-self: start; } }

/* ==========================================================================
   Home: "Join the Digiquest Family" – 3D enrollment journey
   ========================================================================== */
.join3d { position: relative; overflow: clip; isolation: isolate; color: rgba(255,255,255,.75); padding: clamp(80px, 9vw, 130px) 0 clamp(70px, 8vw, 110px);
  background: radial-gradient(60% 70% at 50% 45%, rgba(241,90,34,.22), transparent 70%), radial-gradient(40% 60% at 100% 0%, rgba(241,90,34,.18), transparent 70%), #0e0d0c; }
.join3d::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent);
  animation: gridDrift 30s linear infinite; }
@keyframes gridDrift { to { background-position: 64px 64px, 64px 64px; } }
.join3d .mh { margin-bottom: 10px; }

.j3-stage { position: relative; height: clamp(300px, 34vw, 430px); margin: 0 calc(var(--gutter) * -1); }
.j3-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s; }
.join3d.j3-ready .j3-canvas { opacity: 1; }
.j3-fallback { position: absolute; inset: 0; display: flex; justify-content: space-around; align-items: center; transition: opacity .6s; }
.j3-fallback span { width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(241,90,34,.8), rgba(241,90,34,0) 70%); animation: pulseDot 2.4s ease-in-out infinite; }
.join3d.j3-ready .j3-fallback { opacity: 0; visibility: hidden; }

.j3-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1; }
.j3-step { position: relative; padding: 30px 28px 30px; border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .8s cubic-bezier(.2,.9,.25,1.2), opacity .6s, border-color .6s, background .6s, box-shadow .6s; }
.join3d.j3-anim .j3-step:not(.on) { transform: translateY(18px); opacity: .72; }
.j3-step::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,140,80,.22) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
.j3-step.on { transform: none; opacity: 1; border-color: rgba(241,90,34,.55); background: rgba(241,90,34,.07); box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(241,90,34,.15), 0 0 40px rgba(241,90,34,.18); }
.j3-step.on::before { animation: sweep 1.2s .1s ease-out; }
@keyframes sweep { to { transform: translateX(120%); } }
.j3-no { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 22px; perspective: 300px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .5s, border-color .5s; }
.j3-no span { font: 600 19px/1 var(--f-head); color: rgba(255,255,255,.5); transition: color .5s; }
.j3-step.on .j3-no { background: var(--primary); border-color: var(--primary); }
.j3-step.on .j3-no span { color: #fff; animation: flipNo .6s steps(6) both; }
@keyframes flipNo { from { transform: rotateX(-90deg); } to { transform: none; } }
.j3-step h3 { color: #fff; font-size: clamp(17px, 1.58vw, 23px); margin: 0 0 10px; }
.j3-step p { color: rgba(255,255,255,.65); font-size: 15.5px; margin: 0 0 18px; }
.j3-step h3, .j3-step p, .j3-step .step-link { transition: transform .7s, opacity .7s; }
.join3d.j3-anim .j3-step:not(.on) :is(h3, p, .step-link) { transform: translateY(8px); opacity: .8; }
.j3-step.on h3 { transform: none; opacity: 1; transition-delay: .1s; }
.j3-step.on p { transform: none; opacity: 1; transition-delay: .2s; }
.j3-step.on .step-link { transform: none; opacity: 1; transition-delay: .3s; }
.join3d .j3-step.on:hover { transform: translateY(-6px); }
.join3d .step-link { color: #FF8A4C; }

/* no WebGL / reduced motion: everything lit */
.join3d.j3-static .j3-step, .join3d.j3-static .j3-step * { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .j3-step, .j3-step * { opacity: 1 !important; transform: none !important; } }

@media (max-width: 860px) {
  .j3-steps { grid-template-columns: 1fr; }
  .j3-stage { height: 240px; }
}

/* desktop: the journey section is pinned, so everything fits one screen */
.join3d.j3-pinned { height: calc(100vh - 84px); padding: clamp(22px, 3.5vh, 44px) 0 clamp(34px, 5vh, 60px); display: flex; align-items: stretch; }
.join3d.j3-pinned > .container { display: flex; flex-direction: column; width: 100%; }
.join3d.j3-pinned .mh { margin-bottom: 0; align-items: end; }
.join3d.j3-pinned .mh h2 { font-size: clamp(18px, 2.1vw, 32px); }
.join3d.j3-pinned .mh .pill-label { margin-bottom: 12px; }
.join3d.j3-pinned .j3-stage { flex: 1 1 auto; height: auto; min-height: 190px; }
.join3d.j3-pinned .j3-step { padding: 22px 24px; }
.join3d.j3-pinned .j3-no { width: 46px; height: 46px; margin-bottom: 14px; }
.join3d.j3-pinned .j3-step h3 { font-size: clamp(16px, 1.37vw, 20px); margin-bottom: 6px; }
.join3d.j3-pinned .j3-step p { font-size: 14.5px; margin-bottom: 12px; }

/* WhatsApp quick contact, stacked above Call Us */
.float-call.float-wa { bottom: 152px; background: #1FAF54; box-shadow: 0 10px 30px rgba(31,175,84,.4); animation: none; }
.float-call.float-wa:hover { background: #17924A; }
@media (max-width: 600px) { .float-call.float-wa { bottom: 150px; } }

/* Course key facts (course pages) */
.facts-sec { position: relative; z-index: 3; padding-top: 36px; }
.facts-bar { display: flex; align-items: center; gap: 28px; background: #fff; border-radius: var(--radius); padding: 22px 28px; box-shadow: 0 24px 60px rgba(18,18,18,.12); border-top: 4px solid var(--accent); }
.facts-bar dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px 28px; margin: 0; flex: 1; }
.facts-bar dl > div { padding-left: 14px; border-left: 2px solid rgba(241,90,34,.35); }
.facts-bar dt { font-size: 12px; letter-spacing: 1.4px; text-transform: none; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.facts-bar dd { margin: 0; font: 600 19px/1.15 var(--f-head); color: var(--ink, #121212); text-transform: none; letter-spacing: .3px; }
.facts-bar .btn { flex: none; }
@media (max-width: 900px) {
  .facts-sec { padding-top: 24px; }
  .facts-bar { flex-direction: column; align-items: stretch; padding: 20px; gap: 18px; }
  .facts-bar dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .facts-bar dd { font-size: 18px; }
}
/* duration chip on course cards */
.pill.dur { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); margin-left: 4px; }
/* sticky course enquiry button */
.sticky-enquire { position: fixed; left: 50%; bottom: 22px; z-index: 89; translate: -50% 30px; opacity: 0; visibility: hidden; display: inline-flex; align-items: center; gap: 10px; background: var(--ink, #121212); color: #fff; padding: 15px 26px; border-radius: 40px; font: 600 15px/1 var(--f-head); letter-spacing: .6px; text-transform: none; box-shadow: 0 14px 34px rgba(0,0,0,.3); transition: opacity .3s, visibility .3s, translate .4s cubic-bezier(.2,1.4,.4,1); }
.sticky-enquire span { color: var(--accent); }
.sticky-enquire:hover { color: #fff; background: var(--accent); }
.sticky-enquire:hover span { color: #fff; }
.sticky-enquire.show { opacity: 1; visibility: visible; translate: -50% 0; }
@media (max-width: 600px) { .sticky-enquire { left: 16px; right: 84px; translate: 0 30px; justify-content: center; padding: 15px 16px; font-size: 14px; } .sticky-enquire.show { translate: 0 0; } }

/* ==========================================================================
   Course landing pages (templates/course.php)
   ========================================================================== */
.cx-hero { position: relative; overflow: clip; background: var(--dark-grad); color: #fff; padding: clamp(46px, 6vw, 84px) 0 clamp(61px, 7vw, 110px); }
.cx-grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(80% 80% at 70% 30%, #000 20%, transparent 75%); animation: cxGrid 24s linear infinite; }
@keyframes cxGrid { to { background-position: 64px 64px, 64px 64px; } }
.cx-hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(44px, 5vw, 80px); align-items: center; }
.cx-hero .crumbs { margin: 0 0 26px; padding: 0; }
.cx-hero .crumbs, .cx-hero .crumbs a { color: rgba(255,255,255,.62); }
.cx-hero .crumbs a:hover { color: #fff; }
.cx-hero h1 { color: #fff; font-size: clamp(31px, 3.7vw, 56px); line-height: 1.1; margin: 18px 0 18px; letter-spacing: .5px; text-wrap: balance; }
.cx-sub { font-size: clamp(17px, 1.5vw, 21px); color: rgba(255,255,255,.75); max-width: 520px; margin: 0 0 30px; }
.cx-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.cx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; margin: 40px 0 0; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); max-width: 640px; }
.cx-facts > div { background: rgba(18,18,18,.55); backdrop-filter: blur(10px); padding: 16px 18px; }
.cx-facts dt { font-size: 11.5px; letter-spacing: 1.4px; text-transform: none; color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.cx-facts dd { margin: 0; font: 600 16px/1.15 var(--f-head); text-transform: none; letter-spacing: .3px; color: #fff; }
.cx-in { opacity: 0; translate: 0 26px; animation: cxRise .9s var(--d, 0s) cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes cxRise { to { opacity: 1; translate: 0 0; } }

.cx-visual { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; justify-self: end; width: 100%; }
.cx-frame { position: absolute; inset: 7% 4% 7% 10%; margin: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.5); rotate: 3deg; transition: rotate .6s; }
.cx-visual:hover .cx-frame { rotate: 0deg; }
.cx-frame img { width: 100%; height: 100%; object-fit: cover; scale: 1.06; animation: cxKen 14s ease-in-out infinite alternate; }
@keyframes cxKen { to { scale: 1.16; translate: -2% -2%; } }
.cx-orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(241,90,34,.55); animation: cxSpin 40s linear infinite; }
.cx-orbit::before, .cx-orbit::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 24px 6px rgba(241,90,34,.6); }
.cx-orbit::before { top: 12%; left: 12%; }
.cx-orbit::after { bottom: 6%; right: 26%; width: 9px; height: 9px; background: #fff; box-shadow: 0 0 18px 4px rgba(255,255,255,.5); }
@keyframes cxSpin { to { rotate: 360deg; } }
.cx-badge { position: absolute; left: 0; bottom: 12%; background: var(--primary); color: #fff; border-radius: 20px; padding: 18px 22px; display: flex; align-items: center; gap: 12px; box-shadow: 0 20px 44px rgba(241,90,34,.45); animation: cxBob 5s ease-in-out infinite; }
.cx-badge strong { font: 600 32px/1.1 var(--f-head); }
.cx-badge span { font: 600 15px/1.1 var(--f-head); text-transform: none; letter-spacing: .6px; max-width: 90px; }
@keyframes cxBob { 50% { translate: 0 -10px; } }

/* sticky in-page nav */
.cx-nav { position: sticky; top: var(--hh, 84px); z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.cx-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cx-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.cx-nav ul::-webkit-scrollbar { display: none; }
.cx-nav a:not(.btn) { position: relative; display: block; padding: 20px 16px; font: 600 14px/1 var(--f-head); letter-spacing: .8px; text-transform: none; color: var(--navy); white-space: nowrap; }
.cx-nav a:not(.btn)::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px; background: var(--primary); scale: 0 1; transition: scale .35s; }
.cx-nav a.on, .cx-nav a:not(.btn):hover { color: var(--primary); }
.cx-nav a.on::after { scale: 1 1; }
.cx-nav .btn { flex: none; }
.course-page [id] { scroll-margin-top: 150px; }

.cx-sec { padding: clamp(66px, 8vw, 120px) 0; }
.cx-head .eyebrow { display: inline-block; margin-bottom: 12px; }
.cx-head h2 { font-size: clamp(19px, 2.3vw, 34px); line-height: 1.1; margin: 0 0 36px; text-wrap: balance; }
.cx-head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.cx-head-row h2 { margin: 0; }

.cx-ov-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(44px, 5vw, 80px); align-items: start; }
.cx-ov-grid .cx-head { position: sticky; top: 170px; }
.cx-prose { font-size: 17.5px; }
.cx-prose > p:first-child { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: var(--navy); }
.cx-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* curriculum */
.cx-curr { background: var(--dark-grad); color: #fff; border-radius: clamp(26px, 4vw, 48px); margin: 0 var(--gutter); }
.cx-curr h2 { color: #fff; }
.cx-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 40px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.cx-tabs button { border: 0; background: none; color: rgba(255,255,255,.7); font: 600 14px/1 var(--f-head); letter-spacing: .8px; text-transform: none; padding: 13px 20px; border-radius: 30px; cursor: pointer; transition: background .3s, color .3s; }
.cx-tabs button:hover { color: #fff; }
.cx-tabs button.on { background: var(--primary); color: #fff; }
.cx-panels.is-tabbed.js-on .cx-panel:not(.on) { display: none; }
.cx-panels.is-tabbed .cx-panel + .cx-panel { margin-top: 40px; }
.cx-panels.is-tabbed.js-on .cx-panel + .cx-panel { margin-top: 0; }
.cx-panel.on { animation: cxFade .5s ease; }
@keyframes cxFade { from { opacity: 0; translate: 0 14px; } }
.cx-year-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font: 600 clamp(16px, 1.44vw, 18px)/1.2 var(--f-head); text-transform: none; letter-spacing: .4px; margin: 0 0 24px; color: #fff; }
.cx-year-title span { font-size: 13px; letter-spacing: 1.4px; padding: 7px 12px; border-radius: 20px; background: rgba(241,90,34,.2); color: #FF9A6E; }
.cx-sems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cx-sem { position: relative; overflow: hidden; padding: clamp(26px, 3vw, 40px); border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: border-color .4s, background .4s, translate .4s; }
.cx-sem:hover { border-color: rgba(241,90,34,.55); background: rgba(241,90,34,.07); translate: 0 -4px; }
.cx-roman { position: absolute; right: 18px; top: -18px; font: 600 75px/1.1 var(--f-head); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); pointer-events: none; }
.cx-sem h3 { position: relative; color: var(--primary); font-size: clamp(18px, 1.73vw, 24px); margin: 0 0 22px; }
.cx-mods { position: relative; list-style: none; margin: 0; padding: 0; }
.cx-mods li { display: flex; gap: 16px; align-items: baseline; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.88); font-size: 16px; }
.cx-mods li span { font: 600 13px/1 var(--f-head); color: var(--primary); letter-spacing: .6px; flex: none; }
.cx-mods li.cx-sub-h { display: block; border: 0; padding: 16px 0 4px; color: rgba(255,255,255,.55); font-size: 14px; font-style: italic; }
.cx-note { margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.18); font-size: 14.5px; color: rgba(255,255,255,.6); }
.cx-note p { margin: 0; }

/* outcomes */
.cx-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; counter-reset: t; }
.cx-tiles li { position: relative; padding: 28px 26px 30px; border-radius: 22px; background: var(--soft); border: 1px solid #FBE1D3; transition: translate .4s, box-shadow .4s, background .4s; transition-delay: calc(var(--i, 0) * 40ms); }
.cx-tiles li:hover { translate: 0 -6px; background: #fff; box-shadow: 0 24px 50px rgba(241,90,34,.15); }
.cx-tiles li span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--primary); color: #fff; font: 600 16px/1 var(--f-head); margin-bottom: 18px; }
.cx-tiles li p { margin: 0; color: var(--navy); font-size: 16.5px; line-height: 1.45; font-weight: 500; }

/* careers */
.cx-curr + .cx-careers, .cx-out + .cx-careers { padding-top: clamp(66px, 8vw, 120px); }
.cx-out + .cx-careers { padding-top: 0; }
.cx-car-intro { margin-bottom: 20px; }
.cx-car-intro p { font-size: 18px; color: var(--navy); }
.cx-lead { max-width: 860px; margin: -16px 0 40px; }
.cx-career-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cx-career { padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: #fff; transition: border-color .4s, box-shadow .4s; }
.cx-career:hover { border-color: rgba(241,90,34,.5); box-shadow: 0 24px 50px rgba(18,18,18,.08); }
.cx-career h3 { font-size: 17px; margin: 0 0 16px; }
.cx-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cx-chips li { padding: 8px 14px; border-radius: 30px; background: var(--soft); color: var(--navy); font-size: 14.5px; font-weight: 500; transition: background .3s, color .3s; }
.cx-chips li:hover { background: var(--primary); color: #fff; }
.cx-chips-lg { margin: 0 0 26px; }
.cx-chips-lg li { font-size: 16px; padding: 11px 18px; border: 1px solid #FBE1D3; }
.cx-car-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(44px, 5vw, 80px); align-items: center; }
.cx-car-img { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4; }
.cx-car-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1024px) {
  .cx-career-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .cx-hero-in, .cx-ov-grid, .cx-car-split { grid-template-columns: 1fr; }
  .cx-visual { justify-self: center; max-width: 400px; }
  .cx-ov-grid .cx-head { position: static; }
  .cx-sems { grid-template-columns: 1fr; }
  .cx-nav .btn { display: none; }
}
@media (max-width: 600px) {
  .cx-career-grid { grid-template-columns: 1fr; }
  .cx-facts { grid-template-columns: 1fr 1fr; }
  .cx-badge { padding: 12px 16px; } .cx-badge strong { font-size: 23px; }
  .cx-curr { margin: 0; border-radius: 0; }
  .cx-roman { font-size: 55px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-in { opacity: 1; translate: none; animation: none; }
  .cx-grid-bg, .cx-orbit, .cx-frame img, .cx-badge { animation: none; }
}

/* Course careers: interactive role list */
.cx-roles-wrap { position: relative; }
.cx-roles-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(44px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.cx-roles-head h2 { margin-bottom: 0; }
.cx-roles-intro .prose p { font-size: 18px; color: var(--navy); margin: 0 0 22px; }
.cx-roles-count { display: flex; align-items: center; gap: 14px; margin: 0; }
.cx-roles-count strong { font: 600 32px/1.1 var(--f-head); color: var(--primary); }
.cx-roles-count span { font: 600 14px/1.15 var(--f-head); text-transform: none; letter-spacing: .8px; color: var(--navy); }
.cx-roles-body { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(35px, 4vw, 64px); align-items: start; }
.cx-roles { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.cx-roles li { position: relative; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: clamp(18px, 2.2vw, 26px) clamp(16px, 2vw, 26px); border-top: 1px solid var(--line); cursor: pointer; overflow: hidden; isolation: isolate; outline: none; border-radius: 0; transition: border-radius .4s, color .3s; }
.cx-roles li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--primary), #FF8A4C); transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.7,0,.2,1); }
.cx-roles li.reveal { opacity: 0; translate: -30px 0; transition: opacity .7s calc(var(--i) * 80ms), translate .7s calc(var(--i) * 80ms) cubic-bezier(.2,.8,.2,1), border-radius .4s, color .3s; }
.cx-roles li.reveal.in { opacity: 1; translate: 0 0; }
.cx-rn { font: 600 15px/1 var(--f-head); color: var(--primary); letter-spacing: .6px; transition: color .3s; }
.cx-rt { font: 600 clamp(16px, 1.74vw, 25px)/1.1 var(--f-head); text-transform: none; letter-spacing: .3px; color: var(--navy); transition: color .3s, translate .45s cubic-bezier(.2,.8,.2,1); }
.cx-ra { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, border-color .3s, rotate .45s; }
.cx-ra svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.cx-roles li.on { border-radius: 18px; border-top-color: transparent; }
.cx-roles li.on + li { border-top-color: transparent; }
.cx-roles li.on::before { transform: scaleX(1); }
.cx-roles li.on .cx-rn, .cx-roles li.on .cx-rt { color: #fff; }
.cx-roles li.on .cx-rt { translate: 10px 0; }
.cx-roles li.on .cx-ra { background: #fff; border-color: #fff; rotate: 45deg; }
.cx-roles li.on .cx-ra svg { stroke: var(--primary); }
.cx-roles li:focus-visible { box-shadow: inset 0 0 0 3px var(--navy); }

.cx-roles-side { position: sticky; top: 170px; display: flex; flex-direction: column; gap: 22px; }
.cx-role-card { position: relative; margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--navy); box-shadow: 0 30px 70px rgba(18,18,18,.18); }
.cx-role-card img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s cubic-bezier(.2,.8,.2,1), object-position 1.2s cubic-bezier(.2,.8,.2,1), filter .6s; scale: var(--z, 1.05); object-position: var(--ox, 50%) 50%; }
.cx-role-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,18,0) 40%, rgba(18,18,18,.85)); }
.cx-role-card figcaption { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; color: #fff; }
.cx-role-idx { display: inline-block; font: 600 12px/1 var(--f-head); letter-spacing: 1.4px; padding: 7px 12px; border-radius: 20px; background: var(--primary); margin-bottom: 12px; }
.cx-role-name { display: block; font: 600 clamp(18px, 1.87vw, 27px)/1.1 var(--f-head); text-transform: none; letter-spacing: .3px; }
.cx-role-name.swap { animation: cxSwap .5s cubic-bezier(.2,.8,.2,1); }
@keyframes cxSwap { from { opacity: 0; translate: 0 16px; filter: blur(4px); } }
.cx-roles-outro p { font-size: 16px; margin: 0; }
.cx-roles-side .btn { align-self: flex-start; }

@media (max-width: 900px) {
  .cx-roles-head, .cx-roles-body { grid-template-columns: 1fr; }
  .cx-roles-side { position: static; order: -1; }
  .cx-role-card { aspect-ratio: 16 / 10; }
  .cx-roles li { grid-template-columns: 40px 1fr auto; }
  .cx-ra { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-roles li.reveal { opacity: 1; translate: none; }
  .cx-role-card img, .cx-rt { transition: none; }
}

/* Course apply: full-width image band with dark overlay */
.cx-apply { position: relative; overflow: clip; isolation: isolate; color: #fff; padding: clamp(82px, 10vw, 150px) 0; }
.cx-apply-bg { position: absolute; inset: 0; z-index: -2; }
.cx-apply-bg img { width: 100%; height: 100%; object-fit: cover; scale: 1.08; animation: cxKen 18s ease-in-out infinite alternate; }
.cx-apply::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 85% 20%, rgba(241,90,34,.38), rgba(241,90,34,0) 60%), linear-gradient(90deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.82) 45%, rgba(10,10,10,.7) 100%); }
.cx-apply::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 70%); }
.cx-apply-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(55px, 6vw, 100px); align-items: center; }
.cx-apply h2 { color: #fff; font-size: clamp(35px, 4.0vw, 64px); line-height: 1.1; margin: 20px 0 22px; }
.cx-apply-lead { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.78); max-width: 520px; margin: 0 0 28px; }
.cx-apply-lead strong { color: #fff; font-weight: 600; }
.cx-apply-facts { list-style: none; margin: 0 0 34px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cx-apply-facts li { padding: 10px 16px; border-radius: 30px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); font: 600 14px/1 var(--f-head); letter-spacing: .5px; text-transform: none; }
.cx-apply-facts li span { color: var(--primary); margin-right: 8px; font-size: 12px; letter-spacing: 1.2px; }
.cx-apply-contact { display: flex; flex-wrap: wrap; gap: 14px; }
.cx-ac { display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 50px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; font: 600 17px/1.1 var(--f-head); letter-spacing: .4px; transition: background .3s, border-color .3s, translate .3s; }
.cx-ac small { display: block; font: 500 12px/1 var(--f-body); letter-spacing: .6px; text-transform: none; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.cx-ac .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); flex: none; }
.cx-ac.wa .ic { background: #1FAF54; }
.cx-ac svg { width: 22px; height: 22px; fill: #fff; }
.cx-ac:hover { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); translate: 0 -3px; }

.cx-apply-card { position: relative; padding: clamp(28px, 3.5vw, 48px); border-radius: 28px; background: rgba(18,18,18,.55); backdrop-filter: blur(18px) saturate(1.2); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.cx-apply-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(241,90,34,.9), rgba(241,90,34,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.cx-apply-card h3 { color: #fff; font-size: clamp(18px, 1.73vw, 24px); margin: 0 0 6px; }
.cx-apply-card > p { color: rgba(255,255,255,.65); margin: 0 0 26px; font-size: 15.5px; }
.cx-apply-card .form label { color: rgba(255,255,255,.8); }
.cx-apply-card .form input, .cx-apply-card .form select, .cx-apply-card .form textarea { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.cx-apply-card .form select option { color: #121212; }
.cx-apply-card .form input:focus, .cx-apply-card .form select:focus, .cx-apply-card .form textarea:focus { border-color: var(--primary); background: rgba(255,255,255,.1); box-shadow: 0 0 0 4px rgba(241,90,34,.22); }
.cx-apply-card .form textarea { min-height: 96px; }
.cx-apply-card .form .btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .cx-apply-in { grid-template-columns: 1fr; }
  .cx-apply::before { background: radial-gradient(80% 50% at 80% 0%, rgba(241,90,34,.35), rgba(241,90,34,0) 60%), rgba(10,10,10,.86); }
}
@media (max-width: 600px) {
  .cx-apply-card .form { grid-template-columns: 1fr; }
  .cx-ac { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .cx-apply-bg img { animation: none; } }

/* ==========================================================================
   Footer (v2)
   ========================================================================== */
.ft-panel { position: relative; overflow: clip; isolation: isolate; background: #0E0E0E; color: rgba(255,255,255,.75); padding: clamp(56px, 7vw, 96px) 0 26px; }
.ft-glow { position: absolute; z-index: -1; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; right: -20vw; top: -35vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(241,90,34,.45), rgba(241,90,34,0)); filter: blur(10px); animation: ftGlow 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes ftGlow { to { translate: -12vw 10vw; scale: 1.15; } }
.ft-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .4;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent); }

/* CTA strip */
.ft-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: clamp(26px, 3vw, 40px) clamp(24px, 3vw, 44px); border-radius: 28px; background: linear-gradient(120deg, rgba(241,90,34,.22), rgba(255,255,255,.04) 55%); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); }
.ft-cta-title { margin: 14px 0 0; font: 600 clamp(16px, 1.97vw, 29px)/1.1 var(--f-head); color: #fff; text-transform: none; max-width: 760px; text-wrap: balance; }
.ft-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ft-pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 40px; border: 1px solid rgba(255,255,255,.25); color: #fff; font: 600 15px/1 var(--f-head); letter-spacing: .6px; text-transform: none; transition: background .3s, border-color .3s; }
.ft-pill svg { width: 20px; height: 20px; fill: #1FAF54; transition: fill .3s; }
.ft-pill:hover { color: #fff; background: #1FAF54; border-color: #1FAF54; }
.ft-pill:hover svg { fill: #fff; }

/* main grid */
.ft-main { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(55px, 6vw, 100px); margin-top: clamp(56px, 6vw, 90px); }
.ft-logo { display: inline-block; background: #fff; border-radius: 16px; padding: 12px 16px; margin-bottom: 34px; transition: translate .3s; }
.ft-logo:hover { translate: 0 -3px; }
.ft-logo img { display: block; width: 200px; height: auto; }
.ft-big { list-style: none; margin: 0; padding: 0; }
.ft-big li { border-top: 1px solid rgba(255,255,255,.1); }
.ft-big li:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.ft-big a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 12px 4px; color: #fff; }
.ft-big-n { font: 600 13px/1 var(--f-head); color: var(--primary); letter-spacing: .6px; }
.ft-big-t { position: relative; display: block; overflow: hidden; font: 600 clamp(20px, 2.3vw, 35px)/1.1 var(--f-head); text-transform: none; letter-spacing: .5px; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); }
.ft-big-t::after { content: attr(data-t); position: absolute; inset: 0; color: #fff; -webkit-text-stroke: 0; clip-path: inset(0 100% 0 0); transition: clip-path .6s cubic-bezier(.7,0,.2,1); }
.ft-big a:hover .ft-big-t::after, .ft-big a:focus-visible .ft-big-t::after { clip-path: inset(0 0 0 0); }
.ft-big-a { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); transition: background .35s, border-color .35s, rotate .45s; }
.ft-big-a svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ft-big a:hover .ft-big-a { background: var(--primary); border-color: var(--primary); rotate: 45deg; }

.ft-cols { display: grid; grid-template-columns: .8fr .9fr 1.3fr; gap: clamp(24px, 3vw, 44px); align-content: start; }
.ft-cols h6 { color: rgba(255,255,255,.5); font: 600 12.5px/1 var(--f-body); letter-spacing: 1.6px; text-transform: none; margin: 6px 0 22px; }
.ft-links { list-style: none; margin: 0; padding: 0; }
.ft-links li { margin-bottom: 4px; }
.ft-links a { position: relative; display: inline-flex; align-items: center; gap: 0; padding: 6px 0; color: #fff; font-size: 16px; transition: color .3s, gap .3s; }
.ft-links a::before { content: ""; width: 0; height: 2px; background: var(--primary); transition: width .3s, margin .3s; }
.ft-links a:hover { color: #FFB38E; }
.ft-links a:hover::before { width: 14px; margin-right: 10px; }
.ft-contact { display: flex; flex-direction: column; gap: 12px; }
.ft-ci { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.5; transition: background .3s, border-color .3s; }
a.ft-ci:hover, .ft-ci:hover { color: #fff; background: rgba(241,90,34,.1); border-color: rgba(241,90,34,.4); }
.ft-ci .ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(241,90,34,.16); flex: none; }
.ft-ci .ic svg { width: 18px; height: 18px; fill: var(--primary); }
.ft-ci address { font-style: normal; margin: 0; }
.ft-ci a { display: block; color: #fff; }
.ft-ci a:hover { color: #FFB38E; }
.ft-ci > span:last-child { padding-top: 8px; }
.ft-ci address { padding-top: 0; }

/* giant wordmark with cursor spotlight */
.ft-wordmark { margin: clamp(50px, 6vw, 90px) 0 0; line-height: 1.1; text-align: center; user-select: none; }
.ft-wordmark span { display: block; font: 600 clamp(82px, 9.5vw, 150px)/1.1 var(--f-head); letter-spacing: .02em;
  background: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), #F15A22 0%, rgba(241,90,34,.55) 35%, rgba(255,255,255,.07) 70%) , rgba(255,255,255,.06);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); }

.ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14.5px; }
.ft-bottom p { margin: 0; color: rgba(255,255,255,.55); }
.ft-social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ft-social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); transition: background .3s, border-color .3s, translate .3s; }
.ft-social svg { width: 19px; height: 19px; fill: #fff; }
.ft-social svg.stroke { fill: none; stroke: #fff; stroke-width: 2; }
.ft-social svg.stroke .dotf { fill: #fff; stroke: none; }
.ft-social a:hover { background: var(--primary); border-color: var(--primary); translate: 0 -3px; }

@media (max-width: 1100px) {
  .ft-main { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ft-cols { grid-template-columns: 1fr 1fr; }
  .ft-contact { grid-column: 1 / -1; }
  .ft-cta-btns, .ft-cta-btns > * { width: 100%; justify-content: center; }
  .ft-big-a { width: 40px; height: 40px; }
  .ft-bottom { flex-direction: column-reverse; align-items: flex-start; padding-bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) { .ft-glow { animation: none; } }
@media (hover: none) { .ft-big-t { color: #fff; -webkit-text-stroke: 0; } }

/* Typography: Poppins, headings in Title Case */
h1, h2, h3, h4, h5, h6 { font-weight: 600; text-transform: capitalize; letter-spacing: -.01em; line-height: 1.15; }
h1 { font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
h2 { letter-spacing: -.015em; line-height: 1.12; }
.prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { text-transform: none; }
body { font-size: 16.5px; }

/* course type tag in the home courses list */
.cs-list a { align-items: center; }
.cs-list .cs-name { flex: 1; }
.cs-type { flex: none; font: 500 11px/1 var(--f-body); letter-spacing: .4px; padding: 5px 9px; border-radius: 20px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.6); transition: background .3s, color .3s, border-color .3s; }
.cs-type.deg { border-color: rgba(241,90,34,.5); color: #FF9A6E; }
.cs-list li.on .cs-type, .cs-list a:hover .cs-type { background: rgba(255,255,255,.1); color: #fff; }
.cs-list li.on .cs-type.deg, .cs-list a:hover .cs-type.deg { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Home media: featured player + playlist */
.mx { position: relative; overflow: clip; padding: clamp(70px, 9vw, 130px) 0 clamp(56px, 6vw, 90px); background: radial-gradient(60% 70% at 100% 0%, rgba(241,90,34,.14), transparent 60%), linear-gradient(180deg, #FFF8F3, #FFF3EC); }
.mx-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 50px); }
.mx-head h2 { margin: 14px 0 0; }
.mx-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(18px, 2.4vw, 32px); align-items: center; }
.mx-player { position: relative; align-self: center; }
.mx-player::before { content: ""; position: absolute; inset: 18px -14px -18px 14px; border-radius: 30px; background: linear-gradient(135deg, var(--primary), #FFB38E); opacity: .9; z-index: 0; rotate: 1.5deg; }
.mx-screen { position: relative; z-index: 1; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #0E0E0E; box-shadow: 0 40px 80px rgba(18,18,18,.25); }
.mx-poster { width: 100%; height: 100%; object-fit: cover; transition: scale 1s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.mx-screen:hover .mx-poster { scale: 1.04; }
.mx-poster.swap { animation: mxSwap .6s ease; }
@keyframes mxSwap { from { opacity: 0; scale: 1.08; } }
.mx-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.82)); }
.mx-screen.playing::after, .mx-screen.playing .mx-caption, .mx-screen.playing .mx-play { display: none; }
.mx-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.mx-play { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: 92px; height: 92px; border: 0; border-radius: 50%; cursor: pointer; background: var(--primary); display: grid; place-items: center; box-shadow: 0 16px 40px rgba(241,90,34,.5); transition: scale .35s cubic-bezier(.2,1.4,.4,1); }
.mx-play::before, .mx-play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); animation: mxRing 2.4s ease-out infinite; }
.mx-play::after { animation-delay: 1.2s; }
@keyframes mxRing { from { scale: 1; opacity: .8; } to { scale: 1.8; opacity: 0; } }
.mx-play span { width: 0; height: 0; border-left: 24px solid #fff; border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 7px; }
.mx-play:hover { scale: 1.1; }
.mx-caption { position: absolute; z-index: 2; left: clamp(20px, 3vw, 36px); right: clamp(20px, 3vw, 36px); bottom: clamp(18px, 2.6vw, 32px); color: #fff; }
.mx-now { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .6px; padding: 6px 12px; border-radius: 20px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); margin-bottom: 12px; }
.mx-now i { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(241,90,34,.7); animation: mxDot 1.6s infinite; }
@keyframes mxDot { 70% { box-shadow: 0 0 0 8px rgba(241,90,34,0); } }
.mx-title { color: #fff; font-size: clamp(18px, 1.9vw, 26px); margin: 0 0 6px; max-width: 640px; }
.mx-src { font-size: 14px; color: rgba(255,255,255,.7); }

.mx-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: mx; }
.mx-item { position: relative; width: 100%; display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 8px; border: 1px solid #F6DCCD; border-radius: 20px; background: rgba(255,255,255,.75); backdrop-filter: blur(6px); text-align: left; cursor: pointer; font: inherit; color: var(--navy); overflow: hidden; transition: border-color .3s, box-shadow .3s, translate .3s, background .3s; }
.mx-item::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 4px; border-radius: 4px; background: var(--primary); scale: 1 0; transition: scale .35s; }
.mx-item:hover { translate: -4px 0; border-color: rgba(241,90,34,.45); box-shadow: 0 16px 36px rgba(241,90,34,.12); background: #fff; }
.mx-item.on { background: #fff; border-color: var(--primary); box-shadow: 0 18px 40px rgba(241,90,34,.18); }
.mx-item.on::before { scale: 1 1; }
.mx-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #ddd; }
.mx-thumb img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s; }
.mx-item:hover .mx-thumb img { scale: 1.08; }
.mx-mini-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.25); opacity: 0; transition: opacity .3s; }
.mx-mini-play::after { content: ""; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.mx-item:hover .mx-mini-play, .mx-item.on .mx-mini-play { opacity: 1; }
.mx-item.on .mx-mini-play { background: rgba(241,90,34,.55); }
.mx-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mx-n { font-size: 12px; font-weight: 600; color: var(--primary); letter-spacing: .6px; }
.mx-meta strong { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mx-meta small { font-size: 12.5px; color: var(--muted); }

@media (max-width: 1024px) {
  .mx-grid { grid-template-columns: 1fr; }
  .mx-player::before { inset: 12px -8px -12px 8px; }
}
@media (max-width: 600px) {
  .mx-item { grid-template-columns: 108px 1fr; gap: 12px; }
  .mx-play { width: 70px; height: 70px; }
  .mx-caption .mx-src { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mx-play::before, .mx-play::after, .mx-now i { animation: none; } }

/* Admissions tape: one straight band */
.tapes { height: auto; overflow: hidden; margin-top: 0; }
.tape { position: relative; left: auto; right: auto; top: auto; }
.tape.a { transform: none; box-shadow: none; }
.tape.b { display: none; }

/* Home facilities (white, photo + 2x3 tiles) */
.fx { background: #fff; padding: clamp(44px, 4.5vw, 64px) 0 clamp(70px, 8vw, 110px); }
.fx-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: clamp(30px, 3.5vw, 48px); }
.fx-head h2 { margin: 0; }
.fx-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: stretch; }
.fx-photo { position: relative; margin: 0; border-radius: 28px; overflow: hidden; min-height: 420px; }
.fx-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1s cubic-bezier(.2,.8,.2,1); }
.fx-photo:hover img { scale: 1.05; }
.fx-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.75)); }
.fx-photo figcaption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.14); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.8); font-size: 14px; }
.fx-photo figcaption strong { display: block; color: #fff; font-size: 17px; font-weight: 600; }
.fx-pin { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--primary); flex: none; }
.fx-pin svg { width: 22px; height: 22px; fill: #fff; }
.fx-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fx-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 24px; border-radius: 22px; background: #FFF8F3; border: 1px solid #F8E4D8; transition: background .35s, border-color .35s, box-shadow .35s, translate .35s; }
.fx-tile::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.7,0,.2,1); }
.fx-tile:hover { background: #fff; border-color: rgba(241,90,34,.35); box-shadow: 0 22px 44px rgba(241,90,34,.12); translate: 0 -4px; }
.fx-tile:hover::before { transform: scaleX(1); }
.fx-tile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.fx-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; border: 1px solid #F8E4D8; transition: background .35s, border-color .35s; }
.fx-ico img { width: 28px; height: 28px; object-fit: contain; transition: filter .35s; }
.fx-tile:hover .fx-ico { background: var(--primary); border-color: var(--primary); }
.fx-tile:hover .fx-ico img { filter: brightness(0) invert(1); }
.fx-n { font-size: 13px; font-weight: 600; letter-spacing: .6px; color: #E8B9A0; transition: color .35s; }
.fx-tile:hover .fx-n { color: var(--primary); }
.fx-tile h3 { font-size: 18px; line-height: 1.3; margin: 0 0 8px; }
.fx-tile p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
@media (max-width: 1100px) { .fx-grid { grid-template-columns: 1fr; } .fx-photo { min-height: 360px; } }
@media (max-width: 600px) { .fx-tiles { grid-template-columns: 1fr; } .fx-photo { min-height: 260px; } }

/* Home recruiters: highlighted orange band with logo cards */
.rx { position: relative; overflow: clip; isolation: isolate; padding: clamp(64px, 7vw, 100px) 0; background: linear-gradient(135deg, #F15A22 0%, #E8481A 55%, #D93E12 100%); color: #fff; }
.rx-pattern { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.18) 1.2px, transparent 1.4px); background-size: 22px 22px;
  mask-image: radial-gradient(70% 90% at 85% 10%, #000, transparent 70%); }
.rx::before { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; left: -220px; bottom: -380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent); }
.rx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 50px); }
.rx-head h2 { color: #fff; margin: 14px 0 0; }
.rx .pill-label.light { background: rgba(255,255,255,.18); color: #fff; }
.rx .pill-label.light .dot { background: #fff; }
.rx-count { display: flex; align-items: center; gap: 14px; }
.rx-count strong { font-size: clamp(40px, 4.4vw, 60px); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.rx-count span { font-size: 14.5px; line-height: 1.35; color: rgba(255,255,255,.85); }
.rx-rows { display: flex; flex-direction: column; gap: 16px; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.rx-row { overflow: hidden; }
.rx-track { display: flex; gap: 16px; width: max-content; animation: rxMove 38s linear infinite; }
.rx-row.rev .rx-track { animation-direction: reverse; animation-duration: 44s; }
.rx-rows:hover .rx-track { animation-play-state: paused; }
@keyframes rxMove { to { transform: translateX(calc(-100% / 3)); } }
.rx-card { flex: none; width: 210px; height: 108px; display: grid; place-items: center; padding: 20px 28px; border-radius: 20px; background: #fff; box-shadow: 0 14px 30px rgba(120,30,0,.18); transition: translate .35s, box-shadow .35s; }
.rx-card img { max-width: 100%; max-height: 58px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .35s, opacity .35s, scale .35s; }
.rx-card:hover { translate: 0 -5px; box-shadow: 0 22px 40px rgba(120,30,0,.28); }
.rx-card:hover img { filter: none; opacity: 1; scale: 1.06; }
@media (max-width: 600px) { .rx-card { width: 160px; height: 88px; padding: 16px 20px; } .rx-card img { max-height: 46px; } }
@media (prefers-reduced-motion: reduce) { .rx-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* Curriculum v2: full-width band, compact semester cards */
.cx-curr { margin: 0; border-radius: 0; padding: clamp(64px, 7vw, 100px) 0; }
.cx-roman { display: none; }
.cx-curr .cx-head-row { margin-bottom: 28px; }
.cx-curr .cx-head .eyebrow { color: #FF9A6E; }

.cx-year-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 20px; margin-bottom: 18px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.cx-year-tag { font-size: 12.5px; font-weight: 600; letter-spacing: .6px; padding: 7px 12px; border-radius: 20px; background: var(--primary); color: #fff; }
.cx-year-bar .cx-year-title { margin: 0; flex: 1; font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; color: #fff; text-transform: none; letter-spacing: 0; }
.cx-year-meta { font-size: 13px; color: rgba(255,255,255,.6); }
.cx-sems { gap: 18px; align-items: start; }
.cx-sem { padding: clamp(22px, 2.4vw, 30px); border-radius: 22px; }
.cx-sem:hover { translate: none; }
.cx-sem-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.12); }
.cx-sem h3 { margin: 0; font-size: clamp(18px, 1.6vw, 22px); }
.cx-sem-count { font-size: 12.5px; font-weight: 500; padding: 6px 11px; border-radius: 20px; background: rgba(241,90,34,.16); color: #FF9A6E; white-space: nowrap; }
.cx-mods li { padding: 11px 0; font-size: 15px; gap: 14px; border-top: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.cx-mods li:last-child { border-bottom: 0; }
.cx-mods li span { display: inline-grid; place-items: center; min-width: 30px; height: 24px; border-radius: 8px; background: rgba(255,255,255,.06); font-size: 11.5px; font-weight: 600; color: #FF9A6E; }
.cx-mods li.cx-sub-h { font-style: normal; font-size: 12.5px; font-weight: 600; letter-spacing: .4px; color: rgba(255,255,255,.5); padding: 14px 0 6px; border-bottom: 0; }
.cx-sem.is-long:not(.open) .cx-more { display: none; }
.cx-toggle { margin-top: 12px; border: 1px dashed rgba(255,255,255,.25); background: none; color: #fff; font: 500 13.5px/1 var(--f-body); padding: 11px 16px; border-radius: 12px; cursor: pointer; width: 100%; transition: background .3s, border-color .3s; }
.cx-toggle:hover { background: rgba(241,90,34,.15); border-color: var(--primary); }
.cx-note { font-size: 13.5px; }
.cx-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.cx-go { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); color: #fff; font: 500 14px/1 var(--f-body); padding: 13px 20px; border-radius: 30px; cursor: pointer; transition: background .3s, border-color .3s; }
.cx-go.next { background: var(--primary); border-color: var(--primary); }
.cx-go:hover { border-color: var(--primary); background: rgba(241,90,34,.2); }
.cx-go.next:hover { background: var(--primary-hover); }
@media (max-width: 900px) {
  .cx-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .cx-tabs button { flex: 1 0 auto; }
}

/* Course careers explorer (grouped careers) */
.cx-ce-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(30px, 3.5vw, 48px); }
.cx-ce-head h2 { margin-bottom: 0; }
.cx-ce-intro .prose p { margin: 0 0 20px; font-size: 16px; color: var(--muted); }
.cx-ce-stats { display: flex; gap: 32px; }
.cx-ce-stats p { display: flex; align-items: center; gap: 10px; margin: 0; }
.cx-ce-stats strong { font-size: clamp(30px, 3vw, 40px); font-weight: 700; color: var(--primary); line-height: 1; letter-spacing: -.02em; }
.cx-ce-stats span { font-size: 13px; line-height: 1.3; color: var(--navy); font-weight: 500; }

.cx-ce { display: grid; grid-template-columns: 320px 1fr; gap: 18px; padding: 14px; border-radius: 28px; background: #FFF6F0; border: 1px solid #F8E4D8; }
.cx-ce-nav { display: flex; flex-direction: column; gap: 6px; }
.cx-ce-tab { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 15px 16px; border: 0; border-radius: 16px; background: transparent; text-align: left; cursor: pointer; font: 500 15px/1.3 var(--f-body); color: var(--navy); transition: background .3s, color .3s, box-shadow .3s; }
.cx-ce-tab:hover { background: rgba(255,255,255,.8); }
.cx-ce-n { font-size: 12px; font-weight: 600; color: #E0A486; }
.cx-ce-c { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 12px; background: #fff; font-size: 12px; font-weight: 600; color: var(--muted); }
.cx-ce-tab.on { background: var(--primary); color: #fff; box-shadow: 0 14px 30px rgba(241,90,34,.3); }
.cx-ce-tab.on .cx-ce-n { color: rgba(255,255,255,.8); }
.cx-ce-tab.on .cx-ce-c { background: rgba(255,255,255,.22); color: #fff; }

.cx-ce-panels { position: relative; border-radius: 22px; background: #fff; box-shadow: 0 20px 50px rgba(18,18,18,.06); padding: clamp(24px, 3vw, 40px); min-height: 100%; }
.cx-ce-panel:not(.on) { display: none; }
.cx-ce-panel.on { animation: cxFade .45s ease; }
.cx-ce-ph { padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.cx-ce-pn { font-size: 12.5px; font-weight: 600; letter-spacing: .6px; color: var(--primary); }
.cx-ce-ph h3 { font-size: clamp(22px, 2.2vw, 30px); margin: 8px 0 6px; }
.cx-ce-ph p { margin: 0; font-size: 14.5px; color: var(--muted); }
.cx-ce-roles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.cx-ce-roles li { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15.5px; font-weight: 500; color: var(--navy); animation: ceIn .5s calc(var(--k) * 45ms) ease both; transition: color .25s; }
@keyframes ceIn { from { opacity: 0; translate: 0 10px; } }
.cx-ce-roles li .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--soft); flex: none; transition: background .25s, rotate .3s; }
.cx-ce-roles li svg { width: 15px; height: 15px; fill: none; stroke: var(--primary); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.cx-ce-roles li:hover { color: var(--primary); }
.cx-ce-roles li:hover .ic { background: var(--primary); rotate: 45deg; }
.cx-ce-roles li:hover svg { stroke: #fff; }
.cx-ce-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 14.5px; font-weight: 600; color: var(--primary); }
.cx-ce-cta span { transition: translate .3s; }
.cx-ce-cta:hover span { translate: 4px 0; }

@media (max-width: 1024px) {
  .cx-ce-head { grid-template-columns: 1fr; }
  .cx-ce { grid-template-columns: 1fr; }
  .cx-ce-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .cx-ce-nav::-webkit-scrollbar { display: none; }
  .cx-ce-tab { flex: none; width: auto; grid-template-columns: auto auto auto; white-space: nowrap; }
}
@media (max-width: 600px) { .cx-ce-roles { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cx-ce-roles li { animation: none; opacity: 1; translate: none; } }

.split, .split .w, .split .ch { text-transform: none; }
/* balance: 4 glass cards sit in one row (2x2 on tablets) */
@media (min-width: 1101px) { .glass-grid:has(> .glass:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 701px) and (max-width: 1100px) { .glass-grid:has(> .glass:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }

.cx-rt small { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; line-height: 1.45; letter-spacing: 0; text-transform: none; color: var(--muted); transition: color .3s; }
.cx-roles li.on .cx-rt small { color: rgba(255,255,255,.85); }

/* long blog post titles */
.single-post .page-hero h1 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.15; max-width: 980px; }

/* Student feedback form */
.fb-sec { background: linear-gradient(180deg, #FFF8F3, #fff); }
.fb-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.fb-copy { position: sticky; top: calc(var(--hh, 84px) + 30px); }
.fb-copy h2 { margin: 14px 0 16px; }
.fb-intro { font-size: 17px; color: var(--muted); margin: 0 0 28px; max-width: 460px; }
.fb-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fb-points li { display: flex; align-items: center; gap: 14px; font-weight: 500; color: var(--navy); font-size: 15.5px; }
.fb-points li span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--soft); color: var(--primary); font-size: 13px; font-weight: 600; }
.fb-card { background: #fff; border-radius: 26px; padding: clamp(24px, 3.4vw, 44px); border: 1px solid #F8E4D8; box-shadow: 0 30px 70px rgba(241,90,34,.10); border-top: 4px solid var(--primary); }
.fb-form textarea { min-height: 140px; }
.fb-stars { border: 0; margin: 0; padding: 0; min-width: 0; }
.fb-stars legend { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; padding: 0; }
.fb-star-row { display: inline-flex; flex-direction: row-reverse; gap: 6px; }
.fb-star-row input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.fb-star-row label { cursor: pointer; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--soft); border: 1px solid #F8E4D8; transition: background .2s, transform .2s, border-color .2s; margin: 0; }
.fb-star-row svg { width: 26px; height: 26px; fill: #E9C9B6; transition: fill .2s, transform .2s; }
.fb-star-row label:hover, .fb-star-row label:hover ~ label, .fb-star-row input:checked ~ label { background: #FFE6D9; border-color: rgba(241,90,34,.45); }
.fb-star-row label:hover svg, .fb-star-row label:hover ~ label svg, .fb-star-row input:checked ~ label svg { fill: var(--primary); }
.fb-star-row label:hover { transform: translateY(-2px); }
.fb-star-row input:focus-visible + label { outline: 3px solid var(--navy); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fb-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14.5px; color: var(--muted); }
.fb-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.fb-form .btn { width: 100%; justify-content: center; }
.fb-done { text-align: center; padding: 30px 10px; }
.fb-tick { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 34px; margin-bottom: 18px; box-shadow: 0 16px 40px rgba(241,90,34,.35); }
.fb-done h3 { margin: 0 0 8px; }
.fb-done p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .fb-grid { grid-template-columns: 1fr; } .fb-copy { position: static; } }
@media (max-width: 600px) { .fb-form { grid-template-columns: 1fr; } .fb-star-row label { width: 46px; height: 46px; } }

/* Dark feature panel – full-width band variant */
.dp-full { padding-left: 0; padding-right: 0; }
.dark-panel.dp-band { border-radius: 0; clip-path: none; padding: clamp(64px, 8vw, 120px) 0; }
.dp-band .glow { right: 0; width: 50%; }
.dark-panel.dp-band > .dp-inner { position: static; } /* glow anchors to the full-width band */
.dp-band .dp-inner > :not(.glow) { position: relative; }
@media (min-width: 1200px) { .dp-band .glass-grid:has(> .glass:nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); gap: 18px; } .dp-band .glass-grid:has(> .glass:nth-child(5):last-child) .glass { padding: 30px 24px; } }
@media (min-width: 701px) and (max-width: 1199px) { .dp-band .glass-grid:has(> .glass:nth-child(5):last-child) { grid-template-columns: repeat(2, 1fr); } }
/* two full-width dark bands back to back read as one dark area with a fine divider */
.dp-full:has(+ .dp-full) { padding-bottom: 0; }
.dp-full + .dp-full { padding-top: 0; }
.dp-full + .dp-full .dp-band { border-top: 1px solid rgba(255,255,255,.08); }
.dp-full:has(+ .dp-full) .dp-band { padding-bottom: clamp(56px, 6vw, 90px); }
.dp-full + .dp-full .dp-band { padding-top: clamp(56px, 6vw, 90px); }

/* Numbered services / facilities (modern grid) */
.svx { background: #fff; }
.svx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(30px, 3.5vw, 48px); }
.svx-head h2 { margin: 14px 0 0; }
.svx-count { display: flex; align-items: center; gap: 12px; margin: 0; }
.svx-count strong { font-size: clamp(40px, 4.2vw, 58px); font-weight: 700; line-height: 1; color: var(--primary); letter-spacing: -.02em; }
.svx-count span { font-size: 14px; font-weight: 500; color: var(--navy); max-width: 90px; line-height: 1.3; }
.svx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svx-card { position: relative; overflow: hidden; isolation: isolate; padding: clamp(24px, 2.4vw, 34px); border-radius: 24px; background: #FFF8F3; border: 1px solid #F8E4D8; transition: translate .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s; }
.svx-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, rgba(241,90,34,.45), transparent 55%), #121212; opacity: 0; transition: opacity .45s; }
.svx-card:hover { translate: 0 -6px; box-shadow: 0 28px 60px rgba(18,18,18,.18); border-color: transparent; }
.svx-card:hover::before { opacity: 1; }
.svx-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 26px; }
.svx-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: #fff; border: 1px solid #F8E4D8; transition: background .4s, border-color .4s, rotate .5s; }
.svx-ico img { width: 32px; height: 32px; object-fit: contain; transition: filter .4s; }
.svx-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--primary); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.svx-card:hover .svx-ico { background: var(--primary); border-color: var(--primary); rotate: -6deg; }
.svx-card:hover .svx-ico img { filter: brightness(0) invert(1); }
.svx-card:hover .svx-ico svg { stroke: #fff; }
.svx-no { font-size: 46px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #EBC2AC; transition: color .4s, -webkit-text-stroke-color .4s; }
.svx-card:hover .svx-no { color: var(--primary); -webkit-text-stroke-color: var(--primary); }
.svx-card h3 { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.3; margin: 0 0 10px; transition: color .4s; }
.svx-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); transition: color .4s; }
.svx-card:hover h3 { color: #fff; }
.svx-card:hover p { color: rgba(255,255,255,.75); }
@media (max-width: 1000px) { .svx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svx-grid { grid-template-columns: 1fr; } .svx-no { font-size: 38px; } }
@media (hover: none) { .svx-card:hover { translate: none; } }
