
[data-reveal] > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease, cubic-bezier(.2,.7,.3,1)),
              transform .55s var(--ease, cubic-bezier(.2,.7,.3,1));
}
.slide.is-live [data-reveal] > * { opacity: 1; transform: none; }
.slide.is-live [data-reveal] > *:nth-child(1) { transition-delay: .06s; }
.slide.is-live [data-reveal] > *:nth-child(2) { transition-delay: .13s; }
.slide.is-live [data-reveal] > *:nth-child(3) { transition-delay: .20s; }
.slide.is-live [data-reveal] > *:nth-child(4) { transition-delay: .27s; }
.slide.is-live [data-reveal] > *:nth-child(5) { transition-delay: .34s; }
.slide.is-live [data-reveal] > *:nth-child(6) { transition-delay: .41s; }
.sitetable[data-reveal] > * { transition-delay: 0s !important; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}
.no-js [data-reveal] > * { opacity: 1; transform: none; }

.lander__bg canvas { width: 100%; height: 100%; display: block; }

.lander { height: var(--dk-vh); }
.lander__in .player { justify-self: center; }

.lander__in .player { width: min(100%, calc(1.77778 * 55dvh)); }
.lander__foot {
  display: grid; justify-items: center; gap: clamp(10px, 1.6vh, 18px);
  width: 100%;
}
.lander__sub {
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.4;
  color: var(--fg-muted);
  text-align: center;
  max-width: 42ch;
  text-wrap: balance;
}
.lander__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }




.statrow {
  list-style: none; margin: clamp(22px, 3vw, 38px) 0 0; padding: 0;
  display: grid; gap: clamp(16px, 2.4vw, 34px);
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
}
.statrow > li { border-top: 1px solid var(--line); padding-top: 12px; }
.statrow b {
  display: block;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.5rem);
  font-weight: 500; line-height: .96; letter-spacing: -.03em;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
}
.statrow span {
  display: block; margin-top: 8px;
  font-size: var(--fs-small); line-height: 1.4;
  color: var(--fg-muted); text-wrap: pretty;
  max-width: 44ch;
}
.statrow--hero b { font-size: clamp(2.4rem, 1.3rem + 4.6vw, 4.5rem); }

.bignum {
  margin: 0 0 clamp(10px, 1.6vw, 20px);
  font-weight: 500; line-height: .86; letter-spacing: -.045em;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
  display: flex; align-items: flex-start; gap: .02em;
}
.bignum b { font-size: clamp(4.5rem, 2rem + 13vw, 11rem); font-weight: 500; }
.bignum i {
  font-style: normal;
  font-size: clamp(1.8rem, .9rem + 4.4vw, 4rem);
  padding-top: .18em;
  color: var(--brand);
}

.twocol {
  display: grid; gap: clamp(20px, 3vw, 46px);
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  margin-top: clamp(20px, 2.8vw, 34px);
}
.twocol h3 {
  margin: 0 0 8px; font-size: var(--fs-h3); font-weight: 500;
  color: var(--fg); text-wrap: balance;
}
.twocol p { margin: 0; color: var(--fg-muted); text-wrap: pretty; }

.moves {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(22px, 3vw, 38px);
}
.moves > article {
  background: var(--canvas);
  padding: clamp(16px, 2vw, 26px);
}
.moves h3 {
  margin: 0 0 8px; font-size: var(--fs-h3); font-weight: 500;
  color: var(--brand-strong); text-wrap: balance;
}
.moves p { margin: 0; font-size: var(--fs-small); color: var(--fg-muted); text-wrap: pretty; }

.moves--2up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.moves--2up > article { padding: clamp(20px, 2.4vw, 30px); }
@media (max-width: 780px) {
  .moves--2up { grid-template-columns: minmax(0, 1fr); }
}

