/* Outllyr v2: the editorial system.
 *
 * Warm-gray canvas, top-arc sections that rise over one another, condensed
 * uppercase display type, flat surfaces with no shadows. Shared by every page
 * except 404.html, which stays self-contained on purpose.
 *
 * Nothing in here hides content. Every hidden starting state for an animation
 * is written by assets/js/site.js at runtime, so if that script never runs the
 * page is simply static. The one exception is html.m-pending, a class an
 * inline script in each page's <head> sets for the hero intro and a 3s timer
 * removes on its own; see the note in site.js.
 */

:root {
  color-scheme: light;
  --black: #000000;
  --white: #ffffff;
  --canvas: #e5e5e5;
  --mist: #f3f3f3;
  --ash: #c6c6c6;
  --smoke: #979797;
  --slate: #444444;
  --graphite: #2f2f2f;
  --rule: #d9d9d9;
  --logo-dot: #FF5436; /* the wordmark's own dot, unchanged from v1 */
  --coral: var(--logo-dot); /* the only colour on the site: highlights and accents */
  /* A dry-brush stroke, stretched to whatever it sits behind. */
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 100' preserveAspectRatio='none'%3E%3Cg fill='%23FF5436'%3E%3Cpath d='M9 22C72 13 151 19 231 14s172-2 258 6c7 15 1 35 5 52-84 9-166 4-248 11-82 6-160 4-236-3C3 66 13 41 9 22Z'/%3E%3Cpath opacity='.55' d='M26 14C141 6 262 8 476 10l1 5C262 14 141 16 27 20Z'/%3E%3Cpath opacity='.45' d='M38 86c116 8 266 7 424-1l-1 6C305 98 154 99 38 91Z'/%3E%3Cpath opacity='.7' d='M486 30c8 8 9 24 4 38l-3-1c3-13 2-25-4-35Z'/%3E%3C/g%3E%3C/svg%3E");

  --f-display: 'League Spartan', 'Arial Black', 'Helvetica Neue', sans-serif;
  --f-body: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --t-display-xl: clamp(44px, 6.2vw, 92px);
  --t-display: clamp(36px, 4.9vw, 64px);
  --t-heading-lg: 40px;
  --t-heading: clamp(28px, 3.2vw, 40px);
  --t-heading-sm: clamp(22px, 2.2vw, 28px);

  --page: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --frame: clamp(8px, 1.25vw, 18px); /* the gap around and between boxed sections */
  --box-r: 40px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--canvas); -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--black);
  font: 400 16px/1.25 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--white); }
.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; z-index: 100; top: 12px; left: 12px;
  padding: 12px 16px; border-radius: 8px; background: var(--black); color: var(--white);
  transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }
.wrap { max-width: var(--page); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.d-xl, .d, .d-lg {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .94;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.d-xl { font-size: var(--t-display-xl); }
.d { font-size: var(--t-display); }
.d-lg { font-size: var(--t-heading-lg); }
.h2s {
  font: 500 var(--t-heading)/1.06 var(--f-display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
.mono {
  font: 400 14px/1.5 var(--f-body);
  letter-spacing: -0.005em;
  margin: 0;
}
.body-lg { font-size: 18px; line-height: 1.4; margin: 0; max-width: 34em; }
.body { font-size: 16px; line-height: 1.45; margin: 0; max-width: 36em; }
.muted { color: var(--slate); }
.on-dark .muted { color: var(--ash); }
.on-dark .mono.muted { color: var(--smoke); }

/* Split-line masks, written by site.js */
.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.li { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 24px;
  background: var(--black); color: var(--white);
  border: 0; border-radius: 8px;
  font: 500 16px/1.25 var(--f-body); letter-spacing: -0.011em;
  cursor: pointer; white-space: nowrap;
}
.btn:disabled { cursor: progress; opacity: .7; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--slate); border: 1.5px solid var(--slate); border-radius: 4px; padding-inline: 16px; }
.btn-light { background: var(--white); color: var(--black); }
.on-dark .btn-ghost { color: var(--white); border-color: var(--white); }
.roll-l { display: inline-grid; overflow: hidden; height: 1.25em; }
.roll-l > span { grid-area: 1 / 1; transition: transform .55s var(--ease); }
.roll-l > span + span { transform: translateY(110%); }
.btn:hover .roll-l > span:first-child, a:hover > .roll-l > span:first-child { transform: translateY(-110%); }
.btn:hover .roll-l > span + span, a:hover > .roll-l > span + span { transform: translateY(0); }

.arrow-btn {
  width: 44px; height: 44px; flex: none;
  display: inline-grid; place-items: center;
  border: 1.5px solid currentColor; border-radius: 8px; background: transparent;
  cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.arrow-btn svg { width: 18px; height: 18px; }
.arrow-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.on-dark .arrow-btn:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.tag {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  background: transparent; color: inherit;
  border: 1px solid var(--smoke); border-color: color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 6px; padding: 6px 12px;
  font: 400 13px/1.3 var(--f-body); letter-spacing: 0;
}
/* Brush-stroke highlights. .hl marks a phrase in running type and keeps its
 * colour, the stroke sitting low behind it; .volt marks a link, fully inked
 * with black type so small text stays legible on light and dark alike.
 * site.js paints the stroke in from the left as it scrolls into view. */
.hl, .volt {
  background: var(--brush) 0 100% / 100% 100% no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hl { background-size: 100% 82%; background-position: 0 22%; padding: .1em .16em; margin: 0 -.05em; }
.volt { color: var(--black); padding: .1em .4em; }
a.volt:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--coral); color: var(--black); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(96px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  display: flex; align-items: center; gap: 24px;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav::before {
  content: ""; position: absolute; inset: 8px var(--frame) 0; z-index: -1; border-radius: 22px;
  background: var(--nav-bg, rgba(229, 229, 229, .86));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .35s;
}
.nav.is-scrolled::before { opacity: 1; }
.logo {
  font: 800 22px/1 var(--f-body); letter-spacing: -0.045em; color: #141414;
  transition: color .4s;
}
.logo i { font-style: normal; color: var(--logo-dot); }
/* The wordmark's dot pulses: it swells, settles, and sends out a soft glow.
 * site.js centres both on the glyph from the font's own metrics (--dot-x,
 * --dot-y, --dot-d); the fallbacks are close for Inter 800. */
.nav .logo i { position: relative; display: inline-block; transform-origin: var(--dot-x, 50%) var(--dot-y, 78%); animation: dot-pulse 2.8s ease-in-out infinite; }
.nav .logo i::after {
  content: ""; position: absolute; left: var(--dot-x, 50%); top: var(--dot-y, 78%);
  width: var(--dot-d, .2em); height: var(--dot-d, .2em); translate: -50% -50%;
  border-radius: 50%; pointer-events: none; animation: dot-ring 2.8s ease-out infinite;
}
@keyframes dot-pulse { 0%, 60%, 100% { transform: scale(1); } 14% { transform: scale(1.5); } 30% { transform: scale(.92); } 42% { transform: scale(1.05); } }
@keyframes dot-ring { 0% { box-shadow: 0 0 0 0 rgba(255, 84, 54, .45); } 55%, 100% { box-shadow: 0 0 0 7px rgba(255, 84, 54, 0); } }
.pill {
  position: relative; margin: 0 auto;
  display: flex; gap: 4px; padding: 5px;
  background: var(--white); border-radius: 10px;
  transition: background .4s;
}
.pill a, .pill-ink span { padding: 10px 18px; font: 500 14px/1.3 var(--f-body); white-space: nowrap; }
.pill a { position: relative; z-index: 1; border-radius: 6px; color: var(--slate); transition: background .3s, color .3s; }
.pill a:hover, .pill a.is-hot { color: var(--black); }
.nav.on-white .pill { background: var(--mist); }
/* Without the script the tabs mark themselves; with it (.is-live) the
 * capsule in site.js draws the hover ghost and the sliding block. */
.pill:not(.is-live) a:hover, .pill:not(.is-live) a[aria-current="page"] { background: var(--mist); color: var(--black); }
.nav.on-white .pill:not(.is-live) a:hover, .nav.on-white .pill:not(.is-live) a[aria-current="page"] { background: var(--white); }
.pill-ghost, .pill-ind { position: absolute; inset: 0; pointer-events: none; clip-path: inset(0 100% 0 0 round 6px); opacity: 0; }
.pill-ghost { background: rgba(0, 0, 0, .06); }
.pill-shade {
  position: absolute; left: 0; top: 5px; bottom: 5px; width: 100px; border-radius: 6px; pointer-events: none;
  transform-origin: 0 50%; opacity: 0; box-shadow: 0 4px 12px -2px rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .2);
}
.pill-ind { z-index: 2; background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 58%), var(--black); }
.pill-ink { position: absolute; inset: 0; display: flex; gap: 4px; padding: 5px; }
.pill-ink span { color: var(--white); }
.nav .btn { transition: background .4s, color .4s; }
.nav .logo { font-size: 26.4px; } /* 20% over the base 22px; the footer keeps its own size */
.nav.is-dark .logo { color: var(--white); }
.nav.is-dark .btn { background: var(--white); color: var(--black); }
.menu-btn { display: none; }
.menu-panel {
  position: fixed; z-index: 49; top: calc(84px + env(safe-area-inset-top, 0px)); left: var(--gutter); right: var(--gutter);
  background: var(--white); border-radius: 12px; padding: 8px;
  display: grid; gap: 2px;
}
.menu-panel[hidden] { display: none; }
.menu-panel a { padding: 14px 16px; border-radius: 6px; font-weight: 500; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--mist); }

/* ---------- Boxed sections ----------
 * Each black or white section is a box inset from the viewport by --frame,
 * and grows from 94% as it scrolls in (site.js). Canvas sections are the page
 * itself, so they stay open and do not scale. */
.arc {
  position: relative;
  margin: var(--frame) var(--frame) 0;
  border-radius: var(--box-r);
  transform-origin: 50% 0;
  padding-top: 112px;
  padding-bottom: 112px;
}
.arc-black { background: var(--black); color: var(--white); }
.arc-white { background: var(--white); }
.arc-canvas { background: var(--canvas); margin-inline: 0; border-radius: 0; }

.block-gap { margin-top: 200px; }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }

/* ---------- Page heads (inner pages) ---------- */
.page-head { padding-top: calc(176px + env(safe-area-inset-top, 0px)); padding-bottom: 96px; }
.page-head .mono { color: var(--slate); margin-bottom: 28px; }
.page-head .lede { margin-top: 40px; }

/* ---------- Home: hero ---------- */
.hero { padding-top: calc(150px + env(safe-area-inset-top, 0px)); padding-bottom: 72px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-h { display: block; }
.hero-h > [data-split] { display: block; }
.roll { display: grid; }
.roll > * { grid-area: 1 / 1; display: block; }
.roll > [data-roll] { visibility: hidden; } /* home.js takes these over */
.hero-copy { display: grid; gap: 24px; margin-top: 48px; max-width: 520px; }
.hero-lines { font: 500 20px/1.3 var(--f-body); letter-spacing: -0.01em; margin: 0; display: grid; justify-items: start; gap: 16px; }
.hero-lines > span { display: block; }
.hero-lines .volt { margin-left: -.4em; } /* the type keeps the lines' left edge; the stroke reaches past it */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stage { position: relative; margin-top: 64px; }
/* Desktop: the headline and copy stack on the left and the simulation film
 * sits on the right, centred on them, its edge on the page margin. The film
 * takes ~57% of the row, so the headline is set a little smaller here, sized
 * to the column: INTELLIGENCE, its widest word, is ~6.03em wide. */
@media (min-width: 981px) {
  .hero-grid { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); column-gap: 48px; align-items: center; }
  .hero-h { font-size: min(72px, calc((min(100vw, var(--page)) - 128px) * .067)); }
  .hero-stage { margin-top: 0; }
}
/* The film (home.js plays it while on screen) is cut close to the dashboard's
 * own edges and its backdrop was graded to the canvas grey when encoded. A
 * 12px fade over that thin margin hides the slight shift browsers make when
 * they convert video colour, so it sits on the page with no frame. */
.hero-film { position: relative; width: 100%; aspect-ratio: 1886 / 1042; background: var(--canvas);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent), linear-gradient(180deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent), linear-gradient(180deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  mask-composite: intersect; }
.hero-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Intro: held back only while html.m-pending is set (see site.js). */
/* .hero-stage is deliberately not held: its poster is the LCP element. */
.m-pending .intro [data-split-now], .m-pending .intro .fade-up, .m-pending .nav > * { opacity: 0; }

/* ---------- Home: stats + problem ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 0; }
/* Each figure gets its own ruled column, so the numbers never run together. */
.stat { display: grid; gap: 12px; align-content: start; min-width: 0; padding: 4px 24px 8px; border-left: 1px solid var(--slate); }
.stat .d { font-size: clamp(44px, 5.6vw, 80px); line-height: .9; white-space: nowrap; font-variant-numeric: tabular-nums; }
.arc-white .stat { border-left-color: var(--ash); }
.stat-l { font: 500 18px/1.25 var(--f-body); margin: 0; }
.stat-s { font-size: 14px; line-height: 1.35; color: var(--smoke); margin: 0; }
.problem { margin-top: 160px; }
.problem-list { display: grid; gap: 24px; padding-top: 8px; }
.problem-list p { margin: 0; font-size: 18px; line-height: 1.35; color: var(--ash); max-width: 30em; }
.problem-list p.lead { color: var(--white); font-size: 20px; }
.problem-close { margin-top: 120px; max-width: 980px; }

/* ---------- Home: the flowchart ----------
 * The v1 structure kept as is: five pills on a rail, a return loop from Decide
 * back to Listen, cards with the chain pinned to the floor, and a drawer that
 * opens on hover or focus. */
.sol-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.o-flow { position: relative; margin-top: 64px; padding-bottom: 220px; }
.o-flow-track { position: relative; }
.o-flow-rail { position: absolute; left: 0; right: 0; top: 13px; z-index: 0; border-top: 1px solid var(--rule); transform-origin: 0 50%; }
.o-5up { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.o-stage { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; outline: none; }
.o-stage-pill {
  align-self: flex-start; display: inline-flex; align-items: center;
  height: 26px; padding: 0 12px; border-radius: 6px;
  background: #f5e9d4; color: #181d26;
  font: 500 13px/26px var(--f-body); letter-spacing: 0; white-space: nowrap;
  transition: translate .35s var(--ease);
}
/* The v1 stage colours: the one place besides the logo dot where colour is allowed. */
.o-stage:nth-child(2) .o-stage-pill { background: #a8d8c4; }
.o-stage:nth-child(3) .o-stage-pill { background: #fcab79; }
.o-stage:nth-child(4) .o-stage-pill { background: #f4d35e; }
.o-stage:nth-child(5) .o-stage-pill { background: #d9a441; }
.o-stage:hover .o-stage-pill, .o-stage:focus-visible .o-stage-pill { translate: 0 -3px; }
/* The runner: site.js moves it along the rail and hops it over each stage. */
.o-flow-dot {
  position: absolute; left: 0; top: 13px; z-index: 2; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 84, 54, .18); opacity: 0;
}
.o-stage-card {
  position: relative; z-index: 1; margin-top: 16px; min-height: 300px; flex: 1 1 auto;
  display: flex; flex-direction: column; padding: 20px;
  border: 1px solid var(--rule); border-radius: 16px; background: var(--white);
  transition: border-color .22s ease;
}
.o-stage:hover .o-stage-card, .o-stage:focus-within .o-stage-card, .o-stage:focus-visible .o-stage-card { border-color: var(--black); }
.o-stage-q { font: 500 16px/1.3 var(--f-body); letter-spacing: -0.01em; margin: 0; }
.o-stage-body { font-size: 14px; line-height: 1.45; color: var(--slate); margin: 12px 0 0; }
.o-stage-chain { margin: auto 0 0; padding-top: 20px; font: 400 13px/1.5 var(--f-body); letter-spacing: 0; color: var(--slate); }
.o-stage-chain i { font-style: normal; color: var(--smoke); }
.o-stage-more {
  position: absolute; z-index: 0; left: 4%; right: 4%; top: 100%;
  min-height: 160px; padding: 14px 16px 24px;
  border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 16px 16px; background: var(--white);
  opacity: .55; transform: translateY(calc(-100% + 24px));
  transition: transform 520ms cubic-bezier(.34, 1.3, .64, 1), opacity 260ms ease;
}
.o-stage-more::before {
  content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 26px;
  border-radius: inherit; background: linear-gradient(to bottom, var(--white), rgba(255, 255, 255, 0)); pointer-events: none;
}
.o-stage-more > * { position: relative; }
.o-stage:hover .o-stage-more, .o-stage:focus-within .o-stage-more, .o-stage:focus-visible .o-stage-more { opacity: 1; transform: translateY(0); }
.o-stage-more-lead { font: 500 13px/1.45 var(--f-body); margin: 0; }
.o-stage-more-list { margin: 10px 0 0; font: 400 13px/1.5 var(--f-body); letter-spacing: 0; color: var(--slate); }
.o-flow-loop { position: relative; height: 74px; }
.o-flow-loop::before {
  content: ""; position: absolute; left: 24%; right: 15%; top: 20px; bottom: 0;
  border: 1px solid var(--rule); border-bottom: 0; border-radius: 16px 16px 0 0;
}
.o-flow-loop::after {
  content: ""; position: absolute; left: 24%; bottom: -1px; width: 0; height: 0; transform: translateX(-50%);
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid var(--smoke);
}
.o-flow-loop > span {
  position: absolute; left: 50%; top: 20px; transform: translate(-50%, -50%);
  padding: 0 14px; background: var(--white);
  font: 400 13px/1 var(--f-body); letter-spacing: 0; color: var(--slate); white-space: nowrap;
}

/* ---------- Home: outcomes ---------- */
.out-head { display: grid; gap: 24px; }
.tabs { display: flex; gap: 8px; margin-top: 56px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 10px 18px; border-radius: 8px; border: 0; cursor: pointer;
  background: var(--mist); color: var(--slate); font: 500 14px/1.3 var(--f-body);
  transition: background .3s, color .3s;
}
.tab:hover { color: var(--black); }
.tab[aria-selected="true"] { background: var(--black); color: var(--white); }
.out-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--mist); border-radius: 48px; overflow: hidden;
  min-height: 560px;
}
.out-text { padding: 56px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.out-text .d-lg { margin-top: 8px; }
.out-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; font: 500 14px/1.3 var(--f-body); }
.out-list li { display: flex; gap: 12px; align-items: baseline; }
.out-list li::before { content: ""; width: 8px; height: 8px; background: var(--black); flex: none; transform: translateY(-1px); }
.out-ctl { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 24px; }
.out-vis { position: relative; overflow: hidden; background: var(--canvas); min-height: 360px; }
.out-vis .shot { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.out-vis .shot.is-on { opacity: 1; }
/* The outcome images are square (1200 x 1200) and so is the box, except on
 * small laptops where it runs a little tall. The image is shown whole
 * (contain) so its cards are never cropped; the blurred copy fills any band. */
.out-vis .shot-bg {
  position: absolute; inset: -10%; width: 120%; height: 120%; max-width: none; object-fit: cover;
  filter: blur(28px) saturate(.85) brightness(.92);
}
.out-vis .shot-fg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  transform: scale(1.06); transition: transform 1.6s var(--ease);
}
.out-vis .shot.is-on .shot-fg { transform: scale(1); }

/* ---------- Home: coverage film ---------- */
.cov-copy { display: grid; gap: 24px; }
.cov-p { align-self: end; color: var(--ash); }
.film { position: relative; margin-top: 64px; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 32px; overflow: hidden; background: var(--graphite); }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 50% 50%; }
.film-cap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; color: var(--smoke); }
/* Smoke on white is 2.9:1, under the 4.5:1 that small text needs. */
.arc-white .film-cap { color: var(--slate); }

/* ---------- Home: case studies ----------
 * Photo panels that open one at a time (home.js). Each panel is two nested
 * clip layers that counter-translate, so the open one grows without a layout
 * pass. Until that script marks the row .is-live the panels are plain cards,
 * so nothing is hidden without it. Below 640px wide the row stacks. */
.cases-wrap { margin-top: 64px; }
.cases {
  position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px;
  margin: 0; padding: 0; list-style: none;
  color: var(--white); -webkit-user-select: none; user-select: none; touch-action: manipulation;
}
.case { position: relative; min-height: 520px; border-radius: 24px; overflow: hidden; }
.case-win, .case-body { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: var(--graphite); }
.case-img {
  position: absolute; inset: -4% -6%; width: 112%; height: 108%; max-width: none; object-fit: cover;
  pointer-events: none; -webkit-user-drag: none; transform-origin: 50% 50%;
}
.case-shade, .case-dim, .case-lift { position: absolute; inset: 0; pointer-events: none; }
.case-shade {
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 30%, rgba(0,0,0,0) 66%),
              linear-gradient(to right, rgba(0,0,0,.5), rgba(0,0,0,0) 60%),
              linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,0) 24%);
}
.case-dim { background: var(--black); opacity: 0; }
.case-lift { opacity: 0; transition: opacity .45s var(--ease); background: radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,.16), rgba(255,255,255,0) 60%); }
.case-spine { display: none; }
.case-copy { position: absolute; left: 0; bottom: 0; z-index: 3; padding: 0 32px 30px; pointer-events: none; width: min(var(--case-open, 100%), 620px); }
.case-cat { margin: 0 0 16px; font: 400 13px/1.4 var(--f-body); letter-spacing: 0; color: var(--ash); }
.case-cat i { font-style: normal; color: var(--coral); margin: 0 .3em; }
.case-copy h3 { margin: 0; font: 700 clamp(28px, 3.4vw, 46px)/.94 var(--f-display); letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; }
.case-copy h3 em { font-style: normal; color: var(--ash); }
.case-p { margin: 14px 0 0; max-width: 46ch; font-size: 15px; line-height: 1.45; color: var(--ash); }
.case-meta { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 28px; margin-top: 20px; padding-top: 14px; }
.case-meta span { display: grid; gap: 4px; font: 400 12px/1.3 var(--f-body); letter-spacing: 0; color: var(--smoke); }
.case-meta b { font: 700 24px/1 var(--f-display); letter-spacing: -.02em; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.case-meta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255,255,255,.2); }
/* The coral rule draws across once the panel settles open. */
.case-meta::after { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 1px; background: var(--coral); transform-origin: 0 50%; transform: scaleX(var(--case-rule, 1)); }
.case-hit { position: absolute; inset: 0; z-index: 4; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.case.is-open .case-hit { cursor: default; }
.case-ring-l, .case-ring-r { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; transition: opacity .2s; }
.case-ring-r { border-radius: inherit; box-shadow: inset 0 0 0 2px var(--coral), inset 0 0 0 4px rgba(0,0,0,.35); }
.case-ring-l { border-radius: 24px; box-shadow: inset 2px 0 0 0 var(--coral), inset 4px 0 0 0 rgba(0,0,0,.35); }
.case:has(.case-hit:focus-visible) :is(.case-ring-l, .case-ring-r) { opacity: 1; }
.case-edge { position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), inset 0 1px 0 rgba(255,255,255,.14); }
.case-ask { color: var(--black); }
.case-ask:hover { text-decoration: underline; text-underline-offset: 3px; }
/* The request button, last line of an open panel's copy. The copy ignores the
 * pointer so a click anywhere opens the panel; this one line takes it back, and
 * the open panel's hit layer stands aside so the button can be reached. A
 * closed panel's button is hidden outright, which also keeps it out of the tab
 * order. case-studies.js opens the dialog. */
