:root {
  --night: #07110f;
  --panel: #0d1b18;
  --panel-2: #102520;
  --ink: #f3fff9;
  --soft: rgba(243, 255, 249, 0.74);
  --muted: rgba(243, 255, 249, 0.56);
  --line: rgba(198, 255, 230, 0.16);
  --teal: #2adbb4;
  --mint: #9eea83;
  --gold: #f0bd4f;
  --coral: #ff745c;
  --blue: #55aee8;
  --paper: #f6f8ef;
  --dark-text: #13201d;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(51, 241, 194, 0.16), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(255, 207, 90, 0.12), transparent 28%),
    linear-gradient(180deg, #07110f 0%, #0b1614 42%, #07110f 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  width: 100%;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

section,
header,
footer,
main,
article,
div,
nav,
aside,
form {
  min-width: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 15, 0.72);
  backdrop-filter: blur(22px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 246px;
}

.brand > span:last-child {
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--night);
  background: linear-gradient(135deg, var(--teal), var(--gold));
  border-radius: 14px;
  font-weight: 950;
  box-shadow: 0 0 34px rgba(51, 241, 194, 0.34);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
  overflow-wrap: break-word;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(9px, 1.35vw, 22px);
  color: var(--soft);
  font-size: 0.88rem;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chip-link,
.primary-button,
.secondary-button,
.ghost-button,
.enquiry-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

.chip-link,
.primary-button,
.enquiry-form button {
  color: var(--night);
  background: linear-gradient(135deg, var(--teal), var(--gold));
  border: 0;
  box-shadow: 0 14px 36px rgba(51, 241, 194, 0.22);
}

.secondary-button {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.ghost-button {
  color: var(--ink);
  border: 1px solid var(--line);
  background: transparent;
}

.menu-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  flex: 0 0 auto;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: currentColor;
}

.landing-popup {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(3, 10, 9, 0.82);
  backdrop-filter: blur(18px);
}

.landing-popup.is-open {
  display: flex;
}

.landing-popup-card {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(86vh, 760px);
  overflow: hidden;
  border: 1px solid rgba(198, 255, 230, 0.22);
  border-radius: 8px;
  background: #050d0b;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.56);
}

.landing-popup-card img {
  width: 100%;
  max-height: min(86vh, 760px);
  object-fit: contain;
  background: #050d0b;
}

.landing-popup-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  min-height: 40px;
  padding: 0 14px;
  color: var(--night);
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  font-weight: 950;
  cursor: pointer;
}

.mega-menu {
  position: fixed;
  z-index: 45;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  padding: 112px clamp(18px, 5vw, 72px) 48px;
  background:
    linear-gradient(135deg, rgba(7, 17, 15, 0.98), rgba(12, 36, 31, 0.96)),
    url("assets/circuit-campus.png") center / cover;
  transform: translateY(-105%);
  transition: transform 260ms ease;
  overflow-y: auto;
}

.mega-menu.is-open {
  transform: translateY(0);
}

.mega-links {
  display: grid;
  gap: 12px;
}

.mega-links a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-size: clamp(1.45rem, 4vw, 4.6rem);
  font-weight: 920;
  line-height: 0.95;
}

.mega-links span {
  color: var(--teal);
  font-size: 0.85rem;
}

.mega-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.mega-panel p {
  color: var(--soft);
  line-height: 1.75;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 118px clamp(18px, 5vw, 72px) 34px;
}

.admission-alert {
  position: fixed;
  z-index: 60;
  top: 78px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 42px;
  padding: 9px clamp(14px, 4vw, 52px);
  color: var(--night);
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--mint));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.admission-alert span {
  padding: 5px 9px;
  border: 1px solid rgba(7, 17, 15, 0.28);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admission-alert strong {
  font-size: 0.92rem;
}

.admission-alert a {
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 10, 9, 0.72) 0%, rgba(3, 10, 9, 0.32) 44%, rgba(3, 10, 9, 0.08) 100%),
    linear-gradient(0deg, rgba(3, 10, 9, 0.82) 0%, rgba(3, 10, 9, 0.18) 58%, rgba(3, 10, 9, 0.08) 100%);
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050d0b;
  filter: saturate(1.04) contrast(1.02) brightness(0.96);
}

