/* Register --ga so it can be animated (required for @keyframes on a var) */
@property --ga { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ============================================================
   ZEROVYN v3 — css/components.css
   Section components: signal, crew gallery, systems, telemetry,
   trajectory, uplink, footer. Tokens, layout primitives, nav,
   gate, hero and responsive/reduced-motion rules live in
   base.css — which outranks this file. Nothing here may hide
   content at rest: every reveal is JS-armed by .rv--armed.
   ============================================================ */

/* ============================================================
   small chrome shared across sections
   ============================================================ */
.spectrum { margin-top: 18px; }

.pill__dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--txt-3);
  display: inline-block;
  margin: 0 7px 1px;
  vertical-align: middle;
}

/* ============================================================
   SIGNAL — thesis + one honest benchmark
   ============================================================ */
.signal { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.callout { border-left: 2px solid var(--sig); padding: 4px 0 4px 20px; }
.callout p { margin: 0; }

.meters {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--line); border-radius: var(--r-l);
  background: var(--dark); overflow: hidden;
}
.meter {
  display: grid;
  grid-template-columns: 132px minmax(0,1fr) 54px;
  align-items: center; gap: 16px;
  padding: 15px 18px;
  border-top: 1px solid var(--line);
}
.meter:first-child { border-top: 0; }
.meter__t {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--txt-3); white-space: nowrap;
}
.meter__bar { height: 6px; background: var(--void); border-radius: 999px; overflow: hidden; }
.meter__bar i {
  display: block; height: 100%; width: 0;
  border-radius: 999px;
  background: var(--mh, var(--sig));
  box-shadow: 0 0 14px color-mix(in srgb, var(--mh, var(--sig)) 45%, transparent);
  transition: width 1.3s cubic-bezier(.16,1,.3,1);
}
.meter:nth-child(1) { --mh: var(--hue-1); }
.meter:nth-child(2) { --mh: var(--hue-2); }
.meter:nth-child(3) { --mh: var(--hue-3); }
.meter:nth-child(4) { --mh: var(--hue-4); }
.meter:nth-child(5) { --mh: var(--hue-5); }
.meter:nth-child(6) { --mh: var(--hue-6); }
.meter__v {
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .02em;
  color: var(--mh, var(--sig)); text-align: right; font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.bench { display: flex; flex-direction: column; gap: 0; }
.bench__row {
  display: grid;
  grid-template-columns: 122px minmax(0,1fr);
  gap: 18px; align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.bench__row:last-child { border-bottom: 1px solid var(--line); }
.bench__n {
  font-family: var(--f-display); font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 600; letter-spacing: -.03em; color: var(--sig);
  font-variant-numeric: tabular-nums;
}
.bench__t { font-size: 14px; color: var(--txt-2); line-height: 1.6; margin: 0; }
.bench__t b { color: var(--txt); font-weight: 600; }

.ticks { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: 26px; }
.ticks i { flex: 1; background: var(--line-2); height: 6px; border-radius: 1px; }
.ticks i:nth-child(5n+1) { height: 22px; background: color-mix(in srgb, var(--sig) 45%, var(--line-2)); }
.ticks i:nth-child(5n+2), .ticks i:nth-child(5n+3) { height: 14px; }
.ticks i:nth-child(5n+4) { height: 10px; }

/* ============================================================
   CREW — eight agents as a gallery grid (MotionSites DNA)
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
.agent {
  --h: var(--sig);
  position: relative;
  display: flex; flex-direction: column;
  background: var(--lifted);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 22px 20px 20px;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s ease, background .3s ease;
}
/* the agent's own hue bleeds in from the top on hover — no layout shift */
/* retired: static top hairline — replaced by the running border light below.
   Never re-add height:3px here, it crushes the ring to a sliver. */
.agent::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 56% at 50% 0%, color-mix(in srgb, var(--h) 13%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.agent:hover { transform: translateY(-4px); background: var(--panel); border-color: color-mix(in srgb, var(--h) 38%, transparent); }
.agent:hover::after { opacity: 1; }
.agent > * { position: relative; z-index: 1; }

.agent__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.agent__glyph {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--h);
  border: 1px solid color-mix(in srgb, var(--h) 34%, transparent);
  background: color-mix(in srgb, var(--h) 11%, transparent);
}
.agent__glyph svg { width: 22px; height: 22px; }
.agent__n {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em;
  color: var(--txt-3); font-variant-numeric: tabular-nums;
}
.agent__name {
  font-family: var(--f-display);
  font-size: 19px; font-weight: 600; letter-spacing: -.02em;
  line-height: 1.15;
  margin: 20px 0 0;
}
.agent__role {
  font-family: var(--f-mono);
  font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--txt-3);
  margin: 5px 0 0;
}
.agent__desc {
  margin: 13px 0 0;
  font-size: 13.5px; line-height: 1.6;
  color: var(--txt-2);
  flex: 1;
}
.agent__foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--txt-3);
}
.agent__pulse { display: flex; gap: 2px; align-items: flex-end; height: 12px; }
.agent__pulse i { width: 3px; height: 4px; background: color-mix(in srgb, var(--h) 40%, var(--line-2)); border-radius: 1px; }
.agent__pulse i:nth-child(1) { height: 4px; }
.agent__pulse i:nth-child(2) { height: 7px; }
.agent__pulse i:nth-child(3) { height: 9px; }
.agent__pulse i:nth-child(4) { height: 12px; background: var(--h); }

