/* ==========================================================================
   Higher Institute of Arts in Rojava — stylesheet
   ========================================================================== */

:root {
  --green-950: #062A15;
  --green-900: #0A3D20;
  --green-800: #0E5229;
  --green-700: #146A35;
  --green-600: #1B8A46;
  --green-500: #2EA35B;
  --green-200: #C4E4CD;
  --green-100: #E2F2E7;
  --green-50: #F0F7F1;

  --red-700: #A31E27;
  --red-600: #C4262F;

  --gold-500: #D9A405;
  --gold-400: #F2B705;
  --gold-100: #FBF0D0;

  --paper: #FBFAF6;
  --paper-2: #F3F0E7;
  --ink: #17211A;
  --ink-2: #3B443D;
  --muted: #657066;
  --line: #E5E1D5;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display-ar: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
  --font-body-ar: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;

  --container: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 30, 20, 0.05), 0 6px 20px -8px rgba(16, 30, 20, 0.12);
  --shadow-md: 0 2px 4px rgba(16, 30, 20, 0.06), 0 18px 44px -18px rgba(16, 30, 20, 0.28);
  --shadow-lg: 0 30px 70px -30px rgba(6, 42, 21, 0.45);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-2);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[dir="rtl"] {
  --font-display: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
}

html[dir="rtl"] body {
  letter-spacing: 0;
}

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

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-900); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.015em;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  letter-spacing: 0;
  line-height: 1.35;
}

html[dir="rtl"] .hero-title { line-height: 1.25; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 200;
  background: var(--green-800);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: none; color: #fff; }

.no-scroll { overflow: hidden; }

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.section { padding: clamp(72px, 9vw, 120px) 0; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-700);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
}
.section-head.center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
}
.eyebrow.center { justify-content: center; }

html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 0.82rem; }

/* Kurdish (Latin) reads best without forced uppercase or wide tracking */
html[data-lang="ku"] .eyebrow,
html[data-lang="ku"] .hero-badge,
html[data-lang="ku"] .contact-label {
  text-transform: none;
  letter-spacing: 0.04em;
}
html[data-lang="ku"] .eyebrow { font-size: 0.86rem; }

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  margin-bottom: 16px;
}

.section-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--muted);
  max-width: 620px;
}
.section-head.center .section-sub { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-sm { padding: 10px 18px; font-size: 0.9rem; }

.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-800); color: #fff; box-shadow: var(--shadow-sm); }

