@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700;800&family=Noto+Naskh+Arabic:wght@600;700&family=Sora:wght@500;600;700;800&display=swap");

:root {
  --green-950: #081510;
  --green-900: #10231b;
  --green-850: #18362a;
  --green-800: #214836;
  --green-700: #2d5d47;
  --green-600: #3a7059;
  --gold-500: #b3924f;
  --gold-400: #c7aa6d;
  --gold-200: #ebe0c4;
  --cream-50: #ffffff;
  --cream-100: #ffffff;
  --sage-50: #ffffff;
  --line: rgba(16, 35, 27, 0.08);
  --line-strong: rgba(16, 35, 27, 0.12);
  --text-900: #162a22;
  --text-700: #56675f;
  --text-500: #7b877f;
  --white: #ffffff;
  --shadow-soft: 0 18px 42px rgba(8, 28, 20, 0.05);
  --shadow-card: 0 8px 22px rgba(8, 28, 20, 0.04);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: var(--text-900);
  font-family: "Instrument Sans", sans-serif;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

a,
button,
summary,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.brand,
.nav-links > a,
.nav-parent-link,
.nav-parent-toggle,
.nav-dropdown a,
.hamburger,
.btn,
.faq-item summary,
.poster-tile,
.poster-carousel-btn,
.poster-carousel-dot,
.image-viewer-close {
  -webkit-user-select: none;
  user-select: none;
}

.page-shell {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  color: var(--gold-500);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2,
h3,
h4 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(16, 35, 27, 0.06);
  transition: background 0.28s ease, box-shadow 0.28s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 22px rgba(12, 24, 19, 0.06);
}

.nav-container {
  width: min(1320px, 94%);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text-900);
}

.logo {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  display: block;
}

.footer-logo {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  display: block;
}

.logo img,
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 4px;
}

.site-title {
  display: block;
  max-width: none;
  font-family: "Sora", sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
}

.brand-subtitle {
  display: none;
  color: var(--text-700);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-text p {
  margin-top: 3px;
  color: var(--text-500);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 2.8vw, 42px);
}

.nav-links > a,
.nav-parent-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(22, 42, 34, 0.78);
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 0;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-links > a:hover,
.nav-links > a.active,
.nav-parent-link:hover,
.nav-parent-link.active,
.nav-item-dropdown:hover .nav-parent-link,
.nav-item-dropdown:focus-within .nav-parent-link,
.nav-item-dropdown.open .nav-parent-link {
  color: var(--green-800);
}

.nav-links > a.active::after,
.nav-links > a:hover::after,
.nav-parent-link.active::after,
.nav-parent-link:hover::after,
.nav-item-dropdown:hover .nav-parent-link::after,
.nav-item-dropdown:focus-within .nav-parent-link::after,
.nav-item-dropdown.open .nav-parent-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.nav-item {
  position: relative;
}

.nav-parent-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-parent-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(22, 42, 34, 0.78);
  cursor: pointer;
  transition: color 0.25s ease;
}

.nav-parent-toggle:hover,
.nav-parent-toggle:focus-visible,
.nav-item-dropdown:hover .nav-parent-toggle,
.nav-item-dropdown:focus-within .nav-parent-toggle,
.nav-item-dropdown.open .nav-parent-toggle {
  color: var(--green-800);
}

.nav-caret {
  width: 8px;
  height: 8px;
  margin-top: -2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.22s ease;
}

.nav-item-dropdown:hover .nav-caret,
.nav-item-dropdown:focus-within .nav-caret,
.nav-item-dropdown.open .nav-caret {
  transform: rotate(225deg);
  margin-top: 2px;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  min-width: 220px;
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid rgba(16, 35, 27, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(14, 32, 24, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 20;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown,
.nav-item-dropdown.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-700);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: rgba(23, 68, 51, 0.06);
  color: var(--green-800);
  outline: none;
}

.hamburger {
  width: 34px;
  height: 26px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text-900);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.site-hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: var(--text-900);
  border-bottom: 1px solid rgba(16, 35, 27, 0.06);
}