/* ============================================================
   SYSTEMS — 4 practice-area tabs
   ============================================================ */
.tabs { display: grid; grid-template-columns: minmax(0, 288px) minmax(0,1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.tabs__nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--nav-h) + 28px); }
.tab-btn {
  display: flex; align-items: center; gap: 13px;
  background: none; border: 0;
  border-radius: 999px;
  padding: 13px 16px; cursor: pointer; text-align: left;
  font-family: var(--f-body); font-size: 13.5px; font-weight: 500;
  color: var(--txt-2);
  transition: color .2s ease, background .2s ease;
}
.tab-btn:hover { color: var(--txt); background: var(--lifted); }
.tab-btn[aria-selected="true"] { color: var(--txt); background: color-mix(in srgb, var(--sig) 14%, transparent); }
.tab-btn i {
  font-style: normal; font-family: var(--f-mono); font-size: 9.5px;
  letter-spacing: .08em; color: var(--txt-3); flex: none; width: 17px;
}
.tab-btn[aria-selected="true"] i { color: var(--sig); }
.tab-btn em {
  font-style: normal; font-family: var(--f-mono); font-size: 9.5px;
  letter-spacing: .06em; color: var(--txt-3); margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.tab-btn[aria-selected="true"] em { color: var(--sig); }

.panel-tab { display: none; }
.panel-tab.is-on { display: block; }
.panel-tab.is-on.tab--anim { animation: tabIn .42s cubic-bezier(.22,1,.36,1); }
@keyframes tabIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(204px, 1fr)); gap: 12px; margin-top: 22px; }
.chip-grid .chip {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-s);
  padding: 17px 16px; background: var(--dark);
  transition: border-color .22s ease, background .22s ease, transform .22s ease;
}
.chip-grid .chip:hover { border-color: color-mix(in srgb, var(--sig) 42%, transparent); background: var(--lifted); transform: translateY(-2px); }
.chip__n { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .1em; color: var(--txt-3); font-variant-numeric: tabular-nums; }
.chip-grid .chip b { display: block; font-family: var(--f-display); font-size: 15px; font-weight: 600; letter-spacing: -.015em; margin-top: 8px; }
.chip-grid .chip span { display: block; margin-top: 7px; font-size: 12.5px; color: var(--txt-2); line-height: 1.55; }

