:root{
  --bg0:#000000;
  --bg1:#1a1a1a;
  --bg2:#3a3a3a;
  --bg3:#e7e7e7;
  --bg4:#ffffff;
  --text:#0f0f0f;
  --textInv:#ffffff;
  --muted:rgba(255,255,255,.78);
  --mutedDark:rgba(0,0,0,.68);
  --gold:#c8a24a;
  --border:rgba(255,255,255,.12);
  --radius:18px;
  --shadow:0 20px 60px rgba(0,0,0,.35);
  --max:1120px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.5;
  color:var(--textInv);
  background: var(--bg0);
}
a{color:inherit}
img{max-width:100%;display:block}
.container{width:min(var(--max),calc(100% - 48px));margin:0 auto}
.actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.lead{max-width:70ch;opacity:.92}

.page-gradient{
  min-height:100vh;
  background:linear-gradient(180deg,var(--bg0) 0%, var(--bg1) 25%, var(--bg2) 45%, var(--bg3) 75%, var(--bg4) 100%);
  color:var(--textInv);
}
.page-gradient .section--light, .page-gradient .section--light *{color:var(--text)}
.page-gradient .section--light a{color:var(--text)}
.page-gradient .section--light .btn--ghost{border-color:rgba(0,0,0,.18); color:var(--text)}
.page-gradient .section--light .btn--ghost:hover{background:rgba(0,0,0,.06)}
.page-gradient .muted{color:rgba(255,255,255,.82)}
.page-gradient .section--light .muted{color:rgba(0,0,0,.72)}
.fine{font-size:.92rem;opacity:.85}
.quote{font-size:1.1rem;max-width:78ch;padding:18px 18px;border-left:3px solid var(--gold);background:rgba(255,255,255,.04);border-radius:12px}

.site-header{
  position:sticky;top:0;z-index:50;
  background:#000;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-header--transparent{
  position:fixed;
  left:0;right:0;top:0;
  background:transparent;
  border-bottom:1px solid transparent;
  transition:background .25s ease, border-color .25s ease;
}
.site-header.is-solid{
  background:#000;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:16px}
.nav__brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.nav__logo{height:44px;width:auto;filter:none}
.nav__menu{display:flex;align-items:center;gap:18px}
.nav__link{font-size:.95rem;text-decoration:none;opacity:.9}
.nav__link:hover{opacity:1}
.nav__link.is-active{opacity:1;position:relative}
.nav__link.is-active::after{
  content:"";position:absolute;left:0;right:0;bottom:-10px;height:2px;background:var(--gold);border-radius:2px;
}
.nav__cta{margin-left:6px}

.nav__toggle{
  display:none;
  width:44px;height:40px;
  background:transparent;border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  align-items:center;justify-content:center;gap:5px;
}
.nav__toggle span{display:block;width:20px;height:2px;background:#fff;border-radius:2px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:999px;
  text-decoration:none;font-weight:600;font-size:.95rem;
  border:1px solid transparent;
  transition:transform .06s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
}
.btn:active{transform:translateY(1px)}
.btn--gold{background:var(--gold);color:#000;border-color:rgba(0,0,0,.1)}
.btn--gold:hover{opacity:.92}
.btn--ghost{background:transparent;border-color:rgba(255,255,255,.22);color:#fff}
.btn--ghost:hover{background:rgba(255,255,255,.08)}
.hero{
  position:relative;
  min-height:88vh;
  display:flex;align-items:flex-end;
  background-image:var(--hero-image);
  background-size:cover;background-position:center;
}
.hero__overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.62) 45%, rgba(0,0,0,.82) 100%);
}
.hero__content{position:relative;padding:120px 0 64px;max-width:760px}
.hero__title{font-size:clamp(2.4rem,5vw,4rem);letter-spacing:.04em;text-transform:uppercase;margin:0 0 10px}
.hero__subtitle{margin:0 0 10px;font-weight:600;opacity:.92}
.hero__tagline{margin:0 0 18px;font-size:1.05rem;opacity:.9}
.hero__lead{margin:0 0 18px;max-width:62ch;opacity:.92}
.hero__actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:8px}
.hero__social{opacity:.9;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.2)}
.hero__social:hover{opacity:1}
.hero__cred{margin-top:22px;font-size:.95rem;opacity:.82;max-width:80ch}