.sitetable { margin-top: clamp(20px, 2.8vw, 34px); overflow-x: auto; }
.sitetable table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.sitetable th, .sitetable td {
  text-align: left; padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.sitetable thead th {
  font-family: var(--f-mono); font-size: var(--fs-kicker);
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--fg-subtle); font-weight: 400;
}
.sitetable tbody th { font-weight: 500; color: var(--fg); }
.sitetable .num { text-align: right; font-variant-numeric: tabular-nums; padding-right: 20px; }
.sitetable tfoot th, .sitetable tfoot td {
  font-weight: 500; color: var(--fg); border-bottom: 0;
  border-top: 2px solid var(--line); padding-top: 12px;
}
.sitetable .pill {
  display: inline-block; padding: 3px 9px; border-radius: 2px;
  font-family: var(--f-mono); font-size: var(--fs-kicker);
  background: var(--surface-muted); color: var(--fg-muted);
}
.sitetable .pill--ok   { background: var(--positive-bg); color: var(--positive); }
.sitetable .pill--warn { background: var(--caution-bg);  color: var(--caution); }
.sitetable .pill--bad  { background: var(--negative-bg); color: var(--negative); }

.risks {
  list-style: none; counter-reset: r; margin: clamp(20px, 2.8vw, 34px) 0 0; padding: 0;
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}
.risks > li {
  counter-increment: r; background: var(--canvas);
  padding: clamp(16px, 2vw, 24px);
  display: grid; gap: 7px; align-content: start;
}
.risks > li::before {
  content: counter(r, decimal-leading-zero);
  font-family: var(--f-mono); font-size: var(--fs-kicker);
  color: var(--brand); letter-spacing: .08em;
}
.risks b { font-weight: 500; color: var(--fg); font-size: var(--fs-body); text-wrap: balance; }
.risks span { font-size: var(--fs-small); color: var(--fg-muted); text-wrap: pretty; }

.risks--2up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.risks--2up > li { padding: clamp(20px, 2.4vw, 30px); gap: 9px; }
.risks--2up b { display: flex; align-items: flex-start; gap: 9px; }
.risks--2up b .ax-icon { flex: none; margin-top: 0.15em; color: var(--brand); }
@media (max-width: 780px) {
  .risks--2up { grid-template-columns: minmax(0, 1fr); }
}

.beforeafter {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(16px, 3vw, 48px);
  margin-top: clamp(24px, 3.4vw, 44px);
}
.beforeafter > div { display: grid; gap: 4px; }
.beforeafter__k {
  font-family: var(--f-mono); font-size: var(--fs-kicker);
  text-transform: uppercase; letter-spacing: .09em; color: var(--fg-subtle);
}
.beforeafter b {
  font-size: clamp(2.6rem, 1.4rem + 5vw, 5rem); font-weight: 500;
  line-height: .95; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums; color: var(--fg);
}
.beforeafter > div:last-of-type b { color: var(--brand-strong); }
.beforeafter span:last-child { font-size: var(--fs-small); color: var(--fg-muted); }
.beforeafter__arrow {
  flex: 0 0 auto; width: clamp(36px, 6vw, 88px); height: 2px;
  background: linear-gradient(90deg, var(--line), var(--brand));
  position: relative; align-self: center; margin-top: 14px;
}
.beforeafter__arrow::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 9px; height: 9px; transform: translateY(-50%) rotate(45deg);
  border-top: 2px solid var(--brand); border-right: 2px solid var(--brand);
}

.toolcard {
  display: grid; gap: clamp(18px, 2.6vw, 36px);
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  margin-top: clamp(22px, 3vw, 38px);
  border: 1px solid var(--line);
  padding: clamp(14px, 1.8vw, 22px);
}
.toolcard__shot img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line);
}
.toolcard__body h3 { margin: 0 0 8px; font-size: var(--fs-h3); font-weight: 500; }
.toolcard__body p { margin: 0 0 16px; font-size: var(--fs-small); color: var(--fg-muted); text-wrap: pretty; }
@media (max-width: 720px) { .toolcard { grid-template-columns: 1fr; } }

.phases {
  list-style: none; counter-reset: p; margin: clamp(22px, 3vw, 38px) 0 0; padding: 0;
  display: grid; gap: clamp(14px, 2vw, 26px);
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.phases > li {
  border-top: 2px solid var(--brand);
  padding-top: 13px; display: grid; gap: 7px;
}
.phases b {
  font-family: var(--f-mono); font-size: var(--fs-kicker);
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--brand-strong); font-weight: 400;
}
.phases span { font-size: var(--fs-small); color: var(--fg-muted); text-wrap: pretty; }