.btn-gold { background: var(--gold-400); color: var(--green-950); }
.btn-gold:hover { background: #f6c527; color: var(--green-950); box-shadow: 0 12px 30px -10px rgba(242, 183, 5, 0.6); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

.btn-ghost-dark { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding-block: 18px;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(16, 30, 20, 0.25);
  padding-block: 10px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { flex: 0 0 auto; }
.brand-mark img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 700; font-size: 1.02rem; color: #fff; transition: color 0.3s ease; font-family: var(--font-display); letter-spacing: 0; }
.brand-sub { font-size: 0.72rem; color: rgba(255, 255, 255, 0.78); letter-spacing: 0.04em; transition: color 0.3s ease; }

.site-header.is-scrolled .brand-name { color: var(--ink); }
.site-header.is-scrolled .brand-sub { color: var(--muted); }

.site-header.is-nav-open {
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(16, 30, 20, 0.25);
}
.site-header.is-nav-open .brand-name { color: var(--ink); }
.site-header.is-nav-open .brand-sub { color: var(--muted); }
.site-header.is-nav-open .nav-burger span { background: var(--ink); }

.main-nav { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1; min-width: 0; }
.main-nav a {
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 14px;
  font-size: 0.94rem;
  font-weight: 500;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.main-nav a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.main-nav a.is-current { background: rgba(255, 255, 255, 0.16); color: #fff; }
.site-header.is-scrolled .main-nav a { color: var(--ink-2); }
.site-header.is-scrolled .main-nav a:hover { background: var(--green-50); color: var(--green-800); }
.site-header.is-scrolled .main-nav a.is-current { background: var(--green-50); color: var(--green-800); }

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 999px;
  padding: 3px;
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lang-option {
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.lang-option:hover { opacity: 1; }
.lang-option.is-active { opacity: 1; background: rgba(255, 255, 255, 0.92); color: var(--green-900); }
.lang-option:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 2px; }

.site-header.is-scrolled .lang-toggle { color: var(--ink-2); border-color: var(--line); background: var(--white); }
.site-header.is-scrolled .lang-option.is-active { background: var(--green-700); color: #fff; }

.lang-toggle--nav { display: none; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.3s ease;
}
.site-header.is-scrolled .nav-burger span { background: var(--ink); }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(85deg, rgba(4, 30, 15, 0.94) 0%, rgba(5, 34, 17, 0.82) 34%, rgba(6, 42, 21, 0.45) 62%, rgba(6, 42, 21, 0.22) 100%),
    linear-gradient(180deg, rgba(4, 30, 15, 0.65) 0%, rgba(4, 30, 15, 0) 30%, rgba(4, 30, 15, 0.55) 100%);
}
html[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(-85deg, rgba(4, 30, 15, 0.94) 0%, rgba(5, 34, 17, 0.82) 34%, rgba(6, 42, 21, 0.45) 62%, rgba(6, 42, 21, 0.22) 100%),
    linear-gradient(180deg, rgba(4, 30, 15, 0.65) 0%, rgba(4, 30, 15, 0) 30%, rgba(4, 30, 15, 0.55) 100%);
}

.hero-content { padding-block: 132px 96px; width: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.hero-content > * { max-width: 780px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FCE9A9;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 16px;
  border-radius: 999px;
  margin: 0 0 26px;
  backdrop-filter: blur(4px);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(242, 183, 5, 0.25); }

.hero-title { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.025em; }
.hero-title-en { display: block; }

.hero-sub {
  margin: 24px 0 34px;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 58ch;
  line-height: 1.7;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 48px);
  margin: clamp(44px, 7vw, 72px) 0 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-stats .stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { margin: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; color: #fff; font-family: var(--font-display); line-height: 1; }

.stat-label { margin: 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.04em; }

.hero-scroll {
  position: absolute;
  inset-inline-start: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero-scroll span { width: 4px; height: 9px; border-radius: 3px; background: #fff; animation: scrollPulse 1.8s ease-in-out infinite; }
@keyframes scrollPulse {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- about ---------- */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }

.about-media { position: relative; }
.about-media-main { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media-main img { aspect-ratio: 4 / 3; object-fit: cover; }
.about-media-float {
  position: absolute;
  inset-inline-end: -18px;
  bottom: -26px;
  width: 46%;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-md);
}
.about-media-float img { aspect-ratio: 4 / 3; object-fit: cover; }
.about-media-badge {
  position: absolute;
  inset-inline-start: 16px;
  top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.about-media-badge .badge-year { color: #fff; background: var(--red-600); border-radius: 999px; padding: 2px 10px; font-size: 0.74rem; }

.about-body .section-title { margin-bottom: 20px; }
.about-body > p { color: var(--ink-2); font-size: 1.02rem; }

.about-highlights { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.about-highlights li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--ink); font-size: 0.98rem; }
.about-highlights .tick {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  margin-top: 2px;
}

/* ---------- mission / vision / objectives ---------- */
.mvo { background: var(--paper-2); }
.mvo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mvo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mvo-card::after {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--gold-400));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mvo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.mvo-card:hover::after { opacity: 1; }
.mvo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--green-700);
  margin-bottom: 20px;
}
.mvo-icon svg { width: 26px; height: 26px; }
.mvo-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.mvo-card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- values ---------- */
.values {
  padding-block: clamp(48px, 6vw, 80px);
  background:
    radial-gradient(120% 180% at 15% 0%, rgba(46, 163, 91, 0.28) 0%, rgba(6, 42, 21, 0) 60%),
    var(--green-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.values::after {
  content: "";
  position: absolute;
  inset-block-start: -40px;
  inset-inline-end: -40px;
  width: 260px;
  height: 260px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23F2B705' stroke-opacity='.18' stroke-width='1.5'%3E%3Ccircle cx='60' cy='60' r='16'/%3E%3Cpath d='M60 14v11M60 95v11M14 60h11M95 60h11M27 27l8 8M85 85l8 8M93 27l-8 8M35 85l-8 8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 130px 130px;
  opacity: 0.5;
  pointer-events: none;
}
.values .container { position: relative; z-index: 1; }
.values .eyebrow { color: #F6D77C; }
.values .eyebrow::before { background: var(--gold-400); }
.values-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.value-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}
.value-num { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; color: var(--gold-400); }
.value-text { font-size: 0.95rem; font-weight: 500; color: rgba(255, 255, 255, 0.92); line-height: 1.45; }

/* ---------- programs ---------- */
.programs { background: var(--paper); }
.programs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.program-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.program-media { overflow: hidden; }
.program-media img { aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.program-card:hover .program-media img { transform: scale(1.06); }
.program-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.program-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-700);
  margin-bottom: 16px;
}
.program-icon svg { width: 24px; height: 24px; }
.program-body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.program-body p { color: var(--muted); font-size: 0.93rem; flex: 1; }
.program-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--green-700);
}
.program-link svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.program-link:hover svg { transform: translateX(4px); }
html[dir="rtl"] .program-link svg { transform: scaleX(-1); }
html[dir="rtl"] .program-link:hover svg { transform: scaleX(-1) translateX(4px); }

/* ---------- students ---------- */
.students { background: var(--paper-2); }
.students-total { text-align: center; margin: 0 0 40px; }
.students-total-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--green-800);
  line-height: 1;
}

.students-total-label { color: var(--muted); font-size: 1rem; margin-top: 8px; display: block; }

.students-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.student-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
}
.student-card-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.student-card-head h3 { font-size: 1.3rem; }
.student-total {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--red-600);
  line-height: 1;
}


.student-row { margin-bottom: 16px; }
.student-row:last-child { margin-bottom: 0; }
.student-row-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.student-branch { font-weight: 600; color: var(--ink); font-size: 0.96rem; }
.student-count { color: var(--muted); font-size: 0.9rem; }
.student-count em { font-style: normal; }
.student-bar { height: 8px; border-radius: 999px; background: var(--green-100); overflow: hidden; }
.student-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-600), var(--green-500));
  transition: width 1s cubic-bezier(0.2, 0.6, 0.2, 1);
}
html[dir="rtl"] .student-bar span { background: linear-gradient(-90deg, var(--green-600), var(--green-500)); }

