:root {
  --bg: #07080a;
  --bg-2: #0d0f12;
  --panel: rgba(13, 15, 18, 0.82);
  --ink: #eceee9;
  --ink-2: #a3a9b0;
  --ink-3: #7d848c;
  --line: rgba(236, 238, 233, 0.1);
  --line-2: rgba(236, 238, 233, 0.18);
  --acc: #c8f542;
  --acc-ink: #0a0c05;
  --acc-dim: rgba(200, 245, 66, 0.14);
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.mono { font-family: var(--mono); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 50;
  background: var(--acc); color: var(--acc-ink); padding: 8px 12px; border-radius: 6px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- canvas ---------- */
#gl {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh;
  z-index: 0; display: block; pointer-events: none;
  opacity: 0; transition: opacity 900ms ease;
}
.gl-on #gl { opacity: 1; }

main { position: relative; z-index: 1; }

/* ---------- header ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--pad);
  background: linear-gradient(to bottom, rgba(7, 8, 10, 0.92), rgba(7, 8, 10, 0.55) 70%, rgba(7, 8, 10, 0));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; font-size: 14px; letter-spacing: 0.01em; white-space: nowrap;
}
.brand-text { display: inline-flex; gap: 0.45em; }
.mark { position: relative; width: 30px; height: 30px; flex: 0 0 30px; }
.mark img, .mark canvas { position: absolute; inset: 0; width: 30px; height: 30px; }
.mark canvas { display: none; transform: scale(1.35); }
.mark.is-3d canvas { display: block; }
.mark.is-3d img { display: none; }
.b-a { color: var(--ink); font-weight: 600; }
.b-slash { color: var(--acc); }
.b-b { color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); }
.nav-link { font-size: 13px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.nav-link:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 14px; border-radius: 999px;
  background: var(--acc); color: var(--acc-ink);
  font-weight: 600; font-size: 14px; text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px -8px rgba(200, 245, 66, 0.55); }
.btn-lg { padding: 14px 22px; font-size: 16px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(92px, 14vh, 150px) var(--pad) 72px;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 4vh, 44px);
}
.hero::before {
  /* subtle measuring grid */
  content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(236, 238, 233, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(236, 238, 233, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 85%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 85%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: end;
}
.eyebrow {
  margin: 0 0 18px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--acc-dim); }
h1 {
  margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 0.98;
  font-size: clamp(40px, 6.2vw, 86px); max-width: 14ch; text-wrap: balance;
  text-shadow: 0 0 28px rgba(7, 8, 10, 0.9), 0 0 2px rgba(7, 8, 10, 0.9);
}
.lede {
  margin: 22px 0 0; max-width: 46ch; color: var(--ink-2); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5;
  text-shadow: 0 0 16px rgba(7, 8, 10, 0.95);
}
.stage { min-height: 260px; order: 2; }

/* ---------- command bar ---------- */
.cmd-wrap { position: relative; }
.cmd {
  display: flex; align-items: center; gap: 14px;
  padding: 0 14px 0 20px; height: 68px;
  background: var(--panel);
  border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 24px 60px -24px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.cmd:focus-within {
  border-color: rgba(200, 245, 66, 0.7);
  box-shadow: 0 0 0 4px rgba(200, 245, 66, 0.12), 0 24px 60px -24px rgba(0, 0, 0, 0.9);
}
.cmd-prompt { color: var(--acc); font-size: 16px; }
.cmd input {
  flex: 1; min-width: 0; height: 100%;
  background: transparent; border: 0; outline: 0; color: var(--ink);
  font-size: clamp(16px, 1.6vw, 20px); letter-spacing: 0.01em;
}
.cmd input::placeholder { color: var(--ink-3); }
.kbd {
  font-size: 12px; color: var(--ink-2); padding: 5px 8px; border-radius: 7px;
  border: 1px solid var(--line-2); background: rgba(236, 238, 233, 0.04); white-space: nowrap;
}
.cmd-under { margin-top: 12px; min-height: 44px; }

.hints { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hints::before { content: "try"; font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-right: 4px; }
.chip {
  font: 13px var(--mono); color: var(--ink); cursor: pointer;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(13, 15, 18, 0.7);
}
.chip:hover { border-color: var(--acc); color: var(--acc); }

.results {
  list-style: none; margin: 0; padding: 6px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.results[hidden], .empty[hidden], .hints[hidden] { display: none; }
.opt { border-radius: 10px; }
.opt a {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 8px 10px 8px 8px; text-decoration: none; border-radius: 10px; border: 1px solid transparent;
}
.opt[aria-selected="true"] a, .opt a:hover { background: rgba(236, 238, 233, 0.06); border-color: rgba(200, 245, 66, 0.5); }
.opt-thumb {
  width: 76px; height: 48px; border-radius: 6px; object-fit: cover; background: var(--bg-2);
  border: 1px solid var(--line);
}
.opt-icon {
  width: 76px; height: 48px; border-radius: 6px; display: grid; place-items: center;
  background: var(--acc-dim); color: var(--acc); font: 600 13px var(--mono); border: 1px solid rgba(200, 245, 66, 0.3);
}
.opt-body { min-width: 0; }
.opt-kind { display: block; font: 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.opt-kind.live, .opt-kind.svc { color: var(--acc); }
.opt-title { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opt-line { display: block; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opt-go { font: 12px var(--mono); color: var(--ink-2); white-space: nowrap; }
.opt[aria-selected="true"] .opt-go { color: var(--acc); }

.empty {
  padding: 16px 18px; border-radius: 14px; border: 1px dashed var(--line-2); background: var(--panel);
  color: var(--ink-2); font-size: 15px;
}
.empty a { color: var(--acc); }

.scroll-cue {
  display: flex; align-items: center; gap: 12px; margin: 0;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.scroll-cue .line { flex: 0 0 64px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: ""; position: absolute; inset: 0; width: 30%; background: var(--acc);
  animation: slide 2.4s ease-in-out infinite;
}
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(340%); } }

/* ---------- fly-through ---------- */
.flight { height: 280vh; position: relative; }
.flight-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; pointer-events: none; }
.hud {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 28px;
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
  border-top: 1px solid var(--line); padding-top: 10px;
}
.hud-c { color: var(--ink); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.no-gl .flight { display: none; }
.fly .work { background: transparent; }
.handover .work figure { background: transparent; border-color: transparent; }
.handover .work figure img { opacity: 0; }

/* ---------- work grid ---------- */
.work {
  position: relative; z-index: 2; background: var(--bg);
  scroll-margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: clamp(56px, 10vh, 110px) var(--pad) clamp(56px, 8vh, 96px);
}
.work-head, .grid, .foot > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.work h2, .foot h2 {
  margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; font-size: clamp(32px, 4.4vw, 60px);
}
.work-note { color: var(--ink-2); max-width: 60ch; margin: 16px 0 0; }
.grid {
  list-style: none; padding: 0; margin-top: clamp(32px, 5vh, 56px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.grid > li { background: var(--bg); }
.card {
  display: flex; flex-direction: column; height: 100%;
  padding: 14px 14px 20px; text-decoration: none;
  transition: background 200ms ease;
}
.card:hover { background: var(--bg-2); }
.card figure { margin: 0; overflow: hidden; border-radius: 4px; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-2); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2, .7, .2, 1); }
.card:hover img { transform: scale(1.03); }
.card-meta {
  display: flex; justify-content: space-between; gap: 10px; margin: 16px 0 8px;
  font: 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
}
.card-meta .live { color: var(--acc); }
.card h3 { margin: 0; font-size: 21px; letter-spacing: -0.02em; font-weight: 600; }
.card p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.card .go { margin-top: auto; padding-top: 16px; font: 12px var(--mono); color: var(--ink-2); }
.card:hover .go { color: var(--acc); }

/* ---------- footer ---------- */
.foot {
  position: relative; z-index: 2; background: var(--bg); border-top: 1px solid var(--line);
  padding: clamp(56px, 10vh, 110px) var(--pad) 40px;
}
.foot-cta h2 { max-width: 18ch; margin-bottom: 28px; }
.foot-meta { margin-top: 40px; margin-bottom: 0; font-size: 12px; color: var(--ink-3); }
.foot-meta a { color: var(--ink-2); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .stage { min-height: 0; height: clamp(104px, 26vw, 200px); order: 0; margin-bottom: 18px; }
  .hero { gap: 20px; padding-top: 80px; }
}
@media (max-width: 760px) {
  .results { grid-template-columns: 1fr; }
  .hero { padding-top: 72px; justify-content: flex-start; }
}
@media (max-width: 560px) {
  .nav-link { display: none; }
  .mark, .mark img, .mark canvas { width: 26px; height: 26px; flex-basis: 26px; }
  .brand { gap: 9px; }
  .brand { font-size: 13px; }
  .btn { padding: 8px 12px; font-size: 13px; }
  .btn-lg { padding: 13px 20px; font-size: 15px; }
  .cmd { height: 58px; padding: 0 10px 0 14px; gap: 10px; }
  .kbd { display: none; }
  .opt a { grid-template-columns: 64px minmax(0, 1fr); }
  .opt-thumb, .opt-icon { width: 64px; height: 40px; }
  .opt-go { display: none; }
  .grid { grid-template-columns: 1fr; }
  .hud-l { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .flight { display: none; }
  #gl { transition: none; }
}

/* ================= studio build additions ================= */
@media (max-width: 900px) { .nav-sec { display: none; } }

/* live build band (above the grid) */
.band { max-width: var(--max); margin: clamp(32px, 5vh, 56px) auto 0; }
.band:empty { display: none; }
.band-card {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center;
  padding: 14px; border: 1px solid var(--line); text-decoration: none; background: transparent;
  transition: background 200ms ease;
}
a.band-card:hover { background: var(--bg-2); }
.band-card figure { margin: 0; overflow: hidden; border-radius: 4px; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-2); }
.band-card img { width: 100%; height: 100%; object-fit: cover; }
.band-card h3 { margin: 0; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.025em; font-weight: 600; line-height: 1.05; }
.band-card p { margin: 12px 0 0; color: var(--ink-2); font-size: 16px; max-width: 42ch; }
.band-card .card-meta { margin-top: 0; }
.band-card .go { display: inline-block; margin-top: 22px; font: 12px var(--mono); color: var(--ink-2); }
a.band-card:hover .go { color: var(--acc); }
.soon { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font: 12px var(--mono); letter-spacing: 0.06em; color: var(--ink); padding: 7px 12px; border-radius: 999px; border: 1px dashed var(--line-2); }
.soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f5b841; }
.grid { margin-top: 1px; }
.band:empty + .grid { margin-top: clamp(32px, 5vh, 56px); }

/* shared section heads */
.more, .svc-sec { position: relative; z-index: 2; background: var(--bg); border-top: 1px solid var(--line); padding: clamp(56px, 10vh, 110px) var(--pad); }
.sec-head { max-width: var(--max); margin: 0 auto; }
.sec-head h2 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; font-size: clamp(30px, 3.8vw, 52px); max-width: 22ch; }

/* more studies */
.more-grid {
  list-style: none; padding: 0; max-width: var(--max); margin: clamp(28px, 4vh, 48px) auto 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.mini { display: flex; flex-direction: column; height: 100%; text-decoration: none; padding: 10px 10px 16px; border: 1px solid var(--line); border-radius: 8px; transition: border-color 180ms ease, background 180ms ease; }
.mini:hover { border-color: var(--line-2); background: var(--bg-2); }
.mini figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--bg-2); }
.mini img { width: 100%; height: 100%; object-fit: cover; }
.mini .card-meta { margin: 12px 0 6px; }
.mini h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.mini p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; }

/* services: four large, whole-card links */
.svc-grid {
  list-style: none; padding: 0; max-width: var(--max); margin: clamp(32px, 5vh, 56px) auto 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; min-height: 280px;
  padding: clamp(22px, 2.6vw, 34px); border-radius: 18px; text-decoration: none;
  background: linear-gradient(160deg, rgba(236, 238, 233, 0.055), rgba(236, 238, 233, 0.015) 60%), var(--bg-2);
  border: 1px solid var(--line-2);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.svc-card:hover, .svc-card:focus-visible {
  border-color: var(--acc); transform: translateY(-3px);
  box-shadow: 0 0 0 4px rgba(200, 245, 66, 0.1), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  background: linear-gradient(160deg, rgba(200, 245, 66, 0.09), rgba(236, 238, 233, 0.015) 60%), var(--bg-2);
  outline: none;
}
.svc-top { display: flex; justify-content: space-between; align-items: center; }
.svc-n { font: 12px var(--mono); letter-spacing: 0.14em; color: var(--ink-3); }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--acc); background: var(--acc-dim); border: 1px solid rgba(200, 245, 66, 0.3); }
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { margin: 10px 0 0; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; max-width: 16ch; }
.svc-card p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 44ch; }
.svc-go {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px; background: rgba(236, 238, 233, 0.08); color: var(--ink);
  font-weight: 600; font-size: 15px; transition: background 200ms ease, color 200ms ease;
}
.svc-go .arr { transition: transform 200ms ease; }
.svc-card:hover .svc-go, .svc-card:focus-visible .svc-go { background: var(--acc); color: var(--acc-ink); }
.svc-card:hover .arr, .svc-card:focus-visible .arr { transform: translateX(4px); }