.ribbons {
  --ax-tile: clamp(26px, 3vw, 36px);
  --ax-band: clamp(38px, 4.4vw, 52px);

  position: relative;
  height: var(--ax-band);
  max-width: 58ch;
  margin: clamp(22px, 3vw, 34px) 0;
  pointer-events: none;
}
.ribbons::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  right: calc(var(--ax-tile) * 1.5);
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--brand)  0%, transparent)   0%,
    color-mix(in srgb, var(--brand) 24%, transparent)  20%,
    color-mix(in srgb, var(--brand) 60%, transparent)  54%,
    color-mix(in srgb, var(--brand) 94%, transparent)  85%,
    color-mix(in srgb, var(--brand)  0%, transparent) 100%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 4.5 16 12l-7.5 7.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 4.5 16 12l-7.5 7.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: repeat-x;
          mask-repeat: repeat-x;
  -webkit-mask-size: var(--ax-tile) var(--ax-tile);
          mask-size: var(--ax-tile) var(--ax-tile);
  -webkit-mask-position: 0 50%;
          mask-position: 0 50%;
  animation: ax-march 1.9s linear infinite;
}
.ribbons::after {
  content: "";
  position: absolute;
  right: calc(var(--ax-tile) * .34);
  top: 50%;
  width: calc(var(--ax-tile) * .46);
  height: calc(var(--ax-tile) * .46);
  transform: translateY(-50%) rotate(45deg);
  border-top: 2.5px solid var(--brand-strong);
  border-right: 2.5px solid var(--brand-strong);
  border-top-right-radius: 2px;
}
@keyframes ax-march {
  from { -webkit-mask-position: 0 50%;              mask-position: 0 50%; }
  to   { -webkit-mask-position: var(--ax-tile) 50%; mask-position: var(--ax-tile) 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .ribbons::before { animation: none; }
}

.fineprint {
  margin: clamp(16px, 2.2vw, 26px) 0 0;
  font-family: var(--f-mono);
  font-size: var(--fs-kicker);
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--fg-subtle);
  text-wrap: pretty;
  max-width: 62ch;
}

.slide h1, .slide h2, .slide h3, .lander__kicker { text-wrap: balance; }
.slide p, .slide li, .slide figcaption { text-wrap: pretty; }
.slide p, .slide li, .slide dd, .slide figcaption,
.slide h1, .slide h2, .slide h3, .slide th, .slide td, .slide caption {
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}
.slide .lead { max-width: 58ch; }
.slide__in > p:not(.lead):not(.fineprint):not(.filmclose) { max-width: 68ch; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 620px) {
  .statrow { gap: 18px; }
  .statrow b { font-size: clamp(1.9rem, 1.1rem + 5vw, 2.6rem); }
  .bignum b { font-size: clamp(4rem, 2rem + 16vw, 6.5rem); }
  .beforeafter { gap: 14px; }
  .beforeafter__arrow {
    width: 2px; height: 34px; margin: 0 auto;
    background: linear-gradient(180deg, var(--line), var(--brand));
  }
  .beforeafter__arrow::after {
    right: 50%; top: auto; bottom: 0;
    transform: translateX(50%) rotate(135deg);
  }
  .sitetable { -webkit-overflow-scrolling: touch; }
  .player__chaps button { font-size: 10px; padding: 7px 8px; }
}

[data-theme="agx-light"] .lander {
  --scrim: 248, 247, 253;
  color: var(--fg);
}

