:root {
  --uae-red: #ce1126;
  --uae-green: #007a3d;
  --black: #0d0d0d;
  --charcoal: #14161a;
  --off-white: #faf9f7;
  --gray: #5a5a5a;
  --light-gray: #eeeeee;
  --border: #e2e2e2;
  --max-width: 1160px;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(13, 13, 13, 0.05);
  --shadow-md: 0 10px 24px rgba(13, 13, 13, 0.07);
  --shadow-lg: 0 20px 44px rgba(13, 13, 13, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--black);
  background: var(--off-white);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.tricolor-rule {
  display: flex;
  height: 4px;
  width: 90px;
  margin: 0 auto;
}

.tricolor-rule span {
  flex: 1;
}

.tricolor-rule .red {
  background: var(--uae-red);
}

.tricolor-rule .green {
  background: var(--uae-green);
}

.tricolor-rule .black {
  background: var(--black);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 247, 0.85);
  backdrop-filter: blur(10px) saturate(1.4);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* width:auto keeps the mark's own aspect ratio — it isn't perfectly square. */
.brand-lockup img {
  height: 40px;
  width: auto;
  display: block;
}

.brand-lockup .wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-lockup .wordmark .line1 {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.brand-lockup .wordmark .line2 {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--uae-green);
}

.site-header .brand-lockup img {
  height: 82px;
  width: auto;
}

.site-header .brand-lockup .wordmark .line1 {
  font-size: 17px;
}

.site-header .brand-lockup .wordmark .line2 {
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid var(--black);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--black);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--uae-green);
  border-color: var(--uae-green);
  box-shadow: 0 10px 22px rgba(0, 122, 61, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 96px;
  background: var(--off-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Anchored right: the photo's subject (hands, tablet, network) sits on that
   side, while its washed-out left half stays behind the headline. */
.hero-photo {
  position: absolute;
  inset: 0;
  background: url("/assets/hero/hero-network.jpg") right center / cover no-repeat;
}

/* Lifts the headline off the photo without flattening the image. Heaviest on
   the left where the text sits, clearing towards the right so the photo reads. */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(250, 249, 247, 0.94) 0%,
      rgba(250, 249, 247, 0.90) 34%,
      rgba(250, 249, 247, 0.62) 54%,
      rgba(250, 249, 247, 0.22) 74%,
      rgba(250, 249, 247, 0.06) 100%),
    linear-gradient(180deg, rgba(250, 249, 247, 0.35) 0%, transparent 22%),
    linear-gradient(180deg, transparent 72%, var(--off-white) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-content {
  text-align: left;
}

.hero-rule {
  width: 0;
  overflow: hidden;
  margin: 0;
  animation: heroRuleGrow 0.7s 0.1s ease forwards;
}

.audience-cycle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  margin: 16px 0 18px;
}

.audience-cycle-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--uae-green);
  flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(0, 122, 61, 0.15);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.cycle-word {
  /* No min-width: reserving space for the longest word ("Business") left a
     permanent gap after short ones like "HR". The opacity fade covers the
     reflow as the word changes. */
  display: inline-block;
  font-weight: 800;
  color: var(--black);
  transition: opacity 0.25s ease;
}

.cycle-word.cw-out {
  opacity: 0;
}

.cycle-word.cw-green {
  color: var(--uae-green);
}

.cycle-word.cw-red {
  color: var(--uae-red);
}

.hero-headline {
  font-size: clamp(34px, 4.6vw, 56px);
  text-transform: uppercase;
  line-height: 1.04;
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: heroLineIn 0.7s ease forwards;
}

.hero-line:nth-child(1) {
  animation-delay: 0.22s;
}

.hero-line:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-headline .accent-green {
  color: var(--uae-green);
}

.hero-headline .accent-red {
  color: var(--uae-red);
}

.hero .subhead {
  max-width: 520px;
  margin: 20px 0 32px;
  font-size: 18px;
  color: var(--gray);
}

.hero .cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-fade-0,
.hero-fade-1,
.hero-fade-2 {
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeIn 0.7s ease forwards;
}

.hero-fade-0 {
  animation-delay: 0.08s;
}

