
/* Anton: Copyright 2020 The Anton Project Authors, SIL OFL 1.1.
   The unmodified font and full license are served locally under /fonts/. */
@font-face { font-family: "Violet Ink"; src: url("/fonts/Anton-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
:root { color-scheme: dark; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #05030a; color: #efeaf6; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; overflow-x: hidden; isolation: isolate; }
.artwork { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.filter-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.bloom { position: fixed; z-index: -2; inset: -14%; pointer-events: none; filter: url(#ink) blur(6px); }
.bloom-back { background: radial-gradient(38% 30% at 76% 22%, rgba(168,84,255,.85), transparent 70%), radial-gradient(44% 38% at 86% 62%, rgba(120,44,220,.9), transparent 72%), radial-gradient(34% 24% at 62% 84%, rgba(204,120,255,.65), transparent 70%), radial-gradient(40% 35% at 12% 46%, rgba(84,24,170,.35), transparent 74%); animation: vr-breathe 12s ease-in-out infinite alternate; }
.bloom-front { opacity: .7; mix-blend-mode: screen; background: radial-gradient(34% 22% at 80% 38%, rgba(255,105,210,.6), transparent 72%), radial-gradient(30% 28% at 56% 12%, rgba(140,60,240,.55), transparent 74%); animation: vr-swell 9s ease-in-out infinite alternate; }
.arc { position: fixed; z-index: -1; width: 80vw; height: 80vw; right: -48vw; top: 15vh; border: 1px solid #c08cff33; border-radius: 50%; box-shadow: 0 0 0 42px #c08cff08, 0 0 0 84px #c08cff06; pointer-events: none; animation: vr-arc 1.1s ease-out both; }
.shell { min-height: 100svh; display: flex; flex-direction: column; max-width: 1600px; margin: auto; padding: 28px clamp(22px, 6vw, 88px); }
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.wordmark { display: block; flex: none; width: 99px; height: 25.2px; overflow: visible; filter: drop-shadow(0 1px 2px #150a1e) drop-shadow(0 0 5px #150a1e); }
.brand { display: flex; align-items: center; gap: 8px; }
.brand-mark { display: block; flex: none; width: 36px; height: 36px; object-fit: contain; }
[hidden] { display: none !important; }
main { width: min(100%, 680px); flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 48px 0; }
.eyebrow, footer { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 10px; letter-spacing: .19em; }
.eyebrow { color: #c1a4dd; margin-bottom: 26px; line-height: 1.7; }
h1 { margin: 0; font-size: clamp(62px, 10vw, 144px); line-height: .86; font-weight: 900; letter-spacing: -.055em; }
h1 span { display: block; padding-right: .06em; padding-bottom: .08em; background: linear-gradient(105deg, #fff 0%, #ffb0e8 20%, #d9c2ff 42%, #a8e8ff 70%, #e8d6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 span + span { color: #c08cff; -webkit-text-stroke: 0; background: none; text-shadow: 0 0 55px #a854ff33; }
form { width: min(100%, 360px); margin-top: 28px; }
label { display: block; font-size: 12px; color: #e5d9f4; margin-bottom: 10px; }
input, button { width: 100%; min-height: 52px; font: inherit; border-radius: 8px; }
input { display: block; border: 1px solid #716080; padding: 12px 15px; background: #0a0810dc; color: #fff; font-size: 17px; }
input[aria-invalid] { border-color: #ff9dcd; }
button { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 17px; border: 1px solid #d7b9ff; background: #c08cff; color: #150627; font-weight: 650; font-size: 14px; cursor: pointer; transition: background-color .18s, transform .18s; }
button:hover { background: #d2abff; transform: translateY(-2px); }
:focus-visible { outline: 2px solid #9ce9f7; outline-offset: 5px; }
.error { margin: 12px 0 0; color: #ffb6da; font-size: 13px; line-height: 1.6; }
footer { color: #ab99bf; font-size: 9px; line-height: 1.8; padding-top: 18px; border-top: 0; }
footer b { color: #c08cff; padding: 0 8px; }
/* Each source has distinct ongoing motion; the password form stays stationary. */
[data-splash="ink-bloom"] main { width: 100%; align-items: center; text-align: center; }
[data-splash="ink-bloom"] .bloom-back { background: radial-gradient(38% 26% at 30% 28%, #a854fff2, transparent 70%), radial-gradient(44% 30% at 66% 44%, #782cdce6, transparent 72%), radial-gradient(34% 24% at 40% 62%, #cc78ffcc, transparent 70%), radial-gradient(50% 34% at 58% 80%, #5418aae6, transparent 74%); }
[data-splash="ink-bloom"] .bloom-front { inset: -18%; filter: url(#ink) blur(10px); background: radial-gradient(40% 28% at 62% 22%, #be78ffcc, transparent 72%), radial-gradient(46% 32% at 34% 50%, #8c3cf0bf, transparent 74%), radial-gradient(38% 26% at 70% 72%, #e2aaff99, transparent 72%); }
[data-splash="ink-bloom"] .artwork::before { content: ""; position: absolute; inset: 0; background: radial-gradient(110% 80% at 50% 48%, transparent 18%, #05030abd 66%, #05030a 100%); }
[data-splash="ink-bloom"] .artwork::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, #00000047 0 1px, transparent 1px 3px); }
[data-splash="ink-bloom"] .eyebrow { margin-bottom: 18px; color: #c9a8ff; letter-spacing: .5em; font-size: 10px; }
body[data-splash="ink-bloom"] h1 { font-family: "Violet Ink", sans-serif; font-size: clamp(52px, 15.28vw, 118px); font-weight: 400; line-height: .88; letter-spacing: .08em; }
[data-splash="ink-bloom"] h1 span { padding: 0; background: linear-gradient(105deg, #3d1470 0%, #6a2ba8 14%, #2b0b57 28%, #8f5cd0 42%, #3d1470 56%, #5a7fc0 72%, #2b0b57 88%, #6a2ba8 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: vr-ink-ripple 5.5s linear infinite; }
[data-splash="ink-bloom"] h1 span + span { letter-spacing: .3em; text-indent: .3em; background-image: linear-gradient(105deg, #2b0b57 0%, #8f5cd0 16%, #3d1470 32%, #5a7fc0 48%, #2b0b57 64%, #6a2ba8 80%, #3d1470 100%); animation-direction: reverse; text-shadow: none; }
.ink-tagline { margin: 18px 0 0; font: 11px/1.7 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .22em; color: #cfc2e6; }
[data-splash="ink-bloom"] .arc { display: none; }
form { text-align: left; }
[data-splash="grid-horizon"] main { width: 100%; align-items: center; text-align: center; }
[data-splash="grid-horizon"] h1 { font-size: clamp(62px, 8.5vw, 120px); text-shadow: 0 3px 20px #140628, 0 0 60px #b48cff66; }
[data-splash="grid-horizon"] h1 span { color: #e5d4ff; -webkit-text-stroke: 0; background: none; }
[data-splash="grid-horizon"] h1 span + span { color: #a8f1ff; }
[data-splash="grid-horizon"] .eyebrow { color: #a8f1ff; }
.horizon-sky { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 34%, #7b2c9b99, transparent 55%), linear-gradient(#05030a 5%, #261036 52%, #07030e 78%); }
.horizon-sun { position: absolute; top: 12%; left: 50%; transform: translateX(-50%); width: clamp(220px, 32vw, 420px); aspect-ratio: 1; filter: drop-shadow(0 0 45px #be50ff55); opacity: .55; animation: vr-sun 8s ease-in-out infinite alternate; }
.horizon-floor { position: absolute; inset: 55% 0 0; overflow: hidden; mask-image: linear-gradient(transparent, #000 22%); }
.horizon-grid { display: block; width: 100%; height: 100%; fill: none; stroke: url(#floor-color); }
.horizon-grid path { vector-effect: non-scaling-stroke; stroke-width: 1.25px; stroke-linecap: round; }
.grid-rows { transform-origin: 0 0; animation: vr-grid 4s linear infinite; }
.grid-rows path { stroke: #ca95ea; stroke-opacity: .36; }
.horizon-line { position: absolute; left: 0; right: 0; top: 55%; height: 1px; background: linear-gradient(90deg, transparent, #ff5cd6, transparent); box-shadow: 0 0 40px #ff5cd6; }
[data-splash="grid-horizon"] form { padding: 20px; width: min(100%, 400px); background: #090611ee; border: 1px solid #b084d633; border-radius: 14px; }
[data-splash="relay-terminal"] { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
[data-splash="relay-terminal"] .bloom { left: 24%; opacity: .55; }
[data-splash="relay-terminal"] .arc { display: none; }
[data-splash="relay-terminal"] h1 { font-size: clamp(54px, 8vw, 112px); letter-spacing: -.055em; }
[data-splash="relay-terminal"] h1 span { background-size: 200% 100%; animation: vr-shift 12s ease-in-out infinite alternate; }
[data-splash="relay-terminal"] .eyebrow { color: #a8f1ff; }
.terminal-status { color: #b7a8cd; font-size: 12px; line-height: 1.8; margin-top: 22px; }
.terminal-status p { margin: 0 0 6px; }
.terminal-status p > span:first-child { color: #cba2ff; }
.terminal-cursor { display: inline-block; width: 8px; height: 13px; margin-left: 8px; vertical-align: -2px; background: #ff9ce4; animation: vr-cursor 1.8s ease-in-out infinite alternate; }
.terminal-field { position: absolute; left: 60%; top: 25%; width: 34%; height: 48%; display: flex; flex-direction: column; justify-content: space-around; padding: 20px 0; border-block: 1px solid #c08cff33; }
.terminal-field i { display: block; height: 3px; background: linear-gradient(90deg, #c08cff22, #c08cff, #a8f1ff); box-shadow: 0 0 20px #c08cff66; transform-origin: left; animation: vr-signal 4s ease-in-out infinite alternate; }
.terminal-field i:nth-child(2n) { animation-delay: -2s; animation-duration: 5s; }
.terminal-field i:nth-child(3n) { animation-delay: -3s; animation-duration: 6s; background: linear-gradient(90deg, #ff9ce411, #ff9ce4); }
.terminal-field i:nth-child(4n) { animation-delay: -1s; animation-duration: 3.5s; }
[data-splash="relay-terminal"] input, [data-splash="relay-terminal"] button { border-radius: 2px; }
[data-splash="seventies-arc"] { background: #150a1e; color: #f4ece0; }
[data-splash="seventies-arc"] main { align-self: flex-end; align-items: flex-end; text-align: right; }
[data-splash="seventies-arc"] h1 { font-family: ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif; font-weight: 900; letter-spacing: -.065em; font-size: clamp(62px, 9vw, 130px); }
[data-splash="seventies-arc"] h1 span { background: linear-gradient(105deg, #f4ece0, #ffc2ee, #c48cff, #9ee8ff, #f4ece0); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 0; animation: vr-shift 12s ease-in-out infinite alternate; }
[data-splash="seventies-arc"] form button { background: #f3bfdb; border-color: #f5d6e6; border-radius: 30px; }
[data-splash="seventies-arc"] form button:hover { background: #f7d5e8; }
[data-splash="seventies-arc"] footer,
[data-splash="seventies-arc"] form label { text-shadow: 0 1px 2px #150a1e, 0 0 5px #150a1e; }
[data-splash="seventies-arc"] footer { border-top: 0; }

.retro-arcs {
  position: absolute; width: min(110vw, 1520px); aspect-ratio: 1;
  left: -62vw; top: 52%; transform: translateY(-50%);
  opacity: 1; filter: none; mix-blend-mode: normal;
  animation: vr-flow 7s ease-in-out infinite alternate;
}
.retro-arcs i {
  position: absolute; inset: 0; border: clamp(18px, 3.5vw, 48px) solid;
  border-radius: 50%; opacity: 1; filter: none; mix-blend-mode: normal;
}
.retro-arcs i:nth-child(1) { inset: 0%; border-color: #8e2ce0; }
.retro-arcs i:nth-child(2) { inset: 5%; border-color: #ff3f8e; }
.retro-arcs i:nth-child(3) { inset: 10%; border-color: #c44cff; }
.retro-arcs i:nth-child(4) { inset: 15%; border-color: #3fd9a0; }
.retro-arcs i:nth-child(5) { inset: 20%; border-color: #3fb4ff; }
.retro-arcs i:nth-child(6) { inset: 25%; border-color: #6b4cff; }
/* Move the entire rainbow: no per-band fading, overlap changes or color animation. */
@keyframes vr-flow {
  from { transform: translate(-2%, -47%) scale(.93); }
  to { transform: translate(4%, -53%) scale(1.04); }
}
@media (max-width: 600px) {
  .retro-arcs { width: 190vw; left: -130%; top: 52%; }
}

@keyframes vr-shift { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@keyframes vr-ink-ripple { from { background-position: 0% 50%; } to { background-position: 400% 50%; } }
@keyframes vr-grid { from { transform: scaleY(1); } to { transform: scaleY(1.55); } }
@keyframes vr-sun { from { transform: translate(-50%, 18px); opacity: .35; } to { transform: translate(-50%, -16px); opacity: .55; } }
@keyframes vr-cursor { from { opacity: .3; } to { opacity: 1; } }
@keyframes vr-breathe { from { transform: scale(1.02) translate3d(3%,-3%,0); } to { transform: scale(1.18) translate3d(-8%,5%,0); } }
@keyframes vr-swell { from { transform: scale(.94) translate3d(-5%,4%,0) rotate(-4deg); opacity: .35; } to { transform: scale(1.15) translate3d(5%,-4%,0) rotate(5deg); opacity: .85; } }
@keyframes vr-signal { from { transform: scaleX(.25); opacity: .25; } to { transform: scaleX(1); opacity: .9; } }
@keyframes vr-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes vr-arc { from { transform: translate(-12%,12%) scale(.86); opacity: 0; } to { transform: translate(0,0) scale(1); opacity: 1; } }
@media (max-width: 600px) { .shell { padding: 22px; } main { padding: 40px 0; } h1, [data-splash] h1 { font-size: clamp(56px, 19vw, 108px); } .bloom-back { opacity: .68; } .arc { width: 150vw; height: 150vw; right: -108vw; } .eyebrow { font-size: 9px; letter-spacing: .12em; } .horizon-sun { top: 15%; } [data-splash="seventies-arc"] main { align-self: stretch; align-items: center; text-align: center; } .terminal-status { font-size: 11px; } .terminal-field { left: 30%; top: 22%; width: 65%; opacity: .22; } .header-controls { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (forced-colors: active) { body[data-splash] h1 span { color: CanvasText; -webkit-text-stroke: 0; background: none; } .artwork { display: none; } }
