:root {
  --navy-950: #031a36;
  --navy-900: #062a58;
  --navy-800: #0a3a75;
  --navy-700: #0f4d91;
  --blue-100: #eaf3ff;
  --blue-50: #f5f9ff;
  --gold-700: #a76f0a;
  --gold-600: #c48a18;
  --gold-500: #d9a132;
  --gold-300: #efd08a;
  --gold-100: #fbf2dc;
  --ink: #10213b;
  --muted: #5d6d82;
  --line: #dce4ee;
  --paper: #ffffff;
  --paper-soft: #f8fafc;
  --success: #2f8a4e;
  --shadow-sm: 0 10px 30px rgba(4, 35, 74, .08);
  --shadow-md: 0 22px 60px rgba(4, 35, 74, .14);
  --shadow-lg: 0 35px 100px rgba(2, 22, 48, .24);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1220px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--gold-300); color: var(--navy-950); }

.skip-link {
  position: fixed;
  inset-inline-start: 18px;
  top: -60px;
  z-index: 9999;
  background: var(--paper);
  color: var(--navy-900);
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow-sm);
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.announcement-bar {
  background: linear-gradient(90deg, var(--gold-700), var(--gold-500));
  color: #fff;
  font-size: .88rem;
  letter-spacing: .01em;
}
.announcement-inner {
  min-height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.announcement-inner p { margin: 0; }
.announcement-link {
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.72);
}

.site-header { background: #fff; position: relative; z-index: 100; }
.institution-strip {
  min-height: 132px;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 32px;
  align-items: center;
  justify-items: center;
  padding-block: 18px;
}
.institution-logo {
  margin: 0;
  height: 95px;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.institution-logo img {
  width: auto !important;
  height: 88px !important;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.institution-logo--round img { height: 92px !important; }
.institution-logo--wide img { max-width: 245px; height: 76px !important; }

.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(6,42,88,.08);
  border-bottom: 1px solid rgba(6,42,88,.11);
  transition: box-shadow .25s ease;
}
.main-nav.is-scrolled { box-shadow: 0 12px 35px rgba(2,28,61,.12); }
.nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 245px;
}
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand span { line-height: 1.1; }
.brand strong {
  display: block;
  color: var(--navy-900);
  font-family: var(--serif);
  font-size: 1rem;
}
.brand small {
  display: block;
  color: var(--gold-700);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .63rem;
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  flex: 1;
}
.nav-links a {
  text-decoration: none;
  color: #263950;
  font-size: .92rem;
  font-weight: 700;
  position: relative;
  padding-block: 26px 24px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--navy-900); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy-900);
  font-weight: 900;
  cursor: pointer;
  transition: .2s ease;
}
.language-toggle:hover { border-color: var(--gold-500); background: var(--gold-100); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--blue-50);
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 20px;
  background: var(--navy-900);
  transition: .2s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button--small { min-height: 42px; padding: 9px 18px; }
