:root {
  color-scheme: light;
  scroll-behavior: smooth;
  --course-card-radius: 2.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  letter-spacing: 0;
}

[hidden] {
  display: none !important;
}

body {
  min-width: 320px;
  background: #fff;
}

button,
input {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

.access-hero {
  position: relative;
  min-height: 78rem;
  overflow: hidden;
  backdrop-filter: blur(5px);
  background: var(--dark-navy);
  color: #fff;
}

.access-hero__media,
.access-hero__media img,
.access-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.access-hero__media img {
  object-fit: cover;
  object-position: center;
  filter: blur(3px) brightness(22%);
  transform: scale(1.2);
}

.access-hero__shade {
  display: none;
}

.access-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 48rem) minmax(40rem, 46rem);
  justify-content: center;
  align-items: center;
  gap: clamp(6rem, 8vw, 14rem);
  min-height: 78rem;
  padding-right: clamp(8rem, 10vw, 20rem);
  padding-left: clamp(8rem, 10vw, 20rem);
  padding-top: 7rem;
  padding-bottom: 8rem;
}

.access-hero__content,
.access-hero__intro,
.access-panel,
.access-form,
.access-form label,
.access-form input,
.access-form button {
  min-width: 0;
  max-width: 100%;
}

.access-hero__intro {
  max-width: 48rem;
  animation: hero-enter .65s ease-out both;
}

.access-hero__edition {
  display: block;
  width: 18rem;
  margin-bottom: 4.5rem;
}

.access-hero__eyebrow,
.section-kicker,
.access-panel__kicker {
  margin: 0 0 1.2rem;
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
}

.access-hero h1 {
  max-width: 44rem;
  margin: 0;
  color: #fff;
  font-family: "Albert Sans", sans-serif;
  font-size: 8rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  white-space: normal;
}

.access-hero__lead {
  max-width: 41rem;
  margin: 3rem 0 0;
  color: #fff;
  font-size: 2.1rem;
  line-height: 1.5;
}

.access-panel {
  width: 100%;
  max-width: 48rem;
  justify-self: stretch;
  padding: 3.6rem;
  border-top: .5rem solid var(--primary-color);
  border-radius: var(--course-card-radius);
  background: #fff;
  color: var(--dark-navy);
  box-shadow: 0 2.4rem 7rem rgba(0, 0, 0, .24);
  animation: panel-enter .65s .12s ease-out both;
}

.access-panel__header {
  display: flex;
  margin-bottom: 2.4rem;
}

.access-panel h2 {
  margin: 0;
  color: var(--dark-navy);
  font-size: 3rem;
  line-height: 1.1;
}

.access-form {
  display: grid;
  gap: 1.5rem;
}

.access-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.access-form label:not(.access-form__consent) {
  display: grid;
  gap: .7rem;
  color: var(--font-color-2);
  font-size: 1.3rem;
  font-weight: 700;
}

.access-form label small {
  color: var(--font-color-3);
  font-size: 1.1rem;
  font-weight: 500;
}

.access-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 4.8rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--gray-2);
  border-radius: .2rem;
  background: #fff;
  color: var(--font-color-1);
  font-size: 1.6rem;
  transition: border-color .2s, box-shadow .2s;
}

.access-form input:not([type="checkbox"]):focus {
  border-color: var(--dark-navy);
  box-shadow: 0 0 0 3px rgba(255, 217, 77, .36);
}

.access-form__consent {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1.2rem;
  align-items: start;
  margin-top: .5rem;
  color: var(--font-color-3);
  font-size: 1.2rem;
  line-height: 1.45;
}

.access-form__consent input {
  width: 2rem;
  height: 2rem;
  margin: .1rem 0 0;
}

.access-form__consent a {
  color: var(--dark-navy);
  font-weight: 700;
  text-decoration: underline;
}

.access-form__privacy {
  margin: -.2rem 0 0;
  color: var(--font-color-3);
  font-size: 1.1rem;
  line-height: 1.45;
}

.access-form__privacy a {
  color: var(--dark-navy);
  font-weight: 700;
  text-decoration: underline;
}

.access-form__submit {
  justify-content: center;
  width: 100%;
  margin-top: .5rem;
  border: 0;
}