.team { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
@media (min-width: 1100px) {
  .team { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.slide:not(.lander) { grid-template-columns: minmax(0, 1fr); }
.slide:not(.lander) .slide__in { min-width: 0; }

.sitetable {
  max-width: 100%;
  min-width: 0;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.slide:not(.lander) {
  align-content: start;
  padding-top: calc(var(--dk-pad-b) + clamp(0px, 3.2vh, 34px));
}

.slide.slide--composed:not(.lander) {
  display: flex;
  flex-direction: column;
  align-content: normal;
  padding-top: var(--dk-pad-b);
  max-height: var(--dk-vh);
}
.slide.slide--composed:not(.lander)::before {
  content: "";
  flex: 0 1 130px;
  min-height: 0;
}
.slide.slide--composed:not(.lander) > .slide__in { flex: 0 0 auto; }
.slide.slide--composed.has-texture:not(.lander) {
  padding-top: calc(var(--dk-pad-b) + 130px);
}

.slide--statement .statrow--hero b,
.slide--statement .beforeafter b {
  font-size: clamp(2.4rem, 1.1rem + 6.4vw, 6rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.slide--statement .statrow--hero span,
.slide--statement .beforeafter span:not(.beforeafter__k) {
  font-size: clamp(0.82rem, 0.74rem + 0.34vw, 1rem);
}

.slide--statement .beforeafter {
  justify-content: space-between;
  width: 100%;
  gap: clamp(20px, 4vw, 72px);
  margin-top: clamp(32px, 4.5vw, 60px);
}
.slide--statement .beforeafter b {
  font-size: clamp(3.2rem, 1.6rem + 7vw, 7rem);
  letter-spacing: -.045em;
}
.slide--statement .beforeafter__arrow { flex: 1 1 120px; min-width: 90px; }

.toolcard { grid-template-columns: minmax(0, 1fr); }
.toolcard__shot img {
  max-height: clamp(230px, 38vh, 400px);
  object-fit: cover;
  object-position: top center;
}
.toolcard__body { display: grid; justify-items: start; }
@media (min-width: 1100px) {
  .toolcard__body {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(18px, 2.4vw, 32px);
  }
  .toolcard__body h3 { grid-column: 1; margin-bottom: 2px; }
  .toolcard__body p  { grid-column: 1; margin-bottom: 0; }
  .toolcard__body .btn { grid-column: 2; grid-row: 1 / span 2; }
}

.slide__in > h2 { margin-bottom: clamp(12px, 1.4vw, 20px); }
.slide__in > .lead { margin-bottom: clamp(20px, 2.4vw, 32px); }
.slide__in > .lead:first-child { margin-top: 0; }

.slide__in > .statrow,
.slide__in > .moves,
.slide__in > .risks,
.slide__in > .phases,
.slide__in > .twocol,
.slide__in > .team,
.slide__in > .sitetable,
.slide__in > .beforeafter,
.slide__in > .toolcard { margin-bottom: clamp(20px, 2.6vw, 34px); }
.slide__in > :last-child { margin-bottom: 0; }

@media (min-width: 640px) and (max-width: 1499px) {
  .moves:has(> :nth-child(4):last-child),
  .risks:has(> :nth-child(4):last-child),
  .phases:has(> :nth-child(4):last-child),
  .twocol:has(> :nth-child(4):last-child),
  .statrow:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1500px) {
  .moves:has(> :nth-child(4):last-child),
  .risks:has(> :nth-child(4):last-child),
  .phases:has(> :nth-child(4):last-child),
  .twocol:has(> :nth-child(4):last-child),
  .statrow:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 640px) {
  .moves:has(> :nth-child(3):last-child),
  .risks:has(> :nth-child(3):last-child),
  .phases:has(> :nth-child(3):last-child),
  .statrow:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .moves h3, .twocol h3 { min-height: 2lh; margin-bottom: 0; }
  .risks b, .phases b { min-height: 2lh; }
}
.phases > li { align-content: start; }

@media (min-width: 901px) {
  .drail__nav { justify-content: flex-start; }
  .chapters {
    justify-content: flex-start;
    padding-top: calc(var(--u) * 3);
  }
}

@media (max-width: 900px) {
  .drail { grid-template-rows: auto auto; }
  .drail__nav {
    display: block;
    min-width: 0;
    border-top: 1px solid var(--line);
  }
  .chapters {
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .chapters::-webkit-scrollbar { display: none; }
  .chapters > li {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
  }
  .chapters > li + li { margin-top: 0; }
  .chapters > li > a {
    min-height: 46px;
    padding: 0 13px;
    border-radius: 0;
    white-space: nowrap;
    align-items: center;
  }
  .chapters__t { font-size: 0.8125rem; }
  .chapters__ct { margin-left: 3px; }
  .chapters li[data-on] > a { background: var(--surface-muted); }

  .chapters .subnav {
    grid-template-rows: 1fr;
    grid-template-columns: 0fr;
    transition: grid-template-columns 0.34s var(--dk-ease, cubic-bezier(.4,0,.2,1));
  }
  .chapters li[data-on] .subnav { grid-template-columns: 1fr; }
  .chapters .subnav > .subnav__list {
    flex-direction: row;
    align-items: stretch;
    min-width: 0;
    overflow: hidden;
  }
  .chapters .subnav__list li {
    margin-left: 0;
    display: flex;
    align-items: stretch;
  }
  .chapters .subnav__list li:last-child { margin-bottom: 0; }
  .chapters .subnav__list li::before { top: 28%; bottom: 28%; }
  .chapters .subnav__list li:last-child::before { bottom: 28%; height: auto; }
  .chapters .subnav__list button {
    width: auto;
    min-height: 46px;
    padding: 0 13px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    border-radius: 0;
  }
  .chapters .subnav__list button::after {
    top: auto; bottom: 5px; left: 13px; right: 13px;
    width: auto; height: 0; transform: none;
    transition: height 0.24s var(--dk-ease, ease);
  }
  .chapters li[data-on] .subnav__list button[data-on]::after { height: 2px; }

  .slide:not(.lander) {
    padding-top: calc(var(--dk-pad-b) + 102px + clamp(0px, 3.2vh, 34px));
  }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .chapters .subnav,
  .chapters .subnav__list button::after { transition: none; }
}

@media (pointer: coarse), (max-width: 900px) {
  .topchrome { gap: 12px; }
  .topchrome__theme, .topchrome__dl, .wt-replay { position: relative; }
  .topchrome__theme::after, .topchrome__dl::after, .wt-replay::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: max(100%, 44px);
    height: max(100%, 44px);
    transform: translate(-50%, -50%);
    background: transparent;
  }

  .player__row { gap: 16px; }
  .player__btn { position: relative; }
  .player__btn::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 44px; height: 44px;
    transform: translate(-50%, -50%);
    background: transparent;
  }
  .player__bar { position: relative; }
  .player__bar::before {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 48px;
  }
  .player__play { z-index: 5; }
  .player__list { gap: 6px; }
  .player__jump { min-width: 44px; min-height: 44px; padding: 0 0 6px; }

  .lander__read, .lander__demo { min-height: 44px; }

  .closefoot a {
    padding: 15px 0;
    margin: -15px 0;
  }
  .closefoot { padding-bottom: 62px; }
}
@media (min-width: 901px) {
  .chapters .subnav__list button { min-height: 32px; display: flex; align-items: center; }
}

.chapters > li > a:active,
.chapters .subnav__list button:active,
.pips button:active,
.topchrome__dl:active,
.topchrome__theme:active,
.wt-replay:active,
.drail__dl:active,
.totop:active,
.deck-tools button:active,
.deck-tools a:active {
  background: var(--surface-muted);
  border-color: var(--brand);
  color: var(--fg);
  transform: translateY(1px);
}
.player__play:active {
  background: var(--brand-strong);
  transform: translateY(1px) scale(0.97);
}
.player__btn:active,
.player__jump:active { background: color-mix(in srgb, currentColor 26%, transparent); }
.player__bar:active .player__seg[data-hot] {
  background: color-mix(in srgb, currentColor 62%, transparent);
}
select:active,
input[type="range"]:active,
.player__vol:active {
  border-color: var(--brand);
  outline: 2px solid color-mix(in srgb, var(--brand) 45%, transparent);
  outline-offset: 2px;
}
.lander__read:active, .lander__demo:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) {
  .chapters > li > a:active,
  .chapters .subnav__list button:active,
  .pips button:active,
  .topchrome__dl:active,
  .topchrome__theme:active,
  .wt-replay:active,
  .drail__dl:active,
        .totop:active,
  .deck-tools button:active,
  .deck-tools a:active,
  .player__play:active,
  .lander__read:active,
  .lander__demo:active { transform: none; }
}

.bignum { align-items: baseline; }
.bignum i { padding-top: 0; }



.lander__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  display: block;
  filter: blur(8px) saturate(1.06);
  transform: scale(1.035);
  transform-origin: center;
}
@media (prefers-reduced-motion: reduce) {
  .lander__bg img { filter: blur(6px) saturate(1.06); }
}
.lander__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(176deg,
    rgba(var(--scrim), .68) 0%,
    rgba(var(--scrim), .38) 38%,
    rgba(var(--scrim), .34) 62%,
    rgba(var(--scrim), .66) 100%);
  pointer-events: none;
}
[data-theme="agx-light"] .lander__bg::after { --scrim: 2, 10, 7; }

.slide--photo .dk-bg img { object-position: 50% 55%; }

.slide--photo .dk-bg img { filter: saturate(1.5) contrast(1.05); }

.slide--photo .dk-bg::after {
  background: linear-gradient(100deg,
    rgba(var(--scrim), .84) 0%,
    rgba(var(--scrim), .74) 46%,
    rgba(var(--scrim), .58) 100%);
}
@media (max-width: 860px) {
  .slide--photo .dk-bg::after {
    background: rgba(var(--scrim), .88);
  }
}

.has-texture { position: relative; isolation: isolate; }
.has-texture::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: url("../img/texture-grid.jpg") center / cover no-repeat;
  opacity: .22;
}
.has-texture::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(var(--scrim), .55);
}

