:root {
  --ink: #eef6ff;
  --muted: #aebbd0;
  --navy-950: #020713;
  --navy-900: #061125;
  --navy-850: #081a35;
  --navy-800: #0b2346;
  --ocean: #123d64;
  --gold: #d9b66a;
  --gold-bright: #f4d489;
  --gold-soft: rgba(217, 182, 106, 0.28);
  --glass: rgba(5, 18, 38, 0.72);
  --glass-deep: rgba(2, 7, 19, 0.82);
  --line: rgba(244, 212, 137, 0.34);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--navy-950);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(44, 112, 165, 0.24), transparent 30rem),
    radial-gradient(circle at 82% 18%, rgba(217, 182, 106, 0.16), transparent 26rem),
    linear-gradient(180deg, #020713 0%, #061125 44%, #03101f 100%);
}

img,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page-shell::before {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.62) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(244, 212, 137, 0.42) 0 1px, transparent 1.4px);
  background-position: 0 0, 42px 64px;
  background-size: 170px 170px, 250px 250px;
  opacity: 0.28;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.9) 36%, transparent 82%);
}

.page-shell::after {
  background:
    linear-gradient(90deg, rgba(217, 182, 106, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(217, 182, 106, 0.06) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.16;
  mask-image: radial-gradient(circle at center, #000 0, transparent 66%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(2, 7, 19, 0.82), rgba(2, 7, 19, 0.18));
  backdrop-filter: blur(14px);
}

.brand,
.header-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand {
  gap: 0.72rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 38%, rgba(244, 212, 137, 0.95) 39% 44%, transparent 45%),
    radial-gradient(circle at 50% 48%, transparent 0 38%, rgba(244, 212, 137, 0.9) 39% 42%, transparent 43%),
    rgba(217, 182, 106, 0.08);
  box-shadow: 0 0 28px rgba(217, 182, 106, 0.24);
}

.header-link {
  padding: 0.72rem 1rem;
  border: 1px solid rgba(244, 212, 137, 0.28);
  border-radius: 999px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(6, 17, 37, 0.52);
}

.section-band {
  position: relative;
  z-index: 1;
}

.section-inner {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 8rem 1rem 5rem;
  isolation: isolate;
}

.hero-media,
.hero-overlay,
.hero-glow,
.stars,
.horizon-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media {
  z-index: -4;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.9) contrast(1.1) brightness(0.7);
  transform: scale(1.04);
}

.hero-overlay {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(2, 7, 19, 0.92) 0%, rgba(3, 15, 32, 0.72) 42%, rgba(2, 7, 19, 0.58) 100%),
    linear-gradient(180deg, rgba(2, 7, 19, 0.18) 0%, rgba(2, 7, 19, 0.54) 50%, #020713 100%);
}

.hero-glow {
  z-index: -2;
  background:
    radial-gradient(circle at 52% 48%, rgba(244, 212, 137, 0.18), transparent 22rem),
    radial-gradient(circle at 50% 76%, rgba(28, 115, 163, 0.34), transparent 24rem);
}

.stars {
  z-index: -1;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(244, 212, 137, 0.7) 0 1px, transparent 1.4px);
  background-size: 140px 140px, 220px 220px;
  opacity: 0.32;
  animation: drift 24s linear infinite;
  mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 82%);
}

.horizon-line {
  top: auto;
  height: 18rem;
  bottom: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(8, 45, 79, 0.12) 24%, rgba(7, 28, 52, 0.9) 92%),
    repeating-linear-gradient(175deg, rgba(244, 212, 137, 0.08) 0 1px, transparent 1px 38px);
  opacity: 0.86;
}

.hero-content {
  width: min(960px, 100%);
  text-align: center;
  padding-top: 5vh;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
}

h1 {
  max-width: 940px;
  margin: 0 auto;
  font-size: clamp(4rem, 10vw, 8.7rem);
  letter-spacing: 0;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.76);
}