.access-form__submit[disabled] {
  cursor: wait;
  opacity: .62;
}

.form-message {
  min-height: 0;
  margin: 0;
  color: #b42318;
  font-size: 1.3rem;
  font-weight: 600;
}

.form-message:empty {
  display: none;
}

.text-action {
  display: block;
  margin: 1.8rem auto 0;
  padding: .4rem;
  border: 0;
  background: transparent;
  color: var(--font-color-2);
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: underline;
}

.verification-copy {
  margin: 0 0 .8rem;
  color: var(--font-color-2);
  font-size: 1.5rem;
  line-height: 1.5;
}

.code-input {
  text-align: center;
  font-size: 2.4rem !important;
  font-weight: 700;
}

.development-code {
  margin: 0;
  padding: 1rem;
  background: var(--gray-1);
  color: var(--font-color-2);
  font-size: 1.3rem;
  text-align: center;
}

.authenticated-view > p {
  margin: 0 0 .6rem;
  color: var(--font-color-3);
  font-size: 1.4rem;
}

.authenticated-view > strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--dark-navy);
  font-size: 2rem;
}

.authenticated-view__actions {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 3rem;
}

.authenticated-view__actions .button {
  width: 100%;
  white-space: nowrap;
}

.authenticated-view__actions .text-action {
  margin: 0 auto;
}

.access-hero__scroll {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 50%;
  display: flex;
  justify-content: center;
  padding: 7.5rem;
  transform: translateY(50%) translate(-50%);
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
}

.access-hero__scroll .icon {
  position: absolute;
  top: 2.7rem;
  width: 3.6rem;
  height: 3.6rem;
}

.video-stage {
  padding: 11rem 0 12rem;
  background: #fff;
}

.video-stage__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 6rem;
}

.video-stage__header h2 {
  max-width: 72rem;
  margin: 0;
  color: var(--dark-navy);
  font-size: 5.6rem;
  line-height: 1.06;
}

.section-kicker {
  color: var(--font-color-3);
}

.video-progress {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  min-width: 16rem;
  border-bottom: .4rem solid var(--primary-color);
  padding-bottom: 1.2rem;
  color: var(--dark-navy);
}

.video-progress strong {
  font-size: 5.6rem;
  line-height: 1;
}

.video-progress > span {
  color: var(--font-color-4);
  font-size: 2.4rem;
}

.video-progress small {
  grid-column: 1 / -1;
  margin-top: .4rem;
  color: var(--font-color-3);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.video-sequence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
}

.video-item {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 38rem;
  overflow: hidden;
  border: 1px solid #d9d9d9;
  border-radius: var(--course-card-radius);
  background: #fff;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.video-item:first-child {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.65fr) minmax(30rem, .75fr);
  grid-template-rows: 1fr;
  min-height: 50rem;
  border-color: var(--dark-navy);
}

.video-item:last-child:not(:first-child) {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr;
  min-height: 30rem;
}

.video-item:last-child:not(:first-child) .video-item__media {
  min-height: 30rem;
}

.video-item:last-child:not(:first-child) .video-item__body {
  justify-content: center;
  padding: 4rem;
}

.video-item:not(:first-child):hover {
  transform: translateY(-.4rem);
  border-color: var(--dark-navy);
  box-shadow: 0 1.8rem 4rem rgba(18, 30, 44, .1);
}

.video-item__media {
  position: relative;
  display: grid;
  min-height: 22rem;
  place-items: center;
  overflow: hidden;
  background: var(--dark-navy);
}

.video-item:first-child .video-item__media {
  min-height: 50rem;
}

.video-item__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-item__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: inherit;
  place-items: center;
  padding: 3rem;
  color: #fff;
  text-align: center;
}

.video-item__placeholder-inner {
  display: grid;
  justify-items: center;
  gap: 1.6rem;
}

.video-item__index {
  color: var(--primary-color);
  font-family: "Sofia Sans Semi Condensed", sans-serif;
  font-size: 8rem;
  line-height: 1;
}

.video-item:first-child .video-item__index {
  font-size: 12rem;
}

.video-item__state {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
}

.video-item__body {
  display: flex;
  flex-direction: column;
  padding: 2.6rem;
}