.hero-fade-1 {
  animation-delay: 0.58s;
}

.hero-fade-2 {
  animation-delay: 0.74s;
}

/* Hero snapshot card */
.hero-card {
  position: relative;
  /* Slightly translucent + blurred so it sits *on* the photo rather than
     punching a flat white hole through it, with a deeper shadow to separate
     it from the busy right-hand side of the image. */
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(13, 13, 13, 0.22), 0 2px 8px rgba(13, 13, 13, 0.08);
  padding: 28px;
}

.hero-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 22px;
}

.hero-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--uae-green);
  box-shadow: 0 0 0 4px rgba(0, 122, 61, 0.15);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.hero-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-card-stat .num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-card-stat .num.green {
  color: var(--uae-green);
}

.hero-card-stat .num.red {
  color: var(--uae-red);
}

.hero-card-stat .lbl {
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
}

.hero-card-divider {
  height: 1px;
  background: var(--border);
  margin: 22px 0 18px;
}

.hero-card-companies-label {
  font-size: 12px;
  color: var(--gray);
  display: block;
  margin-bottom: 10px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--light-gray);
  color: var(--black);
  border: 1px solid var(--border);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--border);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 1;
  opacity: 0;
  animation: heroFadeIn 0.7s 0.9s ease forwards;
}

.scroll-cue-dot {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--gray);
  animation: scrollCueBounce 1.8s ease-in-out infinite;
}

@keyframes heroRuleGrow {
  to {
    width: 90px;
  }
}

@keyframes heroLineIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollCueBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(10px);
    opacity: 0.35;
  }
}

@keyframes pulseDot {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(0, 122, 61, 0.15);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(0, 122, 61, 0.06);
  }
}

@media (max-width: 860px) {
  .hero {
    padding: 72px 0 68px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-rule {
    margin: 0 auto;
  }

  .hero .subhead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero .cta-row {
    justify-content: center;
  }

  /* Stacked layout puts text over the whole image, so the scrim becomes an
     even wash instead of a left-to-right fade. */
  .hero-photo {
    background-position: 72% center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(250, 249, 247, 0.95) 0%, rgba(250, 249, 247, 0.88) 55%, var(--off-white) 100%);
  }
}

/* Scroll-reveal (applied via IntersectionObserver in main.js) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mission-grid .reveal:nth-child(1) {
  transition-delay: 0s;
}

.mission-grid .reveal:nth-child(2) {
  transition-delay: 0.12s;
}

.mission-grid .reveal:nth-child(3) {
  transition-delay: 0.24s;
}

.events-grid .reveal:nth-child(1) {
  transition-delay: 0s;
}

.events-grid .reveal:nth-child(2) {
  transition-delay: 0.12s;
}

.events-grid .reveal:nth-child(3) {
  transition-delay: 0.24s;
}

.events-grid .reveal:nth-child(n+4) {
  transition-delay: 0.3s;
}

/* Section generic */
.section {
  padding: 70px 0;
}

/* Alternating surfaces so the page has rhythm instead of one flat colour throughout */
.section-tinted {
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(0, 122, 61, 0.05), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f4f3f0 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-plain {
  background: #fff;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--uae-red);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(26px, 4vw, 38px);
  text-transform: uppercase;
}

.section-header p {
  color: var(--gray);
  margin-top: 12px;
}

/* Mission */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.mission-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.mission-card .badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  transition: transform 0.25s ease;
}

.mission-card:hover .badge {
  transform: scale(1.1);
}

.mission-card:nth-child(1) .badge {
  background: var(--uae-red);
}

.mission-card:nth-child(2) .badge {
  background: var(--uae-green);
}

.mission-card:nth-child(3) .badge {
  background: var(--black);
}

.mission-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.mission-card p {
  color: var(--gray);
  font-size: 14px;
  margin: 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 170px;
  grid-auto-flow: dense;
  gap: 14px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 16px 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .gallery-item.large {
    grid-row: span 1;
  }
}

@media (max-width: 420px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
  }
}

/* Featured leaders — two ribbons scrolling in opposite directions */
.leaders-count {
  text-align: center;
  font-size: 13.5px;
  color: var(--gray);
  margin: -22px 0 0;
}

