:root {
  --ink: #073c3b;
  --ink-soft: #12504e;
  --teal: #007b78;
  --green: #00a98f;
  --mint: #9fe4d4;
  --orange: #ed7f53;
  --paper: #f5f7f2;
  --white: #ffffff;
  --line: rgba(7, 60, 59, .18);
  --muted: #586d6a;
  --display: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif;
  --body: "IBM Plex Sans Arabic", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  direction: rtl;
  text-align: right;
  font-family: var(--body);
  font-size: 16px;
  line-height: 2.05;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, blockquote { margin: 0; }
button { font: inherit; }
::selection { background: var(--orange); color: var(--white); }

.skip-link {
  position: fixed;
  top: -100px;
  right: 1rem;
  z-index: 999;
  background: var(--white);
  padding: .7rem 1rem;
}
.skip-link:focus { top: 0; }
.section-shell { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(245, 247, 242, .96);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled { border-color: var(--line); backdrop-filter: blur(18px); }
.header-inner {
  width: min(1280px, calc(100% - 80px));
  height: 92px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 255px 1fr 150px;
  align-items: center;
  gap: 2rem;
}
.brand { display: flex; align-items: center; }
.brand img { width: 218px; max-height: 68px; object-fit: contain; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(1.3rem, 2.5vw, 3rem); }
.desktop-nav a { position: relative; font-size: .86rem; font-weight: 600; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  height: 2px;
  right: 0;
  bottom: -.4rem;
  width: 0;
  background: var(--orange);
  transition: width .2s ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { width: 100%; }
.header-contact { justify-self: end; font-size: .86rem; font-weight: 700; border-bottom: 1px solid var(--ink); line-height: 1.8; }
.header-contact span { color: var(--orange); margin-right: .3rem; }
.menu-toggle, .mobile-menu { display: none; }

.hero { min-height: calc(100vh - 92px); padding: 2rem 0 2.2rem; display: flex; flex-direction: column; }
.hero-topline { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: .8rem; }
.edition-pill { display: inline-flex; padding: .2rem .7rem; color: var(--white); background: var(--orange); font-size: .78rem; font-weight: 700; }
.hero-location { color: var(--muted); font-size: .78rem; }
.hero-grid { flex: 1; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(3rem, 7vw, 7.5rem); padding: 2.5rem 0; }
.kicker, .eyebrow { color: var(--teal); font-size: .86rem; font-weight: 600; margin: 0 0 1.15rem; }
.hero h1, .about h2, .opening h2, .archive h2, .sessions h2, .impact h2, .current h2, .partners h2, .contact h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.22;
}
.hero h1 { font-size: clamp(4rem, 7.1vw, 7.2rem); }
.hero-dot { color: var(--orange); }
.hero-lead { width: min(510px, 100%); margin: 1.8rem 0 2rem; color: #345350; font-size: 1.05rem; line-height: 2.15; }
.hero-actions { display: flex; align-items: center; gap: 1.8rem; }
.button { min-height: 50px; padding: .65rem 1.3rem; display: inline-flex; align-items: center; justify-content: center; gap: 1rem; font-size: .88rem; font-weight: 700; line-height: 1.6; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--ink); }
.button-primary:hover { background: var(--teal); }
.text-link { font-size: .88rem; font-weight: 600; border-bottom: 1px solid var(--ink); line-height: 1.9; }
.text-link span { color: var(--orange); }
.hero-media { position: relative; min-height: 590px; overflow: hidden; background: var(--ink); }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); pointer-events: none; }
.hero-media img { width: 100%; height: 590px; object-fit: cover; object-position: center; }
.hero-media figcaption { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 1rem 1.3rem; display: flex; justify-content: space-between; align-items: center; color: var(--white); background: linear-gradient(transparent, rgba(7,60,59,.9)); font-size: .78rem; }
.hero-media figcaption b { font-weight: 500; color: var(--mint); }
.hero-footer { display: grid; grid-template-columns: 290px 1fr; align-items: center; gap: 1.8rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.hero-footer img { width: 255px; max-height: 72px; object-fit: contain; }
.hero-footer p { margin: 0; max-width: 360px; padding-right: 1.8rem; border-right: 1px solid var(--line); color: var(--muted); font-size: .76rem; line-height: 1.8; }

.skyline-strip { height: 250px; background: #dbeee8; overflow: hidden; display: flex; align-items: flex-end; border-block: 1px solid var(--line); }
.skyline-strip img { width: 100%; height: 225px; object-fit: cover; object-position: center bottom; }

.about, .archive, .sessions, .current, .partners { padding-block: 7.5rem; }
.section-label { display: flex; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: .75rem; margin-bottom: 4.3rem; }
.section-label p { margin: 0; color: var(--muted); font-size: .8rem; font-weight: 600; }
.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; align-items: start; }
.about h2, .opening h2, .archive h2, .sessions h2, .current h2, .partners h2 { font-size: clamp(3.25rem, 5.5vw, 5.9rem); }
.about-content { padding-top: 1.8rem; }
.large-copy { margin: 0; font-size: clamp(1.25rem, 1.75vw, 1.75rem); font-weight: 500; line-height: 2.05; letter-spacing: -.015em; }
.body-copy { max-width: 650px; margin: 2rem 0 0; color: var(--muted); font-size: .98rem; line-height: 2.15; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-right: 1px solid var(--line); margin-top: 5.5rem; }
.principle-card { min-height: 330px; padding: 1.8rem 2rem; display: flex; flex-direction: column; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease, color .25s ease; }
.principle-card:hover { background: var(--ink); color: var(--white); }
.principle-icon { margin-top: .4rem; color: var(--green); font-size: 3rem; line-height: 1; }
.icon-lines { font-size: 4rem; font-weight: 300; transform: rotate(-18deg); transform-origin: center; }
.icon-arrow { font-size: 3.6rem; }
.principle-card h3 { margin: auto 0 .65rem; font-family: var(--display); font-size: 1.55rem; letter-spacing: -.035em; }
.principle-card p { max-width: 330px; margin: 0; color: var(--muted); font-size: .9rem; line-height: 2; }
.principle-card:hover p { color: rgba(255,255,255,.65); }

.dark-section { color: var(--white); background: var(--ink); }
.opening { padding-block: 7.5rem; }
.opening-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3.5rem, 7vw, 7rem); align-items: center; }
.opening-media { position: relative; min-height: 650px; }
.opening-media::after { content: ""; position: absolute; width: 130px; height: 130px; left: -24px; bottom: -24px; border: 1px solid var(--orange); }
.opening-media img { width: 100%; height: 650px; object-fit: cover; object-position: center; }
.soft-label { color: var(--teal); font-size: .75rem; font-weight: 700; }
.opening .soft-label { color: var(--mint); }
.opening-copy > p { margin: 2rem 0 0; color: rgba(255,255,255,.67); font-size: .97rem; line-height: 2.2; }
.opening blockquote { margin-top: 2.2rem; padding: 1.5rem 1.5rem 1.5rem 0; border-right: 3px solid var(--orange); color: var(--white); font-size: 1.12rem; font-weight: 500; line-height: 2.05; }

