@import url('./colors_and_type.css');

html, body { margin:0; padding:0; background: var(--paper); }
body { font-family: var(--font-body); color: var(--fg); overflow-x: hidden; }
* { box-sizing: border-box; }

/* ---------- Shared ---------- */
.vt-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.vt-eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-400);
  display: inline-flex; align-items: center; gap: 10px;
}
.vt-eyebrow::before { content:""; width:20px; height:1px; background:currentColor; opacity:.6; }
.vt-eyebrow--on-dark { color: var(--ink-300); }

.vt-section { padding: 120px 0; border-top: 1px solid var(--line); }
.vt-section--tight { padding: 80px 0; }

.vt-display { font-family: var(--font-display); font-weight: 400; line-height: 0.98; letter-spacing: -0.02em; color: var(--ink-900); margin: 0; }
.vt-display em { font-style: italic; }

/* ---------- Buttons ---------- */
.vt-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  padding: 13px 22px; border-radius: 4px; border: 1px solid transparent;
  cursor: pointer; transition: all 200ms cubic-bezier(0.2,0.7,0.2,1);
  text-decoration: none; letter-spacing: -0.005em;
}
.vt-btn .ar { display:inline-block; transition: transform 200ms cubic-bezier(0.2,0.7,0.2,1); }
.vt-btn:hover .ar { transform: translateX(4px); }
.vt-btn--primary { background: var(--signal-500); color: var(--paper); }
.vt-btn--primary:hover { background: var(--signal-700); }
.vt-btn--secondary { background: transparent; color: var(--ink-900); border-color: var(--ink-900); }
.vt-btn--secondary:hover { background: var(--ink-900); color: var(--paper); }
.vt-btn--on-dark { background: transparent; color: var(--paper); border-color: var(--paper); }
.vt-btn--on-dark:hover { background: var(--paper); color: var(--ink-900); }
.vt-btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--ink-200); }
.vt-btn--ghost:hover { border-color: var(--ink-900); }

/* ---------- Nav ---------- */
.vt-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  background: rgba(14,16,20,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.vt-nav__inner { display:flex; align-items:center; justify-content:space-between; padding: 18px 32px; max-width:1360px; margin: 0 auto; }
.vt-nav__brand { display:flex; align-items:center; gap: 10px; color: var(--paper); }
.vt-nav__brand .wordmark { font-family: var(--font-display); font-size: 26px; letter-spacing:-0.015em; }
.vt-nav__links { display:flex; gap: 28px; }
.vt-nav__links a { font-family: var(--font-body); font-size: 14px; color: var(--ink-300); text-decoration:none; transition: color 200ms; }
.vt-nav__links a:hover { color: var(--paper); }
.vt-nav__ticker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-400); text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.vt-nav__ticker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal-500); box-shadow: 0 0 0 3px rgba(217,84,26,0.18); }

