:root {
  color-scheme: light;
  font-family: "Manrope", system-ui, sans-serif;
  color: #102b49;
  background: #f7faff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #f7faff;
}

button,
input {
  font: inherit;
}

.access-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
}

.access-panel {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  padding: 48px 48px 76px;
  background: rgba(248, 251, 255, 0.98);
  box-shadow: 18px 0 48px rgba(4, 22, 40, 0.15);
}

.access-panel__content {
  width: 100%;
  max-width: 330px;
  margin-inline: auto;
}

.access-logo {
  display: block;
  width: min(230px, 82%);
  height: auto;
  margin-bottom: 34px;
}

.access-eyebrow {
  margin: 0 0 8px;
  color: #007dce;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 290px;
  margin: 0;
  color: #102b49;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.access-intro {
  margin: 16px 0 28px;
  color: #687a8e;
  font-size: 0.86rem;
  line-height: 1.55;
}

label {
  display: block;
  margin-bottom: 9px;
  color: #203a57;
  font-size: 0.76rem;
  font-weight: 800;
}

.password-field {
  position: relative;
}

.password-field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 62px 10px 40px;
  color: #102b49;
  border: 1px solid #b8cce2;
  border-radius: 10px;
  outline: none;
  background: #eaf3ff;
  box-shadow: 0 2px 7px rgba(15, 37, 64, 0.05) inset;
}

.password-field input:focus {
  border-color: #007dce;
  box-shadow: 0 0 0 3px rgba(0, 125, 206, 0.16);
}

.password-field input[aria-invalid="true"] {
  border-color: #c43131;
}

.password-field__lock {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-size: 0.82rem;
  opacity: 0.55;
}

.password-field__toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  padding: 5px;
  color: #55718f;
  border: 0;
  background: transparent;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.access-error {
  margin: 10px 0 0;
  color: #ad2020;
  font-size: 0.76rem;
  line-height: 1.4;
}

.access-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  color: #fff;
  border: 0;
  border-radius: 10px;
  background: #123a61;
  box-shadow: 0 8px 18px rgba(15, 37, 64, 0.18);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.access-submit:hover {
  background: #0d3154;
}

.access-submit:focus-visible,
.password-field__toggle:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(0, 125, 206, 0.35);
  outline-offset: 2px;
}

.access-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.access-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 16px;
  color: #728398;
  font-size: 0.68rem;
  white-space: nowrap;
}

.access-divider::before,
.access-divider::after {
  width: 100%;
  height: 1px;
  background: #d6e0eb;
  content: "";
}

.google-coming-soon {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #8a9bad;
  border: 1px solid #d6e0eb;
  border-radius: 10px;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 1;
}

.google-mark {
  color: #4285f4;
  font-size: 1rem;
  font-weight: 800;
}

.access-legal {
  margin: 40px 0 0;
  color: #789;
  font-size: 0.67rem;
  text-align: center;
}

.access-legal a {
  color: #346c9e;
}

.access-powered {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  margin: 0;
  color: #778a9e;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.access-powered strong {
  color: #163f6d;
  font-weight: 800;
}

.access-visual {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 64px;
  background: #0d2035;
}

.access-backgrounds {
  position: absolute;
  inset: -28px;
  overflow: hidden;
}

.access-backgrounds::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 15, 27, 0.5),
    rgba(5, 23, 40, 0.86)
  );
  content: "";
}

.access-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: blur(15px);
  transform: scale(1.08);
  transition: opacity 900ms ease;
}

.access-background.is-active {
  opacity: 1;
}

.access-photo-card {
  position: relative;
  z-index: 1;
  width: min(760px, 78%);
  margin: 0;
}

.access-photo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 16px;
  background: #102b49;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.44);
}

.access-photo-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.025);
  transition:
    opacity 700ms ease,
    transform 5.5s ease;
}

.access-photo-slide:first-child {
  object-position: center 42%;
}

.access-photo-slide:nth-child(2) {
  object-position: 55% center;
}

.access-photo-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.access-photo-dots {
  position: absolute;
  top: calc(100% + 17px);
  right: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.access-photo-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition:
    width 180ms ease,
    border-radius 180ms ease,
    background 180ms ease;
}

.access-photo-dots button.is-active {
  width: 24px;
  border-color: #f4b517;
  border-radius: 8px;
  background: #f4b517;
}

.access-photo-dots button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}

.access-visual__message {
  position: absolute;
  z-index: 1;
  bottom: 38px;
  left: 54px;
  max-width: 430px;
  color: #fff;
}

.access-visual__message span {
  color: #f4b517;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.access-visual__message p {
  margin: 8px 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.access-noscript {
  padding: 14px;
  color: #fff;
  background: #a52222;
  text-align: center;
}

@media (max-width: 760px) {
  .access-shell {
    grid-template-columns: 1fr;
  }

  .access-panel {
    min-height: 100vh;
    padding: 36px 24px 68px;
  }

  .access-panel__content {
    max-width: 420px;
  }

  .access-logo {
    margin-bottom: 30px;
  }

  .access-visual {
    display: none;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .access-shell {
    grid-template-columns: minmax(320px, 390px) 1fr;
  }

  .access-panel {
    padding: 38px 38px 70px;
  }

  .access-visual {
    padding: 42px;
  }

  .access-photo-card {
    width: 88%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .access-background,
  .access-photo-slide {
    transition: none;
  }
}