.hero-art {
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(51, 241, 194, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 241, 194, 0.18) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 7px, 9px 100%;
  opacity: 0.16;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(300px, 0.46fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  width: 100%;
}

.hero-home .hero-content {
  grid-template-columns: minmax(0, 1fr);
}

.hero-home .hero-copy-wrap {
  max-width: 720px;
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.72);
  }
}

.media-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(51, 241, 194, 0.16), transparent 30%),
    #07110f;
}

.media-copy {
  max-width: 780px;
}

.media-copy p {
  color: var(--soft);
  line-height: 1.72;
}

.blueprint-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 20%, rgba(42, 219, 180, 0.18), transparent 28%),
    linear-gradient(135deg, #f8fbf4 0%, #eff7ee 48%, #fff4dc 100%);
}

.blueprint-teaser p {
  color: rgba(19, 32, 29, 0.68);
  line-height: 1.7;
}

.spark-copy {
  max-width: 820px;
}

.spark-tags,
.spark-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.spark-tags span {
  padding: 9px 12px;
  color: #15342d;
  border: 1px solid rgba(26, 88, 72, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 900;
}

.spark-preview {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  color: var(--soft);
  border: 1px solid rgba(198, 255, 230, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(7, 17, 15, 0.96), rgba(18, 50, 42, 0.94));
  box-shadow: 0 28px 70px rgba(7, 17, 15, 0.22);
}

.spark-preview h3 {
  color: var(--white);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.spark-badge {
  justify-self: start;
  padding: 7px 10px;
  color: var(--night);
  border-radius: 999px;
  background: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.spark-score {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(198, 255, 230, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.spark-score strong {
  color: var(--teal);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 0.88;
}

.spark-status strong {
  font-size: clamp(1.35rem, 4vw, 2.15rem);
  line-height: 1;
}

.spark-score span {
  color: var(--soft);
  font-weight: 850;
}

.spark-preview ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--soft);
  line-height: 1.55;
}

.blueprint-hero {
  background:
    linear-gradient(135deg, rgba(7, 17, 15, 0.86), rgba(14, 36, 33, 0.92)),
    url("assets/circuit-campus.png") center / cover;
}

.blueprint-tool {
  background:
    radial-gradient(circle at 85% 10%, rgba(42, 219, 180, 0.15), transparent 30%),
    #07110f;
}

.blueprint-form,
.blueprint-gate,
.blueprint-report {
  display: grid;
  gap: 18px;
}

.blueprint-step,
.blueprint-gate,
.report-hero-card,
.report-grid article,
.score-panel,
.match-card {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.blueprint-fields,
.choice-grid,
.report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.blueprint-fields label,
.blueprint-lead-form label,
.choice-grid label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 850;
}

.blueprint-fields input,
.blueprint-fields select,
.blueprint-lead-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.blueprint-error {
  margin: 0;
  padding: 14px 16px;
  color: #ffe9e1;
  border: 1px solid rgba(255, 117, 90, 0.7);
  border-radius: 8px;
  background: rgba(255, 82, 54, 0.14);
  box-shadow: 0 16px 40px rgba(80, 10, 0, 0.2);
  font-weight: 850;
  line-height: 1.55;
}

.blueprint-error[hidden] {
  display: none;
}

.blueprint-fields label.is-invalid,
.choice-grid fieldset.is-invalid legend {
  color: #ffd0c2;
}

.blueprint-fields label.is-invalid input,
.blueprint-fields label.is-invalid select,
.choice-grid fieldset.is-invalid {
  border-color: rgba(255, 117, 90, 0.9);
  background: rgba(255, 82, 54, 0.1);
}

.choice-grid fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.choice-grid legend {
  padding: 0 8px;
  color: var(--gold);
  font-weight: 950;
}

.choice-grid label {
  grid-template-columns: auto 1fr;
  align-items: center;
  color: var(--soft);
  font-weight: 700;
}

.blueprint-note {
  color: var(--muted);
  line-height: 1.6;
}

.blueprint-gate {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  align-items: center;
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(42, 219, 180, 0.13), rgba(240, 189, 79, 0.1));
}

.blueprint-lead-form {
  display: grid;
  gap: 12px;
}

.blueprint-report {
  margin-top: 28px;
}

.report-hero-card h2 {
  color: var(--gold);
}

.archetype-score {
  display: inline-grid;
  gap: 6px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.archetype-score span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.archetype-score strong {
  color: var(--teal);
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.9;
}

.report-grid ul,
.report-grid li {
  color: var(--soft);
  line-height: 1.7;
}

.score-bars {
  display: grid;
  gap: 12px;
}

.score-row {
  display: grid;
  gap: 8px;
}

.score-row > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--soft);
  font-weight: 850;
}

.score-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.score-track span {
  display: block;
  height: 100%;
  width: var(--score);
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: inherit;
}

.match-card {
  display: grid;
  gap: 12px;
  justify-items: start;
  background: linear-gradient(135deg, rgba(42, 219, 180, 0.16), rgba(240, 189, 79, 0.12));
}

.match-card strong {
  color: var(--gold);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.9;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.video-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(198, 255, 230, 0.2);
  border-radius: 8px;
  background: #050d0b;
  box-shadow: var(--shadow);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-card figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid rgba(198, 255, 230, 0.18);
  border-radius: 999px;
  background: rgba(3, 10, 9, 0.62);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 900;
}

.video-card figcaption span {
  width: 10px;
  height: 10px;
  background: #23f08f;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(35, 240, 143, 0.16), 0 0 18px rgba(35, 240, 143, 0.72);
  animation: pulse-dot 1.7s ease-in-out infinite;
}

.hero-copy-wrap {
  max-width: 620px;
  min-width: 0;
  padding: clamp(16px, 2.2vw, 26px);
  border: 1px solid rgba(198, 255, 230, 0.2);
  border-radius: 8px;
  background: rgba(3, 10, 9, 0.46);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.85rem, 6.8vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.15rem, 4.8vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  overflow-wrap: break-word;
}

.hero-copy,
.lead {
  color: var(--soft);
  font-size: clamp(1.04rem, 1.7vw, 1.32rem);
  line-height: 1.75;
}

.hero .hero-copy {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.signal-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 24, 21, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  min-width: 0;
}

.signal-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.signal-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.signal-row b {
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
}

.signal-row span {
  color: var(--muted);
  line-height: 1.45;
}

.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: 44px;
  border-block: 1px solid var(--line);
  color: var(--night);
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--mint));
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: rgba(198, 255, 230, 0.12);
}