/* ---------- Hero (dark, full bleed) ---------- */
.vt-hero {
  background: var(--ink-900);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.vt-hero__copy { padding: 96px 64px 80px; position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.vt-hero__eyebrow { color: var(--signal-400); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 32px; }
.vt-hero__eyebrow::before { content:""; width: 20px; height: 1px; background: currentColor; }
.vt-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 5.8vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0;
}
.vt-hero h1 em { font-style: italic; color: var(--signal-500); }
.vt-hero__sub { color: var(--ink-300); font-size: 18px; line-height: 1.55; max-width: 52ch; margin: 28px 0 0; }
.vt-hero__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-400); display: flex; flex-direction: column; gap: 6px; margin-top: 40px; }
.vt-hero__meta .line { display: flex; gap: 10px; }
.vt-hero__meta .line .k { color: var(--ink-400); width: 120px; }
.vt-hero__meta .line .v { color: var(--paper); }
.vt-hero__cta { display: flex; gap: 14px; margin-top: 48px; flex-wrap: wrap; }
.vt-hero__motion { position: relative; overflow: hidden; border-left: 1px solid rgba(255,255,255,0.08); height: 100%; min-height: 760px; background: var(--ink-900); }
.vt-hero__motion canvas { width: 100%; height: 100%; display: block; position: absolute; inset: 0; }
.vt-hero__motion-stage { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 700ms cubic-bezier(0.2,0.7,0.2,1), opacity 700ms cubic-bezier(0.2,0.7,0.2,1); will-change: transform, opacity; }
.vt-hero__motion-stage--enter { transform: translateX(60%); opacity: 0; }
.vt-hero__motion-stage--in    { transform: translateX(0);   opacity: 1; }
.vt-hero__motion-stage--out   { transform: translateX(-30%); opacity: 0; transition-duration: 450ms; }
.vt-hero__motion-label { position: absolute; top: 24px; right: 24px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-400); display: flex; align-items: center; gap: 10px; background: transparent; border: 0; padding: 8px 0; cursor: pointer; transition: color 200ms; z-index: 3; }
.vt-hero__motion-label:hover { color: var(--paper); }
.vt-hero__motion-label:hover .cycle-ar { color: var(--signal-500); transform: translateX(3px); }
.vt-hero__motion-label .cycle-ar { color: var(--ink-400); transition: transform 200ms, color 200ms; display: inline-block; }
.vt-hero__motion-label .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--signal-500); animation: vt-pulse 2s infinite; }
@keyframes vt-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.vt-hero__motion-readout { position: absolute; bottom: 20px; right: 24px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--ink-400); text-align: right; line-height: 1.5; }
.vt-hero__motion-readout b { color: var(--paper); font-weight: 500; }
.vt-hero__corner { position: absolute; width: 24px; height: 24px; border: 1px solid var(--signal-500); }
.vt-hero__corner--tl { top: 24px; left: 24px; border-right: 0; border-bottom: 0; }
.vt-hero__corner--br { bottom: 24px; left: 24px; width: 12px; height: 12px; border-left: 0; border-top: 0; border-color: var(--ink-400); display: none; }

/* ---------- Mission band (ember/signal) ---------- */
.vt-mission {
  background: var(--signal-500);
  color: var(--ink-900);
  padding: 56px 0;
  text-align: center;
}
.vt-mission__inner { max-width: 920px; margin: 0 auto; padding: 0 32px; }
.vt-mission .vt-eyebrow { color: var(--signal-900); margin-bottom: 20px; }
.vt-mission .vt-eyebrow::before { background: var(--signal-900); }
.vt-mission p {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
  color: var(--ink-900);
  margin: 0;
  letter-spacing: -0.015em;
}
.vt-mission p em { font-style: italic; }

/* ---------- Accordion (Services) ---------- */
.vt-acc { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: flex-start; }
.vt-acc__side { position: sticky; top: 120px; }
.vt-acc__side .vt-eyebrow { color: var(--signal-500); margin-bottom: 16px; }
.vt-acc__side h2 { font-family: var(--font-display); font-weight: 400; font-size: 42px; line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 20px; color: var(--ink-900); }
.vt-acc__side p { color: var(--ink-500); font-size: 15px; line-height: 1.55; margin: 0; max-width: 260px; }
.vt-acc__side .motion { margin-top: 40px; width: 100%; height: 260px; background: var(--ink-900); border-radius: 8px; overflow: hidden; position: relative; border: 1px solid var(--ink-200); }
.vt-acc__side .motion canvas { width: 100%; height: 100%; display: block; position: absolute; inset: 0; }
.vt-acc__side .motion .tag { position: absolute; top: 16px; left: 16px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; color: var(--ink-400); text-transform: uppercase; }

