/* =============================================================
   AI Transformation — composed conversion layout on NC tokens
   Loaded after styles.css; reuses :root design tokens.
   Prefix: .ait-
   Colour language for this page:
     cyan    = the software side
     magenta = the people side
     lime / green = where they converge (adoption)
   ============================================================= */
.ait { --ait-max: var(--container-inner); }
.ait-section { padding: calc(var(--space-8) + var(--space-5)) var(--gutter) 0; scroll-margin-top: calc(var(--header-height) + var(--space-3)); }
.ait-section--tight { padding-top: var(--space-8); }
.ait-section--last { padding-bottom: calc(var(--space-8) + var(--space-5)); }
.ait-section--ink { color: var(--color-on-dark); padding-bottom: var(--space-8); }
.ait-section--ink .ait-wrap {
  position: relative; overflow: clip;
  background:
    radial-gradient(55% 70% at 8% 0%, oklch(0.38 0.06 205 / 0.28), transparent 58%),
    radial-gradient(50% 60% at 92% 100%, oklch(0.42 0.08 152 / 0.22), transparent 55%),
    var(--color-ink);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 88px) clamp(24px, 4.5vw, 72px);
}
.ait-section--ink .ait-h2 { color: var(--color-on-dark); }
.ait-section--ink .ait-sub { color: var(--color-on-dark-muted); }

/* ---------- Shared section chrome ---------- */
.ait-h2 {
  font-family: var(--font-title); font-weight: 700;
  font-size: var(--fs-h2);
  letter-spacing: -0.025em; line-height: 0.99;
  margin: var(--space-3) 0 0; max-width: 24ch; text-wrap: balance;
}
.ait-h2--wide { max-width: 34ch; }
.ait-sub {
  font-size: var(--fs-lead); line-height: 1.55; color: var(--color-ink-60);
  max-width: 62ch; margin: var(--space-3) 0 0; text-wrap: pretty;
}
.ait-head--center { text-align: center; }
.ait-head--center .ait-h2,
.ait-head--center .ait-sub { margin-inline: auto; }

.ait-chip {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 6px 13px; border: 1px solid var(--border-ink);
  border-radius: var(--radius-pill); background: var(--glass-soft);
  font-family: var(--font-title); font-size: 0.75rem; font-weight: 500;
  color: var(--color-ink-70); white-space: nowrap;
}
/* ---------- Scroll reveal (progressive enhancement) ---------- */
.ait-js [data-ait-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.ait-js [data-ait-reveal].is-in { opacity: 1; transform: none; }
.ait-js [data-ait-reveal][data-ait-delay="1"] { transition-delay: 0.07s; }
.ait-js [data-ait-reveal][data-ait-delay="2"] { transition-delay: 0.14s; }
.ait-js [data-ait-reveal][data-ait-delay="3"] { transition-delay: 0.21s; }

/* =============================================================
   1 — HERO
   Keeps the shared `.page-hero` class (js/main.js observes it to
   toggle the header CTA) but resets its centred treatment.
   ============================================================= */
.ait-hero {
  position: relative; overflow-x: clip; text-align: left;
  /* The corner-seam blob below bleeds well past the hero's own box on
     purpose (that's what puts its gradient centre on the seam); a plain
     `overflow: clip` would guillotine its soft tail right at the edge, so
     give it room to fade out before the clip takes over. X-only: `overflow:
     clip` (clipping both axes) let the 420px margin leak into the page's
     real horizontal scroll width on narrow viewports — X-only clip plus
     the margin still hides the hard edge without that leak. */
  overflow-clip-margin: 420px;
  /* No bottom padding: the card ends the hero, and the next block's own
     top spacing is the gap below it (hero-panel skill). */
  padding: calc(var(--header-height) + var(--space-5)) var(--gutter) 0;
}
/* Ambient hero wash: literal copy of home's hero glow recipe
   (.hero__glow / --lime / --violet in css/styles.css), per the
   "Background glow gradient" rule in ux-ui-rules.md — position, size (vw
   for width, vh for height: this hero is shorter than home's full-height
   one, same exception css/resources.css needed), timing, keyframe
   percentage steps, hue-drift deltas, alphas and stop percentages are all
   identical to home's (see css/resources.css for the confirmed-working
   second reference). The only page-specific values are the two hues —
   224deg blue and 336deg magenta, from docs/_as/colors.html — and the
   oklch lightness/chroma, which stays at home's own pastel register
   (L 0.9, C ~0.1–0.12) rather than this page's actual, more saturated
   accent colours (see step 8 of the rule). This page's three gradient
   chips in docs/_as/colors.html are a blend plus two solids, so blob 2
   and blob 3 each fade a single hue out on its own (home's lime formula)
   rather than blending both, exactly like most other pages' washes. */
.ait-hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  top: -24%; right: -42%; width: 100vw; height: 100vh;
  background: radial-gradient(
    var(--g-w, 50%) var(--g-h, 50%) at var(--g-x, 50%) var(--g-y, 50%),
    oklch(0.9 0.12 var(--g-h1, 224deg) / 0.85),
    oklch(0.9 0.1 var(--g-h2, 336deg) / 0.4) 46%,
    transparent 72%
  );
  animation:
    ait-glow-morph 11s ease-in-out infinite,
    ait-glow-float 17s ease-in-out infinite;
}
@keyframes ait-glow-morph {
  0%, 100% { --g-h1: 224deg; --g-h2: 336deg; --g-w: 44%; --g-h: 54%; --g-x: 46%; --g-y: 54%; }
  30%      { --g-h1: 260deg; --g-h2: 358deg; --g-w: 66%; --g-h: 42%; --g-x: 60%; --g-y: 40%; }
  62%      { --g-h1: 198deg; --g-h2: 310deg; --g-w: 42%; --g-h: 64%; --g-x: 40%; --g-y: 60%; }
}
@keyframes ait-glow-float {
  0%, 100% { transform: scale(1)    translate3d(0, 0, 0);    filter: hue-rotate(0deg)  saturate(1); }
  50%      { transform: scale(1.22) translate3d(-8%, 6%, 0); filter: hue-rotate(14deg) saturate(1.1); }
}