.case-req { margin: 22px 0 0; }
.case:not(.is-open) .case-req { visibility: hidden; }
.case.is-open .case-req .btn { pointer-events: auto; }
.cases.is-live .case.is-open .case-hit { pointer-events: none; }
.cases.is-stacked .case-req { margin-top: 16px; }

/* ---------- Case study request dialog (case-studies.js) ----------
 * The demo form's fields and buttons in a white card over a dimmed page. */
.csd {
  width: min(600px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  padding: 0; border: 0; border-radius: 32px; background: var(--white); color: var(--black);
  overscroll-behavior: contain;
}
.csd::backdrop { background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.csd[open] { animation: csd-in .45s var(--ease); }
@keyframes csd-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.csd-in { display: grid; gap: 16px; padding: 32px; }
.csd-x { position: absolute; top: 20px; right: 20px; }
.csd .h2s { font-size: var(--t-heading-sm); padding-right: 56px; }
.csd-lede { margin-bottom: 8px; }
.csd-form { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.csd-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.csd-note { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.45; color: var(--slate); }
.csd-note a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.csd-done { display: grid; gap: 16px; justify-items: start; }
.csd-done strong { font-weight: 500; word-break: break-word; }
@media (max-width: 640px) {
  .csd { border-radius: 24px; }
  .csd-in { padding: 24px 20px; }
  .csd-x { top: 14px; right: 14px; }
  .csd-form { grid-template-columns: minmax(0, 1fr); }
}

/* Live: every panel spans the slot and home.js positions it with transforms. */
.cases.is-live { display: block; height: clamp(480px, 46vw, 600px); overflow: hidden; contain: layout paint; }
.cases.is-live.is-stacked { height: auto; }
.cases.is-live .case {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; min-height: 0; border-radius: 24px;
  pointer-events: none; will-change: transform; transform: translateZ(0);
}
.cases.is-live :is(.case-win, .case-body, .case-img) { will-change: transform; }
.cases.is-live .case-hit { pointer-events: auto; }
.cases.is-live .case-spine {
  position: absolute; left: 0; bottom: 24px; z-index: 3; width: var(--case-closed, 88px); display: flex; justify-content: center; pointer-events: none;
}
.case-spine span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font: 700 15px/1 var(--f-display); letter-spacing: .02em; text-transform: uppercase; transition: color .35s; }
@media (hover: hover) {
  .cases.is-live .case:not(.is-open):hover .case-lift { opacity: 1; }
  .cases.is-live .case:not(.is-open):hover .case-spine span { color: var(--coral); }
}
.cases.is-stacked .case-spine { left: 20px; right: 0; bottom: auto; top: 0; width: auto; height: var(--case-closed, 64px); justify-content: flex-start; align-items: center; }
.cases.is-stacked .case-spine span { writing-mode: horizontal-tb; transform: none; }
.cases.is-stacked .case-copy { width: 100%; padding: 0 20px 20px; bottom: var(--case-slack, 0px); }
.cases.is-stacked .case-shade { bottom: var(--case-slack, 0px); }
.cases.is-stacked .case-ring-l { box-shadow: inset 0 2px 0 0 var(--coral), inset 0 4px 0 0 rgba(0,0,0,.35); }
.cases.is-stacked .case-copy h3 { font-size: 26px; }
.cases.is-stacked .case-cat { margin-bottom: 12px; }
/* On a phone the line gives way so the photo still shows above the copy. */
.cases.is-stacked .case-p { display: none; }
.cases.is-stacked .case-meta { gap: 16px; margin-top: 14px; }
.cases.is-stacked .case-meta b { font-size: 20px; }

/* ---------- Home: contact form ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px 64px; align-items: start; }
.contact-copy { display: grid; gap: 28px; position: sticky; top: 120px; }
.contact-copy .h2s { font-size: var(--t-heading-sm); }
.form-card { background: var(--white); border-radius: 32px; padding: 32px; display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 13px/1.3 var(--f-body); letter-spacing: 0; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background-color: var(--mist); color: var(--black);
  border: 1.5px solid transparent; border-radius: 8px;
  font: 400 16px/1.3 var(--f-body);
  appearance: none; -webkit-appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--smoke); opacity: 1; }
.field select:invalid { color: var(--smoke); }
.field select option { color: var(--black); }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); background-color: var(--white); }
.field [aria-invalid="true"] { border-color: var(--coral); background-color: #fff0ed; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-status { font-size: 14px; line-height: 1.45; color: var(--slate); margin: 0; flex: 1 1 220px; min-height: 1.45em; }
.form-status.is-ok { color: var(--black); }
.form-status.is-ok::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--black); border-radius: 50%; }
.form-status.is-err { color: var(--black); }
.form-status.is-err::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--coral); border-radius: 50%; }

/* ---------- CTA pair ---------- */
.cta-big { margin-top: 200px; }
.cta-pair { display: grid; grid-template-columns: 1fr 1fr; margin-top: 64px; border-top: 1.5px solid currentColor; }
.cta-cell { padding: 32px 40px 8px 0; display: grid; gap: 20px; align-content: start; }
.cta-cell + .cta-cell { border-left: 1.5px solid currentColor; padding-left: 40px; }
.cta-row { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.cta-cell:hover .arrow-btn { background: var(--black); color: var(--white); border-color: var(--black); }
.cta-cell .mono { color: var(--slate); }

/* ---------- Platform ---------- */
.plat-index { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 72px; }
.plat-link {
  display: grid; gap: 16px; padding: 28px; border-radius: 32px; background: var(--white);
  transition: background .3s, color .3s;
}
.plat-link:hover { background: var(--black); color: var(--white); }
.plat-link:hover .muted { color: var(--ash); }
.plat-link:hover .arrow-btn { border-color: var(--white); }
.prod-head { max-width: 880px; }
.prod-head .tag { margin-bottom: 28px; }
.prod-head .body-lg { margin-top: 32px; }
/* Echo's art is on black and Twin's on white, the same as their sections, so
 * each runs the full width with no frame and its small print stays legible. */
.prod-art { margin-top: 72px; }
.prod-art img { display: block; width: 100%; height: auto; }
/* Platform: the Simulate screen, a light card on the canvas. */
.plat-shot { margin-top: 64px; }
.plat-shot img { border-radius: 32px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 72px; }
.step { border-radius: 24px; padding: 28px; display: grid; gap: 14px; align-content: start; min-height: 220px; }
.on-dark .step { background: var(--graphite); }
.arc-white .step { background: var(--mist); }
.step h3 { font: 600 24px/1.1 var(--f-display); letter-spacing: -0.02em; margin: 0; }
.step p { margin: 0; font-size: 15px; line-height: 1.45; }
.on-dark .step p { color: var(--ash); }
.arc-white .step p { color: var(--slate); }
.forces { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 16px; padding: 32px; border-radius: 24px; background: var(--mist); color: var(--black); }
.forces .d { font-size: clamp(88px, 10vw, 140px); line-height: .8; color: var(--coral); }
.forces h3 { font: 600 24px/1.1 var(--f-display); letter-spacing: -0.02em; margin: 0 0 8px; text-transform: uppercase; }
.forces p { margin: 0; font-size: 16px; line-height: 1.45; max-width: 40em; }
.prod-stats { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 40px 24px; margin-top: 120px; }
.prod-stats .stat-s { max-width: 22em; }
.arc-white .stat-s { color: var(--slate); }
.gives { margin-top: 120px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 64px; }
.gives ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.gives li { padding: 20px 0; border-top: 1.5px solid currentColor; font: 500 18px/1.3 var(--f-body); letter-spacing: -0.01em; }
.two-views { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.view { display: grid; gap: 20px; padding: 32px; border-radius: 32px; background: var(--white); align-content: start; }
.view .dot { width: 28px; height: 28px; border-radius: 50%; }
.view p { margin: 0; font: 500 22px/1.25 var(--f-body); letter-spacing: -0.02em; }

/* ---------- Company ---------- */
/* About: an opening statement, three numbered cards, and a closing line. */
/* The opening: the statement on the left stays pinned while the three cards
 * stack and scroll past on the right (the pattern the home page's contact and
 * FAQ use). The headline is set down a step here so it wraps to ~4 lines in
 * its column, and the problem statement sits a size below it so the headline
 * leads. The closing line runs the full width beneath. */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 64px; align-items: start; }
.about-text { position: sticky; top: 120px; }
.about-text .d { font-size: clamp(36px, 4.1vw, 54px); }
.about-lead { display: grid; gap: 20px; margin-top: 48px; }
.about-lead .h2s { font-size: var(--t-heading-sm); }
.about-lead .mono { color: var(--slate); margin: 0; }
.about-close { margin-top: 112px; }
.about-cards { display: grid; gap: 16px; }
.about-card { display: grid; gap: 16px; align-content: start; padding: 32px; border-radius: 32px; background: var(--white); }
.about-h { margin: 0; font: 700 var(--t-heading-sm)/1 var(--f-display); letter-spacing: -0.03em; text-transform: uppercase; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.about-card > p:last-child { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--slate); }
.team-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "tag ." "h p"; gap: 24px 64px; align-items: start; }
.team-head .tag { grid-area: tag; }
.team-head .d { grid-area: h; }
.team-head > p { grid-area: p; margin: 0; } /* its first line level with the heading's top */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 72px; }
.person { background: var(--mist); border-radius: 32px; padding: 28px; display: grid; gap: 16px; align-content: start; justify-items: center; text-align: center; }
.person img {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; object-position: 50% 0; background: var(--mist);
}
.person h3 { margin: 12px 0 0; }
.person .mono { color: var(--slate); }
.person p:last-child { margin: 0; font-size: 15px; line-height: 1.5; color: var(--slate); }
.on-dark .person { background: var(--graphite); }
.on-dark .person .mono { color: var(--smoke); }
.on-dark .person p:last-child { color: var(--ash); }

/* ---------- Privacy ---------- */
.policy { max-width: 820px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.policy > div { border-top: 1.5px solid var(--black); padding-top: 28px; }
.policy h2 { font: 600 26px/1.15 var(--f-display); letter-spacing: -0.02em; margin: 0; }
.policy h3 { font: 500 17px/1.4 var(--f-body); margin: 28px 0 0; }
.policy p, .policy ul { font-size: 16px; line-height: 1.65; color: var(--slate); margin: 16px 0 0; }
.policy ul { padding-left: 20px; display: grid; gap: 6px; }
.policy strong { font-weight: 600; color: var(--black); }
.policy a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.policy .o-tablewrap { margin-top: 20px; border-radius: 16px; overflow-x: auto; background: var(--mist); }
.policy table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; line-height: 1.5; text-align: left; }
.policy th { padding: 14px 16px; font: 500 13px/1.3 var(--f-body); letter-spacing: 0; color: var(--slate); border-bottom: 1px solid var(--ash); }
.policy td { padding: 14px 16px; color: var(--slate); vertical-align: top; }
.policy td:first-child { color: var(--black); font-weight: 500; }
.policy tbody tr + tr td { border-top: 1px solid var(--rule); }
.policy .o-3up { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.policy .o-3up > div { background: var(--mist); border-radius: 20px; padding: 20px; }
.policy .o-3up > div > p { font: 500 14px/1.3 var(--f-body); letter-spacing: 0; color: var(--black); margin: 0 0 12px; }
.policy .o-3up ul { font-size: 14px; line-height: 1.5; margin: 0; padding-left: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); padding-top: 96px; padding-bottom: 40px; margin-bottom: var(--frame); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .6fr)); gap: 40px 32px; }
.foot-brand { display: grid; gap: 20px; align-content: start; }
.foot-brand .logo { color: var(--white); font-size: 40px; width: fit-content; }
.foot-brand p { margin: 0; color: var(--ash); max-width: 26em; font-size: 15px; line-height: 1.45; }
.foot-brand .mono { color: var(--smoke); }
.foot-brand .volt { text-transform: none; }
.foot-col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.foot-col .mono { color: var(--smoke); margin-bottom: 6px; }
.foot-col a { color: var(--white); width: fit-content; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-base { margin-top: 96px; padding-right: 72px; display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; color: var(--smoke); }
.foot-base .nv { display: flex; align-items: center; gap: 12px; }
.foot-base .nv img { height: 32px; width: auto; }
/* Back to top: floats once the hero is behind you; the coral ring is how far down the page you are. */
.to-top {
  position: fixed; z-index: 40;
  right: calc(var(--frame) + 16px); bottom: calc(var(--frame) + 16px + env(safe-area-inset-bottom, 0px));
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--black); color: var(--white);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .35s, transform .5s var(--ease);
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 2; }
.to-top .ring .ring-fill { stroke: var(--coral); stroke-dasharray: 100; stroke-dashoffset: var(--off, 100); }
.to-top .arr { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.to-top:hover .arr { transform: translateY(-3px); }

/* ---------- Responsive ---------- */
/* ---------- FAQ ----------
 * Native <details>, so every answer is in the HTML for crawlers and works with
 * no script. The toggle is the .arrow-btn square, turning + into x when open.
 * Each answer's first sentence is the whole answer on its own, in the medium
 * weight, so a reader or an answer engine lifting one line gets a complete one. */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px 64px; align-items: start; }
