:root {
  --dnata-blue: #009fe3;
  --dnata-blue-dark: #007bb5;
  --ink: #17212b;
  --muted: #68737d;
  --line: #dce4e9;
  --white: #fff;
  --header-height: 92px;
}

@font-face {
  font-family: "FS Joey";
  src: url("FS-Joey-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #f5f8fa;
  font-family: "FS Joey", Arial, sans-serif;
  font-size: 16px;
}

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.5vw;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(18, 47, 63, .08);
  box-shadow: 0 2px 18px rgba(24, 48, 62, .06);
}

.brand img {
  display: block;
  width: 142px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 2.35rem;
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: #35414b;
  font-family: "FS Joey", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--dnata-blue);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after { transform: scaleX(1); }

.menu-toggle { display: none; }

main { padding-top: var(--header-height); }

.view { display: none; }
.view.active { display: flex; }

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height) - 50px);
  align-items: center;
  justify-content: center;
  isolation: isolate;
  color: var(--white);
  background-image: url("dubai-landscape-magnific.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #061826;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: linear-gradient(100deg, rgba(1, 18, 31, .78) 0%, rgba(5, 26, 39, .55) 48%, rgba(3, 25, 39, .26) 100%);
}

.hero-shade {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(transparent, rgba(0, 0, 0, .36));
}

.hero-content {
  width: min(880px, 88vw);
  padding: 5rem 0 6rem;
  text-align: center;
  animation: rise .65s ease both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--dnata-blue);
  font-size: .83rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #79d5fb; }

h1, h2 {
  margin: 0;
  font-family: "FS Joey", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -.015em;
}

h1 {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(3.4rem, 7.7vw, 7rem);
  line-height: .95;
}

.event-details {
  display: flex;
  justify-content: center;
  gap: 1.5rem 2.8rem;
  margin: 2.6rem 0 2.4rem;
}

.event-details p {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0;
  font-size: 1.05rem;
}

.detail-icon { color: #79d5fb; font-size: 1.45rem; }
.detail-icon.pin {
  width: 15px;
  height: 15px;
  border: 3px solid #79d5fb;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: .85rem;
}

.button {
  display: inline-flex;
  min-width: 190px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.8rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: "FS Joey", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--dnata-blue); }
.button.primary:hover { background: var(--dnata-blue-dark); }
.button.secondary { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .62); }
.button.secondary:hover { background: rgba(255, 255, 255, .18); }
.button[aria-disabled="true"] { cursor: default; opacity: .72; pointer-events: none; }

.pending-note {
  margin: .8rem 0 0;
  color: rgba(255, 255, 255, .75);
  font-size: .82rem;
}

.map-link {
  position: absolute;
  right: 2.2rem;
  bottom: 1.75rem;
  color: #fff;
  font-size: .9rem;
  text-decoration: none;
}

.hidden { display: none !important; }

.content-view {
  min-height: calc(100vh - var(--header-height) - 50px);
  padding: clamp(3.5rem, 7vw, 7rem) 5vw;
  background: #f5f8fa;
}

.content-shell { width: min(1040px, 100%); margin: auto; }