.leaders-count strong {
  color: var(--black);
  font-weight: 800;
}

.leaders-marquee {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.leaders-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.leaders-row-track {
  display: flex;
  width: max-content;
  animation: marqueeSlide var(--marquee-duration, 60s) linear infinite;
}

.leaders-row--reverse .leaders-row-track {
  animation-direction: reverse;
}

.leaders-marquee:hover .leaders-row-track,
.leaders-marquee:focus-within .leaders-row-track {
  animation-play-state: paused;
}

.leaders-row-copy {
  display: flex;
  gap: 14px;
  padding-right: 14px;
}

@keyframes marqueeSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.leader-chip {
  flex: 0 0 auto;
  width: 272px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 22px 10px 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.leader-chip:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 122, 61, 0.35);
}

.leader-chip .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex: 0 0 auto;
  object-fit: cover;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 19px;
  color: #fff;
}

.leader-chip img.avatar {
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--uae-green);
}

.leaders-row-copy .leader-chip:nth-child(3n+1) .avatar.is-initial {
  background: var(--uae-red);
}

.leaders-row-copy .leader-chip:nth-child(3n+2) .avatar.is-initial {
  background: var(--uae-green);
}

.leaders-row-copy .leader-chip:nth-child(3n+3) .avatar.is-initial {
  background: var(--black);
}

.leader-chip-body {
  min-width: 0;
}

.leader-chip-body h4,
.leader-chip-body .role,
.leader-chip-body .company {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leader-chip-body h4 {
  font-size: 14px;
  line-height: 1.3;
  margin: 0 0 1px;
}

.leader-chip-body .role {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--uae-green);
}

.leader-chip-body .company {
  font-size: 11.5px;
  color: var(--gray);
}

.leaders-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 0;
  font-size: 13px;
  color: var(--gray);
}

.leaders-hint-pause {
  position: relative;
  padding-right: 14px;
}

.leaders-hint-pause::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
}

.leaders-hint a {
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
}

.leaders-hint a:hover {
  color: var(--uae-green);
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  margin-top: 30px;
}

@media (max-width: 520px) {
  .leader-chip {
    width: 236px;
    padding-right: 18px;
  }

  .leaders-count {
    margin-top: -16px;
  }
}

/* Events */
.events-wrap {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.event-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
}

.event-meta svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--uae-red);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 34px 30px 38px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg,
      var(--uae-red) 0 33.33%, var(--uae-green) 33.33% 66.66%, var(--black) 66.66% 100%);
}

.event-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.event-date-stack {
  flex: 0 0 auto;
  width: 116px;
  text-align: center;
  border-right: 1px solid var(--border);
  padding-right: 28px;
}

.event-date-stack .mon {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--uae-red);
}

.event-date-stack .day {
  display: block;
  font-size: 54px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.event-date-stack .dow {
  display: block;
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
}

.event-feature-body {
  flex: 1;
  min-width: 0;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--uae-green);
  background: rgba(0, 122, 61, 0.08);
  border: 1px solid rgba(0, 122, 61, 0.2);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.event-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--uae-green);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.event-feature-body h3 {
  font-size: clamp(20px, 2.4vw, 25px);
  margin-bottom: 8px;
}

.event-feature-body>p {
  font-size: 14.5px;
  color: var(--gray);
  margin: 0 0 14px;
  max-width: 56ch;
}

.event-cta {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
}

.event-cta .btn {
  padding: 14px 30px;
  white-space: nowrap;
}

.event-cta-note {
  font-size: 11.5px;
  color: var(--gray);
  text-align: center;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 20px;
}

.event-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(206, 17, 38, 0.25);
}