.students-note {
  margin-top: 34px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 720px;
  background: var(--gold-100);
  border: 1px solid #EBD69A;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  color: #6B5515;
  font-size: 0.95rem;
}
.students-note .note-mark { color: var(--gold-500); font-size: 1.05rem; line-height: 1.5; }

/* ---------- strategy ---------- */
.strategy { background: var(--paper); }
.strategy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.strategy-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.strategy-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.strategy-num {
  position: absolute;
  inset-block-start: 24px;
  inset-inline-end: 28px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--green-100);
  line-height: 1;
  user-select: none;
}

.strategy-card h3 { font-size: 1.4rem; margin-bottom: 18px; padding-inline-end: 60px; }
.strategy-card ul { display: flex; flex-direction: column; gap: 10px; }
.strategy-card li {
  position: relative;
  padding-inline-start: 24px;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.55;
}
.strategy-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
}

/* ---------- administration ---------- */
.admin { background: var(--paper-2); }
.admin-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 64px); align-items: center; }
.admin-body .section-title { margin-bottom: 20px; }
.admin-body p { color: var(--ink-2); }

.admin-chart {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.org { display: flex; flex-direction: column; align-items: stretch; }

.org-node {
  align-self: center;
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 10px;
  box-shadow: 0 10px 22px -12px rgba(6, 42, 21, 0.7);
  text-align: center;
}

.org-spine {
  width: 2px;
  height: 20px;
  background: var(--green-200);
  margin-inline: auto;
}

.org-deputy-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border: 1px dashed var(--green-200);
  border-radius: 10px;
  background: var(--green-50);
}
.org-deputy {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-800);
  background: #fff;
  border: 1px solid var(--green-100);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}

