:root {
  --purple: #4b148c;
  --purple-dark: #27084f;
  --purple-soft: #f0e8fa;
  --gold: #dfb928;
  --ink: #17131c;
  --muted: #6e6874;
  --paper: #fbfaf7;
  --white: #fff;
  --line: #e7e1e9;
  --green: #0e7a4d;
  --shadow: 0 20px 60px rgba(28, 12, 44, .12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.sr-only, .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  width: auto; height: auto; margin: 0; clip: auto; z-index: 1000;
  left: 16px; top: 16px; padding: 10px 14px; background: white;
}
h1, h2, h3 { font-family: "Manrope", sans-serif; line-height: 1.08; margin: 0; letter-spacing: -.035em; }
h1 { max-width: 920px; font-size: clamp(3rem, 7vw, 6.5rem); color: white; }
h2 { font-size: clamp(2.3rem, 4.5vw, 4.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.eyebrow {
  margin-bottom: 20px; color: var(--purple); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow.light { color: #eadc9d; }
.button {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 52px; padding: 0 25px; border: 1px solid var(--gold);
  border-radius: 999px; background: var(--gold); color: #211700;
  font-weight: 700; cursor: pointer; transition: .25s ease;
}
.button:hover { transform: translateY(-2px); background: #edca45; box-shadow: 0 10px 25px rgba(223,185,40,.23); }
.button-small { min-height: 42px; padding-inline: 19px; }
.button-outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.button-outline:hover { color: white; background: var(--purple); box-shadow: none; }
.text-link { display: inline-flex; gap: 9px; align-items: center; color: var(--purple); font-weight: 700; }
.light-link { color: white; }

.announcement { background: var(--purple-dark); color: white; font-size: .86rem; }
.announcement-inner { min-height: 38px; display: flex; justify-content: space-between; align-items: center; }
.announcement a { color: #f0d66c; font-weight: 700; }
.site-header {
  position: sticky; z-index: 50; top: 0; background: rgba(251,250,247,.94);
  border-bottom: 1px solid rgba(75,20,140,.08); backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font: 800 1.2rem "Manrope", sans-serif; color: var(--purple); letter-spacing: .04em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; }
.site-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: .93rem; }
.site-nav > a:not(.button) { position: relative; }
.site-nav > a:not(.button)::after {
  content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -8px;
  background: var(--purple); transition: right .2s ease;
}
.site-nav > a:not(.button):hover::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 7px; }
.menu-toggle span:not(.sr-only) { width: 25px; height: 2px; display: block; margin: 5px; background: var(--ink); }

.hero { position: relative; min-height: calc(100vh - 120px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media {
  background: url("assets/images/technical-class.webp") center 43% / cover no-repeat;
  transform: scale(1.01);
}
.hero-overlay { background: linear-gradient(90deg, rgba(29,5,55,.96) 0%, rgba(43,8,77,.75) 45%, rgba(20,10,25,.22) 80%), linear-gradient(0deg, rgba(17,5,30,.82), transparent 50%); }
.hero-content { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 175px; }
.hero-lead { max-width: 660px; margin-top: 28px; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 2vw, 1.35rem); }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 28px; }
.hero-proof {
  position: absolute; z-index: 3; bottom: 0; left: 50%; transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(3, 1fr); color: white;
  border-top: 1px solid rgba(255,255,255,.25);
}
.hero-proof div { min-height: 105px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,.2); }
.hero-proof div:last-child { border-right: 0; padding-left: 40px; }
.hero-proof div:nth-child(2) { padding-left: 40px; }
.hero-proof strong { font: 700 1.15rem "Manrope",sans-serif; }
.hero-proof span { color: rgba(255,255,255,.65); font-size: .86rem; }

.intro-section { background: white; }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.intro-copy { padding-top: 5px; font-size: 1.17rem; color: #4d4752; }
.intro-copy p + p { margin-top: 22px; }
.intro-copy .text-link { margin-top: 32px; font-size: .98rem; }

.programmes { background: var(--paper); }
.modular-courses { background: white; }
.modular-courses .section-heading { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.5fr .75fr; gap: 80px; align-items: end; margin-bottom: 55px; }
.section-heading > p { color: var(--muted); font-size: 1.03rem; }
.programme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.normal-programme-grid .programme-card { min-height: 315px; }
.programme-card {
  min-height: 285px; display: flex; flex-direction: column; padding: 30px; background: white;
  border: 1px solid var(--line); border-radius: var(--radius); transition: .25s ease;
}
.programme-card:hover { transform: translateY(-5px); border-color: #cdb8e3; box-shadow: var(--shadow); }
.programme-card h3 { margin-top: 28px; }
.programme-card p { margin-top: 14px; color: var(--muted); }
.programme-card a { margin-top: auto; padding-top: 25px; color: var(--purple); font-weight: 700; font-size: .9rem; }
.programme-icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  color: var(--purple); background: var(--purple-soft); font-weight: 800;
}
.programme-card.featured { position: relative; grid-row: span 2; min-height: 588px; overflow: hidden; border: 0; color: white; justify-content: end; }
.programme-card.featured img, .card-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-shade { background: linear-gradient(0deg, rgba(31,5,58,.96) 2%, rgba(31,5,58,.12) 75%); }
.card-content { position: relative; z-index: 2; }
.card-content span { color: #eadc9d; font-size: .75rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; }
.card-content h3 { margin-top: 12px; font-size: 2rem; }
.card-content p { color: rgba(255,255,255,.78); }
.card-content a { display: inline-block; color: white; }
.programme-more { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.programme-more p { color: var(--muted); }
.modular-course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.modular-course-card {
  overflow: hidden; display: flex; flex-direction: column; background: white;
  border: 1px solid var(--line); border-radius: var(--radius); transition: .25s ease;
}
.modular-course-card:hover { transform: translateY(-5px); border-color: #cdb8e3; box-shadow: var(--shadow); }
.course-image { position: relative; height: 230px; overflow: hidden; background: var(--purple-dark); }
.course-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(39,8,79,.45), transparent 60%);
}
.course-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.modular-course-card:hover .course-image img { transform: scale(1.04); }
.course-number {
  position: absolute; z-index: 1; left: 18px; bottom: 16px; padding: 7px 11px;
  border-radius: 999px; color: white; background: rgba(39,8,79,.88);
  font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.course-content { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.course-label {
  margin-bottom: 9px; color: var(--purple); font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.course-content h3 { min-height: 3em; font-size: 1.55rem; }
.course-intro { min-height: 5.1em; margin-top: 14px; color: var(--muted); }
.module-list { margin: 23px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.module-list li { padding: 13px 0; border-bottom: 1px solid var(--line); color: #49434e; font-size: .88rem; line-height: 1.35; }
.module-list span { display: block; margin-bottom: 3px; color: var(--purple); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.course-link { margin-top: auto; padding-top: 24px; color: var(--purple); font-size: .9rem; font-weight: 700; }

.sss-pathway { color: white; background: var(--purple-dark); }
.sss-pathway .section-heading { margin-bottom: 48px; }
.year-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.year-card {
  min-height: 350px; padding: 32px; border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); background: rgba(255,255,255,.06);
}
.year-number {
  display: inline-grid; min-width: 66px; min-height: 42px; place-items: center;
  border-radius: 999px; color: var(--purple-dark); background: var(--gold);
  font-weight: 800;
}
.year-label {
  margin-top: 45px; color: #eadc9d; font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.year-card h3 { margin-top: 12px; font-size: 1.7rem; }
.year-card > p:last-child { margin-top: 18px; color: rgba(255,255,255,.7); }
.competence-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 16px; overflow: hidden;
}
.competence-strip div { padding: 22px; border-right: 1px solid rgba(255,255,255,.14); }
.competence-strip div:last-child { border-right: 0; }
.competence-strip strong { display: block; color: #eadc9d; text-transform: uppercase; letter-spacing: .1em; }
.competence-strip span { display: block; margin-top: 4px; color: rgba(255,255,255,.65); font-size: .82rem; }

.facilities { background: var(--purple-dark); color: white; }
.light-heading > p { color: rgba(255,255,255,.63); }
.facility-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 230px 230px; gap: 14px; }
.facility-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: #18042f; }
.facility-gallery .gallery-large { grid-column: span 2; grid-row: span 2; }
.facility-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.facility-gallery figure:hover img { transform: scale(1.04); }
.facility-gallery figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 7px 11px; border-radius: 999px;
  color: white; background: rgba(15,6,24,.72); backdrop-filter: blur(8px); font-size: .8rem;
}

.outcomes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.outcomes-photo { position: relative; }
.outcomes-photo > img { width: 100%; height: 650px; object-fit: cover; border-radius: var(--radius); }
.photo-note {
  position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 18px 22px; color: white;
  background: rgba(39,8,79,.9); border-radius: 14px; backdrop-filter: blur(12px);
}
.photo-note strong, .photo-note span { display: block; }
.photo-note span { color: rgba(255,255,255,.7); font-size: .88rem; }
.benefit-list { margin-top: 46px; }
.benefit-list > div { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.benefit-list span { color: var(--purple); font-weight: 800; }
.benefit-list strong { display: block; margin-bottom: 3px; color: var(--ink); }
.benefit-list p { color: var(--muted); }

.standards { padding: 100px 0; color: white; text-align: center; background: var(--purple); }
.standards-inner { max-width: 830px; }
.standards h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.standards p:not(.eyebrow) { max-width: 720px; margin: 28px auto 30px; color: rgba(255,255,255,.75); font-size: 1.08rem; }

.admissions { background: white; }
.admissions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.admissions-grid > div > p:not(.eyebrow) { max-width: 540px; margin-top: 28px; color: var(--muted); font-size: 1.08rem; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--purple); font-weight: 700; }
.steps strong { font: 700 1.1rem "Manrope", sans-serif; }
.steps p { margin-top: 4px; color: var(--muted); }

.application-section { padding: 100px 0; background: #160526; color: white; }
.application-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.application-copy { position: sticky; top: 125px; }
.application-copy > p:not(.eyebrow) { max-width: 450px; margin-top: 26px; color: rgba(255,255,255,.68); }
.contact-points { display: flex; gap: 36px; margin-top: 55px; }
.contact-points a { font-weight: 700; }
.contact-points span { display: block; margin-bottom: 3px; color: #bda9cb; font-size: .73rem; text-transform: uppercase; letter-spacing: .12em; }
.application-form { padding: 40px; border-radius: var(--radius); background: white; color: var(--ink); box-shadow: var(--shadow); }
.application-form label { display: block; margin-bottom: 19px; color: #3f3944; font-size: .84rem; font-weight: 700; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.application-form input, .application-form select, .application-form textarea {
  width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid #d9d1dd;
  border-radius: 9px; outline: 0; background: #fff; color: var(--ink);
}
.application-form input:focus, .application-form select:focus, .application-form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-soft); }
.application-form .button { width: 100%; margin-top: 5px; }
.form-note { margin-top: 13px; text-align: center; color: var(--muted); font-size: .75rem; }
.form-success { margin-top: 16px; padding: 12px; border-radius: 8px; background: #e8f6ee; color: #145b39; font-size: .86rem; }

.site-footer { padding: 80px 0 25px; color: #c9becf; background: #0c0312; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 70px; }
.brand-footer img { mix-blend-mode: normal; border-radius: 50%; }
.brand-footer strong { color: white; }
.footer-brand p { max-width: 340px; margin-top: 22px; }
.footer-grid h3 { margin-bottom: 20px; color: white; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) a, .footer-grid > div:not(.footer-brand) span { display: block; margin: 9px 0; font-size: .9rem; }
.footer-grid a:hover { color: white; }
.footer-bottom { margin-top: 70px; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
.whatsapp {
  position: fixed; z-index: 45; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 999px; color: white; background: var(--green);
  box-shadow: 0 10px 30px rgba(0,0,0,.22); font-size: .85rem; font-weight: 700;
}

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute; top: 82px; left: 20px; right: 20px; display: none; flex-direction: column;
    align-items: stretch; gap: 0; padding: 15px; border: 1px solid var(--line);
    border-radius: 14px; background: white; box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav .button { margin-top: 8px; }
  .hero-content { padding-top: 110px; padding-bottom: 165px; }
  .intro-grid, .section-heading, .outcomes-grid, .admissions-grid, .application-grid { grid-template-columns: 1fr; gap: 45px; }
  .programme-grid { grid-template-columns: 1fr 1fr; }
  .programme-card.featured { grid-column: span 2; grid-row: auto; min-height: 520px; }
  .modular-course-grid { grid-template-columns: 1fr; }
  .modular-course-card { display: grid; grid-template-columns: .8fr 1.2fr; }
  .course-image { height: 100%; min-height: 520px; }
  .course-content h3, .course-intro { min-height: 0; }
  .year-grid { grid-template-columns: 1fr; }
  .year-card { min-height: 0; }
  .competence-strip { grid-template-columns: 1fr 1fr; }
  .competence-strip div:nth-child(2) { border-right: 0; }
  .competence-strip div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .facility-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 220px 220px; }
  .facility-gallery .gallery-large { grid-column: span 2; grid-row: auto; }
  .outcomes-photo > img { height: 530px; }
  .application-copy { position: static; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}

@media (min-width: 901px) and (max-height: 800px) {
  h1 { font-size: clamp(3rem, 5vw, 4.5rem); }
  .hero-content { padding-top: 70px; padding-bottom: 130px; }
  .hero-lead { margin-top: 18px; }
  .hero-actions { margin-top: 25px; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .announcement-inner span { display: none; }
  .announcement-inner { justify-content: center; }
  .brand img { width: 48px; height: 48px; }
  .nav-wrap { min-height: 72px; }
  .site-nav { top: 72px; left: 14px; right: 14px; }
  h1 { font-size: 3.25rem; }
  .hero { min-height: 760px; }
  .hero-overlay { background: linear-gradient(0deg, rgba(30,5,55,.98) 0%, rgba(30,5,55,.68) 70%, rgba(30,5,55,.35)); }
  .hero-content { padding: 100px 0 180px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof div { display: none; }
  .hero-proof div:first-child { display: flex; min-height: 90px; border: 0; padding: 0; }
  .intro-grid { gap: 30px; }
  .section-heading { gap: 24px; }
  .programme-grid { grid-template-columns: 1fr; }
  .programme-card.featured { grid-column: auto; min-height: 500px; }
  .modular-course-card { display: flex; }
  .course-image { height: 240px; min-height: 0; }
  .programme-more { align-items: flex-start; flex-direction: column; }
  .competence-strip { grid-template-columns: 1fr; }
  .competence-strip div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .competence-strip div:last-child { border-bottom: 0; }
  .facility-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
  .facility-gallery figure, .facility-gallery .gallery-large { min-width: 86%; height: 420px; scroll-snap-align: start; }
  .outcomes-photo > img { height: 480px; }
  .contact-points, .footer-bottom { flex-direction: column; gap: 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .application-form { padding: 25px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 45px 25px; }
  .footer-brand { grid-column: span 2; }
  .footer-grid > div:last-child { grid-column: span 2; }
  .whatsapp span { display: none; }
  .whatsapp { width: 48px; height: 48px; justify-content: center; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