.event-card-top {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.event-date-pill {
  flex: 0 0 auto;
  width: 58px;
  border-radius: 12px;
  padding: 10px 0;
  background: var(--black);
  color: #fff;
  text-align: center;
}

.event-date-pill .day {
  display: block;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
}

.event-date-pill .mon {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cfcfcf;
  margin-top: 3px;
}

.event-card-body {
  flex: 1;
  min-width: 0;
}

.event-card-body h4 {
  font-size: 16.5px;
  margin: 0 0 8px;
}

.event-card-body p {
  font-size: 13.5px;
  color: var(--gray);
  margin: 10px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card-btn {
  margin-top: 18px;
  align-self: flex-start;
}

@media (max-width: 860px) {
  .event-feature {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 26px 24px 26px 28px;
  }

  .event-date-stack {
    width: auto;
    text-align: left;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 18px;
  }

  .event-date-stack .day {
    display: inline-block;
    font-size: 38px;
    margin-right: 10px;
  }

  .event-date-stack .mon {
    display: inline-block;
    margin-right: 10px;
  }

  .event-date-stack .dow {
    display: inline-block;
  }

  .event-cta .btn {
    width: 100%;
    text-align: center;
  }
}

/* Join form */
.join-section {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: #fff;
  padding: 84px 0;
}

.join-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 320px at 12% 16%, rgba(0, 122, 61, 0.20), transparent 70%),
    radial-gradient(560px 300px at 88% 84%, rgba(206, 17, 38, 0.16), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0) 0 0/26px 26px;
}

.join-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.join-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--uae-green);
  margin-bottom: 12px;
}

.join-pitch h2 {
  font-size: clamp(30px, 4vw, 44px);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.join-lead {
  color: #b9b9b9;
  font-size: 16px;
  margin: 0 0 30px;
  max-width: 460px;
}

.join-benefits {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.join-benefits li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.join-tick {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.join-benefits li:nth-child(1) .join-tick {
  background: var(--uae-red);
}

.join-benefits li:nth-child(2) .join-tick {
  background: var(--uae-green);
}

.join-benefits li:nth-child(3) .join-tick {
  background: #fff;
  color: var(--black);
}

.join-benefits strong {
  display: block;
  font-size: 14.5px;
}

.join-benefits .txt {
  display: block;
  font-size: 13px;
  color: #9c9c9c;
  margin-top: 2px;
}

.join-proof {
  display: flex;
  align-items: center;
  gap: 26px;
  border-top: 1px solid #262626;
  padding-top: 24px;
}

.join-proof-item strong {
  display: block;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.join-proof-item:nth-child(1) strong {
  color: var(--uae-green);
}

.join-proof-item:nth-child(3) strong {
  color: var(--uae-red);
}

.join-proof-item span {
  font-size: 11.5px;
  color: #8f8f8f;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.join-proof-sep {
  width: 1px;
  height: 36px;
  background: #2b2b2b;
}

.join-form {
  margin: 0;
  background: #fff;
  color: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  /* Clips the dark header band to the card's rounded corners. */
  overflow: hidden;
}

.join-form-body {
  padding: 26px 30px 30px;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}

.form-row input,
.form-row select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: #fafafa;
  color: var(--black);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-row input::placeholder {
  color: #a3a3a3;
}

.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--uae-green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 122, 61, 0.14);
}

.form-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.join-form .btn-primary,
.modal-card .btn-primary {
  width: 100%;
  text-align: center;
  padding: 15px;
}

.join-form .btn-primary {
  margin-top: 6px;
  font-size: 15px;
}

.join-note {
  font-size: 11.5px;
  color: var(--gray);
  text-align: center;
  margin: 14px 0 0;
}

.form-msg {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
  display: none;
}

.form-msg.show {
  display: block;
}

.form-msg.success {
  color: var(--uae-green);
}

.form-msg.error {
  color: var(--uae-red);
}

@media (max-width: 900px) {
  .join-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .join-pitch {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .join-section {
    padding: 60px 0;
  }

  .join-form-body {
    padding: 22px 20px 24px;
  }
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* Above the sticky site header, which sits at z-index 50. */
  z-index: 200;
}

.modal-overlay.show {
  display: flex;
  animation: overlayIn 0.18s ease;
}

body.modal-open {
  overflow: hidden;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  animation: modalIn 0.24s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(90deg);
}

@keyframes overlayIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Dark header band — shared by the RSVP modal and the Join form card */
.rsvp-card {
  overflow: hidden;
}

.form-head-dark {
  position: relative;
  background:
    radial-gradient(420px 200px at 12% 0%, rgba(0, 122, 61, 0.30), transparent 70%),
    radial-gradient(380px 200px at 92% 100%, rgba(206, 17, 38, 0.26), transparent 70%),
    var(--black);
  color: #fff;
  padding: 26px 26px 22px;
}

.form-head-dark::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg,
      var(--uae-red) 0 33.33%, var(--uae-green) 33.33% 66.66%, #fff 66.66% 100%);
}

.form-head-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7fd6a3;
  margin-bottom: 10px;
}

.form-head-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--uae-green);
  box-shadow: 0 0 0 3px rgba(0, 122, 61, 0.28);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.form-head-dark h3 {
  font-size: clamp(19px, 4vw, 23px);
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0;
  padding-right: 30px;
}

