/*
Theme Name: SEG BS Islamic Theme
Theme URI: https://example.com/seg-bs-theme
Author: SEG BS
Description: WordPress theme ported from SEG BS Next.js interface.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: seg-bs-theme
*/

:root {
  --background: #f4f6f8;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --brand: #0f172a;
  --accent: #0f766e;
  --border: #dbe1e8;
  --font-heading: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
}

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

img,
video {
  max-width: 100%;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nav-shell {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 0;
  transition: background-color 220ms ease-in-out;
}

.nav-shell-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  transition: background-color 220ms ease-in-out;
}

.nav-shell-scrolled .nav-shell-inner {
  background: transparent;
  box-shadow: none;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-center {
  display: flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.nav-logo {
  position: static;
  transform: none;
  transition: none;
  flex-shrink: 0;
  z-index: 2;
}

.nav-logo-visible {
  transform: none;
  opacity: 1;
}

.nav-logo-hidden {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.nav-links {
  border: 0;
  background: transparent;
  transition: none;
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 1rem;
  border-radius: 0.5rem;
  padding: 0.4rem 0;
  white-space: nowrap;
  position: static;
  margin: 0 auto;
  opacity: 1;
  pointer-events: auto;
  transition: none;
  width: auto;
  max-width: none;
}

.nav-links-visible {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.nav-links-hidden {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.nav-link {
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 220ms ease-in-out;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-cta {
  border-radius: 0.5rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.48rem 0.9rem;
  transition: background-color 220ms ease-in-out, border-color 220ms ease-in-out, color 220ms ease-in-out;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #0b5f58;
  border-color: #0b5f58;
  color: #ffffff;
}

.nav-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.5rem;
  background: var(--surface);
  transition: border-color 220ms ease-in-out, background-color 220ms ease-in-out;
}

.nav-icon span {
  width: 14px;
  height: 1px;
  background: var(--text);
}

.nav-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  width: 33px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--text);
  background: var(--surface);
  transition: color 220ms ease-in-out, border-color 220ms ease-in-out, background-color 220ms ease-in-out;
}

.nav-shell-scrolled .nav-icon,
.nav-shell-scrolled .nav-search {
  border-color: var(--border);
  background: var(--surface);
}

.nav-search:hover,
.nav-icon:hover {
  border-color: #b7c3d1;
  color: var(--accent);
}

.logo-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
}

.logo-mark {
  width: 17px;
  height: 17px;
  border: 2px solid var(--text);
  border-radius: 2px;
  background: var(--text);
}

.logo-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.brand-logo-main {
  display: block;
  height: 24px;
  width: auto;
  max-width: 118px;
  object-fit: contain;
}

.brand-logos-row {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-logos-row .brand-logo-main:nth-child(2) {
  height: 21px;
}

.menu-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(15, 23, 42, 0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease-in-out, visibility 220ms ease-in-out;
}

.menu-fullscreen-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-fullscreen-inner {
  margin: 0 auto;
  min-height: 100vh;
  max-width: 74rem;
  padding: 1.25rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
}

.menu-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-close {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.menu-close-x {
  font-size: 1rem;
  line-height: 1;
  text-transform: uppercase;
}

.menu-list {
  margin: auto 0;
  display: grid;
  gap: 0.9rem;
}

.menu-item {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1rem 1.1rem;
  transition: border-color 220ms ease-in-out, color 220ms ease-in-out, transform 220ms ease-in-out;
}

.menu-item:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: translateX(2px);
}

.menu-item-cta {
  background: rgba(15, 118, 110, 0.5);
  border-color: rgba(15, 118, 110, 0.7);
}

.apply-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease-in-out, visibility 220ms ease-in-out;
}

.apply-fullscreen-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.apply-fullscreen-inner {
  margin: 0 auto;
  min-height: 100vh;
  max-width: 74rem;
  padding: 1.25rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
}

.apply-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.apply-panel {
  margin: auto 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.25rem;
}

.apply-eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.apply-title {
  margin: 0.4rem 0 0;
  color: #f8fafc;
  font-size: 1.75rem;
  line-height: 1.2;
}

.apply-description {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.apply-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.apply-option {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.95rem 1rem;
  display: grid;
  gap: 0.2rem;
  transition: border-color 220ms ease-in-out, background-color 220ms ease-in-out, transform 220ms ease-in-out;
}

.apply-option:hover {
  border-color: rgba(52, 211, 153, 0.75);
  background: rgba(16, 185, 129, 0.18);
  transform: translateY(-1px);
}

.apply-option-title {
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
}

.apply-option-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.83rem;
}

.apply-option-disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.apply-option-closed {
  opacity: 0.82;
}

.apply-option-subtitle-closed {
  color: #f87171;
  font-weight: 600;
}

@media (min-width: 768px) {
  .apply-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apply-panel {
    padding: 1.5rem;
  }

  .apply-title {
    font-size: 2.1rem;
  }
}

.stack-section {
  position: relative;
  margin-top: 0;
  z-index: 2;
  overflow: hidden;
}

.stack-section + .stack-section {
  z-index: 3;
}

.curve-one-tr {
  border-top-right-radius: 0;
}

.curve-one-tl {
  border-top-left-radius: 0;
}

.curve-one-br {
  border-bottom-right-radius: 0;
}

.curve-one-bl {
  border-bottom-left-radius: 0;
}

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

.dark-shell {
  background: linear-gradient(140deg, #171b22, #202733);
}

.soft-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.9rem;
  box-shadow: none;
  transition: border-color 220ms ease-in-out;
}

.soft-card:hover {
  border-color: #b7c3d1;
}

.dark-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 0.9rem;
  transition: border-color 220ms ease-in-out;
}

.dark-card:hover {
  border-color: rgba(52, 211, 153, 0.55);
}

@media (max-width: 767px) {
  .stack-section {
    margin-top: 0;
  }

  .curve-one-tr,
  .curve-one-tl,
  .curve-one-br,
  .curve-one-bl {
    border-radius: 0;
  }

  .nav-center {
    justify-content: center;
  }

  .nav-right {
    gap: 0.6rem;
  }

  .nav-logo {
    position: static;
    transform: none;
    opacity: 1;
  }

  .nav-logo-visible,
  .nav-logo-hidden {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links-desktop {
    display: none;
  }

  .menu-item {
    font-size: 1.12rem;
  }
}

.islamic-page {
  position: relative;
  background: var(--background);
  overflow-x: hidden;
}

.islamic-pattern-bg {
  display: none;
}

.islamic-hero-panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem 1.6rem;
  background: var(--surface);
  box-shadow: none;
}

.islamic-hero-panel::before {
  content: none;
}

.islamic-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid #c9d3df;
  background: #f8fafc;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.46rem 0.85rem;
  text-transform: uppercase;
}

.islamic-section-card {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.2rem;
  background: var(--surface);
  box-shadow: none;
}

.islamic-profile-card {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.9rem;
  background: var(--surface);
}

.advisor-image-frame {
  height: 320px;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #d7d9dd 0%, #c7cbd1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.advisor-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.advisor-bio {
  text-align: justify;
}