.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.stack .tag {
  font-size: 12px; letter-spacing: .01em;
  color: var(--txt-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 13px; background: var(--void);
}

/* ============================================================
   TELEMETRY — packet trace strip + products
   ============================================================ */
.trace-strip {
  border: 1px solid var(--line); border-radius: var(--r-l);
  background: var(--dark); padding: 16px 18px; margin-top: 28px;
}
.trace-strip__head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
.trace-strip__head .mono { font-size: 10px; }
.trace-strip__lanes { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.lane {
  display: grid; grid-template-columns: 118px minmax(0,1fr); gap: 14px; align-items: center;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--txt-3);
}
.lane__k { white-space: nowrap; }
.lane__rail { position: relative; height: 5px; background: var(--void); border-radius: 999px; overflow: hidden; }
.lane__rail i {
  position: absolute; top: 0; bottom: 0; width: 42%;
  background: linear-gradient(90deg, transparent, var(--sig) 50%, transparent);
  /* Leo 2026-09-28: translateX animation instead of left:% — left is a layout
     property, and left:100% + width:42% reports an overflowed box that expands
     the page width (the mobile pinch-zoom-out bug). Transform never affects
     layout, so the rail can never stretch the document. */
  will-change: transform;
}
.lane--a i { animation: pktA 5.2s linear infinite; }
.lane--b i { animation: pktB 6.8s linear infinite; }
.lane--c i { animation: pktA 8.4s linear infinite; }
.lane--d i { animation: pktB 4.6s linear infinite; }
@keyframes pktA { 0% { transform: translateX(-105%); } 100% { transform: translateX(240%); } }
@keyframes pktB { 0% { transform: translateX(240%); } 100% { transform: translateX(-105%); } }

/* Leo 2026-09-28: the packet rails animate left:-44%→100% but the element is
   42% wide, so at any stopped/0% state it hangs ~38-77px past the rail and
   expands the page — that expansion is the mobile pinch-zoom-out bug. The rail
   is overflow:hidden so the paint is clipped, but getBoundingClientRect still
   reports the overflowed box, which stretched document width. Contain it. */
.lane__rail { overflow: clip; }
.lane__rail i { contain: strict; }

.prod { display: grid; grid-template-columns: repeat(auto-fit, minmax(252px, 1fr)); gap: 14px; }
.prod__card {
  background: var(--lifted);
  border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .28s ease, background .28s ease, transform .28s ease;
}
/* Leo 2026-09-29: subdomain backlinks on the product cards */
.prod__link {
  margin-top: 12px;
  align-self: flex-start;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt-2);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.prod__link:hover { color: var(--sig); border-bottom-color: var(--sig); }
.prod__link:focus-visible { outline: 2px solid var(--sig); outline-offset: 3px; }
.prod__sub {
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--dim);
}