.hero-copy {
  max-width: 650px;
  margin: 1.35rem auto 0;
  color: #d7e4f5;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.cta-button,
.fallback-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.45rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.cta-button {
  margin-top: 2.3rem;
  padding: 0.95rem 1.65rem;
  color: #061125;
  background: linear-gradient(135deg, #f8dfa0, #c99b43);
  box-shadow: 0 18px 54px rgba(217, 182, 106, 0.26), inset 0 1px rgba(255, 255, 255, 0.48);
}

.cta-button:hover,
.fallback-button:hover,
.header-link:hover {
  transform: translateY(-2px);
}

.support {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(22, 78, 119, 0.26), transparent 38rem),
    linear-gradient(180deg, #020713 0%, #061125 100%);
}

.section-heading {
  display: grid;
  gap: 0.7rem;
  max-width: 760px;
}

.section-heading h2,
.form-intro h2 {
  font-size: clamp(2.3rem, 5vw, 5.1rem);
  letter-spacing: 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.journey-card {
  position: relative;
  min-height: 18rem;
  padding: 1.35rem;
  border: 1px solid rgba(244, 212, 137, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(13, 43, 78, 0.82), rgba(3, 12, 27, 0.88)),
    radial-gradient(circle at 20% 0%, rgba(244, 212, 137, 0.18), transparent 16rem);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
}

.journey-card::after {
  content: "";
  position: absolute;
  inset: auto 1.35rem 1.35rem 1.35rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.65;
}

.card-number {
  color: rgba(244, 212, 137, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.journey-card h3 {
  margin-top: 4.4rem;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.journey-card p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.registration {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(24rem, 34vw, 34rem);
  background:
    radial-gradient(circle at 10% 12%, rgba(217, 182, 106, 0.13), transparent 28rem),
    radial-gradient(circle at 88% 16%, rgba(33, 112, 156, 0.22), transparent 30rem),
    linear-gradient(180deg, #061125 0%, #020713 100%);
}

.registration-suite {
  position: relative;
  display: grid;
  grid-template-columns: minmax(19rem, 0.78fr) minmax(0, 1.5fr);
  gap: clamp(0.8rem, 2vw, 1.2rem);
  align-items: stretch;
}

.registration-desk,
.portal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow), 0 0 70px rgba(217, 182, 106, 0.12);
}

.registration-desk {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  background:
    linear-gradient(180deg, rgba(9, 31, 61, 0.88), rgba(2, 7, 19, 0.94)),
    radial-gradient(circle at 16% 0%, rgba(244, 212, 137, 0.18), transparent 18rem);
}

.registration-desk::before,
.portal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(244, 212, 137, 0.36), transparent) top / 100% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(244, 212, 137, 0.2), transparent) left / 1px 100% no-repeat;
}

.registration-desk h2 {
  font-size: clamp(2.4rem, 4vw, 3.85rem);
}

.registration-desk p:not(.eyebrow) {
  margin: 0;
  color: #d5e0ee;
  line-height: 1.7;
}

.desk-divider {
  width: 100%;
  height: 1px;
  margin: 0.5rem 0;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.55;
}

.registration-steps {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.registration-steps li {
  position: relative;
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 0.95rem 0.95rem 3.6rem;
  border: 1px solid rgba(244, 212, 137, 0.16);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  background: rgba(255, 255, 255, 0.035);
}

.registration-steps span {
  position: absolute;
  top: 0.95rem;
  left: 0.95rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(244, 212, 137, 0.36);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: rgba(217, 182, 106, 0.08);
}

.registration-steps strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.fallback-button {
  width: fit-content;
  margin-top: auto;
  padding: 0.82rem 1.18rem;
  border: 1px solid rgba(244, 212, 137, 0.46);
  color: var(--gold-bright);
  background: rgba(2, 7, 19, 0.32);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
}

.portal-card {
  padding: clamp(0.75rem, 1.6vw, 1rem);
  background:
    radial-gradient(circle at 50% -10%, rgba(244, 212, 137, 0.18), transparent 21rem),
    linear-gradient(180deg, rgba(7, 24, 50, 0.96), rgba(2, 7, 19, 0.96));
}

.portal-topbar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  min-height: 4.25rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(244, 212, 137, 0.18);
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(90deg, rgba(244, 212, 137, 0.12), transparent 42%),
    rgba(2, 7, 19, 0.54);
}

.portal-dots {
  display: inline-flex;
  gap: 0.35rem;
}

.portal-dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(244, 212, 137, 0.32);
}

.portal-dots span:first-child {
  background: var(--gold-bright);
}

.portal-topbar strong,
.portal-kicker,
.portal-lock {
  display: block;
}

.portal-topbar strong {
  margin-top: 0.15rem;
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.portal-kicker,
.portal-lock {
  color: var(--gold-bright);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portal-lock {
  padding: 0.5rem 0.62rem;
  border: 1px solid rgba(244, 212, 137, 0.28);
  border-radius: 999px;
  background: rgba(217, 182, 106, 0.08);
}

.portal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-inline: 1px solid rgba(244, 212, 137, 0.18);
  background: rgba(244, 212, 137, 0.18);
}

.portal-strip span {
  padding: 0.75rem 0.65rem;
  color: #cbd8ea;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  background: rgba(5, 18, 38, 0.92);
}

.jotform-frame-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(244, 212, 137, 0.2);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #08172a;
}

.jotform-frame-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 7, 19, 0.26), transparent 34%, rgba(2, 7, 19, 0.1)),
    radial-gradient(circle at 50% 0%, rgba(244, 212, 137, 0.16), transparent 18rem);
  mix-blend-mode: multiply;
}

