@import url("tokens.css");

/* Shared loading screen */
.page-preloader {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: var(--ink);
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}
html.is-loading {
  overflow: hidden;
}
html.is-loading .page-preloader {
  opacity: 1;
  visibility: visible;
}
.page-preloader-content {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}
.page-preloader-content img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}
.page-preloader-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--line);
  border-top-color: var(--sun);
  border-radius: 50%;
  animation: page-preloader-spin 850ms linear infinite;
}
.page-preloader-label {
  color: var(--ink-2);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
}
@keyframes page-preloader-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-preloader {
    transition: none;
  }
  .page-preloader-spinner {
    animation: none;
  }
}
/* Shared logo variants */
.brand-emblem {
  width: 46px;
  height: 48px;
  display: block;
  overflow: hidden;
  flex: 0 0 46px;
}
.brand-emblem img {
  width: 76px;
  max-width: none;
  transform: translateX(-15px);
  transform-origin: top center;
}
.brand {
  color: var(--ink);
}
.brand-mark {
  display: none;
}
.footer .brand-emblem {
  width: 50px;
  height: 52px;
  flex-basis: 50px;
}
.footer .brand {
  color: #fff;
}
/* Shared page call to action */
.universal-cta {
  padding: 4.6rem 0;
  background: #071a44;
  color: #fff;
}
.universal-cta .cta-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}
.universal-cta .eyebrow {
  color: var(--sun);
}
.universal-cta h2 {
  font-size: clamp(2.35rem, 4.2vw, 4.25rem);
  max-width: 590px;
  margin: 0.65rem 0 0;
}
.universal-cta p {
  color: #e0ddef;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 0 1.25rem;
}
.universal-cta .btn {
  background: var(--sun);
  color: var(--ink);
}
@media (max-width: 800px) {
  .universal-cta {
    padding: 3.4rem 0;
  }
  .universal-cta .cta-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .universal-cta h2 {
    max-width: 520px;
  }
}
@media (max-width: 560px) {
  .universal-cta h2 {
    font-size: 2.35rem;
  }
}
/* Align the portal action when the desktop links collapse into the menu. */
@media (max-width: 1100px) {
  .nav-actions {
    margin-left: auto;
  }
  .nav-actions .btn {
    padding: 0.6rem 0.9rem;
  }
}
.nav.container {
  width: min(calc(100% - 48px), var(--header-container));
}

