/* ─── Register Page ──────────────────────────────────────── */
.register-page {
  background: #e9e9e5;
  min-height: 100vh;
}

.register-main {
  display: flex;
  min-height: 100vh;
  max-width: 1920px;
  margin-inline: auto;
}

.register-left {
  position: sticky;
  top: 0;
  width: 50%;
  height: 100vh;
  flex-shrink: 0;
}

.register-renew-wrap {
  display: none;
  position: absolute;
  inset: auto -45.5% 0% auto;
}

.register-renew-wrap--bottom {
  position: absolute;
  inset: auto auto 0% auto;
}

.register-renew-rnc-txt {
  position: absolute;
  font-family: var(--font-serif-hero);
  font-weight: 300;
  font-size: 2vw;
  right: 5%;
  top: 27%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.register-renew-rnc-txt.is-visible {
  opacity: 1;
}

.register-renew-precon-txt {
  position: absolute;
  bottom: 40px;
  left: 45px;
  width: 60%;
  font-size: 3.3vw;
  font-family: var(--font-serif-hero);
  line-height: 1.2em;
  font-weight: 300;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.register-renew-precon-txt.is-visible {
  opacity: 1;
}

.register-renew-logo {
  display: block;
  margin-bottom: -4.9%;
  width: 50vw;
}.register-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.register-header {
  padding: 60px 60px 40px;
  color: #151515;
}

.register-header-eyebrow {
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.register-header-title {
  font-family: var(--font-serif-hero);
  font-size: 110px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 24px;
}

.register-header-date {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
}

.register-header--preconf .register-header-title {
  font-size: 75px;
}

.register-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 60px;
}

.register-right iframe {
  width: 100%;
  min-height: 800px;
  background: transparent;
  display: block;
  border: none;
}

#regfox-iframe { min-height: 2900px; }

@media (max-width: 1600px) { #regfox-iframe { min-height: 2950px; } }
@media (max-width: 1550px) { #regfox-iframe { min-height: 3850px; } }
@media (max-width: 1200px) { #regfox-iframe { min-height: 3980px; } }
@media (max-width: 991px)  { #regfox-iframe { min-height: 4300px; } }
@media (max-width: 768px)  { #regfox-iframe { min-height: 3980px; } }
@media (max-width: 480px)  { #regfox-iframe { min-height: 4400px; } }

#regfox-iframe-preconf { min-height: 2800px; }

@media (max-width: 1600px) { #regfox-iframe-preconf { min-height: 2900px; } }
@media (max-width: 1550px) { #regfox-iframe-preconf { min-height: 3850px; } }
@media (max-width: 1200px) { #regfox-iframe-preconf { min-height: 3980px; } }
@media (max-width: 991px)  { #regfox-iframe-preconf { min-height: 4300px; } }
@media (max-width: 768px)  { #regfox-iframe-preconf { min-height: 3980px; } }
@media (max-width: 480px)  { #regfox-iframe-preconf { min-height: 4400px; } }

/* ── Large screen cap ───────────────────────────────────── */
@media (min-width: 1920px) {
  .register-renew-rnc-txt { font-size: 38px; }
  .register-renew-precon-txt { font-size: 65px; }
}

@media (max-width: 1300px) {
  .register-header-eyebrow { font-size: 21px; }
  .register-header-title { font-size: 90px; margin-bottom: 15px; }
  .register-header-date { font-size: 20px; }
  .register-header--preconf .register-header-title { font-size: 60px; }
}

@media (max-width: 1100px) {
  .register-header { padding: 60px 20px 40px; }
  .register-header-eyebrow { font-size: 19px; }
  .register-header-title { font-size: 75px; }
  .register-header-date { font-size: 19px; }
  .register-header--preconf .register-header-title { font-size: 48px; }
}

/* ── Mobile: stack image above form ─────────────────────── */
@media (max-width: 768px) {
  .register-main {
    flex-direction: column;
  }

  .register-right { padding-top: 0; }

  .register-left {
    position: relative;
    top: auto;
    width: 100%;
    height: 280px;
  }

  .register-right {
    width: 100%;
    min-height: auto;
  }

  .register-renew-logo { width: 96vw; }
  .register-renew-rnc-txt { display: none; }
  .register-renew-precon-txt { display: none; }
  .register-main--flip .register-left { order: -1; }
  .register-header-eyebrow { font-size: 16px; }
  .register-header-title { font-size: 65px; }
  .register-header-date { font-size: 16px; }
  .register-header--preconf .register-header-title { font-size: 45px; }
}
