/* VEXOM: an agent console in deep space. Everything is scoped under .vx. Colours sampled from the delivered images. */
.vx { --ink: #000; --paper: #EBEBEC; --ember: #E95D04; --reactor: #9B2115; --g: clamp(16px, 2.4vw, 40px); --mono: "Geist Mono", ui-monospace, Menlo, monospace; background: var(--ink); color: var(--paper); overflow: hidden; }
.vx .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vx-k { font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ember); }
.vx button { font: inherit; color: inherit; cursor: pointer; }
.vx button:focus-visible, .vx input:focus-visible, .vx a:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

/* hero */
.vx-hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--hdr, 72px) + 2vh) var(--g) clamp(24px, 4vh, 48px); isolation: isolate; }
.vx-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.vx-top { display: flex; justify-content: space-between; gap: 16px; font: 500 12px/1.2 var(--mono); text-transform: uppercase; color: rgb(235 235 236 / .6); }
.vx-top a { color: inherit; } .vx-top span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); margin-right: 8px; animation: vx-p 1.6s ease-in-out infinite; }
@keyframes vx-p { 50% { opacity: .25; } }
.vx-word { position: relative; margin: 0; align-self: center; justify-self: center; width: min(88vw, 1180px); }
.vx-word img { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 260; object-fit: cover; object-position: 50% 49.5%; filter: drop-shadow(0 0 40px rgb(0 0 0 / .8)); opacity: 0; animation: vx-in 1.4s cubic-bezier(.16, 1, .3, 1) .15s forwards; }
@keyframes vx-in { from { opacity: 0; transform: scale(.92); filter: blur(14px); } to { opacity: 1; transform: none; filter: none; } }
.vx-orbit { position: absolute; left: 50%; top: 50%; width: 140%; height: 400%; transform: translate(-50%, -50%); pointer-events: none; }
.vx-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px clamp(24px, 4vw, 64px); align-items: end; }
.vx-foot p { margin: 0; max-width: 42ch; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.45; color: rgb(235 235 236 / .72); }
.vx-foot .vx-prompt { font: 500 clamp(14px, 1.5vw, 22px)/1.3 var(--mono); color: var(--paper); max-width: none; }
.vx-prompt span { color: var(--ember); margin-right: 8px; } .vx-prompt i { display: inline-block; width: .6em; height: 1.05em; background: var(--paper); margin-left: 4px; vertical-align: -.15em; animation: vx-b 1s steps(2) infinite; }
@keyframes vx-b { 50% { opacity: 0; } }
.vx-hint { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); font: 500 11px/1 var(--mono); text-transform: uppercase; color: rgb(235 235 236 / .4); }

/* facts */
.vx-facts { border-block: 1px solid rgb(235 235 236 / .16); padding: 18px var(--g); }
.vx-facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, auto)); justify-content: space-between; gap: 12px 24px; font: 500 13px/1.3 var(--mono); }
.vx-facts li { display: grid; gap: 6px; } .vx-facts span { text-transform: uppercase; font-size: 11px; color: rgb(235 235 236 / .5); } .vx-facts b { font-weight: 500; }

.vx-says { padding: clamp(80px, 12vw, 180px) var(--g) clamp(40px, 6vw, 90px); }
.vx-big { margin: 22px 0 0; max-width: 24em; font-size: clamp(28px, 4.2vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }

.vx-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(28px, 4vw, 56px); } .vx-head .vx-k { grid-column: 1 / -1; }
.vx-head h2 { margin: 0; font-size: clamp(40px, 7vw, 120px); line-height: .92; font-weight: 800; letter-spacing: -.05em; text-transform: lowercase; }
.vx-head p { margin: 0; max-width: 56ch; line-height: 1.55; color: rgb(235 235 236 / .72); font-size: clamp(15px, 1.2vw, 18px); }