/* Bottom-left blob: blue on its own, home's lime formula and delta shape. */
.ait-hero__glow--b {
  top: auto; right: auto;
  bottom: -20%; left: -22%; width: 60vw; height: 60vh;
  background: radial-gradient(
    var(--g-w, 50%) var(--g-h, 50%) at var(--g-x, 50%) var(--g-y, 50%),
    oklch(0.9 0.12 var(--g-h1, 224deg) / 0.4),
    transparent 66%
  );
  animation:
    ait-glow-morph-b 14s ease-in-out -5s infinite,
    ait-glow-float-b 21s ease-in-out -9s infinite;
}
@keyframes ait-glow-morph-b {
  0%, 100% { --g-h1: 224deg; --g-w: 46%; --g-h: 46%; --g-x: 50%; --g-y: 50%; }
  40%      { --g-h1: 256deg; --g-w: 68%; --g-h: 56%; --g-x: 60%; --g-y: 42%; }
  72%      { --g-h1: 202deg; --g-w: 42%; --g-h: 66%; --g-x: 40%; --g-y: 58%; }
}
@keyframes ait-glow-float-b {
  0%, 100% { transform: scale(1.06) translate3d(0, 0, 0);    filter: hue-rotate(0deg)   saturate(1); }
  50%      { transform: scale(0.84) translate3d(9%, -7%, 0); filter: hue-rotate(-12deg) saturate(1.12); }
}

/* Top-centre blob: magenta on its own, home's violet slot (position +
   timing) carrying a single-hue fade instead of a blend, same conversion
   as blob --b above. */
.ait-hero__glow--c {
  top: -26%; left: 52%; right: auto; bottom: auto;
  width: 44vw; height: 44vh;
  background: radial-gradient(
    var(--g-w, 50%) var(--g-h, 50%) at var(--g-x, 50%) var(--g-y, 50%),
    oklch(0.9 0.1 var(--g-h1, 336deg) / 0.28),
    transparent 64%
  );
  animation:
    ait-glow-morph-c 18s ease-in-out -7s infinite,
    ait-glow-float-c 26s ease-in-out -13s infinite;
}
@keyframes ait-glow-morph-c {
  0%, 100% { --g-h1: 336deg; --g-w: 48%; --g-h: 48%; --g-x: 50%; --g-y: 50%; }
  38%      { --g-h1: 312deg; --g-w: 70%; --g-h: 42%; --g-x: 40%; --g-y: 58%; }
  70%      { --g-h1: 356deg; --g-w: 42%; --g-h: 60%; --g-x: 60%; --g-y: 44%; }
}
@keyframes ait-glow-float-c {
  0%, 100% { transform: scale(1)    translate3d(0, 0, 0);     filter: hue-rotate(0deg)   saturate(1);   opacity: 1; }
  45%      { transform: scale(1.28) translate3d(-9%, 5%, 0);   filter: hue-rotate(-10deg) saturate(1.1); opacity: 0.7; }
}

/* Mandatory corner-seam accent: centred exactly where the hero ends and
   the next section begins (bottom-right here), reusing the blue half of
   the wash as a quiet echo, per the "corner-seam accent" rule. */
.ait-hero__glow--corner {
  top: auto; left: auto;
  bottom: -37vw; right: -37vw; width: 74vw; height: 74vw;
  background: radial-gradient(
    var(--g-w, 50%) var(--g-h, 50%) at var(--g-x, 50%) var(--g-y, 50%),
    oklch(0.9 0.12 var(--g-h1, 224deg) / 0.15),
    transparent 60%
  );
  animation:
    ait-glow-morph-corner 8s ease-in-out -4s infinite,
    ait-glow-float-corner 11s ease-in-out -8s infinite;
}
@keyframes ait-glow-morph-corner {
  0%, 100% { --g-h1: 224deg; --g-w: 46%; --g-h: 46%; --g-x: 50%; --g-y: 50%; }
  50%      { --g-h1: 246deg; --g-w: 55%; --g-h: 37%; --g-x: 40%; --g-y: 60%; }
}
@keyframes ait-glow-float-corner {
  0%, 100% { transform: scale(1)    translate3d(0, 0, 0);    filter: saturate(1); }
  50%      { transform: scale(1.15) translate3d(9%, -6%, 0); filter: saturate(1.05); }
}
/* Hero card (hero-panel skill): the whole hero sits on one dark inset panel,
   capped at the content width. The pastel page glows above stay on the
   section and read around it; inside, a blue -> magenta wash (hues 224 / 336,
   this page's two accents) sits behind the copy in the "on ink" register. */
.ait-hero__panel {
  position: relative; z-index: 1; overflow: hidden;
  max-width: var(--ait-max); margin-inline: auto;
  background: var(--color-ink); color: var(--color-on-dark);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
}
.ait-hero__wash {
  position: absolute; z-index: 0; pointer-events: none;
  /* Fade the box itself to transparent before its edge: the morph moves the
     gradient centre off-centre, and a clipped edge would show as a hard arc. */
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  top: -40%; left: -20%; width: 70vw; height: 70vw;
  background: radial-gradient(
    var(--g-w, 50%) var(--g-h, 50%) at var(--g-x, 50%) var(--g-y, 50%),
    oklch(0.72 0.17 var(--g-h1, 224deg) / 0.28),
    oklch(0.8 0.16 var(--g-h2, 336deg) / 0.12) 46%,
    transparent 70%
  );
  animation:
    ait-wash-morph 9s ease-in-out -3s infinite,
    ait-wash-float 13s ease-in-out -7s infinite;
}
@keyframes ait-wash-morph {
  0%, 100% { --g-h1: 224deg; --g-h2: 336deg; --g-w: 46%; --g-h: 56%; --g-x: 50%; --g-y: 46%; }
  50%      { --g-h1: 336deg; --g-h2: 224deg; --g-w: 56%; --g-h: 42%; --g-x: 66%; --g-y: 62%; }
}
@keyframes ait-wash-float {
  0%, 100% { transform: scale(1)    translate3d(0, 0, 0);    filter: saturate(1); }
  50%      { transform: scale(1.18) translate3d(-8%, 8%, 0); filter: saturate(1.1); }
}
/* Copy takes the wider column; both columns centre on one midline. */
.ait-hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 6.5rem); align-items: center;
}
/* "In partnership with" + Drouin RH logo, the same lockup as the Résidence IA
   hero, in the on-dark tone: the logo's navy would vanish on ink. */