.faq-copy { display: grid; gap: 28px; position: sticky; top: 120px; }
.faq-list { border-bottom: 1px solid var(--rule); }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { margin: 0; font: 500 20px/1.3 var(--f-body); letter-spacing: -0.015em; text-wrap: pretty; }
.faq-toggle {
  width: 40px; height: 40px; flex: none; display: inline-grid; place-items: center;
  border: 1.5px solid currentColor; border-radius: 8px;
  transition: background .3s, color .3s, border-color .3s;
}
.faq-toggle svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.faq-item summary:hover .faq-toggle, .faq-item[open] .faq-toggle { background: var(--black); color: var(--white); border-color: var(--black); }
.faq-item[open] .faq-toggle svg { transform: rotate(45deg); }
.faq-a { padding: 0 64px 28px 0; max-width: 40em; color: var(--slate); }
.faq-a strong { font-weight: 500; color: var(--black); }

/* ---------- Cookie sheet (cookie-consent.js) ----------
 * The consent sheet from the cookie-sheet design (vividsites.app): it rises
 * on a spring, "Choose" grows it into the categories with spring switches,
 * a drag down or a flick closes it with essentials only, and a "Privacy" pill
 * stays in the corner to reopen it. Its own CSS, unchanged but for the theme
 * variables, which take v2's tokens. */