[data-theme$="light"] .has-texture::before {
  opacity: .16;
  filter: brightness(3.05) contrast(1.34) saturate(.30);
}
[data-theme$="light"] .has-texture::after  {
  background: color-mix(in srgb, var(--canvas) 42%, transparent);
}

:root {
  --photo-brand: color-mix(in srgb, var(--move) 40%, white);
  --photo-brand-strong: color-mix(in srgb, var(--move) 25%, white);
  --photo-positive: color-mix(in srgb, var(--positive) 55%, white);
  --photo-negative: color-mix(in srgb, var(--negative) 55%, white);
  --photo-caution: color-mix(in srgb, var(--caution) 55%, white);
  --photo-info: color-mix(in srgb, var(--info) 55%, white);
}
.slide--photo {
  --fg: #fff;
  --fg-muted: rgba(255, 255, 255, .86);
  --fg-subtle: rgba(255, 255, 255, .74);
  --line: rgba(255, 255, 255, .22);
  --surface: rgba(255, 255, 255, .07);
  --surface-muted: rgba(255, 255, 255, .12);
  --brand: var(--photo-brand);
  --brand-strong: var(--photo-brand-strong);
  --brand-fg: var(--move-deep);
  --positive: var(--photo-positive);  --positive-bg: color-mix(in srgb, var(--photo-positive) 16%, transparent);
  --negative: var(--photo-negative);  --negative-bg: color-mix(in srgb, var(--photo-negative) 16%, transparent);
  --caution:  var(--photo-caution);   --caution-bg:  color-mix(in srgb, var(--photo-caution) 16%, transparent);
  --info:     var(--photo-info);      --info-bg:     color-mix(in srgb, var(--photo-info) 16%, transparent);
  --scrim: 10, 10, 36;
}
.slide--photo .dk-lede,
.slide--photo .dk-card__d { color: var(--fg-muted); }
.slide--photo .dk-eyebrow { color: var(--fg-subtle); }