.jotform-frame-wrap.is-loaded .form-loading {
  opacity: 0;
  pointer-events: none;
}

.jotform-host {
  position: relative;
  min-height: 540px;
  background: #f8f9fc;
}

.jotform-host iframe,
#jotform-embed,
[id="233456689306062"] {
  width: 100%;
  min-width: 100%;
  min-height: 760px;
  border: 0;
  background: #fff;
}

.mobile-form-handoff {
  display: none;
}

.mobile-form-handoff h3 {
  margin: 0.45rem 0 0.8rem;
  color: var(--cream);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 9vw, 2.7rem);
  line-height: 0.96;
}

.mobile-form-handoff p:not(.eyebrow) {
  margin: 0;
  color: rgba(235, 240, 247, 0.72);
  font-size: 0.98rem;
  line-height: 1.7;
}

.handoff-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: 1.5rem;
  border: 1px solid rgba(229, 187, 93, 0.72);
  border-radius: 999px;
  background: linear-gradient(135deg, #f4d074, #b78225);
  box-shadow: 0 18px 36px rgba(229, 187, 93, 0.18);
  color: #07111f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

.form-loading {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.92);
  transition: opacity 220ms ease;
}

.form-loading span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #c99b43;
  animation: pulse 1s ease-in-out infinite;
}

.form-loading span:nth-child(2) {
  animation-delay: 120ms;
}

.form-loading span:nth-child(3) {
  animation-delay: 240ms;
}

.noscript-note {
  margin: 1rem 0 0;
  color: var(--muted);
}

.portal-note {
  margin: 0.85rem 0 0;
  color: rgba(203, 216, 234, 0.7);
  font-size: 0.84rem;
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes drift {
  from {
    background-position: 0 0, 42px 64px;
  }

  to {
    background-position: 140px 90px, 262px 194px;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }

  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 840px) {
  .site-header {
    padding: 0.8rem 1rem;
  }

  .brand {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 1.8rem;
    height: 1.8rem;
  }

  .header-link {
    padding: 0.64rem 0.78rem;
    font-size: 0.68rem;
  }

  .hero {
    min-height: 92svh;
    padding-top: 7rem;
  }

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

  h1 {
    margin: 0;
    font-size: clamp(3.2rem, 18vw, 5.8rem);
  }

  .hero-copy {
    margin-left: 0;
  }

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

  .journey-card {
    min-height: 13rem;
  }

  .journey-card h3 {
    margin-top: 2.6rem;
  }

  .registration-suite {
    grid-template-columns: 1fr;
  }

  .fallback-button {
    width: 100%;
    text-align: center;
  }

  .registration-desk h2 {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .jotform-frame-wrap {
    display: none;
  }

  .mobile-form-handoff {
    display: block;
    overflow: hidden;
    padding: 1.6rem 1.35rem;
    border: 1px solid rgba(229, 187, 93, 0.28);
    border-radius: 12px;
    background:
      radial-gradient(circle at 24% 0%, rgba(229, 187, 93, 0.18), transparent 36%),
      linear-gradient(145deg, rgba(12, 45, 76, 0.92), rgba(4, 12, 24, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 520px) {
  .section-inner {
    width: min(100% - 1rem, 1140px);
  }

  .hero {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .site-header {
    align-items: flex-start;
  }

  .brand span:last-child {
    display: none;
  }

  .header-link {
    max-width: 12rem;
    text-align: center;
    justify-content: center;
  }

  .hero-media img {
    object-position: 57% 50%;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(2, 7, 19, 0.9) 0%, rgba(3, 15, 32, 0.76) 100%),
      linear-gradient(180deg, rgba(2, 7, 19, 0.2) 0%, rgba(2, 7, 19, 0.64) 48%, #020713 100%);
  }

  .cta-button {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
  }

  .registration-desk,
  .portal-card {
    padding: 0.85rem;
  }

  .registration-steps li {
    padding: 0.85rem 0.85rem 0.85rem 3.25rem;
  }

  .section-heading h2,
  .registration-desk h2 {
    font-size: clamp(2.1rem, 13vw, 3.3rem);
  }

  .portal-topbar {
    grid-template-columns: 1fr auto;
    gap: 0.7rem;
  }

  .portal-dots {
    display: none;
  }

  .portal-strip {
    grid-template-columns: 1fr;
  }

  .portal-strip span {
    padding: 0.65rem;
  }

  .mobile-form-handoff {
    padding: 1.6rem 1.35rem;
  }
}