.leadership-profile-text,
.leadership-profile-text p,
.leadership-profile-role {
  text-align: justify;
}

.islamic-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: #f8fafc;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.55rem;
  padding: 0.7rem 0.8rem;
}

.islamic-dot {
  margin-top: 0.42rem;
  height: 0.56rem;
  width: 0.56rem;
  border-radius: 999px;
  background: #0f766e;
  flex-shrink: 0;
}

.islamic-stat-card {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.9rem;
  background: var(--surface);
}

.islamic-quote-card {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
  background: var(--surface);
}

.islamic-facility-card {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
  background: var(--surface);
  box-shadow: none;
  transition: transform 220ms ease-in-out, box-shadow 220ms ease-in-out, border-color 220ms ease-in-out;
}

.islamic-facility-card:hover {
  transform: translateY(-2px);
  border-color: #c2ccd8;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.facility-image-link {
  display: block;
}

.facility-image-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: #f8fafc;
  padding: 0.6rem;
}

.facility-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 220ms ease-in-out;
}

.facility-image-link:hover .facility-image {
  transform: scale(1.01);
}

.facility-slideshow {
  background: #0f172a;
  padding: 0;
}

.facility-slide {
  height: 100%;
  inset: 0;
  max-height: none;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transform: scale(1.02);
  transition: opacity 420ms ease, transform 420ms ease;
  width: 100%;
}

.facility-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.facility-slide-dots {
  align-items: center;
  bottom: 0.8rem;
  display: inline-flex;
  gap: 0.35rem;
  left: 0.8rem;
  position: absolute;
  z-index: 2;
}

.facility-slide-dot {
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  display: inline-block;
  height: 0.45rem;
  width: 0.45rem;
}

.facility-slide-dot.is-active {
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.18);
}

.programme-media-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: #f8fafc;
  padding: 0.6rem;
}

.programme-media-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 34rem;
  object-fit: contain;
}

.leadership-hero-card,
.leadership-panel {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.98));
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.leadership-hero-card {
  overflow: hidden;
}

.leadership-profiles-grid {
  display: grid;
  gap: 1.25rem;
}

.leadership-hero-card-secondary {
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(239, 245, 250, 0.98));
}

.leadership-hero-layout {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
}

.leadership-portrait-shell {
  margin: 0;
}

.leadership-portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 1rem;
  min-height: 420px;
  background: #ffffff;
}

