@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --ink: #07111c;
  --ink-soft: #152536;
  --blue: #0066b0;
  --blue-deep: #004d8a;
  --cyan: #24b7d3;
  --yellow: #f6bb21;
  --paper: #f4f6f3;
  --paper-blue: #eaf5fa;
  --white: #ffffff;
  --muted: #657383;
  --line: rgba(7, 17, 28, 0.14);
  --shadow: 0 24px 60px rgba(7, 17, 28, 0.12);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --container: 1240px;
  --header-height: 92px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
p, h1, h2, h3, figure { margin-top: 0; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 118px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; color: var(--white); background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(244, 246, 243, 0.94); backdrop-filter: blur(18px); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(7, 17, 28, 0.08); }
.season-bar { color: var(--white); background: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.season-bar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 32px; }
.season-bar p { display: flex; align-items: center; gap: 9px; margin: 0; }
.season-bar a { color: var(--yellow); }
.season-bar__actions { display: flex; align-items: center; gap: 18px; }
.language-toggle { padding: 2px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: var(--white); background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; }
.language-toggle:hover { border-color: var(--yellow); color: var(--yellow); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(246, 187, 33, .14); }

.navbar { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-height); gap: 32px; }
.brand { flex: 0 0 176px; }
.brand img { width: 176px; height: auto; }
.nav-menu { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; }
.nav-menu > a:not(.button) { position: relative; }
.nav-menu > a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-menu > a:not(.button):hover::after, .nav-menu > a:not(.button):focus-visible::after, .nav-menu > a.is-active::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.button--small { min-height: 44px; padding-inline: 19px; }
.button--dark { color: var(--white); background: var(--ink); }
.button--primary { color: var(--white); background: var(--blue); box-shadow: 0 12px 24px rgba(0, 102, 176, .2); }
.button--primary:hover { background: var(--blue-deep); box-shadow: 0 16px 32px rgba(0, 102, 176, .28); }
.button--text { padding-inline: 6px; border-radius: 0; border-bottom-color: var(--ink); }
.button--yellow { color: var(--ink); background: var(--yellow); }

