@font-face {
  font-family: "Roboto Condensed";
  src: url("/cairo/fonts/roboto-condensed-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #081a33;
  --navy-deep: #051127;
  --gold: #c9a14a;
  --gold-ink: #86671f; /* gold dark enough for small text on white */
  --ink: #081a33;
  --body: #4a5568;
  --muted: #647083;
  --line: #e5e9ef;
  --line-soft: #eef1f5;
  --paper: #ffffff;
  --mist: #f5f7fa;
  --on-dark: #b8c1d1;

  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --condensed: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --section: clamp(4rem, 9vw, 7rem);
  --radius: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul[role="list"],
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}

/* ---------- Shared ---------- */

.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow {
  max-width: 46rem;
}

.section {
  padding-block: var(--section);
}

.section__head {
  max-width: 40rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.eyebrow {
  color: var(--gold-ink);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow--on-dark {
  color: var(--gold);
}

h2 {
  margin-top: 0.9rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.25rem);
  font-weight: 400;
  line-height: 1.22;
  text-wrap: balance;
}

.section__lead {
  margin-top: 1.25rem;
  font-size: 1rem;
  text-wrap: pretty;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 2.75rem;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 180ms var(--ease),
    color 180ms var(--ease),
    transform 120ms var(--ease);
}
.button:active {
  transform: translateY(1px);
}
.button--gold {
  background: var(--gold);
  color: var(--navy);
}
.button--gold:hover {
  background: #d6b262;
}
.button--outline {
  border-color: var(--navy);
  color: var(--navy);
  font-weight: 400;
}
.button--outline:hover {
  background: var(--navy);
  color: #fff;
}
.button--block {
  width: 100%;
}
.button--small {
  min-height: 2.5rem;
  padding: 0 1.25rem;
  font-size: 0.72rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(201, 161, 74, 0.07), transparent 70%),
    var(--navy-deep);
  color: #fff;
  border-bottom: 2px solid var(--gold);
}

.hero__inner {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(3rem, 7vh, 4.5rem);
  max-width: 80rem;
  min-height: min(52rem, 100svh);
  margin-inline: auto;
  padding: clamp(1.5rem, 3.5vw, 2.75rem) var(--gutter) clamp(1.5rem, 3vw, 2.25rem);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.4vw, 0.9rem);
  font-family: var(--condensed);
  font-weight: 700;
}
.wordmark__small {
  font-size: clamp(0.72rem, 0.6rem + 0.5vw, 0.95rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.wordmark__rule {
  align-self: stretch;
  width: 2px;
  background: #fff;
}
.wordmark__big {
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1;
}

.hero__main {
  align-self: center;
  justify-self: center;
  max-width: 48rem;
  text-align: center;
}
.hero__title {
  font-family: var(--condensed);
  font-size: clamp(3rem, 1.2rem + 8vw, 6.9rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 0.98;
  text-wrap: balance;
}
.hero__sub {
  max-width: 32ch;
  margin: clamp(1rem, 2.5vw, 1.4rem) auto 0;
  color: #e6eaf1;
  font-family: var(--condensed);
  font-size: clamp(1.15rem, 0.9rem + 1.2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.25;
  text-wrap: balance;
}
.hero__date {
  margin-top: clamp(1.4rem, 3vw, 2.25rem);
  font-family: var(--condensed);
  font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem);
  font-weight: 700;
}
.hero__main .button {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.75rem 2rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
  color: #e6eaf1;
  font-family: var(--condensed);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.3rem);
}
.hero__bar {
  width: 2px;
  height: 1.3em;
  background: #fff;
}
.hosted {
  display: grid;
  gap: 0.6rem;
  justify-items: start;
}
.hosted__label {
  color: #e6eaf1;
  font-family: var(--condensed);
  font-size: 1rem;
}
.hosted img {
  width: clamp(12rem, 22vw, 16rem);
}

@media (max-width: 40rem) {
  .hero__inner {
    min-height: 0;
    gap: 3.25rem;
    padding-bottom: 2rem;
  }
  .hero__main {
    padding-block: 1rem;
  }
  .hero__foot {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
  .hosted {
    justify-items: center;
  }
  .hero__meta {
    flex-direction: column;
    gap: 0.15rem;
  }
  .hero__bar {
    display: none;
  }
}

/* ---------- Intro ---------- */

.prose {
  max-width: 40rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.prose p + p {
  margin-top: 1.15rem;
}
.intro .eyebrow {
  margin-bottom: 1.5rem;
}
.lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.55rem);
  line-height: 1.45;
  text-wrap: pretty;
}
.prose .lead + p {
  margin-top: 1.5rem;
}
.signature {
  padding-top: 1.25rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
}
.prose .signature {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}
.signature span {
  display: block;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-style: normal;
}

/* ---------- Speakers ---------- */

.speakers {
  padding-top: 0;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem 1rem;
}
@media (min-width: 45rem) {
  .speaker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem 1.75rem;
  }
}
@media (min-width: 62rem) {
  .speaker-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3.25rem 2rem;
  }
}