.ait-with { --ait-with-logo-h: 44px; display: flex; align-items: center; flex-wrap: nowrap; gap: 6px 14px; margin: 0; }
.ait-with__logo { display: block; height: var(--ait-with-logo-h); width: auto; filter: brightness(0) invert(0.88); }
.ait-with__label {
  font-family: var(--font-title); font-size: var(--fs-label); font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-on-dark-muted);
  /* Centre the label on the logo's lettering, which sits about 15% below
     the middle of the image because of the square mark. */
  transform: translateY(calc(var(--ait-with-logo-h) * 0.15));
}

.ait-hero__title {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(2.25rem, 4.3vw, 3.6rem);
  line-height: 0.95; letter-spacing: -0.035em;
  color: var(--color-on-dark);
  margin: var(--space-4) 0 0; text-wrap: balance;
}
.ait-hero__lead {
  font-size: var(--fs-lead); line-height: 1.6; color: var(--color-on-dark-muted);
  max-width: 52ch; margin: var(--space-4) 0 0; text-wrap: pretty;
}
.ait-hero__lead strong { color: var(--color-on-dark); font-weight: 600; }
.ait-hero__cta { margin-top: var(--space-5); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
/* Three facts as one line of plain text, split by a middle dot. */
.ait-hero__facts {
  margin-top: var(--space-4); display: flex; flex-wrap: wrap; align-items: center;
  column-gap: 0.75rem; row-gap: 4px;
  font-size: var(--fs-sm); line-height: 1.5; color: var(--color-on-dark-muted);
}
.ait-hero__fact { white-space: nowrap; }
/* The dot trails the previous fact, so a wrapped line never starts with one. */
.ait-hero__fact:not(:last-child)::after {
  content: "·"; margin-left: 0.75rem; color: rgba(223, 224, 218, 0.4);
}

/* ---------- Hero visual: the engagement, drawn as a wireframe ----------
   Transparent frame, 1px white lines, no grey fills, no inner bloom, no
   shadow. Colour only where it means something: the three workstream
   segments (cyan software, magenta people, lime coherence) as ink tinted
   with their own accent, the duration badge and the handover check. */
.ait-visual { position: relative; }
.ait-panel {
  position: relative;
  background: transparent; color: var(--color-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
}
.ait-panel__in {
  position: relative; z-index: 1; padding: var(--space-5);
  display: grid; grid-template-rows: auto auto 1fr auto;
  min-height: clamp(300px, 28vw, 400px);
}
.ait-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3);
  margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) 0;
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.ait-panel__label {
  font-family: var(--font-title); font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-on-dark-muted);
}
.ait-panel__badge {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.06em;
  padding: 5px 11px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-secondary-lime) 16%, var(--color-ink));
  border: 1px solid color-mix(in srgb, var(--color-secondary-lime) 48%, transparent);
  color: var(--color-on-dark); white-space: nowrap;
}

/* Objective marker */
.ait-panel__objective {
  display: flex; align-items: center; gap: 9px; margin: 0;
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8125rem; color: var(--color-on-dark-muted);
}
.ait-panel__objective svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--color-secondary-cyan); }
.ait-panel__objective b { color: var(--color-on-dark); font-weight: 600; }

/* Chart: lanes over a quarter grid (kickoff, M3, M6, M9, handover). The grid
   lines and the ruler share one coordinate system with the segments, so a
   segment that starts at M6 starts on the M6 line. */