/* The pill is the sheet's sibling, not its child, so it needs the theme
 * variables declared on it too. Without them its bottom and left are invalid
 * and it falls back to static position, at the foot of the page instead of the
 * corner of the screen; the design's near-empty demo page never showed it. */
.vs-cookie-sheet, .vs-cookie-sheet-reopen {
  --vs-cookie-sheet-accent: var(--black);
  --vs-cookie-sheet-on-accent: var(--white);
  --vs-cookie-sheet-bg: var(--white);
  --vs-cookie-sheet-ink: var(--black);
  --vs-cookie-sheet-muted: var(--slate);
  --vs-cookie-sheet-line: rgba(0,0,0,.1);
  --vs-cookie-sheet-radius: 24px;
  --vs-cookie-sheet-width: 30rem;
  --vs-cookie-sheet-gap: 24px;
  --vs-cookie-sheet-font: var(--f-body);
}
.vs-cookie-sheet {
  --vs-cookie-sheet-accent: var(--black);
  --vs-cookie-sheet-on-accent: var(--white);
  --vs-cookie-sheet-bg: var(--white);
  --vs-cookie-sheet-ink: var(--black);
  --vs-cookie-sheet-muted: var(--slate);
  --vs-cookie-sheet-line: rgba(0,0,0,.1);
  --vs-cookie-sheet-radius: 24px;
  --vs-cookie-sheet-width: 30rem;
  --vs-cookie-sheet-gap: 24px;
  --vs-cookie-sheet-font: var(--f-body);

  position: fixed; z-index: 1000; bottom: var(--vs-cookie-sheet-gap); left: 50%;
  width: min(var(--vs-cookie-sheet-width), calc(100vw - var(--vs-cookie-sheet-gap) * 2));
  font-family: var(--vs-cookie-sheet-font); font-size: 1rem; color: var(--vs-cookie-sheet-ink);
  background: var(--vs-cookie-sheet-bg); border-radius: var(--vs-cookie-sheet-radius);
  box-shadow: 0 0 0 1px var(--vs-cookie-sheet-line), inset 0 1px 0 rgba(255,255,255,.8),
    0 2px 4px rgba(10,20,18,.04), 0 12px 24px -8px rgba(10,20,18,.12), 0 40px 80px -24px rgba(10,20,18,.28);
  transform: translate3d(-50%, 140%, 0); visibility: hidden; touch-action: none; will-change: transform;
}
.vs-cookie-sheet[data-position="left"] { left: var(--vs-cookie-sheet-gap); }
.vs-cookie-sheet[data-position="right"] { left: auto; right: var(--vs-cookie-sheet-gap); }
.vs-cookie-sheet, .vs-cookie-sheet * { box-sizing: border-box; }
.vs-cookie-sheet.is-open { visibility: visible; }
.vs-cookie-sheet-grip { display: block; width: 36px; height: 4px; margin: 8px auto 0; border-radius: 4px; background: var(--vs-cookie-sheet-line); cursor: grab; }
.vs-cookie-sheet-panel { overflow: hidden; border-radius: inherit; }
.vs-cookie-sheet-short, .vs-cookie-sheet-long { padding: 1.1rem 1.5rem 1.5rem; }
.vs-cookie-sheet-long { display: none; padding-top: .5rem; }
.vs-cookie-sheet.is-long .vs-cookie-sheet-long { display: block; }
.vs-cookie-sheet.is-long .vs-cookie-sheet-short .vs-cookie-sheet-actions { display: none; }
.vs-cookie-sheet.is-long .vs-cookie-sheet-short { padding-bottom: .9rem; }
.vs-cookie-sheet-head { display: flex; gap: .9rem; align-items: flex-start; }
.vs-cookie-sheet-icon { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 12px; display: grid; place-items: center; color: var(--vs-cookie-sheet-accent);
  background: color-mix(in srgb, var(--vs-cookie-sheet-accent) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--vs-cookie-sheet-accent) 14%, transparent); }