.archive { padding-bottom: 3rem; }
.archive-heading { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: start; }
.archive-intro { padding-top: 1.6rem; }
.archive-intro p { max-width: 650px; margin: 0 0 1.2rem; color: var(--muted); font-size: .98rem; line-height: 2.2; }
.leaders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 4.5rem; }
.leader-card { min-height: 230px; padding: 2rem; display: grid; grid-template-columns: 92px 1fr; gap: 1.6rem; align-items: center; background: var(--white); border: 1px solid var(--line); }
.leader-monogram { width: 82px; height: 82px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--teal); font-family: var(--display); font-size: 1.65rem; font-weight: 700; }
.leader-monogram.orange { background: var(--orange); }
.leader-card h3 { margin: .4rem 0 .2rem; font-family: var(--display); font-size: 1.55rem; letter-spacing: -.035em; }
.leader-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.9; }

.sessions { padding-top: 5rem; }
.sessions-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 5rem; align-items: end; margin-bottom: 4.5rem; }
.sessions-heading > p { max-width: 460px; margin: 0 0 .6rem; color: var(--muted); font-size: .98rem; line-height: 2.1; }
.day-block { display: grid; grid-template-columns: 180px 1fr; gap: 3rem; margin-top: 3.5rem; }
.day-heading { align-self: start; position: sticky; top: 120px; padding-top: 1rem; border-top: 2px solid var(--orange); }
.day-heading span { display: block; color: var(--teal); font-size: .78rem; font-weight: 700; }
.day-heading strong { display: block; margin-top: .2rem; font-size: .98rem; font-weight: 600; }
.sessions-list { border-top: 1px solid var(--ink); }
.session-row { min-height: 180px; padding: 1.7rem 0; display: grid; grid-template-columns: 1fr .9fr 1fr; gap: 2.2rem; align-items: center; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease; }
.session-row:hover { padding-inline: 1rem; background: rgba(0,169,143,.06); }
.session-type { color: var(--teal); font-size: .72rem; font-weight: 700; }
.session-row h3 { margin: .3rem 0 0; font-family: var(--display); font-size: 1.25rem; line-height: 1.7; letter-spacing: -.025em; }
.session-row p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 2; }
.session-row strong { color: var(--ink); font-weight: 700; }
.session-summary { padding-right: 1.5rem; border-right: 1px solid var(--line); }