.ait-chart {
  --ait-name: 78px;
  position: relative; display: flex; flex-direction: column;
  padding: var(--space-4) 0 26px;
}
.ait-chart::before {
  content: ""; position: absolute; pointer-events: none;
  top: var(--space-3); bottom: 20px;
  left: calc(var(--ait-name) + var(--space-3)); right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 25% 100% repeat-x;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.ait-lanes {
  position: relative; flex: 1;
  display: grid; align-content: space-evenly; gap: var(--space-3);
  margin: 0; padding: 0; list-style: none;
}
.ait-lane {
  display: grid; grid-template-columns: var(--ait-name) minmax(0, 1fr);
  align-items: center; gap: var(--space-3);
}
.ait-lane__name {
  font-family: var(--font-title); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-on-dark-muted);
}
.ait-lane__track { position: relative; height: 30px; }
.ait-lane__seg {
  position: absolute; top: 0; bottom: 0;
  left: var(--from); right: calc(100% - var(--to));
  /* Block, not flex, so a long (French) label ends in an ellipsis. */
  display: block; line-height: 28px; padding-inline: 10px;
  border-radius: var(--radius-pill); overflow: hidden;
  font-family: var(--font-title); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: -0.005em; white-space: nowrap; text-overflow: ellipsis;
  color: var(--color-on-dark);
  transform-origin: left center;
}
.ait-js .ait-lane__seg { animation: ait-grow 0.9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes ait-grow { from { transform: scaleX(0.02); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

.ait-lane--soft .ait-lane__seg {
  background: color-mix(in srgb, var(--color-secondary-cyan) 20%, var(--color-ink));
  border: 1px solid color-mix(in srgb, var(--color-secondary-cyan) 46%, transparent);
}
.ait-lane--people .ait-lane__seg {
  background: color-mix(in srgb, var(--color-secondary-magenta) 20%, var(--color-ink));
  border: 1px solid color-mix(in srgb, var(--color-secondary-magenta) 46%, transparent);
}
.ait-lane--coh .ait-lane__seg {
  background: color-mix(in srgb, var(--color-secondary-lime) 12%, var(--color-ink));
  border: 1px dashed color-mix(in srgb, var(--color-secondary-lime) 46%, transparent);
}

/* Ruler labels sit under their grid line; the end labels align inward. */
.ait-ruler {
  position: absolute; bottom: 0; height: 14px;
  left: calc(var(--ait-name) + var(--space-3)); right: 0;
  font-family: var(--font-mono); font-size: var(--fs-label-xs); line-height: 14px; letter-spacing: 0.04em;
  color: rgba(223, 224, 218, 0.42); text-transform: uppercase;
}
.ait-ruler span { position: absolute; left: var(--at); transform: translateX(-50%); white-space: nowrap; }
.ait-ruler span:first-child { transform: none; }
.ait-ruler span:last-child { transform: translateX(-100%); }

.ait-panel__foot {
  display: flex; align-items: center; gap: 11px;
  margin: var(--space-4) calc(-1 * var(--space-5)) calc(-1 * var(--space-5));
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.ait-panel__check {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--color-secondary-lime) 60%, transparent);
  color: var(--color-secondary-lime);
}
.ait-panel__check svg { width: 12px; height: 12px; }
.ait-panel__foot-text {
  font-family: var(--font-title); font-size: 0.875rem; font-weight: 600;
  line-height: 1.4; color: var(--color-on-dark);
}

/* =============================================================
   2 — AT A GLANCE
   ============================================================= */
/* Sits inside the hero card, under both columns, split by thin rules. */
.ait-glance {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.ait-glance__item {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding-inline: var(--space-5);
}
.ait-glance__item:first-child { padding-left: 0; }
.ait-glance__item:last-child { padding-right: 0; }
.ait-glance__item + .ait-glance__item::before {
  content: ""; position: absolute; left: 0; top: 2px; bottom: 2px;
  width: 1px; background: rgba(255, 255, 255, 0.12);
}
.ait-glance__num {
  font-family: var(--font-title); font-size: 1.875rem; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1; color: var(--color-secondary-cyan);
}
.ait-glance__item:nth-child(even) .ait-glance__num { color: var(--color-secondary-magenta); }
.ait-glance__label { font-size: var(--fs-sm); line-height: 1.45; color: var(--color-on-dark-muted); }

/* =============================================================
   3 — THE PROBLEM
   ============================================================= */
.ait-probs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4); margin-top: var(--space-6);
}
.ait-prob {
  background: var(--color-surface-light); border: 1px solid transparent;
  border-radius: var(--radius-lg); padding: var(--space-5);
}
.ait-prob__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--color-paper); border: 1px solid var(--border-ink);
  color: var(--color-secondary-magenta); margin-bottom: var(--space-4);
}
.ait-prob__icon svg { width: 20px; height: 20px; }
.ait-prob__title {
  font-family: var(--font-title); font-size: var(--fs-card-title); font-weight: 700;
  letter-spacing: -0.01em; margin: 0 0 8px;
}
.ait-prob__body { font-size: 0.9375rem; line-height: 1.6; color: var(--color-ink-60); margin: 0; }
.ait-probs__foot {
  grid-column: 1 / -1; margin: var(--space-2) 0 0;
  font-family: var(--font-title); font-size: var(--fs-md); font-weight: 600; color: var(--color-ink);
  text-align: center;
}

/* =============================================================
   4 — WHAT'S INCLUDED (dark band)
   ============================================================= */
.ait-incl {
  position: relative; overflow: hidden;
  background: var(--color-ink); color: var(--color-on-dark);
  border-radius: var(--radius-xl); padding: var(--space-8) var(--space-7);
  margin-top: var(--space-6);
}
.ait-incl__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(38% 80% at 8% 4%, oklch(0.72 0.16 230 / 0.30), transparent 66%),
    radial-gradient(40% 80% at 94% 92%, oklch(0.70 0.19 330 / 0.24), transparent 66%);
  animation: nc-hue 13s ease-in-out infinite alternate;
}
.ait-incl__in { position: relative; z-index: 1; }
.ait-incl__head { max-width: 640px; }
.ait-incl__title {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(1.625rem, 3vw, 2.375rem); letter-spacing: -0.025em; line-height: 1.01;
  color: var(--color-on-dark); margin: var(--space-3) 0 0;
}
.ait-incl__lead {
  font-size: var(--fs-lead); line-height: 1.6; color: var(--color-on-dark-muted);
  margin: var(--space-3) 0 0; max-width: 58ch;
}

.ait-works {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3); margin-top: var(--space-7);
}
.ait-work {
  display: flex; flex-direction: column;
  padding: var(--space-5) var(--space-4);
  background: var(--color-ink-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.ait-work:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.2); }
.ait-work__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: var(--space-4);
}
.ait-work__icon svg { width: 18px; height: 18px; }
.ait-work--build .ait-work__icon { color: var(--color-secondary-cyan); }
.ait-work--integrate .ait-work__icon { color: var(--color-secondary-cyan); }
.ait-work--change .ait-work__icon { color: var(--color-secondary-magenta); }
.ait-work--train .ait-work__icon { color: var(--color-secondary-magenta); }
.ait-work__n {
  font-family: var(--font-mono); font-size: 0.625rem;
  color: rgba(223, 224, 218, 0.38); letter-spacing: 0.08em; margin: 0 0 6px;
}
.ait-work__title {
  font-family: var(--font-title); font-size: var(--fs-card-title); font-weight: 700;
  letter-spacing: -0.01em; color: var(--color-on-dark); margin: 0 0 8px;
}
.ait-work__body { font-size: 0.875rem; line-height: 1.55; color: var(--color-on-dark-muted); margin: 0; }
.ait-work__note {
  margin: auto 0 0; padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-title); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.02em; color: rgba(223, 224, 218, 0.55);
}
.ait-incl__foot {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-3) var(--space-5);
  margin-top: var(--space-6); padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.ait-incl__claim {
  font-family: var(--font-title); font-size: var(--fs-md); font-weight: 600;
  color: var(--color-on-dark); margin: 0;
}

/* =============================================================
   5 — THE ALTERNATIVE (vs)
   ============================================================= */