.org-columns { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 18px; }
.org-col {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: linear-gradient(180deg, #fff, var(--paper));
}
.org-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.org-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.org-pill {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 7px;
  padding: 6px 10px;
}
.org-council {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--gold-100);
  border: 1px solid #EBD69A;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}
.org-council strong { color: #8A6A10; font-size: 0.92rem; }
.org-council span { color: #6B5515; font-size: 0.78rem; }

/* ---------- curriculum ---------- */
.curriculum { background: var(--paper); }
.curriculum-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 40px;
}
.seg {
  display: inline-flex;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
}
.seg-btn {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.seg-btn.is-active { background: var(--green-700); color: #fff; box-shadow: var(--shadow-sm); }

.curriculum-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.curriculum-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: box-shadow 0.25s ease;
}
.curriculum-card:hover { box-shadow: var(--shadow-md); }
.curriculum-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.curriculum-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green-50);
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.curriculum-icon svg { width: 21px; height: 21px; }
.curriculum-card h3 { font-size: 1.2rem; }
.curriculum-list { display: flex; flex-direction: column; gap: 8px; }
.curriculum-list li {
  position: relative;
  padding-inline-start: 18px;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.curriculum-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
}

.general-lectures {
  margin-top: 26px;
  background: var(--green-900);
  border-radius: var(--radius);
  color: #fff;
  padding: 34px 36px;
}
.general-lectures h3 { color: #fff; font-size: 1.3rem; margin-bottom: 18px; }
.general-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.general-list li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
}
.general-note { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; max-width: 78ch; }

/* ---------- services ---------- */
.services { background: var(--paper-2); }
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.services-grid > * { grid-column: span 2; }
.services-grid > *:nth-child(n + 4) { grid-column: span 3; }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
  color: var(--green-700);
  margin-bottom: 20px;
}
.service-icon svg { width: 27px; height: 27px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- charter ---------- */
.charter { background: var(--paper); }
.charter-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.charter-grid > * { grid-column: span 2; }
.charter-grid > *:nth-child(n + 4) { grid-column: span 3; }
.charter-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  border-top: 3px solid var(--gold-400);
}
.charter-card h3 { font-size: 1.22rem; margin-bottom: 16px; color: var(--green-800); }
.charter-card ul { display: flex; flex-direction: column; gap: 11px; }
.charter-card li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.55;
}
.charter-card li::before {
  content: "—";
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold-500);
  font-weight: 600;
}