.stats-strip article {
  min-height: 190px;
  padding: clamp(22px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
}

.stats-strip b {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: clamp(2.6rem, 6vw, 6.8rem);
  line-height: 0.86;
}

.stats-strip span {
  color: var(--soft);
  font-weight: 800;
  line-height: 1.45;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker span {
  padding: 13px 26px;
  font-weight: 900;
  white-space: nowrap;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.section.light {
  color: var(--dark-text);
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.56fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  margin-bottom: clamp(30px, 5vw, 62px);
}

.section-heading p:not(.eyebrow),
.section.light p,
.page-intro p {
  color: rgba(19, 32, 29, 0.68);
  line-height: 1.75;
}

.section:not(.light) .section-heading p:not(.eyebrow),
.section:not(.light) .lead {
  color: var(--soft);
}

.story-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.story-steps a {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  transition:
    transform 180ms ease,
    background 180ms ease;
  min-width: 0;
}

.story-steps a:hover {
  background: rgba(51, 241, 194, 0.1);
  transform: translateY(-6px);
}

.story-steps b {
  color: var(--teal);
  font-size: 0.9rem;
}

.story-steps strong {
  font-size: clamp(1.28rem, 2.2vw, 2.25rem);
  line-height: 1;
}

.story-steps span {
  color: var(--muted);
  line-height: 1.55;
}

.feature-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pillar-card {
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(19, 32, 29, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(232, 247, 241, 0.96)),
    var(--paper);
  box-shadow: 0 18px 54px rgba(19, 32, 29, 0.08);
}

.pillar-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: var(--night);
  background: linear-gradient(135deg, var(--teal), var(--gold));
  border-radius: 8px;
  font-weight: 950;
}

.pillar-card p {
  color: rgba(19, 32, 29, 0.66);
  line-height: 1.65;
}

.five-d-section {
  background:
    linear-gradient(180deg, rgba(244, 251, 243, 0.96), rgba(226, 245, 238, 0.96)),
    var(--paper);
}

.five-d-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
}

.five-d-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(19, 32, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(19, 32, 29, 0.14);
}

.five-d-image::after {
  position: absolute;
  inset: 18px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(51, 241, 194, 0.42);
  border-radius: 6px;
}

.five-d-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.five-d-pillars {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 12px;
}

.five-d-pillars article {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 16px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(19, 32, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(19, 32, 29, 0.08);
}

.five-d-pillars article::after {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  content: "";
  border-top: 1px solid rgba(51, 241, 194, 0.58);
  border-right: 1px solid rgba(51, 241, 194, 0.58);
}

.five-d-pillars span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--night);
  background: linear-gradient(135deg, var(--teal), var(--gold));
  border-radius: 8px;
  font-weight: 950;
}

.five-d-pillars h3 {
  margin-bottom: 6px;
  color: var(--dark-text);
  text-transform: uppercase;
}

.five-d-pillars p {
  margin-bottom: 0;
  color: rgba(19, 32, 29, 0.66);
  line-height: 1.55;
}

.feature-card,
.facility-card,
.path-card,
.news-card,
.contact-card {
  overflow: hidden;
  border: 1px solid rgba(19, 32, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(19, 32, 29, 0.1);
  min-width: 0;
}

.feature-card img,
.facility-card img,
.news-card img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
}

.feature-card,
.facility-card {
  position: relative;
}

.feature-card::after,
.facility-card::after {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  content: "";
  border: 1px solid rgba(51, 241, 194, 0.6);
  border-left: 0;
  border-bottom: 0;
}

.feature-card div,
.facility-card div,
.path-card,
.news-card div,
.contact-card {
  padding: 22px;
}

.feature-card p,
.facility-card p,
.path-card p,
.news-card p,
.contact-card p {
  color: rgba(19, 32, 29, 0.66);
  line-height: 1.65;
}

.dark-band {
  background:
    linear-gradient(135deg, rgba(12, 28, 25, 0.96), rgba(10, 22, 31, 0.96)),
    url("assets/circuit-campus.png") center / cover fixed;
}

.metric-grid,
.facility-grid,
.path-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.metric b {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.9;
}

.metric span {
  color: var(--soft);
  line-height: 1.55;
}

.vision-wall {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.vision-photo {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.vision-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
}

.vision-photo::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, rgba(3, 10, 9, 0.94), rgba(3, 10, 9, 0.44) 62%, rgba(3, 10, 9, 0.14)),
    linear-gradient(90deg, rgba(3, 10, 9, 0.72), transparent 72%);
}

.vision-photo div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(22px, 4vw, 40px);
  margin: clamp(14px, 2vw, 24px);
  border: 1px solid rgba(198, 255, 230, 0.2);
  border-radius: 8px;
  background: rgba(3, 10, 9, 0.62);
  backdrop-filter: blur(14px);
}

.vision-photo h3 {
  max-width: 620px;
  font-size: clamp(1.8rem, 3.8vw, 4.4rem);
  line-height: 0.94;
}

.vision-photo p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.vision-stack {
  display: grid;
  gap: 18px;
}

.vision-mini {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.vision-mini img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.04);
}

.vision-mini span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 13px 14px;
  color: var(--night);
  background: linear-gradient(135deg, var(--teal), var(--gold));
  border-radius: 8px;
  font-weight: 900;
}

.life-section {
  background:
    linear-gradient(135deg, rgba(7, 17, 15, 0.94), rgba(14, 36, 33, 0.94)),
    url("assets/circuit-campus.png") center / cover;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.life-grid article {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.life-grid img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06);
  transition: transform 240ms ease;
}

.life-grid article:hover img {
  transform: scale(1.05);
}

.life-grid article::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(7, 17, 15, 0.82), transparent 62%);
}

.life-grid span {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 16px;
  left: 16px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.12;
}

.founder-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, rgba(51, 241, 194, 0.16), transparent 30%),
    #07110f;
}

.founder-note h2 {
  max-width: 960px;
}

.founder-note p {
  color: var(--soft);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 152px clamp(18px, 5vw, 72px) 74px;
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  right: -10%;
  bottom: -18%;
  width: 58vw;
  height: 58vw;
  content: "";
  background: url("assets/circuit-campus.png") center / cover;
  opacity: 0.34;
  border-radius: 50%;
  filter: blur(1px);
}

.page-intro {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.page-intro h1 {
  font-size: clamp(3.2rem, 8.5vw, 8.6rem);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.split-section img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 1.25;
  object-fit: cover;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.text-stack article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.text-stack p {
  color: var(--soft);
  line-height: 1.7;
}

.facility-grid,
.path-grid,
.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.location-switch,
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.location-switch button {
  min-height: 44px;
  padding: 0 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  font-weight: 900;
}

.location-switch button.is-active {
  color: var(--night);
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  box-shadow: 0 14px 36px rgba(51, 241, 194, 0.22);
}

.contact-section .contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.contact-card {
  position: relative;
}

.contact-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 9px;
  color: #12362e;
  border-radius: 999px;
  background: rgba(51, 241, 194, 0.18);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-card.is-active {
  border-color: rgba(51, 241, 194, 0.7);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 255, 247, 0.98));
  box-shadow: 0 22px 70px rgba(51, 241, 194, 0.2);
}

.contact-card.is-active::after {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 14px;
  height: 14px;
  content: "";
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 7px rgba(51, 241, 194, 0.16);
}

.map-frame {
  position: relative;
  min-height: 420px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(198, 255, 230, 0.2);
  border-radius: 8px;
  background: #07110f;
  box-shadow: var(--shadow);
}

.map-frame::before {
  position: absolute;
  z-index: 1;
  inset: 14px auto auto 14px;
  content: "Live location view";
  padding: 8px 10px;
  color: var(--night);
  border-radius: 999px;
  background: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  pointer-events: none;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.facility-card h3,
.path-card h3,
.contact-card h3 {
  color: var(--dark-text);
}

.admission-steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.admission-steps article {
  counter-increment: step;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.admission-steps article::before {
  content: "0" counter(step);
  color: var(--teal);
  font-size: 2.5rem;
  font-weight: 950;
}

.admission-steps p {
  color: var(--soft);
  line-height: 1.65;
}

.faq-section {
  background:
    radial-gradient(circle at 82% 8%, rgba(51, 241, 194, 0.14), transparent 28%),
    #07110f;
}

.faq-feature,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.faq-feature {
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(51, 241, 194, 0.16), rgba(255, 207, 90, 0.12));
}

.faq-feature summary,
.faq-list summary {
  cursor: pointer;
  padding: 22px;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 950;
  line-height: 1.25;
}

.faq-feature p,
.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--soft);
  line-height: 1.72;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-teaser {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.72fr) auto;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.faq-teaser p {
  color: rgba(19, 32, 29, 0.68);
  line-height: 1.7;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.enquiry-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.enquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.enquiry-form textarea {
  min-height: 120px;
  padding-top: 14px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  color: #fff;
  background: #1fae62;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(31, 174, 98, 0.36);
  font-weight: 950;
}

.parent-chatbot {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 72;
  width: auto;
  color: var(--ink);
}

.parent-chatbot-toggle {
  position: relative;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 8px;
  align-items: center;
  justify-items: start;
  min-height: 48px;
  width: auto;
  padding: 7px 12px 7px 7px;
  color: var(--night);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  box-shadow: 0 18px 45px rgba(51, 241, 194, 0.28), 0 0 0 8px rgba(51, 241, 194, 0.08);
  cursor: pointer;
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.parent-chatbot-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(51, 241, 194, 0.34), 0 0 0 10px rgba(240, 189, 79, 0.12);
}

.parent-chatbot-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  color: var(--gold);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.28), transparent 32%),
    #07110f;
  box-shadow: inset 0 0 0 2px rgba(7, 17, 15, 0.18), 0 0 24px rgba(7, 17, 15, 0.28);
  font-size: 0.78rem;
  font-weight: 950;
}