.section{padding:72px 0}
.section--dark{background:transparent;color:#fff}
/* Pathways mid section (Al Jazira) should read clearly on light backgrounds */
.section--mid{background:#ffffff;color:#0b0b0b}
.section--mid h2{color:#0b0b0b}
.section--mid .muted,.section--mid .fine{color:rgba(0,0,0,.78) !important}
.section--light{background:rgba(255,255,255,.96);color:#111}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.card{
  padding:22px;border-radius:var(--radius);
  background:rgba(0,0,0,.38);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 16px 50px rgba(0,0,0,.25);
}
.card--glass{backdrop-filter: blur(8px)}
.card h3{margin:0 0 8px}
.card p{margin:0;opacity:.88}
.split{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center}
.media img{width:100%;border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.10)}
.section--light .media img{border-color:rgba(0,0,0,.08)}
.media--wide img{border-radius:22px}
.ticks{padding-left:18px;margin:16px 0 0}
.ticks li{margin:8px 0}
.cta{text-align:center}
.cta h2{margin:0 0 10px}
.cta p{margin:0 0 18px;color:rgba(0,0,0,.7)}
.page-hero{padding:120px 0 26px}
.page-hero h1{margin:0 0 8px;font-size:clamp(2rem,4vw,3rem);letter-spacing:.02em}
.page-hero .lead{margin:0;opacity:.9}

.gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.gitem{border-radius:16px;overflow:hidden;border:1px solid rgba(0,0,0,.10);background:#fff}
.gitem img{width:100%;height:240px;object-fit:cover;transition:transform .25s ease}
.gitem:hover img{transform:scale(1.03)}
.contact-card{
  padding-bottom:96px;
}
.contact-card__inner{
  max-width:720px;margin:0 auto;
  padding:28px;border-radius:22px;
  border:1px solid rgba(0,0,0,.10);
  box-shadow:0 16px 50px rgba(0,0,0,.12);
  background:#fff;
}
.contact-card__meta{margin-top:16px;color:rgba(0,0,0,.72);display:grid;gap:6px}
.footer{
  background:#000;color:#fff;
  border-top:1px solid rgba(255,255,255,.10);
}
.footer__inner{padding:24px 0;display:grid;gap:18px}
.footer__brand{display:flex;align-items:center;gap:14px}
.footer__logo{height:34px;width:auto;filter:invert(1)}
.footer__name{font-weight:700}
.footer__tagline{opacity:.82;font-size:.95rem}
.footer__links{display:flex;gap:14px;flex-wrap:wrap}
.footer__links a{opacity:.9;text-decoration:none}
.footer__links a:hover{opacity:1}
.footer__fine{opacity:.7;font-size:.9rem}

@media (max-width: 980px){
  .grid4{grid-template-columns:repeat(2,1fr)}
  .split{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .gitem img{height:200px}
  .nav__toggle{display:inline-flex}
  .nav__menu{
    position:fixed;left:16px;right:16px;top:76px;
    flex-direction:column;align-items:stretch;
    background:#000;
    border:1px solid rgba(255,255,255,.14);
    border-radius:18px;
    padding:14px;
    box-shadow:0 20px 70px rgba(0,0,0,.55);
    transform:translateY(-10px);
    opacity:0;pointer-events:none;
    transition:opacity .2s ease, transform .2s ease;
  }
  .nav__menu.is-open{opacity:1;pointer-events:auto;transform:translateY(0)}
  .nav__link{padding:10px 8px;width:100%}
  .nav__cta{width:100%;margin:6px 0 0}
}
/* ===== OAC FIXES (logo visibility + pathways captions) ===== */

/* Make header logo bigger + always readable on dark background */
.nav__brand{
  background:#fff;
  padding:8px 12px;
  border-radius:12px;
}
.nav__logo{height:58px !important; width:auto; filter:none !important;}

@media (min-width: 768px){
  .nav__logo{height:66px !important;}
}

/* Footer logo: remove invert + give white background */
.footer__logo{filter:none !important; height:44px !important;}
.footer__brand{
  background:#fff;
  color:#000;
  padding:10px 12px;
  border-radius:14px;
  display:flex;
}
.footer__tagline{opacity:.78;}

/* Ensure text under images stays readable on light sections */
.section--mid .muted, .section--light .muted{color:rgba(0,0,0,.72) !important;}