.vs-cookie-sheet-icon svg { width: 1.35rem; height: 1.35rem; }
.vs-cookie-sheet h2 { margin: .15rem 0 .3rem; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.3; }
.vs-cookie-sheet p { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--vs-cookie-sheet-muted); text-wrap: pretty; }
.vs-cookie-sheet-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; align-items: center; }
.vs-cookie-sheet-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35em; height: 2.5rem; padding: 0 1.05rem; border: 0; border-radius: 12px;
  font: inherit; font-size: .875rem; font-weight: 600; letter-spacing: -.005em; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent;
  color: var(--vs-cookie-sheet-ink); background: color-mix(in srgb, var(--vs-cookie-sheet-ink) 6%, transparent);
  transition: background-color .2s cubic-bezier(.2,0,0,1), transform .4s cubic-bezier(.3,1.5,.5,1), filter .2s;
}
.vs-cookie-sheet-btn:hover { background: color-mix(in srgb, var(--vs-cookie-sheet-ink) 10%, transparent); }
.vs-cookie-sheet-btn:active { transform: scale(.96); transition-duration: .1s; }
.vs-cookie-sheet-btn:focus-visible, .vs-cookie-sheet-more:focus-visible { box-shadow: 0 0 0 2px var(--vs-cookie-sheet-bg), 0 0 0 4px var(--vs-cookie-sheet-accent); }
.vs-cookie-sheet-btn[data-primary] { color: var(--vs-cookie-sheet-on-accent); background: var(--vs-cookie-sheet-accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 2px rgba(0,0,0,.12), 0 6px 14px -8px var(--vs-cookie-sheet-accent); }
.vs-cookie-sheet-btn[data-primary]:hover { filter: brightness(1.1); background: var(--vs-cookie-sheet-accent); }
.vs-cookie-sheet-btn[data-primary]:focus-visible { box-shadow: 0 0 0 2px var(--vs-cookie-sheet-bg), 0 0 0 4px var(--vs-cookie-sheet-accent); }
.vs-cookie-sheet-more { margin-left: auto; display: inline-flex; align-items: center; gap: .3em; padding: .5rem .25rem; border: 0; background: none; border-radius: 8px;
  font: inherit; font-size: .875rem; font-weight: 600; color: var(--vs-cookie-sheet-ink); cursor: pointer; outline: none; opacity: .8; transition: opacity .2s; }
.vs-cookie-sheet-more:hover { opacity: 1; }
.vs-cookie-sheet-more svg { width: 1em; height: 1em; transition: transform .45s cubic-bezier(.3,1.5,.5,1); }
.vs-cookie-sheet-more:hover svg { transform: translateY(2px); }
/* category rows */
.vs-cookie-sheet-rows { margin: 0 0 1.25rem; padding: 0; list-style: none; border-top: 1px solid var(--vs-cookie-sheet-line); }
.vs-cookie-sheet-row { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--vs-cookie-sheet-line); }
.vs-cookie-sheet-row b { font-size: .9375rem; font-weight: 600; }
.vs-cookie-sheet-row p { grid-column: 1; font-size: .8125rem; }
.vs-cookie-sheet-row .vs-cookie-sheet-switch { grid-column: 2; grid-row: 1 / span 2; }
.vs-cookie-sheet-lock { font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: var(--vs-cookie-sheet-muted); margin-right: .5rem; }
/* spring switch */
.vs-cookie-sheet-switch {
  --w: 2.75rem; --h: 1.625rem; --p: 3px;
  position: relative; flex: none; width: var(--w); height: var(--h); padding: 0; border: 0; border-radius: 999px; cursor: pointer; outline: none;
  background: color-mix(in srgb, var(--vs-cookie-sheet-ink) 14%, transparent); transition: background-color .3s cubic-bezier(.2,0,0,1);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.08);
}
.vs-cookie-sheet-switch[aria-checked="true"] { background: var(--vs-cookie-sheet-accent); }
.vs-cookie-sheet-switch:focus-visible { box-shadow: 0 0 0 2px var(--vs-cookie-sheet-bg), 0 0 0 4px var(--vs-cookie-sheet-accent); }
.vs-cookie-sheet-switch:disabled { cursor: not-allowed; opacity: .55; }
.vs-cookie-sheet-switch i {
  position: absolute; left: var(--p); top: var(--p); width: calc(var(--h) - var(--p) * 2); height: calc(var(--h) - var(--p) * 2); border-radius: 999px;
  background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 2px 6px rgba(0,0,0,.12); transform-origin: 50% 50%; will-change: transform;
}
.vs-cookie-sheet-switch[aria-checked="true"] i { transform: translateX(calc(var(--w) - var(--h))); }
/* the reopen pill */
.vs-cookie-sheet-reopen {
  position: fixed; z-index: 999; left: var(--vs-cookie-sheet-gap); bottom: var(--vs-cookie-sheet-gap);
  display: inline-flex; align-items: center; gap: .45em; height: 2.25rem; padding: 0 .9rem 0 .7rem; border: 0; border-radius: 999px;
  font: 600 .8125rem/1 var(--vs-cookie-sheet-font); color: var(--vs-cookie-sheet-ink); background: var(--vs-cookie-sheet-bg); cursor: pointer; outline: none;
  box-shadow: 0 0 0 1px var(--vs-cookie-sheet-line), 0 6px 16px -6px rgba(10,20,18,.25);
  opacity: 0; transform: translateY(8px) scale(.9); pointer-events: none; visibility: hidden;
  transition: opacity .3s cubic-bezier(.2,0,0,1), transform .5s cubic-bezier(.3,1.5,.5,1), visibility 0s .3s;
}
.vs-cookie-sheet-reopen.is-on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.vs-cookie-sheet-reopen:hover { transform: translateY(-2px); }
.vs-cookie-sheet-reopen:active { transform: scale(.95); transition-duration: .1s; }
.vs-cookie-sheet-reopen:focus-visible { box-shadow: 0 0 0 1px var(--vs-cookie-sheet-line), 0 0 0 3px var(--vs-cookie-sheet-accent); }
.vs-cookie-sheet-reopen svg { width: 1.05rem; height: 1.05rem; color: var(--vs-cookie-sheet-accent); }
@media (max-width: 520px) {
  .vs-cookie-sheet, .vs-cookie-sheet-reopen { --vs-cookie-sheet-gap: 8px; }
  .vs-cookie-sheet-short, .vs-cookie-sheet-long { padding: 1rem 1.15rem 1.15rem; }
  .vs-cookie-sheet-actions .vs-cookie-sheet-btn { flex: 1; }
  .vs-cookie-sheet-more { margin: 0 auto; }
  .vs-cookie-sheet-actions { gap: .4rem; }
}

