/* Hosted in the UAE: pinned; the globe flies to Abu Dhabi, then the protection rings light up one by one */
.sec {
  position: relative;
  height: 380vh;
  background: radial-gradient(60% 70% at 70% 50%, #f7fafa 0%, rgba(247, 250, 250, 0) 70%), var(--mist);
  border-top: 1px solid var(--hair);
}
.sec__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-left: max(var(--edge), env(safe-area-inset-left, 0px));
  padding-right: max(var(--edge), env(safe-area-inset-right, 0px));
  overflow: hidden;
  overflow: clip;
}
.sec__copy {
  display: grid;
  gap: 16px;
  max-width: 520px;
  min-width: 0;
}
.sec__copy .eyebrow {
  margin: 0;
}
.sec__title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(40px, 5.2vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.sec__ar {
  margin: 0;
  font-family: 'IBM Plex Sans Arabic', var(--font-sans);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.3;
  color: var(--accent-text);
  text-align: start;
}
.sec__lead {
  margin: 0;
  max-width: 44ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}
.sec__gates {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: gate;
  display: grid;
}
.sec__gates li {
  counter-increment: gate;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  row-gap: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--hair);
  opacity: 0.45;
  transition: opacity 0.3s;
}
.sec__gates li::before {
  content: counter(gate);
  grid-row: span 2;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hair-strong);
  font: 600 10px/1 var(--font-mono);
  color: var(--muted);
  transition:
    background-color 0.3s,
    border-color 0.3s,
    color 0.3s;
}
.sec__gates b {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: var(--ink);
}
.sec__gates span {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.sec__gates li.is-done {
  opacity: 0.85;
}
.sec__gates li.is-done::before {
  background: var(--green);
  border-color: var(--green);
  color: var(--on-green);
}
.sec__gates li.is-now {
  opacity: 1;
}

.sec__stage {
  position: relative;
  height: min(86svh, 760px);
  min-width: 0;
}
.sec__globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}
.sec__pinlabel {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  pointer-events: none;
  opacity: 0;
  white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(17, 28, 29, 0.6);
}
.sec__pinlabel b {
  font-size: 16px;
  font-weight: 600;
}
.sec__pinlabel span {
  font-size: 12px;
  color: #bbcbcd;
}
.sec__pinlabel em {
  font: 500 11px/1.3 var(--font-mono);
  font-style: normal;
  color: var(--green);
}
.sec__cap {
  display: none;
}

@media (max-width: 820px) {
  .sec {
    height: 340vh;
  }
  .sec__pin {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    padding-top: 76px;
    padding-bottom: 16px;
  }
  .sec__copy {
    gap: 8px;
  }
  .sec__title {
    font-size: clamp(34px, 9vw, 44px);
  }
  .sec__lead,
  .sec__gates {
    display: none;
  }
  .sec__stage {
    height: 100%;
  }
  .sec__pinlabel b {
    font-size: 14px;
  }
  .sec__cap {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    margin: 0;
    text-align: center;
    font: 600 13px/1.3 var(--font-mono);
    color: var(--ink);
  }
}

/* The UAE flag beside the title and in the Abu Dhabi label */
.flag {
  display: inline-block;
  width: 0.72em;
  height: 0.36em;
  margin-left: 0.08em;
  vertical-align: 0.12em;
  border-radius: 3px;
  box-shadow:
    0 0 0 1px rgba(17, 28, 29, 0.12),
    0 4px 10px -4px rgba(17, 28, 29, 0.4);
  overflow: hidden;
}
.flag--sm {
  width: 22px;
  height: 11px;
  margin: 0 6px 0 0;
  vertical-align: -1px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* The flag planted on Abu Dhabi, visible from arrival to the end */
.sec__flagpin {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 20px;
  pointer-events: none;
  opacity: 0;
}
.sec__flagpin::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 38px;
  border-radius: 1px;
  background: var(--ink);
}
.sec__flagpin svg {
  position: absolute;
  left: 2px;
  top: 0;
  width: 38px;
  height: 19px;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 6px 14px -6px rgba(17, 28, 29, 0.5);
}
