/* uas-eus (detectonic) page-specific layout on top of shared/css/identity.css — same white/red identity. */

/* scroll-scrubbed walkthrough canvas hero */
.video-hero { position: relative; height: 760vh; }  /* sticky 100vh canvas; ~17 s of walkthrough per viewport of scroll */
/* the walkthrough canvas is always white — hero text is pinned dark-on-white in BOTH themes,
   otherwise dark mode made the overlay white-on-white */
.video-hero .sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #fff; }
.video-hero .walk-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: .96; }
.video-hero .v-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 22px 64px; will-change: transform; pointer-events: none; }
.video-hero .v-overlay .ctas, .video-hero .v-overlay a { pointer-events: auto; }
.video-hero h1.glitch { font-size: clamp(52px, 11vw, 140px); margin: 0; color: #141414; }
.video-hero .tag { font: 600 clamp(11px, 1.6vw, 15px) var(--font-mono); color: var(--red); letter-spacing: .22em; margin-top: 10px; }
.video-hero .sub { max-width: 560px; margin-top: 12px; color: #141414; }
.video-hero .caps { margin-top: 14px; font: 500 13px var(--font-mono); color: #141414; text-shadow: 0 1px 0 #fff; min-height: 1.6em; max-width: 620px;
  opacity: 0; transition: opacity .4s; }
.video-hero .caps.show { opacity: 1; }
.video-hero .caps .cap { display: none; }
.video-hero .caps .cap.on { display: block; animation: capin .45s ease both; }
@keyframes capin { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
.video-hero .ctas { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.video-hero .progress { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--red); width: 0; z-index: 2; }

/* latency table + facades + subdomain chips */
table.latency { border-collapse: collapse; width: 100%; margin-top: 20px; font: 13px var(--font-mono); }
table.latency th, table.latency td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
table.latency th { color: var(--red); text-transform: uppercase; font-size: 11px; letter-spacing: .12em; }
table.latency td.num { color: var(--ink); }
.embed-facade { border: 1px dashed var(--line); background: var(--panel);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer; text-align: center; padding: 20px; }
.embed-facade.loaded { border-style: solid; cursor: default; padding: 0; min-height: 480px; }
.embed-facade iframe { width: 100%; height: 480px; border: 0; }
.embed-facade.sim-frame.loaded { min-height: 72vh; }
.embed-facade.sim-frame iframe { height: 72vh; }
.embed-facade .t { font: 600 14px var(--font-mono); color: var(--ink); }
.embed-facade .d { font-size: 12.5px; color: var(--grey); max-width: 460px; }
.sub-link { font: 700 15px var(--font-mono); color: var(--red); text-decoration: none; border: 1px solid var(--line); padding: 10px 14px; display: inline-block; border-radius: 3px; }
.sub-link:hover { border-color: var(--red); }
.sub-link .pro { color: var(--red); font-size: 10px; vertical-align: super; }

/* pro access card (visible with body.has-pro) */
.pro-access { display: none; border: 2px solid var(--red); padding: 20px; margin-top: 14px; background: var(--panel); }
body.has-pro .pro-access { display: block; }
.pro-access ul { margin: 8px 0 0; padding-left: 18px; font: 13px var(--font-mono); }
.pro-access a { color: var(--red); }

/* mobile */
@media (max-width: 760px) {
  .video-hero { height: 620vh; }
  .video-hero .v-overlay { padding: 0 16px 44px; }
  .video-hero h1.glitch { font-size: clamp(40px, 13vw, 72px); }
  .embed-facade { min-height: 180px; }
  .embed-facade.loaded { min-height: 340px; }
  .embed-facade iframe { height: 340px; }
  table.latency { font-size: 11px; display: block; overflow-x: auto; }
  .pro-access ul { font-size: 11px; word-break: break-all; }
}