/* Base document styles */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
}
button,
a {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  width: min(calc(100% - 40px), var(--container));
  margin: auto;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--indigo);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--sun);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.055em;
  line-height: 0.98;
}
h1 {
  font-size: clamp(2.9rem, 5.8vw, 5.4rem);
  font-weight: 600;
}
h2 {
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  font-weight: 600;
}
h3 {
  line-height: 1.15;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.88rem 1.25rem;
  font-weight: 750;
  transition:
    0.2s transform,
    0.2s background,
    0.2s box-shadow;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 8px 20px rgba(7, 29, 77, 0.26);
}
.btn-primary:hover {
  background: #05153a;
}
.btn-sun {
  background: var(--sun);
  color: var(--ink);
}
.btn-ghost {
  border-color: var(--line);
  background: var(--white);
}
.btn .arrow {
  font-size: 1.25em;
  line-height: 0;
}
/* Shared site header and navigation */
.site-header {
  height: 74px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 18px rgba(40, 32, 105, 0.035);
}
.site-header.is-scrolled {
  border-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--indigo);
  border-radius: 12px;
  color: var(--sun);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
}
.brand small {
  display: block;
  color: var(--ink-2);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
}
.nav-links a:hover {
  color: var(--indigo);
}
.nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.nav-actions .btn {
  padding: 0.61rem 0.95rem;
  font-size: 0.82rem;
}
.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
}
/* Home page hero */
.hero {
  overflow: hidden;
  position: relative;
  padding: 4.1rem 0 3.7rem;
  background: radial-gradient(
      circle at 85% 18%,
      rgba(118, 120, 237, 0.22),
      transparent 25%
    ),
    radial-gradient(circle at 10% 48%, rgba(247, 184, 1, 0.16), transparent 23%);
}
.hero:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(7, 29, 77, 0.1);
  border-radius: 50%;
  right: -220px;
  top: 35px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 1;
}
.announcement {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.48rem 0.75rem 0.48rem 0.5rem;
  border: 1px solid rgba(7, 29, 77, 0.16);
  border-radius: 999px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--indigo);
  box-shadow: var(--shadow-sm);
}
.announcement b {
  background: var(--sun);
  color: var(--ink);
  padding: 0.22rem 0.45rem;
  border-radius: 99px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero h1 {
  margin: 0.9rem 0 1.3rem;
  max-width: 680px;
}
.hero h1 em {
  font-style: normal;
  color: var(--indigo);
  position: relative;
  white-space: nowrap;
}
.hero h1 em:after {
  content: "";
  position: absolute;
  left: 3%;
  bottom: -4px;
  width: 95%;
  height: 9px;
  background: var(--sun);
  z-index: -1;
  transform: rotate(-1deg);
}
.hero-copy {
  font-size: 1.04rem;
  max-width: 560px;
  color: var(--ink-2);
  margin-bottom: 1.45rem;
}
.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--ink-2);
}
.avatar-stack {
  display: flex;
}
.avatar-stack span {
  width: 28px;
  height: 28px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--violet);
  margin-right: -8px;
}
.avatar-stack span:nth-child(2) {
  background: var(--sun);
}
.avatar-stack span:nth-child(3) {
  background: var(--orange);
}
.hero-visual {
  position: relative;
}
.glow {
  position: absolute;
  inset: 7% 6% 2%;
  background: linear-gradient(
    130deg,
    rgba(118, 120, 237, 0.45),
    rgba(247, 184, 1, 0.2)
  );
  filter: blur(44px);
  border-radius: 35%;
  transform: rotate(-8deg);
}
.browser {
  position: relative;
  background: #fff;
  border: 1px solid rgba(7, 29, 77, 0.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}
.browser-top {
  height: 33px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: #fcfcff;
}
.browser-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7d5e6;
}
.browser-body {
  padding: 16px;
  background: linear-gradient(145deg, #fff 0%, #f6f5fd 100%);
}
.screen-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
  font-size: 0.65rem;
  font-weight: 800;
}
.screen-heading b {
  font-size: 0.8rem;
}
.screen-chip {
  background: #f7edcf;
  color: var(--indigo);
  padding: 4px 7px;
  border-radius: 99px;
}
.screen-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.screen-stat {
  padding: 9px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.screen-stat strong {
  display: block;
  font-size: 0.8rem;
  color: var(--indigo);
}
.screen-stat span {
  font-size: 0.55rem;
  color: var(--ink-2);
}
.screen-course {
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.screen-course img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  filter: saturate(0.8);
}
.screen-course div {
  padding: 9px;
  font-size: 0.66rem;
  font-weight: 800;
}
.screen-course p {
  margin: 3px 0 0;
  font-size: 0.56rem;
  color: var(--ink-2);
}
.floating-card {
  position: absolute;
  z-index: 2;
  right: -22px;
  bottom: 30px;
  width: 170px;
  background: #fff;
  padding: 13px;
  border-radius: 13px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(7, 29, 77, 0.1);
  font-size: 0.68rem;
}
.floating-card span {
  color: var(--success);
  font-weight: 800;
}
.floating-card strong {
  display: block;
  font-size: 0.8rem;
  margin-top: 2px;
}
.logo-strip {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.logo-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.logo-strip p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-types {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 1.2rem;
  white-space: nowrap;
  opacity: 1;
}
/* Home page content sections */
.section {
  padding: var(--space-6) 0;
}
.section-intro {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}
.section-intro p {
  color: var(--ink-2);
  max-width: 470px;
  margin: 0;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.pillar {
  padding: 1.6rem;
  border-right: 1px solid var(--line);
  min-height: 245px;
  position: relative;
}
.pillar:last-child {
  border: 0;
}
.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--indigo);
  font-weight: 900;
  font-size: 1.15rem;
  margin-bottom: 3rem;
}
.pillar-icon img {
  display: block;
  width: 23px;
  height: 23px;
  object-fit: contain;
}
.pillar:nth-child(2) .pillar-icon {
  background: #fff5d6;
  color: #9a6500;
}
.pillar:nth-child(3) .pillar-icon {
  background: #f4eaff;
  color: #7040a0;
}
.pillar:nth-child(4) .pillar-icon {
  background: #fff0df;
  color: #bd6500;
}
.pillar h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.pillar p {
  font-size: 0.87rem;
  color: var(--ink-2);
  margin-bottom: 0;
}
.pillar:after {
  content: attr(data-number);
  position: absolute;
  right: 15px;
  top: 13px;
  color: rgba(7, 29, 77, 0.08);
  font-family: var(--font-display);
  font-size: 3.6rem;
}
.schools {
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}
.schools:after {
  content: "";
  position: absolute;
  right: -10%;
  top: -38%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(247, 184, 1, 0.2);
  border-radius: 50%;
}
.schools .eyebrow {
  color: var(--sun);
}
.schools .section-intro p {
  color: #c9c7dc;
}
.school-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: 220px 220px;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.school-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  background: #102654;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.school-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.46;
  transition: 0.4s transform;
}
.school-card:hover img {
  transform: scale(1.06);
}
.school-card:after {
  content: "";
  inset: 0;
  position: absolute;
  background: linear-gradient(
    10deg,
    rgba(17, 14, 43, 0.93),
    rgba(17, 14, 43, 0.08)
  );
}
.school-card .card-content {
  position: absolute;
  bottom: 1.3rem;
  left: 1.4rem;
  right: 1.2rem;
  z-index: 1;
}
.school-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  margin: 0;
}
.school-card p {
  font-size: 0.78rem;
  color: #d7d5e8;
  margin: 0.35rem 0 0;
}
.school-card.featured {
  grid-row: span 2;
}
.school-card.featured h3 {
  font-size: 2.4rem;
}
.school-card.accent {
  background: var(--sun);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.school-card.accent p {
  color: #463c15;
}
.school-card.accent .arrow-link {
  font-weight: 800;
}
/* Programme intake highlights */
.split-section {
  padding: var(--space-6) 0;
}
.intakes-wrap {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2rem;
}
.intakes-sidebar {
  background: var(--mist);
  padding: 2rem;
  border-radius: var(--radius-lg);
}
.intakes-sidebar h2 {
  font-size: 2.55rem;
  margin: 0.7rem 0 1.1rem;
}
.intakes-sidebar p {
  color: var(--ink-2);
}
.intakes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.intake {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  min-height: 194px;
  display: flex;
  flex-direction: column;
  transition:
    0.2s box-shadow,
    0.2s transform;
}
.intake:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.tag {
  width: max-content;
  border-radius: 99px;
  padding: 0.22rem 0.5rem;
  background: #edf0f6;
  color: var(--indigo);
  font-size: 0.66rem;
  font-weight: 800;
}
.intake:nth-child(3n) .tag {
  background: #fff2d1;
  color: #875800;
}
.intake h3 {
  font-size: 1.02rem;
  margin: 0.9rem 0 0.4rem;
}
.intake p {
  font-size: 0.79rem;
  color: var(--ink-2);
  margin: 0;
}
.intake a {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--indigo);
  font-size: 0.8rem;
  font-weight: 800;
}
.academy {
  background: #fff;
  overflow: hidden;
}
/* Global career academy tabs */
.academy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.academy-image {
  min-height: 480px;
  position: relative;
}
.academy-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.academy-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 12, 44, 0.5), transparent 55%);
}
.academy-note {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: #fff;
  z-index: 1;
  width: 75%;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.academy-content {
  padding: 3.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(150deg, #071d4d, #05153a);
  color: #fff;
}
.academy-content .eyebrow {
  color: var(--sun);
}
.academy-content h2 {
  margin: 0.8rem 0 1rem;
}
.academy-content p {
  color: #dcd9ed;
}
.academy-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  margin: 1rem 0;
}
.academy-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 0.6rem 0.1rem;
  margin-right: 1.5rem;
  color: #d5d1ed;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
}
.academy-tabs button.active {
  color: #fff;
  border-color: var(--sun);
}
.academy-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.academy-list li {
  margin: 0.6rem 0;
  font-size: 0.88rem;
}
.academy-list li:before {
  content: "✓";
  color: var(--sun);
  font-weight: 900;
  margin-right: 0.65rem;
}
.progression {
  padding: var(--space-6) 0;
  background: linear-gradient(180deg, var(--mist), var(--paper));
}
/* Progression and transparency information */
.pathway {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2.3rem;
}
.path-step {
  position: relative;
  padding: 1.2rem 1.1rem 1.2rem 0;
  border-top: 2px solid var(--indigo);
}
.path-step:not(:last-child):after {
  content: "→";
  position: absolute;
  right: -6px;
  top: -16px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  font-size: 0.85rem;
}
.path-step .step-no {
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 0.08em;
}
.path-step h3 {
  font-size: 1.05rem;
  margin: 0.5rem 0;
}
.path-step p {
  font-size: 0.82rem;
  color: var(--ink-2);
  max-width: 220px;
}
.disclosure {
  margin-top: 2.4rem;
  background: #fff;
  border-left: 4px solid var(--sun);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.2rem;
  font-size: 0.86rem;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
/* Featured video */
.feature-video-section {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4.5rem, 8vw, 7rem);
  background: var(--paper);
}
.feature-video-heading {
  max-width: 960px;
  margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}