.prod__card:hover { border-color: color-mix(in srgb, var(--sig) 40%, transparent); background: var(--panel); transform: translateY(-3px); }
.prod__icon { width: 36px; height: 36px; flex: none; }
.prod__name {
  font-family: var(--f-display); font-size: 18px; font-weight: 600;
  letter-spacing: -.02em; margin: 0;
}
.prod__card p { margin: 0; font-size: 13.5px; color: var(--txt-2); line-height: 1.6; flex: 1; }
.status {
  align-self: flex-start;
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .11em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--txt-3); border-radius: 999px; padding: 4px 10px;
}
.status--b { color: #C7CCF8; border-color: color-mix(in srgb, var(--sig) 40%, transparent); background: color-mix(in srgb, var(--sig) 9%, transparent); }

/* ============================================================
   TRAJECTORY — 6 moves
   ============================================================ */
/* Leo 2026-09-28: mobile collapse rules must live in components.css — this
   sheet loads AFTER base.css so its declarations always win the cascade, and
   base.css's @media blocks were being overridden (moves stayed 3-up at 393px
   and the footer grid stayed wide, cramming words together). */
.moves { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }

@media (max-width: 1080px) {
  .moves { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .moves { grid-template-columns: 1fr; }
}

.move {
  background: var(--lifted); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 24px 22px; position: relative;
  transition: background .28s ease, border-color .28s ease, transform .28s ease;
}
.move:hover { background: var(--panel); border-color: var(--line-2); transform: translateY(-3px); }
.move__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.move__n {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; color: var(--txt-3);
  border: 1px solid var(--line-2); border-radius: 999px;
  width: 30px; height: 30px; display: grid; place-items: center;
  transition: color .25s ease, border-color .25s ease;
}
.move:hover .move__n { color: var(--sig); border-color: var(--sig); }
.move__t {
  font-family: var(--f-display); font-size: 19px; font-weight: 600;
  letter-spacing: -.02em; margin-top: 20px;
}
.move p { margin: 9px 0 0; font-size: 13.5px; color: var(--txt-2); line-height: 1.6; }
.move__eta {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--txt-3);
  display: flex; justify-content: space-between; gap: 8px;
}
.move__eta b { color: var(--txt); font-weight: 500; }

/* ============================================================
   UPLINK — contact
   ============================================================ */
.uplink {
  border: 1px solid var(--line); border-radius: var(--r-l);
  background:
    radial-gradient(ellipse 62% 120% at 88% 0%, color-mix(in srgb, var(--sig) 9%, transparent), transparent 62%),
    var(--dark);
  padding: clamp(28px, 4vw, 52px);
}
.uplink__in { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }

.sla {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--line); border-radius: var(--r-l); background: var(--void);
  overflow: hidden;
}
.sla__row {
  display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 14px; align-items: baseline;
  padding: 14px 18px; border-top: 1px solid var(--line);
  font-family: var(--f-body); font-size: 13px; color: var(--txt-2);
}
.sla__row:first-child { border-top: 0; }
.sla__row b { color: var(--txt); font-weight: 600; }
.sla__k { color: var(--txt-3); font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; }
.sla__note { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--txt-2); margin: 0; }

.field { margin-bottom: 15px; }
.field label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--txt-3); margin-bottom: 8px;
}
.field label i { font-style: normal; font-size: 9px; color: var(--txt-3); opacity: .7; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--void); color: var(--txt);
  border: 1px solid var(--line-2); border-radius: var(--r-s);
  padding: 13px 14px; font-family: var(--f-body); font-size: 14.5px;
  transition: border-color .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%23A9B2BD' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--txt-3); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sig); background: var(--lifted); }
.field__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form__ok { display: none; align-items: center; gap: 9px; margin-top: 15px; font-size: 13.5px; color: var(--sig); }
.form__ok--on { display: flex; }
.form__err { display: none; margin-top: 11px; font-size: 13px; color: var(--amber); }
.form__err--on { display: block; }
.form__note { margin: 12px 0 0; font-size: 12.5px; color: var(--txt-3); }

.mail {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .02em;
  color: var(--txt); text-decoration: none;
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: color .2s ease, border-color .2s ease;
}
.mail:hover { color: var(--sig); border-bottom-color: var(--sig); }

/* ============================================================
   FOOTER
   ============================================================ */
/* Footer — mirrors scrolltide.co's four-tier structure:
   1 · CTA band (border-top hairline, centred headline)
   2 · brand + 3 link columns
   3 · ghost wordmark, clipped at the bottom edge
   4 · quiet bottom bar, hairline top */
.foot { border-top: 1px solid var(--line); background: var(--void); overflow: hidden; }

/* --- 1 · CTA band --- */
.foot__cta { padding-block: clamp(76px, 11vw, 120px); }
.foot__cta-in {
  width: 100%;
  max-width: 768px;                  /* their max-w-3xl */
  margin: 0 auto;
  padding-inline: var(--gut);
  text-align: center;
}
.foot__eyebrow {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #22D3EE;
}
.foot__title {
  margin: 18px 0 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--bone);
  text-wrap: balance;
}
.foot__lead {
  margin: 18px auto 0;
  max-width: 448px;                  /* their max-w-md */
  font-size: 16px;
  line-height: 1.5;
  color: var(--mist);
  text-wrap: balance;
}
.foot__emails {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.foot__note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--dim);
}