.impact { padding-block: 7rem; }
.impact-grid { display: grid; grid-template-columns: 180px 1fr .8fr; gap: 4rem; align-items: start; }
.impact .eyebrow { color: var(--mint); margin-top: 1rem; }
.impact h2 { font-size: clamp(3.1rem, 5.2vw, 5.7rem); }
.impact h2 span { color: var(--orange); }
.impact-copy { padding-top: 1rem; }
.impact-copy p { margin: 0 0 1.2rem; color: rgba(255,255,255,.64); font-size: .94rem; line-height: 2.15; }

.current-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6rem; align-items: center; }
.edition-tag { display: inline-flex; padding: .25rem .75rem; margin-bottom: 1rem; color: var(--white); background: var(--orange); font-size: .75rem; font-weight: 700; }
.current-copy > p { max-width: 510px; margin: 1.8rem 0; color: var(--muted); font-size: .98rem; line-height: 2.15; }
.status-line { display: flex; align-items: center; gap: .7rem; font-size: .8rem; font-weight: 600; }
.status-line i { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(0,169,143,.1); }
.current-visual { position: relative; min-height: 520px; overflow: hidden; background: var(--green); }
.current-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(7,60,59,.24) 1.5px, transparent 1.5px); background-size: 18px 18px; mask-image: linear-gradient(130deg, black, transparent 70%); }
.year-mark { position: absolute; z-index: 2; top: 50%; right: 50%; transform: translate(50%,-50%); font-family: var(--display); font-size: clamp(4rem, 7vw, 7.5rem); font-weight: 800; letter-spacing: -.08em; }
.orbit { position: absolute; width: 410px; height: 410px; top: 50%; right: 50%; transform: translate(50%,-50%); border: 1px solid rgba(7,60,59,.45); border-radius: 50%; }
.orbit::before { content: ""; position: absolute; inset: 70px; border: 1px solid rgba(7,60,59,.27); border-radius: 50%; }
.floating-word { position: absolute; z-index: 3; padding: .3rem .8rem; color: var(--ink); background: var(--paper); font-size: .78rem; font-weight: 700; box-shadow: 0 12px 26px rgba(7,60,59,.14); }
.floating-word.one { top: 15%; right: 10%; }
.floating-word.two { top: 27%; left: 8%; background: var(--orange); color: var(--white); }
.floating-word.three { bottom: 14%; right: 24%; }
.cohort-note { margin-top: 1rem; padding: 2.2rem 2.4rem; display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; border: 1px solid var(--line); background: var(--white); }
.cohort-note h3 { margin: .35rem 0 0; font-family: var(--display); font-size: 1.45rem; letter-spacing: -.035em; }
.cohort-note p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 2; }

