:root {
  --navy: #0B1020;
  --navy-deep: #050914;
  --navy-soft: #111A2E;
  --navy-field: #151D31;
  --orange: #FF7A2A;
  --taupe: #B59A90;
  --white: #F8F9FC;
  --muted: #C1C8D5;
  --line: rgba(255,255,255,.18);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Lato", Arial, sans-serif;
  --shadow: 0 30px 90px rgba(0,0,0,.48);
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; }
html { background: var(--navy); }
body {
  margin: 0;
  color: var(--white);
  background: var(--navy);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  padding: .8rem 1rem;
  background: var(--orange);
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.landing-shell,
.landing-carousel,
.slides,
.slide { width: 100%; height: 100dvh; }
.landing-shell { position: relative; overflow: hidden; background: var(--navy-deep); }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1rem, 2vw, 2rem) clamp(1rem, 3.5vw, 4rem);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,9,20,.88), rgba(5,9,20,.35) 65%, transparent);
}
.brand { width: clamp(185px, 22vw, 360px); pointer-events: auto; }
.brand img { width: 100%; height: auto; }
.coming-soon {
  margin: .45rem 0 0;
  color: var(--white);
  font-size: clamp(.58rem, .75vw, .76rem);
  font-weight: 900;
  letter-spacing: .24em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
}
.coming-soon::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 2px;
  margin: 0 .75rem .18rem 0;
  background: var(--orange);
}

.landing-carousel { position: relative; overflow: hidden; outline: none; }
.landing-carousel:focus-visible { box-shadow: inset 0 0 0 3px var(--orange); }
.slides { position: relative; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.012);
  transition: opacity .7s ease, visibility .7s ease, transform 1.4s ease;
  background: var(--navy-deep);
}
.slide.is-active { opacity: 1; visibility: visible; transform: scale(1); z-index: 2; }

.slide--hero {
  display: grid;
  grid-template-columns: minmax(0, 53%) minmax(0, 47%);
}
.hero-portrait { position: relative; overflow: hidden; }
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 42%, rgba(11,16,32,.22) 76%, var(--navy) 100%),
              linear-gradient(180deg, rgba(5,9,20,.08), rgba(5,9,20,.18) 72%, rgba(5,9,20,.72));
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }
.hero-panel {
  position: relative;
  display: grid;
  place-items: center;
  padding: 8rem clamp(2rem, 5vw, 6.5rem) 8rem clamp(2.5rem, 4vw, 5rem);
  background: radial-gradient(circle at 8% 45%, rgba(74,110,209,.14), transparent 34%), var(--navy);
}
.hero-copy { max-width: 720px; }
.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--orange);
  font-size: clamp(.68rem, .82vw, .86rem);
  font-weight: 900;
  letter-spacing: .23em;
  text-transform: uppercase;
}
.hero-copy h1,
.modal-header h2,
.success-message h3,
.story-mobile-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.035em;
}
.hero-copy h1 { font-size: clamp(3rem, 5.6vw, 6.1rem); line-height: .98; }
.hero-copy h1 em { color: var(--taupe); font-weight: 500; }
.hero-copy h1 em::after {
  content: "";
  display: block;
  width: min(13rem, 38%);
  height: 3px;
  margin-top: 1.55rem;
  background: var(--orange);
}
.hero-copy > p:last-child {
  max-width: 650px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.22rem);
  line-height: 1.72;
}

.story-media { position: absolute; inset: 0; overflow: hidden; background: var(--navy-deep); }
.story-media::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: clamp(240px, 28vw, 520px);
  height: 100px;
  background: linear-gradient(90deg, transparent, rgba(5,9,20,.95) 74%);
  pointer-events: none;
}
.story-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.story-mobile-copy { display: none; }

