:root {
  color-scheme: light;
  --blue: #3048a2;
  --blue-dark: #223579;
  --ink: #29272a;
  --muted: #5f5a60;
  --line: #d8dcef;
  --soft: #f5f6fb;
  --paper: #ffffff;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: #fff;
}

.nav {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px;
  background: #fff;
}

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

.nav a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.hero-media {
  position: absolute;
  inset: 110px 0 auto 0;
  height: 390px;
  overflow: hidden;
  border-bottom-left-radius: 54% 22%;
  z-index: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255,255,255,0) 54%, rgba(255,255,255,0.8));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  margin: 0 auto;
  padding: 430px 24px 82px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 400;
}

h1,
h2 {
  margin: 0;
  font-weight: 300;
  line-height: 1.08;
}

h1 {
  max-width: 1120px;
  color: var(--blue);
  font-size: clamp(3rem, 6vw, 5.1rem);
}

h2 {
  color: var(--blue);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.intro {
  max-width: 1040px;
  margin: 26px 0 34px;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  font-weight: 300;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  padding: 0 28px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.text-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration-color: rgba(48, 72, 162, 0.35);
  text-underline-offset: 5px;
}

.full {
  width: 100%;
}

.organizers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--blue);
  color: #fff;
}

.organizers span {
  font-size: 0.88rem;
  font-weight: 300;
  white-space: nowrap;
}

.organizer-logos {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.organizers a {
  display: inline-flex;
  align-items: flex-end;
  height: 34px;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.organizers a:hover {
  opacity: 0.8;
}

.organizers img {
  display: block;
  width: auto;
  height: 34px;
  object-fit: contain;
}

.organizers .logo-azz {
  height: 30px;
}

.organizers .logo-avzo {
  transform: translateY(3px);
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px 72px;
  color: var(--blue);
}

.event-facts article {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.event-facts p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}

.event-facts a,
footer a {
  color: inherit;
  text-decoration-color: rgba(48, 72, 162, 0.35);
  text-underline-offset: 5px;
}

.event-facts a:hover,
footer a:hover {
  text-decoration-color: currentColor;
}

.event-facts .small-link {
  font-size: 0.95rem;
  font-weight: 700;
}

.event-facts strong {
  font-weight: 800;
}

.fact-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 5px solid var(--blue);
  border-radius: 16px;
  font-size: 1.2rem;
  font-weight: 900;
}

.pin {
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
}

.pin::after {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.clock {
  border-radius: 999px;
}

.clock::before,
.clock::after {
  position: absolute;
  width: 5px;
  height: 20px;
  background: var(--blue);
  content: "";
  transform-origin: bottom center;
}

.clock::before {
  transform: translateY(-7px);
}

.clock::after {
  height: 16px;
  transform: translate(7px, -2px) rotate(90deg);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 24px;
}

.split,
.registration {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(330px, 1.15fr);
  gap: 64px;
  align-items: start;
}

.section-copy,
.form-copy p {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
}

.form-copy .fee-note {
  display: inline-flex;
  margin: 22px 0 0;
  border-left: 4px solid var(--blue);
  padding-left: 14px;
  color: var(--blue);
  font-weight: 800;
}

.program-list {
  display: grid;
  gap: 0;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.program-list li {
  position: relative;
  border-bottom: 1px dotted var(--blue);
  padding: 15px 0 15px 24px;
  font-size: 1.22rem;
  line-height: 1.45;
}

.program-list li::before {
  position: absolute;
  left: 0;
  content: "•";
}

.program-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 1.08rem;
}

.registration {
  border-top: 1px solid var(--line);
}

.flyer-trigger {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin-top: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.flyer-trigger img {
  width: min(100%, 360px);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(36, 46, 94, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.flyer-trigger:hover img {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(36, 46, 94, 0.18);
}

.flyer-trigger span {
  text-decoration: underline;
  text-decoration-color: rgba(48, 72, 162, 0.35);
  text-underline-offset: 5px;
}

form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--soft);
  box-shadow: 0 18px 44px rgba(36, 46, 94, 0.11);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(48, 72, 162, 0.18);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.45;
}

.checkbox input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
}

.status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.status.success {
  color: var(--blue-dark);
}

.status.success a {
  color: inherit;
  text-decoration-color: rgba(48, 72, 162, 0.35);
  text-underline-offset: 5px;
}

.status.success a:hover {
  text-decoration-color: currentColor;
}

.status.error {
  color: #a33a2b;
}

footer {
  border-top: 1px solid var(--line);
  padding: 34px 24px;
  color: var(--blue);
  text-align: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 18, 44, 0.72);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-panel {
  display: grid;
  gap: 16px;
  width: min(94vw, 760px);
  max-height: 92vh;
}

.lightbox-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.lightbox-close {
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 0 22px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.lightbox-panel img {
  width: 100%;
  max-height: calc(92vh - 86px);
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-media {
    top: 110px;
    height: 360px;
  }

  .hero-content {
    padding-top: 400px;
  }

  h1 {
    font-size: 3.8rem;
  }

  .organizers {
    width: 100%;
  }

  .nav-links {
    margin-right: auto;
  }

  .event-facts,
  .split,
  .registration {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-media {
    top: 202px;
    height: 300px;
  }

  .hero-content {
    padding: 350px 20px 58px;
  }

  h1 {
    font-size: 3rem;
  }

  .intro {
    font-size: 1.25rem;
  }

  .organizers {
    gap: 18px;
    padding: 18px;
  }

  .organizers span {
    width: 100%;
  }

  .organizer-logos {
    width: 100%;
    justify-content: flex-start;
  }

  .organizers img {
    height: 30px;
  }

  .organizers a {
    height: 30px;
  }

  .organizers .logo-azz {
    height: 27px;
  }

  .organizers .logo-avzo {
    transform: translateY(2px);
  }

  .event-facts,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  form {
    padding: 20px;
  }
}