.vt-acc__list { display: flex; flex-direction: column; }
.vt-acc__item { border-top: 1px solid var(--ink-900); padding: 28px 0; cursor: pointer; transition: opacity 200ms; }
.vt-acc__item:last-child { border-bottom: 1px solid var(--ink-900); }
.vt-acc__row { display: grid; grid-template-columns: 60px 1fr 40px auto 28px; gap: 20px; align-items: baseline; }
.vt-acc__n { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--signal-500); letter-spacing: 0.08em; }
.vt-acc__name { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.1; color: var(--ink-900); letter-spacing: -0.015em; }
.vt-acc__metric { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--signal-500); text-align: right; align-self: center; }
.vt-acc__plus { font-family: var(--font-mono); font-size: 18px; color: var(--ink-400); text-align: right; transition: transform 300ms cubic-bezier(0.2,0.7,0.2,1); }
.vt-acc__item--open .vt-acc__plus { transform: rotate(45deg); color: var(--signal-500); }
.vt-acc__body { max-height: 0; overflow: hidden; transition: max-height 400ms cubic-bezier(0.2,0.7,0.2,1), opacity 300ms; opacity: 0; }
.vt-acc__item--open .vt-acc__body { max-height: 400px; opacity: 1; }
.vt-acc__body-inner { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 20px 0 12px; }
.vt-acc__body-inner p { font-family: var(--font-body); font-size: 16px; line-height: 1.55; color: var(--ink-500); margin: 0 0 16px; max-width: 680px; }
.vt-acc__body-inner ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.vt-acc__body-inner li { font-family: var(--font-mono); font-size: 12px; color: var(--ink-500); letter-spacing: 0.04em; padding-left: 14px; position: relative; }
.vt-acc__body-inner li::before { content: "→"; position: absolute; left: 0; color: var(--signal-500); }

/* ---------- Framework chevrons ---------- */
.vt-framework-bar {
  background: var(--ink-900);
  color: var(--paper);
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.vt-framework-bar__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }
.vt-framework-bar__head h2 { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1.05; letter-spacing: -0.015em; margin: 12px 0 0; color: var(--paper); max-width: 600px; }
.vt-framework-bar__head p { font-family: var(--font-body); font-size: 14px; color: var(--ink-400); margin: 0; max-width: 320px; line-height: 1.55; }
.vt-framework-bar__row { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,0.15); border-bottom: 1px solid rgba(255,255,255,0.15); }
.vt-phase-sm { padding: 28px 20px 28px 24px; border-right: 1px solid rgba(255,255,255,0.12); position: relative; }
.vt-phase-sm:last-child { border-right: 0; }
.vt-phase-sm .n { font-family: var(--font-mono); font-size: 11px; color: var(--signal-400); letter-spacing: 0.1em; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; }
.vt-phase-sm .n .chev { color: var(--ink-500); }
.vt-phase-sm .name { font-family: var(--font-body); font-weight: 500; font-size: 18px; color: var(--paper); margin-bottom: 8px; letter-spacing: -0.01em; }
.vt-phase-sm .desc { font-family: var(--font-body); font-size: 13px; line-height: 1.5; color: var(--ink-300); margin: 0; }

/* ---------- Platform / infra block (white with isometric) ---------- */
.vt-platform {
  background: var(--paper);
  padding: 140px 0;
  border-top: 1px solid var(--line);
}
.vt-platform__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.vt-platform__copy .vt-eyebrow { color: var(--signal-500); margin-bottom: 20px; }
.vt-platform__copy h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 24px; color: var(--ink-900); }
.vt-platform__copy h2 em { font-style: italic; color: var(--signal-500); }
.vt-platform__copy p { color: var(--ink-500); font-size: 17px; line-height: 1.55; margin: 0 0 20px; max-width: 52ch; }
.vt-platform__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.vt-platform__stat .k { font-family: var(--font-mono); font-size: 11px; color: var(--signal-500); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.vt-platform__stat .v { font-family: var(--font-display); font-size: 36px; line-height: 1; color: var(--ink-900); letter-spacing: -0.015em; }
.vt-platform__stat .l { font-family: var(--font-body); font-size: 13px; color: var(--ink-500); margin-top: 6px; line-height: 1.4; }
.vt-platform__iso { width: 100%; height: 520px; position: relative; }
.vt-platform__iso canvas { width: 100%; height: 100%; display: block; position: absolute; inset: 0; }
.vt-platform__iso .markers { position: absolute; inset: 0; pointer-events: none; }
.vt-platform__iso .marker { position: absolute; width: 12px; height: 12px; background: var(--signal-500); }
.vt-platform__iso .marker-label { position: absolute; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); }