.button--large { min-height: 54px; padding: 15px 24px; }
.button--gold {
  color: var(--navy-950);
  background: linear-gradient(135deg, #f4d887, var(--gold-500));
  box-shadow: 0 10px 25px rgba(196,138,24,.22);
}
.button--gold:hover { box-shadow: 0 15px 34px rgba(196,138,24,.34); }
.button--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.05);
}
.button--ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }
.button--outline { color: var(--navy-900); border-color: rgba(6,42,88,.25); background: #fff; }
.button--outline:hover { border-color: var(--gold-500); background: var(--gold-100); }
.button--navy { color: #fff; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); box-shadow: 0 12px 25px rgba(6,42,88,.22); }

.section { position: relative; padding: 110px 0; overflow: hidden; }
.section-light { background: #fff; }
.section-dark { background: var(--navy-950); color: #fff; }
.section-heading { max-width: 740px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .75fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 52px;
}
.section-heading h2 {
  margin: 8px 0 18px;
  font-family: var(--serif);
  color: var(--navy-900);
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.section-heading p { color: var(--muted); font-size: 1.05rem; }
.section-heading--split > p { margin: 0 0 12px; }
.eyebrow {
  margin: 0;
  color: var(--gold-700);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero {
  min-height: 780px;
  padding: 105px 0 125px;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 35%, rgba(28,96,166,.38), transparent 31%),
    radial-gradient(circle at 17% 20%, rgba(196,138,24,.18), transparent 25%),
    linear-gradient(135deg, #03172f 0%, #062a58 56%, #0a3a75 100%);
}
.molecule-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; z-index: -2; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 82%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: 68px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { color: var(--gold-300); }
.hero h1 {
  margin: 16px 0 24px;
  font-family: var(--serif);
  line-height: .9;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.hero h1 > span { display: block; font-size: clamp(4.4rem, 8.2vw, 8.7rem); }
.hero h1 > span:nth-child(2) { color: #fff; }
.hero h1 em {
  display: inline-block;
  margin-top: 20px;
  color: var(--gold-300);
  font-family: var(--sans);
  font-size: clamp(1.1rem, 2.2vw, 2rem);
  font-style: normal;
  letter-spacing: .45em;
  line-height: 1.2;
}
.hero-lead { max-width: 700px; font-size: 1.16rem; color: rgba(255,255,255,.78); margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 1px;
  margin-top: 46px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-meta div {
  padding: 18px 14px;
  background: rgba(4,25,54,.6);
  backdrop-filter: blur(10px);
  text-align: center;
}
.hero-meta strong { display: block; color: var(--gold-300); font-size: 1.65rem; line-height: 1; }
.hero-meta span { display: block; color: rgba(255,255,255,.7); font-size: .76rem; margin-top: 8px; text-transform: uppercase; letter-spacing: .08em; }
.hero-visual { position: relative; min-height: 590px; display: grid; place-items: center; }
.hero-logo-shell {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero-logo-shell > img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 35px 50px rgba(0,0,0,.35));
  z-index: 2;
}
.hero-logo-glow {
  position: absolute;
  width: 76%;
  height: 76%;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 80px rgba(118,184,255,.28), inset 0 0 50px rgba(255,255,255,.15);
  animation: pulseGlow 4s ease-in-out infinite;
}
.hero-orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  pointer-events: none;
}
.hero-orbit::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 18px var(--gold-500);
}
.hero-orbit--one { width: 470px; height: 470px; right: 4%; top: 11%; transform: rotate(22deg); animation: orbitSpin 22s linear infinite; }
.hero-orbit--one::before { left: 47%; top: -5px; }
.hero-orbit--two { width: 620px; height: 340px; right: -3%; top: 23%; transform: rotate(-14deg); animation: orbitSpinReverse 28s linear infinite; }
.hero-orbit--two::before { right: 8%; top: 31%; }
.hero-orbit--three { width: 330px; height: 610px; right: 15%; top: 5%; transform: rotate(40deg); animation: orbitSpin 32s linear infinite; }
.hero-orbit--three::before { bottom: 8%; left: 14%; }
.floating-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(3,26,54,.72);
  color: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  font-size: .78rem;
  font-weight: 750;
}
.floating-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); margin-inline-end: 8px; box-shadow: 0 0 10px var(--gold-500); }
.floating-tag--one { left: -2%; top: 26%; animation: floatOne 5s ease-in-out infinite; }
.floating-tag--two { right: -4%; top: 50%; animation: floatTwo 6s ease-in-out infinite; }
.floating-tag--three { left: 7%; bottom: 11%; animation: floatOne 5.5s ease-in-out infinite reverse; }
.hero-wave {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -60px;
  height: 130px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: rotate(-1deg);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: center;
}
.about-actions { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.text-link { color: var(--navy-900); font-weight: 850; text-decoration: none; display: inline-flex; gap: 9px; align-items: center; }
.text-link:hover { color: var(--gold-700); }
.feature-board { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-card h3 { margin: 24px 0 9px; font-family: var(--serif); color: var(--navy-900); font-size: 1.35rem; line-height: 1.2; }
.feature-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: var(--blue-50); color: var(--navy-700); font-weight: 900; }
.feature-card--accent { background: linear-gradient(145deg, var(--gold-100), #fff 64%); border-color: rgba(196,138,24,.3); }
.feature-card--accent .feature-icon { background: var(--gold-500); color: var(--navy-950); }
.feature-card--dark { background: linear-gradient(145deg, var(--navy-900), var(--navy-700)); border-color: transparent; }
.feature-card--dark .feature-icon { color: var(--gold-300); background: rgba(255,255,255,.1); }
.feature-card--dark h3 { color: #fff; }
.feature-card--dark p { color: rgba(255,255,255,.72); }

.patronage-section { background: var(--paper-soft); border-block: 1px solid var(--line); }
.patronage-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.patron-card {
  position: relative;
  min-height: 215px;
  padding: 28px 22px 24px;
  border: 1px solid rgba(6,42,88,.1);
  border-radius: 20px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.patron-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(.35);
  transition: transform .22s ease;
}
.patron-card:hover { transform: translateY(-5px); border-color: rgba(196,138,24,.35); box-shadow: var(--shadow-md); }
.patron-card:hover::before { transform: scaleX(1); }
.patron-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--gold-100);
  color: var(--gold-700);
}
.patron-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.patron-card h3 { margin: 0 0 10px; color: var(--navy-900); font-family: var(--serif); font-size: 1.05rem; line-height: 1.3; }
.patron-card p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }

.section-program { background: #fff; isolation: isolate; }
.program-bg {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 480px;
  background: linear-gradient(180deg, var(--blue-50), rgba(245,249,255,0));
}
.workflow-visual {
  position: relative;
  margin: 10px 0 40px;
  padding: 26px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.workflow-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: .6;
}
.workflow-track { position: absolute; left: 7%; right: 7%; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-300) 8%, var(--gold-300) 92%, transparent); }
.workflow-track::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px #fff;
  animation: workflowTravel 7s linear infinite;
}
.workflow-nodes { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.workflow-node { display: grid; justify-items: center; gap: 10px; color: #fff; text-align: center; }
.workflow-node span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 0 0 7px rgba(255,255,255,.06), 0 8px 20px rgba(0,0,0,.22);
  font-weight: 900;
}
.workflow-node small { color: rgba(255,255,255,.7); font-size: .66rem; line-height: 1.25; }
.curriculum-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.module-card {
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: .24s ease;
}
.module-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(196,138,24,.36); }
.module-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.module-number { color: var(--gold-700); font-weight: 900; letter-spacing: .12em; }
.module-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: var(--blue-50); color: var(--navy-800); }
.module-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.module-card h3 { margin: 28px 0 12px; color: var(--navy-900); font-family: var(--serif); font-size: 1.38rem; line-height: 1.17; }
.module-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.schedule-panel {
  margin-top: 42px;
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: center;
  padding: 36px;
  border: 1px solid rgba(6,42,88,.11);
  border-radius: 26px;
  background: linear-gradient(135deg, #fff, var(--blue-50));
  box-shadow: var(--shadow-sm);
}
.schedule-intro h3 { margin: 8px 0 10px; color: var(--navy-900); font-family: var(--serif); font-size: 2rem; line-height: 1.15; }
.schedule-intro p:last-child { color: var(--muted); margin: 0; }
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.week-day {
  min-height: 118px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}
.week-day span { color: var(--navy-900); font-weight: 850; font-size: .78rem; }
.week-day em { color: #9ba8b6; font-size: .68rem; font-style: normal; margin-top: 9px; }
.week-day strong { color: var(--gold-700); font-size: .72rem; margin-top: 9px; }
.week-day.is-active { border-color: rgba(196,138,24,.5); background: linear-gradient(145deg, var(--gold-100), #fff); box-shadow: 0 8px 20px rgba(196,138,24,.12); }

.speakers-section { background: var(--paper-soft); border-top: 1px solid var(--line); }
.speaker-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 10px 16px;
  font-size: .83rem;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
}
.filter-button:hover { color: var(--navy-900); border-color: var(--gold-500); }
.filter-button.is-active { color: #fff; background: var(--navy-900); border-color: var(--navy-900); box-shadow: 0 8px 20px rgba(6,42,88,.2); }
.speakers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.speaker-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 515px;
  border: 1px solid rgba(6,42,88,.1);
  border-radius: 26px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.speaker-card[hidden] { display: none !important; }
.speaker-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(196,138,24,.4); }
.speaker-photo-wrap {
  position: relative;
  min-height: 225px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.85), transparent 48%),
    linear-gradient(135deg, var(--blue-100), var(--gold-100));
  overflow: hidden;
}
.speaker-photo-wrap::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -50px;
  height: 90px;
  border-radius: 50%;
  background: #fff;
}
.speaker-photo {
  position: relative;
  z-index: 1;
  width: 178px;
  height: 178px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 0 0 3px var(--gold-500), 0 18px 36px rgba(4,35,74,.2);
}
.speaker-category {
  position: absolute;
  z-index: 3;
  top: 18px;
  inset-inline-end: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--navy-900);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  font-size: .69rem;
  font-weight: 900;
  box-shadow: 0 7px 20px rgba(4,35,74,.1);
}
.speaker-card-body { position: relative; z-index: 2; flex: 1; padding: 12px 24px 24px; display: flex; flex-direction: column; }
.speaker-card h3 { margin: 0 0 7px; color: var(--navy-900); font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; }
.speaker-role { margin: 0; color: var(--muted); font-size: .88rem; min-height: 47px; }
.speaker-lecture {
  margin: 18px 0;
  padding: 15px;
  border-inline-start: 3px solid var(--gold-500);
  border-radius: 0 12px 12px 0;
  background: var(--blue-50);
}
.speaker-lecture span { display: block; color: var(--gold-700); font-size: .65rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.speaker-lecture strong { display: block; margin-top: 5px; color: var(--navy-900); font-size: .92rem; line-height: 1.35; }
.speaker-card-actions { display: flex; gap: 10px; margin-top: auto; }
.speaker-card-actions button,
.speaker-card-actions a {
  min-height: 42px;
  flex: 1;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy-900);
  font-size: .78rem;
  font-weight: 850;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .18s ease;
}
.speaker-card-actions button:hover,
.speaker-card-actions a:hover { border-color: var(--gold-500); background: var(--gold-100); }
.speaker-card-actions .primary { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.impact-section { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.impact-section::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 25px 25px; opacity: .5; }
.impact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .8fr); gap: 80px; align-items: center; }
.impact-copy .eyebrow { color: var(--gold-300); }
.impact-copy h2 { margin: 8px 0 20px; color: #fff; font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 4.4rem); line-height: 1.04; letter-spacing: -.04em; }
.impact-copy > p { color: rgba(255,255,255,.72); font-size: 1.04rem; }
.check-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-inline-start: 34px; color: rgba(255,255,255,.86); }
.check-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(239,208,138,.16); color: var(--gold-300); font-weight: 900; font-size: .76rem; }
.impact-diagram { position: relative; aspect-ratio: 1; max-width: 540px; margin-inline: auto; }
.diagram-core { position: absolute; z-index: 3; inset: 50% auto auto 50%; width: 150px; height: 150px; transform: translate(-50%,-50%); display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, var(--gold-300) 28%, var(--gold-600) 70%); color: var(--navy-950); box-shadow: 0 0 0 18px rgba(255,255,255,.05), 0 0 60px rgba(239,208,138,.45); font-family: var(--serif); font-weight: 900; letter-spacing: .08em; }
.diagram-node { position: absolute; z-index: 3; width: 112px; height: 112px; display: grid; place-items: center; align-content: center; border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.diagram-node strong { color: var(--gold-300); font-size: .8rem; letter-spacing: .1em; }
.diagram-node span { font-family: var(--serif); font-size: 1rem; }
.diagram-node--1 { left: 50%; top: 0; transform: translateX(-50%); }
.diagram-node--2 { right: 0; top: 50%; transform: translateY(-50%); }
.diagram-node--3 { left: 50%; bottom: 0; transform: translateX(-50%); }
.diagram-node--4 { left: 0; top: 50%; transform: translateY(-50%); }
.diagram-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(239,208,138,.48); stroke-width: 1.4; stroke-dasharray: 7 7; animation: dashFlow 16s linear infinite; }

.gallery-section { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gallery-item {
  position: relative;
  min-height: 385px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--navy-950);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.gallery-item:nth-child(1), .gallery-item:nth-child(2) { grid-column: span 2; min-height: 520px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,26,54,.9), rgba(3,26,54,0) 48%); }
.gallery-item:hover img { transform: scale(1.035); opacity: .88; }
.gallery-caption { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; color: #fff; text-align: start; font-family: var(--serif); font-size: 1rem; }
.gallery-zoom { position: absolute; z-index: 2; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy-900); font-size: 1.25rem; box-shadow: 0 8px 20px rgba(0,0,0,.15); }