/* --- 2 · brand + columns --- */
.foot__links { border-top: 1px solid var(--line); }
.foot__cols {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 64px) var(--gut);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.foot__brand { display: flex; flex-direction: column; }
.foot__brand .brand { align-self: flex-start; }
.foot__brand p {
  margin: 15px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mist);
  max-width: 38ch;
}
.foot__col { display: flex; flex-direction: column; }
.foot__col h3 {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--dim); margin: 0 0 14px;
}
.foot__col a {
  display: block; font-size: 14px; color: var(--txt-2); text-decoration: none;
  padding: 5px 0; transition: color .18s ease;
}
.foot__col a:hover { color: var(--sig); }
.foot__col span { display: block; font-size: 14px; color: var(--dim); padding: 5px 0; }

/* --- 3 · ghost wordmark, clipped by .foot's overflow --- */
.foot__ghost {
  /* Leo 2026-09-28: absolute AND clipped. An absolutely positioned nowrap string
     still extends the page's scrollable overflow area, which widens the initial
     containing block — that widening is what lets mobile browsers be
     pinch-zoomed OUT past 1:1. overflow:clip on the box itself contains it.
     Leo 2026-09-29: mobile sizing fixed — the word now fits so the final "n"
     renders in full instead of being cut at the viewport edge. */
  position: absolute;
  inset: auto 0 0 0;
  overflow: clip;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(120px, 26vw, 380px);
  line-height: 0.78;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  user-select: none;
  padding: 0 var(--gut);
  pointer-events: none;
}
/* mobile: the wordmark must fit inside the viewport with both ends visible */
@media (max-width: 640px) {
  .foot__ghost {
    font-size: 74px;
    letter-spacing: -0.025em;
    line-height: 0.8;
  }
}

/* --- 4 · quiet bottom bar --- */
.foot__bot { border-top: 1px solid var(--line); }
.foot__bot-in {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--dim);
}
.foot__bot b { color: var(--sig); font-weight: 500; }

/* the collapse rules must sit AFTER the column rule above, or source order
   lets the wide grid win even inside an active media query. */
@media (max-width: 1080px) {
  .foot__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .foot__cols { grid-template-columns: 1fr; gap: 26px; }
  .foot__brand { margin-bottom: 4px; }
  .foot__bot-in { justify-content: center; text-align: center; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .signal, .tabs, .uplink__in { grid-template-columns: 1fr; }
  .tabs__nav {
    position: static;
    flex-direction: row; flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    scrollbar-width: thin;
    padding-bottom: 6px;
  }
  /* Leo 2026-09-28: button rows must never force the page wider than the
     viewport (that is what makes iOS pinch-zoom-out feel broken). Cap them
     to the available width and let them scroll internally. */
  .tab-btn, .tabs__nav > * { flex: 0 0 auto; min-width: 0; }
  .tabs__nav > * { max-width: 92vw; }
  .tab-btn em { display: none; }
}

@media (max-width: 680px) {
  .meter { grid-template-columns: 84px minmax(0,1fr) 46px; gap: 11px; }
  .meter__t { font-size: 9.5px; }
  .gallery { grid-template-columns: 1fr; }
  .field__2 { grid-template-columns: 1fr; }
  .bench__row { grid-template-columns: 94px minmax(0,1fr); gap: 14px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .lane__rail i { animation: none; left: 30%; width: 28%; }
  .panel-tab.is-on { animation: none; }
  .agent, .prod__card, .move { transition: none; }
}

/* ============================================================
   LIVE CHAT WIDGET — Leo 2026-09-28
   A separate sales agent, not Leo. Floating button + panel.
   ============================================================ */
.chat-fab {
  /* Leo 2026-09-28: ZERO-WIDTH fixed anchor pinned bottom-right. A 0x0 box can
     never extend past the viewport edge, so it can never widen the initial
     containing block — that widening is exactly what lets mobile browsers be
     pinch-zoomed OUT past 1:1. The visible button is an absolutely positioned
     child, painted back inside the viewport. */
  position: fixed;
  right: 14px; bottom: 14px;
  width: 0; height: 0;
  z-index: 120;
  background: none; border: 0; padding: 0; margin: 0;
  cursor: default; box-shadow: none;
}
.chat-fab > svg {
  position: absolute;
  right: 0; bottom: 0;
  width: 46px; height: 46px;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--sig) 45%, transparent);
  background: var(--lifted);
  color: var(--txt);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 34px -14px rgba(0,0,0,.8), 0 0 0 0 color-mix(in srgb, var(--sig) 42%, transparent);
  animation: zv-chat-pulse 3.4s ease-in-out infinite;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease;
}
.chat-fab:hover > svg { transform: translateY(-3px) scale(1.04); }
.chat-fab--on > svg { animation: none; }
@keyframes zv-chat-pulse {
  0%,100% { box-shadow: 0 12px 34px -14px rgba(0,0,0,.8), 0 0 0 0 color-mix(in srgb, var(--sig) 42%, transparent); }
  50%     { box-shadow: 0 12px 34px -14px rgba(0,0,0,.8), 0 0 0 11px color-mix(in srgb, var(--sig) 0%, transparent); }
}

