/* ============================================================================
   openQCM 2026 · Antigravity Direction — purified
   Pure white canvas (#ffffff). One saturated accent only: brand blue #0286b3.
   Geist + Geist Mono. Cursor-following spotlight, scroll-driven reveals,
   sliding marquee, glass cards, animated orb. Apple-style pinned scenes.
   ============================================================================ */

:root {
  --bg:       #ffffff;
  --bg-soft:  #f6f6f4;
  --ink:      #0a0a0c;
  --ink-2:    rgba(10,10,12,0.66);
  --ink-3:    rgba(10,10,12,0.42);
  --ink-4:    rgba(10,10,12,0.20);
  --line:     rgba(10,10,12,0.08);
  --line-2:   rgba(10,10,12,0.16);
  --blue:     #0286b3;
  --blue-ink: #015d7d;
  --blue-soft:rgba(2,134,179,0.08);
  --blue-glow:rgba(2,134,179,0.42);
}

.ag {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.012em;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ─ Scroll-reveal primitives ─────────────────────────────────────── */
.ag [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2,0.7,0.2,1),
              transform 0.9s cubic-bezier(0.2,0.7,0.2,1);
  will-change: opacity, transform;
}
.ag [data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
.ag [data-reveal-delay="1"] { transition-delay: 0.08s; }
.ag [data-reveal-delay="2"] { transition-delay: 0.16s; }
.ag [data-reveal-delay="3"] { transition-delay: 0.24s; }
.ag [data-reveal-delay="4"] { transition-delay: 0.32s; }
.ag [data-reveal-scale]            { transform: translateY(28px) scale(0.96); }
.ag [data-reveal-scale].is-revealed { transform: translateY(0) scale(1); }

/* ─ Nav ──────────────────────────────────────────────────────────── */
.ag-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 56px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.ag-nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 16.5px; font-weight: 500; letter-spacing: -0.018em;
}
.ag-nav__logo { height: 47.5px; width: auto; display: block; }
.ag-nav__links { display: flex; gap: 30px; font-size: 14px; color: var(--ink-2); }
.ag-nav__links a { color: inherit; text-decoration: none; transition: color 0.2s; }
.ag-nav__links a:hover { color: var(--ink); }
.ag-nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-size: 13.5px; font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ag-nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(2,134,179,0.32);
}

/* ─ Subscribe popover (opened from a discreet button in the nav) ───── */
.ag-nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ag-nav__subscribe {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.ag-nav__subscribe:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(2,134,179,0.32);
}
.ag-nav__subscribe[aria-expanded="true"] { filter: brightness(0.92); }
.ag-subscribe-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 56px;
  width: 320px;
  padding: 20px;
  background: var(--bg, #fff);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(10,10,12,0.16);
  z-index: 60;
}
.ag-subscribe-pop[hidden] { display: none; }
.ag-subscribe-pop__title {
  margin: 0 0 4px;
  font-size: 15px; font-weight: 600;
  color: var(--ink);
}
.ag-subscribe-pop__sub {
  margin: 0 0 14px;
  font-size: 12.5px; line-height: 1.45;
  color: var(--ink-3);
}
.ag-subscribe-pop__form { display: flex; flex-direction: column; gap: 8px; }
.ag-subscribe-pop__form input {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft, #f5f6f7);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}
.ag-subscribe-pop__form input::placeholder { color: var(--ink-3); }
.ag-subscribe-pop__form input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(2,134,179,0.14);
}
.ag-subscribe-pop__form .ag-btn { justify-content: center; margin-top: 4px; }
@media (max-width: 760px) {
  .ag-subscribe-pop { right: 16px; left: 16px; width: auto; }
}

/* ─ Buttons ──────────────────────────────────────────────────────── */
.ag-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  text-decoration: none; border: 1px solid transparent;
  cursor: pointer; font-family: inherit;
  transition: all 0.25s cubic-bezier(0.2,0.7,0.2,1);
  position: relative; overflow: hidden;
}
.ag-btn--primary {
  background: var(--ink); color: var(--bg);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 8px 24px -8px rgba(10,10,12,0.30);
}
.ag-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 16px 40px -10px var(--blue-glow);
}
.ag-btn--secondary {
  background: rgba(10,10,12,0.03);
  color: var(--ink);
  border-color: var(--line-2);
}
.ag-btn--secondary:hover { background: rgba(10,10,12,0.05); border-color: rgba(10,10,12,0.28); }