.partners-head { display: grid; grid-template-columns: 1fr .8fr; gap: 5rem; align-items: end; }
.partners-head p { max-width: 450px; margin: 0 0 .6rem; color: var(--muted); font-size: .98rem; line-height: 2.1; }
.partner-primary { margin-top: 4.5rem; padding: 2.7rem 3rem; display: grid; grid-template-columns: 160px 1fr .8fr; gap: 3rem; align-items: center; background: var(--white); border: 1px solid var(--line); }
.partner-primary img { width: 310px; max-height: 100px; object-fit: contain; justify-self: center; }
.partner-primary p { justify-self: end; margin: 0; text-align: left; font-size: .9rem; font-weight: 500; line-height: 1.9; }
.partner-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.partner-card { min-height: 260px; padding: 1.8rem; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); background: var(--white); }
.partner-card img { width: 100%; max-height: 150px; object-fit: contain; }
.partner-card h3 { margin: auto 0 0; font-family: var(--display); font-size: 1.35rem; line-height: 1.8; letter-spacing: -.025em; }
.accent-card { color: var(--white); background: var(--ink); }
.accent-card .soft-label { color: var(--mint); }

.contact { position: relative; overflow: hidden; padding-block: 7rem; background: var(--green); }
.contact::before { content: ""; position: absolute; width: 650px; height: 650px; left: -180px; top: -260px; border: 1px solid rgba(7,60,59,.22); border-radius: 50%; }
.contact-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 6rem; align-items: end; }
.contact-label { display: block; margin-bottom: 1.4rem; font-size: .78rem; font-weight: 700; }
.contact h2 { font-size: clamp(3.8rem, 6.7vw, 7rem); }
.contact h2 em { color: var(--paper); font-style: normal; }
.contact-copy p { max-width: 500px; margin: 1.6rem 0; font-size: .98rem; line-height: 2.05; }
.button-light { color: var(--ink); background: var(--paper); }
.button-light:hover { color: var(--white); background: var(--ink); }
.contact-details { border-top: 1px solid rgba(7,60,59,.35); }
.contact-details div { padding: 1.15rem 0; display: grid; grid-template-columns: 140px 1fr; gap: 2rem; border-bottom: 1px solid rgba(7,60,59,.3); }
.contact-details span { font-size: .74rem; font-weight: 700; }
.contact-details a, .contact-details p { margin: 0; font-size: .9rem; font-weight: 500; line-height: 1.9; }
.contact-details p[dir="ltr"] { text-align: right; }

.site-footer { background: var(--paper); }
.footer-inner { min-height: 250px; display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 4rem; align-items: center; }
.footer-brand img { width: 245px; max-height: 88px; object-fit: contain; }
.footer-brand p { margin: .8rem 0 0; color: var(--muted); font-size: .73rem; line-height: 1.8; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 2rem; font-size: .82rem; font-weight: 600; }
.footer-meta { justify-self: end; text-align: left; }
.footer-meta a { font-size: .82rem; font-weight: 600; }
.footer-meta p { margin: 1.7rem 0 0; color: var(--muted); font-size: .7rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .section-shell, .header-inner { width: min(100% - 40px, 940px); }
  .header-inner { grid-template-columns: 225px 1fr auto; }
  .brand img { width: 200px; }
  .desktop-nav { gap: 1.2rem; }
  .desktop-nav a { font-size: .76rem; }
  .hero-grid { gap: 3.5rem; }
  .hero-media, .hero-media img { min-height: 520px; height: 520px; }
  .day-block { grid-template-columns: 150px 1fr; gap: 2rem; }
  .session-row { gap: 1.3rem; }
  .impact-grid { grid-template-columns: 140px 1fr .8fr; gap: 2.5rem; }
}