.hero { overflow: hidden; padding: 76px 0 0; background: var(--paper); }
.hero__grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 68px; min-height: 650px; }
.eyebrow { display: inline-flex; align-items: center; gap: 0; margin-bottom: 30px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow span { padding: 8px 13px; }
.eyebrow span:first-child { color: var(--white); background: var(--blue); }
.hero h1 { max-width: 680px; margin-bottom: 26px; font-size: clamp(54px, 6.4vw, 92px); font-weight: 850; line-height: .92; letter-spacing: -.065em; }
.hero__title-line { display: block; }
.hero h1 em { position: relative; color: var(--blue); font-style: normal; }
.hero h1 em::after { content: ""; position: absolute; right: 0; bottom: .04em; left: 0; z-index: -1; height: .14em; background: var(--yellow); transform: rotate(-1.5deg); }
.hero__lede { max-width: 570px; margin-bottom: 32px; color: var(--ink-soft); font-size: 20px; line-height: 1.55; }
.hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.event-note { display: inline-flex; align-items: center; gap: 16px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); }
.event-note__date { display: grid; min-width: 82px; padding-right: 16px; border-right: 1px solid var(--line); line-height: 1; }
.event-note__date strong { font-size: 22px; }
.event-note__date span { margin-top: 5px; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.event-note > div:last-child { display: grid; }
.event-note__label { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.event-note > div:last-child strong { font-size: 14px; }

.hero__visual { position: relative; margin: 0; padding: 0 26px 34px 0; }
.hero__visual::before { content: ""; position: absolute; top: -42px; right: -70px; width: 280px; height: 280px; border-radius: 50%; background: var(--yellow); }
.hero__visual::after { content: ""; position: absolute; right: -16px; bottom: 0; z-index: -1; width: 80%; height: 52%; border-radius: var(--radius-lg); background: var(--blue); }
.hero__image-wrap { position: relative; z-index: 1; overflow: hidden; border-radius: 180px 24px 24px 24px; box-shadow: var(--shadow); }
.hero__image-wrap img { width: 100%; aspect-ratio: 1.05; object-fit: cover; }
.hero-stat { position: absolute; z-index: 2; display: grid; min-width: 150px; padding: 16px 18px; border-radius: 16px; box-shadow: 0 18px 42px rgba(7, 17, 28, .18); }
.hero-stat strong { font-size: 28px; line-height: 1; letter-spacing: -.04em; }
.hero-stat span { margin-top: 5px; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.hero-stat--teams { top: 23%; right: -18px; color: var(--ink); background: var(--yellow); transform: rotate(2deg); }
.hero-stat--students { bottom: 12%; left: -30px; color: var(--white); background: var(--ink); transform: rotate(-2deg); }
.hero__visual figcaption { position: absolute; right: 42px; bottom: 1px; z-index: 2; color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero__ticker { margin-top: 70px; overflow: hidden; color: var(--white); background: var(--blue); }
.hero__ticker > div { display: flex; align-items: center; justify-content: center; gap: 30px; min-width: max-content; min-height: 58px; padding: 0 30px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero__ticker i { width: 8px; height: 8px; background: var(--yellow); transform: rotate(45deg); }

.section-heading .kicker, .kicker { margin-bottom: 18px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.section-heading h2, .impact-story h2, .final-cta h2 { margin-bottom: 0; font-size: clamp(42px, 5vw, 70px); font-weight: 850; line-height: 1.03; letter-spacing: -.055em; }
.intro-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 100px; align-items: end; }
.intro-copy { padding-left: 28px; border-left: 4px solid var(--yellow); }
.intro-copy p { margin-bottom: 14px; color: var(--ink-soft); font-size: 18px; }
.intro-copy p:last-child { margin-bottom: 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 72px; }
.pillar-card { position: relative; min-height: 310px; padding: 32px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .58); }
.pillar-card__number { position: absolute; top: 28px; right: 30px; color: var(--muted); font-size: 12px; font-weight: 800; }
.pillar-card svg { width: 54px; height: 54px; margin-bottom: 60px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pillar-card h3 { margin-bottom: 12px; font-size: 24px; letter-spacing: -.03em; }
.pillar-card p { margin-bottom: 0; color: var(--muted); }
.pillar-card--accent { border-color: var(--yellow); background: var(--yellow); }
.pillar-card--accent svg { stroke: var(--ink); }
.pillar-card--accent p, .pillar-card--accent .pillar-card__number { color: rgba(7, 17, 28, .72); }

.section--committee { background: var(--white); }
.committee-heading > p { color: var(--muted); }
.committee-label { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.committee-label span { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.committee-label small { color: var(--muted); }
.committee-label b { color: var(--blue); }
.committee-grid { display: grid; gap: 12px; }
.committee-grid--core { grid-template-columns: repeat(3, 1fr); }
.person-card { position: relative; min-height: 138px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.person-card--lead { color: var(--white); border-color: var(--blue); background: var(--blue); }
.person-card--representative { color: var(--white); border-color: #7a47d6; background: #7a47d6; }
.person-card__marker { position: absolute; top: 16px; right: 18px; color: var(--yellow); font-size: 24px; font-weight: 900; }
.person-card h3 { margin-bottom: 8px; padding-right: 16px; font-size: 19px; letter-spacing: -.02em; }
.person-card p { margin: 0; color: var(--muted); font-size: 13px; }
.person-card--lead p, .person-card--representative p { color: rgba(255,255,255,.78); }
.workstream-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 44px; }
.workstream-card { grid-column: span 2; padding: 25px; border-top: 4px solid var(--blue); border-radius: 0 0 var(--radius-sm) var(--radius-sm); background: var(--paper-blue); }
.workstream-card:nth-child(1), .workstream-card:nth-child(4) { grid-column: span 3; }
.workstream-card__heading { display: flex; gap: 13px; align-items: flex-start; min-height: 58px; }
.workstream-card__heading span { color: var(--blue); font-size: 11px; font-weight: 900; }
.workstream-card__heading h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.workstream-card ul { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.workstream-card li { display: grid; padding: 11px 12px; border-radius: 8px; background: rgba(255,255,255,.72); font-size: 13px; }
.workstream-card li small { margin-top: 2px; color: var(--muted); }
.workstream-card li.institution { color: var(--white); background: #7a47d6; font-weight: 800; }
.spelling-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; }

.section--competitions { color: var(--white); background: var(--ink); }
.section-topline { display: grid; grid-template-columns: 1fr 430px; gap: 72px; align-items: end; margin-bottom: 58px; }
.section-topline > p { margin-bottom: 5px; color: #aab5c1; font-size: 18px; }
.section--competitions .section-heading .kicker { color: var(--cyan); }
.competition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.competition-card { display: flex; flex-direction: column; min-height: 460px; padding: 34px; overflow: hidden; border-radius: var(--radius); }
.competition-card__top { display: flex; align-items: flex-start; justify-content: space-between; min-height: 150px; }
.competition-card__index { font-size: 13px; font-weight: 900; letter-spacing: .1em; }
.competition-card svg { width: 74px; height: 74px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.competition-card__identity { display: flex; align-items: flex-start; gap: 12px; margin-left: auto; }
.competition-card__logo { width: min(220px, 52%); height: 108px; padding: 12px 16px; border-radius: 14px; background: var(--white); object-fit: contain; box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.competition-card__identity .competition-card__logo { width: 220px; }
.competition-card__logo--dark { background: #142636; }
.competition-card__type { margin-bottom: 6px; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; opacity: .68; }
.competition-card h3 { margin-bottom: 15px; font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -.05em; }
.competition-card > p { max-width: 560px; margin-bottom: 25px; font-size: 17px; opacity: .78; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin: auto 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 7px 11px; border: 1px solid currentColor; border-radius: 999px; font-size: 11px; font-weight: 800; opacity: .74; }
.competition-card--blue { background: var(--blue); }
.competition-card--ink { border: 1px solid rgba(255,255,255,.18); background: #101e2d; }
.competition-card--light { color: var(--ink); background: var(--paper-blue); }
.competition-card--yellow { color: var(--ink); background: var(--yellow); }
.new-badge { padding: 5px 9px; border-radius: 999px; color: var(--white); background: var(--ink); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.competition-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.16); }
.competition-cta p { margin: 0; color: #aab5c1; }
.competition-cta a { color: var(--yellow); font-weight: 800; }

.section--programme { background: var(--white); }
.programme-header { display: grid; grid-template-columns: 1fr 370px; gap: 70px; align-items: end; margin-bottom: 80px; }
.kicker--yellow { color: var(--yellow) !important; }
.provisional-note { padding: 20px; border-left: 4px solid var(--yellow); background: var(--paper); }
.provisional-note span { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.provisional-note p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 39px; width: 1px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 80px 180px 1fr; gap: 30px; align-items: start; min-height: 150px; padding-bottom: 34px; }
.timeline__marker { position: relative; z-index: 1; display: grid; place-items: center; width: 80px; height: 80px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.timeline__marker span { font-size: 12px; font-weight: 900; }
.timeline__date { padding-top: 26px; color: var(--blue); font-size: 14px; font-weight: 900; }
.timeline__content { padding: 20px 26px 22px; border-radius: var(--radius-sm); background: var(--paper); }
.timeline__content h3 { margin-bottom: 7px; font-size: 23px; letter-spacing: -.025em; }
.timeline__content p { margin-bottom: 8px; color: var(--muted); }
.timeline__content span { color: var(--ink); font-size: 12px; font-weight: 800; }
.timeline__featured .timeline__marker { border-color: var(--blue); color: var(--white); background: var(--blue); box-shadow: 0 0 0 8px rgba(0, 102, 176, .1); }
.timeline__featured .timeline__content { color: var(--white); background: var(--blue); }
.timeline__featured .timeline__content p { color: rgba(255,255,255,.76); }
.timeline__featured .timeline__content span { color: var(--yellow); }

.section--rules { background: var(--paper-blue); }
.rules-layout { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }
.rules-intro { position: sticky; top: 155px; }
.rules-intro h2 { margin-bottom: 25px; font-size: clamp(42px, 5vw, 68px); line-height: 1.02; letter-spacing: -.055em; }
.rules-intro > p:not(.kicker) { margin-bottom: 28px; color: var(--muted); font-size: 16px; }
.rules-list { margin: 0; padding: 0; list-style: none; counter-reset: rules; }
.rules-list li { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line); }
.rules-list li:last-child { border-bottom: 1px solid var(--line); }
.rules-list span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--white); background: var(--ink); font-size: 11px; font-weight: 900; }
.rules-list p { margin: 2px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.58; }

.section--impact { position: relative; overflow: hidden; color: var(--white); background: var(--blue); }
.section--impact::before { content: "KNRC"; position: absolute; right: -50px; bottom: -130px; color: rgba(255,255,255,.045); font-size: 360px; font-weight: 900; line-height: 1; letter-spacing: -.1em; }
.impact-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.impact-story > p:not(.kicker) { max-width: 520px; margin: 25px 0 36px; color: rgba(255,255,255,.76); font-size: 18px; }
.worlds-callout { max-width: 440px; padding: 24px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-sm); background: rgba(7,17,28,.18); }
.worlds-callout span { color: var(--yellow); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.worlds-callout strong { display: block; margin: 5px 0; font-size: 25px; }
.worlds-callout p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; }
.impact-numbers { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.22); border-left: 1px solid rgba(255,255,255,.22); }
.impact-numbers > div { min-height: 180px; padding: 28px; border-right: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.impact-numbers strong { display: block; color: var(--yellow); font-size: clamp(42px, 5vw, 67px); line-height: 1; letter-spacing: -.055em; }
.impact-numbers sup { font-size: .45em; vertical-align: top; }
.impact-numbers span { display: block; margin-top: 13px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.section--partners { background: var(--paper); }
.partner-heading > p { color: var(--muted); }
.partner-note { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.partner-note span { padding: 5px 9px; border-radius: 999px; color: var(--ink); background: var(--yellow); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.partner-tiers { display: grid; gap: 46px; }
.partner-tier__heading { display: flex; align-items: center; gap: 15px; margin-bottom: 14px; }
.partner-tier__heading span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--white); background: var(--blue); font-size: 10px; font-weight: 900; }
.partner-tier__heading h3 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--white); }
.partner-grid--three { grid-template-columns: repeat(3, 1fr); }
.partner-grid--two { grid-template-columns: repeat(2, 1fr); }
.partner-grid figure { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 205px; margin: 0; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-grid img { width: 100%; max-width: 180px; max-height: 78px; object-fit: contain; mix-blend-mode: multiply; }
.partner-grid figcaption { margin-top: 20px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-align: center; text-transform: uppercase; }

.section--final-cta { padding: 80px 0; color: var(--white); background: var(--ink); }
.final-cta { display: grid; grid-template-columns: 1fr 410px; align-items: end; gap: 80px; padding: 70px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); background: linear-gradient(125deg, rgba(0,102,176,.3), transparent 52%), #101e2d; }
.final-cta__action p { margin-bottom: 24px; color: #aab5c1; font-size: 17px; }

.site-footer { padding: 72px 0 28px; color: var(--white); background: #03090f; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr 1fr 1fr; gap: 54px; }
.footer-brand img { width: auto; height: 72px; max-width: 150px; margin-bottom: 20px; object-fit: contain; filter: invert(1); }
.footer-brand p { max-width: 300px; color: #8f9cab; }
.footer-grid h2 { margin-bottom: 18px; color: var(--yellow); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) > a { display: block; margin-bottom: 10px; color: #bdc7d1; font-size: 14px; }
.footer-grid a:hover { color: var(--yellow); }
.footer-register p { color: #8f9cab; font-size: 14px; }
.footer-register a { color: var(--yellow) !important; font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 58px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #708090; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.footer-bottom p { margin: 0; }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

html[dir="rtl"] body { font-family: "SF Arabic", "Noto Sans Arabic", "Geeza Pro", Arial, sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { font-family: "Cairo", "SF Arabic", Arial, sans-serif; }
html[dir="rtl"] .nav-menu > a:not(.button)::after { transform-origin: right; }
html[dir="rtl"] .intro-copy { padding-right: 28px; padding-left: 0; border-right: 4px solid var(--yellow); border-left: 0; }
html[dir="rtl"] .pillar-card__number, html[dir="rtl"] .person-card__marker { right: auto; left: 30px; }
html[dir="rtl"] .person-card h3 { padding-right: 0; padding-left: 16px; }
html[dir="rtl"] .new-badge { margin-right: auto; margin-left: 14px; }
html[dir="rtl"] .provisional-note { border-right: 4px solid var(--yellow); border-left: 0; }
html[dir="rtl"] .timeline::before { right: 39px; left: auto; }
html[dir="rtl"] .impact-numbers, html[dir="rtl"] .partner-grid { border-right: 1px solid var(--line); border-left: 0; }
html[dir="rtl"] .hero h1 { line-height: 1.18; letter-spacing: 0; overflow-wrap: normal; word-break: normal; }
html[dir="rtl"] .section-heading h2, html[dir="rtl"] .impact-story h2, html[dir="rtl"] .final-cta h2, html[dir="rtl"] .rules-intro h2 { letter-spacing: -.025em; }
html[dir="rtl"] .hero__visual { padding-right: 0; padding-left: 26px; }
html[dir="rtl"] .hero__visual::before { right: auto; left: -70px; }
html[dir="rtl"] .hero__visual::after { right: auto; left: -16px; }
html[dir="rtl"] .hero-stat--teams { right: auto; left: -18px; }
html[dir="rtl"] .hero-stat--students { right: -30px; left: auto; }
html[dir="rtl"] .event-note__date { padding-right: 0; padding-left: 16px; border-right: 0; border-left: 1px solid var(--line); }
html[dir="rtl"] .eyebrow span:last-child,
html[dir="rtl"] .event-note__date strong,
html[dir="rtl"] .timeline__date,
html[dir="rtl"] .footer-register h2 { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .event-note__date strong { direction: rtl; white-space: nowrap; }

@media (max-width: 1080px) {
  .nav-menu { gap: 20px; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .hero-stat--teams { right: 0; }
  .hero-stat--students { left: -10px; }
  .intro-grid, .impact-grid { gap: 55px; }
  .footer-grid { grid-template-columns: 1.2fr .8fr 1fr; }
  .footer-register { grid-column: 2 / -1; }
}

@media (max-width: 860px) {
  :root { --header-height: 74px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 84px 0; }
  .menu-toggle { display: block; }
  .nav-menu { position: fixed; top: calc(32px + var(--header-height)); right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 26px 24px 40px; color: var(--white); background: var(--ink); transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s ease; }
  .nav-menu.is-open { transform: translateX(0); visibility: visible; }
  .nav-menu > a:not(.button) { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 22px; }
  .nav-menu .button { margin-top: 24px; color: var(--ink); background: var(--yellow); }
  .brand, .brand img { width: 145px; flex-basis: 145px; }
  .hero { padding-top: 54px; }
  .hero__grid { grid-template-columns: 1fr; gap: 60px; }
  .hero__content { max-width: 700px; }
  .hero__visual { width: min(100%, 680px); margin-inline: auto; }
  .hero__ticker > div { justify-content: flex-start; }
  .intro-grid, .section-topline, .programme-header, .impact-grid, .final-cta, .rules-layout { grid-template-columns: 1fr; }
  .intro-grid, .section-topline, .programme-header, .impact-grid, .final-cta, .rules-layout { gap: 36px; }
  .rules-intro { position: static; }
  .committee-grid--core { grid-template-columns: repeat(2, 1fr); }
  .workstream-card, .workstream-card:nth-child(1), .workstream-card:nth-child(4) { grid-column: span 3; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: 250px; }
  .pillar-card svg { margin-bottom: 36px; }
  .competition-card { min-height: 420px; }
  .programme-header { margin-bottom: 55px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .final-cta { padding: 46px; }
}

@media (max-width: 620px) {
  .season-bar__inner { justify-content: center; }
  .season-bar p { display: none; }
  .hero h1 { font-size: clamp(50px, 16vw, 70px); }
  html[dir="rtl"] .hero h1 { font-size: clamp(42px, 12vw, 60px); }
  .hero__lede { font-size: 18px; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .button--text { align-self: flex-start; }
  .hero__visual { padding-right: 12px; }
  .hero__image-wrap { border-radius: 100px 18px 18px 18px; }
  .hero-stat { min-width: 125px; padding: 13px; }
  .hero-stat strong { font-size: 23px; }
  .hero-stat--students { left: -4px; }
  .hero__visual figcaption { display: none; }
  .section-heading h2, .impact-story h2, .final-cta h2 { font-size: 42px; }
  .intro-copy { padding-left: 18px; }
  html[dir="rtl"] .intro-copy { padding-right: 18px; padding-left: 0; }
  .competition-grid { grid-template-columns: 1fr; }
  .competition-card { min-height: 400px; padding: 28px; }
  .timeline::before { left: 23px; }
  html[dir="rtl"] .timeline::before { right: 23px; left: auto; }
  .timeline li { grid-template-columns: 48px 1fr; gap: 18px; min-height: 0; padding-bottom: 42px; }
  .timeline__marker { grid-row: 1 / span 2; width: 48px; height: 48px; }
  .timeline__date { padding-top: 12px; }
  .timeline__content { grid-column: 2; padding: 18px; }
  .impact-numbers { grid-template-columns: 1fr 1fr; }
  .impact-numbers > div { min-height: 140px; padding: 20px; }
  .impact-numbers strong { font-size: 40px; }
  .partner-grid, .partner-grid--three, .partner-grid--two { grid-template-columns: 1fr 1fr; }
  .partner-grid figure { min-height: 160px; padding: 18px; }
  .partner-grid img { max-height: 62px; }
  .final-cta { padding: 32px 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-register { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .committee-grid--core, .workstream-grid { grid-template-columns: 1fr; }
  .workstream-card, .workstream-card:nth-child(1), .workstream-card:nth-child(4) { grid-column: auto; }
  .committee-label { align-items: flex-start; flex-direction: column; }
  .rules-list li { grid-template-columns: 48px 1fr; gap: 15px; }
  .season-bar__actions { width: 100%; justify-content: space-between; }
}

@media (max-width: 430px) {
  .partner-grid, .partner-grid--three, .partner-grid--two { grid-template-columns: 1fr; }
}

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