/* NCC private-access gate. Shared by every public site page. */
html.ncc-locked,
html.ncc-unlocking,
html.ncc-locked body,
html.ncc-unlocking body {
  overflow: hidden;
}

html.ncc-locked body > :not(.access-gate):not(script):not(style) {
  visibility: hidden !important;
}

.access-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  min-height: 100vh;
  min-height: 100svh;
  overflow: auto;
  place-items: center;
  padding: clamp(14px, 3vw, 36px);
  color: var(--ink, #1a1a1a);
  background:
    radial-gradient(circle at 14% 8%, rgba(192, 29, 46, 0.13), transparent 30%),
    linear-gradient(rgba(26, 26, 26, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 26, 0.032) 1px, transparent 1px),
    var(--surface, #f6f4f2);
  background-size: auto, 72px 72px, 72px 72px, auto;
  opacity: 1;
  transition: opacity 0.48s ease, visibility 0.48s ease;
}

html.ncc-locked .access-gate,
html.ncc-unlocking .access-gate {
  display: grid;
  visibility: visible;
}

.access-gate.is-unlocking {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.access-gate__shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  width: min(1120px, 100%);
  min-height: min(700px, calc(100svh - clamp(28px, 6vw, 72px)));
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: clamp(18px, 2.2vw, 30px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 38px 100px -44px rgba(26, 26, 26, 0.46);
}

.access-gate__content {
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 5.4vw, 76px);
}

.access-gate__brand {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
}

.access-gate__brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.access-gate__wordmark {
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.access-gate__wordmark small {
  display: block;
  margin-top: 5px;
  color: var(--muted, #606670);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.access-gate__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
  padding-block: clamp(48px, 8vh, 94px) clamp(38px, 6vh, 72px);
}

.access-gate__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--crimson, #c01d2e);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.access-gate__eyebrow::before {
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
}

.access-gate h1 {
  max-width: 8ch;
  margin-top: 20px;
  font-size: clamp(2.6rem, 5.2vw, 4.9rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.access-gate__intro {
  max-width: 43ch;
  margin-top: 24px;
  color: rgba(26, 26, 26, 0.68);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.65;
}

.access-gate__form {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.access-gate__form label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.access-gate__field {
  position: relative;
}

.access-gate__field input {
  width: 100%;
  height: 58px;
  padding: 0 74px 0 18px;
  border: 1px solid var(--border, #e3e3e3);
  border-radius: 12px;
  outline: 0;
  background: var(--surface, #f6f4f2);
  color: var(--ink, #1a1a1a);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.access-gate__field input::placeholder {
  color: rgba(96, 102, 112, 0.7);
  letter-spacing: 0;
}

.access-gate__field input:focus {
  border-color: var(--crimson, #c01d2e);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(192, 29, 46, 0.1);
}

.access-gate__form.is-invalid .access-gate__field input {
  border-color: var(--crimson, #c01d2e);
  box-shadow: 0 0 0 4px rgba(192, 29, 46, 0.08);
}

.access-gate__reveal {
  position: absolute;
  top: 50%;
  right: 10px;
  min-width: 54px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted, #606670);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transform: translateY(-50%);
}

.access-gate__reveal:hover {
  background: rgba(26, 26, 26, 0.055);
  color: var(--ink, #1a1a1a);
}

.access-gate__submit {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px;
  border: 1px solid var(--crimson, #c01d2e);
  border-radius: 12px;
  background: var(--crimson, #c01d2e);
  color: #fff;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 34px -18px rgba(192, 29, 46, 0.78);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.2s ease;
}

.access-gate__submit:hover {
  box-shadow: 0 20px 42px -18px rgba(192, 29, 46, 0.88);
  transform: translateY(-2px);
}

.access-gate__submit:active {
  filter: brightness(0.93);
  transform: translateY(0);
}

.access-gate__submit:disabled {
  cursor: wait;
  filter: saturate(0.5);
  opacity: 0.72;
  transform: none;
}

.access-gate__submit span:last-child {
  font-size: 1.18rem;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.access-gate__submit:hover span:last-child {
  transform: translateX(4px);
}

.access-gate__status {
  min-height: 1.3em;
  color: var(--muted, #606670);
  font-size: 0.78rem;
  line-height: 1.4;
}

.access-gate__form.is-invalid .access-gate__status {
  color: var(--crimson, #c01d2e);
}

.access-gate__footnote {
  color: var(--muted, #606670);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.access-gate__visual {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(30px, 4vw, 52px);
  color: #fff;
  background:
    radial-gradient(circle at 50% 48%, rgba(192, 29, 46, 0.28), transparent 37%),
    #1a1a1a;
}

.access-gate__visual::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 82%, transparent);
}

.access-gate__private {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.access-gate__private::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e0616e;
  box-shadow: 0 0 0 5px rgba(224, 97, 110, 0.12);
  content: "";
}

.access-gate__orbit {
  position: relative;
  width: min(31vw, 360px);
  max-width: 100%;
  aspect-ratio: 1;
  align-self: center;
  margin-block: clamp(30px, 6vh, 64px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.access-gate__orbit::before,
.access-gate__orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.access-gate__orbit::before {
  inset: 14%;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  animation: accessOrbit 28s linear infinite;
}

.access-gate__orbit::after {
  inset: 38%;
  background: var(--crimson, #c01d2e);
  box-shadow: 0 0 0 16px rgba(192, 29, 46, 0.11), 0 0 72px rgba(192, 29, 46, 0.42);
}

.access-gate__axis {
  position: absolute;
  top: 50%;
  left: 4%;
  width: 92%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5) 18%, rgba(255, 255, 255, 0.5) 82%, transparent);
  transform: rotate(-18deg);
}

.access-gate__axis::before,
.access-gate__axis::after {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 2px solid #1a1a1a;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
  content: "";
  transform: translateY(-50%);
}

.access-gate__axis::before { left: 8%; }
.access-gate__axis::after { right: 8%; }

.access-gate__node {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.access-gate__node--jp { top: 29%; right: -1%; }
.access-gate__node--gcc { bottom: 24%; left: -2%; }
.access-gate__node--ncc { top: 50%; left: 50%; color: #fff; transform: translate(-50%, -50%); }

.access-gate__visual-copy {
  max-width: 28ch;
}

.access-gate__visual-copy strong {
  display: block;
  font-size: clamp(1.24rem, 2vw, 1.72rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.access-gate__visual-copy span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-gate__noscript {
  margin-top: 12px;
  color: var(--crimson, #c01d2e);
  font-size: 0.78rem;
}

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

@media (max-width: 800px) {
  .access-gate {
    align-items: start;
    padding: 12px;
  }

  .access-gate__shell {
    grid-template-columns: 1fr;
    min-height: calc(100svh - 24px);
  }

  .access-gate__content {
    min-height: calc(100svh - 24px);
  }

  .access-gate__visual {
    display: none;
  }

  .access-gate__copy {
    padding-block: clamp(54px, 11vh, 100px) 42px;
  }

  .access-gate h1 {
    font-size: clamp(2.7rem, 13vw, 4.35rem);
  }
}

@media (max-width: 440px) {
  .access-gate__content { padding: 26px 22px; }
  .access-gate__wordmark small { letter-spacing: 0.11em; }
  .access-gate__copy { padding-block: 48px 34px; }
  .access-gate__intro { font-size: 0.94rem; }
}

@media (prefers-reduced-motion: reduce) {
  .access-gate,
  .access-gate__orbit::before,
  .access-gate__submit,
  .access-gate__submit span:last-child {
    animation: none !important;
    transition: none !important;
  }
}
