/* Virtuax Studio landing – paper, ink and the renders. One moving thing: the scope bars opening on the hero. */
:root {
  --paper: #ffffff;
  --ink: #000000;
  --graphite: #3a3d44;
  --mist: #e6e7ea;
  --display: Sora, "Helvetica Neue", Arial, sans-serif;
  --text: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --edge: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* bar */
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--edge); background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--mist); }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 17px/1 var(--display); letter-spacing: -.01em; }
.mark img { width: 28px; height: 28px; filter: invert(1); }
.bar-actions { display: flex; align-items: center; gap: 18px; }
.who { font-size: 14px; color: var(--graphite); }
.link { background: none; border: 0; padding: 6px 2px; font: 500 15px var(--text); color: var(--ink); cursor: pointer; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--paper); font: 600 15px/1 var(--text); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--paper); color: var(--ink); }
.btn.ghost { background: var(--paper); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.big { padding: 15px 26px; font-size: 16px; }

/* intro */
.intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end;
  padding: clamp(40px, 6vw, 88px) var(--edge) clamp(32px, 4vw, 56px); }
h1 { margin: 0; font: 700 clamp(42px, 5.6vw, 96px)/.95 var(--display); letter-spacing: -.045em; }
.intro-side p { margin: 0 0 24px; max-width: 34em; font-size: clamp(17px, 1.4vw, 19px); color: var(--graphite); }
.intro-side .go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; }
.go span { font-size: 14px; color: var(--graphite); }

/* the scope: the hero render behind 2.39:1 bars that open once */
.scope { position: relative; margin: 0 var(--edge); background: var(--ink); overflow: hidden; border-radius: 6px; aspect-ratio: 16 / 9; }
.scope img { width: 100%; height: 100%; object-fit: cover; }
.scope i { position: absolute; left: 0; right: 0; height: 50%; background: var(--ink); }
.scope .bar-top { top: 0; transform-origin: top; }
.scope .bar-bottom { bottom: 0; transform-origin: bottom; }
/* 2.39:1 inside a 16:9 frame: each bar keeps (1 - 1.778 / 2.39) / 2 = 12.8 % of the height */
.scope .bar-top, .scope .bar-bottom { animation: open 1.6s cubic-bezier(.65, 0, .25, 1) .25s both; }
@keyframes open { from { transform: scaleY(1); } to { transform: scaleY(.256); } }
.scope figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 20px; height: 12.8%; display: flex; align-items: center;
  color: #c9ccd2; font-size: clamp(12px, 1.1vw, 14px); animation: caption .6s ease 1.7s both; }
@keyframes caption { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .scope .bar-top, .scope .bar-bottom { animation: none; transform: scaleY(.256); }
  .scope figcaption { animation: none; }
}

/* the four workspaces */
.flow, .access { padding: clamp(72px, 10vw, 140px) var(--edge) 0; }
h2 { margin: 0 0 clamp(28px, 4vw, 48px); max-width: 18em; font: 600 clamp(30px, 3.6vw, 52px)/1.05 var(--display); letter-spacing: -.03em; }
.flow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.flow article img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: #0c0d10; }
.flow h3 { margin: 20px 0 6px; padding-top: 14px; border-top: 1.5px solid var(--ink); font: 600 22px/1.2 var(--display); letter-spacing: -.02em; }
.flow p { margin: 0; font-size: 15.5px; color: var(--graphite); max-width: 30em; }

/* access */
.access table { width: 100%; border-collapse: collapse; font-size: 16px; }
.access th { text-align: left; font: 600 15px var(--text); padding: 0 24px 14px 0; border-bottom: 1.5px solid var(--ink); width: 50%; }
.access td { padding: 15px 24px 15px 0; border-bottom: 1px solid var(--mist); vertical-align: top; }
.access td:first-child { color: var(--graphite); }
.access-go { display: flex; flex-wrap: wrap; gap: 12px; margin: 40px 0 0; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(80px, 10vw, 140px);
  padding: 28px var(--edge) 36px; border-top: 1px solid var(--mist); font-size: 14px; color: var(--graphite); }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 960px) {
  .intro { grid-template-columns: 1fr; align-items: start; }
  .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .bar-actions { gap: 12px; }
  .bar .btn { padding: 9px 14px; font-size: 14px; }
  .mark span { display: none; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow article img { aspect-ratio: 16 / 10; }
  .scope { aspect-ratio: 4 / 3; }
  .scope figcaption { display: none; }
  .access th, .access td { padding-right: 12px; }
}