/* ─ Hero ─────────────────────────────────────────────────────────── */
.ag-hero {
  position: relative;
  text-align: center;
  padding: 80px 24px 104px;
  overflow: hidden;
  isolation: isolate;
}
.ag-hero::before {
  content: "";
  position: absolute; inset: -20%;
  background:
    radial-gradient(circle 540px at var(--mx,50%) var(--my,30%),
      rgba(2,134,179,0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 0%,
      rgba(2,134,179,0.05), transparent 60%);
  pointer-events: none;
  z-index: -1;
  transition: background 0.2s ease;
}

/* -- global cursor glow (site-wide pointer spotlight, set by scroll.js) */
@media (hover: hover) and (pointer: fine) {
  body::after {
    content: "";
    position: fixed; inset: 0;
    z-index: 9999;
    pointer-events: none;
    background: radial-gradient(circle 440px at var(--gx,50%) var(--gy,50%),
      rgba(2,134,179,0.07), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  html.glow-active body::after { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  body::after { display: none; }
}

.ag-hero__pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 32px;
  box-shadow: 0 4px 20px -8px rgba(10,10,12,0.10);
  animation: ag-float 6s ease-in-out infinite;
}
@keyframes ag-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.ag-hero__pill-tag {
  font-size: 10.5px; font-weight: 600;
  padding: 4px 10px;
  background: var(--blue); color: #fff;
  border-radius: 999px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.ag-hero__title {
  font-size: clamp(56px, 8.4vw, 132px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin: 0 auto 24px;
  max-width: 14ch;
  color: var(--ink);
}
.ag-hero__title em {
  font-style: normal;
  color: var(--blue);
}
.ag-hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.ag-hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ag-hero__tertiary {
  display: inline-block;
  margin-top: 18px;
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.ag-hero__tertiary:hover { color: var(--blue); border-bottom-color: var(--blue); }
.ag-hero__chrome {
  position: absolute;
  top: 18px; left: 56px; right: 56px;
  display: flex; justify-content: space-between;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ─ Orb visualisation (mono-blue) ───────────────────────────────── */
.ag-hero__viz {
  position: relative;
  width: min(960px, 94vw);
  margin: 56px auto 80px;
}
.ag-hero__viz .ag-immuno-stage {
  height: min(82vh, 760px);
}

.ag-orb-wrap {
  position: relative;
  width: min(680px, 90vw);
  aspect-ratio: 1;
  margin: 56px auto 80px;
}
.ag-orb-wrap::before {
  content: ""; position: absolute; inset: 6%;
  background:
    radial-gradient(circle at 50% 50%, rgba(2,134,179,0.10), transparent 55%);
  filter: blur(28px);
  pointer-events: none;
}
.ag-orb { position: absolute; inset: 0; width: 100%; height: 100%; }

@keyframes ag-orbit     { to { transform: rotate(360deg); } }
@keyframes ag-orbit-rev { to { transform: rotate(-360deg); } }
@keyframes ag-pulse  { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.04); } }
@keyframes ag-twinkle { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
.ag-orb__ring { transform-origin: center; transform-box: fill-box; }
.ag-orb__ring--slow { animation: ag-orbit 60s linear infinite; }
.ag-orb__ring--med  { animation: ag-orbit-rev 38s linear infinite; }
.ag-orb__ring--fast { animation: ag-orbit 22s linear infinite; }
.ag-orb__core { animation: ag-pulse 3.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.ag-orb__star { animation: ag-twinkle 3s ease-in-out infinite; }
.ag-orb__star--b { animation-delay: 0.6s; }
.ag-orb__star--c { animation-delay: 1.2s; }
.ag-orb__star--d { animation-delay: 1.8s; }
.ag-orb__overtone {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.2,0.7,0.2,1);
}
.ag-orb__overtone.is-on { opacity: 1; }

.ag-orb-readout {
  position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 22px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
  box-shadow: 0 10px 30px -12px rgba(10,10,12,0.18);
}
.ag-orb-readout::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue-glow);
  animation: ag-pulse 2.4s ease-in-out infinite;
}
.ag-orb-readout .accent { color: var(--blue); font-weight: 500; }

/* ─ Marquee ──────────────────────────────────────────────────────── */
.ag-marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
  overflow: hidden;
  position: relative;
}
.ag-marquee--text {
  padding: 38px 0;
}
.ag-marquee__lead {
  text-align: center;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.ag-marquee--text .ag-marquee__lead {
  font-size: 10px;
  margin-bottom: 18px;
}
.ag-marquee__track {
  display: flex; gap: 64px;
  width: max-content;
  padding: 16px 0;
  animation: ag-marquee-slide 42s linear infinite;
}
@keyframes ag-marquee-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ag-marquee__item {
  font-size: 28px; font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.022em;
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity 0.3s, color 0.3s;
  display: inline-block;
}
.ag-marquee__item:hover { opacity: 1; color: var(--blue); }

/* Static masthead (text variant): two still rows of monospace institution
   names. Zero motion. Alternate rows are brick-offset so the block reads
   lighter than a single rigid centred band. */
.ag-marquee--text .ag-marquee__track {
  animation: none;
  width: 100%;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  padding: 0 32px;
  background: none;
  position: relative;
}
/* Fine mm graduations running along the central reading line. The long name
   ticks are the "cm" marks; these tiny ticks fill between them — every fifth a
   touch longer — like the millimetres on a real ruler. */
.ag-marquee--text .ag-marquee__track::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 9px;
  pointer-events: none;
  opacity: 0.32;
  background:
    repeating-linear-gradient(90deg, var(--ink-3, #9aa0a6) 0 1px, transparent 1px 40px) center / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, var(--ink-3, #9aa0a6) 0 1px, transparent 1px 8px)  center / 100% 5px no-repeat;
}
.ag-marquee__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 3vw, 52px);
  position: relative;
}
/* The two facing scales of a vernier caliper. The main scale sits above the
   central reading line with ticks hanging down; the vernier sits below with
   ticks rising up, shifted sideways (the nonio offset) so its graduations
   fall between the main ones. The names ARE the graduations. */
.ag-marquee__row--main {
  align-items: flex-end;
  padding-bottom: 16px;
}
.ag-marquee__row--vernier {
  align-items: flex-start;
  padding-top: 16px;
  transform: translateX(clamp(34px, 5vw, 64px));
}
.ag-marquee--text .ag-marquee__item {
  position: relative;
  font-family: 'Geist Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: 1;
  background: none;
  transition: color 0.3s;
}
/* Index ticks face the central reading line: main scale ticks down, vernier
   ticks up — they meet at the line like the two jaws of a caliper. */
.ag-marquee--text .ag-marquee__item::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 7px;
  background: var(--ink-3, #9aa0a6);
  transform: translateX(-50%);
  transition: height 0.3s, background-color 0.3s, opacity 0.3s;
}
.ag-marquee__row--main .ag-marquee__item::after { bottom: -16px; }
.ag-marquee__row--vernier .ag-marquee__item::after { top: -16px; }
/* Major graduations, offset between the two scales so they interleave. */
.ag-marquee__row--main .ag-marquee__item:nth-child(3n+1)::after {
  height: 16px; background: var(--blue); opacity: 0.6;
}
.ag-marquee__row--vernier .ag-marquee__item:nth-child(3n+2)::after {
  height: 16px; background: var(--blue); opacity: 0.6;
}
.ag-marquee--text .ag-marquee__item:hover { color: var(--blue); }
.ag-marquee--text .ag-marquee__item:hover::after {
  height: 18px; background: var(--blue); opacity: 1;
}
/* Decorative caliper scale: a main rail (ticks down) over a vernier rail
   (denser ticks up). Purely ornamental — aria-hidden in the markup. */
.ag-marquee__caliper {
  display: none; /* superseded by per-name graduations on .ag-marquee__item */
  width: 100%;
  max-width: 560px;
  height: 26px;
  margin: 5px auto;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='26' viewBox='0 0 120 26'%3E%3Cg stroke='%230a0a0c' stroke-width='1' stroke-opacity='0.16'%3E%3Cline x1='0' y1='5' x2='120' y2='5'/%3E%3Cline x1='0' y1='21' x2='120' y2='21'/%3E%3Cline x1='12' y1='5' x2='12' y2='10'/%3E%3Cline x1='24' y1='5' x2='24' y2='10'/%3E%3Cline x1='36' y1='5' x2='36' y2='10'/%3E%3Cline x1='48' y1='5' x2='48' y2='10'/%3E%3Cline x1='72' y1='5' x2='72' y2='10'/%3E%3Cline x1='84' y1='5' x2='84' y2='10'/%3E%3Cline x1='96' y1='5' x2='96' y2='10'/%3E%3Cline x1='108' y1='5' x2='108' y2='10'/%3E%3Cline x1='10' y1='21' x2='10' y2='16'/%3E%3Cline x1='20' y1='21' x2='20' y2='16'/%3E%3Cline x1='30' y1='21' x2='30' y2='16'/%3E%3Cline x1='40' y1='21' x2='40' y2='16'/%3E%3Cline x1='50' y1='21' x2='50' y2='16'/%3E%3Cline x1='70' y1='21' x2='70' y2='16'/%3E%3Cline x1='80' y1='21' x2='80' y2='16'/%3E%3Cline x1='90' y1='21' x2='90' y2='16'/%3E%3Cline x1='100' y1='21' x2='100' y2='16'/%3E%3Cline x1='110' y1='21' x2='110' y2='16'/%3E%3C/g%3E%3Cg stroke='%230a0a0c' stroke-width='1.4' stroke-opacity='0.32'%3E%3Cline x1='0' y1='5' x2='0' y2='13'/%3E%3Cline x1='60' y1='5' x2='60' y2='13'/%3E%3Cline x1='0' y1='21' x2='0' y2='13'/%3E%3Cline x1='60' y1='21' x2='60' y2='13'/%3E%3C/g%3E%3C/svg%3E") repeat-x center;
  background-size: 120px 26px;
}
@media (max-width: 600px) {
  .ag-marquee__row--vernier { transform: none; }
}
/* No scroll → no edge fades (they'd clip the outermost static names). */
.ag-marquee--text::before, .ag-marquee--text::after { display: none; }
.ag-marquee::before, .ag-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 140px;
  pointer-events: none; z-index: 2;
}
.ag-marquee::before { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.ag-marquee::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

/* ─ Sections ─────────────────────────────────────────────────────── */
.ag-section { padding: 140px 24px; position: relative; }
.ag-section__head { max-width: 920px; margin: 0 auto 72px; text-align: center; }
.ag-section__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(10,10,12,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.ag-section__title {
  font-size: clamp(40px, 5.4vw, 80px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: var(--ink);
}
.ag-section__title em { font-style: normal; color: var(--blue); }
.ag-section__sub {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 58ch;
  margin: 0 auto;
  line-height: 1.55;
}

/* ─ Overtones pinned scene ──────────────────────────────────────── */
.ag-pin-overtones { position: relative; }
/* Immunosensing scene: still, not pinned — the canvas autoplays on its own. */
.ag-pin-overtones--static .ag-pin-overtones__stage {
  position: static;
  height: auto; min-height: 600px;
}
.ag-pin-overtones__stage {
  position: sticky; top: 0;
  height: 100vh; min-height: 720px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 56px;
  overflow: hidden;
}
.ag-pin-overtones__copy {
  position: relative;
  z-index: 2;
}
.ag-pin-overtones__eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 10px;
}
.ag-pin-overtones__eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--blue);
}
.ag-pin-overtones__h {
  font-size: clamp(40px, 4.5vw, 72px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  max-width: 14ch;
}
.ag-pin-overtones__h em { font-style: normal; color: var(--blue); }
.ag-pin-overtones__p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 46ch;
  margin: 0 0 36px;
}
.ag-pin-overtones__telemetry {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 480px;
}
.ag-pin-overtones__tel-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ag-pin-overtones__tel-value {
  font-family: 'Geist Mono', monospace;
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.ag-pin-overtones__tel-value.is-active { color: var(--blue); }

.ag-pin-overtones__viz {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}

/* Stepper rail */
.ag-pin-overtones__rail {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  right: 24px;
  display: flex; flex-direction: column; gap: 14px;
  z-index: 3;
}
.ag-pin-overtones__step {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.ag-pin-overtones__step .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink-4);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.ag-pin-overtones__step.is-on { color: var(--ink); }
.ag-pin-overtones__step.is-on .dot {
  background: var(--blue);
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(2,134,179,0.14);
}

/* ─ Pinned numbers ──────────────────────────────────────────────── */
.ag-pin-numbers { position: relative; }
.ag-pin-numbers__stage {
  position: sticky; top: 0;
  height: 100vh; min-height: 720px;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 56px;
  text-align: center;
}
.ag-pin-numbers__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1280px;
  margin: 60px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ag-pin-numbers__cell {
  padding: 56px 28px;
  border-right: 1px solid var(--line);
  text-align: left;
}
.ag-pin-numbers__cell:last-child { border-right: none; }
.ag-pin-numbers__big {
  font-size: clamp(72px, 9vw, 140px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ag-pin-numbers__big em {
  font-style: normal;
  color: var(--blue);
  font-weight: 500;
}
.ag-pin-numbers__lbl {
  font-size: 16px;
  color: var(--ink-2);
  margin-top: 14px;
  max-width: 28ch;
  line-height: 1.4;
}
.ag-pin-numbers__sub {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.ag-pin-numbers__sub:hover { color: var(--blue); }

/* ─ Device cards ────────────────────────────────────────────────── */
.ag-devices {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ag-card {
  position: relative;
  padding: 36px 32px 32px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.3s, border-color 0.3s;
  box-shadow: 0 1px 2px rgba(10,10,12,0.04);
}
.ag-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: 0 20px 50px -20px var(--blue-glow), 0 1px 2px rgba(10,10,12,0.04);
}
.ag-card--flagship {
  background:
    radial-gradient(circle at 50% -30%, rgba(2,134,179,0.12), transparent 60%),
    #fff;
  border-color: rgba(2,134,179,0.28);
}
.ag-card__badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 20px;
}
.ag-card__badge--new {
  margin-left: 8px;
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(2,134,179,0.45);
}
.ag-card__id {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.ag-card__name {
  font-size: 30px; font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 12px;
}
.ag-card__name span { color: var(--ink-3); font-weight: 400; }
.ag-card__tag {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 0 30px;
}
.ag-card__specs {
  list-style: none; padding: 0; margin: 0 0 28px;
  border-top: 1px solid var(--line);
}
.ag-card__specs li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.ag-card__specs .label { color: var(--ink-3); }
.ag-card__specs .has .label { color: var(--ink); }
.ag-card__specs .v { color: var(--ink-4); font-size: 16px; line-height: 1; }
.ag-card__specs .has .v { color: var(--blue); }
.ag-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(10,10,12,0.04);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}
.ag-card__link:hover {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
  transform: translateX(2px);
}
.ag-card__actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ag-card__buy {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--blue);
  border: 1px solid var(--blue);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}
.ag-card__buy:hover { filter: brightness(1.08); transform: translateX(2px); }
.ag-devices__more {
  max-width: 1280px;
  margin: 32px auto 0;
  text-align: center;
}
.ag-devices__more a {
  font-family: 'Geist Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.2s;
}
.ag-devices__more a:hover { color: var(--blue); }

/* ─ Testimonial ─────────────────────────────────────────────────── */
.ag-testimonial { text-align: center; max-width: 1100px; margin: 0 auto; }
.ag-testimonial__quote {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.026em;
  max-width: 22ch;
  margin: 0 auto 44px;
  color: var(--ink);
}
.ag-testimonial__quote em { font-style: normal; color: var(--blue); }
.ag-testimonial__attr {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 22px 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 4px 20px -10px rgba(10,10,12,0.10);
}
.ag-testimonial__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.7), transparent 60%),
    var(--blue);
}
.ag-testimonial__name { font-size: 14px; text-align: left; font-weight: 500; }
.ag-testimonial__role { font-size: 12px; color: var(--ink-3); text-align: left; }
.ag-testimonial__stack {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 80px auto 0;
}
.ag-testimonial__small {
  text-align: left;
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
}
.ag-testimonial__small:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(10,10,12,0.16);
}
.ag-testimonial__small blockquote { margin: 0 0 28px; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.ag-testimonial__small-name { font-size: 13px; font-weight: 500; }
.ag-testimonial__small-role { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }

/* ─ Pillars ─────────────────────────────────────────────────────── */
.ag-pillars {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ag-pillar {
  position: relative;
  padding: 40px 32px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.ag-pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(2,134,179,0.22);
  box-shadow: 0 20px 50px -20px var(--blue-glow);
}
.ag-pillar__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(2,134,179,0.08);
  border: 1px solid rgba(2,134,179,0.22);
  color: var(--blue);
  font-family: 'Geist Mono', monospace;
  font-size: 13.5px; font-weight: 500;
  margin-bottom: 28px;
}
.ag-pillar__label {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
}
.ag-pillar__h {
  font-size: 24px; font-weight: 500;
  line-height: 1.2; letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
}
.ag-pillar__p { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin: 0; }

/* ─ Final CTA ───────────────────────────────────────────────────── */
.ag-cta {
  text-align: center;
  padding: 160px 24px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ag-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(2,134,179,0.10), transparent 65%);
  z-index: -1;
}
.ag-cta__title {
  font-size: clamp(48px, 7vw, 108px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 16ch;
  margin: 0 auto 28px;
  color: var(--ink);
}
.ag-cta__title em { font-style: normal; color: var(--blue); }

/* ─ Footer ──────────────────────────────────────────────────────── */
.ag-footer {
  padding: 56px 56px 40px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.ag-footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.ag-footer__brand-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 500; letter-spacing: -0.018em;
  margin-bottom: 14px;
}
.ag-footer__logo { height: 30px; width: auto; display: block; }
.ag-footer__brand-p {
  font-size: 13px; color: var(--ink-3); line-height: 1.55; max-width: 30ch; margin: 0;
}
.ag-footer__col-h {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ag-footer__col ul { list-style: none; padding: 0; margin: 0; }
.ag-footer__col li { padding: 5px 0; }
.ag-footer__col a {
  font-size: 13.5px; color: var(--ink); text-decoration: none;
  transition: color 0.2s;
}
.ag-footer__col a:hover { color: var(--blue); }
.ag-footer__base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ag-footer__base .accent { color: var(--blue); font-weight: 500; }
.ag-footer__legal { display: flex; gap: 18px; align-items: center; }
.ag-footer__legal a {
  color: var(--ink-3); text-decoration: none; transition: color 0.2s;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
}
.ag-footer__legal a:hover { color: var(--blue); }
.ag-footer__address {
  margin: 0;
  padding-top: 14px;
  font-family: 'Geist Mono', monospace;
  font-style: normal;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.7;
}
.ag-footer__address .accent { color: var(--blue); font-weight: 500; }
.ag-footer__address a { color: var(--ink-3); text-decoration: none; transition: color 0.2s; }
.ag-footer__address a:hover { color: var(--blue); }
@media (max-width: 760px) {
  .ag-footer__base { flex-direction: column; gap: 14px; text-align: center; }
  .ag-footer__legal { flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
}

/* ─ Scroll hint ─────────────────────────────────────────────────── */
.ag-scrollhint {
  position: absolute;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ag-scrollhint__line {
  width: 1px; height: 28px;
  background: linear-gradient(to bottom, transparent, var(--ink-4));
  animation: ag-scroll-down 2.4s ease-in-out infinite;
}
@keyframes ag-scroll-down {
  0% { transform: translateY(-8px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ag-orb__ring--slow, .ag-orb__ring--med, .ag-orb__ring--fast,
  .ag-orb__core, .ag-orb__star, .ag-marquee__track, .ag-marquee__item,
  .ag-hero__pill, .ag-nav__mark::after, .ag-scrollhint__line { animation: none !important; }
  .ag [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* ─ Lead magnet band (Technology → QCM-D fundamentals guide) ──────── */
.ag-leadmagnet {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 80px 24px;
}
.ag-leadmagnet__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.ag-leadmagnet__eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 18px;
}
.ag-leadmagnet__title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.ag-leadmagnet__title em { font-style: normal; color: var(--blue); }
.ag-leadmagnet__body {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}
.ag-leadmagnet__form-note {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-top: 10px;
}
.ag-leadmagnet .wpforms-container { margin: 0; }
.ag-leadmagnet .wpforms-field input[type=text],
.ag-leadmagnet .wpforms-field input[type=email] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
  font-size: 14.5px;
}
.ag-leadmagnet .wpforms-field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.ag-leadmagnet button[type=submit] {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.ag-leadmagnet button[type=submit]:hover {
  filter: brightness(1.08);
  box-shadow: 0 16px 40px -10px var(--blue-glow);
}
@media (max-width: 880px) {
  .ag-leadmagnet__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* ─ Technology page · mobile ──────────────────────────────────────
   Stages 01-04 carry inline 2-col grids in post_content (grid-template-
   columns:1fr 1fr + gap:80px), hence the !important. Overtones/immuno
   stages share .ag-pin-overtones__stage (2-col, 56px side padding).
   minmax(0,1fr) everywhere: plain 1fr bottoms out at min-content, so a
   nowrap KaTeX line would still widen the whole page. */
@media (max-width: 880px) {
  .ag-tech-pin__stage { grid-template-columns: minmax(0, 1fr) !important; gap: 40px !important; }
  .ag-tech-pin__eq { overflow-x: auto; }
  .ag-pin-overtones__stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 48px 24px;
    min-height: 0;
  }
  .ag-pin-overtones--static .ag-pin-overtones__stage { min-height: 0; }
  .ag-pin-overtones__telemetry { gap: 14px; max-width: 100%; }
  .ag-pin-overtones__tel-value { font-size: 15px; }
}

/* ─ Mobile nav: burger + full-screen overlay menu ─────────────────── */
.ag-nav__burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 6px;
  padding: 0;
  transition: border-color 0.2s;
}
.ag-nav__burger:active { border-color: var(--blue); }
.ag-nav__burger-line {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.2,0.7,0.2,1);
}
.ag-nav__burger[aria-expanded="true"] .ag-nav__burger-line:first-child { transform: translateY(4px) rotate(45deg); }
.ag-nav__burger[aria-expanded="true"] .ag-nav__burger-line:last-child  { transform: translateY(-4px) rotate(-45deg); }

html.ag-menu-open { overflow: hidden; }

.ag-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49; /* just under the sticky .ag-nav (50): the bar and the burger stay on top */
  display: flex;
  flex-direction: column;
  padding: calc(86px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle 420px at 85% 8%, rgba(2,134,179,0.10), transparent 60%),
    radial-gradient(ellipse 70% 35% at 12% 96%, rgba(2,134,179,0.06), transparent 65%),
    rgba(252,252,253,0.97);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
  overflow-y: auto;
}
.ag-mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.35s ease;
}
.ag-mobile-menu__chrome {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px; color: var(--ink-3);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 26px;
}
.ag-mobile-menu__nav { display: flex; flex-direction: column; }
.ag-mobile-menu__link {
  display: flex; align-items: baseline; gap: 16px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(26px, 6.5vw, 34px);
  font-weight: 500; letter-spacing: -0.025em; line-height: 1.1;
  color: var(--ink); text-decoration: none;
  opacity: 0; transform: translateY(14px);
}
.ag-mobile-menu__link:active { color: var(--blue); }
.ag-mobile-menu.is-open .ag-mobile-menu__link {
  opacity: 1; transform: none;
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.2,0.7,0.2,1);
}
.ag-mobile-menu.is-open .ag-mobile-menu__link:nth-child(1) { transition-delay: 0.05s; }
.ag-mobile-menu.is-open .ag-mobile-menu__link:nth-child(2) { transition-delay: 0.09s; }
.ag-mobile-menu.is-open .ag-mobile-menu__link:nth-child(3) { transition-delay: 0.13s; }
.ag-mobile-menu.is-open .ag-mobile-menu__link:nth-child(4) { transition-delay: 0.17s; }
.ag-mobile-menu.is-open .ag-mobile-menu__link:nth-child(5) { transition-delay: 0.21s; }
.ag-mobile-menu.is-open .ag-mobile-menu__link:nth-child(6) { transition-delay: 0.25s; }
.ag-mobile-menu.is-open .ag-mobile-menu__link:nth-child(7) { transition-delay: 0.29s; }
.ag-mobile-menu__idx {
  font-family: 'Geist Mono', monospace;
  font-size: 11px; color: var(--blue);
  letter-spacing: 0.06em;
  min-width: 22px;
}
.ag-mobile-menu__actions {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 26px;
}
.ag-mobile-menu__actions .ag-btn { justify-content: center; }
.ag-mobile-menu__foot {
  margin-top: auto;
  padding-top: 26px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px; color: var(--ink-3);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.ag-mobile-menu__foot a { color: var(--blue); text-decoration: none; }

@media (max-width: 880px) {
  .ag-nav { padding: 12px 20px; }
  .ag-nav__logo { height: 40px; }
  .ag-nav__links { display: none; }
  .ag-nav__actions { display: none; }
  .ag-nav__burger { display: flex; }
}
@media (min-width: 881px) {
  .ag-mobile-menu { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-mobile-menu, .ag-mobile-menu.is-open .ag-mobile-menu__link, .ag-nav__burger-line { transition: none !important; }
  .ag-mobile-menu .ag-mobile-menu__link { opacity: 1; transform: none; }
}

/* ─ Responsive layer · site-wide grids & rhythm ────────────────────
   minmax(0,1fr) everywhere: plain 1fr bottoms out at min-content and a
   long word / nowrap mono line would widen the whole page. */
@media (max-width: 1024px) {
  .ag-devices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ag-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 36px; }
  .ag-footer__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .ag-section { padding: 96px 24px; }
  .ag-section__head { margin-bottom: 56px; }
  .ag-pillars { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ag-pin-numbers__stage { padding: 0 24px; }
  .ag-hero { padding: 64px 20px 84px; }
  .ag-footer { padding: 48px 24px 32px; }
}
@media (max-width: 640px) {
  .ag-section { padding: 72px 20px; }
  .ag-devices { grid-template-columns: minmax(0, 1fr); }
  .ag-testimonial__stack { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 56px; }
  .ag-pin-numbers__grid { grid-template-columns: minmax(0, 1fr); }
  .ag-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ─ Responsive layer 2 · audit follow-ups ──────────────────────────
   Generic collapse for the inline 2/3-col stage grids that live in
   post_content (style="grid-template-columns:…") — they cannot carry
   classes, hence the attribute selector + !important. */
@media (max-width: 880px) {
  .ag-main [style*="grid-template-columns"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 40px !important;
  }
  .ag code { white-space: pre-wrap; word-break: break-word; }
}
@media (max-width: 1024px) {
  .ag-card__specs li { flex-wrap: wrap; row-gap: 2px; }
  .ag-card__specs .v { text-align: right; }
}

/* The orb sizes itself min(680px, 90vw) — cap it to its grid cell
   (product-page viz cells are max-width:520px). */
.ag-orb-wrap { max-width: 100%; }
@media (max-width: 880px) {
  /* The surface canvas can keep a stale (wider) pixel buffer from first
     paint; clip it — the orb is decorative and self-contained. */
  .ag-orb-wrap { overflow: hidden; }
}