.chat-panel {
  position: fixed;
  right: 14px; bottom: 70px;
  z-index: 121;
  width: min(352px, calc(100vw - 28px));
  height: min(490px, calc(100vh - 120px));
  display: none;
  flex-direction: column;
  background: color-mix(in srgb, var(--dark) 96%, #000);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 26px 60px -20px rgba(0,0,0,.9);
}
.chat-panel--open { display: flex; }
.chat-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  background: color-mix(in srgb, var(--lifted) 70%, transparent);
}
.chat-head b { font-size: 13.5px; font-weight: 600; }
.chat-head .chat-status {
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--txt-3); margin-left: auto;
}
.chat-x {
  margin-left: 8px;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 60%, transparent);
  color: var(--txt-3); cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.chat-x:hover { color: var(--txt); border-color: var(--line-2); background: var(--panel); }
.chat-x:focus-visible { outline: 2px solid var(--sig); outline-offset: 2px; }
.chat-head .dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: #22D3EE; box-shadow: 0 0 9px #22D3EE;
}
.chat-log {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  scrollbar-width: thin;
}
.chat-bubble {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13.5px; line-height: 1.55;
  animation: zv-bubble-in .3s cubic-bezier(.16,1,.3,1) both;
}
@keyframes zv-bubble-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chat-bubble--bot {
  align-self: flex-start;
  background: var(--lifted);
  border: 1px solid var(--line);
  color: var(--txt);
  border-bottom-left-radius: 4px;
}
.chat-bubble--me {
  align-self: flex-end;
  background: var(--zv-grad);
  color: #0B0C0F; font-weight: 500;
  border-bottom-right-radius: 4px;
}
.chat-bubble--wait {
  align-self: flex-start; color: var(--txt-3); font-style: italic;
}
.chat-note {
  font-size: 10.5px; color: var(--txt-3); text-align: center;
  padding: 2px 10px 8px; line-height: 1.5;
}
.chat-form {
  display: flex; gap: 8px; padding: 12px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--lifted) 50%, transparent);
}
.chat-form input {
  flex: 1; min-width: 0;
  background: var(--void);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--txt);
  font-family: var(--f-body); font-size: 13.5px;
  padding: 11px 15px;
  outline: none;
}
.chat-form input::placeholder { color: var(--txt-3); }
.chat-form input:focus { border-color: var(--sig); }
.chat-send {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 0;
  background: var(--zv-grad);
  color: #0B0C0F;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: transform .2s cubic-bezier(.16,1,.3,1);
}
.chat-send:hover { transform: scale(1.07); }
.chat-send:disabled { opacity: .5; cursor: wait; transform: none; }