.ax-icon {
  --ax-icon-size: 1em;
  --ax-icon-mid: .30em;
  display: inline-block;
  inline-size: var(--ax-icon-size);
  block-size: var(--ax-icon-size);
  vertical-align: calc(var(--ax-icon-mid) - var(--ax-icon-size) / 2);
  flex: 0 0 auto;
  color: inherit;
  margin-inline-end: .42em;
  overflow: visible;
}
.ax-icon > * { vector-effect: non-scaling-stroke; stroke-width: 1.5; }

h2 > .ax-icon {
  --ax-icon-size: .62em;
  --ax-icon-mid: .36em;
  color: var(--brand);
}

@media (min-width: 1200px) {
  h2:has(> .ax-icon) { position: relative; }
  h2 > .ax-icon {
    position: absolute;
    left: 0;
    top: .5lh;
    margin-inline-end: 0;
    transform: translate(calc(-100% - .42em), -50%);
    vertical-align: baseline;
  }
}
h3 > .ax-icon,
.twocol h3 > .ax-icon,
.toolcard__body h3 > .ax-icon {
  --ax-icon-size: .82em;
  --ax-icon-mid: .34em;
  color: var(--brand);
}
.moves h3 > .ax-icon {
  --ax-icon-size: .88em;
  --ax-icon-mid: .34em;
  color: inherit;
  opacity: .78;
}
.risks b > .ax-icon {
  --ax-icon-size: .95em;
  --ax-icon-mid: .32em;
  color: var(--brand);
}
.phases b > .ax-icon {
  --ax-icon-size: 1.05em;
  --ax-icon-mid: .36em;
  color: inherit;
  opacity: .85;
}