.home-hero {
  padding: 146px 0 96px;
  border-bottom: 0;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.home-hero::before {
  background: url("img/gallery/home-hero-assembly.jpg") center / cover no-repeat;
  filter: blur(3px);
  transform: scale(1.04);
}

.home-hero::after {
  background:
    linear-gradient(120deg, rgba(8, 21, 16, 0.8), rgba(8, 21, 16, 0.54) 42%, rgba(8, 21, 16, 0.34) 72%, rgba(8, 21, 16, 0.5));
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: block;
}

.hero-copy {
  width: min(720px, 100%);
  padding: 0;
}

.hero-copy .eyebrow {
  color: #f1ddb0;
}

.hero-copy h1 {
  margin-top: 16px;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.04;
  color: var(--white);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.hero-copy p {
  max-width: 560px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  line-height: 1.75;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-media {
  display: grid;
  gap: 18px;
}

.hero-media-row,
.preview-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(145deg, rgba(179, 146, 79, 0.12), rgba(23, 68, 51, 0.92)),
    linear-gradient(135deg, #356751, #173428);
  box-shadow: var(--shadow-soft);
}

.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
}

.media-frame-clean::before {
  background: transparent;
}

.media-frame span {
  display: none;
}

.gallery-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 27, 0.06);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.gallery-card .media-frame {
  min-height: 240px;
  border: 0;
  border-radius: 0;
  background: #eef2ec;
  box-shadow: none;
}

.gallery-card-tall {
  align-self: start;
}

.gallery-card-tall .media-frame {
  min-height: 436px;
}

.gallery-grid-simple,
.gallery-event-grid,
.gallery-support-grid {
  align-items: start;
}

.photo-caption {
  padding: 14px 16px 16px;
}

.photo-caption h3 {
  margin: 0;
  color: var(--text-900);
  font-size: 1rem;
  line-height: 1.28;
}

.photo-caption p {
  margin-top: 6px;
  color: var(--text-700);
  font-size: 0.9rem;
  line-height: 1.56;
}

.hero-frame-large {
  min-height: 450px;
}

.hero-frame {
  min-height: 150px;
}

.hero-note {
  max-width: 430px;
  margin-top: 24px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-note strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-note p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.6;
}

.home-hero .btn-outline-green {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.home-hero .btn-outline-green:hover {
  background: var(--white);
  color: var(--green-800);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-solid,
.form-btn,
.footer-btn,
.contact-btn {
  background: var(--gold-500);
  color: #101a15;
}

.btn-solid:hover,
.form-btn:hover,
.footer-btn:hover,
.contact-btn:hover {
  background: var(--gold-400);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--green-800);
}

.btn-outline-green {
  border-color: rgba(33, 72, 54, 0.18);
  color: var(--green-800);
  background: transparent;
}

.btn-outline-green:hover {
  background: rgba(33, 72, 54, 0.05);
  color: var(--green-900);
}

.section-block {
  padding: 76px 0;
}

#placement,
#requirements,
#enquiry,
#faq {
  scroll-margin-top: 96px;
}

.section-soft {
  background: #ffffff;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-head-left {
  margin-left: 0;
  text-align: left;
}

.section-head h2,
.section-copy h2,
.gallery-panel h2,
.news-panel h2,
.contact-column h2,
.process-panel h2,
.cta-layout h2 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.08;
}

.section-head p,
.section-copy p,
.news-item p,
.reason-line p,
.simple-block p,
.quote-panel p,
.process-panel li,
.contact-row p,
.map-panel p,
.leader-panel p {
  color: var(--text-700);
  font-size: 0.94rem;
  line-height: 1.72;
}

.section-copy {
  max-width: 460px;
}

.home-overview-grid,
.editorial-split,
.home-showcase-grid {
  display: grid;
  gap: 34px;
}

.home-overview-grid,
.editorial-split {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.home-showcase-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: start;
}

.home-intro-copy {
  padding-top: 10px;
}

.split-section,
.subject-layout,
.intro-split,
.gallery-news-grid,
.contact-layout,
.process-grid,
.cta-layout {
  display: grid;
  gap: 28px;
}

