:root {
  --bg: #F0EAE2;
  --bg-soft: #F6F2EC;
  --ink: #1C1A17;
  --muted: #5E5850;
  --gold: #A88A5E;
  --gold-soft: rgba(168, 138, 94, .35);
  --line: #E1D6C6;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ar: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --radius: 22px;
  --max: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ar);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, p { margin: 0; }

/* ---------- Shared ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .32em;
  color: var(--gold);
  text-align: center;
}
.eyebrow--start { text-align: left; margin-bottom: 28px; }
.gold { color: var(--gold); }
.rule { display: block; width: 80px; height: 1px; background: var(--gold); margin: 14px 0; }
.rule--center { margin: 22px auto; }
.brand__text {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--ink);
  white-space: nowrap;
}
.brand__text em { font-style: normal; color: var(--gold); }
.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 3.2vw, 30px);
  color: #3a352f;
  text-align: center;
}
.tagline--sm { font-size: clamp(18px, 2.6vw, 24px); margin-top: 40px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(240, 234, 226, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-color: var(--gold-soft); box-shadow: 0 6px 24px rgba(60, 45, 20, .06); }
.nav__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; direction: ltr; }
.nav__menu { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.nav__menu a { position: relative; color: var(--muted); transition: color .2s; }
.nav__menu a:hover { color: var(--ink); }
.nav__cta {
  border: 1px solid var(--gold); border-radius: 999px;
  padding: 6px 18px; color: var(--gold) !important;
}
.nav__cta:hover { background: var(--gold); color: #fff !important; }
.nav__toggle {
  display: none;
  width: 42px; height: 42px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.nav__toggle span { width: 24px; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 66px);
  min-height: calc(100svh - 66px);
  display: grid; place-items: center;
  padding: 48px 20px 72px;
}
.ring--hero {
  position: absolute; left: 50%; top: 50%;
  width: min(92vw, 820px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid var(--gold); border-radius: 50%;
  pointer-events: none;
}
.hero__content { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__logo { width: clamp(90px, 14vw, 130px); height: auto; margin-bottom: 22px; }
.pill {
  font-family: var(--sans); font-size: 16px; letter-spacing: .3em;
  color: var(--gold); border: 1px solid var(--gold); border-radius: 999px;
  padding: 6px 42px; margin-bottom: 26px;
}
.wordmark { display: flex; flex-direction: column; align-items: center; margin: 14px 0 28px; font-weight: 400; }
.wordmark__name {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(52px, 10vw, 92px); letter-spacing: .06em; line-height: 1.05;
}
.wordmark__sig {
  font-family: var(--sans); font-size: clamp(16px, 2.6vw, 24px);
  letter-spacing: .5em; margin-right: -.5em; color: var(--gold); margin-top: 8px;
}
.wordmark__acad {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--sans); font-size: clamp(13px, 1.8vw, 17px); letter-spacing: .4em;
  margin-top: 14px;
}
.wordmark__acad i { display: block; width: clamp(40px, 9vw, 80px); height: 1px; background: var(--gold); }
.hero__ar { margin-top: 22px; font-size: clamp(17px, 2.4vw, 21px); color: #3a352f; line-height: 1.9; }
.hero__tags {
  display: flex; gap: clamp(24px, 8vw, 80px); margin-top: 28px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .2em; line-height: 1.8;
}

/* ---------- Sections / cards ---------- */
.section { padding: 40px 20px; }
.card {
  max-width: var(--max); margin: 0 auto;
  border: 1px solid var(--gold); border-radius: var(--radius);
  padding: clamp(28px, 6vw, 64px);
  background: var(--bg);
}
.title {
  font-size: clamp(34px, 6vw, 56px); font-weight: 700; line-height: 1.3;
  margin-bottom: 36px;
}

/* Founder */
.founder {
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  gap: clamp(24px, 6vw, 64px);
}
.founder__photo { order: 1; }
.founder__text { order: 2; display: flex; flex-direction: column; align-items: flex-start; }
.founder__ana { color: var(--gold); font-size: 22px; }
.founder__name { font-size: clamp(44px, 7vw, 72px); font-weight: 700; line-height: 1.15; }
.founder__role { font-size: clamp(18px, 2.4vw, 22px); color: #3a352f; }
.founder__photo {
  width: clamp(200px, 30vw, 320px); aspect-ratio: 1;
  border-radius: 50%; padding: 8px;
  border: 3px solid var(--gold); background: var(--bg);
}
.founder__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 56px 0 40px;
}
.stats li {
  border: 1px solid var(--gold); border-radius: 18px;
  padding: 22px 12px; text-align: center;
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .3s, box-shadow .3s;
}
.stats li:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(120, 90, 40, .1); }
.stats strong {
  font-family: var(--serif); font-weight: 500; color: var(--gold);
  font-size: clamp(32px, 4.4vw, 44px); line-height: 1.1;
  font-variant-numeric: oldstyle-nums;
}
.stats span { font-size: 17px; font-weight: 500; }