.statrow > li > .ax-icon {
  display: block;
  --ax-icon-size: 1.15rem;
  inline-size: var(--ax-icon-size);
  block-size: var(--ax-icon-size);
  vertical-align: baseline;
  margin: 0 0 10px;
  color: var(--fg-subtle);
}
.statrow span > .ax-icon {
  --ax-icon-size: .95em;
  --ax-icon-mid: .30em;
  color: var(--fg-subtle);
}

.statrow b,
.bignum b,
.beforeafter b,
.sitetable .num {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.statrow b,
.beforeafter b {
  min-inline-size: 3ch;
  min-block-size: 1lh;
}
.beforeafter > div { flex: 0 0 auto; }


.kicker, .dk-eyebrow {
  font-family: var(--f-sans);
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 400;
  color: var(--fg-subtle);
}

.hl { color: var(--brand); font-weight: inherit; }
[data-theme$="dark"] .hl { color: var(--brand-strong); }

.illustrative, .draftlabel {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--fs-small); line-height: 1;
  padding: 6px 10px; border-radius: var(--r-sm);
  border: 1px solid var(--line); color: var(--fg-muted); background: var(--surface);
  white-space: nowrap;
}
.illustrative::before, .draftlabel::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ai-native); flex: 0 0 7px;
}
.draftlabel::before { background: var(--caution); }

.duo {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 0;
  align-items: stretch; margin-top: clamp(22px, 3vw, 38px);
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
}
.duo__side { padding: clamp(18px, 2.4vw, 30px); min-width: 0; }
.duo__side--incumbent { background: var(--incumbent-wash); color: var(--fg); }
.duo__side--native    { background: var(--ai-native-wash); color: var(--fg); }
.duo__k {
  margin: 0 0 10px; font-size: var(--fs-small); letter-spacing: 0.02em;
}
.duo__side--incumbent .duo__k { color: var(--incumbent-ink); }
.duo__side--native .duo__k    { color: var(--ai-native-ink); }
.duo__side h3 { margin: 0 0 10px; font-size: var(--fs-h3); font-weight: 400; }
.duo__side ul { margin: 0; padding: 0; list-style: none; }
.duo__side li { padding: 8px 0; border-top: 1px solid rgba(var(--scrim), .10); font-size: var(--fs-body); color: var(--fg-muted); }
.duo__side li:first-child { border-top: 0; }
.duo__bridge {
  width: clamp(44px, 6vw, 84px); position: relative; background: var(--surface);
  display: grid; place-items: center;
}
.duo__bridge::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px;
  background: linear-gradient(90deg, var(--incumbent), var(--move), var(--ai-native));
}
.duo__bridge span {
  position: relative; z-index: 1; display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--move); color: #fff; font-size: var(--fs-small);
}
@media (max-width: 720px) {
  .duo { grid-template-columns: 1fr; }
  .duo__bridge { width: auto; height: 44px; }
  .duo__bridge::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--incumbent), var(--move), var(--ai-native)); }
}

.stages {
  list-style: none; margin: clamp(22px, 3vw, 38px) 0 0; padding: 0;
  display: grid; gap: clamp(10px, 1.6vw, 18px);
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}
.stages > li {
  border-radius: var(--r-md); padding: clamp(16px, 2vw, 24px);
  background: var(--surface); border: 1px solid var(--line);
  border-top: 4px solid var(--stage, var(--brand));
}
.stages > li[data-stage="build"]   { --stage: var(--move); }
.stages > li[data-stage="scale"]    { --stage: var(--ai-native); }
.stages > li[data-stage="converge"] { --stage: var(--incumbent); }
.stages__n { display: block; font-size: var(--fs-small); color: var(--fg-subtle); margin-bottom: 6px; }
.stages__t { display: block; font-size: var(--fs-h3); margin-bottom: 8px; color: var(--fg); }
.stages__t b { font-weight: 400; color: var(--stage); }
.stages p { margin: 0; color: var(--fg-muted); font-size: var(--fs-body); }