.ait-vs {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-4); margin-top: var(--space-6); align-items: stretch;
}
.ait-vs__side {
  border-radius: var(--radius-xl); padding: var(--space-6) var(--space-5);
  display: flex; flex-direction: column;
}
.ait-vs__side--them { background: var(--color-paper); border: 1px dashed var(--border-ink-strong); }
.ait-vs__side--us {
  background:
    radial-gradient(70% 80% at 12% 0%, oklch(0.42 0.08 152 / 0.35), transparent 58%),
    radial-gradient(60% 70% at 100% 100%, oklch(0.38 0.06 205 / 0.28), transparent 55%),
    linear-gradient(165deg, #1B1D21 0%, #111316 55%, #141619 100%);
  border: 1px solid transparent;
  color: var(--color-on-dark);
}
.ait-vs__tag {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-title); font-size: var(--fs-label); font-weight: 700;
  letter-spacing: 0.11em; text-transform: uppercase; margin: 0;
}
.ait-vs__side--them .ait-vs__tag { color: var(--color-ink-45); }
.ait-vs__side--us .ait-vs__tag { color: var(--color-secondary-green); }
.ait-vs__title {
  font-family: var(--font-title); font-size: var(--fs-card-title); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.2; margin: var(--space-3) 0 0;
}
.ait-vs__side--them .ait-vs__title { color: var(--color-ink-45); }
.ait-vs__side--us .ait-vs__title { color: var(--color-on-dark); }

/* Stitched-vendor stack */
.ait-stack { display: grid; gap: 7px; margin: var(--space-5) 0 0; }
.ait-stack__item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px var(--space-4); border-radius: var(--radius-md);
  border: 1px dashed var(--border-ink-strong);
  background: color-mix(in srgb, var(--color-surface-muted) 30%, transparent);
  font-size: 0.875rem; color: var(--color-ink-45);
}
.ait-stack__item span { font-family: var(--font-mono); font-size: 0.625rem; color: var(--color-ink-25); margin-left: auto; white-space: nowrap; }
.ait-stack__you {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: var(--space-3); padding: var(--space-4);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-secondary-magenta) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-secondary-magenta) 22%, transparent);
  font-size: 0.875rem; line-height: 1.5; color: var(--color-ink-60);
}
.ait-stack__you svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; color: var(--color-secondary-magenta); }
.ait-stack__you strong { color: var(--color-ink); font-weight: 600; }

/* Our side list */
.ait-vs__list { display: grid; gap: 11px; margin: var(--space-5) 0 0; }
.ait-vs__list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.9375rem; line-height: 1.5; color: var(--color-ink-60);
}
.ait-vs__list li strong { color: var(--color-ink); font-weight: 600; }
.ait-vs__side--us .ait-vs__list li { color: var(--color-on-dark-muted); }
.ait-vs__side--us .ait-vs__list li strong { color: var(--color-on-dark); }
.ait-vs__tick {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: color-mix(in srgb, var(--color-secondary-green) 20%, transparent);
  color: color-mix(in srgb, var(--color-secondary-green) 74%, black);
}
.ait-vs__side--us .ait-vs__tick {
  background: color-mix(in srgb, var(--color-secondary-green) 28%, transparent);
  color: var(--color-secondary-green);
}
.ait-vs__tick svg { width: 10px; height: 10px; }
.ait-vs__foot {
  margin: auto 0 0; padding-top: var(--space-4);
  font-size: var(--fs-sm); line-height: 1.55; color: var(--color-ink-45);
}
.ait-vs__side--us .ait-vs__foot {
  margin-top: auto; padding-top: var(--space-5);
  border-top: 1px solid color-mix(in srgb, var(--color-on-dark) 14%, transparent);
  color: var(--color-on-dark-muted);
}
.ait-vs__side--us .ait-vs__foot strong { color: var(--color-on-dark); font-weight: 600; }

/* =============================================================
   6 — BOTH SIDES MOVE TOGETHER
   ============================================================= */
.ait-both {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch; gap: 0; margin-top: var(--space-6);
  border: 1px solid var(--border-ink); border-radius: var(--radius-xl);
  background: var(--color-surface-light); overflow: hidden;
}
.ait-both__half { padding: var(--space-6); }
.ait-both__tag {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-title); font-size: var(--fs-label); font-weight: 700;
  letter-spacing: 0.11em; text-transform: uppercase; margin: 0;
}
.ait-both__half--soft .ait-both__tag { color: var(--color-secondary-cyan); }
.ait-both__half--people .ait-both__tag { color: var(--color-secondary-magenta); }
.ait-both__icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--color-paper); border: 1px solid var(--border-ink);
  margin-bottom: var(--space-3);
}
.ait-both__icon svg { width: 19px; height: 19px; }
.ait-both__half--soft .ait-both__icon { color: var(--color-secondary-cyan); }
.ait-both__half--people .ait-both__icon { color: var(--color-secondary-magenta); }
.ait-both__title {
  font-family: var(--font-title); font-size: var(--fs-card-title); font-weight: 700;
  letter-spacing: -0.015em; margin: var(--space-2) 0 8px;
}
.ait-both__body { font-size: 0.9375rem; line-height: 1.6; color: var(--color-ink-60); margin: 0; }
.ait-both__list { display: grid; gap: 9px; margin: var(--space-4) 0 0; }
.ait-both__list li {
  position: relative; padding-left: var(--space-4);
  font-size: 0.875rem; line-height: 1.5; color: var(--color-ink-60);
}
.ait-both__list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%;
}
.ait-both__half--soft .ait-both__list li::before { background: var(--color-secondary-cyan); }
.ait-both__half--people .ait-both__list li::before { background: var(--color-secondary-magenta); }

.ait-both__seam {
  position: relative; width: 1px; background: var(--border-ink);
  display: flex; align-items: center; justify-content: center;
}
.ait-both__seam span {
  position: absolute; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--color-ink); color: var(--color-secondary-lime);
  font-family: var(--font-title); font-size: 0.875rem; font-weight: 700;
}
.ait-both__foot {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 11px;
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border-ink);
  background: color-mix(in srgb, var(--color-secondary-green) 7%, transparent);
  font-family: var(--font-title); font-size: var(--fs-md); font-weight: 600; color: var(--color-ink);
}
.ait-both__foot svg { width: 18px; height: 18px; flex: 0 0 auto; color: color-mix(in srgb, var(--color-secondary-green) 72%, black); }