.registration-section { background: var(--paper-soft); border-block: 1px solid var(--line); }
.registration-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 70px;
  align-items: center;
  padding: 58px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 20%, rgba(239,208,138,.38), transparent 26%),
    linear-gradient(135deg, #fff, var(--blue-50));
  border: 1px solid rgba(6,42,88,.1);
  box-shadow: var(--shadow-md);
}
.registration-copy h2 { margin: 8px 0 18px; color: var(--navy-900); font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1.06; letter-spacing: -.035em; }
.registration-copy > p { color: var(--muted); max-width: 760px; }
.registration-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.registration-points div { padding: 14px 15px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.registration-points strong { display: block; color: var(--gold-700); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.registration-points span { display: block; margin-top: 4px; color: var(--navy-900); font-weight: 780; font-size: .86rem; }
.registration-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.qr-card { text-align: center; }
.qr-frame { padding: 17px; border-radius: 26px; background: #fff; border: 1px solid rgba(6,42,88,.1); box-shadow: 0 18px 45px rgba(4,35,74,.12); }
.qr-frame img { width: 100%; border-radius: 12px; }
.qr-card p { margin: 14px 0 0; color: var(--navy-900); font-weight: 850; }

.location-section { background: #fff; }
.location-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr); gap: 60px; align-items: stretch; }
.location-card { padding: 50px; border-radius: 28px; background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); color: #fff; box-shadow: var(--shadow-md); }
.location-card .eyebrow { color: var(--gold-300); }
.location-card h2 { margin: 8px 0 8px; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1.04; }
.location-address { color: var(--gold-300); font-weight: 800; font-size: 1.12rem; }
.location-card > p:not(.eyebrow):not(.location-address) { color: rgba(255,255,255,.72); }
.location-pin { width: 64px; height: 64px; margin-bottom: 26px; display: grid; place-items: center; border-radius: 20px; color: var(--gold-300); background: rgba(255,255,255,.08); }
.location-pin svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.location-card .button { margin-top: 22px; background: #fff; color: var(--navy-900); }
.map-visual { position: relative; min-height: 520px; border-radius: 28px; overflow: hidden; background: var(--blue-50); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(6,42,88,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(6,42,88,.06) 1px, transparent 1px); background-size: 38px 38px; transform: rotate(-8deg) scale(1.2); }
.map-visual::before, .map-visual::after { content: ""; position: absolute; border-radius: 999px; background: rgba(15,77,145,.15); }
.map-visual::before { width: 650px; height: 70px; left: -80px; top: 120px; transform: rotate(18deg); }
.map-visual::after { width: 620px; height: 52px; left: 80px; top: 330px; transform: rotate(-24deg); }
.map-route { position: absolute; inset: 0; z-index: 2; }
.map-route::before { content: ""; position: absolute; left: 12%; top: 65%; width: 72%; height: 140px; border: 5px dashed var(--gold-500); border-color: var(--gold-500) transparent transparent transparent; border-radius: 50% / 100% 100% 0 0; transform: rotate(-12deg); }
.map-route span { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--navy-800); border: 4px solid #fff; box-shadow: 0 6px 18px rgba(4,35,74,.2); }
.map-route span:nth-child(1) { left: 14%; top: 59%; }
.map-route span:nth-child(2) { left: 45%; top: 42%; }
.map-route span:nth-child(3) { right: 17%; top: 50%; background: var(--gold-500); animation: locationPulse 2s ease-in-out infinite; }
.map-qr-card { position: absolute; z-index: 4; right: 28px; bottom: 28px; width: 235px; padding: 16px; border-radius: 20px; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); box-shadow: var(--shadow-md); text-align: center; }
.map-qr-card img { width: 100%; border-radius: 10px; }
.map-qr-card strong { display: block; margin-top: 9px; color: var(--navy-900); font-size: .82rem; }

.site-footer { padding: 72px 0 24px; background: #02142b; color: rgba(255,255,255,.75); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .55fr .85fr; gap: 70px; padding-bottom: 45px; }
.footer-brand { display: flex; gap: 18px; align-items: center; }
.footer-brand img { width: 92px; height: 92px; border-radius: 50%; background: #fff; }
.footer-brand strong { display: block; color: #fff; font-family: var(--serif); font-size: 1.35rem; }
.footer-brand p { margin: 8px 0 0; font-size: .9rem; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 9px; }
.footer-links strong, .footer-contact strong { color: var(--gold-300); margin-bottom: 7px; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-300); }
.footer-contact p { margin: 5px 0 0; font-size: .88rem; }
.footer-bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: .82rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--gold-300); text-decoration: none; font-weight: 800; }

.floating-register {
  position: fixed;
  z-index: 850;
  right: 24px;
  bottom: 24px;
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--navy-950);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 15px 36px rgba(4,35,74,.24);
}
.floating-register.is-visible { display: inline-flex; }
.floating-register svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.speaker-modal, .lightbox {
  width: min(1100px, calc(100% - 28px));
  max-height: calc(100vh - 30px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.speaker-modal::backdrop, .lightbox::backdrop { background: rgba(1,13,29,.82); backdrop-filter: blur(10px); }
.modal-close {
  position: sticky;
  z-index: 20;
  top: 16px;
  float: right;
  margin: 16px 16px -58px 0;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(3,26,54,.9);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.speaker-modal-grid { display: grid; grid-template-columns: minmax(360px, .78fr) minmax(0, 1.22fr); min-height: 700px; }
.speaker-modal-poster { background: var(--paper-soft); padding: 28px; display: grid; place-items: center; }
.speaker-modal-poster img { max-height: 780px; width: 100%; object-fit: contain; border-radius: 14px; box-shadow: var(--shadow-sm); }
.speaker-modal-content { padding: 66px 55px 50px; }
.speaker-modal-content h2 { margin: 8px 0 10px; color: var(--navy-900); font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.04; }
.speaker-modal-role { color: var(--navy-800); font-weight: 800; margin: 0; }
.speaker-modal-affiliation { color: var(--muted); margin: 5px 0 0; }
.speaker-modal-lecture { margin: 30px 0 24px; padding: 20px; border-radius: 18px; background: var(--blue-50); border-inline-start: 4px solid var(--gold-500); }
.speaker-modal-lecture span { color: var(--gold-700); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.speaker-modal-lecture h3 { margin: 7px 0 0; color: var(--navy-900); font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; }
.speaker-modal-content > p:last-of-type { color: var(--muted); }
.speaker-modal-email { display: block; margin: 18px 0 24px; color: var(--navy-800); font-weight: 850; text-decoration: none; overflow-wrap: anywhere; }
.speaker-modal-email:empty { display: none; }
.lightbox { width: min(960px, calc(100% - 24px)); background: transparent; box-shadow: none; overflow: visible; }
.lightbox figure { margin: 0; display: grid; justify-items: center; }
.lightbox img { max-height: calc(100vh - 95px); width: auto; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { margin-top: 12px; color: #fff; font-weight: 800; text-align: center; }
.lightbox-close { position: fixed; top: 18px; right: 18px; float: none; margin: 0; }
.lightbox-nav { position: fixed; z-index: 25; top: 50%; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(3,26,54,.78); color: #fff; font-size: 2rem; cursor: pointer; backdrop-filter: blur(10px); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.noscript-message { position: fixed; z-index: 9999; left: 12px; right: 12px; bottom: 12px; padding: 16px; background: #fff4d9; color: #4c3608; border: 1px solid #e2bc57; border-radius: 12px; box-shadow: var(--shadow-md); }

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

@keyframes pulseGlow { 0%,100% { transform: scale(.97); opacity: .65; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes orbitSpin { to { transform: rotate(382deg); } }
@keyframes orbitSpinReverse { to { transform: rotate(-374deg); } }
@keyframes floatOne { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatTwo { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(9px) translateX(-8px); } }
@keyframes workflowTravel { 0% { left: 0; } 100% { left: calc(100% - 10px); } }
@keyframes dashFlow { to { stroke-dashoffset: -180; } }
@keyframes locationPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(196,138,24,.35), 0 6px 18px rgba(4,35,74,.2); } 50% { box-shadow: 0 0 0 14px rgba(196,138,24,0), 0 6px 18px rgba(4,35,74,.2); } }

html[dir="rtl"] body { font-family: Tahoma, Arial, sans-serif; }
html[dir="rtl"] .hero h1,
html[dir="rtl"] .section-heading h2,
html[dir="rtl"] .speaker-card h3,
html[dir="rtl"] .registration-copy h2,
html[dir="rtl"] .location-card h2,
html[dir="rtl"] .impact-copy h2,
html[dir="rtl"] .speaker-modal-content h2,
html[dir="rtl"] .speaker-modal-lecture h3,
html[dir="rtl"] .module-card h3,
html[dir="rtl"] .patron-card h3,
html[dir="rtl"] .gallery-caption,
html[dir="rtl"] .footer-brand strong { font-family: Tahoma, Arial, sans-serif; letter-spacing: 0; }
html[dir="rtl"] .hero h1 { text-transform: none; }
html[dir="rtl"] .hero h1 em { letter-spacing: .08em; }
html[dir="rtl"] .speaker-lecture { border-radius: 12px 0 0 12px; }
html[dir="rtl"] .modal-close { float: left; margin: 16px 0 -58px 16px; }
html[dir="rtl"] .lightbox-close { left: 18px; right: auto; margin: 0; float: none; }
html[dir="rtl"] .floating-register { right: auto; left: 24px; }

@media (max-width: 1120px) {
  .nav-links { gap: 15px; }
  .nav-links a { font-size: .84rem; }
  .brand { min-width: 210px; }
  .hero-grid { gap: 30px; }
  .hero-orbit { display: none; }
  .patronage-grid { grid-template-columns: repeat(3, 1fr); }
  .curriculum-grid { grid-template-columns: repeat(3, 1fr); }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(1), .gallery-item:nth-child(2) { grid-column: span 1; min-height: 410px; }
  .week-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .institution-strip { min-height: 105px; gap: 18px; }
  .institution-logo { height: 72px; }
  .institution-logo img { height: 64px !important; }
  .institution-logo--round img { height: 68px !important; }
  .institution-logo--wide img { height: 56px !important; }
  .menu-toggle { display: block; order: 2; margin-inline-start: auto; }
  .nav-actions { order: 3; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .2s ease;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; }
  .nav-links a:hover { background: var(--blue-50); }
  .nav-links a::after { display: none; }
  .hero { min-height: auto; padding-top: 80px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 440px; order: -1; }
  .hero-logo-shell { width: min(100%, 440px); }
  .floating-tag--one { left: 0; }
  .floating-tag--two { right: 0; }
  .section { padding: 84px 0; }
  .about-grid, .impact-grid, .location-grid { grid-template-columns: 1fr; gap: 50px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 10px; }
  .patronage-grid { grid-template-columns: repeat(2, 1fr); }
  .curriculum-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-nodes { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
  .workflow-track { display: none; }
  .schedule-panel { grid-template-columns: 1fr; }
  .impact-diagram { width: min(100%, 520px); }
  .registration-shell { grid-template-columns: 1fr; padding: 42px; }
  .qr-card { width: min(310px, 100%); margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .speaker-modal-grid { grid-template-columns: 1fr; }
  .speaker-modal-poster { max-height: 520px; }
  .speaker-modal-poster img { max-height: 460px; }
  .speaker-modal-content { padding: 50px 36px 38px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .announcement-inner { min-height: 44px; font-size: .75rem; gap: 10px; }
  .institution-strip { grid-template-columns: repeat(4, 1fr); gap: 8px; min-height: 88px; padding-block: 12px; }
  .institution-logo { height: 52px; }
  .institution-logo img { height: 46px !important; }
  .institution-logo--round img { height: 49px !important; }
  .institution-logo--wide img { height: 40px !important; }
  .nav-inner { min-height: 66px; gap: 8px; }
  .brand { min-width: 0; }
  .brand img { width: 44px; height: 44px; }
  .brand strong { font-size: .86rem; }
  .brand small { font-size: .55rem; }
  .nav-actions .button { display: none; }
  .language-toggle { width: 40px; height: 40px; }
  .hero { padding: 58px 0 95px; }
  .hero-visual { min-height: 330px; }
  .hero-logo-shell { width: min(100%, 330px); }
  .floating-tag { display: none; }
  .hero h1 > span { font-size: clamp(3.15rem, 18vw, 5rem); }
  .hero h1 em { font-size: .95rem; letter-spacing: .23em; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 70px 0; }
  .section-heading h2 { font-size: clamp(2rem, 11vw, 3rem); }
  .feature-board, .patronage-grid, .curriculum-grid, .speakers-grid, .gallery-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .patron-card { min-height: auto; }
  .workflow-nodes { grid-template-columns: repeat(2, 1fr); }
  .workflow-node small { max-width: 110px; }
  .module-card { min-height: auto; }
  .schedule-panel { padding: 24px; }
  .week-grid { grid-template-columns: repeat(2, 1fr); }
  .speaker-controls { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 7px; scrollbar-width: none; }
  .speaker-controls::-webkit-scrollbar { display: none; }
  .filter-button { flex: 0 0 auto; }
  .speaker-card { min-height: 500px; }
  .impact-grid { gap: 35px; }
  .impact-diagram { transform: scale(.9); margin-block: -25px; }
  .diagram-node { width: 88px; height: 88px; }
  .diagram-core { width: 120px; height: 120px; }
  .gallery-item, .gallery-item:nth-child(1), .gallery-item:nth-child(2) { min-height: 470px; }
  .registration-shell { padding: 28px; gap: 38px; }
  .registration-points { grid-template-columns: 1fr; }
  .registration-actions { display: grid; }
  .registration-actions .button { width: 100%; }
  .location-card { padding: 34px 27px; }
  .map-visual { min-height: 430px; }
  .map-qr-card { width: 190px; right: 18px; bottom: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-brand { grid-column: auto; align-items: flex-start; }
  .footer-brand img { width: 76px; height: 76px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .floating-register { right: 14px; bottom: 14px; }
  html[dir="rtl"] .floating-register { left: 14px; right: auto; }
  .speaker-modal { width: calc(100% - 12px); max-height: calc(100vh - 12px); border-radius: 20px; }
  .speaker-modal-poster { padding: 18px; }
  .speaker-modal-content { padding: 40px 22px 28px; }
  .speaker-modal-content h2 { font-size: 2rem; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-prev { left: 7px; }
  .lightbox-next { right: 7px; }
}

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

/* Guard against long scientific titles expanding grid tracks on narrow screens. */
.hero-copy,
.hero-visual,
.section-heading,
.speaker-card,
.module-card { min-width: 0; }

@media (max-width: 680px) {
  .hero-grid { min-width: 0; }
  .hero-visual { min-height: 290px; }
  .hero-logo-shell { width: min(100%, 290px); }
  .hero h1 { width: 100%; overflow: hidden; }
  .hero h1 > span {
    font-size: clamp(2.25rem, 10.3vw, 3rem);
    letter-spacing: -.045em;
    line-height: .96;
  }
  .hero h1 em { font-size: .82rem; letter-spacing: .19em; }
}
.hero { overflow: hidden; }
body { overflow-x: hidden; }


/* =========================================================
   Responsive correction v2.0
   Prevents headline/image overlap and preserves image ratios.
   ========================================================= */

.hero-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: clamp(28px, 3.5vw, 52px);
}
.hero-copy,
.registration-copy { min-width: 0; }
.hero h1 {
  max-width: 100%;
  line-height: .93;
  letter-spacing: -.045em;
}
.hero h1 > span {
  max-width: 100%;
  font-size: clamp(3.35rem, 4.35vw, 4.5rem);
  white-space: normal;
  overflow-wrap: normal;
}
.hero h1 em {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  letter-spacing: .38em;
}
.hero-visual { min-height: 520px; }
.hero-logo-shell { width: min(100%, 500px); }
.hero-logo-shell > img {
  width: 88%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.floating-tag--one { left: 0; top: 25%; }
.floating-tag--two { right: 0; top: 52%; }
.floating-tag--three { left: 8%; bottom: 7%; }

.registration-shell {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
  gap: clamp(30px, 5vw, 64px);
}
.registration-copy h2 {
  font-size: clamp(2.35rem, 3.4vw, 3.65rem);
  overflow-wrap: normal;
}
.qr-card {
  width: 100%;
  max-width: 310px;
  justify-self: center;
  align-self: center;
}
.qr-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.qr-frame img,
.map-qr-card img {
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.button { max-width: 100%; text-align: center; }

@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); }
  .hero-logo-shell { width: min(100%, 440px); }
  .hero-visual { min-height: 470px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hero-visual { min-height: 360px; }
  .hero-logo-shell { width: min(100%, 380px); }
  .hero h1 > span { font-size: clamp(3rem, 8.5vw, 4.1rem); }
  .registration-shell { grid-template-columns: minmax(0, 1fr); }
  .qr-card { max-width: 300px; }
}

@media (max-width: 680px) {
  .hero { padding-top: 46px; }
  .hero-visual { min-height: 270px; }
  .hero-logo-shell { width: min(100%, 275px); }
  .hero h1 > span {
    font-size: clamp(2.2rem, 9.5vw, 3rem);
    letter-spacing: -.035em;
  }
  .hero h1 em { font-size: .82rem; letter-spacing: .16em; }
  .registration-shell { padding: 25px; gap: 32px; }
  .registration-copy h2 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .qr-card { max-width: 280px; }
}

@media (max-width: 420px) {
  .hero-visual { min-height: 238px; }
  .hero-logo-shell { width: min(100%, 240px); }
  .hero h1 > span { font-size: clamp(2rem, 9vw, 2.35rem); }
  .hero-meta div { padding-inline: 8px; }
  .registration-shell { padding: 18px; border-radius: 22px; }
  .registration-copy h2 { font-size: clamp(1.9rem, 9vw, 2.35rem); }
  .qr-card { max-width: 245px; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 380px; order: -1; }
  .hero-logo-shell { width: min(100%, 390px); }
  .hero h1 > span { font-size: clamp(3rem, 8vw, 4rem); }
}

/* =========================================================
   Adaptive device layer v3.0
   Device state is set by assets/js/device.js before first paint.
   CSS media queries remain as a no-JavaScript fallback.
   ========================================================= */

:root {
  --viewport-width: 100vw;
  --viewport-height: 100vh;
}

html.device-ready body {
  min-height: var(--viewport-height);
}

/* Every raster image keeps its intrinsic proportions. */
img {
  max-width: 100%;
}

.institution-logo img,
.brand img,
.hero-logo-shell > img,
.speaker-photo,
.gallery-item img,
.qr-frame img,
.map-qr-card img,
.footer-brand img {
  object-fit: contain;
}

/* Desktop: editorial two-column hero and full scientific visualisation. */
html[data-device="desktop"] .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: clamp(34px, 4vw, 70px);
}

html[data-device="desktop"] .hero-copy {
  text-align: start;
}

html[data-device="desktop"] .hero h1 > span {
  font-size: clamp(3.6rem, 5.25vw, 6.3rem);
}

html[data-device="desktop"] .hero-visual {
  min-height: clamp(470px, 42vw, 590px);
}

html[data-device="desktop"] .hero-logo-shell {
  width: min(100%, 530px);
}

html[data-device="desktop"] .speakers-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

html[data-device="desktop"] .gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Tablet: stacked hero, two-column content and reduced decoration. */
html[data-device="tablet"] .hero {
  min-height: auto;
  padding: 64px 0 112px;
}

html[data-device="tablet"] .hero-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

html[data-device="tablet"] .hero-copy {
  text-align: center;
}

html[data-device="tablet"] .hero-visual {
  order: -1;
  min-height: 350px;
}

html[data-device="tablet"] .hero-logo-shell {
  width: min(100%, 370px);
}

html[data-device="tablet"] .hero h1 > span {
  font-size: clamp(3.2rem, 8.1vw, 4.5rem);
}

html[data-device="tablet"] .hero-lead {
  margin-inline: auto;
}

html[data-device="tablet"] .hero-actions {
  justify-content: center;
}

html[data-device="tablet"] .hero-orbit--two,
html[data-device="tablet"] .hero-orbit--three {
  display: none;
}

html[data-device="tablet"] .floating-tag {
  transform: scale(.9);
}

html[data-device="tablet"] .about-grid,
html[data-device="tablet"] .impact-grid,
html[data-device="tablet"] .location-grid,
html[data-device="tablet"] .registration-shell {
  grid-template-columns: minmax(0, 1fr);
}

html[data-device="tablet"] .patronage-grid,
html[data-device="tablet"] .curriculum-grid,
html[data-device="tablet"] .speakers-grid,
html[data-device="tablet"] .gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-device="tablet"] .gallery-item,
html[data-device="tablet"] .gallery-item:nth-child(1),
html[data-device="tablet"] .gallery-item:nth-child(2) {
  grid-column: span 1;
  min-height: 0;
  aspect-ratio: 5 / 7;
}

html[data-device="tablet"] .gallery-item img {
  object-fit: contain;
  background: #fff;
}

html[data-device="tablet"] .qr-card {
  max-width: 300px;
  margin-inline: auto;
}

/* Mobile: compact, touch-first, single-column visualisation. */
html[data-device="mobile"] .announcement-inner {
  min-height: 42px;
  font-size: .72rem;
}

html[data-device="mobile"] .institution-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 78px;
  gap: 5px;
  padding-block: 9px;
}

html[data-device="mobile"] .institution-logo {
  width: 100%;
  height: 54px;
  padding: 2px;
}

html[data-device="mobile"] .institution-logo img,
html[data-device="mobile"] .institution-logo--round img,
html[data-device="mobile"] .institution-logo--wide img {
  width: 100%;
  height: 100% !important;
  max-width: 100%;
  object-fit: contain;
}

html[data-device="mobile"] .nav-inner {
  min-height: 62px;
}

html[data-device="mobile"] .brand img {
  width: 42px;
  height: 42px;
}

html[data-device="mobile"] .brand strong {
  font-size: .78rem;
}

html[data-device="mobile"] .brand small {
  font-size: .52rem;
}

html[data-device="mobile"] .hero {
  min-height: auto;
  padding: 36px 0 88px;
}

html[data-device="mobile"] .hero-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

html[data-device="mobile"] .hero-copy {
  text-align: center;
}

html[data-device="mobile"] .hero-visual {
  order: -1;
  min-height: 220px;
}

html[data-device="mobile"] .hero-logo-shell {
  width: min(72vw, 250px);
}

html[data-device="mobile"] .hero-logo-shell > img {
  width: 92%;
}

html[data-device="mobile"] .molecule-canvas,
html[data-device="mobile"] .hero-orbit,
html[data-device="mobile"] .floating-tag {
  display: none;
}

html[data-device="mobile"] .hero h1 {
  margin: 12px 0 18px;
  line-height: .98;
  overflow: visible;
}

html[data-device="mobile"] .hero h1 > span {
  font-size: clamp(2rem, 11.2vw, 3.15rem);
  overflow-wrap: anywhere;
}

html[data-device="mobile"] .hero h1 em {
  margin-top: 13px;
  font-size: clamp(.73rem, 3.7vw, .95rem);
  letter-spacing: .17em;
}

html[data-device="mobile"] .hero-lead {
  max-width: 38rem;
  margin-inline: auto;
  font-size: .96rem;
}

html[data-device="mobile"] .hero-actions,
html[data-device="mobile"] .registration-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

html[data-device="mobile"] .hero-actions .button,
html[data-device="mobile"] .registration-actions .button {
  width: 100%;
}

html[data-device="mobile"] .hero-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

html[data-device="mobile"] .hero-meta div {
  padding: 14px 8px;
}

html[data-device="mobile"] .section {
  padding: 62px 0;
}

html[data-device="mobile"] .about-grid,
html[data-device="mobile"] .impact-grid,
html[data-device="mobile"] .location-grid,
html[data-device="mobile"] .registration-shell,
html[data-device="mobile"] .section-heading--split,
html[data-device="mobile"] .schedule-panel,
html[data-device="mobile"] .speaker-modal-grid {
  grid-template-columns: minmax(0, 1fr);
}

html[data-device="mobile"] .feature-board,
html[data-device="mobile"] .patronage-grid,
html[data-device="mobile"] .curriculum-grid,
html[data-device="mobile"] .speakers-grid {
  grid-template-columns: minmax(0, 1fr);
}

html[data-device="mobile"] .workflow-visual {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

html[data-device="mobile"] .workflow-nodes {
  width: max-content;
  min-width: 100%;
  grid-template-columns: repeat(8, 116px);
  gap: 10px;
  padding-inline: 6px;
}

html[data-device="mobile"] .workflow-track {
  display: none;
}

html[data-device="mobile"] .speaker-card {
  min-height: 0;
}

html[data-device="mobile"] .speaker-photo-wrap {
  min-height: 280px;
}

html[data-device="mobile"] .speaker-photo {
  object-fit: cover;
  object-position: center top;
}

html[data-device="mobile"] .speaker-role {
  min-height: 0;
}

html[data-device="mobile"] .gallery-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  padding: 3px 2px 16px;
  scrollbar-width: thin;
}

html[data-device="mobile"] .gallery-item,
html[data-device="mobile"] .gallery-item:nth-child(1),
html[data-device="mobile"] .gallery-item:nth-child(2) {
  flex: 0 0 min(82vw, 345px);
  min-height: 0;
  aspect-ratio: 5 / 7;
  scroll-snap-align: center;
}

html[data-device="mobile"] .gallery-item img {
  object-fit: contain;
  background: #fff;
}

html[data-device="mobile"] .registration-shell {
  padding: 22px;
  gap: 30px;
  border-radius: 24px;
}

html[data-device="mobile"] .registration-copy h2 {
  font-size: clamp(1.9rem, 9.8vw, 2.65rem);
}

html[data-device="mobile"] .registration-points {
  grid-template-columns: minmax(0, 1fr);
}

html[data-device="mobile"] .qr-card {
  width: min(100%, 260px);
  margin-inline: auto;
}

html[data-device="mobile"] .qr-frame {
  padding: 12px;
  border-radius: 20px;
}

html[data-device="mobile"] .location-card {
  padding: 30px 22px;
}

html[data-device="mobile"] .map-visual {
  min-height: 360px;
}

html[data-device="mobile"] .map-qr-card {
  width: min(48vw, 180px);
  inset-inline-end: 14px;
  bottom: 14px;
}

html[data-device="mobile"] .floating-register {
  left: 12px;
  right: 12px;
  bottom: 12px;
  justify-content: center;
  width: auto;
  min-height: 52px;
}

html[data-device="mobile"][dir="rtl"] .floating-register {
  left: 12px;
  right: 12px;
}

/* Touch devices do not depend on hover-only cues. */
html[data-input="touch"] .speaker-card:hover,
html[data-input="touch"] .gallery-item:hover img {
  transform: none;
}

html[data-input="touch"] .gallery-zoom {
  opacity: .95;
}

/* Landscape phones: use horizontal space without restoring desktop scale. */
html[data-device="mobile"][data-orientation="landscape"] .hero-grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
}

html[data-device="mobile"][data-orientation="landscape"] .hero-visual {
  order: 0;
  min-height: 210px;
}

html[data-device="mobile"][data-orientation="landscape"] .hero-logo-shell {
  width: min(34vw, 230px);
}

html[data-device="mobile"][data-orientation="landscape"] .hero h1 > span {
  font-size: clamp(1.85rem, 6.5vw, 2.7rem);
}

html[data-device="mobile"][data-orientation="landscape"] .hero-lead {
  font-size: .88rem;
}

/* Fallbacks when JavaScript is unavailable. */
@media (max-width: 767px) {
  html:not(.device-ready) .hero-grid { grid-template-columns: 1fr; }
  html:not(.device-ready) .hero-visual { order: -1; }
  html:not(.device-ready) .molecule-canvas,
  html:not(.device-ready) .hero-orbit,
  html:not(.device-ready) .floating-tag { display: none; }
}

/* v3.0.1 finishing safeguards */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.hero,
.map-visual {
  contain: paint;
}

.hero-wave {
  left: 0;
  right: 0;
  width: 100%;
}

html[data-device="tablet"] .floating-tag {
  display: none;
}

html[data-device="mobile"] .hero h1 > span {
  font-size: clamp(1.78rem, 8.5vw, 2.35rem);
  overflow-wrap: normal;
  word-break: normal;
}

/* =========================================================
   Layout integrity patch v3.0.2
   Prevents hero text/image collisions and preserves the full
   institutional logos on narrow mobile screens.
   ========================================================= */

/* Use one measured title size for both hero words. The JavaScript
   fitter writes --hero-title-size after measuring the available column. */
.hero-copy,
.hero h1,
.hero h1 > span {
  min-width: 0;
  max-width: 100%;
}

.hero h1 > span {
  font-size: var(--hero-title-size, clamp(3.25rem, 4.35vw, 5rem));
  white-space: nowrap;
  overflow: visible;
  word-break: normal;
  overflow-wrap: normal;
}

.hero-logo-shell,
.hero-logo-shell > img {
  max-width: 100%;
}

.hero-logo-shell > img {
  width: 88%;
  height: auto !important;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Keep the desktop title within its own grid track instead of allowing
   a long word to visually enter the workshop-logo column. */
html[data-device="desktop"] .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(410px, .82fr);
  gap: clamp(34px, 3.6vw, 58px);
}

html[data-device="desktop"] .hero-copy {
  width: 100%;
  overflow: visible;
}

html[data-device="desktop"] .hero h1 > span {
  font-size: var(--hero-title-size, clamp(3.35rem, 4.2vw, 5rem));
}

html[data-device="desktop"] .hero-logo-shell {
  width: min(100%, 500px);
}

/* Institutional marks always use their intrinsic aspect ratios. */
.institution-logo {
  overflow: visible;
}

.institution-logo img,
.institution-logo--round img,
.institution-logo--wide img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Tablet keeps a single-row logo strip but gives the marks more vertical room. */
html[data-device="tablet"] .institution-strip {
  min-height: 104px;
  padding-block: 12px;
}

html[data-device="tablet"] .institution-logo {
  height: 76px;
}

/* Mobile: no fixed-height clipping. On normal phones the four marks are
   arranged as a balanced 2×2 grid so every original logo is fully visible. */
html[data-device="mobile"] .institution-strip {
  min-height: 0;
  height: auto;
  padding: 12px 10px 14px;
  align-items: center;
  overflow: visible;
}

html[data-device="mobile"] .institution-logo {
  height: 68px;
  min-height: 68px;
  padding: 2px 4px;
  overflow: visible;
}

html[data-device="mobile"] .institution-logo img,
html[data-device="mobile"] .institution-logo--round img,
html[data-device="mobile"] .institution-logo--wide img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

html[data-device="mobile"] .institution-logo--cairo img {
  max-height: 66px;
}

html[data-device="mobile"] .institution-logo--centennial img {
  max-height: 54px;
}

html[data-device="mobile"] .hero-logo-shell {
  width: min(68vw, 238px);
}

html[data-device="mobile"] .hero-visual {
  min-height: 214px;
}

html[data-device="mobile"] .hero h1 > span {
  font-size: var(--hero-title-size, clamp(1.78rem, 8.4vw, 2.32rem));
  white-space: nowrap;
}

@media (max-width: 480px) {
  html[data-device="mobile"] .institution-strip,
  html:not(.device-ready) .institution-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
  }

  html[data-device="mobile"] .institution-logo,
  html:not(.device-ready) .institution-logo {
    height: 66px;
    min-height: 66px;
  }

  html[data-device="mobile"] .institution-logo img,
  html[data-device="mobile"] .institution-logo--round img,
  html[data-device="mobile"] .institution-logo--wide img,
  html:not(.device-ready) .institution-logo img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 62px;
  }

  html[data-device="mobile"] .institution-logo--centennial img,
  html:not(.device-ready) .institution-logo--centennial img {
    max-height: 52px;
  }

  html[data-device="mobile"] .announcement-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding-block: 7px;
    text-align: start;
  }

  html[data-device="mobile"] .announcement-link {
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  html[data-device="mobile"] .institution-strip {
    gap: 6px 10px;
    padding-inline: 8px;
  }

  html[data-device="mobile"] .institution-logo {
    height: 60px;
    min-height: 60px;
  }

  html[data-device="mobile"] .institution-logo img,
  html[data-device="mobile"] .institution-logo--round img,
  html[data-device="mobile"] .institution-logo--wide img {
    max-height: 56px;
  }

  html[data-device="mobile"] .hero-logo-shell {
    width: min(66vw, 218px);
  }
}

/* v3.0.2a: explicit institutional-logo bounds for desktop/tablet.
   Percentage max-heights are avoided because they can resolve against an
   indefinite grid track in some browsers. */
.institution-logo img {
  max-height: 88px;
}
.institution-logo--round img,
.institution-logo--faculty img {
  max-height: 92px;
}
.institution-logo--wide img,
.institution-logo--centennial img {
  max-height: 76px;
}

html[data-device="tablet"] .institution-logo img {
  max-height: 64px;
}
html[data-device="tablet"] .institution-logo--round img,
html[data-device="tablet"] .institution-logo--faculty img {
  max-height: 68px;
}
html[data-device="tablet"] .institution-logo--wide img,
html[data-device="tablet"] .institution-logo--centennial img {
  max-height: 56px;
}

/* Reassert the mobile bounds after the desktop/tablet rules above. */
html[data-device="mobile"] .institution-logo img,
html[data-device="mobile"] .institution-logo--round img,
html[data-device="mobile"] .institution-logo--wide img {
  max-height: 64px;
}
html[data-device="mobile"] .institution-logo--cairo img {
  max-height: 66px;
}
html[data-device="mobile"] .institution-logo--centennial img {
  max-height: 54px;
}

@media (max-width: 360px) {
  html[data-device="mobile"] .institution-logo img,
  html[data-device="mobile"] .institution-logo--round img,
  html[data-device="mobile"] .institution-logo--wide img {
    max-height: 56px;
  }
}


/* V3.0.3 — August start notice and expanded presenter update */
.hero-start-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 12px 0 10px;
  padding: 9px 15px;
  border: 1px solid rgba(246, 198, 76, .52);
  border-radius: 999px;
  background: rgba(7, 37, 77, .56);
  color: var(--gold-300);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.hero-start-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 0 5px rgba(246, 198, 76, .12);
}
.registration-points { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html[dir="rtl"] .hero-start-badge { letter-spacing: 0; text-transform: none; }
@media (max-width: 900px) {
  .registration-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hero-start-badge { margin-inline: auto; font-size: .72rem; padding: 8px 12px; }
  .registration-points { grid-template-columns: 1fr; }
}


/* V3.0.4 — Responsive workshop video */
.workshop-video-section {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 85% 12%, rgba(208, 154, 36, .13), transparent 34%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.workshop-video-grid {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(480px, 1.18fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

.video-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.video-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(9, 47, 93, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: var(--navy-700);
  font-size: .78rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(6, 42, 88, .06);
}

.video-highlights span::before {
  content: '';
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-inline-end: 8px;
  border-radius: 50%;
  background: var(--gold-500);
}

.workshop-video-card {
  min-width: 0;
}

.workshop-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(7, 42, 84, .18);
  border-radius: clamp(18px, 2vw, 28px);
  background: #031c3d;
  box-shadow: 0 28px 70px rgba(4, 31, 67, .2);
}

.workshop-video-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

.workshop-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #031c3d;
}

.video-caption {
  margin: 14px 4px 0;
  color: var(--slate-600);
  font-size: .84rem;
  text-align: center;
}

html[dir="rtl"] .workshop-video-grid,
html[dir="rtl"] .video-caption {
  direction: rtl;
}

@media (max-width: 980px) {
  .workshop-video-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .workshop-video-section .section-heading {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
  }

  .workshop-video-section .video-highlights {
    justify-content: center;
  }

  .workshop-video-section .button {
    margin-inline: auto;
  }

  .workshop-video-card {
    width: min(100%, 860px);
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .workshop-video-section {
    padding-block: 58px;
  }

  .workshop-video-grid {
    gap: 24px;
  }

  .workshop-video-frame {
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(4, 31, 67, .18);
  }

  .video-highlights {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .video-highlights span {
    justify-content: center;
  }

  .workshop-video-section .button {
    width: 100%;
    justify-content: center;
  }

  .video-caption {
    margin-top: 10px;
    font-size: .76rem;
    line-height: 1.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workshop-video-frame video {
    scroll-behavior: auto;
  }
}


/* =========================================================
   V3.0.5 — Workshop status, Day 1 recap, attendance and
   six-photo rotating gallery.
   ========================================================= */

.day-one-recap-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(239, 208, 138, .28), transparent 28%),
    linear-gradient(145deg, #ffffff, var(--blue-50));
  border-block: 1px solid var(--line);
}

.day-one-recap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.day-one-recap-card {
  max-width: 850px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(22, 135, 84, .12);
  color: #0b7042;
  border: 1px solid rgba(22, 135, 84, .22);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-pill::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #168754;
  font-size: .74rem;
}

.day-one-recap-card h2 {
  margin: 16px 0 16px;
  color: var(--navy-900);
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4.5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.day-one-recap-card > p:not(.eyebrow):not(.program-pdf-note) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.04rem;
}

.day-one-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.program-pdf-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.day-one-summary {
  display: grid;
  gap: 14px;
}

.day-one-summary div {
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(6, 42, 88, .1);
  box-shadow: var(--shadow-sm);
}

.day-one-summary strong,
.day-one-summary span {
  display: block;
}

.day-one-summary strong {
  color: var(--gold-700);
  font-size: .72rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.day-one-summary span {
  margin-top: 6px;
  color: var(--navy-900);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 900;
}

.day-one-gallery-section {
  background: linear-gradient(180deg, #fff, #f7f9fc);
}

.day-one-gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -12px 0 24px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.shuffle-status {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}

.shuffle-now-button {
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(6, 42, 88, .18);
  background: var(--navy-900);
  color: #fff;
  font: inherit;
  font-size: .82rem;
  font-weight: 850;
  cursor: pointer;
}

.shuffle-now-button:hover,
.shuffle-now-button:focus-visible {
  background: var(--gold-500);
  color: var(--navy-950);
}

.day-one-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  transition: opacity .18s ease, transform .18s ease;
}

.day-one-gallery-grid.is-changing {
  opacity: .16;
  transform: translateY(5px);
}

.day-one-photo {
  position: relative;
  aspect-ratio: 20 / 9;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--navy-950);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}

.day-one-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .38s ease, opacity .38s ease;
}

.day-one-photo:hover img {
  transform: scale(1.035);
  opacity: .88;
}

.day-one-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 20, 43, .88), transparent 56%);
  pointer-events: none;
}

.day-one-photo-overlay {
  position: absolute;
  z-index: 2;
  inset-inline: 14px;
  bottom: 12px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  text-align: start;
}

.day-one-photo-overlay strong {
  max-width: 82%;
  font-family: var(--serif);
  font-size: .92rem;
  line-height: 1.25;
}

.day-one-photo-overlay small {
  flex: none;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  font-weight: 800;
}

.registration-section::before {
  content: "REGISTRATION CLOSED";
  position: absolute;
  top: 24px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 1;
  padding: 7px 13px;
  border-radius: 999px;
  background: #7d2630;
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .11em;
}

html[dir="rtl"] .registration-section::before {
  content: "التسجيل مغلق";
}

.registration-points {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.qr-frame img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

@media (max-width: 1040px) {
  .day-one-recap-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .day-one-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .day-one-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .registration-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

html[data-device="tablet"] .day-one-recap-grid {
  grid-template-columns: minmax(0, 1fr);
}

html[data-device="tablet"] .day-one-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

html[data-device="tablet"] .day-one-gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-device="mobile"] .day-one-recap-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

html[data-device="mobile"] .day-one-recap-card h2 {
  font-size: clamp(2rem, 10vw, 2.8rem);
}

html[data-device="mobile"] .day-one-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

html[data-device="mobile"] .day-one-actions .button {
  width: 100%;
  justify-content: center;
}

html[data-device="mobile"] .day-one-summary {
  grid-template-columns: minmax(0, 1fr);
}

html[data-device="mobile"] .day-one-gallery-toolbar {
  align-items: stretch;
  flex-direction: column;
  margin-top: 0;
}

html[data-device="mobile"] .shuffle-now-button {
  width: 100%;
}

html[data-device="mobile"] .day-one-gallery-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

html[data-device="mobile"] .day-one-photo {
  aspect-ratio: 16 / 9;
  border-radius: 15px;
}

html[data-device="mobile"] .registration-points {
  grid-template-columns: minmax(0, 1fr);
}

@media (prefers-reduced-motion: reduce) {
  .day-one-gallery-grid,
  .day-one-photo img {
    transition: none;
  }
}

/* ========================================================================== 
   V3.1.0 - Interactive program calendar and workshop materials library
   ========================================================================== */
.program-calendar-shell {
  margin: 32px 0 46px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: 24px;
  align-items: start;
}
.program-calendar-panel,
.program-day-details {
  border: 1px solid rgba(6,42,88,.12);
  border-radius: 26px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-sm);
}
.program-calendar-panel { padding: 24px; }
.program-calendar-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 18px;
}
.program-calendar-toolbar h3 {
  margin: 4px 0 0;
  color: var(--navy-900);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
}
.program-calendar-toolbar > p {
  max-width: 270px;
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}
.program-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}
.program-calendar-weekday {
  padding: 5px 2px 9px;
  color: var(--muted);
  text-align: center;
  font-size: .7rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.program-calendar-cell {
  position: relative;
  min-height: 68px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  text-align: start;
}
.program-calendar-cell.is-empty { opacity: 0; pointer-events: none; }
.program-calendar-number {
  display: block;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 750;
}
.program-calendar-cell.has-session {
  cursor: pointer;
  appearance: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.program-calendar-cell.has-session:hover,
.program-calendar-cell.has-session:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold-500);
  box-shadow: 0 10px 24px rgba(6,42,88,.12);
  outline: none;
}
.program-calendar-cell.has-session strong,
.program-calendar-cell.has-session small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.program-calendar-cell.has-session strong {
  margin-top: 4px;
  color: var(--navy-900);
  font-size: .68rem;
  line-height: 1.15;
}
.program-calendar-cell.has-session small {
  margin-top: 5px;
  color: var(--muted);
  font-size: .56rem;
}
.program-calendar-cell.status-completed { background: linear-gradient(145deg, #eef8f1, #fff); border-color: rgba(47,138,78,.28); }
.program-calendar-cell.status-today { background: linear-gradient(145deg, var(--gold-100), #fff); border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(217,161,50,.12); }
.program-calendar-cell.status-upcoming { background: linear-gradient(145deg, var(--blue-50), #fff); }
.program-calendar-cell.is-selected {
  color: #fff;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(6,42,88,.24);
}
.program-calendar-cell.is-selected .program-calendar-number,
.program-calendar-cell.is-selected strong,
.program-calendar-cell.is-selected small { color: #fff; }
.program-date-strip { display: none; }

.program-day-details { overflow: hidden; }
.agenda-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 30px 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}
.agenda-kickers { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.agenda-kickers > span:not(.status-badge) { color: rgba(255,255,255,.72); font-size: .78rem; font-weight: 700; }
.status-badge {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.status-badge.status-completed { background: #dff4e5; color: #226b3b; }
.status-badge.status-today { background: var(--gold-300); color: var(--navy-950); }
.status-badge.status-upcoming { background: #dfeeff; color: var(--navy-800); }
.agenda-date { margin: 14px 0 5px; color: var(--gold-300); font-size: .92rem; font-weight: 800; }
.agenda-header h3 { margin: 0; max-width: 650px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.08; }
.agenda-day-number {
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 20px;
  background: rgba(255,255,255,.08);
}
.agenda-day-number small { color: rgba(255,255,255,.65); font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; }
.agenda-day-number strong { color: var(--gold-300); font-family: var(--serif); font-size: 2.15rem; line-height: 1; }
.agenda-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--blue-50);
}
.agenda-facts > div { min-width: 0; padding: 16px 20px; border-inline-end: 1px solid var(--line); }
.agenda-facts > div:last-child { border-inline-end: 0; }
.agenda-facts span,
.agenda-lecturers > span,
.agenda-section-title span {
  display: block;
  color: var(--muted);
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.agenda-facts strong { display: block; margin-top: 4px; color: var(--navy-900); font-size: .82rem; line-height: 1.35; overflow-wrap: anywhere; }
.agenda-modules { padding: 24px 28px 8px; }
.agenda-section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.agenda-section-title strong { color: var(--gold-700); }
.agenda-module {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.agenda-module:first-of-type { border-top: 0; }
.agenda-module-index {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--gold-100);
  color: var(--gold-700);
  font-size: .7rem;
  font-weight: 900;
}
.agenda-module h4 { margin: 3px 0 9px; color: var(--navy-900); font-family: var(--serif); font-size: 1.07rem; line-height: 1.25; }
.agenda-module ul { margin: 0; padding-inline-start: 18px; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.agenda-module li + li { margin-top: 3px; }
.agenda-lecturers { padding: 18px 28px 22px; border-top: 1px solid var(--line); background: var(--paper-soft); }
.agenda-lecturers > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.agenda-lecturers strong { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy-900); font-size: .72rem; line-height: 1.25; }
.agenda-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 28px 28px; }
.agenda-actions .button { min-height: 44px; padding: 11px 16px; font-size: .76rem; }
.program-pathway-heading { margin: 54px 0 16px; }
.program-pathway-heading h3 { margin: 4px 0 0; color: var(--navy-900); font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.45rem); }
.program-download-panel {
  margin-top: 42px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding: 30px 34px;
  border: 1px solid rgba(6,42,88,.12);
  border-radius: 24px;
  background: linear-gradient(135deg, #fff, var(--blue-50));
  box-shadow: var(--shadow-sm);
}
.program-download-panel h3 { margin: 5px 0 8px; color: var(--navy-900); font-family: var(--serif); font-size: 1.65rem; line-height: 1.15; }
.program-download-panel p:last-child { max-width: 650px; margin: 0; color: var(--muted); }
.program-download-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 10px; }
.program-download-actions .button { white-space: nowrap; }

.materials-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(217,161,50,.13), transparent 32%),
    linear-gradient(180deg, var(--paper-soft), #fff);
}
.materials-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.materials-sidebar,
.materials-main {
  border: 1px solid rgba(6,42,88,.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.materials-sidebar { position: sticky; top: 96px; padding: 20px; }
.materials-sidebar > label { display: block; margin-bottom: 8px; color: var(--navy-900); font-size: .76rem; font-weight: 850; }
#materials-day-select {
  display: none;
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy-900);
  background: #fff;
}
.materials-day-tabs {
  max-height: 535px;
  overflow: auto;
  display: grid;
  gap: 7px;
  padding-inline-end: 3px;
  scrollbar-width: thin;
}
.materials-day-tab {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  text-align: start;
  cursor: pointer;
}
.materials-day-tab span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .72rem; font-weight: 760; }
.materials-day-tab strong { flex: 0 0 auto; min-width: 25px; height: 25px; display: grid; place-items: center; border-radius: 999px; background: var(--paper-soft); color: var(--muted); font-size: .68rem; }
.materials-day-tab:hover { background: var(--blue-50); color: var(--navy-800); }
.materials-day-tab.is-active { border-color: rgba(196,138,24,.34); background: var(--gold-100); color: var(--navy-900); }
.materials-day-tab.is-active strong { background: var(--gold-500); color: var(--navy-950); }
.materials-program-note { margin-top: 16px; padding: 14px; border-radius: 14px; background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); color: #fff; }
.materials-program-note strong { color: var(--gold-300); font-size: .75rem; }
.materials-program-note p { margin: 6px 0 0; color: rgba(255,255,255,.68); font-size: .68rem; line-height: 1.45; }
.materials-main { min-width: 0; padding: 22px; }
.materials-tools { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.materials-search-wrap {
  min-width: 240px;
  flex: 1 1 420px;
  position: relative;
}
.materials-search-wrap svg { position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.materials-search-wrap input {
  width: 100%;
  min-height: 46px;
  padding: 10px 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--paper-soft);
  outline: none;
}
.materials-search-wrap input:focus { border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(217,161,50,.12); background: #fff; }
#materials-search-clear {
  position: absolute;
  inset-inline-end: 8px;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}
#materials-search-clear.is-visible { opacity: 1; pointer-events: auto; }
.materials-type-filters { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.material-filter { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: .68rem; font-weight: 800; cursor: pointer; }
.material-filter:hover,
.material-filter.is-active { border-color: var(--gold-500); background: var(--gold-100); color: var(--navy-900); }
.materials-results-bar { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 16px 2px; }
.materials-results-bar span { color: var(--navy-900); font-weight: 850; font-size: .76rem; }
.materials-results-bar p { margin: 0; color: var(--muted); font-size: .72rem; }
.materials-resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.material-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(6,42,88,.08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.material-card:hover { transform: translateY(-4px); border-color: rgba(196,138,24,.4); box-shadow: var(--shadow-md); }
.material-card--video { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); }
.material-video-frame { min-height: 320px; background: var(--navy-950); }
.material-video-frame iframe { width: 100%; height: 100%; min-height: 320px; display: block; border: 0; aspect-ratio: 16 / 9; }
.material-thumbnail { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-soft); }
.material-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.material-card:hover .material-thumbnail img { transform: scale(1.025); }
.material-drive-visual {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 13px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.09), transparent),
    linear-gradient(145deg, #1d7a47, #0b5130);
}
.material-drive-visual svg { width: 70px; height: 70px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.material-drive-visual span { font-weight: 900; letter-spacing: .18em; }
.material-card-body { min-width: 0; padding: 20px; }
.material-card--video .material-card-body { align-self: center; padding: 28px; }
.material-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; color: var(--muted); font-size: .64rem; }
.material-type { display: inline-flex; gap: 6px; align-items: center; color: var(--gold-700); font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.material-type svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.material-card h3 { margin: 16px 0 5px; color: var(--navy-900); font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.17; overflow-wrap: anywhere; }
.material-card p { margin: 10px 0 0; color: var(--muted); font-size: .79rem; line-height: 1.55; }
.material-card .material-presenter { margin-top: 0; color: var(--gold-700); font-weight: 800; }
.material-actions { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; margin-top: 20px; }
.material-actions .button { min-height: 42px; padding: 9px 14px; font-size: .72rem; }
.material-actions .text-link { font-size: .76rem; }
.materials-empty { grid-column: 1 / -1; min-height: 310px; display: grid; place-items: center; align-content: center; text-align: center; padding: 40px; border: 1px dashed var(--line); border-radius: 20px; background: var(--paper-soft); }
.materials-empty-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: var(--gold-100); color: var(--gold-700); font-size: 2rem; }
.materials-empty h3 { margin: 15px 0 5px; color: var(--navy-900); font-family: var(--serif); }
.materials-empty p { margin: 0; color: var(--muted); }

html[dir="rtl"] .program-calendar-cell,
html[dir="rtl"] .materials-day-tab { text-align: right; }

@media (max-width: 1100px) {
  .program-calendar-shell { grid-template-columns: minmax(0, 1fr); }
  .program-calendar-panel { order: 1; }
  .program-day-details { order: 2; }
  .materials-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .material-card--video { grid-template-columns: minmax(0, 1fr); }
  .material-video-frame iframe { min-height: auto; }
}

@media (max-width: 820px) {
  .program-calendar-grid { display: none; }
  .program-date-strip {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 3px 2px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .program-date-chip {
    flex: 0 0 116px;
    min-height: 72px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    text-align: start;
    scroll-snap-align: start;
  }
  .program-date-chip span { color: var(--muted); font-size: .65rem; }
  .program-date-chip strong { color: var(--navy-900); font-size: .73rem; }
  .program-date-chip.is-selected { border-color: transparent; background: linear-gradient(145deg, var(--navy-900), var(--navy-700)); box-shadow: 0 10px 22px rgba(6,42,88,.2); }
  .program-date-chip.is-selected span,
  .program-date-chip.is-selected strong { color: #fff; }
  .materials-shell { grid-template-columns: minmax(0, 1fr); }
  .materials-sidebar { position: static; }
  #materials-day-select { display: block; }
  .materials-day-tabs { display: none; }
  .materials-program-note { display: none; }
  .materials-tools { align-items: stretch; flex-direction: column; }
  .materials-type-filters { justify-content: flex-start; }
  .materials-resource-grid { grid-template-columns: minmax(0, 1fr); }
  .program-download-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .program-calendar-shell { margin-top: 22px; gap: 16px; }
  .program-calendar-panel { padding: 18px; border-radius: 20px; }
  .program-calendar-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .program-calendar-toolbar > p { max-width: none; }
  .agenda-header { padding: 23px 20px; }
  .agenda-header h3 { font-size: clamp(1.65rem, 8vw, 2.15rem); }
  .agenda-day-number { flex-basis: 60px; width: 60px; height: 60px; border-radius: 16px; }
  .agenda-day-number strong { font-size: 1.65rem; }
  .agenda-facts { grid-template-columns: minmax(0, 1fr); }
  .agenda-facts > div { border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 13px 20px; }
  .agenda-facts > div:last-child { border-bottom: 0; }
  .agenda-modules { padding: 20px 20px 6px; }
  .agenda-module { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
  .agenda-module-index { width: 29px; height: 29px; }
  .agenda-module h4 { font-size: 1rem; }
  .agenda-module ul { font-size: .75rem; }
  .agenda-lecturers { padding: 16px 20px 20px; }
  .agenda-actions { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0 20px 22px; }
  .agenda-actions .button { width: 100%; justify-content: center; }
  .program-download-panel { padding: 24px 20px; }
  .program-download-actions { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); }
  .program-download-actions .button { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .materials-main,
  .materials-sidebar { padding: 17px; border-radius: 20px; }
  .materials-results-bar { align-items: flex-start; flex-direction: column; gap: 2px; }
  .material-card-body,
  .material-card--video .material-card-body { padding: 18px; }
  .material-card h3 { font-size: 1.25rem; }
  .material-card-top { align-items: flex-start; flex-direction: column; gap: 4px; }
  .material-video-frame { min-height: 0; }
  .material-video-frame iframe { aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
  .program-calendar-cell.has-session,
  .material-card,
  .material-thumbnail img { transition: none; }
}


/* ========================================================================== 
   V3.1.1 - Multi-day activity gallery and Training Day 1 materials
   ========================================================================== */
.workshop-gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}
.workshop-gallery-tab {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 17px;
  border: 1px solid rgba(6, 42, 88, .15);
  border-radius: 999px;
  background: #fff;
  color: var(--navy-900);
  font: inherit;
  font-size: .82rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.workshop-gallery-tab:hover,
.workshop-gallery-tab:focus-visible {
  transform: translateY(-1px);
  border-color: var(--gold-500);
}
.workshop-gallery-tab strong {
  min-width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  padding-inline: 7px;
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--muted);
  font-size: .7rem;
}
.workshop-gallery-tab.is-active {
  border-color: transparent;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
  color: #fff;
  box-shadow: 0 10px 24px rgba(6, 42, 88, .18);
}
.workshop-gallery-tab.is-active strong {
  background: var(--gold-500);
  color: var(--navy-950);
}
html[data-device="mobile"] .workshop-gallery-tabs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
html[data-device="mobile"] .workshop-gallery-tab {
  width: 100%;
  justify-content: space-between;
  border-radius: 14px;
}

/* V3.1.3 — Training Day 3 material types */
.material-notebook-visual {
  background:
    linear-gradient(135deg, rgba(255,255,255,.1), transparent),
    linear-gradient(145deg, #f59e0b, #c2410c);
}
.material-file-visual {
  background:
    linear-gradient(135deg, rgba(255,255,255,.1), transparent),
    linear-gradient(145deg, #0d5b88, #06345d);
}
.material-file-list {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}
.material-file-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-soft);
  color: var(--navy-900);
  font-size: .72rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.material-file-list a:hover {
  border-color: var(--gold-500);
  background: var(--gold-100);
  transform: translateX(2px);
}
html[dir="rtl"] .material-file-list a:hover { transform: translateX(-2px); }