.carousel-control {
  position: fixed;
  z-index: 55;
  top: 50%;
  width: 3.35rem;
  height: 3.35rem;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: var(--white);
  background: rgba(5,9,20,.54);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.carousel-control:hover { color: var(--navy); background: var(--orange); border-color: var(--orange); }
.carousel-control:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.carousel-control svg { width: 1.25rem; stroke: currentColor; stroke-width: 1.8; fill: none; }
.carousel-control--previous { left: clamp(.8rem, 2vw, 2rem); }
.carousel-control--next { right: clamp(.8rem, 2vw, 2rem); }

.carousel-dots {
  position: fixed;
  z-index: 56;
  left: 50%;
  bottom: 1.4rem;
  display: flex;
  gap: .58rem;
  transform: translateX(-50%);
  padding: .6rem .8rem;
  border-radius: 999px;
  background: rgba(5,9,20,.62);
  backdrop-filter: blur(10px);
}
.carousel-dots button {
  width: .56rem;
  height: .56rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.62);
  cursor: pointer;
}
.carousel-dots button.is-active { background: var(--orange); transform: scale(1.22); }
.carousel-dots button:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.join-button {
  position: fixed;
  z-index: 57;
  right: clamp(1.2rem, 4vw, 4rem);
  bottom: clamp(1.15rem, 3vw, 2.3rem);
  min-height: 3.7rem;
  padding: 1rem 1.6rem;
  border: 1px solid var(--orange);
  color: var(--navy);
  background: var(--orange);
  box-shadow: 0 18px 54px rgba(255,122,42,.28);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.join-button:hover { transform: translateY(-2px); background: #ff8a43; box-shadow: 0 22px 64px rgba(255,122,42,.36); }
.join-button:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }

.registration-modal {
  width: min(980px, calc(100% - 2rem));
  max-width: 980px;
  height: min(92dvh, 920px);
  max-height: 92dvh;
  padding: 0;
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  background: var(--navy-deep);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.registration-modal::backdrop { background: rgba(2,5,12,.84); backdrop-filter: blur(10px); }
.modal-panel {
  height: 100%;
  overflow-y: auto;
  padding: clamp(1.3rem, 3.3vw, 3rem);
  background: linear-gradient(145deg, var(--navy-deep), var(--navy) 48%, #101A2D 100%);
  scrollbar-color: var(--orange) var(--navy-soft);
}
.modal-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-right: 3rem;
}
.modal-header h2 { max-width: 740px; font-size: clamp(2.25rem, 4.8vw, 4.7rem); line-height: 1.02; }
.modal-intro { max-width: 790px; margin: 1.6rem 0 2.6rem; color: var(--muted); font-size: 1rem; line-height: 1.72; }
.modal-close {
  position: absolute;
  top: -.15rem;
  right: 0;
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,.04);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { color: var(--navy); background: var(--orange); border-color: var(--orange); }
.modal-close:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.honeypot { position: absolute !important; left: -9999px !important; }
fieldset { margin: 0; padding: 0; border: 0; }
fieldset + fieldset { margin-top: 2.8rem; padding-top: 2.35rem; border-top: 1px solid var(--line); }
legend {
  display: block;
  width: 100%;
  margin-bottom: 1.45rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field-spaced { margin-top: 1.25rem; }
.field > label,
.field-label {
  display: block;
  margin: 0 0 .55rem;
  color: var(--white);
  font-size: .79rem;
  font-weight: 900;
  letter-spacing: .025em;
}
.field > label span[aria-hidden="true"],
.field-label span[aria-hidden="true"] { color: var(--orange); }
.field-help { margin: -.2rem 0 .8rem; color: var(--muted); font-size: .78rem; }

input[type="text"],
input[type="number"],
input[type="url"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  min-height: 3.45rem;
  padding: .85rem .92rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 0;
  color: var(--white) !important;
  -webkit-text-fill-color: var(--white);
  background-color: var(--navy-field) !important;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
select { appearance: auto; -webkit-appearance: menulist; color-scheme: light; }
select option,
select optgroup {
  color: #0B1020 !important;
  background-color: #FFFFFF !important;
  -webkit-text-fill-color: #0B1020;
}
select option:checked { color: #0B1020 !important; background: #FFD8C1 !important; }
textarea { min-height: 8rem; resize: vertical; line-height: 1.55; }
input::placeholder,
textarea::placeholder { color: #8E98AA; -webkit-text-fill-color: #8E98AA; opacity: 1; }
input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  background-color: #182238 !important;
  box-shadow: 0 0 0 3px rgba(255,122,42,.14);
}
.character-count { margin: .45rem 0 0; color: var(--muted); font-size: .72rem; text-align: right; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.choice-grid label,
.consent {
  display: flex;
  align-items: flex-start;
  gap: .72rem;
  min-height: 3.05rem;
  padding: .82rem .86rem;
  border: 1px solid rgba(255,255,255,.22) !important;
  color: var(--white) !important;
  background-color: var(--navy-field) !important;
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.choice-grid label span,
.consent span { color: inherit !important; opacity: 1 !important; visibility: visible !important; }
.choice-grid label:hover,
.consent:hover {
  border-color: var(--orange) !important;
  color: var(--white) !important;
  background-color: #1A253C !important;
}
.choice-grid input,
.consent input {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin: .12rem 0 0;
  accent-color: var(--orange);
}
.choice-grid label:has(input:checked),
.consent:has(input:checked) {
  border-color: var(--orange) !important;
  color: var(--white) !important;
  background-color: rgba(255,122,42,.13) !important;
}
.field-error { min-height: 1.1rem; margin: .55rem 0 0; color: #FFB17F; font-size: .78rem; }
.consent-group { display: grid; gap: .7rem; }
.consent { min-height: auto; }
.consent strong { color: var(--orange); }
.privacy-note { margin: 1.5rem 0; color: var(--muted); font-size: .79rem; line-height: 1.6; }

.submit-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.7rem;
  padding: 1rem 1.6rem;
  border: 1px solid var(--orange);
  font-size: .79rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
}
.submit-button { width: 100%; color: var(--navy); background: var(--orange); }
.submit-button:hover { background: #ff8a43; }
.submit-button:focus-visible,
.secondary-button:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }
.secondary-button { margin-top: 1.6rem; color: var(--white); background: transparent; }
.secondary-button:hover { color: var(--navy); background: var(--orange); }
.button-loader {
  display: none;
  width: 1rem;
  height: 1rem;
  margin-left: .7rem;
  border: 2px solid rgba(11,16,32,.35);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.submit-button.is-loading .button-loader { display: inline-block; }
.submit-button:disabled { opacity: .72; cursor: wait; }
.form-status { min-height: 1.3rem; margin: .8rem 0 0; color: #FFB17F; text-align: center; font-size: .82rem; }

.success-message { padding: 1rem 0 2rem; }
.success-mark {
  width: 4.3rem;
  height: 4.3rem;
  display: grid;
  place-items: center;
  margin-bottom: 2rem;
  border: 1px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font-size: 2rem;
}
.success-message h3 { margin-bottom: 1.5rem; font-size: clamp(2.25rem, 4.3vw, 4rem); line-height: 1.05; }
.success-message p { color: var(--muted); line-height: 1.72; }
.success-message strong { display: block; margin-top: 1.5rem; color: var(--taupe); font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .slide--hero { grid-template-columns: 48% 52%; }
  .hero-panel { padding-left: 2rem; padding-right: 2rem; }
  .hero-copy h1 { font-size: clamp(2.7rem, 7vw, 4.8rem); }
}

@media (max-width: 760px) {
  .site-header { align-items: center; padding: .9rem 1rem; }
  .brand { width: 178px; }
  .coming-soon { max-width: 130px; font-size: .52rem; letter-spacing: .14em; white-space: normal; text-align: right; }
  .coming-soon::before { display: none; }

  .slide--hero { display: block; }
  .hero-portrait { position: absolute; inset: 0; }
  .hero-portrait::after {
    background: linear-gradient(180deg, rgba(5,9,20,.08) 0%, rgba(11,16,32,.12) 42%, rgba(11,16,32,.91) 70%, var(--navy) 100%);
  }
  .hero-portrait img { object-position: 50% 17%; }
  .hero-panel { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 45dvh 1.2rem 8.2rem; background: transparent; }
  .hero-copy h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .hero-copy > p:last-child { margin-top: 1.35rem; font-size: .94rem; line-height: 1.58; }

  .story-media::after { display: none; }
  .story-media { height: 58dvh; bottom: auto; }
  .story-media img { object-fit: cover; object-position: center top; }
  .story-mobile-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    min-height: 46dvh;
    padding: 2rem 1.2rem 8.2rem;
    background: linear-gradient(180deg, rgba(11,16,32,.1), #0D172A 15%, var(--navy-deep) 100%);
  }
  .story-label {
    margin: 0 0 .85rem;
    color: var(--orange);
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
  }
  .story-mobile-copy h2 { font-size: clamp(1.85rem, 8.2vw, 3rem); line-height: 1.07; }
  .story-mobile-copy h2 em { font-style: normal; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .18em; }
  .story-mobile-copy > p:last-child { margin: 1rem 0 0; color: var(--muted); font-size: .91rem; line-height: 1.55; }

  .carousel-control { top: auto; bottom: 1.15rem; width: 3rem; height: 3rem; transform: none; }
  .carousel-control--previous { left: 1rem; }
  .carousel-control--next { right: 1rem; }
  .carousel-dots { bottom: 1.45rem; }
  .join-button {
    right: 1rem;
    left: 1rem;
    bottom: 5rem;
    width: calc(100% - 2rem);
    min-height: 3.45rem;
  }

  .registration-modal { width: 100%; height: 100dvh; max-height: 100dvh; border: 0; }
  .modal-panel { padding: 1.2rem; }
  .modal-header { padding-right: 2.8rem; }
  .modal-header h2 { font-size: clamp(2.2rem, 11vw, 3.6rem); }
  .modal-intro { margin-bottom: 2rem; }
  .form-grid,
  .choice-grid { grid-template-columns: 1fr; }
  fieldset + fieldset { margin-top: 2.2rem; padding-top: 2rem; }
}

@media (max-height: 680px) and (min-width: 761px) {
  .site-header { padding-top: .75rem; padding-bottom: .75rem; }
  .brand { width: 220px; }
  .hero-panel { padding-top: 6rem; padding-bottom: 5.5rem; }
  .hero-copy h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
  .hero-copy > p:last-child { margin-top: 1.35rem; font-size: 1rem; line-height: 1.55; }
  .join-button { bottom: 1rem; }
  .carousel-dots { bottom: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