@media (max-width: 820px) {
  .section-shell, .header-inner { width: calc(100% - 34px); }
  .header-inner { height: 78px; grid-template-columns: 1fr auto; }
  .brand img { width: 188px; max-height: 60px; }
  .desktop-nav, .header-contact { display: none; }
  .menu-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 9px; border: 0; background: transparent; }
  .menu-toggle span { width: 100%; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .mobile-menu { position: fixed; inset: 78px 0 0; padding: 2.5rem 1.3rem; flex-direction: column; gap: 1rem; background: var(--paper); font-family: var(--display); font-size: 1.55rem; font-weight: 700; }
  .mobile-menu.open { display: flex; }
  .hero { min-height: auto; }
  .hero-grid, .about-layout, .opening-grid, .archive-heading, .sessions-heading, .current-grid, .partners-head, .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-grid { padding-block: 3rem; }
  .hero h1 { font-size: clamp(4rem, 15vw, 6.6rem); }
  .hero-copy { order: 1; }
  .hero-media { order: 2; }
  .hero-media, .hero-media img { min-height: 530px; height: 530px; }
  .skyline-strip { height: 190px; }
  .skyline-strip img { height: 180px; width: 135%; max-width: none; }
  .about, .archive, .sessions, .current, .partners { padding-block: 5.8rem; }
  .section-label { margin-bottom: 3.5rem; }
  .about-content, .archive-intro { padding-top: 0; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle-card { min-height: 285px; }
  .opening { padding-block: 5.8rem; }
  .opening-media, .opening-media img { min-height: 520px; height: 520px; }
  .opening-media::after { display: none; }
  .leaders-grid { grid-template-columns: 1fr; }
  .day-block { grid-template-columns: 1fr; gap: 1.2rem; margin-top: 4rem; }
  .day-heading { position: static; }
  .session-row { grid-template-columns: 1fr 1fr; }
  .session-summary { grid-column: 1 / -1; padding: 1rem 0 0; border-right: 0; border-top: 1px solid var(--line); }
  .impact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .impact .eyebrow { margin: 0; }
  .current-visual { min-height: 470px; }
  .cohort-note { grid-template-columns: 1fr; gap: 1.3rem; }
  .partner-primary { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
  .partner-primary img { justify-self: start; }
  .partner-primary p { justify-self: start; text-align: right; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-card { min-height: 220px; }
  .contact-details { margin-top: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding-block: 3rem; }
  .footer-meta { grid-column: 1 / -1; justify-self: start; text-align: right; }
}

@media (max-width: 540px) {
  body { font-size: 15px; line-height: 2.1; }
  .hero-topline { align-items: flex-start; }
  .hero-location { font-size: .7rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .hero-media, .hero-media img { min-height: 440px; height: 440px; }
  .hero-media img { object-position: 58% center; }
  .hero-footer { grid-template-columns: 1fr; gap: .7rem; }
  .hero-footer p { padding-right: 0; border-right: 0; }
  .skyline-strip img { width: 180%; }
  .about h2, .opening h2, .archive h2, .sessions h2, .current h2, .partners h2 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .large-copy { font-size: 1.18rem; }
  .leader-card { min-height: 210px; grid-template-columns: 72px 1fr; padding: 1.5rem; }
  .leader-monogram { width: 66px; height: 66px; }
  .session-row { grid-template-columns: 1fr; gap: 1rem; }
  .session-summary { grid-column: auto; }
  .impact h2 { font-size: clamp(3rem, 13vw, 4.6rem); }
  .current-visual { min-height: 390px; }
  .orbit { width: 310px; height: 310px; }
  .cohort-note { padding: 1.6rem; }
  .contact h2 { font-size: clamp(3.7rem, 17vw, 5.6rem); }
  .contact-details div { grid-template-columns: 1fr; gap: .15rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-meta { grid-column: auto; }
}

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