@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #e8eef5;
  --muted: #93a0ae;
  --paper: #07090c;
  --metal: #0b0e12;
  --signal: #2f7dff;
  --hairline: #232a33;
  --edge: clamp(26px, 3.2vw, 64px);
  --settle: cubic-bezier(.16, 1, .3, 1);
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body, p, h1 { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
::selection { color: var(--paper); background: #1c4fb0; }
:focus-visible { outline: 2px solid #6aa6ff; outline-offset: 4px; }
.spread { display: grid; grid-template-columns: minmax(0, 1.26fr) minmax(0, 1fr); min-height: 100vh; min-height: 100svh; }
.plate { display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; position: relative; overflow: hidden; padding: var(--edge); background: var(--metal); }
.art, .stage, .sculpture { position: absolute; inset: 0; pointer-events: none; }
.art { z-index: -1; overflow: hidden; }
.stage { perspective: 1200px; }
.sculpture {
  inset: -2%;
  background: var(--metal) url("assets/delta.webp") center / cover no-repeat;
  transform: translate3d(var(--shift-x, 0px),var(--shift-y, 0px),0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) scale(1.015);
}
.inspection { display: block; width: 100%; height: 100%; }
.assembly { display: none; }
.spark { stroke-dasharray: 4 96; stroke-dashoffset: 4; opacity: 0; }
.seam { opacity: 0; transition: opacity .24s; }
.spread:focus-within .seam { opacity: .7; }
.masthead, .plate-footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.masthead { justify-content: flex-start; width: fit-content; gap: 10px; }
.masthead img { width: 34px; height: auto; }
.masthead p { font-size: clamp(24px, 2.1vw, 36px); line-height: 1; font-weight: 430; letter-spacing: -.04em; }
.masthead strong { font-weight: 680; }
.plate-footer { align-items: end; }
.discipline { font-size: clamp(27px, 3.1vw, 66px); line-height: .98; letter-spacing: -.04em; font-weight: 520; }
.discipline span { color: #8d99a6; }
.scale { width: clamp(44px, 5.1vw, 92px); height: 13px; border-bottom: 1px solid currentColor; background: repeating-linear-gradient(90deg,currentColor 0 1px,transparent 1px 6px) bottom / 100% 5px no-repeat; }
.scale::before, .scale::after { content: ""; width: 1px; height: 12px; background: currentColor; float: left; }
.scale::after { float: right; }
.register { position: absolute; width: 11px; height: 11px; opacity: .58; background: linear-gradient(var(--ink),var(--ink)) center / 100% 1px no-repeat, linear-gradient(var(--ink),var(--ink)) center / 1px 100% no-repeat; }
.reg-a, .reg-c { left: var(--edge); }
.reg-b, .reg-d { right: var(--edge); }
.reg-a, .reg-b { top: 20%; }
.reg-c, .reg-d { bottom: 20%; }

.access { display: grid; grid-template-rows: auto 1fr auto; padding: var(--edge) clamp(32px, 5.4vw, 120px); position: relative; }
.header-rule, .footer-rule { height: 7px; position: relative; border-top: 1px solid var(--hairline); }
.header-rule i, .footer-rule i { display: block; width: 22px; height: 3px; margin-top: -2px; background: var(--signal); }
.footer-rule { transform: rotate(180deg); }
.footer-rule i { width: 13px; background: var(--ink); }
.access-inner { place-self: center; width: 100%; max-width: 490px; padding: 48px 0; }
.clearance { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 620; line-height: 1.5; letter-spacing: .095em; text-transform: uppercase; color: var(--muted); }
.clearance svg { flex: none; }
h1 { margin: 19px 0 44px; font-size: clamp(52px, 4.75vw, 92px); letter-spacing: -.04em; font-weight: 520; line-height: .98; }
h1 span { color: var(--signal); }
fieldset { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.field + .field { margin-top: 23px; }
label { display: block; margin: 0 0 9px; font-size: 14px; font-weight: 570; letter-spacing: -.012em; }
input { width: 100%; height: 54px; min-width: 0; border: 1px solid #323b46; background: #0d1116; border-radius: 3px; padding: 0 16px; color: var(--ink); font-size: 16px; transition: background .18s, border-color .18s; }
input::placeholder { color: #6f7b88; opacity: 1; }
input:hover { border-color: #536070; }
input:focus { outline: 2px solid var(--ink); outline-offset: 1px; background: #10151b; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 56px; }
#visibility { position: absolute; top: 5px; bottom: 5px; right: 4px; width: 44px; display: grid; place-items: center; border: 0; color: #93a0ae; background: transparent; }
#visibility svg { width: 21px; height: 21px; }
#visibility:hover { color: var(--ink); }
#visibility .slash { display: none; }
#visibility[aria-pressed=true] .slash { display: block; }
.submit { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 27px; padding: 0 20px; height: 56px; background: var(--ink); color: var(--paper); border: 0; border-radius: 3px; text-align: left; font-weight: 540; letter-spacing: -.025em; transition: background .18s, transform .15s var(--settle); }
.submit svg { color: #1f5fd6; transition: transform .28s var(--settle); }
.submit:hover { background: #ffffff; }
.submit:hover svg, .submit:focus-visible svg { transform: translateX(3px); }
.submit:active { transform: scale(.994); }
.status { font-size: 14px; line-height: 1.45; color: #8fbcff; }
.status:not(:empty) { margin-top: 16px; }

@media (min-width: 1700px) { .access { padding-inline: 13%; } }
@media (min-width: 761px) and (max-width: 1100px) {
  .spread { grid-template-columns: minmax(0, 1.05fr) minmax(0,1fr); }
  .access { padding-inline: 36px; }
  h1 { font-size: clamp(44px,5.15vw,60px); }
}
@media (max-width: 760px) {
  :root { --edge: 24px; }
  .spread { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .plate { min-height: 210px; height: clamp(210px, 32svh, 330px); }
  .art { left: 40%; }
  .sculpture { background-size: cover; background-position: center; }
  .art::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 27%; background: linear-gradient(90deg,var(--metal),transparent); }
  .masthead { gap: 7px; }
  .masthead p { font-size: 23px; }
  .masthead img { width: 27px; }
  .discipline { font-size: clamp(23px,4.8vw,34px); }
  .scale, .reg-a, .reg-c, .reg-d { display: none; }
  .reg-b { top: 14px; right: 14px; }
  .access { padding: 0 var(--edge) 22px; }
  .header-rule { display: none; }
  .access-inner { max-width: 500px; padding: clamp(32px,5.4svh,58px) 0 42px; }
  .footer-rule { margin-top: auto; }
  h1 { font-size: clamp(48px, 9.8vw, 65px); margin: 13px 0 29px; }
  .field + .field { margin-top: 17px; }
  .submit { margin-top: 22px; }
}
@media (max-width: 365px) { :root { --edge: 18px; } }
@media (min-width: 761px) and (min-aspect-ratio: 17/10), (max-width: 365px) {
  .discipline { background: #0b0e12; padding: .17em .26em .2em; }
}
@media (prefers-reduced-motion: no-preference) {
  .assembling .assembly { display: inline; }
  .assembling .facet { animation: fold-in .72s var(--delay) var(--settle) backwards; }
  .facet-left { --x: -42px; --y: -20px; --delay: 60ms; }
  .facet-base { --x: 0px; --y: 48px; --delay: 200ms; }
  .facet-right { --x: 48px; --y: -16px; --delay: 320ms; }
  @keyframes fold-in { from { transform: translate(var(--x), var(--y)); opacity: .25; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sculpture, .submit:active, .submit:hover svg, .submit:focus-visible svg { transform: none; }
}

.stage::after { content: ""; position: absolute; inset: 58% 0 0 0; background: linear-gradient(180deg, transparent, rgba(5,7,10,.82)); }
.discipline span { color: #a9b6c4; }

a.submit { text-decoration: none; margin-top: 34px; }