/* Outllyr additions: the cookie icon in the logo's coral, links in the sheet,
 * and the footer's "Cookie settings" entry, which is a link to the
 * declaration that the script turns into a button for the sheet. */
.vs-cookie-sheet-icon { color: var(--coral); background: color-mix(in srgb, var(--coral) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--coral) 22%, transparent); }
.vs-cookie-sheet p a { color: var(--vs-cookie-sheet-ink); text-decoration: underline; text-underline-offset: 3px; }
.vs-cookie-sheet-row code { font: 400 11px/1.4 var(--f-mono); letter-spacing: -.02em; color: var(--vs-cookie-sheet-ink); }
.vs-cookie-sheet-foot { margin: 0 0 1rem !important; font-size: .8125rem !important; }

@media (max-width: 1200px) {
  .o-5up { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .o-flow { margin-top: 40px; padding-bottom: 0; }
  .o-flow-rail, .o-flow-dot { display: none; }
  .o-flow-loop { height: auto; margin-bottom: 24px; }
  .o-flow-loop::before, .o-flow-loop::after { display: none; }
  .o-flow-loop > span { position: static; transform: none; padding: 0; white-space: normal; display: block; }
  .o-stage-more { position: static; min-height: 0; width: 92%; margin: 0 auto; padding-bottom: 16px; opacity: 1; transform: none; }
}
@media (max-width: 980px) {
  .pill { display: none; }
  .nav .btn { margin-left: auto; }
  .menu-btn {
    display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
    background: var(--white); color: var(--black); border: 0; border-radius: 8px; font-weight: 500; font-size: 14px; cursor: pointer;
  }
  .split2, .sol-head, .out-card, .contact, .faq, .prod-head, .gives, .about-hero, .team-head { grid-template-columns: minmax(0, 1fr); }
  .about-text { position: static; }
  .team-head { grid-template-areas: "tag" "h" "p"; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-copy, .faq-copy { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .out-vis { min-height: 0; aspect-ratio: 1 / 1; order: -1; }
  .steps, .team { grid-template-columns: minmax(0, 1fr); }
  .step { min-height: 0; }
  .prod-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy .o-3up { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) { .o-5up { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  :root { --box-r: 24px; }
  .nav { height: calc(76px + env(safe-area-inset-top, 0px)); gap: 10px; }
  .menu-panel { top: calc(70px + env(safe-area-inset-top, 0px)); }
  .nav .btn { display: none; }
  .menu-btn { margin-left: auto; }
  .hero { padding-top: calc(112px + env(safe-area-inset-top, 0px)); }
  .page-head { padding-top: calc(128px + env(safe-area-inset-top, 0px)); }
  .hero-copy { margin-top: 32px; }
  .hero-stage { margin-top: 40px; }
  .arc { padding-top: 80px; padding-bottom: 72px; }
  .to-top { width: 46px; height: 46px; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .stat { padding-left: 20px; }
  .problem, .block-gap, .cta-big { margin-top: 120px; }
  .problem-close { margin-top: 72px; }
  .out-text { padding: 32px 24px; }
  .faq-item h3 { font-size: 18px; }
  .faq-a { padding-right: 0; }
  .out-card { border-radius: 32px; }
  .film { margin-top: 40px; border-radius: 20px; aspect-ratio: 4 / 3; }
  .cases-wrap { margin-top: 40px; }
  .case, .cases.is-live .case, .case-ring-l { border-radius: 16px; }
  /* Too much small print to shrink to a phone: shown at a readable size and swiped sideways. */
  .prod-art { margin: 48px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .prod-art::-webkit-scrollbar { display: none; }
  .prod-art img { width: 760px; max-width: none; }
  .plat-shot img { border-radius: 20px; }
  .form-card { grid-template-columns: minmax(0, 1fr); padding: 20px; border-radius: 24px; }
  .cta-pair, .plat-index, .two-views { grid-template-columns: minmax(0, 1fr); }
  .cta-cell { padding-right: 0; }
  .cta-cell + .cta-cell { border-left: 0; padding-left: 0; border-top: 1.5px solid currentColor; margin-top: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .d-lg { font-size: 40px; }
  .steps, .prod-stats, .gives { margin-top: 72px; }
  .prod-stats { grid-template-columns: minmax(0, 1fr); }
  .gives ul { grid-template-columns: minmax(0, 1fr); }
  .forces { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .person, .view, .plat-link, .about-card { border-radius: 24px; padding: 24px; }
  .about-lead { margin-top: 56px; }
  .about-close { margin-top: 64px; }
}
@media (max-width: 520px) { .o-5up { grid-template-columns: minmax(0, 1fr); } .o-stage-card { min-height: 0; } }
@media (hover: none) and (min-width: 1201px) { .o-stage-more { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .nav .logo i, .nav .logo i::after { animation: none; }
  .csd[open] { animation: none; }
  .roll-l > span, .tab, .arrow-btn, .faq-toggle, .faq-toggle svg, .out-vis .shot, .out-vis .shot-fg, .plat-link, .to-top, .to-top .arr { transition: none; }
  .o-stage-more { transition: opacity 200ms linear; }
}
