/* ══════════════════════════════════════════
   FONT STACK
   alliance-no-2 (Adobe/Typekit) → Barlow → system
   ══════════════════════════════════════════ */
:root {
  --font-primary: 'alliance-no-2', 'Barlow', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: var(--font-primary);
  background: #111;
  color: #fff;
  overflow-x: hidden;
}

/* ── FIXED VIDEO BG ── */
.bg-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
}
.bg-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}
.bg-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
}

/* ── PAGE WRAPPER ── */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ══════════════════════════
   NAV — fixed top left
══════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  padding: 28px 44px;
}
.logo {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -2px;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}

/* ══════════════════════════
   SECTION 1 — HERO
══════════════════════════ */
.section-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
}

h1 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 8vw, 7rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -8px;
  color: #fff;
  max-width: 95vw;
  margin-bottom: 60px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}

.under-construction {
  font-family: var(--font-primary);
  font-size: clamp(0.95rem, 2vw, 1.4rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 10px rgba(0,0,0,0.45);
}

/* ══════════════════════════
   SECTION 2 — FORM
   FIX: removed padding-left: 100px, now truly centered
══════════════════════════ */
.section-form {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 100px;
  /* REMOVED: padding-left: 100px — was breaking centering */
}

.cta-heading {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 2.2vw, 1.42rem);
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,0.45);
  margin-bottom: 22px;
}

.form-block {
  
  display: flex;
  flex-direction: column;
}

.field-label {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 7px;
  text-align: left;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.email-input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.75);
  border-radius: 40px;
  outline: none;
  padding: 12px 20px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 16px;
  transition: border-color .2s, background .2s;
}
.email-input::placeholder { color: rgba(255,255,255,0.3); }
.email-input:focus {
  background: #000;
  border-color: #000;
  color: #fff;
}

.form-row-2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 400;
  color: #fff;
  cursor: pointer;
  user-select: none;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(255,255,255,0.8);
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 2px;
  position: relative;
  transition: background .15s;
}
.checkbox-label input[type="checkbox"]:checked {
  background: #fff;
}
.checkbox-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: 2px solid #111;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.btn-join {
  background: #fff;
  color: #111;
  border: none;
  border-radius: 50px;
  padding: 12px 46px;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 14px rgba(0,0,0,0.22);
  transition: background .18s, transform .1s;
}
.btn-join:hover  { background: #ececec; }
.btn-join:active { transform: scale(.97); }

.success-msg {
  display: none;
  margin-top: 14px;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  color: #fff;
  text-align: center;
}

/* ══════════════════════════
   FOOTER — fixed bottom right
══════════════════════════ */
footer {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 10;
  padding: 0 28px 18px 0;
  text-align: right;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ══════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════ */

/* Large tablets / small laptops */
@media (max-width: 991px) {
  h1 {
    font-size: clamp(2rem, 6vw, 4.5rem);
    letter-spacing: -3px;
  }
}

/* Tablets */
@media (max-width: 767px) {
  nav { padding: 18px 24px; }
  .logo { font-size: 1.8rem; letter-spacing: -1.5px; }
  .section-hero { padding: 110px 20px 60px; }
  .section-form { padding: 40px 20px 90px; }
  h1 {
    font-size: clamp(1.9rem, 7vw, 3.2rem);
    letter-spacing: -2px;
  }
  footer { padding: 0 16px 14px 0; }
}

/* Mobile */
@media (max-width: 575px) {
  nav { padding: 14px 18px; }
  .logo { font-size: 1.6rem; letter-spacing: -1px; }

  /* Kill forced full-screen height on mobile — let content size naturally */
  .section-hero {
    min-height: unset;
    padding: 150px 16px 24px;
  }
  .section-form {
    min-height: unset;
    padding: 200px 10px 70px;
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.6rem);
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 12px;
  }
  .under-construction { font-size: 0.88rem; margin-top: 0; }
  .form-row-2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .btn-join { width: 100%; text-align: center; padding: 12px 0; }
  footer { padding: 0 12px 12px 0; font-size: 0.62rem; }
}

/* Very small phones */
@media (max-width: 380px) {
  h1 { font-size: 1.6rem; letter-spacing: -1px; }
  .section-hero { padding: 70px 14px 20px; }
  .section-form { padding: 20px 14px 60px; }
}
logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 80px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Large Desktop */
@media (min-width: 1440px) {
  .logo-img {
    height: 100px;
  }
}

/* Laptop */
@media (max-width: 1024px) {
  .logo-img {
    height: 80px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .logo-img {
    height: 65px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .logo-img {
    height: 50px;
  }
}

/* Small Mobile */
@media (max-width: 360px) {
  .logo-img {
    height: 42px;
  }
}