/* rename transmission */
.vx-ren { padding: clamp(60px, 9vw, 140px) var(--g); border-top: 1px solid rgb(235 235 236 / .12); }
.vx-ren-stage { position: relative; aspect-ratio: 16 / 7; overflow: hidden; border: 1px solid rgb(235 235 236 / .25); border-radius: 6px; background: #000; }
.vx-ren-stage::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgb(255 255 255 / .04) 0 1px, transparent 1px 4px); pointer-events: none; }
.vx-ren-in { position: absolute; inset: 0; transform-origin: 0 50%; transform: translateX(var(--tx, 0)) scale(var(--s, 2.2)); transition: transform .12s linear; will-change: transform; }
.vx-ren-in img { display: block; width: 100%; height: 100%; object-fit: cover; filter: invert(1); }
.vx-ren-tag { position: absolute; left: 16px; bottom: 14px; z-index: 1; font: 500 12px/1 var(--mono); text-transform: uppercase; color: var(--paper); background: rgb(0 0 0 / .6); padding: 7px 10px; border-radius: 3px; }
.vx-slide { display: grid; gap: 12px; margin-top: 20px; font: 500 12px/1 var(--mono); text-transform: uppercase; color: rgb(235 235 236 / .6); }
.vx-slide input { width: 100%; height: 28px; background: none; accent-color: var(--ember); }

/* ask the agent */
.vx-deck { padding: clamp(60px, 9vw, 140px) var(--g); border-top: 1px solid rgb(235 235 236 / .12); }
.vx-deck-ui { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(20px, 4vw, 64px); align-items: start; }
.vx-term { border: 1px solid rgb(235 235 236 / .25); border-radius: 8px; background: rgb(12 12 12); overflow: hidden; }
.vx-term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgb(235 235 236 / .15); font: 500 11px/1 var(--mono); text-transform: uppercase; color: rgb(235 235 236 / .5); }
.vx-term-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgb(235 235 236 / .25); } .vx-term-bar span { margin-left: 8px; }
.vx-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px; }
.vx-chips button { padding: 10px 14px; border: 1px solid rgb(235 235 236 / .3); border-radius: 999px; background: none; font: 500 13px/1 var(--mono); transition: background-color .2s, color .2s, border-color .2s; }
.vx-chips button span { color: var(--ember); }
.vx-chips button:hover { border-color: var(--paper); } .vx-chips button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); } .vx-chips button[aria-pressed="true"] span { color: var(--reactor); }
.vx-reply { margin: 0; padding: 6px 18px 26px; min-height: 8.5em; font: 400 clamp(15px, 1.3vw, 19px)/1.55 var(--mono); }
.vx-tag { display: inline-block; margin-right: 8px; padding: 3px 8px; border-radius: 3px; background: var(--ember); color: #000; font-size: 11px; text-transform: uppercase; vertical-align: 1px; }
.vx-caret { display: inline-block; width: .55em; height: 1em; background: var(--paper); margin-left: 3px; vertical-align: -.12em; animation: vx-b 1s steps(2) infinite; }
.vx-stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; background: #111; }
.vx-shot { position: absolute; inset: 0; margin: 0; opacity: 0; clip-path: inset(0 0 100% 0); transition: opacity .01s .5s, clip-path .01s .5s; }
.vx-shot.on { opacity: 1; clip-path: inset(0); transition: clip-path .7s cubic-bezier(.7, 0, .2, 1); z-index: 1; }
.vx-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vx-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ember); box-shadow: 0 0 18px 4px var(--ember); z-index: 2; opacity: 0; }
.vx-scan.go { animation: vx-scan .7s cubic-bezier(.7, 0, .2, 1); }
@keyframes vx-scan { 0% { top: 0; opacity: 1; } 100% { top: 100%; opacity: 1; } }
.vx-count { position: absolute; right: 12px; bottom: 12px; z-index: 3; font: 500 11px/1 var(--mono); background: rgb(0 0 0 / .7); padding: 6px 8px; border-radius: 3px; }

