/* Final call to action (Manny, 2026-11-15; bones C, after Clay; approved and locked 2026-11-16). The page's last word: a scoreboard reading
   ?? / 100, the headline, the line and the free audit button, centred on navy. cta.js spins the two ? tiles like a
   split-flap board each time the reader arrives, and they land back on ?: the open question is the reader's own
   score. Without motion the tiles stand on ?. */
.cta { background: radial-gradient(90% 70% at 50% 0%, #17507E 0%, #0D2B45 55%, #0A2036 100%); color: #fff; text-align: center; }
.cta-in { max-width: 980px; margin: 0 auto; padding: clamp(72px, 9vw, 128px) clamp(20px, 4vw, 56px); }
.cta-k { margin: 0; font: 700 13px/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }

.cta-board { display: flex; justify-content: center; align-items: center; gap: clamp(6px, 1vw, 12px); margin: clamp(22px, 3vw, 34px) 0 0; }
.cta-t { --w: clamp(58px, 9vw, 112px); position: relative; display: grid; place-items: center; width: var(--w); height: calc(var(--w) * 1.28);
  perspective: 600px; border-radius: 12px; background: #fff; color: var(--navy); font: 800 calc(var(--w) * .92)/1 var(--font-head); letter-spacing: -.02em;
  box-shadow: 0 22px 40px -20px rgba(0,0,0,.65); }
.cta-t::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(13,43,69,.16); z-index: 3; }
.cta-t--q { color: var(--igm-blue); }
.cta-t--fix { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.cta-t--fix::after { background: rgba(0,0,0,.28); }
.cta-sl { padding: 0 clamp(2px, .6vw, 8px); font: 300 clamp(48px, 7vw, 92px)/1 var(--font-head); color: var(--dark-muted); }

/* The split-flap halves cta.js builds inside a ? tile */
.cta-h { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: #fff; backface-visibility: hidden; }
.cta-h b { position: absolute; left: 0; right: 0; height: 200%; display: grid; place-items: center; font: inherit; }
.cta-up { top: 0; border-radius: 12px 12px 0 0; }
.cta-dn { bottom: 0; border-radius: 0 0 12px 12px; }
.cta-dn b { top: -100%; }
.cta-flap { position: absolute; left: 0; right: 0; top: 0; height: 50%; transform-origin: 50% 100%; transform-style: preserve-3d; z-index: 2; }
.cta-flap .cta-h { height: 100%; }
.cta-flap .cta-dn { top: 0; bottom: auto; transform: rotateX(180deg); }

.cta-h2 { margin: clamp(28px, 3.4vw, 40px) auto 0; max-width: 18ch; font: 700 clamp(34px, 4.6vw, 64px)/1.04 var(--font-head); letter-spacing: -.022em; }
.cta-sub { margin: 20px auto 0; max-width: 52ch; font-size: 19px; line-height: 1.5; color: var(--dark-muted); }
.cta-btn { margin-top: 32px; }

/* The sign-off (Manny, 2026-11-16): "inbound" in Bezier Anchor Type, the gallery's IGM dark look on the section's own
   ground (navy glyphs, Coral flash, pale nodes) in the site's heading face, wide across the base; then the follow link. */
.cta-in:has(+ .cta-follow) { padding-bottom: clamp(20px, 3vw, 44px); }
.cta-follow { padding: 0 clamp(16px, 3vw, 40px) clamp(48px, 5vw, 72px); }
.cta-word.bat { --bat-bg: transparent; --bat-stroke: #5E7C99; --bat-node: #B8D4E3; --bat-node-fill: #0D2B45;
  --bat-font: var(--font-head); --bat-weight: 500; --bat-ratio: 5 / 1; max-width: 1200px; margin: 0 auto; }
.cta-li { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font: 700 16px/1 var(--font-head);
  color: var(--dark-text); text-decoration: none; }
.cta-li svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 640px) { .cta-word.bat { --bat-ratio: 2.6 / 1; } } /* a phone: the word takes the full width */
.cta-li:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }
