:root {
  color-scheme: light;
  --green-950: #032c20;
  --green-900: #063d2b;
  --green-800: #0a5239;
  --green-700: #126647;
  --green-100: #e5f3e9;
  --lime: #9bcf45;
  --lime-soft: #eef8d4;
  --gold: #f3b83f;
  --gold-soft: #fff3d5;
  --cream: #fffdf6;
  --cream-dark: #f7f3e8;
  --white: #ffffff;
  --surface: #ffffff;
  --surface-raised: #fbfcf9;
  --surface-muted: #f3f8f3;
  --ink: #18352b;
  --muted: #62736b;
  --heading: var(--green-900);
  --accent-text: var(--green-800);
  --line: #dce7df;
  --danger: #a52d2d;
  --danger-soft: #fff0ee;
  --success: #176a47;
  --success-soft: #e8f8ee;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-small: 0 10px 30px rgba(0, 0, 0, 0.1);
  --radius-large: 30px;
  --radius: 20px;
  --container: 1180px;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --surface: #14251e;
  --surface-raised: #1a3027;
  --surface-muted: #203a2e;
  --cream: #0b1713;
  --cream-dark: #101f19;
  --green-100: #1b3b2d;
  --lime-soft: #213c27;
  --gold-soft: #4a3b1c;
  --ink: #edf7ef;
  --muted: #b7cabe;
  --heading: #e2f3e5;
  --accent-text: #bde78d;
  --line: #2b4a3b;
  --danger-soft: #452321;
  --success-soft: #173b2a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --shadow-small: 0 10px 30px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body.menu-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3 {
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.08;
}

p {
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.75;
}

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

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

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

button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  color: var(--green-950);
  background: var(--gold);
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-900);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  color: rgba(255, 255, 255, 0.84);
  background: var(--green-950);
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  gap: 20px;
}

.topbar p {
  margin: 0;
  color: inherit;
  line-height: 1.4;
}

.topbar strong {
  color: var(--white);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar a {
  color: #ddf79c;
  font-weight: 700;
  transition: color 0.2s ease;
}

.topbar a:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(6, 61, 43, 0.08);
  background: var(--cream);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 11px;
  color: var(--heading);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 56px;
  object-fit: contain;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.primary-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.primary-nav > a:not(.button) {
  position: relative;
  padding-block: 10px;
  color: #345248;
  transition: color 0.2s ease;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  content: '';
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.primary-nav > a:not(.button):hover {
  color: var(--heading);
}

.primary-nav > a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: var(--green-100);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--heading);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--heading);
  background: var(--surface);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  gap: 8px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
  background: var(--surface-muted);
  transform: translateY(-1px);
}

.theme-toggle__text {
  display: none;
}

.theme-toggle__icon {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.theme-toggle__icon::after {
  position: absolute;
  top: -3px;
  right: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  content: '';
}

.theme-toggle[aria-pressed='true'] {
  border-color: var(--accent-text);
  color: var(--accent-text);
}

.theme-toggle[aria-pressed='true'] .theme-toggle__icon::after {
  background: var(--surface-muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  background: var(--green-900);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  background: var(--green-700);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.button-gold {
  color: var(--green-950);
  background: var(--gold);
}

.button-gold:hover {
  color: var(--green-950);
  background: #ffca5c;
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
  background: transparent;
}

.button-outline-light:hover {
  border-color: var(--white);
  color: var(--green-950);
  background: var(--surface);
}

.button-small {
  min-height: 42px;
  padding: 11px 18px;
  font-size: 14px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(120deg, var(--green-950), var(--green-800));
}

.hero::before {
  position: absolute;
  width: 520px;
  height: 520px;
  top: -300px;
  right: 24%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.025), 0 0 0 160px rgba(255, 255, 255, 0.018);
  content: '';
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  min-height: 675px;
  padding-top: 72px;
  padding-bottom: 72px;
  gap: 70px;
}

.heading-kicker {
  color: var(--accent-text);
}

.heading-kicker--light {
  color: var(--lime);
}

.hero h1 {
  max-width: 680px;
  margin: 22px 0 23px;
  font-size: clamp(48px, 5.6vw, 75px);
  letter-spacing: -0.045em;
}

.hero h1 span {
  color: #d9f486;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 34px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.hero-contact span {
  color: rgba(255, 255, 255, 0.75);
}

.hero-contact a {
  font-weight: 700;
}

.hero-contact a:hover {
  color: #d9f486;
}

.hero-visual {
  position: relative;
  max-width: 470px;
  justify-self: end;
}

.hero-image-frame {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 88%;
  height: 515px;
  margin-left: auto;
  border: 8px solid rgba(255, 255, 255, 0.14);
  border-radius: 130px 130px 28px 28px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.24);
}

.hero-image-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(3, 44, 32, 0.25));
  content: '';
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.programme-card {
  position: absolute;
  z-index: 3;
  bottom: 32px;
  left: -34px;
  display: flex;
  flex-direction: column;
  width: 255px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  color: var(--green-950);
  background: rgba(255, 253, 246, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.programme-card > span {
  margin-bottom: 10px;
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 800;
}

.programme-card strong {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 20px;
  line-height: 1.2;
}

.programme-card small {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

.hero-pattern {
  position: absolute;
  z-index: 1;
  top: -18px;
  right: -65px;
  width: 210px;
  height: 210px;
  border: 34px solid rgba(155, 207, 69, 0.2);
  border-radius: 50%;
}

.promise-bar {
  position: relative;
  z-index: 3;
  color: var(--white);
  background: var(--green-950);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

.promise-grid {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(5, 1fr);
}

.promise-grid > li {
  display: flex;
  flex-direction: column;
  min-height: 105px;
  justify-content: center;
  padding: 20px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

  .promise-grid > li:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.promise-grid strong {
  color: #d9f486;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 17px;
}

.promise-grid span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  line-height: 1.4;
}

.section {
  padding: 105px 0;
}

.section-heading {
  max-width: 680px;
}

.section-heading h2,
.programme-grid h2,
.application-intro h2,
.contact-card h2 {
  margin: 18px 0 20px;
  color: var(--heading);
  font-size: clamp(36px, 4.1vw, 54px);
  letter-spacing: -0.035em;
}

.section-heading > p,
.section-heading > .text-link {
  margin-bottom: 0;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.centered .text-link {
  margin-top: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  color: var(--accent-text);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--green-950);
}

.about-section {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 90px;
}

.about-copy p {
  margin-bottom: 20px;
  font-size: 17px;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 68px;
  gap: 18px;
}

.outcome-card {
  min-height: 280px;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.outcome-card:hover {
  border-color: #c4d9c7;
  box-shadow: var(--shadow-small);
  transform: translateY(-5px);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 42px;
  border-radius: 50%;
  color: var(--heading);
  background: var(--lime-soft);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.outcome-card h3,
.steps-grid h3,
.rhythm-grid h3,
.curriculum-list h3 {
  color: var(--heading);
  font-size: 21px;
}

.outcome-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.programme-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--green-900);
}

.programme-section::after {
  position: absolute;
  right: -170px;
  bottom: -270px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.015);
  content: '';
}

.programme-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 90px;
}

.programme-grid h2 {
  color: var(--white);
}

.programme-lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 17px;
}

.flyer-panel {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  transform: rotate(-1.5deg);
}

.flyer-panel img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.flyer-panel p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  text-align: center;
}

.curriculum-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.curriculum-list > div {
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.curriculum-list span {
  color: #d9f486;
  font-size: 12px;
  font-weight: 800;
}

.curriculum-list p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.daily-section {
  background: var(--cream-dark);
}

.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 58px;
  gap: 16px;
}

.rhythm-grid article {
  position: relative;
  min-height: 265px;
  padding: 28px 25px;
  border: 1px solid #e4dfd1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.rhythm-grid article > span {
  display: block;
  margin-bottom: 55px;
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 800;
}

.rhythm-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.school-life-section {
  background: var(--surface);
}

.split-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  max-width: none;
  align-items: end;
  gap: 80px;
}

.split-heading h2 {
  margin-bottom: 0;
}

.split-heading > p {
  margin-bottom: 4px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-rows: repeat(2, 330px);
  margin-top: 58px;
  gap: 20px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border-radius: var(--radius-large);
  background: var(--green-900);
}

.gallery-card-large {
  grid-row: 1 / 3;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
}

.gallery-card::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(3, 44, 32, 0.88));
  content: '';
}

.gallery-card figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 25px;
  left: 28px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.gallery-card figcaption strong {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 22px;
}

.gallery-card figcaption span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.admissions-section {
  background: var(--cream);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  gap: 20px;
}

.steps-grid article {
  position: relative;
  min-height: 250px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.steps-grid article > span {
  display: inline-block;
  margin-bottom: 55px;
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 800;
}

.steps-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.document-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 22px;
  padding: 48px 54px;
  border-radius: var(--radius-large);
  color: var(--white);
  background: var(--green-900);
  box-shadow: var(--shadow);
  gap: 60px;
}

.document-panel h3 {
  margin: 17px 0 14px;
  font-size: 32px;
}

.document-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 15px 24px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.5;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--lime);
  content: '✓';
  font-size: 12px;
  font-weight: 900;
}

.faq-section {
  background: var(--surface);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 90px;
}

.faq-grid .section-heading h2 {
  font-size: clamp(36px, 3.6vw, 50px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 25px 46px 25px 0;
  color: var(--heading);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 24px;
  right: 4px;
  display: flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--heading);
  background: var(--green-100);
  content: '+';
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-list details[open] summary::after {
  background: var(--lime-soft);
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 65ch;
  margin: -5px 50px 25px 0;
  font-size: 15px;
}

.application-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--green-950);
}

.application-section::before {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.018), 0 0 0 140px rgba(255, 255, 255, 0.012);
  content: '';
}

.application-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  align-items: start;
  gap: 70px;
}

.application-intro {
  position: sticky;
  top: 120px;
}

.application-intro h2 {
  color: var(--white);
  font-size: clamp(42px, 4.5vw, 59px);
}

.application-intro > p {
  color: rgba(255, 255, 255, 0.88);
}

.application-points {
  display: grid;
  margin-top: 35px;
  gap: 18px;
}

.application-points > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.application-points > div > span {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #d9f486;
  font-size: 11px;
  font-weight: 800;
}

.application-points p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.55;
}

.application-points strong {
  display: block;
  margin-bottom: 2px;
  color: var(--white);
  font-size: 14px;
}

.application-intro .privacy-note {
  margin-top: 38px;
  padding: 19px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
}

.privacy-note strong {
  color: var(--white);
}

.form-card {
  overflow: hidden;
  border-radius: var(--radius-large);
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.22);
}

.form-heading {
  position: relative;
  padding: 35px 42px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-raised);
}

.form-heading .required-note {
  position: absolute;
  top: 36px;
  right: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.required-note span,
.application-form label > span,
.application-form .file-field > span,
.consent-field b {
  color: var(--danger);
}

.form-heading h3 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 30px;
}

.form-heading > p:last-child {
  margin: 0;
  font-size: 13px;
}

.notice {
  margin: 28px 42px 0;
  padding: 16px 18px;
  border: 1px solid;
  border-radius: 13px;
  font-size: 13px;
}

.notice strong,
.notice span {
  display: block;
}

.notice span {
  margin-top: 4px;
}

.notice-success {
  border-color: #addbc1;
  color: var(--success);
  background: var(--success-soft);
}

.notice-error {
  border-color: #eab4ad;
  color: var(--danger);
  background: var(--danger-soft);
}

.application-form {
  padding: 34px 42px 42px;
}

.application-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 0 34px;
  border: 0;
}

.application-form fieldset + fieldset {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.application-form legend {
  width: 100%;
  margin-bottom: 22px;
  color: var(--heading);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 21px;
  font-weight: 900;
}

.form-grid,
.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 16px;
}

.application-form label:not(.file-field, .consent-field) {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #314b41;
  font-size: 12px;
  font-weight: 700;
}

.application-form label.full,
.file-field-wide {
  grid-column: 1 / -1;
}

.application-form input:not([type='checkbox']):not([type='file']),
.application-form select,
.application-form textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid #cfdcd2;
  border-radius: 11px;
  outline: 0;
  color: var(--ink);
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.application-form textarea {
  min-height: 92px;
  resize: vertical;
}

.application-form input::placeholder,
.application-form textarea::placeholder {
  color: #97a49d;
  font-weight: 400;
}

.application-form input:not([type='checkbox']):not([type='file']):focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.14);
}

.application-form input:user-invalid,
.application-form select:user-invalid,
.application-form textarea:user-invalid {
  border-color: #ce7770;
}

.application-form input[readonly] {
  color: var(--muted);
  background: var(--surface-muted);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fieldset-note {
  margin: -12px 0 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.file-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 16px;
  border: 1px dashed #b7cbbd;
  border-radius: 13px;
  background: var(--surface-muted);
  color: #314b41;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
}

.file-field:focus-within {
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

.file-field.has-file {
  border-style: solid;
  border-color: #83bd98;
  background: var(--success-soft);
}

.file-field.is-invalid {
  border-color: #ce7770;
  background: var(--danger-soft);
}

.file-field.is-invalid small {
  color: var(--danger);
  font-weight: 700;
}

.file-field input[type='file'] {
  width: 100%;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
}

.file-field input[type='file']::file-selector-button {
  max-width: 100%;
  margin-right: 10px;
  padding: 8px 10px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: var(--heading);
  background: var(--green-100);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.file-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.file-total {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.file-total.is-over {
  color: var(--danger);
}

.consent-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  margin: 0 0 22px;
  padding: 17px;
  border: 1px solid #cfe0d3;
  border-radius: 13px;
  color: #435b51;
  background: var(--surface-muted);
  font-size: 12px;
  line-height: 1.55;
  gap: 11px;
  cursor: pointer;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent-text);
}

.consent-field span b {
  margin-left: 2px;
}

.submit-button {
  width: 100%;
  min-height: 55px;
  font-size: 15px;
}

.submit-button:disabled {
  color: rgba(255, 255, 255, 0.76);
  background: #739286;
  box-shadow: none;
  cursor: wait;
  transform: none;
}

.form-assurance {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.contact-section {
  padding-bottom: 80px;
  background: var(--surface);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  overflow: hidden;
  padding: 64px 70px;
  border-radius: var(--radius-large);
  color: var(--white);
  background: var(--green-800);
  box-shadow: var(--shadow);
  gap: 65px;
}

.contact-card h2 {
  margin-bottom: 15px;
  color: var(--white);
}

.contact-card > div > p {
  max-width: 580px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.contact-email {
  margin-top: 7px;
  color: #d9f486;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.contact-actions p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  text-align: center;
}

.site-footer {
  padding: 70px 0 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--green-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 0.75fr);
  padding-bottom: 55px;
  gap: 50px;
}

.brand-light {
  color: var(--white);
}

.brand-light small {
  color: rgba(255, 255, 255, 0.75);
}

.footer-brand p {
  max-width: 330px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.site-footer h3 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: 15px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 12px;
  font-size: 13px;
}

.site-footer li a {
  transition: color 0.2s ease;
}

.site-footer li a:hover {
  color: #d9f486;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  gap: 25px;
}

.footer-bottom p {
  margin: 0;
  color: inherit;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.whatsapp-button {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 22px;
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: var(--white);
  background: #087a3e;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}

.whatsapp-button__icon {
  display: block;
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.whatsapp-button:hover {
  background: #066b38;
  transform: translateY(-3px);
}

.button-dark {
  color: var(--white);
  background: var(--green-900);
}

.button-dark:hover {
  color: var(--white);
  background: var(--green-700);
}

.button-outline-dark {
  border-color: var(--heading);
  color: var(--heading);
  background: transparent;
}

.button-outline-dark:hover {
  color: var(--white);
  background: var(--green-900);
}

.full-width {
  width: 100%;
  margin-top: 12px;
}

.tint-section {
  background: var(--cream-dark);
}

.dark-detail-section,
.quote-section {
  color: var(--white);
  background: var(--green-950);
}

.dark-detail-section h2,
.quote-section h2,
.dark-detail-section h3,
.quote-section h3 {
  color: var(--white);
}

.light-copy,
.dark-detail-section .section-heading > p,
.quote-wrap > p {
  color: rgba(255, 255, 255, 0.72);
}

.primary-nav > a[aria-current='page'] {
  color: var(--heading);
}

.primary-nav > a[aria-current='page']::after {
  background: var(--lime);
  transform: scaleX(1);
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.hero h1 em {
  color: #d9f486;
  font-style: normal;
}

.hero-proof {
  display: grid;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hero-proof div {
  display: flex;
  flex-direction: column;
}

.hero-proof strong {
  color: #d9f486;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 20px;
  line-height: 1.1;
}

.hero-proof span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  line-height: 1.35;
}

.hero-image-main {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 88%;
  height: 515px;
  margin-left: auto;
  border: 8px solid rgba(255, 255, 255, 0.14);
  border-radius: 130px 130px 28px 28px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.24);
}

.hero-image-main > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-small {
  position: absolute;
  z-index: 3;
  bottom: -28px;
  left: -12px;
  overflow: hidden;
  width: 190px;
  height: 235px;
  border: 7px solid var(--green-800);
  border-radius: 24px 24px 24px 80px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.3);
}

.hero-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 45px 24px 22px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(3, 44, 32, 0.94));
}

.image-caption strong {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
}

.image-caption span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  line-height: 1.4;
}

.quick-link-band {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.quick-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quick-link-grid a {
  display: grid;
  grid-template-columns: 36px 1fr;
  padding: 26px 24px;
  border-left: 1px solid var(--line);
  transition: background 0.2s ease, color 0.2s ease;
}

.quick-link-grid a:last-child {
  border-right: 1px solid var(--line);
}

.quick-link-grid a:hover {
  background: var(--lime-soft);
}

.quick-link-grid span {
  grid-row: 1 / 3;
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 800;
}

.quick-link-grid strong {
  color: var(--heading);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
}

.quick-link-grid small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.intro-grid,
.admissions-preview-grid,
.split-media-grid,
.split-copy-grid,
.contact-layout,
.faq-layout,
.grand-khatmah-grid,
.assessment-summary-grid,
.document-prep-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 85px;
}

.intro-grid {
  align-items: start;
}

.intro-grid h2,
.split-media-grid h2,
.split-copy-grid h2,
.contact-main > h2,
.document-prep-grid h2,
.assessment-summary-grid h2 {
  margin: 18px 0 20px;
  color: var(--heading);
  font-size: clamp(36px, 4.1vw, 54px);
  letter-spacing: -0.035em;
}

.intro-grid > div:last-child p {
  font-size: 16px;
}

.value-card-grid,
.value-grid,
.period-summary-grid,
.period-grid,
.curriculum-preview-grid,
.portfolio-grid,
.track-grid,
.three-column-grid,
.technology-grid,
.checklist-grid,
.report-grid,
.eligibility-grid {
  display: grid;
  margin-top: 48px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card-grid {
  grid-template-columns: repeat(4, 1fr);
}

.value-card-grid article,
.value-grid article,
.three-column-grid article,
.technology-grid article,
.checklist-grid article,
.report-grid article,
.eligibility-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.value-card-grid .number,
.value-grid article > span,
.eligibility-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  border-radius: 50%;
  color: var(--heading);
  background: var(--lime-soft);
  font-size: 12px;
  font-weight: 900;
}

.value-card-grid h3,
.value-grid h3,
.three-column-grid h3,
.technology-grid h3,
.checklist-grid h3,
.report-grid strong,
.eligibility-grid h3,
.curriculum-preview-grid h3,
.portfolio-grid strong,
.period-summary-grid h3 {
  color: var(--heading);
  font-size: 20px;
}

.value-card-grid p,
.value-grid p,
.three-column-grid p,
.technology-grid p,
.checklist-grid p,
.report-grid p,
.eligibility-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.value-grid {
  grid-template-columns: repeat(3, 1fr);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(120deg, var(--green-950), var(--green-800));
}

.page-hero::after {
  position: absolute;
  top: -210px;
  right: -130px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(255, 255, 255, 0.018), 0 0 0 130px rgba(255, 255, 255, 0.012);
  content: '';
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 23px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  gap: 8px;
}

.breadcrumb a:hover {
  color: var(--white);
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  min-height: 590px;
  padding-top: 65px;
  padding-bottom: 65px;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 70px;
}

.page-hero-grid h1 {
  max-width: 720px;
  margin: 20px 0 22px;
  color: var(--white);
  font-size: clamp(45px, 5.2vw, 70px);
  letter-spacing: -0.045em;
}

.page-hero-grid > div:first-child > p {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.page-hero-image {
  position: relative;
  overflow: hidden;
  max-width: 480px;
  height: 470px;
  justify-self: end;
  border: 8px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px 28px 110px 110px;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.25);
}

.page-hero-image > img,
.media-panel > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-band {
  color: var(--white);
  background: var(--green-900);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-grid > div {
  display: flex;
  min-height: 116px;
  flex-direction: column;
  justify-content: center;
  padding: 22px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-grid > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-grid strong {
  color: #d9f486;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 27px;
}

.stat-grid span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.three-stat-grid {
  grid-template-columns: repeat(3, 1fr);
}

.prose-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
}

.prose h2,
.period-card h3,
.faq-group h2,
.aside-card h2,
.contact-hero-card strong,
.ceremony-card > strong {
  color: var(--heading);
}

.prose p {
  font-size: 16px;
}

.prose blockquote {
  margin: 35px 0;
  padding: 26px 30px;
  border-radius: var(--radius);
  color: var(--heading);
  background: var(--gold-soft);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

.prose cite {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.split-media-grid {
  grid-template-columns: 0.95fr 1.05fr;
}

.reverse-media > :first-child {
  order: 2;
}

.media-panel {
  position: relative;
  overflow: hidden;
  height: 510px;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.light-check-list li,
.dark-check-list li {
  color: var(--ink);
}

.dark-check-list li::before {
  color: var(--white);
  background: var(--green-700);
}

.programme-hero-card,
.contact-hero-card {
  position: relative;
  z-index: 2;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-large);
  color: var(--green-950);
  background: rgba(255, 253, 246, 0.96);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.programme-hero-card > span,
.contact-hero-card > span,
.admissions-summary-card > span,
.programme-hero-card > strong,
.contact-hero-card > strong {
  display: block;
  margin: 11px 0 22px;
  color: var(--heading);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 30px;
  line-height: 1.15;
}

.programme-hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.programme-hero-card li {
  position: relative;
  padding: 11px 0 11px 24px;
  border-top: 1px solid var(--line);
  color: #496158;
  font-size: 13px;
}

.programme-hero-card li::before {
  position: absolute;
  top: 13px;
  left: 0;
  color: var(--accent-text);
  content: '✓';
  font-weight: 900;
}

.period-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 52px;
}

.period-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 28px 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.period-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}

.period-top span {
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 900;
}

.period-top strong {
  color: var(--muted);
  font-size: 11px;
}

.period-card h3 {
  font-size: 22px;
}

.period-card ul {
  margin: auto 0 0;
  padding: 23px 0 0 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.period-card-highlight {
  color: var(--white);
  background: var(--green-800);
  transform: translateY(-12px);
}

.period-card-highlight h3,
.period-card-highlight .period-top span {
  color: var(--white);
}

.period-card-highlight .period-top,
.period-card-highlight ul {
  border-color: rgba(255, 255, 255, 0.75);
  color: rgba(255, 255, 255, 0.75);
}

.period-card-highlight p {
  color: rgba(255, 255, 255, 0.84);
}

.period-card-highlight .period-top strong {
  color: rgba(255, 255, 255, 0.84);
}

.curriculum-preview-grid {
  grid-template-columns: repeat(3, 1fr);
}

.curriculum-preview-grid article {
  padding: 28px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.05);
}

.curriculum-preview-grid span,
.track-card > span {
  display: block;
  margin-bottom: 30px;
  color: #d9f486;
  font-size: 11px;
  font-weight: 800;
}

.curriculum-preview-grid h3,
.track-card h3 {
  color: var(--white);
  font-size: 20px;
}

.track-card > span {
  color: var(--accent-text);
}

.track-card h3 {
  color: var(--heading);
}

.curriculum-preview-grid p,
.track-card li {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.centered-link {
  display: flex;
  justify-content: center;
  margin-top: 45px;
  text-align: center;
}

.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-grid article {
  padding: 29px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.track-grid {
  grid-template-columns: repeat(2, 1fr);
}

.track-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.track-card ul {
  margin: 24px 0 0;
  padding: 20px 0 0 20px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.info-callout,
.policy-callout,
.document-example-card {
  margin-top: 28px;
  padding: 24px 28px;
  border: 1px solid #b9d1c0;
  border-radius: var(--radius);
  background: var(--green-100);
}

.info-callout strong,
.policy-callout strong {
  color: var(--heading);
  font-size: 15px;
}

.info-callout p,
.policy-callout p {
  margin: 5px 0 0;
  color: var(--ink);
}

.fine-print {
  max-width: 70ch;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.period-summary-grid {
  grid-template-columns: repeat(4, 1fr);
}

.period-summary-grid article {
  padding: 29px 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.period-summary-grid article > span {
  display: block;
  margin-bottom: 32px;
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 900;
}

.period-summary-grid article > strong {
  display: block;
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.period-summary-grid .period-highlight {
  color: var(--white);
  background: var(--green-800);
}

.period-summary-grid .period-highlight h3,
.period-summary-grid .period-highlight > span {
  color: var(--white);
}

.period-summary-grid .period-highlight p,
.period-summary-grid .period-highlight > strong {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.75);
}

.day-mini-grid {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.day-mini-grid div {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  border-radius: 12px;
  background: var(--lime-soft);
}

.day-mini-grid strong {
  color: var(--heading);
  font-size: 12px;
}

.day-mini-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.assessment-mini-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
}

.assessment-mini-list article {
  display: grid;
  grid-template-columns: 125px 1fr;
  padding: 23px 25px;
  background: rgba(255, 255, 255, 0.05);
  gap: 20px;
}

.assessment-mini-list strong {
  color: #d9f486;
  font-size: 13px;
}

.assessment-mini-list span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.5;
}

.residential-card-grid {
  display: grid;
  margin-top: 48px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.residential-card-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.residential-card-grid img {
  width: 100%;
  height: 265px;
  object-fit: cover;
}

.residential-card-grid h3 {
  margin: 25px 25px 10px;
  color: var(--heading);
  font-size: 20px;
}

.residential-card-grid p {
  margin: 0;
  padding: 0 25px 27px;
  font-size: 14px;
}

.admissions-preview-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

.admissions-preview-grid .button {
  margin-top: 10px;
  margin-right: 8px;
}

.admissions-preview-grid ol {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.admissions-preview-grid li {
  display: grid;
  min-height: 125px;
  grid-template-columns: 38px 1fr;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  gap: 13px;
}

.admissions-preview-grid li > span {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--heading);
  background: var(--lime-soft);
  font-size: 11px;
  font-weight: 900;
}

.admissions-preview-grid li p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.admissions-preview-grid li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--heading);
  font-size: 13px;
}

.quote-wrap {
  max-width: 850px;
  text-align: center;
}

.quote-wrap h2 {
  margin: 20px 0;
  font-size: clamp(38px, 4.8vw, 60px);
  letter-spacing: -0.04em;
}

.quote-wrap > p {
  font-size: 17px;
}

.centered-buttons {
  justify-content: center;
}

.timetable {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.timetable-row {
  display: grid;
  align-items: center;
  padding: 20px 18px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 180px 1fr 100px;
  gap: 25px;
  transition: background 0.2s ease;
}

.timetable-row:hover {
  background: var(--surface);
}

.timetable-row time {
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 900;
}

.timetable-row h3 {
  margin: 0 0 4px;
  color: var(--heading);
  font-size: 17px;
}

.timetable-row p {
  margin: 0;
  font-size: 13px;
}

.timetable-row > span {
  justify-self: end;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent-text);
  background: var(--lime-soft);
  font-size: 11px;
  font-weight: 800;
}

.timetable-row-highlight {
  background: rgba(229, 243, 233, 0.6);
}

.timetable-row-highlight > span {
  color: var(--white);
  background: var(--green-700);
}

.three-column-grid article > span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-text);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 32px;
  font-weight: 900;
}

.split-copy-grid {
  align-items: start;
}

.policy-callout {
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.75);
}

.policy-callout strong,
.policy-callout p {
  color: var(--white);
}

.policy-list,
.remediation-list {
  display: grid;
  gap: 14px;
}

.policy-list article {
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
}

.policy-list strong {
  color: #d9f486;
  font-size: 14px;
}

.policy-list p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.technology-grid {
  grid-template-columns: repeat(4, 1fr);
}

.technology-grid article > span {
  display: block;
  margin-bottom: 22px;
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 900;
}

.checklist-grid {
  align-items: start;
}

.checklist-grid article {
  box-shadow: none;
}

.checklist-grid h3 {
  margin-bottom: 21px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--gold);
}

.checklist-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
}

.checklist-grid li {
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.checkpoint-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.checkpoint-header,
.checkpoint-row {
  display: grid;
  min-width: 880px;
  grid-template-columns: 0.65fr 0.6fr 2.1fr 0.95fr;
  padding-right: 8px;
}

.checkpoint-header {
  color: var(--white);
  background: var(--green-900);
}

.checkpoint-header span {
  padding: 17px 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkpoint-row {
  align-items: center;
  border-top: 1px solid var(--line);
}

.checkpoint-row > * {
  margin: 0;
  padding: 22px 20px;
  font-size: 13px;
  line-height: 1.5;
}

.checkpoint-row > strong,
.checkpoint-row > span {
  color: var(--heading);
}

.checkpoint-row p {
  color: var(--muted);
}

.checkpoint-row-final {
  background: var(--gold-soft);
}

.remediation-list article {
  display: grid;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  grid-template-columns: 40px 1fr;
  gap: 16px;
}

.remediation-list article > span {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--heading);
  background: var(--lime-soft);
  font-size: 11px;
  font-weight: 900;
}

.remediation-list h3 {
  margin: 0 0 5px;
  color: var(--heading);
  font-size: 16px;
}

.remediation-list p {
  margin: 0;
  font-size: 13px;
}

.report-grid {
  grid-template-columns: repeat(3, 1fr);
}

.report-grid article {
  box-shadow: none;
}

.report-grid strong {
  display: block;
  margin-bottom: 11px;
}

.ceremony-card {
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-large);
  color: var(--green-950);
  background: var(--gold);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.ceremony-card > span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 900;
}

.ceremony-card > strong {
  display: block;
  margin-bottom: 22px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 32px;
}

.ceremony-card ul {
  margin: 0;
  padding: 19px 0 0 20px;
  border-top: 1px solid rgba(3, 44, 32, 0.17);
  color: var(--green-950);
  font-size: 13px;
  line-height: 1.7;
}

.admissions-summary-card ul {
  margin-top: 4px;
}

.admissions-summary-card {
  width: min(100%, 430px);
  justify-self: end;
}

.eligibility-grid {
  grid-template-columns: repeat(3, 1fr);
}

.admission-timeline {
  display: grid;
  max-width: 1000px;
  margin: 55px auto 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: admissions-step;
}

.admission-timeline li {
  position: relative;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.admission-timeline li > span {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 38px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-800);
  font-size: 11px;
  font-weight: 900;
}

.admission-timeline h3 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 18px;
}

.admission-timeline p {
  margin: 0;
  font-size: 13px;
}

.document-prep-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.document-example-card {
  margin-top: 0;
  padding: 36px;
  background: var(--gold-soft);
  border-color: #ead29b;
}

.document-example-card h3 {
  margin: 14px 0 22px;
  color: var(--heading);
  font-size: 28px;
}

.document-example-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
}

.document-example-card li {
  margin-bottom: 12px;
  font-size: 14px;
}

.quick-faq-nav {
  display: flex;
  flex-direction: column;
  padding: 31px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.17);
}

.quick-faq-nav > span {
  margin-bottom: 15px;
  color: #d9f486;
  font-size: 11px;
  font-weight: 800;
}

.quick-faq-nav a {
  display: flex;
  align-items: center;
  min-height: 50px;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.quick-faq-nav a::after {
  color: #d9f486;
  content: '→';
}

.quick-faq-nav a:hover {
  color: var(--white);
}

.faq-layout {
  align-items: start;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 65px;
}

.faq-group {
  scroll-margin-top: 110px;
  margin-bottom: 65px;
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group h2 {
  margin: 16px 0 28px;
  font-size: clamp(29px, 3.2vw, 42px);
  letter-spacing: -0.03em;
}

.faq-group details {
  border-top: 1px solid var(--line);
}

.faq-group details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-group summary {
  position: relative;
  padding: 23px 50px 23px 0;
  color: var(--heading);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-group summary::-webkit-details-marker {
  display: none;
}

.faq-group summary::after {
  position: absolute;
  top: 20px;
  right: 2px;
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--heading);
  background: var(--green-100);
  content: '+';
  font-size: 21px;
  line-height: 1;
}

.faq-group details[open] summary::after {
  background: var(--lime-soft);
  transform: rotate(45deg);
}

.faq-group details p {
  max-width: 65ch;
  margin: -4px 45px 24px 0;
  font-size: 14px;
}

.faq-aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 20px;
}

.aside-card {
  padding: 31px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--green-900);
  box-shadow: var(--shadow-small);
}

.aside-card h2 {
  margin: 12px 0 14px;
  color: var(--white);
  font-size: 28px;
}

.aside-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.aside-links {
  display: grid;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.aside-links h2 {
  margin-bottom: 15px;
  color: var(--heading);
  font-size: 19px;
}

.aside-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.aside-links a span {
  color: var(--accent-text);
}

.contact-hero-card {
  width: min(100%, 430px);
  justify-self: end;
}

.contact-hero-card p {
  margin-bottom: 25px;
  font-size: 15px;
}

.contact-hero-card a {
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 800;
}

.contact-layout {
  align-items: start;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 70px;
}

.contact-options {
  display: grid;
  margin-top: 45px;
  border-top: 1px solid var(--line);
}

.contact-options article {
  display: grid;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 50px 1fr;
  gap: 19px;
}

.contact-icon {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--heading);
  background: var(--lime-soft);
  font-size: 11px;
  font-weight: 900;
}

.contact-options article > div:last-child > span {
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 800;
}

.contact-options h3 {
  margin: 7px 0 8px;
  color: var(--heading);
  font-size: 21px;
}

.contact-options p {
  margin-bottom: 16px;
  font-size: 13px;
}

.contact-options .contact-actions {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.contact-options .contact-actions a {
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.contact-aside {
  display: grid;
  gap: 20px;
}

.contact-details-card,
.contact-prep-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.contact-details-card {
  color: var(--white);
  background: var(--green-900);
}

.contact-details-card h2 {
  margin: 11px 0 14px;
  color: var(--white);
  font-size: 29px;
}

.contact-details-card > p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.contact-details-card dl {
  margin: 25px 0;
}

.contact-details-card dl > div {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-details-card dt {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
}

.contact-details-card dd {
  margin: 0;
  color: #d9f486;
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-details-card .small-note {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.5;
}

.contact-prep-card {
  border: 1px solid var(--line);
}

.contact-prep-card h3 {
  margin: 10px 0 18px;
  color: var(--heading);
  font-size: 24px;
}

.contact-prep-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
}

.contact-prep-card li {
  margin-bottom: 9px;
  font-size: 13px;
}

.contact-prep-card > p:last-child {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

:root[data-theme='dark'] .site-header {
  border-color: rgba(187, 231, 141, 0.14);
  background: var(--cream);
}

:root[data-theme='dark'] .menu-toggle {
  background: var(--surface-muted);
}

:root[data-theme='dark'] .primary-nav > a:not(.button),
:root[data-theme='dark'] .primary-nav > a[aria-current='page'] {
  color: var(--heading);
}

:root[data-theme='dark'] .button-outline-dark {
  border-color: var(--heading);
  color: var(--heading);
}

:root[data-theme='dark'] .application-form label:not(.file-field, .consent-field),
:root[data-theme='dark'] .file-field,
:root[data-theme='dark'] .consent-field {
  color: var(--heading);
}

:root[data-theme='dark'] .application-form input:not([type='checkbox']):not([type='file']),
:root[data-theme='dark'] .application-form select,
:root[data-theme='dark'] .application-form textarea {
  border-color: var(--line);
}

:root[data-theme='dark'] .application-form input::placeholder,
:root[data-theme='dark'] .application-form textarea::placeholder {
  color: #a9bcb0;
}

:root[data-theme='dark'] .consent-field {
  border-color: var(--line);
}

:root[data-theme='dark'] .checkpoint-table,
:root[data-theme='dark'] .form-card,
:root[data-theme='dark'] .programme-hero-card,
:root[data-theme='dark'] .contact-hero-card {
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.32);
}

:root[data-theme='dark'] .programme-hero-card,
:root[data-theme='dark'] .contact-hero-card,
:root[data-theme='dark'] .admissions-summary-card {
  border-color: var(--line);
  background: var(--surface-raised);
}

:root[data-theme='dark'] .programme-hero-card li {
  border-color: var(--line);
  color: var(--muted);
}

:root[data-theme='dark'] .timetable-row-highlight {
  background: var(--surface-muted);
}

:root[data-theme='dark'] .ceremony-card > strong {
  color: var(--green-950);
}

:root[data-theme='dark'] .consent-field > span {
  color: var(--heading);
}

:root[data-theme='dark'] .consent-field > span b {
  color: var(--danger);
}

.fee-reveal {
  margin-top: 34px;
}

.fee-reveal > summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  list-style: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.fee-reveal > summary::-webkit-details-marker {
  display: none;
}

.fee-reveal > summary::after {
  color: var(--lime);
  content: '+';
  font-size: 15px;
  line-height: 1;
}

.fee-reveal > summary:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
  background: var(--surface-muted);
}

.fee-reveal[open] > summary::after {
  content: '\2212';
}

.fee-reveal__panel {
  margin-top: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.fee-reveal__panel > p {
  max-width: 65ch;
  font-size: 14px;
}

.fee-reveal__panel > p + p {
  margin-top: 12px;
}

.fee-grid {
  display: grid;
  margin-top: 26px;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.fee-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.fee-card > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.fee-card-wide {
  grid-column: 1 / -1;
}

.fee-card-wide > ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 32px;
}

.fee-card > strong {
  display: block;
  color: var(--heading);
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
}

.fee-card > ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.fee-card li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.fee-card li b {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

:root[data-theme='dark'] .fee-reveal__panel {
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.32);
}

:root[data-theme='dark'] .fee-card li b {
  color: var(--heading);
}

.hero-dual {
  display: grid;
  align-items: stretch;
  margin-top: 30px;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
}

.hero h1.hero-title-dual {
  max-width: 640px;
  font-size: clamp(38px, 4.3vw, 58px);
}

.hero-dual__col {
  padding: 18px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.hero-dual__col--arabic {
  border-color: rgba(155, 207, 69, 0.5);
  background: rgba(155, 207, 69, 0.13);
}

.hero-dual__col--western {
  border-color: rgba(243, 184, 63, 0.55);
  background: rgba(243, 184, 63, 0.13);
}

.hero-dual__label {
  display: block;
  margin-bottom: 13px;
  color: var(--white);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
}

.hero-dual__col--arabic .hero-dual__label {
  color: #d9f486;
}

.hero-dual__col--western .hero-dual__label {
  color: #ffd98a;
}

.hero-dual ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 6px;
}

.hero-dual li {
  padding: 4px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
}

.hero-dual__plus {
  display: flex;
  min-width: 30px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.duo-section {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.duo-heading {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.duo-heading h2 {
  margin: 18px 0 18px;
  color: var(--heading);
  font-size: clamp(32px, 3.6vw, 47px);
  letter-spacing: -0.035em;
}

.duo-heading > p {
  margin-bottom: 0;
  font-size: 16px;
}

.duo-grid {
  display: grid;
  margin-top: 46px;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.duo-card {
  display: flex;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow-small);
  flex-direction: column;
}

.duo-card__tag {
  align-self: flex-start;
  margin-bottom: 4px;
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 800;
}

.duo-card--arabic .duo-card__tag {
  color: #4b6412;
}

.duo-card--western .duo-card__tag {
  color: #7a5713;
}

.duo-card h3 {
  margin: 20px 0 12px;
  color: var(--heading);
  font-size: 25px;
  letter-spacing: -0.03em;
}

.duo-card > p {
  font-size: 14.5px;
}

.duo-card__subjects {
  display: flex;
  flex-wrap: wrap;
  margin: 4px 0 22px;
  padding: 0;
  list-style: none;
  gap: 8px;
}

.duo-card__subjects li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface-raised);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.duo-card--arabic .duo-card__subjects li {
  border-color: transparent;
  color: var(--accent-text);
  background: var(--green-100);
}

.duo-card--western .duo-card__subjects li {
  border-color: transparent;
  color: var(--heading);
  background: var(--gold-soft);
}

.duo-card__stats {
  display: grid;
  margin: auto 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.duo-card__stats strong {
  display: block;
  color: var(--accent-text);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 22px;
  line-height: 1.15;
}

.duo-card__stats span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.duo-equalizer {
  display: grid;
  align-items: center;
  margin-top: 22px;
  padding: 38px 40px;
  border-radius: var(--radius-large);
  color: var(--white);
  background: linear-gradient(120deg, var(--green-950), var(--green-800));
  box-shadow: var(--shadow);
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
}

.duo-equalizer h3 {
  margin: 16px 0 14px;
  color: var(--white);
  font-size: clamp(26px, 2.7vw, 36px);
  letter-spacing: -0.03em;
}

.duo-equalizer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.duo-equalizer .check-list {
  margin: 0;
}

:root[data-theme='dark'] .duo-card__tag,
:root[data-theme='dark'] .duo-card--arabic .duo-card__tag,
:root[data-theme='dark'] .duo-card--western .duo-card__tag {
  color: var(--ink);
}

@media (max-width: 1100px) {
  .primary-nav {
    gap: 16px;
  }

  .hero-grid {
    gap: 42px;
  }

  .outcome-grid,
  .rhythm-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcome-card,
  .rhythm-grid article {
    min-height: 230px;
  }

  .card-number,
  .rhythm-grid article > span {
    margin-bottom: 32px;
  }

  .application-grid {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(3, 0.8fr);
    gap: 30px;
  }

  .primary-nav {
    font-size: 12px;
  }

  .primary-nav .button {
    font-size: 12px;
  }

  .quick-link-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-link-grid a:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .quick-link-grid a:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .value-card-grid,
  .period-summary-grid,
  .period-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .period-card-highlight {
    transform: none;
  }

  .curriculum-preview-grid,
  .technology-grid {
    grid-template-columns: repeat(3, 1fr);
  }


  .intro-grid,
  .admissions-preview-grid,
  .split-media-grid,
  .split-copy-grid,
  .contact-layout,
  .faq-layout,
  .grand-khatmah-grid,
  .assessment-summary-grid,
  .document-prep-grid,
  .prose-grid,
  .page-hero-grid {
    gap: 50px;
  }

  .admission-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .day-mini-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .duo-equalizer {
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .topbar-inner {
    justify-content: center;
  }

  .topbar-links {
    display: none;
  }

  .menu-toggle {
    display: block;
    order: 2;
    width: 44px;
    height: 44px;
  }

  .nav-wrap {
    gap: 10px;
  }

  .theme-toggle {
    order: 1;
    margin-left: auto;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 119px);
    overflow-y: auto;
    padding: 18px 24px 26px;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.18);
  }

  .primary-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .primary-nav > a:not(.button) {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav > a:not(.button)::after {
    display: none;
  }

  .primary-nav .button {
    margin-top: 10px;
  }

  .menu-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-grid,
  .about-grid,
  .programme-grid,
  .faq-grid,
  .application-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 64px;
    padding-bottom: 90px;
  }

  .hero-visual {
    width: min(100%, 520px);
    justify-self: center;
  }

  .hero-image-frame {
    width: 84%;
  }

  .promise-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .promise-grid > li:nth-child(4),
  .promise-grid > li:nth-child(5) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .about-grid,
  .faq-grid {
    gap: 30px;
  }

  .programme-grid {
    gap: 55px;
  }

  .flyer-panel {
    width: min(100%, 500px);
    margin-inline: auto;
    transform: none;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .split-heading > p {
    max-width: 680px;
  }

  .document-panel {
    padding: 40px;
    gap: 35px;
  }

  .application-intro {
    position: static;
    max-width: 720px;
  }

  .application-points {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card {
    padding: 52px;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(2, 1fr);
  }

  .footer-grid > div:last-child {
    grid-column: 2 / 3;
  }

  .page-hero-grid,
  .intro-grid,
  .admissions-preview-grid,
  .split-media-grid,
  .split-copy-grid,
  .contact-layout,
  .faq-layout,
  .grand-khatmah-grid,
  .assessment-summary-grid,
  .document-prep-grid,
  .prose-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-grid {
    min-height: auto;
    gap: 45px;
  }

  .page-hero-image,
  .programme-hero-card,
  .admissions-summary-card,
  .contact-hero-card,
  .quick-faq-nav {
    width: min(100%, 560px);
    justify-self: center;
  }

  .page-hero-image {
    height: 480px;
    border-radius: 28px 28px 90px 90px;
  }

  .stat-grid,
  .three-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-grid > div:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .three-stat-grid > div:last-child {
    grid-column: 1 / -1;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .value-grid,
  .three-column-grid,
  .checklist-grid,
  .report-grid,
  .eligibility-grid,
  .portfolio-grid,
  .residential-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .track-grid {
    grid-template-columns: 1fr;
  }

  .reverse-media > :first-child {
    order: initial;
  }

  .admissions-preview-grid ol {
    grid-template-columns: 1fr;
  }

  .faq-aside,
  .application-intro {
    position: static;
  }

  .faq-aside {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-panel {
    height: 470px;
  }

  .duo-grid,
  .duo-equalizer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 82px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .topbar {
    font-size: 11px;
  }

  .nav-wrap {
    min-height: 70px;
    gap: 8px;
  }

  .brand {
    min-width: 0;
  }

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

  .theme-toggle {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .menu-toggle {
    flex: 0 0 44px;
  }

  .brand {
    gap: 8px;
    font-size: 19px;
  }

  .brand img {
    width: 34px;
    height: 48px;
  }

  .brand small {
    max-width: 220px;
    font-size: 11px;
  }

  .section {
    padding: 76px 0;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 76px;
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .hero h1.hero-title-dual {
    font-size: clamp(34px, 9.6vw, 50px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .button-row,
  .button-row .button {
    width: 100%;
  }

  .hero-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-image-frame {
    width: 92%;
    height: min(420px, 118vw);
    border-radius: 90px 90px 24px 24px;
  }

  .programme-card {
    bottom: 24px;
    left: 0;
    width: min(250px, 83%);
  }

  .promise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promise-grid > li {
    min-height: 90px;
    padding: 16px;
  }

.promise-grid > li:last-child {
    grid-column: 1 / -1;
  }

  .section-heading h2,
  .programme-grid h2,
  .application-intro h2,
  .contact-card h2 {
    font-size: clamp(34px, 10vw, 45px);
  }

  .about-copy p,
  .programme-lead {
    font-size: 15px;
  }

  .outcome-grid,
  .rhythm-grid,
  .steps-grid,
  .curriculum-list,
  .check-list,
  .application-points,
  .form-grid,
  .upload-grid {
    grid-template-columns: 1fr;
  }

  .outcome-grid,
  .rhythm-grid,
  .steps-grid {
    margin-top: 42px;
  }

  .outcome-card,
  .rhythm-grid article,
  .steps-grid article {
    min-height: auto;
  }

  .card-number,
  .rhythm-grid article > span,
  .steps-grid article > span {
    margin-bottom: 28px;
  }

  .programme-grid {
    gap: 44px;
  }

  .flyer-panel {
    padding: 18px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 330px);
  }

  .gallery-card-large {
    grid-row: auto;
  }

  .document-panel {
    padding: 34px 26px;
    gap: 28px;
  }

  .document-panel h3 {
    font-size: 28px;
  }

  .faq-list summary {
    font-size: 16px;
  }

  .form-heading,
  .application-form {
    padding-right: 22px;
    padding-left: 22px;
  }

  .application-form input:not([type='checkbox']):not([type='file']),
  .application-form select,
  .application-form textarea {
    font-size: 16px;
  }

  .file-field input[type='file'] {
    font-size: 13px;
  }

  .form-heading {
    padding-top: 28px;
  }

  .form-heading .required-note {
    position: static;
    margin-bottom: 13px;
  }

  .notice {
    margin-right: 22px;
    margin-left: 22px;
  }

  .application-form fieldset + fieldset {
    padding-top: 27px;
  }

  .contact-card {
    padding: 40px 25px;
    border-radius: var(--radius);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .whatsapp-button {
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
  }

  .whatsapp-button__icon {
    width: 27px;
    height: 27px;
  }

  .page-hero-grid {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .page-hero-grid h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .page-hero-grid > div:first-child > p {
    font-size: 15px;
  }

  .page-hero-image {
    height: min(400px, 110vw);
    border-width: 5px;
    border-radius: 24px 24px 72px 72px;
  }

  .programme-hero-card,
  .admissions-summary-card,
  .contact-hero-card {
    padding: 28px;
  }

  .hero-image-main {
    width: 90%;
    height: min(420px, 118vw);
    border-width: 5px;
    border-radius: 90px 90px 24px 24px;
  }

  .hero-image-small {
    bottom: -22px;
    left: 0;
    width: 140px;
    height: 180px;
    border-width: 5px;
    border-radius: 18px 18px 18px 55px;
  }

  .hero-proof {
    gap: 8px;
  }

  .hero-proof strong {
    font-size: 17px;
  }

  .quick-link-grid,
  .value-card-grid,
  .value-grid,
  .period-summary-grid,
  .period-grid,
  .curriculum-preview-grid,
  .portfolio-grid,
  .three-column-grid,
  .technology-grid,
  .checklist-grid,
  .report-grid,
  .eligibility-grid,
  .residential-card-grid,
  .admission-timeline,
  .fee-grid,
  .fee-card-wide > ul,
  .faq-aside {
    grid-template-columns: 1fr;
  }

  .quick-link-grid a,
  .quick-link-grid a:nth-child(2),
  .quick-link-grid a:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .quick-link-grid a:first-child {
    border-top: 0;
  }

  .curriculum-preview-grid article:last-child {
    grid-column: auto;
  }

  .intro-grid h2,
  .split-media-grid h2,
  .split-copy-grid h2,
  .contact-main > h2,
  .document-prep-grid h2,
  .assessment-summary-grid h2,
  .section-heading h2,
  .faq-group h2,
  .application-intro h2,
  .quote-wrap h2 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .stat-grid,
  .three-stat-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid > div,
  .three-stat-grid > div,
  .three-stat-grid > div:last-child {
    min-height: 95px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    grid-column: auto;
  }

  .stat-grid > div:first-child {
    border-top: 0;
  }

  .period-card {
    min-height: auto;
  }

  .period-card-highlight {
    transform: none;
  }

  .media-panel {
    height: min(390px, 112vw);
    border-radius: var(--radius);
  }

  .day-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .day-mini-grid div:last-child {
    grid-column: 1 / -1;
  }

  .assessment-mini-list article {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .timetable-row {
    align-items: start;
    padding: 20px 10px;
    grid-template-columns: 1fr auto;
    gap: 7px 15px;
  }

  .timetable-row time {
    font-size: 11px;
  }

  .timetable-row > div {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .timetable-row > span {
    grid-column: 2;
    grid-row: 1;
  }

  .timetable-row h3 {
    font-size: 16px;
  }

  .admission-timeline li {
    min-height: auto;
  }

  .document-prep-grid,
  .contact-layout {
    gap: 45px;
  }

  .document-example-card,
  .contact-details-card,
  .contact-prep-card,
  .ceremony-card {
    padding: 27px;
  }

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

  .contact-icon {
    width: 38px;
    height: 38px;
  }

  .contact-options .contact-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .application-form label.full,
  .file-field-wide {
    grid-column: auto;
  }

  .quote-wrap > p {
    font-size: 15px;
  }

  .hero-dual {
    grid-template-columns: 1fr;
  }

  .hero-dual__plus {
    justify-content: center;
    min-width: 0;
    font-size: 20px;
    line-height: 1;
  }

  .duo-heading h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .duo-card {
    padding: 27px 24px;
  }

  .duo-equalizer {
    padding: 30px 24px;
  }

  .duo-card__stats {
    gap: 12px;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand {
    font-size: 18px;
  }

  .brand small {
    display: none;
  }

  .theme-toggle {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .menu-toggle {
    width: 40px;
    min-width: 40px;
    flex-basis: 40px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 52px);
  }

  .hero h1.hero-title-dual {
    font-size: clamp(32px, 9.4vw, 44px);
  }

  .hero-proof {
    gap: 5px;
  }

  .hero-proof strong {
    font-size: 15px;
  }

  .hero-proof span {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