.parent-chatbot-icon::before,
.parent-chatbot-icon::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.parent-chatbot-icon::before {
  inset: 6px;
  border: 1px solid rgba(51, 241, 194, 0.72);
}

.parent-chatbot-icon::after {
  width: 5px;
  height: 5px;
  right: 8px;
  top: 8px;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
}

.parent-chatbot-copy strong {
  color: inherit;
  font-size: 0.9rem;
  line-height: 1.1;
  white-space: nowrap;
}

.parent-chatbot-ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1fae62;
  box-shadow: 0 0 0 0 rgba(31, 174, 98, 0.5);
  animation: chatbot-ping 1.9s ease-out infinite;
}

.parent-chatbot-dismiss {
  position: absolute;
  right: -7px;
  top: -9px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  color: var(--ink);
  border: 1px solid rgba(198, 255, 230, 0.28);
  border-radius: 50%;
  background: rgba(7, 17, 15, 0.96);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 950;
}

@keyframes chatbot-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 174, 98, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(31, 174, 98, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(31, 174, 98, 0);
  }
}

.parent-chatbot-panel {
  overflow: hidden;
  margin-bottom: 12px;
  width: min(380px, calc(100vw - 36px));
  border: 1px solid rgba(198, 255, 230, 0.22);
  border-radius: 8px;
  background: rgba(7, 17, 15, 0.96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.parent-chatbot-head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(198, 255, 230, 0.16);
  background: linear-gradient(135deg, rgba(51, 241, 194, 0.14), rgba(240, 189, 79, 0.1));
}

.parent-chatbot-head span,
.parent-chatbot-head strong {
  display: block;
}

.parent-chatbot-head span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.parent-chatbot-head strong {
  color: var(--white);
  font-size: 1.05rem;
}

.parent-chatbot-head button {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: var(--night);
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  cursor: pointer;
  font-weight: 950;
}

.parent-chatbot-messages {
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding: 16px;
}

.parent-chatbot-message {
  max-width: 92%;
  padding: 11px 12px;
  border-radius: 8px;
  line-height: 1.5;
  font-size: 0.92rem;
}

.parent-chatbot-message.is-bot {
  justify-self: start;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.07);
}

.parent-chatbot-message.is-user {
  justify-self: end;
  color: var(--night);
  background: linear-gradient(135deg, var(--teal), var(--gold));
  font-weight: 850;
}

.parent-chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
}

.parent-chatbot-quick button {
  padding: 8px 10px;
  color: var(--ink);
  border: 1px solid rgba(198, 255, 230, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
}

.parent-chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid rgba(198, 255, 230, 0.14);
}

.parent-chatbot-form input {
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.parent-chatbot-form button,
.parent-chatbot-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 13px;
  color: var(--night);
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  cursor: pointer;
  font-weight: 950;
}

.parent-chatbot-whatsapp {
  margin: 0 16px 16px;
  color: #fff;
  background: #1fae62;
}

.site-footer {
  padding: 42px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #050d0b;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(140px, 0.5fr));
  gap: 28px;
}

.site-footer h3,
.site-footer strong {
  color: var(--ink);
}