.studio {
  margin-top: clamp(22px, 3vw, 38px);
  background: var(--studio); color: var(--studio-fg);
  border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 30px);
}
.studio__k { margin: 0 0 12px; font-size: var(--fs-small); letter-spacing: 0.06em; text-transform: uppercase; opacity: .78; }
.studio__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.studio__pills li {
  padding: 7px 12px; border-radius: 999px; font-size: var(--fs-small);
  background: var(--move-fill); color: #fff;
}
.studio__pills li[data-human] { background: transparent; border: 1px solid rgba(255,255,255,.45); }
.studio__bar {
  margin: 14px 0 0; padding: 10px 14px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.10); font-size: var(--fs-small);
  border-left: 3px solid var(--cyan);
}
.studio__bar b { font-weight: 400; color: #fff; }

.statrow b, .bignum b, .beforeafter b { font-weight: 300; letter-spacing: -0.02em; }

blockquote.pull p {
  font-family: var(--f-display); font-style: normal; font-weight: 400;
  font-size: var(--fs-lead); line-height: 1.35;
}
blockquote.pull { border-left-color: var(--ai-native); }

.lander__bg-dark { display: none; }
[data-theme$="dark"] .lander__bg-light { display: none; }
[data-theme$="dark"] .lander__bg-dark { display: block; }

.lander__read, .sg .lander__read {
  background: var(--move-fill);
  border-color: var(--move-fill);
  color: #fff;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.lander__read:hover, .lander__read:focus-visible, .lander__read:active {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: #fff;
}
.slide--photo .lander__read { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.58); }

.phases b, .beforeafter__k, .drail__mark em, .drail__dl, .topchrome__dl,
.tag, .sitetable thead th, .ev, .dk-source,
.wt-count, .wt-skip, .vobar__n, .agpanel__t em, .ag-cites__k {
  font-family: var(--f-sans);
  text-transform: none;
  letter-spacing: 0.01em;
}
.phases b { font-size: var(--fs-body); color: var(--fg); }
.beforeafter__k { font-size: var(--fs-small); color: var(--fg-subtle); }
.drail__mark em { font-size: var(--fs-small); color: var(--fg-subtle); font-style: normal; }
.drail__dl, .topchrome__dl { font-size: var(--fs-small); }
.tag { font-size: var(--fs-small); font-weight: 400; }
.sitetable thead th { font-size: var(--fs-small); font-weight: 400; }

[data-theme="agx-light"] .lander__bg::after { --scrim: 248, 247, 253; }
[data-theme="agx-light"] .lander__kicker { color: var(--fg); }
[data-theme="agx-light"] .lander__kicker span { color: var(--fg-subtle); }
[data-theme="agx-light"] .lander__sub { color: var(--fg-muted); }
.brandmark .brandmark__agency--dark { display: none; }
[data-theme$="dark"] .brandmark .brandmark__agency--light { display: none; }
[data-theme$="dark"] .brandmark .brandmark__agency--dark { display: block; }
[data-theme="agx-light"] .brandmark { filter: none; }
[data-theme="agx-light"] .lander__kicker, [data-theme="agx-light"] .lander__kicker b { text-shadow: none; }
[data-theme="agx-light"] .lander__kicker b { color: var(--move); }
[data-theme="agx-light"] .drail.is-hidden ~ .topchrome .topchrome__dl,
[data-theme="agx-light"] .drail.is-hidden ~ .topchrome .topchrome__theme,
[data-theme="agx-light"] .drail.is-hidden ~ .topchrome .wt-replay {
  background: var(--surface); color: var(--fg); border-color: var(--line);
  box-shadow: 0 1px 2px rgba(var(--scrim), .06); -webkit-backdrop-filter: none; backdrop-filter: none;
}
[data-theme="agx-light"] .drail.is-hidden ~ .topchrome .topchrome__dl:hover,
[data-theme="agx-light"] .drail.is-hidden ~ .topchrome .topchrome__theme:hover { background: var(--surface-muted); }