.video-item:first-child .video-item__body {
  justify-content: center;
  padding: 5rem;
}

.video-item__meta {
  margin: 0 0 1.3rem;
  color: var(--font-color-3);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.video-item__title {
  margin: 0;
  color: var(--dark-navy);
  font-size: 2.6rem;
  line-height: 1.18;
}

.video-item:first-child .video-item__title {
  font-size: 3.8rem;
}

.video-item__speaker {
  margin: 1.3rem 0 0;
  color: var(--font-color-2);
  font-size: 1.6rem;
  font-weight: 700;
}

.video-item__description {
  margin: 2rem 0 0;
  color: var(--font-color-3);
  font-size: 1.5rem;
  line-height: 1.55;
}

.video-item__gate-link {
  margin-top: 3rem;
  align-self: flex-start;
}

.reveal-on-scroll,
.video-item {
  opacity: 0;
  transform: translateY(2.4rem);
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .55s ease, transform .55s ease, border-color .25s ease, box-shadow .25s ease;
}

.newsletter .wrapper {
  align-items: center;
}

.newsletter__heading {
  align-self: center;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(2rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes panel-enter {
  from { opacity: 0; transform: translateY(3rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1199px) {
  .access-hero__content {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(38rem, 46rem);
    gap: 4rem;
    padding-right: 3rem;
    padding-left: 3rem;
  }

  .access-hero h1 {
    font-size: 5.6rem;
  }

  .access-hero__lead {
    font-size: 1.8rem;
  }

  .video-stage {
    padding-right: 3rem;
    padding-left: 3rem;
  }
}

@media (max-width: 899px) {
  .access-hero,
  .access-hero__content {
    min-height: 0;
  }

  .access-hero__content {
    grid-template-columns: 1fr;
    gap: 5rem;
    padding-top: 7rem;
    padding-bottom: 10rem;
  }

  .access-hero__intro {
    max-width: 52rem;
  }

  .access-hero__edition {
    width: 12rem;
    margin-bottom: 3rem;
  }

  .video-item:first-child {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .video-item:first-child .video-item__media {
    min-height: 42rem;
  }

  .video-item:first-child .video-item__body {
    padding: 4rem;
  }
}

@media (max-width: 599px) {
  .access-hero__content {
    width: calc(100% - 4rem);
    max-width: calc(100% - 4rem);
    gap: 4rem;
    margin-right: 2rem;
    margin-left: 2rem;
    padding: 5rem 0 9rem;
  }

  .access-hero__edition {
    width: 9rem;
    margin-bottom: 2.4rem;
  }

  .access-hero h1 {
    font-size: 4rem;
    line-height: 1.3;
  }

  .access-hero__lead {
    margin-top: 2rem;
    font-size: 1.7rem;
  }

  .access-panel {
    width: 100%;
    max-width: none;
    padding: 2.4rem 2rem;
  }

  .access-panel__number {
    flex-basis: 5rem;
    width: 5rem;
    height: 5rem;
  }

  .access-panel h2 {
    font-size: 2.6rem;
  }

  .access-form__row {
    grid-template-columns: 1fr;
  }

  .authenticated-view__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .video-stage {
    padding: 9rem 2rem 8rem;
  }

  .video-stage__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
  }

  .video-stage__header h2 {
    font-size: 4rem;
  }

  .video-progress {
    min-width: 13rem;
  }

  .video-progress strong {
    font-size: 4.6rem;
  }

  .video-sequence {
    grid-template-columns: 1fr;
  }

  .video-item,
  .video-item:first-child {
    grid-column: auto;
    min-height: 0;
  }

  .video-item:last-child:not(:first-child) {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: 0;
  }

  .video-item:first-child .video-item__media,
  .video-item:last-child:not(:first-child) .video-item__media,
  .video-item__media {
    min-height: 26rem;
  }

  .video-item:first-child .video-item__index {
    font-size: 8rem;
  }

  .video-item:first-child .video-item__body,
  .video-item:last-child:not(:first-child) .video-item__body,
  .video-item__body {
    padding: 2.6rem 2.2rem;
  }

  .video-item:first-child .video-item__title,
  .video-item__title {
    font-size: 2.5rem;
  }
}

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

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