.site-footer a,
.site-footer p,
.site-footer span {
  display: block;
  color: var(--muted);
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .hero-content,
  .section-heading,
  .split-section,
  .contact-section,
  .faq-teaser,
  .blueprint-teaser,
  .blueprint-gate,
  .media-showcase,
  .mega-menu {
    grid-template-columns: 1fr;
  }

  .story-steps,
  .metric-grid,
  .stats-strip,
  .pillar-grid,
  .life-grid,
  .facility-grid,
  .path-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-showcase {
    grid-template-columns: 1fr;
  }

  .blueprint-fields,
  .choice-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .vision-wall {
    grid-template-columns: 1fr;
  }

  .founder-note {
    grid-template-columns: 1fr;
  }

  .five-d-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 70px;
    padding: 10px 14px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex: 0 0 auto;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    max-width: 116px;
    font-size: 0.58rem;
    white-space: normal;
  }

  .chip-link {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 42px 14px 34px;
  }

  .admission-alert {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    justify-content: stretch;
    gap: 8px;
    min-height: 0;
    margin-top: 70px;
    padding: 9px 14px;
  }

  .admission-alert strong {
    min-width: 0;
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .admission-alert a,
  .admission-alert span {
    flex: 0 0 auto;
  }

  .mega-menu {
    padding: 88px 14px 24px;
    align-items: start;
  }

  .mega-links a {
    padding: 14px;
    font-size: clamp(1.35rem, 10vw, 2.7rem);
  }

  h1,
  .page-intro h1 {
    font-size: clamp(2.85rem, 13.5vw, 4.75rem);
    line-height: 0.9;
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.6rem);
    line-height: 0.95;
  }

  .hero-content {
    gap: 20px;
  }

  .signal-card {
    padding: 16px;
  }

  .signal-row {
    grid-template-columns: 62px 1fr;
    gap: 10px;
  }

  .signal-row b {
    font-size: 1.35rem;
  }

  .hero-actions a {
    width: 100%;
  }

  .story-steps,
  .metric-grid,
  .stats-strip,
  .pillar-grid,
  .five-d-pillars,
  .life-grid,
  .facility-grid,
  .path-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .story-steps a {
    min-height: 190px;
  }

  .vision-photo {
    min-height: 390px;
  }

  .vision-photo div {
    padding: 18px;
  }

  .vision-photo h3 {
    font-size: clamp(1.75rem, 10vw, 3rem);
  }

  .vision-mini,
  .life-grid article {
    min-height: 230px;
  }

  .section {
    padding: 56px 14px;
  }

  .stats-strip {
    padding: 0;
  }

  .stats-strip article {
    min-height: 145px;
  }

  .page-hero {
    padding: 118px 14px 54px;
  }

  .admission-steps article {
    grid-template-columns: 1fr;
  }

  .contact-section .contact-grid {
    grid-template-columns: 1fr;
  }

  .location-switch button,
  .location-actions a {
    flex: 1 1 160px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .parent-chatbot {
    left: 12px;
    bottom: 12px;
    width: auto;
  }

  .parent-chatbot-toggle {
    min-height: 46px;
    gap: 7px;
  }

  .parent-chatbot-icon {
    width: 32px;
    height: 32px;
  }

  .parent-chatbot-copy strong {
    font-size: 0.84rem;
  }

  .parent-chatbot-messages {
    max-height: 240px;
  }

  .parent-chatbot-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 76px;
    width: auto;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .parent-chatbot-head {
    padding: 12px;
  }

  .parent-chatbot-head button {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 1180px) and (min-width: 1051px) {
  .desktop-nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand strong {
    font-size: 0.82rem;
  }

  .brand small {
    max-width: 96px;
  }

  .menu-button {
    width: 42px;
    height: 42px;
  }

  .admission-alert {
    grid-template-columns: 1fr auto;
  }

  .admission-alert span {
    grid-column: 1 / -1;
    justify-self: start;
  }

  h1,
  .page-intro h1 {
    font-size: clamp(2.45rem, 13vw, 3.65rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .hero-copy,
  .lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .mega-panel {
    padding: 18px;
  }

  .mega-panel h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .mega-links a {
    gap: 10px;
    font-size: clamp(1.25rem, 9vw, 2.3rem);
  }

  .story-steps a,
  .pillar-card,
  .five-d-pillars article,
  .feature-card div,
  .facility-card div,
  .path-card,
  .news-card div,
  .contact-card,
  .metric,
  .enquiry-form,
  .blueprint-step,
  .blueprint-gate,
  .report-hero-card,
  .report-grid article,
  .score-panel,
  .match-card {
    padding: 18px;
  }

  .feature-card img,
  .facility-card img,
  .news-card img {
    aspect-ratio: 1.12;
  }

  .life-grid article,
  .vision-mini {
    min-height: 205px;
  }

  .vision-photo {
    min-height: 360px;
  }

  .signal-row {
    grid-template-columns: 1fr;
  }

  .five-d-pillars article {
    grid-template-columns: 1fr;
  }

  .five-d-pillars span {
    margin-bottom: 14px;
  }

}

@media (max-width: 360px) {
  .site-header {
    padding-inline: 10px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand small {
    display: none;
  }

  .section,
  .hero,
  .page-hero,
  .admission-alert {
    padding-inline: 10px;
  }
}