.leadership-portrait-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.leadership-portrait-frame-dean {
  background: linear-gradient(180deg, #f3f6f9 0%, #e7edf3 100%);
}

.leadership-portrait-image-dean {
  object-position: center bottom;
}

.leadership-hero-copy {
  display: grid;
  gap: 1rem;
}

.leadership-kicker,
.leadership-panel-eyebrow {
  margin: 0;
  color: #8a6a2d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.leadership-name {
  margin: 0;
  color: #0f2f25;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
}

.leadership-name-secondary {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
}

.leadership-credentials {
  margin: 0;
  color: #456052;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.7;
}

.leadership-role-stack {
  color: #456052;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.8;
}

.leadership-prose {
  display: grid;
  gap: 1rem;
}

.leadership-prose p,
.leadership-contribution-text {
  margin: 0;
  color: #3d5147;
  font-size: 1rem;
  line-height: 1.9;
  text-align: justify;
}

.leadership-stats-grid {
  display: grid;
  gap: 0.85rem;
}

.leadership-stat-card {
  border: 1px solid #d8e0e8;
  border-radius: 0.9rem;
  background: rgba(248, 250, 252, 0.92);
  padding: 0.95rem 1rem;
}

.leadership-stat-value {
  margin: 0;
  color: #0f2f25;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}

.leadership-stat-label {
  margin: 0.35rem 0 0;
  color: #567165;
  font-size: 0.88rem;
  line-height: 1.6;
}

.dean-points-shell {
  border: 1px solid #d6dfeb;
  border-radius: 1rem;
  background: linear-gradient(135deg, #f7fbff 0%, #eef6ff 48%, #f8fafc 100%);
  height: 100%;
  padding: 1.2rem;
}

.dean-section-shell {
  display: grid;
  gap: 1.25rem;
  margin-top: 0.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.dean-section-grid {
  display: grid;
  gap: 1.25rem;
}

.dean-section-header {
  display: grid;
  gap: 0.4rem;
}

.dean-section-eyebrow {
  margin: 0;
  color: #365c93;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dean-section-title {
  margin: 0;
  color: #12324f;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.08;
}

.dean-section-text {
  margin: 0;
  max-width: 48rem;
  color: #587086;
  font-size: 0.98rem;
  line-height: 1.8;
}

.dean-points-header {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.dean-points-eyebrow {
  margin: 0;
  color: #365c93;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dean-points-title {
  margin: 0;
  color: #12324f;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
}

.dean-points-grid {
  display: grid;
  gap: 0.9rem;
}

.dean-point-card {
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.84);
  padding: 1rem;
  backdrop-filter: blur(6px);
}

.dean-point-title {
  margin: 0 0 0.7rem;
  color: #12324f;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.dean-point-list {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dean-point-item {
  border-left: 3px solid #6b9bd0;
  color: #43576a;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  padding-left: 0.75rem;
}

.leadership-panel {
  padding: 1.2rem;
}

.leadership-panel-accent {
  background: linear-gradient(180deg, rgba(15, 47, 37, 0.98), rgba(19, 78, 63, 0.94));
  border-color: rgba(21, 128, 61, 0.16);
}

.leadership-panel-accent .leadership-panel-eyebrow,
.leadership-panel-accent .leadership-panel-title,
.leadership-panel-accent .leadership-list-item {
  color: #f8fafc;
}

.leadership-panel-accent .leadership-list-item {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.leadership-panel-header {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.leadership-panel-title {
  margin: 0;
  color: #0f2f25;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.15;
}

.leadership-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.leadership-list-item {
  border: 1px solid #dbe3ec;
  border-radius: 0.85rem;
  background: #f8fafc;
  color: #3d5147;
  font-size: 0.96rem;
  line-height: 1.75;
  padding: 0.9rem 1rem;
}

.leadership-contribution-grid {
  display: grid;
  gap: 0.95rem;
}

.leadership-contribution-card {
  border: 1px solid #dbe3ec;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  padding: 1rem;
}

.leadership-contribution-title {
  margin: 0 0 0.45rem;
  color: #0f2f25;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
}

.leadership-qualification-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.leadership-qualification-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  background: #f8fafc;
  color: #284437;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 0.7rem 1rem;
}

.islamic-mini-card {
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: #f8fafc;
  padding: 0.7rem 0.8rem;
}

.islamic-fee-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: #f8fafc;
  padding: 0.7rem 0.8rem;
}

.islamic-home-section {
  background: transparent;
}

.hero-background-image {
  background-size: cover;
  background-position: 50% 78%;
}

.islamic-footer-shell {
  background: #edf2f7;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.footer-main-grid ul {
  margin: 0;
  padding-left: 1rem;
  line-height: 1.6;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.footer-logo-image {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.mou-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.mou-logo-card {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: #ffffff;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.mou-logo-image {
  max-width: 100%;
  max-height: 62px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.about-why-grid {
  display: grid;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-why-card {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 1rem;
}

.about-why-title {
  margin: 0;
  color: #173c2e;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.about-why-title::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: #1d6b54;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.about-why-text {
  margin: 0.55rem 0 0;
  color: #4d5f52;
  font-size: 0.95rem;
  line-height: 1.7;
}

.dean-message-card {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 1rem;
}

.dean-message-layout {
  display: grid;
  gap: 1rem;
}

.dean-message-figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #f3f6f9 0%, #e7edf3 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.dean-message-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.dean-message-text {
  margin: 0;
  color: #4d5f52;
  font-size: 0.98rem;
  line-height: 1.8;
  text-align: justify;
}

.dean-message-name {
  margin: 0.85rem 0 0;
  color: #173c2e;
  font-size: 1rem;
  font-weight: 700;
}

.dean-message-role {
  margin: 0.2rem 0 0;
  color: #6a7a6f;
  font-size: 0.88rem;
}

.showcase-homepage {
  --showcase-bg: #f6f0e8;
  --showcase-surface: rgba(255, 252, 247, 0.8);
  --showcase-surface-strong: #fffaf3;
  --showcase-ink: #1d2a24;
  --showcase-muted: #6f6a5d;
  --showcase-line: rgba(75, 56, 36, 0.12);
  --showcase-accent: #8d5f32;
  --showcase-accent-deep: #5f3f24;
  --showcase-shadow: 0 24px 80px rgba(66, 45, 22, 0.12);
  background:
    radial-gradient(circle at top left, rgba(196, 160, 117, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(91, 124, 104, 0.14), transparent 24%),
    linear-gradient(180deg, #f7f0e7 0%, #f5efe8 46%, #efe8df 100%);
  color: var(--showcase-ink);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

.showcase-homepage h1,
.showcase-homepage h2,
.showcase-homepage h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

.showcase-main {
  position: relative;
  overflow: hidden;
}

.showcase-shell {
  width: min(100% - 2rem, 1240px);
  margin: 0 auto;
}

.showcase-section {
  position: relative;
  padding: 0 0 6.5rem;
}

.showcase-noise {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.showcase-hero {
  position: relative;
  padding: 7rem 0 4.5rem;
  min-height: 100dvh;
}

.showcase-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  filter: saturate(0.82) sepia(0.12);
}

.showcase-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(246, 240, 232, 0.7), rgba(246, 240, 232, 0.94));
}

.showcase-hero-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(12px);
  opacity: 0.8;
}

.showcase-hero-orb-one {
  top: 9rem;
  right: 8%;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(175, 117, 65, 0.35), transparent 65%);
}

.showcase-hero-orb-two {
  bottom: 12%;
  left: 4%;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(90, 114, 100, 0.22), transparent 60%);
}

.showcase-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
}

.showcase-hero-copy,
.showcase-hero-panel,
.showcase-band,
.showcase-card-shell,
.showcase-partner-tile {
  animation: showcase-rise 900ms cubic-bezier(0.32, 0.72, 0, 1) both;
}

.showcase-hero-copy {
  max-width: 45rem;
  padding: 2.5rem 0 1rem;
}

.showcase-kicker,
.showcase-mini-label,
.showcase-panel-label,
.showcase-programme-index {
  margin: 0;
  color: var(--showcase-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.showcase-display {
  margin: 1rem 0 0;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.94;
  text-wrap: balance;
}

.showcase-lead,
.showcase-card-text,
.showcase-panel-text,
.showcase-section-text,
.showcase-band-copy p,
.showcase-quote {
  max-width: 64ch;
  margin: 1.25rem 0 0;
  color: var(--showcase-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.showcase-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.showcase-button {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.35rem 0.4rem 0.35rem 1.35rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--showcase-accent-deep), var(--showcase-accent));
  color: #fffdf9;
  box-shadow: 0 18px 34px rgba(99, 63, 31, 0.2);
  transition: transform 260ms cubic-bezier(0.32, 0.72, 0, 1), box-shadow 260ms cubic-bezier(0.32, 0.72, 0, 1);
}

.showcase-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(99, 63, 31, 0.24);
}

.showcase-button:active {
  transform: scale(0.985);
}

.showcase-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 260ms cubic-bezier(0.32, 0.72, 0, 1);
}

.showcase-button:hover .showcase-button-icon {
  transform: translate(2px, -1px) scale(1.04);
}

.showcase-text-link {
  color: var(--showcase-accent-deep);
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 240ms cubic-bezier(0.32, 0.72, 0, 1), color 240ms cubic-bezier(0.32, 0.72, 0, 1);
}

.showcase-text-link:hover {
  color: var(--showcase-accent);
  transform: translateX(2px);
}

.showcase-card-shell {
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 2rem;
  background: rgba(120, 86, 51, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.showcase-card-shell-tight {
  transform: translateY(1.2rem);
}

.showcase-card-shell-offset {
  margin-left: 1.5rem;
}

.showcase-card-core {
  height: 100%;
  padding: 1.4rem;
  border: 1px solid var(--showcase-line);
  border-radius: 1.5rem;
  background: var(--showcase-surface);
  box-shadow: var(--showcase-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.showcase-card-core-dark {
  background: linear-gradient(180deg, #1f211d, #2d2c27);
  color: #f9f2e9;
  border-color: rgba(255, 255, 255, 0.08);
}

.showcase-card-core-dark .showcase-panel-label,
.showcase-card-core-dark .showcase-stat-label {
  color: rgba(255, 246, 236, 0.74);
}

.showcase-card-core-dark .showcase-stat-value {
  color: #fff8f0;
}

.showcase-stat-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.showcase-stat-item {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.showcase-stat-value {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  letter-spacing: -0.05em;
}

.showcase-stat-label {
  display: block;
  margin-top: 0.25rem;
  color: var(--showcase-muted);
  font-size: 0.92rem;
}

.showcase-band {
  display: grid;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(112, 86, 50, 0.18);
  border-bottom: 1px solid rgba(112, 86, 50, 0.18);
}

.showcase-section-title,
.showcase-card-title {
  margin: 0.4rem 0 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.02;
  text-wrap: balance;
}

.showcase-heading-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.7rem;
}

.showcase-heading-row-tight {
  margin-bottom: 1rem;
}

.showcase-programme-grid,
.showcase-testimonial-grid,
.showcase-story-grid,
.showcase-why-stack,
.showcase-partner-grid {
  display: grid;
  gap: 1rem;
}

.showcase-programme-card-2 {
  transform: translateY(2rem);
}

.showcase-programme-card-3 {
  transform: translateY(0.8rem);
}

.showcase-image-card {
  background:
    radial-gradient(circle at top right, rgba(141, 95, 50, 0.12), transparent 30%),
    var(--showcase-surface-strong);
}

.showcase-portrait-frame {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 1.35rem;
  background: linear-gradient(180deg, #e6ddd2, #d4c8ba);
  aspect-ratio: 4 / 4.8;
}

.showcase-portrait-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.showcase-signature {
  margin: 1.15rem 0 0;
  color: var(--showcase-ink);
  font-size: 1.05rem;
  font-weight: 700;
}

.showcase-signature-role {
  margin: 0.18rem 0 0;
  color: var(--showcase-muted);
  font-size: 0.92rem;
}

.showcase-quote-mark {
  margin: 0;
  color: rgba(141, 95, 50, 0.4);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 0.8;
}

.showcase-partner-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.showcase-partner-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6.5rem;
  padding: 1rem;
  border: 1px solid rgba(93, 67, 39, 0.12);
  border-radius: 1.35rem;
  background: rgba(255, 252, 247, 0.68);
}

.showcase-partner-image {
  max-width: 100%;
  max-height: 3.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.showcase-homepage a:focus-visible,
.showcase-homepage button:focus-visible {
  outline: 2px solid rgba(95, 63, 36, 0.75);
  outline-offset: 4px;
}

.flat-homepage {
  --flat-bg: #f5f8f5;
  --flat-surface: #ffffff;
  --flat-ink: #173329;
  --flat-muted: #5e6d65;
  --flat-line: #d9e3dc;
  --flat-green: #dcebe1;
  --flat-mustard: #f1efe8;
  --flat-coral: #edf3ef;
  --flat-cream: #fbfcfb;
  background:
    radial-gradient(circle at top left, rgba(220, 235, 225, 0.85), transparent 24%),
    linear-gradient(180deg, #fdfefd 0%, #f4f7f4 100%);
  color: var(--flat-ink);
}

.flat-main {
  padding: 7.5rem 0 5.5rem;
}

.flat-shell {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
}

.flat-section {
  padding: 0 0 5rem;
}

.flat-hero-grid,
.flat-heading,
.flat-dean-grid {
  display: grid;
  gap: 1.5rem;
}

.flat-label,
.flat-index {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3f6655;
}

.flat-display,
.flat-section-title,
.flat-card-title {
  margin: 0.55rem 0 0;
  color: var(--flat-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.flat-display {
  max-width: 10ch;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
}

.flat-section-title {
  font-size: clamp(1.8rem, 4vw, 3.25rem);
}

.flat-card-title {
  font-size: 1.55rem;
}

.flat-lead,
.flat-section-text,
.flat-card-copy {
  margin: 1rem 0 0;
  max-width: 62ch;
  color: var(--flat-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.flat-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.flat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
  border: 1.5px solid var(--flat-ink);
  color: var(--flat-ink);
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1), background-color 220ms cubic-bezier(0.23, 1, 0.32, 1), color 220ms cubic-bezier(0.23, 1, 0.32, 1);
}

.flat-button:hover {
  transform: translateY(-2px);
}

.flat-button-primary {
  background: var(--flat-ink);
  color: #ffffff;
}

.flat-button-secondary {
  background: transparent;
}

.flat-hero-artboard {
  position: relative;
  min-height: 26rem;
}

.flat-art {
  position: absolute;
  border: 1.5px solid rgba(23, 51, 41, 0.18);
  border-radius: 1.75rem;
}

.flat-art-mustard {
  top: 0;
  right: 0;
  width: 72%;
  height: 43%;
  background: var(--flat-mustard);
}

.flat-art-green {
  left: 0;
  bottom: 0;
  width: 58%;
  height: 49%;
  background: var(--flat-green);
}

.flat-art-cream {
  right: 9%;
  bottom: 13%;
  width: 43%;
  height: 28%;
  background: var(--flat-cream);
}

.flat-hero-aside {
  display: grid;
  gap: 1rem;
}

.flat-hero-note,
.flat-dean-copy,
.flat-dean-figure,
.flat-why-card,
.flat-programme-band,
.flat-testimonial-tile,
.flat-partner-tile {
  border: 1.5px solid var(--flat-line);
  background: var(--flat-surface);
  border-radius: 1.6rem;
}

.flat-hero-note {
  padding: 1.1rem 1.2rem;
}

.flat-note-label,
.flat-why-index,
.flat-quote-mark {
  margin: 0;
  color: #3f6655;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.flat-note-text {
  margin: 0.5rem 0 0;
  color: var(--flat-ink);
  font-size: 1rem;
  line-height: 1.55;
}

.flat-dean-grid,
.flat-why-grid,
.flat-testimonial-grid,
.flat-partner-grid {
  display: grid;
  gap: 1rem;
}

.flat-dean-grid {
  align-items: stretch;
}

.flat-dean-copy {
  padding: 1.75rem;
}

.flat-dean-figure {
  margin: 0;
  padding: 1rem;
}

.flat-programme-tone-1 {
  background: #ffffff;
}

.flat-programme-tone-2 {
  background: #f4f8f5;
}

.flat-programme-tone-3 {
  background: #eef5f1;
}

.flat-programme-tone-4 {
  background: #f8fbf8;
}

.flat-portrait-wrap {
  border: 1.5px solid var(--flat-line);
  background: #eef2ee;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  border-radius: 1.2rem;
}

.flat-portrait-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.flat-person {
  margin: 1rem 0 0;
  font-size: 1rem;
  font-weight: 800;
}

.flat-person-role {
  margin: 0.15rem 0 0;
  color: var(--flat-muted);
  font-size: 0.9rem;
}

.flat-why-card {
  display: grid;
  align-content: space-between;
  gap: 1.4rem;
  min-height: 12rem;
  padding: 1.35rem;
}

.flat-programme-stack {
  display: grid;
  gap: 1rem;
}

.flat-programme-band {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}

.flat-programme-meta {
  align-self: start;
}

.flat-programme-body {
  max-width: 62ch;
}

.flat-testimonial-tile {
  padding: 1.4rem;
  background: #fcfefd;
}

.flat-testimonial-tone-2 {
  background: #f4f8f5;
}

.flat-testimonial-tone-3 {
  background: #f7faf7;
}

.flat-testimonial-tone-4 {
  background: #f1f6f2;
}

.flat-partner-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flat-partner-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6.5rem;
  padding: 1rem;
}

.flat-partner-image {
  max-width: 100%;
  max-height: 3.6rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(0.8);
}

.flat-homepage a:focus-visible,
.flat-homepage button:focus-visible {
  outline: 2px solid var(--flat-ink);
  outline-offset: 4px;
}

@keyframes showcase-rise {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .flat-hero-grid,
  .flat-heading {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: start;
  }

  .flat-dean-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  }

  .flat-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flat-programme-band {
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
  }

  .flat-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flat-testimonial-tile:nth-child(2n) {
    transform: translateY(2rem);
  }

  .showcase-hero-grid,
  .showcase-heading-row,
  .showcase-band {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    align-items: start;
  }

  .showcase-programme-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .showcase-story-grid {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .showcase-testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .showcase-why-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mou-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leadership-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dean-points-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .leadership-contribution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
  }

  .dean-message-layout {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1.2fr);
    align-items: stretch;
    gap: 1.75rem;
  }

  .advisor-image-frame {
    height: 360px;
  }
}

@media (min-width: 1080px) {
  .flat-why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .flat-testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flat-partner-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .showcase-partner-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .leadership-profiles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .leadership-hero-layout {
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    align-items: stretch;
    gap: 1.8rem;
    padding: 1.5rem;
  }

  .dean-section-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: stretch;
  }

  .leadership-portrait-frame {
    min-height: 100%;
  }

  .hero-background-image {
    background-size: 100% auto;
    background-position: 60% 90%;
  }

  .footer-main-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  }
}

@media (max-width: 767px) {
  .flat-main {
    padding-top: 6.5rem;
  }

  .flat-shell {
    width: min(100% - 1.25rem, 1180px);
  }

  .flat-hero-artboard {
    min-height: 18rem;
  }

  .showcase-hero {
    padding-top: 6.5rem;
  }

  .showcase-card-shell-tight,
  .showcase-card-shell-offset,
  .showcase-programme-card-2,
  .showcase-programme-card-3 {
    transform: none;
    margin-left: 0;
  }

  .showcase-shell {
    width: min(100% - 1.25rem, 1240px);
  }

  .showcase-section {
    padding-bottom: 4.75rem;
  }
}

/* Utility fallback (replaces runtime Tailwind dependency) */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { inset: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.min-h-screen { min-height: 100vh; }
.overflow-hidden { overflow: hidden; }
.border-0 { border-width: 0; }
.border { border-width: 1px; border-style: solid; border-color: rgba(0,0,0,.2); }
.border-2 { border-width: 2px; border-style: solid; }
.border-b { border-bottom: 1px solid; }
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }
.bg-black\/55 { background: rgba(0, 0, 0, 0.55); }
.bg-slate-200 { background: rgb(226 232 240); }
.bg-white { background: #fff; }
.text-white { color: #fff; }
.text-center { text-align: center; }
.object-cover { object-fit: cover; }
.h-full { height: 100%; }
.w-full { width: 100%; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.h-44 { height: 11rem; }
.h-48 { height: 12rem; }
.h-56 { height: 14rem; }
.h-\[320px\] { height: 320px; }
.min-h-\[78vh\] { min-height: 78vh; }
.max-w-none { max-width: none; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-14 { padding-bottom: 3.5rem; }
.pb-20 { padding-bottom: 5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-14 { padding-top: 3.5rem; }
.pt-28 { padding-top: 7rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.p-0 { padding: 0; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: .5rem; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.leading-6 { line-height: 1.5rem; }
.leading-7 { line-height: 1.75rem; }
.leading-tight { line-height: 1.25; }
.tracking-\[0\.08em\] { letter-spacing: .08em; }
.tracking-\[0\.1em\] { letter-spacing: .1em; }
.tracking-\[0\.12em\] { letter-spacing: .12em; }
.tracking-\[0\.14em\] { letter-spacing: .14em; }
.tracking-\[0\.2em\] { letter-spacing: .2em; }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.pointer-events-none { pointer-events: none; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(.4,0,.2,1); }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(.4,0,.2,1); }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(.4,0,.2,1); }
.duration-300 { transition-duration: .3s; }
.duration-500 { transition-duration: .5s; }
.ease-in-out { transition-timing-function: cubic-bezier(.4,0,.2,1); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:text-emerald-500:hover { color: rgb(16 185 129); }
.hover\:text-\[\#1d6b54\]:hover { color: #1d6b54; }
.hover\:bg-\[\#155642\]:hover { background: #155642; }
.text-emerald-300 { color: rgb(110 231 183); }
.text-emerald-700 { color: rgb(4 120 87); }
.text-\[\#1f2a1f\] { color: #1f2a1f; }
.text-\[\#173c2e\] { color: #173c2e; }
.text-\[\#0a1422\] { color: #0a1422; }
.text-\[\#2c473b\] { color: #2c473b; }
.text-\[\#355247\] { color: #355247; }
.text-\[\#4d5f52\] { color: #4d5f52; }
.text-\[\#5b695f\] { color: #5b695f; }
.text-\[\#5f6775\] { color: #5f6775; }
.text-\[\#526658\] { color: #526658; }
.text-\[\#8a6a2d\] { color: #8a6a2d; }
.bg-\[\#f4efe4\] { background: #f4efe4; }
.bg-\[\#1d6b54\] { background: #1d6b54; }
.border-white\/30 { border-color: rgba(255, 255, 255, 0.3); }
.text-white\/85 { color: rgba(255, 255, 255, 0.85); }
.border-\[\#c8a95a\] { border-color: #c8a95a; }
.border-\[\#c6b28a\]\/60 { border-color: rgba(198, 178, 138, 0.6); }
.bg-\[radial-gradient\(circle_at_center\,_transparent_10\%\,_rgba\(0\,0\,0\,0\.75\)_75\%\)\] {
  background: radial-gradient(circle at center, transparent 10%, rgba(0, 0, 0, 0.75) 75%);
}

.prose p { margin: 0 0 1em; }
.prose ul { margin: 0 0 1em 1.2em; }
.prose h1,
.prose h2,
.prose h3,
.prose h4 { margin: 0 0 .7em; }

@media (min-width: 768px) {
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
  .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

.seg-register-layout {
  display: grid;
  gap: 1rem;
}

.seg-register-hero-card {
  border: 1px solid #cfe0da;
  border-radius: 1rem;
  background: linear-gradient(145deg, #f6fffb, #ecf8ff);
  padding: 1.15rem 1.2rem;
}

.seg-register-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #bcd8cf;
  border-radius: 9999px;
  background: #ffffff;
  color: #245647;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.24rem 0.62rem;
  text-transform: uppercase;
}

.seg-register-heading {
  margin: 0.62rem 0 0;
  color: #143e32;
  font-size: 1.35rem;
  line-height: 1.25;
}

.seg-register-copy {
  margin: 0.45rem 0 0;
  color: #426154;
  font-size: 0.92rem;
  line-height: 1.65;
}

.seg-register-form-card {
  border: 1px solid #d5e5df;
  border-radius: 1rem;
  background: #ffffff;
  padding: 1rem;
}

.seg-register-form-card .seg-register-warning {
  margin: 0;
  border: 1px solid #f3c7c7;
  border-radius: 0.7rem;
  background: #fff5f5;
  color: #7f1d1d;
  font-size: 0.88rem;
  padding: 0.7rem 0.8rem;
}

@media (min-width: 768px) {
  .seg-register-layout {
    gap: 1.1rem;
  }

  .seg-register-hero-card,
  .seg-register-form-card {
    padding: 1.2rem 1.25rem;
  }
}

.nav-item-group {
  position: relative;
  padding-bottom: 0.7rem;
  margin-bottom: -0.7rem;
}

.nav-link-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-caret {
  font-size: 0.65rem;
  opacity: 0.8;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 0.05rem);
  left: 0;
  min-width: 14rem;
  border: 1px solid #d7dee7;
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  padding: 0.45rem;
  display: grid;
  gap: 0.15rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 20;
}

.nav-item-group:hover .nav-dropdown,
.nav-item-group:focus-within .nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-link {
  border-radius: 0.5rem;
  color: #233146;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.5rem 0.6rem;
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-dropdown-link:hover {
  background: #e8f4ef;
  color: #0f766e;
}

.menu-item-group {
  display: grid;
  gap: 0.6rem;
}

.menu-sublist {
  display: grid;
  gap: 0.45rem;
  padding: 0 0.45rem 0.2rem 0.9rem;
}

.menu-subitem {
  color: rgba(241, 245, 249, 0.92);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 0.35rem 0.4rem;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.menu-subitem:hover {
  border-left-color: rgba(52, 211, 153, 0.8);
  color: #ffffff;
}

.contact-form-notice {
  margin-top: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 0.8rem 0.9rem;
}

.contact-form-notice.is-success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.contact-form-notice.is-error {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #9f1239;
}

.contact-form-grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form-field {
  display: grid;
  gap: 0.35rem;
}

.contact-form-field span {
  color: #344c40;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-form-field input,
.contact-form-field textarea {
  border: 1px solid #cbd5e1;
  border-radius: 0.65rem;
  color: #1f2937;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.4;
  padding: 0.62rem 0.72rem;
  width: 100%;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18);
  outline: none;
}

.contact-form-field-full {
  grid-column: 1 / -1;
}

.contact-form-submit {
  border: 0;
  border-radius: 0.7rem;
  background: linear-gradient(135deg, #0f766e, #0d9488);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  justify-self: start;
  padding: 0.75rem 1.1rem;
  transition: transform 180ms ease, filter 180ms ease;
}

.contact-form-submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.gallery-admin-hint {
  border: 1px dashed #94a3b8;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  color: #334155;
  font-size: 0.88rem;
  padding: 0.9rem 1rem;
}

.gallery-album-card {
  border: 1px solid #d9e2ec;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #f8fbff 48%, #ffffff);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.gallery-album-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-album-head {
  aspect-ratio: 2 / 1;
  border-bottom: 1px solid #e2e8f0;
  min-height: clamp(320px, 42vw, 620px);
  overflow: hidden;
  position: relative;
}

.gallery-album-hero {
  background-color: #0f172a;
  inset: 0;
  overflow: hidden;
  position: absolute;
}

.gallery-album-hero-frame {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: scale(1.015);
  transform-origin: center center;
  transition: opacity 1400ms cubic-bezier(0.22, 1, 0.36, 1), transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-album-hero-frame.is-active {
  opacity: 1;
  transform: scale(1);
}

.gallery-album-head::before {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.06) 15%, rgba(2, 6, 23, 0.55) 58%, rgba(2, 6, 23, 0.88) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.gallery-album-head::after {
  animation: galleryShimmer 7s ease-in-out infinite;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.12) 49%, rgba(255, 255, 255, 0) 82%);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-115%);
  z-index: 1;
}

.gallery-album-head-content {
  bottom: 0;
  left: 0;
  padding: 1.05rem 11rem 1rem 1rem;
  position: absolute;
  right: 0;
  z-index: 2;
}

.gallery-album-title {
  color: #f8fafc;
  font-size: 1.28rem;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 2px 14px rgba(2, 6, 23, 0.35);
}

.gallery-album-desc {
  color: rgba(241, 245, 249, 0.94);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0.4rem 0 0;
  max-width: 58ch;
  text-shadow: 0 2px 12px rgba(2, 6, 23, 0.35);
}

.gallery-album-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-start;
  margin-top: 0.8rem;
  width: 100%;
}

.gallery-album-count {
  color: rgba(226, 232, 240, 0.94);
  flex: 1 1 220px;
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 0;
  text-shadow: 0 2px 12px rgba(2, 6, 23, 0.35);
}

.gallery-album-toggle {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.6rem;
  background: rgba(15, 118, 110, 0.92);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.72rem;
  backdrop-filter: blur(2px);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.25);
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
  flex: 0 0 auto;
  bottom: 1rem;
  margin-left: 0;
  position: absolute;
  right: 1rem;
  white-space: nowrap;
  z-index: 3;
}

.gallery-album-toggle:hover {
  background: rgba(13, 148, 136, 0.95);
  box-shadow: 0 14px 30px rgba(13, 148, 136, 0.4);
  transform: translateY(-1px) scale(1.02);
}

.gallery-album-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0.9rem;
  transform: translateY(8px);
  transition: max-height 300ms ease, opacity 220ms ease, transform 220ms ease;
}

.gallery-album-body.is-open {
  animation: albumBodyIn 380ms cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 2400px;
  opacity: 1;
  transform: translateY(0);
}

.gallery-album-head-content .gallery-album-title,
.gallery-album-head-content .gallery-album-desc,
.gallery-album-head-content .gallery-album-meta {
  opacity: 0;
  transform: translateY(14px);
}

.gallery-album-card.is-visible .gallery-album-head-content .gallery-album-title,
.gallery-album-card.is-visible .gallery-album-head-content .gallery-album-desc,
.gallery-album-card.is-visible .gallery-album-head-content .gallery-album-meta {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 460ms ease, transform 460ms ease;
}

.gallery-album-card.is-visible .gallery-album-head-content .gallery-album-desc {
  transition-delay: 80ms;
}

.gallery-album-card.is-visible .gallery-album-head-content .gallery-album-meta {
  transition-delay: 160ms;
}

.gallery-bento-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-tile {
  border-radius: 0.8rem;
  overflow: hidden;
  position: relative;
}

.gallery-tile.is-page-hidden {
  display: none;
}

.gallery-tile.is-tile-in {
  animation: tileReveal 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--tile-stagger, 0ms);
}

.gallery-tile-trigger {
  border: 0;
  cursor: pointer;
  display: block;
  padding: 0;
  width: 100%;
}

.gallery-bento-image {
  display: block;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  transition: transform 220ms ease;
  width: 100%;
}

.gallery-tile:hover .gallery-bento-image {
  transform: scale(1.04);
}

.gallery-pagination {
  align-items: center;
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 0.9rem;
}

.gallery-page-status {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
}

.gallery-page-btn {
  border: 1px solid #cbd5e1;
  border-radius: 0.6rem;
  background: #ffffff;
  color: #1e293b;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.42rem 0.68rem;
}

.gallery-page-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.gallery-lightbox {
  align-items: center;
  background: rgba(2, 6, 23, 0.9);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 1.2rem;
  position: fixed;
  z-index: 120;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox-stage {
  margin: 0;
  max-height: 90vh;
  max-width: min(1100px, 90vw);
}

.gallery-lightbox-image {
  border-radius: 0.9rem;
  display: block;
  max-height: 78vh;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.gallery-lightbox-caption {
  align-items: center;
  color: #e2e8f0;
  display: flex;
  justify-content: space-between;
  margin-top: 0.8rem;
  gap: 1rem;
  font-size: 0.88rem;
}

.gallery-lightbox-arrow,
.gallery-lightbox-close {
  align-items: center;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #f8fafc;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.6rem;
  height: 44px;
  justify-content: center;
  transition: background-color 180ms ease, transform 180ms ease;
  width: 44px;
}

.gallery-lightbox-arrow:hover,
.gallery-lightbox-close:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.gallery-lightbox-close {
  position: absolute;
  right: 1.1rem;
  top: 1rem;
}

@keyframes albumBodyIn {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes galleryShimmer {
  0% {
    transform: translateX(-115%);
  }
  52% {
    transform: translateX(110%);
  }
  100% {
    transform: translateX(110%);
  }
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1.01) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.05) translate3d(0.35%, 0.18%, 0);
  }
}

.gallery-album-hero-frame.is-active {
  animation: heroKenBurns 11s ease-in-out forwards;
}

@keyframes tileReveal {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.roadmap-story-shell {
  background: linear-gradient(180deg, #f8fafc, #f1f5f9 58%, #eef2f7);
  border: 1px solid #d4dde8;
  overflow: hidden;
}

.roadmap-story-intro {
  margin-bottom: 1rem;
}

.roadmap-story-copy {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0.45rem 0 0;
  max-width: 64ch;
}

.programme-sections {
  display: grid;
  gap: 1rem;
}

.programme-panel {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 0.9rem;
  padding: 0.95rem;
}

.programme-panel-head {
  align-items: flex-start;
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
}

.programme-panel-title {
  color: #0f172a;
  font-size: 1.05rem;
  margin: 0;
}

.programme-brochure-btn {
  background: #0f4c81;
  border: 1px solid #0f4c81;
  border-radius: 0.62rem;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.46rem 0.72rem;
  white-space: nowrap;
}

.programme-brochure-btn.is-disabled {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #64748b;
}

.programme-accordion {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.82rem;
}

.programme-accordion-item {
  background: #f8fafc;
  border: 1px solid #dbe5ef;
  border-radius: 0.7rem;
  overflow: visible;
}

.programme-accordion-item summary {
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  list-style: none;
  padding: 0.72rem 0.78rem;
}

.programme-accordion-item summary::-webkit-details-marker {
  display: none;
}

.programme-accordion-body {
  border-top: 1px solid #dbe5ef;
  overflow: visible;
  padding: 0.58rem 0.78rem 0.72rem;
}

.programme-accordion-body ul {
  margin: 0;
  padding-left: 1rem;
}

.programme-accordion-body li {
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 0.24rem;
}

.programme-career-intro {
  color: #334155;
  font-size: 0.84rem;
  line-height: 1.7;
  margin: 0 0 0.9rem;
  max-width: 72ch;
}

.programme-career-list {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.programme-career-list li {
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #dbe5ef;
  border-radius: 0.82rem;
  color: #334155;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 28px minmax(0, 1fr);
  line-height: 1.55;
  margin: 0;
  padding: 0.72rem 0.78rem;
}

.programme-career-list li::before {
  align-items: center;
  background: #eff6ff;
  border-radius: 999px;
  color: #0f4c81;
  content: "•";
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  line-height: 1;
  width: 28px;
}

.programme-syllabus-table-wrap {
  overflow-x: auto;
}

.programme-syllabus-columns {
  display: grid;
  gap: 0.9rem;
}

.programme-syllabus-table {
  border-collapse: collapse;
  min-width: 100%;
  width: 100%;
}

.programme-syllabus-table th,
.programme-syllabus-table td {
  border-bottom: 1px solid #dbe5ef;
  font-size: 0.82rem;
  line-height: 1.6;
  padding: 0.58rem 0.62rem;
  text-align: left;
  vertical-align: top;
}

.programme-syllabus-table thead th {
  background: #f8fafc;
  color: #334155;
  font-weight: 800;
}

.programme-syllabus-table tbody td {
  color: #475569;
}

.programme-syllabus-table tbody tr:last-child td {
  border-bottom: 0;
}

.programme-syllabus-table th:first-child,
.programme-syllabus-table td:first-child {
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
  width: 68px;
}

@media (min-width: 900px) {
  .programme-syllabus-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .programme-career-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.programme-roadmap-inline {
  display: grid;
  gap: 0.75rem;
}

.programme-roadmap-copy {
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 0;
}

.roadmap-v-list {
  display: grid;
  gap: 0.9rem;
}

.roadmap-v-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: stretch;
}

.roadmap-v-rail {
  display: grid;
  justify-items: center;
  grid-template-rows: auto 1fr;
}

.roadmap-v-node {
  align-items: center;
  background: #ffffff;
  border: 2px solid #94a3b8;
  border-radius: 999px;
  color: #334155;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  letter-spacing: 0.02em;
  width: 42px;
}

.roadmap-v-line {
  width: 2px;
  margin-top: 0.45rem;
  background: linear-gradient(180deg, #cbd5e1, #e2e8f0);
  min-height: 2.5rem;
  border-radius: 999px;
}

.roadmap-v-card {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 0.95rem;
  padding: 0.9rem 0.95rem;
}

.roadmap-v-lane {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  margin-bottom: 0.45rem;
  padding: 0.18rem 0.45rem;
  text-transform: uppercase;
}

.roadmap-v-item.lane-not .roadmap-v-lane {
  background: #fef3c7;
  color: #92400e;
}

.roadmap-v-item.lane-yes .roadmap-v-lane {
  background: #dcfce7;
  color: #14532d;
}

.roadmap-v-title {
  color: #0f172a;
  font-size: 0.96rem;
  line-height: 1.45;
  margin: 0;
}

.roadmap-v-text {
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.58;
  margin: 0.32rem 0 0;
}

.programme-roadmap-soon {
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  border: 1px dashed #cbd5e1;
  border-radius: 0.8rem;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0;
  padding: 0.85rem 0.9rem;
  text-align: center;
}

.roadmap-h-stage {
  margin-inline: -0.25rem;
  height: auto !important;
  position: relative;
}

.roadmap-h-sticky {
  position: static;
}

.roadmap-h-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.roadmap-h-control {
  appearance: none;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.58rem 0.8rem;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.roadmap-h-control:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.roadmap-h-viewport {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  cursor: grab;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  padding: 1rem 0.95rem 1rem;
  scroll-behavior: smooth;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.roadmap-h-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.roadmap-h-viewport::-webkit-scrollbar {
  display: none;
}

.roadmap-h-track {
  display: flex;
  gap: 1rem;
  padding-right: min(22vw, 260px);
  transform: none !important;
  transition: none;
  width: max-content;
}

.roadmap-h-step {
  flex: 0 0 clamp(330px, 36vw, 430px);
  opacity: 0.72;
  transform: translateY(7px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.roadmap-h-step.is-visible {
  opacity: 0.88;
}

.roadmap-h-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.roadmap-h-head {
  align-items: center;
  display: flex;
}

.roadmap-h-node {
  align-items: center;
  background: #ffffff;
  border: 2px solid #94a3b8;
  border-radius: 999px;
  color: #334155;
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 0.74rem;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  letter-spacing: 0.02em;
}

.roadmap-h-step.is-active .roadmap-h-node {
  background: linear-gradient(180deg, #0f4c81, #0a3b67);
  border-color: #0a3b67;
  box-shadow: 0 0 0 5px rgba(125, 211, 252, 0.35);
  color: #ffffff;
}

.roadmap-h-connector {
  align-items: center;
  background: linear-gradient(90deg, #dbe5ef, #b8c5d4);
  border-radius: 999px;
  display: inline-flex;
  gap: 0.34rem;
  height: 5px;
  margin-left: 0.65rem;
  min-width: 132px;
  padding: 0 0.42rem;
  width: 100%;
}

.roadmap-h-dot {
  background: #ffffff;
  border-radius: 999px;
  display: inline-block;
  height: 6px;
  opacity: 0.95;
  width: 6px;
}

.roadmap-h-card {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-top: 4px solid #cbd5e1;
  border-radius: 0.95rem;
  margin-top: 0.78rem;
  min-height: 172px;
  padding: 0.88rem 0.92rem;
}

.roadmap-h-step.is-active .roadmap-h-card {
  border-color: #bfdbfe;
  border-top-color: #0f4c81;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.roadmap-h-lane {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  margin-bottom: 0.45rem;
  padding: 0.18rem 0.45rem;
  text-transform: uppercase;
}

.roadmap-h-step.lane-not .roadmap-h-lane {
  background: #fef3c7;
  color: #92400e;
}

.roadmap-h-step.lane-yes .roadmap-h-lane {
  background: #dcfce7;
  color: #14532d;
}

.roadmap-h-title {
  color: #0f172a;
  font-size: 0.96rem;
  line-height: 1.45;
  margin: 0;
}

.roadmap-h-text {
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.58;
  margin: 0.32rem 0 0;
}

.roadmap-h-progress {
  background: #dbe5ef;
  border-radius: 999px;
  height: 6px;
  margin-top: 0.85rem;
  overflow: hidden;
}

.roadmap-h-progress span {
  background: linear-gradient(90deg, #0284c7, #0f4c81);
  display: block;
  height: 100%;
  transition: width 180ms linear;
  width: 0%;
}

@media (max-width: 1024px) {
  .roadmap-h-step {
    flex-basis: clamp(300px, 68vw, 380px);
  }

}

@media (max-width: 767px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .gallery-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roadmap-h-stage {
    height: auto !important;
  }

  .roadmap-h-controls {
    justify-content: space-between;
  }

  .roadmap-h-track {
    gap: 0.85rem;
    padding-bottom: 0.5rem;
    padding-right: 20%;
  }

  .roadmap-h-step {
    flex-basis: min(85vw, 340px);
    scroll-snap-align: start;
  }

  .roadmap-h-viewport {
    padding: 0.85rem 0.75rem 0.9rem;
  }

  .gallery-album-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-album-head-content {
    padding: 0.95rem 1rem 1rem;
  }

  .gallery-album-toggle {
    bottom: auto;
    margin-left: 0;
    position: static;
    right: auto;
  }

  .gallery-album-head {
    aspect-ratio: 16 / 9;
    min-height: 230px;
  }

  .gallery-lightbox {
    padding: 0.8rem;
  }

  .gallery-lightbox-arrow {
    height: 38px;
    width: 38px;
    font-size: 1.3rem;
  }

}

/* ============================================================
   NEXT INTAKE SECTION
   ============================================================ */

.intake-section {
  padding: 4rem 1.5rem;
  background: #f4efe4;
}

.intake-shell {
  margin: 0 auto;
  max-width: 72rem;
}

.intake-heading {
  margin-bottom: 2.5rem;
  text-align: center;
}

.intake-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a6a2d;
  margin-bottom: 0.5rem;
}

.intake-title {
  font-size: 2rem;
  font-weight: 800;
  color: #173c2e;
  margin: 0 0 0.5rem;
}

.intake-subtitle {
  font-size: 0.9rem;
  color: #4d5f52;
  margin: 0;
}

/* Grid — centered when fewer cards than full row */
.intake-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

/* Card */
.intake-card {
  display: flex;
  flex-direction: column;
  width: 220px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #e2d9c5;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.intake-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(23, 60, 46, 0.12);
}

.intake-card-inner {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.intake-card-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e8e0d0;
}

.intake-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.intake-card-inner:hover .intake-card-image {
  transform: scale(1.03);
}

.intake-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d6c9a8, #b5a47a);
}

.intake-card-ribbon {
  position: absolute;
  top: 12px;
  left: -6px;
  background: #c0392b;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 0 0.25rem 0.25rem 0;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

.intake-card-footer {
  padding: 0.75rem 1rem 0.5rem;
}

.intake-card-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #173c2e;
  display: block;
}

/* Register Now button under card */
.intake-card-register-btn {
  display: block;
  margin: 0 0.75rem 0.75rem;
  padding: 0.55rem 1rem;
  background: #173c2e;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 0.4rem;
  transition: background 0.15s ease;
}

.intake-card-register-btn:hover {
  background: #0f2a1e;
  color: #fff;
}

.intake-card-register-btn-disabled {
  background: #ccc;
  color: #888;
  cursor: not-allowed;
  pointer-events: none;
}

/* Closed card state */
.intake-card-closed .intake-card-image,
.intake-card-closed .intake-card-placeholder {
  filter: grayscale(60%) brightness(0.85);
}

.intake-card-closed .intake-card-name {
  color: #7a8a80;
}

/* ============================================================
   INTAKE MODAL
   ============================================================ */

.intake-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 1.5rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.intake-modal.intake-modal-open {
  pointer-events: auto;
  opacity: 1;
}

.intake-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 34, 0.72);
  cursor: pointer;
}

.intake-modal-panel {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.intake-modal-close-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.08);
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  z-index: 2;
  line-height: 1;
}

.intake-modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.15);
}

/* 2-column layout */
.intake-modal-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: start;
}

.intake-modal-poster-col {
  border-radius: 1rem 0 0 1rem;
  background: #e8e0d0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intake-modal-poster-col.is-hidden {
  display: none;
}

.intake-modal-poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 1rem 0 0 1rem;
}

.intake-modal-info-col {
  padding: 2rem 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intake-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #173c2e;
  margin: 0 0 0.875rem;
  padding-right: 2rem;
}

.intake-modal-description {
  font-size: 0.875rem;
  color: #4d5f52;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  white-space: pre-wrap;
  flex: 1;
}

.intake-modal-register {
  display: inline-block;
  align-self: flex-start;
  background: #173c2e;
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease;
}

.intake-modal-register:hover {
  background: #0f2a1e;
  color: #fff;
}

.intake-modal-closed-notice {
  display: none;
  background: #fff3cd;
  border: 1px solid #f0c040;
  color: #856404;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .intake-card {
    width: calc(50% - 0.625rem);
  }

  .intake-modal-layout {
    grid-template-columns: 1fr;
  }

  .intake-modal-poster-col {
    border-radius: 1rem 1rem 0 0;
  }

  .intake-modal-poster-img {
    border-radius: 1rem 1rem 0 0;
  }

  .intake-modal-info-col {
    padding: 1.25rem;
  }

  .intake-modal-panel {
    max-height: 95vh;
  }
}