.feature-video-heading .eyebrow {
  justify-content: center;
}
.feature-video-heading h2 {
  margin: 0.8rem 0 0;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  line-height: 1.12;
  color: var(--ink);
}
.feature-video-frame {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #071d4d;
  box-shadow: var(--shadow-lg);
}
.feature-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 0;
}
@media (max-width: 1024px) {
  .feature-video-section > .container {
    width: min(100% - 3rem, 960px);
  }
  .feature-video-heading {
    max-width: 820px;
  }
  .feature-video-frame {
    max-width: 880px;
    border-radius: var(--radius-md);
  }
}
@media (max-width: 600px) {
  .feature-video-section > .container {
    width: min(100% - 2rem, 960px);
  }
  .feature-video-frame {
    border-radius: var(--radius-sm);
  }
}
/* Shared final call to action */
.final-cta {
  padding: 5.4rem 0;
  background: var(--indigo);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final-cta:before,
.final-cta:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(247, 184, 1, 0.25);
  border-radius: 50%;
}
.final-cta:before {
  width: 560px;
  height: 560px;
  right: -250px;
  top: -310px;
}
.final-cta:after {
  width: 300px;
  height: 300px;
  left: -150px;
  bottom: -170px;
}
.final-cta .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.final-cta h2 {
  max-width: 760px;
  margin: 1rem auto;
}
.final-cta p {
  color: #d8d5ec;
  max-width: 580px;
  margin: 0 auto 1.6rem;
}
.final-cta .eyebrow {
  justify-content: center;
  color: var(--sun);
}
.final-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}
.final-cta .hero-actions {
  justify-content: center;
}
/* Shared site footer */
.footer {
  padding: 3.2rem 0 1.5rem;
  background: #051535;
  color: #e7e5f1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer .brand {
  color: #fff;
}
.footer-logo-link {
  display: block;
  width: min(100%, 72px);
  margin: 0 0 1rem;
}
.footer-logo-image {
  display: block;
  width: 100%;
  max-width: 72px;
  height: auto;
}
@media (min-width: 621px) and (max-width: 1100px) {
  .footer-logo-link {
    width: min(100%, 60px);
  }
  .footer-logo-image {
    max-width: 60px;
  }
}
.footer .brand small {
  color: #aaa6c6;
}
.footer p {
  font-size: 0.84rem;
  color: #bdb9d1;
  max-width: 330px;
}
.footer h3 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sun);
}
.footer a {
  display: block;
  font-size: 0.84rem;
  color: #c7c4d7;
  margin: 0.5rem 0;
}
.footer a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  color: #aaa6c6;
  font-size: 0.72rem;
}
.reveal {
  animation: rise 0.65s both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-grid,
  .intakes-wrap,
  .academy-layout {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 3.5rem;
  }
  .hero-visual {
    max-width: 600px;
    margin: auto;
  }
  .school-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }
  .school-card.featured {
    grid-row: span 2;
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .academy-image {
    min-height: 340px;
  }
  .academy-content {
    padding: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer-grid > div:last-child {
    display: none;
  }
}
@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }
  .site-header {
    height: 70px;
  }
  .nav-actions .btn-ghost {
    display: none;
  }
  .brand {
    font-size: 0.87rem;
  }
  .hero {
    padding: 2.9rem 0 3.5rem;
  }
  h1 {
    font-size: 3.15rem;
  }
  .trust-row {
    align-items: flex-start;
  }
  .logo-strip .container {
    display: block;
  }
  .logo-strip p {
    margin-bottom: 0.7rem;
  }
  .logo-types {
    overflow: hidden;
    gap: 1.2rem;
    font-size: 1rem;
  }
  .pillars {
    grid-template-columns: 1fr 1fr;
  }
  .pillar {
    min-height: 200px;
    padding: 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  .pillar:nth-child(2) {
    border-right: 0;
  }
  .pillar-icon {
    margin-bottom: 1.7rem;
  }
  .school-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .school-card,
  .school-card.featured {
    min-height: 210px;
    grid-row: auto;
  }
  .school-card.featured {
    min-height: 280px;
  }
  .intakes-grid {
    grid-template-columns: 1fr;
  }
  .academy-image {
    min-height: 300px;
  }
  .academy-content {
    padding: 2.2rem 1.4rem;
  }
  .pathway {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .path-step {
    padding-left: 0;
  }
  .path-step:not(:last-child):after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
  }
  .footer-grid > div:first-child {
    grid-column: span 2;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span {
    display: block;
    margin: 0.35rem 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