/* --- 1. AGENT CARDS — Scrolltide card-glow, verbatim recipe --- */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.agent { position: relative; overflow: hidden; }

.agent .card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  background: conic-gradient(
    from var(--angle),
    transparent 0deg,
    transparent 295deg,
    #8bf3e6 330deg,          /* foam */
    #46b7ff 350deg,          /* tide */
    transparent 360deg
  );
  opacity: 0;
  transition: opacity .35s;
  /* the full mask stack — this exact combination is what cuts the ring.
     Missing mask-clip/mask-origin is why every earlier attempt flooded. */
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
          mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-position: 0 0, 0 0;
          mask-position: 0 0, 0 0;
  -webkit-mask-size: auto, auto;
          mask-size: auto, auto;
  -webkit-mask-repeat: repeat, repeat;
          mask-repeat: repeat, repeat;
  -webkit-mask-clip: content-box, border-box;
          mask-clip: content-box, border-box;
  -webkit-mask-origin: content-box, border-box;
          mask-origin: content-box, border-box;
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  -webkit-mask-source-type: auto, auto;
          mask-mode: match-source, match-source;
}
.agent:hover .card-glow {
  opacity: 1;
  animation: 2.4s linear infinite border-spin;
}
@keyframes border-spin { to { --angle: 360deg; } }

/* --- 1b. Same Scrolltide glow, generalised to every other card type --- */
/* One shared recipe: the element becomes the clipping context, the ring is a
   ::before painted in the padding gutter. Markup stays untouched. */
.chip, .move, .prod__card { position: relative; overflow: hidden; }
.chip::before, .move::before, .prod__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  background: conic-gradient(
    from var(--angle),
    transparent 0deg,
    transparent 295deg,
    #8bf3e6 330deg,
    #46b7ff 350deg,
    transparent 360deg
  );
  opacity: 0;
  transition: opacity .35s;
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
          mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-clip: content-box, border-box;
          mask-clip: content-box, border-box;
  -webkit-mask-origin: content-box, border-box;
          mask-origin: content-box, border-box;
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: 2;
}
.chip:hover::before, .move:hover::before, .prod__card:hover::before {
  opacity: 1;
  animation: 2.4s linear infinite border-spin;
}
@media (prefers-reduced-motion: reduce) {
  .chip:hover::before, .move:hover::before, .prod__card:hover::before { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .agent:hover .card-glow, .btn--p:hover::after { animation: none; }
}

.agent > *:not(.card-glow) { position: relative; z-index: 1; }

/* --- 2. PRIMARY BUTTONS — same Scrolltide glow, scaled down --- */
.btn--p { position: relative; overflow: hidden; }
.btn--p::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  background: conic-gradient(
    from var(--angle),
    transparent 0deg,
    transparent 295deg,
    #8bf3e6 330deg,
    #46b7ff 350deg,
    transparent 360deg
  );
  opacity: 0;
  transition: opacity .35s;
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
          mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-position: 0 0, 0 0;
          mask-position: 0 0, 0 0;
  -webkit-mask-size: auto, auto;
          mask-size: auto, auto;
  -webkit-mask-repeat: repeat, repeat;
          mask-repeat: repeat, repeat;
  -webkit-mask-clip: content-box, border-box;
          mask-clip: content-box, border-box;
  -webkit-mask-origin: content-box, border-box;
          mask-origin: content-box, border-box;
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  -webkit-mask-source-type: auto, auto;
          mask-mode: match-source, match-source;
}
.btn--p:hover::after {
  opacity: 1;
  animation: 2.4s linear infinite border-spin;
}
.btn--p > * { position: relative; z-index: 1; }

/* --- reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .agent::before, .btn--p::after { animation: none; }
}

/* Leo 2026-09-28: explicit "optional" marker on form fields that are not required.
   Relying on nothing to say optional is a consent-clarity problem, not a styling one. */
.field .opt {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-left: 6px;
  opacity: .85;
}