/* =============================================================
   7 — THE ENGAGEMENT (timeline)
   ============================================================= */
.ait-time { margin-top: var(--space-6); display: grid; gap: 0; }
.ait-stage {
  position: relative; display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: var(--space-5); padding: var(--space-5) 0;
  border-top: 1px solid var(--border-ink);
}
.ait-stage:last-child { padding-bottom: 0; border-bottom: none; }
.ait-stage__when {
  display: flex; flex-direction: column; gap: 6px;
}
.ait-stage__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  font-family: var(--font-title); font-size: 0.75rem; font-weight: 700;
  background: var(--color-ink); color: var(--color-on-dark);
}
.ait-stage--later .ait-stage__num { background: var(--color-ink); color: var(--color-secondary-lime); }
.ait-stage__month {
  font-family: var(--font-tag); font-size: var(--fs-tag); letter-spacing: 0.04em;
  color: var(--color-ink-35); text-transform: uppercase;
}
.ait-stage__title {
  font-family: var(--font-title); font-size: var(--fs-step); font-weight: 700;
  letter-spacing: -0.02em; margin: 0 0 9px;
}
.ait-stage__body { font-size: var(--fs-md); line-height: 1.6; color: var(--color-ink-60); margin: 0; max-width: 66ch; }
.ait-stage__out {
  display: inline-flex; align-items: center; gap: 8px; margin: var(--space-3) 0 0;
  font-family: var(--font-title); font-size: 0.8125rem; font-weight: 600; color: var(--color-ink);
}
.ait-stage__out::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--color-secondary-green);
}
.ait-stage__flag {
  display: inline-flex; align-items: center; gap: 0.5em; margin: 0 0 var(--space-3);
  padding: 5px 11px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-secondary-lime) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-secondary-lime) 45%, transparent);
  font-family: var(--font-title); font-size: var(--fs-label); font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: color-mix(in srgb, var(--color-secondary-lime) 55%, black);
}

/* Engagement section — dark band overrides */
.ait-section--ink .ait-stage {
  border-top-color: color-mix(in srgb, var(--color-on-dark) 14%, transparent);
}
.ait-section--ink .ait-stage__num {
  background: color-mix(in srgb, var(--color-on-dark) 12%, transparent);
  color: var(--color-on-dark);
  border: 1px solid color-mix(in srgb, var(--color-on-dark) 18%, transparent);
}
.ait-section--ink .ait-stage--later .ait-stage__num {
  background: color-mix(in srgb, var(--color-secondary-lime) 18%, transparent);
  color: var(--color-secondary-lime);
  border-color: color-mix(in srgb, var(--color-secondary-lime) 40%, transparent);
}
.ait-section--ink .ait-stage__month { color: var(--color-ink-25); }
.ait-section--ink .ait-stage__title { color: var(--color-on-dark); }
.ait-section--ink .ait-stage__body { color: var(--color-on-dark-muted); }
.ait-section--ink .ait-stage__out { color: var(--color-on-dark); }
.ait-section--ink .ait-stage__flag {
  background: color-mix(in srgb, var(--color-secondary-lime) 16%, transparent);
  border-color: color-mix(in srgb, var(--color-secondary-lime) 40%, transparent);
  color: var(--color-secondary-lime);
}

/* =============================================================
   8 — HOW WE MEASURE
   ============================================================= */
.ait-section:has(.ait-measure) { padding-bottom: var(--space-8); }
.ait-measure {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, var(--space-7)); align-items: center; margin-top: var(--space-6);
}
.ait-measure__body p { font-size: var(--fs-md); line-height: 1.65; color: var(--color-ink-60); margin: 0 0 var(--space-3); }
.ait-measure__body p:last-child { margin-bottom: 0; }
.ait-measure__body strong { color: var(--color-ink); font-weight: 600; }
.ait-measure__partner {
  display: flex; gap: 11px; align-items: flex-start;
  margin-top: var(--space-5); padding-top: var(--space-4);
  border-top: 1px solid var(--border-ink);
  font-size: var(--fs-sm); line-height: 1.55; color: var(--color-ink-45);
}
.ait-measure__logo { display: block; flex: 0 0 auto; height: 28px; width: auto; }
.ait-measure__partner { align-items: center; }

.ait-charter {
  background: var(--color-ink); color: var(--color-on-dark);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 38px 78px -46px rgba(0, 0, 0, 0.42);
}
.ait-charter__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.ait-charter__title { font-family: var(--font-title); font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.01em; margin: 0; color: var(--color-on-dark); }
.ait-charter__pill {
  font-family: var(--font-mono); font-size: var(--fs-label-xs); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18); color: var(--color-on-dark-muted); white-space: nowrap;
}
.ait-charter__body { padding: var(--space-4) var(--space-5) var(--space-5); display: grid; gap: var(--space-4); }
.ait-charter__row { display: grid; gap: 5px; }
.ait-charter__k {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-title); font-size: var(--fs-label-xs); font-weight: 700;
  letter-spacing: 0.11em; text-transform: uppercase; color: rgba(223, 224, 218, 0.5);
}
.ait-charter__v { font-size: 0.9375rem; line-height: 1.45; color: var(--color-on-dark); }
.ait-charter__v b { font-weight: 600; }
.ait-charter__bar {
  margin-top: 7px; height: 7px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1); overflow: hidden;
}
.ait-charter__bar i { display: block; height: 100%; width: var(--w, 50%); border-radius: var(--radius-pill); }
.ait-charter__bar--cyan i { background: linear-gradient(90deg, var(--color-secondary-cyan), var(--color-secondary-green)); }
.ait-charter__bar--mag i { background: linear-gradient(90deg, var(--color-secondary-magenta), var(--color-secondary-violet)); }
.ait-charter__foot {
  margin: 0; padding: var(--space-3) var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem; color: rgba(223, 224, 218, 0.5);
}

/* =============================================================
   9 — FIT / NOT FIT
   ============================================================= */