/* colour console */
.vx-con { padding: clamp(60px, 9vw, 140px) var(--g); border-top: 1px solid rgb(235 235 236 / .12); }
.vx-con-ui { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 3vw, 48px); align-items: start; }
.vx-con-stage { --bg: #000; --fg: #EBEBEC; position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--bg); color: var(--fg); border: 1px solid rgb(235 235 236 / .25); border-radius: 8px; overflow: hidden; transition: background-color .5s, color .5s; }
.vx-con-w, .vx-con-o { grid-area: 1 / 1; display: block; background: currentColor; transition: opacity .4s, transform .5s cubic-bezier(.16, 1, .3, 1); -webkit-mask: no-repeat center / contain; mask: no-repeat center / contain; }
.vx-con-w { width: 70%; aspect-ratio: 861 / 160; -webkit-mask-image: var(--word); mask-image: var(--word); -webkit-mask-size: 116.2% auto; mask-size: 116.2% auto; }
.vx-con-o { width: 30%; aspect-ratio: 270 / 180; -webkit-mask-image: var(--orb); mask-image: var(--orb); opacity: 0; transform: scale(.7) rotate(-40deg); }
.vx-con-stage[data-l="o"] .vx-con-w { opacity: 0; transform: scale(1.1); } .vx-con-stage[data-l="o"] .vx-con-o { opacity: 1; transform: none; }
.vx-con-read { position: absolute; left: 14px; top: 12px; right: 14px; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font: 500 11px/1.3 var(--mono); text-transform: uppercase; }
.vx-con-ctl { display: grid; gap: 28px; } .vx-con-ctl > div { display: grid; gap: 12px; }
.vx-ways { display: grid; gap: 8px; }
.vx-ways button, .vx-seg button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid rgb(235 235 236 / .25); border-radius: 6px; background: none; text-align: left; font: 500 13px/1 var(--mono); }
.vx-ways button i { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.vx-seg { display: flex; gap: 8px; } .vx-seg button { flex: 1; justify-content: center; }
.vx-ways button[aria-pressed="true"], .vx-seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* log */
.vx-log { padding: clamp(60px, 9vw, 140px) var(--g); border-top: 1px solid rgb(235 235 236 / .12); }
.vx-log-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
.vx-stats { display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 6vw, 96px); margin-bottom: 36px; }
.vx-stats div { display: grid; gap: 8px; max-width: 24ch; } .vx-stats b { font-size: clamp(56px, 8vw, 130px); line-height: .9; font-weight: 800; letter-spacing: -.05em; } .vx-stats small { font-size: .3em; letter-spacing: 0; margin-left: 6px; } .vx-stats span { font: 500 12px/1.4 var(--mono); color: rgb(235 235 236 / .65); text-transform: uppercase; }
.vx-log blockquote { margin: 0 0 16px; max-width: 24em; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.vx-log cite { display: block; margin-top: 14px; font: 500 12px/1 var(--mono); text-transform: uppercase; color: rgb(235 235 236 / .6); font-style: normal; }
.vx-note { font: 400 12px/1.5 var(--mono); color: rgb(235 235 236 / .5); max-width: 60ch; }
.vx-live { display: inline-block; margin-top: 10px; padding: 12px 18px; border: 1px solid var(--paper); border-radius: 999px; font: 500 13px/1 var(--mono); color: var(--paper); text-decoration: none; }
.vx-live:hover { background: var(--paper); color: var(--ink); }

@media (max-width: 899px) {
  .vx-head { grid-template-columns: minmax(0, 1fr); }
  .vx-foot, .vx-deck-ui, .vx-con-ui, .vx-log-row { grid-template-columns: minmax(0, 1fr); }
  .vx-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vx-ren-stage { aspect-ratio: 4 / 3; } .vx-hint { display: none; }
  .vx-orbit { width: 130%; }
}
@media (prefers-reduced-motion: reduce) { .vx-word img { animation: none; opacity: 1; } .vx-top span::before, .vx-prompt i, .vx-caret { animation: none; } .vx-shot, .vx-shot.on { transition: none; } .vx-scan { display: none; } }