.diplomas {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0;
  font-size: 17px; color: #3a352f; text-align: center;
}
.diplomas li + li::before { content: "·"; margin: 0 10px; color: var(--gold); }

/* Academy checks */
.checks { display: grid; gap: 18px; }
.checks li {
  border: 1px solid var(--gold); border-radius: 16px;
  padding: 18px 24px; font-size: clamp(17px, 2.3vw, 21px);
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-soft);
}
.checks li::before {
  content: ""; flex: none;
  width: 14px; height: 8px;
  border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg) translateY(-2px);
}
.note { margin-top: 40px; text-align: center; color: #3a352f; font-size: 18px; }

/* Curriculum */
.modules li {
  position: relative;
  padding: 22px 34px 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 2.5vw, 23px); line-height: 1.75;
}
.modules li:last-child { border-bottom: 0; }
.modules li::before {
  content: ""; position: absolute; right: 2px; top: 50%;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--dot); transform: translateY(-50%);
}

/* Circle sections */
.section--circle { display: grid; place-items: center; padding: 56px 20px; }
.circle {
  width: min(100%, 720px); aspect-ratio: 1;
  border: 1px solid var(--gold); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px;
}
.sig__lead { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3.4vw, 32px); line-height: 1.35; }
.sig__big { font-family: var(--serif); color: var(--gold); font-size: clamp(36px, 6.6vw, 60px); line-height: 1.2; margin-top: 8px; }
.services li {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(12px, 1.8vw, 15px); letter-spacing: .24em; line-height: 2.4;
}
.sig__follow { margin-top: 18px; color: var(--muted); font-size: 17px; }
.handle {
  font-family: var(--sans); font-size: clamp(30px, 5.4vw, 48px);
  color: #87807a; margin-top: 24px; letter-spacing: .02em;
  transition: color .2s;
}
.handle:hover { color: var(--gold); }

.qa__mark { font-family: var(--serif); color: var(--gold); font-size: clamp(64px, 12vw, 112px); line-height: 1; margin-top: 18px; }
.qa__title { font-size: clamp(22px, 3.6vw, 32px); font-weight: 700; line-height: 1.6; }
.qa__text { margin-top: 18px; color: #3a352f; font-size: clamp(16px, 2.2vw, 19px); line-height: 1.9; }
.btn {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #fff;
  padding: 12px 26px; border-radius: 999px; font-weight: 500;
  transition: background .2s, transform .2s;
}
.btn:hover { background: #8f7349; transform: translateY(-2px); }

/* Footer */
.footer {
  border-top: 1px solid var(--gold-soft);
  padding: 44px 20px 36px; margin-top: 30px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
}
.footer__ig { color: var(--gold); font-family: var(--sans); letter-spacing: .05em; }
.footer__copy { font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: .08em; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--gold-soft);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav__menu.is-open { max-height: 400px; }
  .nav__menu a { padding: 14px 20px; width: 100%; text-align: center; }
  .nav__cta { border: 0; border-radius: 0; }
}

@media (max-width: 700px) {
  .founder { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .founder__photo { order: 0; }
  .founder__text { order: 1; align-items: center; }
  .rule { margin-left: auto; margin-right: auto; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin: 40px 0 30px; }
  .stats li { padding: 16px 6px; }
  .stats span { font-size: 14px; line-height: 1.4; }
  .eyebrow--start { text-align: center; }
  .title { text-align: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand__text { font-size: 10px; letter-spacing: .2em; }
  .hero { min-height: auto; padding: 40px 16px 56px; }
  .ring--hero { display: none; }
  .hero__tags { flex-direction: column; gap: 14px; }
  .section { padding: 28px 16px; }
  .section--circle { padding: 28px 16px; }
  /* Circles become rounded cards on phones so text never overflows */
  .circle { aspect-ratio: auto; border-radius: var(--radius); padding: 48px 22px; }
  .checks li { padding: 14px 16px; }
  .modules li { padding-right: 28px; }
  .diplomas { flex-direction: column; }
  .diplomas li + li::before { content: none; }
}

@media (max-width: 340px) {
  .stats { grid-template-columns: 1fr; }
}