.speaker img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-bottom: 2px solid var(--gold);
  background: var(--mist);
}
.speaker__org {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
}
.speaker__name {
  margin-top: 0.45rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.3;
}
.speaker__role {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  line-height: 1.45;
}

.also {
  max-width: 50rem;
  margin: clamp(3.5rem, 7vw, 5rem) auto 0;
}
.also__title {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}
.also__title::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 1px;
  margin: 0 auto 1.5rem;
  background: #dadfe6;
}
.also__list {
  display: grid;
  gap: 0 2.5rem;
}
@media (min-width: 40rem) {
  .also__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.also__list li {
  padding-block: 0.9rem;
  border-top: 1px solid var(--line-soft);
}
.also__name {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
}
.also__role {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ---------- Registration ---------- */

.register {
  padding-inline: var(--gutter);
  background: var(--mist);
  outline: none;
}
.register__card {
  max-width: 34rem;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  text-align: center;
}
.register__intro {
  margin-top: 1rem;
  font-size: 0.95rem;
  text-wrap: pretty;
}

.form {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
  text-align: left;
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field label {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.field input {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid #cdd4de;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem; /* 16px keeps iOS from zooming on focus */
  transition:
    border-color 160ms var(--ease),
    box-shadow 160ms var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field input:hover {
  border-color: #aab4c3;
}
.field input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.35);
  outline: none;
}
.field input[aria-invalid="true"] {
  border-color: #b42318;
}
.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__error {
  padding: 0.75rem 0.9rem;
  border-left: 3px solid #b42318;
  background: #fdf3f2;
  color: #8a1c12;
  font-size: 0.9rem;
}
.form button[aria-busy="true"] {
  cursor: progress;
  opacity: 0.75;
}
.form__note {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

.success {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  animation: rise 420ms var(--ease) both;
}
.success__mark {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.4rem;
  border-radius: 50%;
  background: var(--navy);
}
.success__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 0.7rem;
  height: 1.3rem;
  border: solid var(--gold);
  border-width: 0 3px 3px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}
.success__title {
  margin-top: 0;
  outline: none;
}
.success__cal {
  margin-top: 0.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.success__cal a {
  white-space: nowrap;
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ---------- Why ---------- */

.cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 48rem) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
.card {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.5;
}
.card::before {
  content: "";
  display: block;
  width: 1.4rem;
  height: 1px;
  margin-bottom: 1.1rem;
  background: var(--gold);
}

/* ---------- Schedule ---------- */

.schedule {
  background: var(--navy);
  color: #fff;
}
.schedule__list {
  display: grid;
  padding-block: 0.5rem;
}
.schedule__item {
  display: grid;
  gap: 0.35rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.schedule__item:last-child {
  border-bottom: 0;
}
.schedule dt {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}
.schedule dd {
  font-size: 0.98rem;
}
@media (min-width: 48rem) {
  .schedule__list {
    grid-template-columns: 1fr 1.4fr 1fr;
    padding-block: 1.5rem;
  }
  .schedule__item {
    padding: 1rem 2rem;
    border-bottom: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }
  .schedule__item:first-child {
    border-left: 0;
    padding-left: 0;
  }
}
.schedule__note {
  padding: 1.1rem var(--gutter) 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: italic;
  text-align: center;
}

/* ---------- Participants ---------- */

.participants {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--mist);
}
.org-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 54rem;
  margin-inline: auto;
  border-top: 1px solid #e4e9f0;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}
.org-list li {
  display: grid;
  place-items: center;
  min-height: 3.6rem;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #e4e9f0;
}
@media (min-width: 48rem) {
  .org-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .org-list li:not(:nth-child(3n)) {
    border-right: 1px solid #e4e9f0;
  }
}
@media (max-width: 47.99rem) {
  .org-list li:nth-child(odd) {
    border-right: 1px solid #e4e9f0;
  }
  .org-list li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: 0;
  }
}

/* ---------- Programme ---------- */

.agenda {
  counter-reset: agenda;
  border-bottom: 1px solid var(--line-soft);
}
.agenda li {
  counter-increment: agenda;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  padding-block: 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.4;
}
.agenda li::before {
  content: counter(agenda, decimal-leading-zero);
  grid-row: span 2;
  padding-top: 0.2rem;
  color: var(--gold-ink);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.agenda li span {
  grid-column: 2;
  color: var(--body);
  font-size: 0.95rem;
  font-style: italic;
}
.agenda .agenda__extra {
  color: var(--body);
  font-style: italic;
}
.agenda .agenda__extra::before {
  content: "";
}
.agenda em {
  grid-column: 2;
  margin-top: 0.3rem;
  color: var(--gold-ink);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Partners ---------- */

.partners {
  background: var(--mist);
}
.partner-group {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
}
.partner-group__label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}
.partner-groups {
  display: grid;
  gap: 3rem;
  margin-top: 3.5rem;
}
@media (min-width: 56rem) {
  .partner-groups {
    grid-template-columns: auto auto auto;
    justify-content: center;
    column-gap: 3.5rem;
  }
}
.logo-card {
  display: grid;
  place-items: center;
  width: 13rem;
  max-width: 100%;
  height: 6rem;
  padding: 1.1rem 1.5rem;
  border: 1px solid #e4e9f0;
  border-radius: var(--radius);
  background: #fff;
}
.logo-card img {
  width: auto;
  max-width: 100%;
  max-height: 3.75rem;
  object-fit: contain;
}
.logo-card--wide {
  width: 18rem;
}
.logo-card--square,
.logo-card--small {
  width: 8rem;
}
@media (max-width: 30rem) {
  .logo-card {
    width: 15rem;
  }
  .logo-card--wide {
    width: 19rem;
  }
  .logo-card--square,
  .logo-card--small {
    width: 8rem;
  }
}

/* ---------- Venue ---------- */

.venue {
  padding-inline: var(--gutter);
  text-align: center;
}
.venue__address {
  margin: 1rem 0 1.75rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: normal;
  line-height: 1.5;
}

/* ---------- Footer ---------- */

.footer {
  padding: clamp(3.5rem, 7vw, 4.5rem) var(--gutter) 2.5rem;
  background: var(--navy);
  color: var(--on-dark);
  font-size: 0.85rem;
  text-align: center;
}
.footer__quote {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
}
.footer__sign {
  margin-top: 1.5rem;
  line-height: 1.7;
}
.footer__sign span {
  color: #fff;
  font-family: var(--serif);
  font-size: 1rem;
}
.footer__rule {
  display: block;
  width: 2.25rem;
  height: 1px;
  margin: 2rem auto;
  background: rgba(201, 161, 74, 0.5);
}
.footer .eyebrow {
  margin-bottom: 0.75rem;
}
.footer__email {
  color: #fff;
  font-size: 0.95rem;
  text-decoration: none;
}
.footer__email:hover,
.footer__links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__links {
  display: flex;
  justify-content: center;
}
.footer__links li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.footer__links a {
  display: block;
  padding: 0.25rem 1rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.footer__org {
  margin-top: 1.75rem;
  color: #6f7d97;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* ---------- Sticky mobile CTA ---------- */

.sticky-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(8, 26, 51, 0.97);
  color: #fff;
  box-shadow: 0 -8px 24px rgba(5, 17, 39, 0.18);
  transform: translateY(110%);
  transition: transform 260ms var(--ease);
}
.sticky-cta.is-visible {
  transform: translateY(0);
}
.sticky-cta__text {
  font-family: var(--condensed);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}
.sticky-cta__text span {
  display: block;
  color: var(--on-dark);
  font-size: 0.85rem;
  font-weight: 400;
}
@media (min-width: 48rem) {
  .sticky-cta {
    display: none;
  }
}