.split-section,
.subject-layout,
.intro-split {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.program-list,
.subject-list {
  display: grid;
  gap: 10px;
}

.program-rail {
  display: grid;
  gap: 16px;
}

.program-rail-item {
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}

.program-rail-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.program-rail-item small {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-500);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.program-rail-item h3 {
  font-size: 1.4rem;
  line-height: 1.08;
}

.program-rail-item p {
  margin-top: 8px;
  color: var(--text-700);
  font-size: 0.9rem;
  line-height: 1.62;
}

.plain-row {
  padding: 16px 0 18px;
  border-top: 1px solid var(--line);
}

.plain-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.plain-row h3,
.reason-line h3,
.news-item h3,
.simple-block h3,
.process-panel h2,
.contact-row strong {
  font-size: 1.28rem;
  line-height: 1.12;
}

.plain-row p {
  color: var(--text-700);
  font-size: 0.92rem;
  line-height: 1.68;
}

.reason-grid,
.value-triad,
.support-grid,
.placement-grid,
.category-grid,
.philosophy-grid,
.pathway-grid {
  display: grid;
  gap: 14px;
}

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

.simple-block,
.process-panel,
.news-panel,
.gallery-panel,
.leader-panel,
.quote-panel,
.map-panel,
.form-shell,
.faq-item {
  background: #ffffff;
  border: 1px solid rgba(16, 35, 27, 0.04);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.simple-block {
  padding: 16px 16px 14px;
}

.process-panel {
  padding: 20px;
}

.reason-line {
  padding: 16px 0 18px;
  border-top: 1px solid var(--line);
}

.reason-line:nth-child(-n + 2) {
  border-top: 0;
}

.editorial-frame {
  min-height: 460px;
}

.approach-copy {
  max-width: 520px;
}

.expectation-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.expectation-item {
  padding: 16px 0 18px;
  border-top: 1px solid var(--line);
}

.expectation-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.expectation-item h3 {
  font-size: 1.26rem;
  line-height: 1.12;
}

.expectation-item p {
  margin-top: 6px;
  color: var(--text-700);
  font-size: 0.92rem;
  line-height: 1.68;
}

.gallery-news-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.gallery-panel,
.news-panel,
.quote-panel,
.leader-panel,
.map-panel {
  padding: 20px;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.mosaic-tall {
  min-height: 360px;
  grid-row: span 2;
}

.mosaic-grid .media-frame:not(.mosaic-tall) {
  min-height: 172px;
}

.home-showcase-head {
  margin-bottom: 18px;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.home-gallery-panel p {
  margin-top: 16px;
}

.home-gallery-feature {
  min-height: 280px;
}

.home-gallery-large {
  min-height: 360px;
  grid-row: span 2;
}

.home-gallery-grid .media-frame:not(.home-gallery-large) {
  min-height: 172px;
}

.updates-rail {
  padding-top: 2px;
}

.update-line {
  padding: 14px 0 16px;
  border-top: 1px solid var(--line);
}

.update-line:first-of-type {
  margin-top: 16px;
}

.update-line small {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-500);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.update-line h3 {
  font-size: 1.24rem;
  line-height: 1.12;
}

.update-line p {
  margin-top: 8px;
  color: var(--text-700);
  font-size: 0.9rem;
  line-height: 1.62;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--green-700);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: var(--gold-500);
}

.news-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.news-item {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.news-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.news-item small,
.pathway-grid .simple-block small {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold-500);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.news-item h3 {
  margin-bottom: 8px;
}

.cta-band {
  padding: 72px 0;
  background: linear-gradient(180deg, var(--green-850), var(--green-900));
  color: var(--white);
}

.cta-layout {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.cta-layout h2 {
  max-width: 660px;
}

.first-block {
  padding-top: 132px;
}

.about-first-block {
  padding-top: 102px;
  padding-bottom: 34px;
}

.about-intro-split {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 24px;
}

.about-intro-split .section-intro p {
  max-width: 500px;
}

.about-intro-split .quote-panel {
  width: 100%;
  max-width: 460px;
  justify-self: end;
}

.section-intro h1 {
  margin-top: 14px;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-intro p {
  max-width: 560px;
  margin-top: 16px;
}

.inner-page .section-head {
  max-width: 600px;
  margin-bottom: 18px;
}

.inner-page .section-copy {
  max-width: 400px;
}

.inner-page .section-intro h1 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.inner-page .section-head h2,
.inner-page .section-copy h2,
.inner-page .gallery-panel h2,
.inner-page .news-panel h2,
.inner-page .contact-column h2,
.inner-page .process-panel h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.inner-page .section-intro p,
.inner-page .section-head p,
.inner-page .section-copy p {
  max-width: 500px;
}

.quote-panel .quote-arabic {
  display: block;
  font-family: "Noto Naskh Arabic", serif;
  color: var(--text-900);
  max-width: 100%;
  font-size: clamp(1.85rem, 3.4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
}

.value-triad,
.support-grid,
.placement-grid,
.category-grid,
.pathway-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.founder-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: start;
}

.founder-portrait {
  overflow: hidden;
  padding: 12px;
  border-color: rgba(194, 158, 86, 0.18);
  background:
    radial-gradient(circle at top right, rgba(194, 158, 86, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(247, 242, 229, 0.98), rgba(255, 255, 255, 0.98));
}

.founder-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 18px;
}

.founder-meta {
  padding: 18px 20px 20px;
}

.founder-meta h3 {
  margin-top: 10px;
  font-size: 1.32rem;
  line-height: 1.1;
}

.founder-message {
  padding: 24px;
}

.founder-message h2 {
  margin-top: 12px;
}

.founder-speech {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.founder-signoff {
  margin-top: 18px;
  color: var(--text-900) !important;
  font-family: "Sora", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
}

.leader-frame {
  min-height: 320px;
  margin-bottom: 18px;
}

.preview-large {
  min-height: 260px;
}

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

.process-panel h2 {
  margin-top: 14px;
  margin-bottom: 14px;
}

.clean-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.clean-list li {
  position: relative;
  padding-left: 18px;
}

.clean-list li::before {
  content: "";
  position: absolute;
  top: 0.78rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
}

.form-shell {
  padding: 24px;
}

.contact-form-note {
  margin-bottom: 16px;
  color: var(--text-700);
  font-size: 0.94rem;
  line-height: 1.68;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-grid-single {
  grid-template-columns: 1fr;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  margin-bottom: 8px;
  color: var(--text-900);
  font-size: 0.86rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(16, 35, 27, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-900);
  font: inherit;
  outline: none;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(199, 163, 71, 0.14);
}

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

.form-btn {
  border: 0;
  cursor: pointer;
}

.form-btn:disabled {
  opacity: 0.75;
  cursor: wait;
}

.compact-form-btn {
  justify-self: start;
  min-width: 0;
  padding: 12px 20px;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-700);
}

.form-status.is-success {
  color: #1f6b43;
}

.form-status.is-error {
  color: #9f2f2f;
}

.faq-shell {
  max-width: 960px;
}

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

.faq-item {
  padding: 16px 18px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  color: var(--text-900);
  font-size: 1rem;
  font-weight: 800;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(33, 72, 54, 0.08);
  color: var(--green-900);
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] summary::after {
  content: "-";
  background: rgba(194, 158, 86, 0.16);
}

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

.faq-item p {
  margin-top: 12px;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid-simple {
  grid-template-columns: 1.15fr 0.85fr;
}

.masonry-grid .media-frame {
  min-height: 210px;
}

.gallery-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-support-grid .media-frame {
  min-height: 250px;
}

.gallery-event-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
}

.memorization-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.memorization-video-card {
  display: grid;
  gap: 14px;
}

.memorization-achievements-card {
  display: grid;
  gap: 14px;
}

.poster-tile {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(33, 72, 54, 0.14);
  border-radius: 24px;
  background: transparent;
  box-shadow: 0 16px 30px rgba(14, 32, 24, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.poster-tile:hover,
.poster-tile:focus-visible,
.poster-carousel-btn:hover,
.poster-carousel-btn:focus-visible,
.poster-carousel-dot:hover,
.poster-carousel-dot:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(33, 72, 54, 0.18);
  box-shadow: 0 18px 34px rgba(14, 32, 24, 0.1);
  outline: none;
}

.poster-tile img {
  display: block;
  width: 100%;
  height: auto;
}

.poster-carousel {
  display: grid;
  gap: 14px;
}

.poster-carousel-viewport {
  overflow: hidden;
}

.poster-carousel-track {
  display: flex;
  gap: 14px;
  transition: transform 0.28s ease;
}

.poster-slide {
  flex: 0 0 calc((100% - 14px) / 2);
}

.poster-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.poster-carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(33, 72, 54, 0.12);
  border-radius: 999px;
  background: rgba(247, 245, 239, 0.96);
  color: var(--green-900);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.poster-carousel-btn[disabled] {
  opacity: 0.42;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.poster-carousel-btn span {
  font-size: 1.5rem;
  line-height: 1;
}

.poster-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.poster-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(33, 72, 54, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.poster-carousel-dot.is-active {
  background: var(--gold-500);
  transform: scale(1.12);
}

.video-embed-shell {
  aspect-ratio: 9 / 14;
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  border-radius: 24px;
  background: #10211a;
  box-shadow: 0 22px 48px rgba(10, 25, 19, 0.18);
}

.video-embed-shell iframe {
  width: 100%;
  height: 100%;
}

.memorization-video-card .btn {
  min-width: 0;
  width: fit-content;
}

.gallery-proof-card {
  display: grid;
  gap: 14px;
}

.gallery-proof-frame {
  min-height: 230px;
  border-radius: 18px;
  background: #f5f1e5;
}

.gallery-proof-frame::before {
  background: linear-gradient(180deg, rgba(10, 25, 19, 0.02), rgba(10, 25, 19, 0.02));
}

.gallery-proof-frame a {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-lightbox-trigger img,
.gallery-proof-frame img {
  object-fit: contain;
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 17, 13, 0.78);
  backdrop-filter: blur(6px);
}

.image-viewer[hidden] {
  display: none;
}

.image-viewer-panel {
  position: relative;
  width: min(100%, 980px);
  max-height: calc(100vh - 48px);
  padding: 18px;
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 28px 60px rgba(7, 18, 14, 0.26);
}

.image-viewer-panel img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 84px);
  object-fit: contain;
  border-radius: 16px;
}

.image-viewer-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink-900);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(7, 18, 14, 0.16);
}

.masonry-tall {
  min-height: 436px !important;
  grid-row: span 2;
}

.masonry-wide {
  grid-column: span 2;
}

.contact-layout {
  grid-template-columns: 0.88fr 1.12fr;
  align-items: start;
}

.contact-column h2 {
  margin-top: 14px;
}

.contact-stack {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.contact-row {
  padding: 14px 0;
}

.contact-row strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.plain-contact {
  border-bottom: 1px solid var(--line);
}

.plain-contact:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-btn {
  margin-top: 18px;
}

.contact-form-shell {
  margin-bottom: 18px;
}

.map-frame {
  min-height: 220px;
  margin-bottom: 16px;
}

.map-embed {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 18px;
  margin-bottom: 14px;
  display: block;
}

.footer {
  position: relative;
  overflow: hidden;
  padding: 48px 0 0;
  background: linear-gradient(180deg, #153528, #0f241b);
  color: var(--white);
}

.footer::before,
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
}

.footer::before {
  background: url("img/gallery/home-school-community.jpg") center / cover no-repeat;
  opacity: 0.44;
  transform: scale(1.03);
}

.footer::after {
  background: linear-gradient(180deg, rgba(8, 21, 16, 0.58), rgba(8, 21, 16, 0.78));
}

.footer-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.footer-brand h3 {
  margin-bottom: 6px;
  font-size: 1.55rem;
  line-height: 1.02;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer h3,
.footer h4 {
  font-size: 1.4rem;
  line-height: 1.1;
}

.footer h4 {
  margin-bottom: 12px;
}

.footer p,
.footer a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-note {
  max-width: 350px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer a:hover {
  color: var(--gold-200);
}

.footer-btn {
  margin-top: 18px;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

@media (max-width: 1080px) {
  .hero-layout,
  .home-overview-grid,
  .editorial-split,
  .home-showcase-grid,
  .split-section,
  .founder-layout,
  .subject-layout,
  .intro-split,
  .gallery-news-grid,
  .contact-layout,
  .cta-layout {
    grid-template-columns: 1fr;
  }

  .value-triad,
  .support-grid,
  .placement-grid,
  .category-grid,
  .gallery-support-grid,
  .pathway-grid,
  .process-grid,
  .footer-layout {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 900px) {
  .page-shell,
  .nav-container {
    width: min(94%, 720px);
  }

  .nav-container {
    min-height: 72px;
    gap: 12px;
  }

  .brand {
    flex: 1;
    min-width: 0;
    gap: 10px;
  }

  .brand-text {
    min-width: 0;
  }

  .site-title {
    font-size: 1.08rem;
  }

  .brand-text p {
    font-size: 0.72rem;
  }

  .logo {
    width: 60px;
    height: 60px;
  }

  .footer-logo {
    width: 88px;
    height: 88px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 5%;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(16, 35, 27, 0.08);
    box-shadow: 0 16px 30px rgba(12, 24, 19, 0.06);
    transition: max-height 0.28s ease;
  }

  .nav-links.active {
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding-top: 10px;
    padding-bottom: 18px;
  }

  .nav-links > a,
  .nav-parent-row {
    width: 100%;
  }

  .nav-links > a,
  .nav-parent-link,
  .nav-parent-toggle {
    padding: 12px 0;
  }

  .nav-links > a.active::after,
  .nav-links > a:hover::after,
  .nav-parent-link.active::after,
  .nav-parent-link:hover::after {
    display: none;
  }

  .nav-item,
  .nav-item-dropdown {
    width: 100%;
  }

  .nav-parent-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-item-dropdown:hover .nav-caret,
  .nav-item-dropdown:focus-within .nav-caret {
    transform: rotate(45deg);
    margin-top: -2px;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    display: none;
    width: 100%;
    margin: 0 0 10px 8px;
    padding: 4px 0 0 12px;
    border: 0;
    border-left: 1px solid rgba(16, 35, 27, 0.08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item-dropdown.open .nav-dropdown {
    display: grid;
  }

  .nav-dropdown a {
    width: 100%;
    padding: 9px 0;
    border-radius: 0;
    font-size: 0.88rem;
  }

  .nav-dropdown a:hover,
  .nav-dropdown a:focus-visible {
    background: transparent;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
  }

  .reason-grid,
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .page-shell,
  .nav-container {
    width: 90%;
  }

  .section-block {
    padding: 54px 0;
  }

  .home-hero {
    padding: 112px 0 58px;
  }

  .first-block {
    padding-top: 98px;
  }

  .about-first-block {
    padding-top: 122px;
    padding-bottom: 28px;
  }

  .hero-layout,
  .home-overview-grid,
  .editorial-split,
  .home-showcase-grid,
  .split-section,
  .subject-layout,
  .intro-split,
  .gallery-news-grid,
  .contact-layout,
  .process-grid,
  .cta-layout {
    gap: 22px;
  }

  .hero-copy h1,
  .section-intro h1 {
    font-size: clamp(1.95rem, 9vw, 2.7rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
  }

  .hero-copy {
    padding: 0;
  }

  .about-intro-split .quote-panel {
    max-width: none;
    justify-self: stretch;
  }

  .founder-message {
    padding: 20px;
  }

  .founder-meta {
    padding: 16px 18px 18px;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .section-head h2,
  .section-copy h2,
  .gallery-panel h2,
  .news-panel h2,
  .contact-column h2,
  .process-panel h2,
  .cta-layout h2 {
    font-size: clamp(1.65rem, 7vw, 2.2rem);
    line-height: 1.12;
  }

  .hero-copy p,
  .section-head p,
  .section-copy p,
  .news-item p,
  .reason-line p,
  .simple-block p,
  .quote-panel p,
  .process-panel li,
  .contact-row p,
  .map-panel p,
  .leader-panel p,
  .update-line p {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .hero-note {
    max-width: none;
    padding-top: 14px;
  }

  .hero-note strong {
    font-size: 0.92rem;
  }

  .hero-note p {
    font-size: 0.84rem;
  }

  .media-frame,
  .map-embed {
    border-radius: 20px;
  }

  .hero-frame-large,
  .editorial-frame,
  .home-gallery-feature,
  .preview-large,
  .map-embed {
    min-height: 220px;
  }

  .program-rail,
  .subject-list,
  .expectation-list,
  .contact-stack,
  .faq-list,
  .updates-rail {
    gap: 12px;
  }

  .gallery-proof-card {
    gap: 12px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 13px 18px;
  }

  .value-triad,
  .support-grid,
  .placement-grid,
  .category-grid,
  .gallery-event-grid,
  .gallery-support-grid,
  .memorization-layout,
  .pathway-grid,
  .process-grid,
  .footer-layout,
  .masonry-grid {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .hero-media-row,
  .preview-row,
  .home-gallery-grid,
  .mosaic-grid {
    grid-template-columns: 1fr;
  }

  .field input,
  .field select,
  .field textarea {
    padding: 13px 14px;
    border-radius: 16px;
  }

  .gallery-panel,
  .news-panel,
  .quote-panel,
  .leader-panel,
  .map-panel,
  .form-shell,
  .faq-item,
  .reason-line,
  .simple-block,
  .process-panel {
    padding: 16px;
  }

  .contact-form-shell {
    margin-bottom: 14px;
  }

  .footer {
    padding-top: 40px;
  }

  .footer-layout {
    gap: 26px;
  }

  .home-gallery-large,
  .mosaic-tall,
  .masonry-tall,
  .masonry-wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px !important;
  }

  .video-embed-shell {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .page-shell,
  .nav-container {
    width: 94%;
  }

  .nav-container {
    min-height: 68px;
    gap: 10px;
  }

  .nav-links {
    top: 68px;
  }

  .nav-links.active {
    max-height: calc(100vh - 68px);
  }

  .brand {
    flex: 0 1 calc(100% - 44px);
    gap: 8px;
    max-width: calc(100% - 44px);
  }

  .logo {
    width: 54px;
    height: 54px;
  }

  .brand-text {
    max-width: 180px;
  }

  .site-title {
    font-size: 0.84rem;
    line-height: 1.12;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hamburger {
    width: 30px;
    height: 22px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .footer-logo {
    width: 76px;
    height: 76px;
  }

  .home-hero {
    padding: 102px 0 48px;
  }

  .first-block {
    padding-top: 90px;
  }

  .about-first-block {
    padding-top: 128px;
  }

  .section-block {
    padding: 46px 0;
  }

  .gallery-panel,
  .news-panel,
  .quote-panel,
  .leader-panel,
  .map-panel,
  .form-shell,
  .faq-item,
  .reason-line,
  .simple-block {
    padding: 18px 18px;
  }

  .hero-copy h1,
  .section-intro h1,
  .section-head h2,
  .section-copy h2,
  .gallery-panel h2,
  .news-panel h2,
  .contact-column h2,
  .process-panel h2,
  .cta-layout h2 {
    font-size: clamp(1.55rem, 8.2vw, 2rem);
    line-height: 1.14;
    letter-spacing: -0.03em;
  }

  .hero-copy {
    padding: 0;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .hero-copy p,
  .section-head p,
  .section-copy p,
  .news-item p,
  .reason-line p,
  .simple-block p,
  .quote-panel p,
  .process-panel li,
  .contact-row p,
  .map-panel p,
  .leader-panel p,
  .update-line p {
    font-size: 0.89rem;
  }

  .contact-row strong,
  .update-line h3,
  .simple-block h3,
  .plain-row h3,
  .expectation-item h3 {
    font-size: 1rem;
  }

  .quote-panel .quote-arabic {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .founder-speech {
    gap: 12px;
  }

  .footer {
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-note {
    margin: 0 auto;
  }
}
