@font-face {
  font-family: "Gaijin Shodo";
  src: url("/assets/fonts/Gaijin-Shodo.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #0d0d0d;
  --paper: #fbfaf6;
  --red: #b7151b;
  --line: rgba(13, 13, 13, 0.17);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--ink);
  background:
    linear-gradient(rgba(13, 13, 13, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 13, 13, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 96px 96px;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.drop-gate {
  position: relative;
  min-height: 100svh;
  padding: clamp(20px, 3vw, 42px);
  overflow: hidden;
}

.drop-gate::before {
  position: absolute;
  top: 50%;
  right: clamp(-180px, -8vw, -60px);
  width: min(50vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(183, 21, 27, 0.16);
  border-radius: 50%;
  background: rgba(183, 21, 27, 0.055);
  content: "";
  transform: translateY(-50%);
}

.drop-gate::after {
  position: absolute;
  inset: 16px;
  border: 1px solid var(--line);
  pointer-events: none;
  content: "";
}

.drop-gate__header,
.drop-gate__footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.drop-gate__header {
  min-height: 56px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.69rem;
}

.drop-gate__header img {
  width: clamp(104px, 11vw, 152px);
  max-height: 54px;
  object-fit: contain;
}

.drop-gate__stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
  width: min(1180px, 100%);
  min-height: calc(100svh - 172px);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 104px) clamp(4px, 2vw, 28px);
}

.drop-gate__copy {
  width: min(680px, 100%);
}

.drop-gate__eyebrow {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.drop-gate__summary {
  max-width: 36rem;
  margin: clamp(16px, 2.4vw, 28px) 0 0;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  font-size: clamp(0.76rem, 1.1vw, 0.94rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.drop-gate h1 {
  margin: 0;
  font-family: "Gaijin Shodo", serif;
  font-size: clamp(5.5rem, 12vw, 11rem);
  font-weight: 400;
  line-height: 0.7;
  letter-spacing: -0.035em;
}

.drop-gate__date {
  margin: clamp(34px, 4vw, 56px) 0;
  font-family: "Gaijin Shodo", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.015em;
}

.drop-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(76px, 1fr));
  width: min(650px, 100%);
  border-block: 1px solid var(--ink);
}

.drop-countdown div {
  display: grid;
  min-width: 0;
  padding: clamp(16px, 2.2vw, 28px) 10px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.drop-countdown div:last-child {
  border-right: 0;
}

.drop-countdown strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.drop-countdown span {
  margin-top: 9px;
  color: #656565;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.drop-signup {
  width: min(650px, 100%);
  margin-top: 38px;
}

.drop-signup > label:first-child,
.drop-access > label:first-child {
  display: block;
  margin-bottom: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.drop-signup__row,
.drop-access__row {
  display: grid;
  grid-template-columns: 1fr auto;
}

.drop-signup__row input,
.drop-access__row input {
  min-width: 0;
  height: 58px;
  border: 1px solid var(--ink);
  border-right: 0;
  border-radius: 0;
  padding: 0 18px;
  color: var(--ink);
  outline: none;
  background: rgba(255, 255, 255, 0.74);
}

.drop-signup__row input:focus,
.drop-access__row input:focus {
  box-shadow: inset 0 0 0 2px var(--red);
}

.drop-signup__row button,
.drop-access__row button {
  position: relative;
  height: 58px;
  border: 1px solid var(--ink);
  padding: 0 24px;
  color: #fff;
  background: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.drop-signup__row button::after,
.drop-access__row button::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 13px;
  height: 13px;
  background: var(--red);
  content: "";
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.drop-signup__row button:disabled,
.drop-access__row button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.drop-signup__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 13px;
  color: #5f5f5f;
  font-size: 0.72rem;
  line-height: 1.45;
}

.drop-signup__consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--red);
}

.drop-signup__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.drop-form-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.drop-form-status.is-success {
  color: #215d37;
}

.drop-access-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(650px, 100%);
  margin-top: 19px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  background: transparent;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.drop-access-toggle span {
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform 180ms ease;
}

.drop-access-toggle[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.drop-access {
  width: min(650px, 100%);
  padding-top: 20px;
}

.drop-guide {
  position: relative;
  align-self: end;
  justify-self: end;
  width: min(380px, 100%);
  min-height: 500px;
}

.drop-guide img {
  position: absolute;
  right: -12px;
  bottom: -10px;
  width: min(290px, 72%);
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(18px 24px 0 rgba(13, 13, 13, 0.08));
  animation: guideArrive 720ms steps(6, end) 280ms both;
}

.drop-guide__bubble {
  position: relative;
  z-index: 1;
  width: min(330px, 90%);
  min-height: 142px;
  border: 4px solid var(--ink);
  padding: 22px 24px;
  background: #fff;
  box-shadow:
    7px 0 0 #fff,
    -7px 0 0 #fff,
    0 7px 0 #fff,
    0 -7px 0 #fff,
    10px 10px 0 var(--ink);
}

.drop-guide__bubble::after {
  position: absolute;
  right: 42px;
  bottom: -22px;
  width: 28px;
  height: 28px;
  border-right: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.drop-guide__bubble p {
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.55;
}

.drop-guide__bubble p::after {
  display: inline-block;
  width: 0.65em;
  height: 1em;
  margin-left: 4px;
  background: var(--red);
  vertical-align: -0.18em;
  content: "";
  animation: cursorBlink 650ms steps(1, end) infinite;
}

.drop-gate__footer {
  min-height: 50px;
  border-top: 1px solid var(--ink);
  color: #616161;
  font-size: 0.62rem;
}

.drop-gate__footer a {
  color: inherit;
  text-decoration: none;
}

@keyframes guideArrive {
  from {
    opacity: 0;
    transform: translate(22px, 16px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes cursorBlink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 860px) {
  body {
    background-size: 58px 58px;
  }

  .drop-gate {
    padding: 14px;
  }

  .drop-gate::after {
    inset: 7px;
  }

  .drop-gate::before {
    top: 30%;
    right: -40vw;
    width: 90vw;
  }

  .drop-gate__header {
    min-height: 66px;
    padding-inline: 6px;
  }

  .drop-gate__header span {
    max-width: 150px;
    text-align: right;
    line-height: 1.45;
  }

  .drop-gate__stage {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 58px 10px 40px;
  }

  .drop-gate h1 {
    font-size: clamp(5.2rem, 27vw, 8rem);
  }

  .drop-gate__date {
    margin: 30px 0 34px;
  }

  .drop-countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .drop-countdown div:nth-child(2) {
    border-right: 0;
  }

  .drop-countdown div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .drop-signup__row,
  .drop-access__row {
    grid-template-columns: 1fr;
  }

  .drop-signup__row input,
  .drop-access__row input {
    border-right: 1px solid var(--ink);
    border-bottom: 0;
  }

  .drop-signup__row button,
  .drop-access__row button {
    width: 100%;
  }

  .drop-guide {
    justify-self: center;
    width: min(380px, 100%);
    min-height: 390px;
    margin-top: 54px;
  }

  .drop-guide img {
    right: 4px;
    width: min(210px, 62%);
  }

  .drop-guide__bubble {
    width: 85%;
    min-height: 128px;
    padding: 19px;
  }

  .drop-gate__footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 6px;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Keep the launch gate proportional to the visual viewport. */
.drop-gate-body {
  width: 100%;
  height: var(--viewport-height, 100dvh);
  min-height: 0;
  overflow: hidden;
}

.drop-gate-body .drop-gate {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: var(--viewport-height, 100dvh);
  min-height: 0;
  padding: clamp(10px, 2vw, 24px) clamp(14px, 2.4vw, 32px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 720ms ease, visibility 720ms ease;
}

.drop-gate-body.drop-intro-complete .drop-gate {
  opacity: 1;
  visibility: visible;
}

.drop-gate-body .drop-gate::after {
  inset: clamp(5px, 0.8vw, 12px);
}

.drop-gate-body .drop-gate__header {
  min-height: clamp(42px, 7vh, 58px);
}

.drop-gate-body .drop-gate__header img {
  width: clamp(86px, 9vw, 124px);
  max-height: clamp(38px, 6vh, 50px);
}

.drop-gate-body .drop-gate__stage {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: clamp(22px, 4vw, 72px);
  width: min(1160px, 100%);
  min-height: 0;
  height: 100%;
  padding: clamp(12px, 2.4vh, 28px) 0;
}

.drop-gate-body .drop-gate__copy {
  align-self: center;
  width: min(640px, 100%);
}

.drop-gate-body .drop-gate__eyebrow {
  margin-bottom: clamp(8px, 1.4vh, 16px);
}

.drop-gate-body .drop-gate__summary {
  margin-top: clamp(9px, 1.7vh, 18px);
}

.drop-gate-body .drop-gate h1 {
  font-size: clamp(4.2rem, 10.2vmin, 8.3rem);
  line-height: 0.66;
}

.drop-gate-body .drop-gate__date {
  margin: clamp(14px, 2.6vh, 30px) 0;
  font-size: clamp(1.35rem, 2.8vmin, 2.35rem);
}

.drop-gate-body .drop-countdown div {
  padding: clamp(9px, 1.7vh, 18px) 8px;
}

.drop-gate-body .drop-countdown strong {
  font-size: clamp(1.7rem, 3.4vmin, 3rem);
}

.drop-gate-body .drop-countdown span {
  margin-top: 5px;
  font-size: 0.54rem;
}

.drop-gate-body .drop-signup {
  margin-top: clamp(14px, 2.5vh, 26px);
}

.drop-gate-body .drop-signup > label:first-child,
.drop-gate-body .drop-access > label:first-child {
  margin-bottom: 7px;
}

.drop-gate-body .drop-signup__row input,
.drop-gate-body .drop-access__row input,
.drop-gate-body .drop-signup__row button,
.drop-gate-body .drop-access__row button {
  height: clamp(44px, 6.2vh, 54px);
}

.drop-gate-body .drop-signup__consent {
  margin-top: 8px;
  font-size: 0.66rem;
}

.drop-gate-body .drop-form-status {
  min-height: 15px;
  margin-top: 5px;
  font-size: 0.66rem;
}

.drop-gate-body .drop-access-toggle {
  margin-top: 3px;
  padding: 9px 0;
}

.drop-gate-body .drop-access {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 30;
  width: min(450px, calc(100vw - 32px));
  padding: 24px;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow:
    0 0 0 100vmax rgba(13, 13, 13, 0.52),
    14px 14px 0 rgba(13, 13, 13, 0.18);
  transform: translate(-50%, -50%);
}

.drop-gate-body .drop-access[hidden] {
  display: none;
}

.drop-gate-body .drop-guide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 1.25fr) minmax(120px, 0.75fr);
  column-gap: clamp(18px, 2vw, 28px);
  align-items: center;
  align-self: center;
  justify-self: stretch;
  width: 100%;
  height: min(52vh, 430px);
  min-height: 0;
}

.drop-gate-body .drop-guide img {
  position: static;
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 210px;
  max-height: 100%;
  object-fit: contain;
  animation: guideArrive 720ms steps(6, end) 280ms both;
}

.drop-gate-body .drop-guide__bubble {
  align-self: center;
  width: 100%;
  min-height: 118px;
  padding: clamp(16px, 2vw, 22px);
}

.drop-gate-body .drop-guide__bubble::before,
.drop-gate-body .drop-guide__bubble::after {
  position: absolute;
  top: 54%;
  bottom: auto;
  content: "";
  transform: translateY(-50%);
}

.drop-gate-body .drop-guide__bubble::before {
  right: -25px;
  width: 25px;
  height: 30px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.drop-gate-body .drop-guide__bubble::after {
  right: -17px;
  width: 19px;
  height: 21px;
  border: 0;
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.drop-gate-body .drop-guide__bubble p {
  font-size: clamp(0.68rem, 1vw, 0.84rem);
}

.drop-gate-body .drop-gate__footer {
  min-height: clamp(34px, 5.5vh, 46px);
}

.drop-gate-body .sound-toggle {
  right: 18px;
  bottom: clamp(48px, 7vh, 66px);
}

@media (max-width: 860px) {
  .drop-gate-body .drop-gate {
    padding: 8px 14px;
  }

  .drop-gate-body .drop-gate::after {
    inset: 4px;
  }

  .drop-gate-body .drop-gate__header {
    min-height: 48px;
    padding-inline: 4px;
  }

  .drop-gate-body .drop-gate__header img {
    width: 88px;
    max-height: 40px;
  }

  .drop-gate-body .drop-gate__header span {
    max-width: 132px;
    font-size: 0.54rem;
  }

  .drop-gate-body .drop-gate__stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, auto) minmax(118px, 0.45fr);
    align-content: center;
    gap: clamp(6px, 1.2vh, 12px);
    min-height: 0;
    height: 100%;
    padding: clamp(8px, 1.4vh, 14px) 10px;
  }

  .drop-gate-body .drop-gate__copy {
    align-self: center;
  }

  .drop-gate-body .drop-gate__eyebrow {
    margin-bottom: 7px;
    font-size: 0.58rem;
  }

  .drop-gate-body .drop-gate__summary {
    margin-top: 7px;
    font-size: 0.56rem;
    letter-spacing: 0.12em;
  }

  .drop-gate-body .drop-gate h1 {
    font-size: clamp(3.5rem, 16vw, 5.5rem);
    line-height: 0.62;
  }

  .drop-gate-body .drop-gate__date {
    margin: 10px 0 12px;
    font-size: clamp(1.15rem, 5vw, 1.65rem);
    line-height: 0.95;
  }

  .drop-gate-body .drop-countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .drop-gate-body .drop-countdown div {
    padding: clamp(7px, 1.2vh, 11px) 3px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .drop-gate-body .drop-countdown div:last-child {
    border-right: 0;
  }

  .drop-gate-body .drop-countdown strong {
    font-size: clamp(1.35rem, 6.5vw, 2rem);
  }

  .drop-gate-body .drop-countdown span {
    margin-top: 3px;
    font-size: 0.43rem;
    letter-spacing: 0.12em;
  }

  .drop-gate-body .drop-signup {
    margin-top: 10px;
  }

  .drop-gate-body .drop-signup > label:first-child {
    margin-bottom: 5px;
    font-size: 0.55rem;
  }

  .drop-gate-body .drop-signup__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .drop-gate-body .drop-signup__row input {
    height: 44px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
    padding-inline: 12px;
  }

  .drop-gate-body .drop-signup__row button {
    width: auto;
    height: 44px;
    padding-inline: 14px;
    font-size: 0.52rem;
  }

  .drop-gate-body .drop-signup__consent {
    gap: 7px;
    margin-top: 6px;
    font-size: 0.56rem;
    line-height: 1.25;
  }

  .drop-gate-body .drop-signup__consent input {
    width: 13px;
    height: 13px;
  }

  .drop-gate-body .drop-form-status {
    min-height: 11px;
    margin-top: 3px;
    font-size: 0.54rem;
  }

  .drop-gate-body .drop-access-toggle {
    margin-top: 0;
    padding: 7px 0;
    font-size: 0.54rem;
  }

  .drop-gate-body .drop-guide {
    grid-template-columns: minmax(0, 1fr) 106px;
    column-gap: 18px;
    width: min(390px, 100%);
    height: 100%;
    min-height: 118px;
    max-height: 185px;
    margin: 0 auto;
  }

  .drop-gate-body .drop-guide img {
    width: 100%;
    height: auto;
    max-width: 106px;
    max-height: 100%;
  }

  .drop-gate-body .drop-guide__bubble {
    width: 100%;
    min-height: 88px;
    padding: 13px 15px;
    box-shadow:
      5px 0 0 #fff,
      -5px 0 0 #fff,
      0 5px 0 #fff,
      0 -5px 0 #fff,
      7px 7px 0 var(--ink);
  }

  .drop-gate-body .drop-guide__bubble p {
    font-size: clamp(0.55rem, 2.35vw, 0.68rem);
    line-height: 1.38;
  }

  .drop-gate-body .drop-gate__footer {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    min-height: 30px;
    padding: 0 4px;
    font-size: 0.43rem;
    line-height: 1;
  }

  .drop-gate-body .sound-toggle {
    right: 10px;
    bottom: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0 11px;
  }
}

@media (max-width: 480px) {
  .drop-gate-body .preloader__content {
    min-height: min(430px, calc(var(--viewport-height, 100dvh) - 28px));
  }
}

@media (max-height: 720px) {
  .drop-gate-body .drop-gate__header {
    min-height: 40px;
  }

  .drop-gate-body .drop-gate h1 {
    font-size: clamp(3.25rem, 12vh, 5.5rem);
  }

  .drop-gate-body .drop-gate__date {
    margin-block: 7px 9px;
  }

  .drop-gate-body .drop-guide {
    max-height: 130px;
  }

  .drop-gate-body .drop-guide__bubble {
    min-height: 76px;
  }

  .drop-gate-body .drop-gate__footer {
    min-height: 25px;
  }
}

/* Guided Dallas casting application */
.model-casting-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(650px, 100%);
  min-height: 50px;
  margin-top: clamp(6px, 1.2vh, 12px);
  border: 1px solid var(--ink);
  padding: 0 18px;
  overflow: hidden;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  text-align: left;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.model-casting-trigger::before {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  content: "";
  pointer-events: none;
  clip-path: inherit;
}

.model-casting-trigger span {
  position: relative;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.19em;
}

.model-casting-trigger small {
  position: relative;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.model-casting-trigger:hover,
.model-casting-trigger:focus-visible {
  background: #8f0f14;
}

.model-casting-open {
  overflow: hidden !important;
}

.model-casting[hidden],
.model-step[hidden],
.model-ineligible[hidden],
.model-success[hidden],
[data-reference-panel][hidden] {
  display: none !important;
}

.model-casting {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.model-casting.is-open {
  opacity: 1;
  visibility: visible;
}

.model-casting__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(8, 8, 8, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 8, 8, 0.18) 1px, transparent 1px),
    rgba(8, 8, 8, 0.9);
  background-size: 54px 54px;
  backdrop-filter: blur(8px);
}

.model-casting__shell {
  position: relative;
  display: grid;
  grid-template-rows: auto 32px minmax(0, 1fr) auto;
  width: min(1020px, 100%);
  height: min(780px, calc(var(--viewport-height, 100dvh) - 36px));
  border: 1px solid #fff;
  padding: clamp(20px, 3.4vw, 46px);
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(13, 13, 13, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 13, 13, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 64px 64px;
  box-shadow:
    0 0 0 8px #0d0d0d,
    0 0 0 10px rgba(255, 255, 255, 0.25),
    30px 30px 0 rgba(0, 0, 0, 0.32);
  transform: translateY(28px) scale(0.985);
  transition: transform 320ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.model-casting.is-open .model-casting__shell {
  transform: translateY(0) scale(1);
}

.model-casting__gate {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.model-casting__gate i {
  position: absolute;
  display: block;
  background: var(--red);
  box-shadow: inset 0 0 0 3px #0d0d0d;
}

.model-casting__gate i:nth-child(1),
.model-casting__gate i:nth-child(2) {
  top: 0;
  bottom: 0;
  width: 12px;
}

.model-casting__gate i:nth-child(1) {
  left: 8px;
}

.model-casting__gate i:nth-child(2) {
  right: 8px;
}

.model-casting__gate i:nth-child(3),
.model-casting__gate i:nth-child(4) {
  right: 0;
  left: 0;
  height: 14px;
  clip-path: polygon(0 50%, 3% 0, 47% 0, 50% 36%, 53% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%);
}

.model-casting__gate i:nth-child(3) {
  top: 8px;
}

.model-casting__gate i:nth-child(4) {
  bottom: 8px;
}

.model-casting__header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
  min-height: 0;
  padding: 8px 14px 16px;
}

.model-casting__header p {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.model-casting__header h2 {
  margin: 0;
  font-family: "Gaijin Shodo", serif;
  font-size: clamp(3rem, min(6.4vw, 10vh), 5.25rem);
  font-weight: 400;
  line-height: 0.78;
}

.model-casting__close {
  position: relative;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  place-items: center;
  padding: 0 0 4px;
  background: transparent;
  font-size: 2rem;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}

.model-casting__close:hover,
.model-casting__close:focus-visible {
  color: #fff;
  background: var(--ink);
}

.model-casting__progress {
  position: relative;
  z-index: 1;
  height: 32px;
  margin-inline: 14px;
  border-top: 1px solid var(--ink);
}

.model-casting__progress::before,
.model-casting__progress > span {
  position: absolute;
  top: -4px;
  left: 0;
  height: 7px;
  content: "";
}

.model-casting__progress::before {
  width: 100%;
  background: rgba(13, 13, 13, 0.12);
}

.model-casting__progress > span {
  width: 11.11%;
  background: var(--red);
  transition: width 300ms ease;
}

.model-casting__progress p {
  position: absolute;
  top: 8px;
  right: 0;
  margin: 0;
  font: 700 0.58rem/1 "Courier New", monospace;
  letter-spacing: 0.16em;
}

.model-wizard {
  position: relative;
  z-index: 1;
  min-height: 0;
  margin: 0 14px;
  overflow: hidden auto;
  scrollbar-color: var(--red) transparent;
}

.model-step,
.model-ineligible,
.model-success {
  width: min(760px, 100%);
  min-height: 100%;
  margin: 0 auto;
  border: 0;
  padding: clamp(22px, 4vh, 44px) 0 34px;
  opacity: 0;
  transform: translateX(42px);
}

.model-step.is-active,
.model-ineligible.is-active,
.model-success.is-active {
  opacity: 1;
  transform: translateX(0);
  animation: modelInkIn 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.model-step.is-leaving-left {
  animation: modelLeaveLeft 260ms ease both;
}

.model-step.is-leaving-right {
  animation: modelLeaveRight 260ms ease both;
}

.model-step.is-entering-right {
  transform: translateX(60px);
}

.model-step.is-entering-left {
  transform: translateX(-60px);
}

.model-step legend,
.model-ineligible h3,
.model-success h3 {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, min(5vw, 8vh), 4.65rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.model-step__hint,
.model-ineligible > span,
.model-success > span {
  max-width: 590px;
  margin: 18px 0 34px;
  color: #616161;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
}

.model-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.model-choice {
  position: relative;
  display: grid;
  min-height: 126px;
  border: 1px solid var(--ink);
  padding: 28px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
  text-align: left;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.model-choice--quiet {
  color: var(--ink);
  background: transparent;
}

.model-choice:hover,
.model-choice:focus-visible {
  color: #fff;
  background: var(--red);
}

.model-choice span {
  font: 400 clamp(2rem, 4vw, 3.5rem)/1 Georgia, serif;
}

.model-choice small {
  align-self: end;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.model-field {
  display: grid;
  gap: 9px;
  width: 100%;
  margin-top: 34px;
}

.model-field > span,
.model-reference-tabs button,
.model-calendar__count,
.model-consent {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.model-field input {
  width: 100%;
  min-height: 66px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  padding: 0 4px;
  outline: none;
  background: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.model-field input:focus {
  border-color: var(--red);
  box-shadow: 0 7px 0 -5px var(--red);
}

.model-field small {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.model-measurements {
  display: grid;
  grid-template-columns: 0.7fr 0.7fr 1.2fr;
  gap: 22px;
}

.model-next,
.model-submit,
.model-ineligible button,
.model-success button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(340px, 100%);
  min-height: 58px;
  margin-top: 38px;
  border: 1px solid var(--ink);
  padding: 0 20px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.model-next:hover,
.model-next:focus-visible,
.model-submit:hover,
.model-submit:focus-visible,
.model-ineligible button:hover,
.model-success button:hover {
  background: var(--red);
}

.model-submit:disabled {
  cursor: wait;
  opacity: 0.6;
}

.model-activity {
  margin-top: 30px;
}

.model-activity output {
  display: block;
  font: 400 clamp(5rem, 13vw, 9rem)/0.8 Georgia, serif;
  font-variant-numeric: tabular-nums;
}

.model-activity input {
  width: 100%;
  margin-top: 34px;
  accent-color: var(--red);
}

.model-activity div {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: #5f5f5f;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.model-reference-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  border: 1px solid var(--ink);
}

.model-reference-tabs.model-contact-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.model-contact-panel {
  margin-top: 22px;
  border-left: 3px solid var(--red);
  padding: 14px 18px;
  color: #5f5f5f;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.model-contact-panel p {
  margin: 0;
}

.model-reference-tabs button {
  min-height: 50px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.model-reference-tabs button + button {
  border-left: 1px solid var(--ink);
}

.model-reference-tabs button.is-active {
  color: #fff;
  background: var(--ink);
}

.model-photo-drop {
  position: relative;
  display: grid;
  min-height: 190px;
  margin-top: 24px;
  border: 2px dashed var(--ink);
  place-items: center;
  padding: 24px;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
}

.model-photo-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.model-photo-drop span {
  position: relative;
  z-index: 1;
  font: 400 clamp(1.25rem, 3vw, 2rem)/1.2 Georgia, serif;
}

.model-photo-drop small {
  position: relative;
  z-index: 1;
  color: #666;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.model-photo-drop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: grayscale(1);
}

.model-calendar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
}

.model-calendar__month {
  border-top: 5px solid var(--ink);
  padding-top: 14px;
}

.model-calendar__month h4 {
  margin: 0 0 13px;
  font: 400 1.3rem/1 Georgia, serif;
}

.model-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.model-calendar__weekday,
.model-calendar__blank,
.model-calendar__grid button {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
}

.model-calendar__weekday {
  color: #717171;
  font-size: 0.52rem;
  font-weight: 900;
}

.model-calendar__grid button {
  border: 1px solid rgba(13, 13, 13, 0.18);
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  font: 700 0.7rem/1 "Courier New", monospace;
}

.model-calendar__grid button:hover,
.model-calendar__grid button:focus-visible {
  border-color: var(--red);
  color: var(--red);
}

.model-calendar__grid button.is-selected {
  border-color: var(--ink);
  color: #fff;
  background: var(--red);
  box-shadow: inset 0 0 0 2px var(--paper);
}

.model-calendar__count {
  margin: 16px 0 0;
}

.model-calendar__count strong {
  color: var(--red);
  font-size: 1.2rem;
}

.model-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: rgba(13, 13, 13, 0.18);
}

.model-review div {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 18px;
  background: var(--paper);
}

.model-review span {
  color: #696969;
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.model-review strong {
  overflow-wrap: anywhere;
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  line-height: 1.45;
}

.model-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  line-height: 1.55;
}

.model-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--red);
}

.model-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.model-status {
  position: sticky;
  bottom: 0;
  min-height: 24px;
  margin: 0;
  padding: 7px 0 4px;
  color: var(--red);
  background: var(--paper);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.model-status.is-success {
  color: #215d37;
}

.model-back {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin: 8px 14px 0;
  border: 0;
  padding: 8px 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.model-back span {
  color: var(--red);
}

.model-ineligible,
.model-success {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.model-ineligible > p,
.model-success > p {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes modelInkIn {
  from {
    opacity: 0;
    transform: translateX(42px);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes modelLeaveLeft {
  to {
    opacity: 0;
    transform: translateX(-60px);
    filter: blur(5px);
  }
}

@keyframes modelLeaveRight {
  to {
    opacity: 0;
    transform: translateX(60px);
    filter: blur(5px);
  }
}

@media (max-height: 720px) and (min-width: 861px) {
  .model-casting__shell {
    height: calc(var(--viewport-height, 100dvh) - 24px);
    padding-block: 14px;
  }

  .model-casting__header {
    padding-block: 4px 12px;
  }

  .model-casting__header p {
    margin-bottom: 6px;
  }

  .model-casting__header h2 {
    font-size: clamp(2.65rem, 8vh, 3.9rem);
  }

  .model-casting__close {
    width: 42px;
    height: 42px;
  }

  .model-step,
  .model-ineligible,
  .model-success {
    padding-top: 12px;
    padding-bottom: 4px;
  }

  .model-step legend,
  .model-ineligible h3,
  .model-success h3 {
    font-size: clamp(2.2rem, 7vh, 3.35rem);
  }

  .model-step__hint,
  .model-ineligible > span,
  .model-success > span {
    margin-block: 8px 12px;
  }

  .model-choice {
    min-height: 68px;
    padding: 10px 16px;
  }

  .model-choice span {
    font-size: 1.55rem;
  }

  .model-choice small {
    font-size: 0.5rem;
  }
}

@media (max-width: 860px) {
  .model-casting-trigger {
    min-height: 36px;
    margin-top: 3px;
    padding-inline: 12px;
  }

  .model-casting-trigger span {
    font-size: 0.55rem;
  }

  .model-casting-trigger small {
    font-size: 0.43rem;
  }

  .model-casting {
    padding: 0;
  }

  .model-casting__shell {
    width: 100%;
    height: var(--viewport-height, 100dvh);
    border: 0;
    padding: 18px 22px;
    box-shadow: none;
  }

  .model-casting__header {
    gap: 14px;
    padding: 8px 5px 14px;
  }

  .model-casting__header h2 {
    font-size: clamp(2.9rem, min(14vw, 9vh), 4.2rem);
  }

  .model-casting__close {
    width: 42px;
    height: 42px;
  }

  .model-casting__progress,
  .model-wizard {
    margin-inline: 5px;
  }

  .model-step,
  .model-ineligible,
  .model-success {
    padding-top: clamp(22px, 4vh, 32px);
  }

  .model-step legend,
  .model-ineligible h3,
  .model-success h3 {
    font-size: clamp(2.2rem, min(10vw, 7vh), 3.35rem);
  }

  .model-choice-grid,
  .model-calendar,
  .model-review {
    grid-template-columns: 1fr;
  }

  .model-choice {
    min-height: 92px;
    padding: 19px;
  }

  .model-choice span {
    font-size: 2rem;
  }

  .model-measurements {
    grid-template-columns: repeat(2, 1fr);
  }

  .model-measurements .model-field:last-child {
    grid-column: 1 / -1;
  }

  .model-calendar {
    gap: 34px;
  }

  .model-calendar__grid button {
    min-height: 36px;
  }

  .model-back {
    margin-inline: 5px;
  }
}

@media (max-width: 430px) {
  .model-casting-trigger small {
    display: none;
  }

  .model-casting__shell {
    padding-inline: 16px;
  }

  .model-field input {
    min-height: 56px;
  }
}