.form-head-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.form-head-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #dcdcdc;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 12px;
  border-radius: 999px;
}

.form-head-meta-item svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: #7fd6a3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rsvp-body {
  padding: 24px 26px 26px;
}

.rsvp-body .btn-primary {
  width: 100%;
  text-align: center;
  padding: 14px;
  margin-top: 4px;
}

.rsvp-note {
  font-size: 11.5px;
  color: var(--gray);
  text-align: center;
  margin: 12px 0 0;
}

/* Success modal */
.success-card {
  max-width: 420px;
  text-align: center;
  padding: 38px 30px 30px;
}

.success-card .modal-close {
  background: var(--light-gray);
  border-color: var(--border);
  color: var(--gray);
}

.success-card .modal-close:hover {
  background: var(--border);
  color: var(--black);
}

.success-card h3 {
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.success-card p {
  color: var(--gray);
  font-size: 14px;
  margin: 0 0 24px;
}

.success-card .btn-primary {
  width: 100%;
  text-align: center;
  padding: 14px;
}

.success-check {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
}

.success-check svg {
  width: 100%;
  height: 100%;
}

.success-check .success-ring {
  fill: none;
  stroke: var(--uae-green);
  stroke-width: 3;
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
  animation: drawRing 0.5s ease-out forwards;
}

.success-check .success-tick {
  fill: none;
  stroke: var(--uae-green);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawTick 0.32s 0.42s ease-out forwards;
}

@keyframes drawRing {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawTick {
  to {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 480px) {
  .modal-overlay {
    padding: 12px;
  }

  .form-head-dark {
    padding: 22px 20px 18px;
  }

  .rsvp-body {
    padding: 20px;
  }
}

/* Footer */
.site-footer {
  background: var(--black);
  color: #999;
  padding: 40px 0 30px;
  text-align: center;
  font-size: 13px;
}

.site-footer .brand-lockup {
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
}

.site-footer .brand-lockup img {
  /* The mark is mostly dark ink; on black it needs a plate to read. */
  height: 54px;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 16px 0;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .form-two-col {
    grid-template-columns: 1fr;
  }

  .event-card-btn {
    width: 100%;
    text-align: center;
  }
}

/* Respect users who've asked for reduced motion */
@media (prefers-reduced-motion: reduce) {

  .scroll-cue-dot,
  .hero-card-dot,
  .audience-cycle-dot {
    animation: none !important;
  }

  .hero-rule {
    animation: none !important;
    width: 90px;
  }

  .hero-line,
  .hero-fade-1,
  .hero-fade-2,
  .scroll-cue {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* Stop the ribbons and lay the leaders out as a plain centred wall instead */
  .leaders-row-track {
    animation: none !important;
    width: 100%;
  }

  .leaders-row {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .leaders-row-copy {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
  }

  .leaders-row-copy[aria-hidden="true"] {
    display: none;
  }

  .leaders-hint-pause {
    display: none;
  }

  .event-badge-dot,
  .form-head-kicker-dot {
    animation: none !important;
  }

  /* Show the success tick immediately rather than drawing it. */
  .modal-overlay.show,
  .modal-card {
    animation: none !important;
  }

  .success-check .success-ring,
  .success-check .success-tick {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }

  .modal-close:hover {
    transform: none !important;
  }

  .mission-card:hover,
  .leader-chip:hover,
  .event-card:hover,
  .event-feature:hover,
  .btn-primary:hover,
  .btn-outline:hover,
  .mission-card:hover .badge {
    transform: none !important;
  }
}