.ait-fit {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4); margin-top: var(--space-6);
}
.ait-fit__panel {
  border-radius: var(--radius-xl); padding: var(--space-6) var(--space-5);
  background: var(--color-surface-light); border: 1px solid transparent;
}
.ait-fit__panel--yes {
  background:
    radial-gradient(70% 80% at 12% 0%, oklch(0.42 0.08 152 / 0.35), transparent 58%),
    radial-gradient(60% 70% at 100% 100%, oklch(0.38 0.06 205 / 0.28), transparent 55%),
    linear-gradient(165deg, #1B1D21 0%, #111316 55%, #141619 100%);
  color: var(--color-on-dark);
  border-color: transparent;
}
.ait-fit__panel--no { background: var(--color-paper); border: 1px dashed var(--border-ink-strong); }
.ait-fit__head { display: flex; align-items: center; gap: 11px; margin-bottom: var(--space-4); }
.ait-fit__mark {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
}
.ait-fit__panel--yes .ait-fit__mark {
  background: color-mix(in srgb, var(--color-secondary-green) 28%, transparent);
  color: var(--color-secondary-green);
}
.ait-fit__panel--no .ait-fit__mark {
  background: color-mix(in srgb, var(--color-secondary-magenta) 16%, transparent);
  color: var(--color-secondary-magenta);
}
.ait-fit__mark svg { width: 13px; height: 13px; }
.ait-fit__title { font-family: var(--font-title); font-size: var(--fs-card-title); font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.ait-fit__panel--yes .ait-fit__title { color: var(--color-on-dark); }
.ait-fit__list { display: grid; gap: 13px; }
.ait-fit__list li {
  position: relative; padding-left: var(--space-4);
  font-size: 0.9375rem; line-height: 1.55; color: var(--color-ink-60);
}
.ait-fit__panel--yes .ait-fit__list li { color: var(--color-on-dark-muted); }
.ait-fit__list li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--color-surface-muted);
}
.ait-fit__panel--yes .ait-fit__list li::before { background: var(--color-secondary-green); }
.ait-fit__list li strong { color: var(--color-ink); font-weight: 600; }
.ait-fit__panel--yes .ait-fit__list li strong { color: var(--color-on-dark); }

/* =============================================================
   10 — FAQ
   ============================================================= */
.ait-faq { max-width: 840px; margin: var(--space-6) auto 0; border-top: 1px solid var(--border-ink); }
.ait-faq__item { border-bottom: 1px solid var(--border-ink); }
.ait-faq__q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-4) 0;
  font-family: var(--font-title); font-size: var(--fs-faq); font-weight: 700;
  letter-spacing: -0.01em; color: var(--color-ink);
}
.ait-faq__q::-webkit-details-marker { display: none; }
.ait-faq__icon { color: var(--color-secondary-cyan); }
.ait-faq__item[open] .ait-faq__q { color: var(--color-secondary-cyan); }
.ait-faq__a { font-size: var(--fs-md); line-height: 1.65; color: var(--color-ink-60); margin: 0; padding: 0 0 var(--space-5); max-width: 72ch; }
.ait-faq__a a { color: color-mix(in srgb, var(--color-secondary-cyan) 80%, var(--color-ink)); text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================
   11 — CLOSING CTA
   ============================================================= */
.ait-close {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-ink); color: var(--color-on-dark);
  padding: var(--space-8) var(--space-7); text-align: center;
}
.ait-close__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 90% at 20% 8%, oklch(0.80 0.15 205 / 0.34), transparent 66%),
    radial-gradient(42% 90% at 82% 96%, oklch(0.74 0.19 330 / 0.28), transparent 66%);
  animation: nc-hue 11s ease-in-out infinite alternate;
}
.ait-close__in { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.ait-close__title {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem); letter-spacing: -0.025em; line-height: 1.01;
  color: var(--color-on-dark); margin: var(--space-3) 0 0; text-wrap: balance;
}
.ait-close__lead {
  font-size: var(--fs-lead); color: var(--color-on-dark-muted); line-height: 1.6;
  margin: var(--space-4) auto 0; max-width: 56ch;
}
.ait-close__cta { margin-top: var(--space-6); display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ait-close__note { margin: var(--space-4) 0 0; font-size: var(--fs-sm); color: var(--color-ink-25); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1080px) {
  .ait-works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ait-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-5); }
  .ait-glance__item:nth-child(odd) { padding-left: 0; }
  .ait-glance__item:nth-child(even) { padding-right: 0; }
  .ait-glance__item:nth-child(3)::before { display: none; }
}

/* Mandatory mobile override for the hero glow (see the "Background glow
   gradient" rule): desktop's percentage-based blob positions clip away on
   a narrow screen, so this block gives a static fallback wash plus a full
   repositioning of all three blobs, home's own numbers with this page's
   hue substituted in — same two adjustments css/resources.css needed for
   a hero shorter than home's (vh-square sizing, halved alpha). */
@media (max-width: 900px) {
  .ait-hero {
    background:
      radial-gradient(120% 70% at 85% 0%, oklch(0.9 0.12 224 / 0.28), transparent 62%),
      radial-gradient(90% 55% at 10% 35%, oklch(0.9 0.1 336 / 0.19), transparent 58%),
      radial-gradient(80% 50% at 70% 18%, oklch(0.9 0.12 224 / 0.08), transparent 55%),
      var(--color-paper);
  }
  .ait-hero__glow {
    top: -8%; right: -28%; width: 100vh; height: 100vh; opacity: 1;
    background: radial-gradient(
      var(--g-w, 50%) var(--g-h, 50%) at var(--g-x, 50%) var(--g-y, 50%),
      oklch(0.9 0.12 var(--g-h1, 224deg) / 0.45),
      oklch(0.9 0.1 var(--g-h2, 336deg) / 0.22) 42%,
      transparent 70%
    );
  }
  .ait-hero__glow--b {
    top: auto; right: auto;
    bottom: 18%; left: -35%; width: 85vh; height: 85vh;
    background: radial-gradient(
      var(--g-w, 50%) var(--g-h, 50%) at var(--g-x, 50%) var(--g-y, 50%),
      oklch(0.9 0.12 var(--g-h1, 224deg) / 0.28),
      transparent 68%
    );
  }
  .ait-hero__glow--c {
    top: 4%; left: 42%; width: 65vh; height: 65vh;
    background: radial-gradient(
      var(--g-w, 50%) var(--g-h, 50%) at var(--g-x, 50%) var(--g-y, 50%),
      oklch(0.9 0.1 var(--g-h1, 336deg) / 0.16),
      transparent 66%
    );
  }
}