/* footer */
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-links a { color: var(--ink); text-decoration: none; font-size: 15px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); transition: border-color 160ms ease, color 160ms ease; }
.foot-links a:hover { border-color: var(--acc); color: var(--acc); }
.foot-note { margin: 0; color: var(--ink-2); font-size: 14px; }
.foot-meta { display: flex; align-items: center; gap: 8px; }
.foot-meta img { display: inline-block; }

@media (max-width: 1024px) {
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .band-card { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; }
}
@media (max-width: 560px) {
  .more-grid { grid-template-columns: 1fr; }
  .foot-links a { font-size: 14px; padding: 9px 14px; }
}

/* hand-over: the heading strip stays opaque so the 3D cards slide under it into their slots */
.fly .work-head { position: relative; }
.fly .work-head::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: calc(-1 * clamp(56px, 10vh, 110px)); left: 0; right: 0; bottom: -28px;
  background: var(--bg); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax);
}

/* services: "try an AI system" demo card, above the four service cards */
.demo-card {
  max-width: var(--max); margin: clamp(32px, 5vh, 56px) auto 0;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center;
  padding: clamp(22px, 2.6vw, 34px); border-radius: 18px; text-decoration: none;
  background: linear-gradient(135deg, rgba(200, 245, 66, 0.10), rgba(200, 245, 66, 0.02) 55%), var(--bg-2);
  border: 1px solid rgba(200, 245, 66, 0.4);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.demo-card:hover, .demo-card:focus-visible {
  border-color: var(--acc); transform: translateY(-3px); outline: none;
  box-shadow: 0 0 0 4px rgba(200, 245, 66, 0.12), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.demo-copy { display: flex; flex-direction: column; gap: 12px; }
.demo-k { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc); }
.demo-t { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 600; }
.demo-p { color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 46ch; }
.demo-card .svc-go { margin-top: 6px; background: var(--acc); color: var(--acc-ink); }
.demo-card:hover .arr, .demo-card:focus-visible .arr { transform: translateX(4px); }
.demo-vis { display: flex; flex-direction: column; gap: 12px; }
.dv-paper { display: flex; flex-direction: column; background: #f6f3ea; color: #1d1f22; border-radius: 3px; padding: 16px 18px; font-size: 13px; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.9); transform: rotate(-1deg); }
.dv-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed #d4d0c5; }
.dv-sum { border-bottom: 0; border-top: 2px solid #1d1f22; margin-top: 4px; font-weight: 700; background: rgba(255, 122, 107, 0.22); padding: 5px 6px; margin-left: -6px; margin-right: -6px; }
.dv-flag { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.dv-bad { padding: 2px 8px; border-radius: 999px; font-weight: 600; color: #ff7a6b; background: rgba(255, 122, 107, 0.14); border: 1px solid rgba(255, 122, 107, 0.45); }
.demo-card + .svc-grid { margin-top: 16px; }
@media (max-width: 760px) {
  .demo-card { grid-template-columns: 1fr; }
}
/* two demos side by side: each card stacks its copy over its picture */
.demo-pair { max-width: var(--max); margin: clamp(32px, 5vh, 56px) auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.demo-pair .demo-card { margin: 0; grid-template-columns: 1fr; align-items: start; align-content: space-between; }
.demo-pair .demo-t { font-size: clamp(28px, 2.6vw, 40px); }
.demo-pair + .svc-grid { margin-top: 16px; }
.dv-chat { display: flex; flex-direction: column; gap: 10px; }
.dv-msg { align-self: flex-start; max-width: 34ch; padding: 10px 13px; border-radius: 3px 12px 12px 12px; background: #1d2a23; border: 1px solid rgba(64, 200, 120, 0.22); color: var(--ink); font-size: 14px; line-height: 1.45; }
.dv-hot { padding: 2px 8px; border-radius: 999px; font-weight: 700; color: var(--acc-ink); background: var(--acc); }
.dv-tag { padding: 2px 8px; border-radius: 999px; font-weight: 600; color: var(--ink-2); background: rgba(236, 238, 233, 0.08); border: 1px solid rgba(236, 238, 233, 0.18); }
@media (max-width: 760px) {
  .demo-pair { grid-template-columns: 1fr; }
}