/* ---------- POV (point of view) ---------- */
.vt-pov__head { margin-bottom: 64px; max-width: 820px; }
.vt-pov__head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4.8vw, 64px); line-height: 1.05; letter-spacing: -0.015em; margin: 16px 0 0; color: var(--ink-900); }
.vt-pov__list { display: flex; flex-direction: column; }
.vt-pov__item { display: grid; grid-template-columns: 80px 1fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--ink-900); }
.vt-pov__item:last-child { border-bottom: 1px solid var(--ink-900); }
.vt-pov__num { font-family: var(--font-mono); font-size: 13px; color: var(--signal-500); letter-spacing: 0.08em; padding-top: 6px; }
.vt-pov__quote { font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; color: var(--ink-900); margin: 0 0 16px; letter-spacing: -0.01em; max-width: 720px; }
.vt-pov__body { font-family: var(--font-body); font-size: 16px; line-height: 1.55; color: var(--ink-500); max-width: 640px; margin: 0; }

/* ---------- CTA footer band ---------- */
.vt-cta-band {
  background: var(--ink-900);
  color: var(--paper);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.vt-cta-band__bg { position: absolute; top: 50%; right: 4%; transform: translateY(-50%); width: 44%; aspect-ratio: 1 / 1; max-height: 80%; opacity: 0.7; pointer-events: none; overflow: hidden; }
.vt-cta-band__bg canvas { width: 100%; height: 100%; display: block; position: absolute; inset: 0; }
.vt-cta-band__inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.vt-cta-band h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.02em; color: var(--paper); margin: 16px 0 32px; max-width: 16ch; }
.vt-cta-band h2 em { font-style: italic; color: var(--signal-500); }
.vt-cta-band p { font-family: var(--font-body); font-size: 18px; color: var(--ink-300); max-width: 56ch; margin: 0 0 40px; line-height: 1.55; }

/* ---------- Footer ---------- */
.vt-footer { padding: 48px 0; background: var(--ink-900); color: var(--ink-400); border-top: 1px solid rgba(255,255,255,0.08); }
.vt-footer__inner { display:flex; justify-content:space-between; align-items:center; gap: 40px; flex-wrap:wrap; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.vt-footer__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.vt-footer a { font-family: var(--font-body); font-size: 14px; color: var(--paper); text-decoration: none; }
.vt-footer a:hover { color: var(--signal-500); }

/* ---------- Tweaks panel ---------- */
.tw-panel {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  background: var(--ink-900); color: var(--paper);
  border: 1px solid var(--signal-500);
  border-radius: 8px;
  padding: 20px 22px;
  width: 300px;
  font-family: var(--font-body);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  display: none;
}
.tw-panel.on { display: block; }
.tw-panel__hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.tw-panel__hd .title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal-500); }
.tw-panel__hd .close { background: none; border: 0; color: var(--ink-400); cursor: pointer; font-size: 16px; padding: 0; }
.tw-panel__row { margin-bottom: 16px; }
.tw-panel__row label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 8px; }
.tw-panel__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.tw-panel__opt {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  padding: 7px 10px; border: 1px solid rgba(255,255,255,0.15); border-radius: 4px;
  background: transparent; color: var(--ink-300); cursor: pointer; transition: all 200ms;
  text-transform: uppercase;
}
.tw-panel__opt:hover { border-color: rgba(255,255,255,0.4); color: var(--paper); }
.tw-panel__opt.on { background: var(--signal-500); border-color: var(--signal-500); color: var(--paper); }
.tw-panel__slider { width: 100%; accent-color: var(--signal-500); }
.tw-panel__val { font-family: var(--font-mono); font-size: 10px; color: var(--ink-400); margin-top: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .vt-hero { grid-template-columns: 1fr; min-height: 0; }
  .vt-hero__motion { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); height: 400px; min-height: 400px; }
  .vt-acc { grid-template-columns: 1fr; gap: 40px; }
  .vt-acc__side { position: static; }
  .vt-acc__side .motion { display: none; }
  .vt-platform__inner { grid-template-columns: 1fr; gap: 40px; }
  .vt-framework-bar__row { grid-template-columns: 1fr 1fr; }
  .vt-acc__row { grid-template-columns: 48px 1fr auto 20px; gap: 14px; }
  .vt-acc__metric { display: none; }
}