@media (max-width: 980px) {
  .ait-hero__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .ait-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .ait-panel__in { min-height: 0; }
  .ait-probs { grid-template-columns: 1fr; gap: var(--space-3); }
  .ait-vs { grid-template-columns: 1fr; }
  .ait-both { grid-template-columns: 1fr; }
  .ait-both__seam { width: auto; height: 1px; }
  .ait-both__seam span { position: static; margin: 0 auto; }
  .ait-both__half--people { border-top: 1px solid var(--border-ink); }
  .ait-measure { grid-template-columns: 1fr; }
  .ait-charter { max-width: 540px; width: 100%; margin-inline: auto; }
  .ait-fit { grid-template-columns: 1fr; gap: var(--space-3); }
  .ait-stage { grid-template-columns: 112px minmax(0, 1fr); gap: var(--space-4); }
  .ait-incl { padding: var(--space-7) var(--space-5); }
}

@media (max-width: 620px) {
  .ait-section { padding-top: var(--space-6); }
  .ait-section--tight { padding-top: var(--space-5); }
  .ait-section--last { padding-bottom: var(--space-6); }
  .ait-section--ink { padding-bottom: var(--space-5); }
  .ait-section:has(.ait-measure) { padding-bottom: var(--space-5); }
  .ait-h2 { font-size: clamp(1.75rem, 7vw, 2.125rem); margin-top: var(--space-2); }
  .ait-sub { font-size: var(--fs-md); margin-top: var(--space-2); }

  .ait-hero { padding-top: calc(var(--header-height) + var(--space-3)); padding-bottom: 0; }
  .ait-hero__panel { padding: var(--space-5) var(--space-4); border-radius: var(--radius-lg); }
  .ait-with { --ait-with-logo-h: 36px; }
  .ait-hero__title { font-size: clamp(1.875rem, 8.6vw, 2.375rem); margin-top: var(--space-3); }
  .ait-hero__lead { margin-top: var(--space-3); }
  .ait-hero__cta { margin-top: var(--space-5); }
  .ait-hero__cta .btn { width: 100%; }

  /* Compact drawing under the buttons: no objective line, no ruler, shorter
     lanes on one line each, half the gaps. */
  .ait-panel__in { padding: var(--space-3); min-height: 0; }
  .ait-panel__head { margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-3)) 0; padding: 0.625rem var(--space-3); }
  .ait-panel__objective, .ait-ruler { display: none; }
  .ait-chart { --ait-name: 64px; padding: var(--space-3) 0 0; }
  .ait-chart::before { top: 0.5rem; bottom: 0; left: calc(var(--ait-name) + 0.5rem); }
  .ait-lanes { gap: 0.5rem; }
  .ait-lane { gap: 0.5rem; }
  .ait-lane__name { font-size: var(--fs-label-xs); }
  .ait-lane__track { height: 22px; }
  .ait-lane__seg { line-height: 20px; font-size: 0.625rem; letter-spacing: 0.01em; padding-inline: 8px; }
  .ait-panel__foot { margin: var(--space-3) calc(-1 * var(--space-3)) calc(-1 * var(--space-3)); padding: 0.625rem var(--space-3); }
  .ait-panel__foot-text { font-size: 0.75rem; }

  .ait-glance { margin-top: var(--space-5); padding-top: var(--space-4); row-gap: var(--space-4); }
  .ait-glance__item { padding-inline: var(--space-3); }
  .ait-glance__num { font-size: 1.5rem; }
  .ait-glance__label { font-size: var(--fs-sm); }

  .ait-probs, .ait-vs, .ait-both, .ait-time, .ait-measure, .ait-fit, .ait-faq { margin-top: var(--space-4); }
  .ait-prob { padding: var(--space-4); }

  .ait-incl { padding: var(--space-5) var(--space-4); border-radius: var(--radius-lg); margin-top: var(--space-4); }
  .ait-works { grid-template-columns: 1fr; margin-top: var(--space-5); }
  .ait-work { padding: var(--space-4); }

  .ait-vs__side { padding: var(--space-5) var(--space-4); border-radius: var(--radius-lg); }
  .ait-both { border-radius: var(--radius-lg); }
  .ait-both__half { padding: var(--space-5) var(--space-4); }
  .ait-both__foot { padding: var(--space-4); font-size: 0.9375rem; }

  .ait-stage { grid-template-columns: 1fr; gap: var(--space-3); padding: var(--space-4) 0; }
  .ait-stage__when { flex-direction: row; align-items: center; gap: 11px; }
  .ait-stage__title { font-size: 1.25rem; }
  .ait-stage__body { font-size: 0.9375rem; }

  .ait-section--ink .ait-wrap { border-radius: var(--radius-lg); padding: var(--space-6) var(--space-4); }

  .ait-charter__head, .ait-charter__foot { padding-inline: var(--space-4); }
  .ait-charter__body { padding: var(--space-4); }

  .ait-fit__panel { padding: var(--space-5) var(--space-4); border-radius: var(--radius-lg); }

  .ait-close { padding: var(--space-6) var(--space-4); border-radius: var(--radius-lg); }
  .ait-close__lead { font-size: var(--fs-md); margin-top: var(--space-3); }
  .ait-close__cta { margin-top: var(--space-5); }
  .ait-close__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ait-hero__glow, .ait-hero__glow--b, .ait-hero__glow--c, .ait-hero__glow--corner, .ait-hero__wash, .ait-incl__glow, .ait-close__glow { animation: none; }
  .ait-js .ait-lane__seg { animation: none; }
  .ait-js [data-ait-reveal] { opacity: 1; transform: none; transition: none; }
  .ait-work:hover { transform: none; }
}