.registration-view { align-items: flex-start; }
.registration-shell { width: min(980px, 100%); margin: auto; }
.registration-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
.registration-heading h2 { font-size: clamp(3.2rem, 6vw, 5.7rem); line-height: 1; }
.back-link { color: var(--dnata-blue-dark); font-weight: 600; text-decoration: none; }
.registration-form,
.registration-success {
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-top: 5px solid var(--dnata-blue);
  background: #fff;
  box-shadow: 0 22px 70px rgba(34, 76, 97, .12);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.field { display: grid; gap: .55rem; color: var(--ink); font-weight: 600; }
.field input {
  width: 100%;
  min-height: 54px;
  padding: .8rem 1rem;
  border: 1px solid #bdcbd2;
  border-radius: 2px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
.field input:focus { border-color: var(--dnata-blue); outline: 3px solid rgba(0, 159, 227, .16); }
.consent { display: flex; align-items: flex-start; gap: .75rem; margin: 1.6rem 0; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--dnata-blue); }
.honeypot { position: absolute !important; left: -10000px !important; }
.submit-button { border: 0; cursor: pointer; }
.submit-button:disabled { cursor: wait; opacity: .68; }
.form-status { min-height: 1.5rem; margin: 1rem 0 0; color: var(--muted); }
.form-status.error { color: #b42318; }
.registration-success { text-align: center; }
.registration-success h3 { margin: 1rem 0 .5rem; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.registration-success p { margin: 0 auto 1.5rem; max-width: 580px; color: var(--muted); line-height: 1.6; }
.success-mark { display: grid; width: 60px; height: 60px; margin: auto; place-items: center; border-radius: 50%; color: #fff; background: var(--dnata-blue); font-size: 2rem; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.action-card h2 { font-size: clamp(3.2rem, 6vw, 5.7rem); line-height: 1; }

.section-heading p {
  max-width: 430px;
  margin: 0 0 .35rem;
  color: var(--muted);
  line-height: 1.65;
}

.timeline { margin: 0; padding: 0; list-style: none; }

.timeline li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--dnata-blue-dark);
  font-family: "FS Joey", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.timeline h3 { margin: 0 0 .4rem; font-size: 1.08rem; }
.timeline p { margin: 0; color: var(--muted); line-height: 1.5; }

.action-view {
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6f9 0%, #fff 62%);
}

.action-card {
  position: relative;
  width: min(760px, 100%);
  padding: clamp(2rem, 5.5vw, 5rem);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 70px rgba(34, 76, 97, .12);
  text-align: center;
}

.action-card > p:not(.section-kicker) { max-width: 520px; margin: 1.4rem auto 2rem; color: var(--muted); line-height: 1.65; }
.action-card .button.secondary { color: var(--ink); border-color: #9ba8af; }

.action-number {
  position: absolute;
  top: -1.2rem;
  right: 1rem;
  color: rgba(0, 159, 227, .07);
  font-family: "FS Joey", Arial, sans-serif;
  font-size: 10rem;
  font-weight: 600;
  line-height: 1;
}

.past-view {
  color: #fff;
  background:
    linear-gradient(rgba(4, 27, 42, .72), rgba(4, 27, 42, .84)),
    url("https://s3.eu-central-1.amazonaws.com/mbox.dnataevents/prod/uploads/wzerls065103.png") center/cover;
}

.glass-card { background: rgba(5, 32, 49, .74); box-shadow: none; backdrop-filter: blur(11px); }
.glass-card > p:not(.section-kicker) { color: rgba(255,255,255,.76); }

footer {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 4.5vw;
  color: rgba(255, 255, 255, .86);
  background: var(--dnata-blue);
  font-size: .78rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  :root { --header-height: 76px; }
  .site-header { padding-inline: 1.25rem; }
  .brand img { width: 118px; }
  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
  }
  .menu-toggle span:not(.sr-only) { width: 24px; height: 2px; background: var(--ink); }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    height: auto;
    display: none;
    padding: .5rem 1.25rem 1.25rem;
    background: #fff;
    box-shadow: 0 16px 25px rgba(19, 47, 62, .1);
  }
  .main-nav.open { display: block; }
  .main-nav a { min-height: 50px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { right: auto; width: 38px; }
  .hero { min-height: calc(100svh - var(--header-height)); }
  .hero-content { padding: 4rem 0; }
  h1 { font-size: clamp(3.2rem, 16vw, 5.2rem); }
  .event-details { flex-direction: column; align-items: center; gap: 1rem; margin-block: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .map-link { right: 1rem; bottom: 1rem; left: 1rem; text-align: center; }
  .content-view { padding: 3.5rem 1.25rem; }
  .registration-heading { display: block; }
  .back-link { display: inline-block; margin-top: 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 1rem; }
  .timeline li { grid-template-columns: 76px 1fr; gap: 1rem; }
  .action-card { padding-block: 4rem; }
  footer { flex-direction: column; justify-content: center; gap: .25rem; }
}

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

.hero .eyebrow { text-transform: none; }