/* ---------- gallery ---------- */
.gallery { background: var(--paper-2); }
.gallery-grid { columns: 3; column-gap: 20px; }
.gallery-item {
  position: relative;
  margin: 0 0 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  break-inside: avoid;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(180deg, rgba(6, 42, 21, 0) 45%, rgba(6, 42, 21, 0.78) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover figcaption { opacity: 1; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(6, 20, 12, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-figure { margin: 0; max-width: min(92vw, 1080px); text-align: center; }
.lightbox-figure img {
  max-width: 100%;
  max-height: 82vh;
  margin-inline: auto;
  border-radius: 10px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}
.lightbox-figure figcaption { color: rgba(255, 255, 255, 0.85); margin-top: 16px; font-size: 0.95rem; }

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox-close { top: 22px; inset-inline-end: 22px; width: 46px; height: 46px; font-size: 1.1rem; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.7rem; line-height: 1; }
.lightbox-prev { inset-inline-start: 22px; }
.lightbox-next { inset-inline-end: 22px; }

/* ---------- contact ---------- */
.contact { background: var(--paper); padding-bottom: clamp(72px, 9vw, 120px); }
.contact-panel {
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(46, 163, 91, 0.35) 0%, rgba(6, 42, 21, 0) 55%),
    linear-gradient(140deg, var(--green-900), var(--green-800) 70%);
  border-radius: 26px;
  padding: clamp(36px, 6vw, 64px);
  color: #fff;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.contact-panel .eyebrow { color: #F6D77C; }
.contact-panel .eyebrow::before { background: var(--gold-400); }
.contact-panel .section-title { color: #fff; margin-bottom: 18px; }
.contact-body > p { color: rgba(255, 255, 255, 0.86); font-size: 1.05rem; max-width: 56ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.contact-meta { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #F6D77C;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-item > div { display: flex; flex-direction: column; gap: 2px; }
.contact-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.6); }
.contact-value { font-weight: 500; color: #fff; font-size: 0.98rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-950); color: rgba(255, 255, 255, 0.72); padding: clamp(56px, 7vw, 84px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand .brand-mark { display: inline-block; margin-bottom: 16px; }
.footer-brand .brand-mark img { width: 58px; height: 58px; }
.footer-name { color: #fff; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin: 0 0 4px; }

.footer-sub { font-size: 0.8rem; color: #F6D77C; margin: 0 0 14px; }
.footer-blurb { font-size: 0.92rem; line-height: 1.6; max-width: 34ch; }

.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 8px; }

.footer-col a, .footer-col span { color: rgba(255, 255, 255, 0.68); font-size: 0.92rem; }
.footer-col a:hover { color: #F6D77C; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
}
.footer-bottom p { margin: 0; }
.footer-domain { color: #F6D77C; font-weight: 600; letter-spacing: 0.03em; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .curriculum-grid { grid-template-columns: repeat(2, 1fr); }
  .values-strip { grid-template-columns: repeat(3, 1fr); }
  .services-grid, .charter-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid > *, .services-grid > *:nth-child(n + 4),
  .charter-grid > *, .charter-grid > *:nth-child(n + 4) { grid-column: auto; }
}

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    inset-block-start: 68px;
    inset-inline-start: 0;
    inset-inline-end: 0;
    flex-direction: column;
    align-items: stretch;
    flex: none;
    justify-content: flex-start;
    background: var(--paper);
    padding: 16px 20px 24px;
    gap: 4px;
    box-shadow: 0 30px 50px -20px rgba(16, 30, 20, 0.35);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { color: var(--ink-2); padding: 12px 14px; border-radius: 10px; }
  .main-nav a:hover { background: var(--green-50); color: var(--green-800); }
  .site-header.is-scrolled .main-nav a { color: var(--ink-2); }
  .nav-burger { display: flex; }

  .about-grid, .admin-grid { grid-template-columns: 1fr; }
  .about-media { margin-bottom: 46px; }
  .about-media-float { inset-inline-end: 8px; }
  .mvo-grid { grid-template-columns: 1fr; }
  .students-grid { grid-template-columns: 1fr; }
  .strategy-grid { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; }
  .admin-grid { align-items: stretch; }
}

@media (max-width: 640px) {
  .brand-name { font-size: 0.86rem; white-space: nowrap; }
  .brand-sub { font-size: 0.64rem; white-space: nowrap; }
  .brand-mark img { width: 36px; height: 36px; }
  .header-actions .btn { display: none; }
  .header-actions #lang-toggle { display: none; }
  .lang-toggle--nav {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 10px;
    color: var(--green-800);
    border-color: var(--line);
    background: var(--white);
  }
  .lang-toggle--nav .lang-option { font-size: 0.82rem; padding: 7px 14px; }
  .lang-toggle--nav .lang-option.is-active { background: var(--green-700); color: #fff; }

  .hero-content { padding-block: 122px 84px; }
  .hero-badge { font-size: 0.68rem; padding: 7px 13px; letter-spacing: 0.05em; }
  .hero-sub { font-size: 1.02rem; line-height: 1.62; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; padding-top: 24px; }

  .programs-grid, .curriculum-grid { grid-template-columns: 1fr; }
  .values-strip { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .charter-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .seg { width: 100%; }
  .seg-btn { flex: 1; }
  .curriculum-controls { width: 100%; }
}

/* ---------- utilities ---------- */
.scroll-sentinel {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 1px;
  height: 40px;
  pointer-events: none;
}
