/* ═══════════════════════════════════════════════════════════════
   css/ai-audit.css — /ai-audit landing page

   Editorial dark-first system: carbon canvas, warm-light interludes,
   pastel opportunity panels, one red. Type is Solina for display and
   Antarctica VAR for UI and body. Motion starting states are applied
   by GSAP only, never here, so a blocked CDN still renders a readable page.
═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Solina";
  src: url("../assets/fonts/Solina.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Antarctica VAR";
  src: url("../assets/fonts/Antarctica-VAR.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

/* ── Tokens ── */
.audit-page {
  --audit-carbon: #040404;
  --audit-deep-moss: #142109;
  --audit-lilac: #BAB8C2;
  --audit-peach: #DEB184;
  --audit-red: #EB001B;
  --audit-red-deep: #C50016;
  --audit-tan: #C3946B;
  --audit-mustard: #DBB871;
  --audit-clay: #9C5E38;
  --audit-umber: #512B12;
  --audit-mauve: #966166;
  --audit-warm-light: #F5F3EF;

  --audit-dark-text: #F7F5F2;
  --audit-dark-muted: rgba(247, 245, 242, 0.68);
  --audit-dark-faint: rgba(247, 245, 242, 0.42);
  --audit-dark-rule: rgba(247, 245, 242, 0.14);
  --audit-dark-lift: rgba(247, 245, 242, 0.045);

  --audit-light-text: #131210;
  --audit-light-muted: rgba(19, 18, 16, 0.68);
  --audit-light-faint: rgba(19, 18, 16, 0.42);
  --audit-light-rule: rgba(19, 18, 16, 0.14);

  --audit-radius-micro: 6px;
  --audit-radius-button: 20px;
  --audit-radius-panel: 24px;
  --audit-radius-stage: 40px;
  --audit-radius-pill: 999px;

  --audit-font-display: "Solina", "Antarctica VAR", Arial, sans-serif;
  --audit-font-ui: "Antarctica VAR", Arial, sans-serif;

  background: var(--audit-carbon);
  color: var(--audit-dark-text);
  font-family: var(--audit-font-ui);
  font-variation-settings: "wght" 400, "wdth" 76;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.audit-container {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

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

/* The shared site stylesheets colour headings and copy by element
   (h1..h6, p) for the main site's dark-only palette. Those element rules
   outrank plain inheritance, so on the light sections and the pastel
   panels they forced cream text onto cream backgrounds. Restoring
   inheritance here lets each section or panel own its own colour.

   :where() keeps this at class-only specificity: enough to outrank the
   shared sheets' bare element selectors, low enough that every rule below
   still wins without needing to be written defensively. */
.audit-page :where(h1, h2, h3, h4, h5, h6, p, li, summary, strong, b, em, small) {
  color: inherit;
}

/* ═══════════════════════════════════════
   TYPE
═══════════════════════════════════════ */
.audit-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--audit-red);
  font-size: 13px;
  font-variation-settings: "wght" 640, "wdth" 68;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.audit-kicker::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: currentColor;
  flex-shrink: 0;
}

/* The hero eyebrow leads into the headline as one sentence, so it carries
   more weight than the section kickers that only label what follows. */
.audit-kicker--hero {
  gap: 16px;
  margin-bottom: 24px;
  font-size: clamp(17px, 1.6vw, 23px);
  font-variation-settings: "wght" 760, "wdth" 74;
  letter-spacing: 0.1em;
}

.audit-kicker--hero::before {
  width: 40px;
  height: 2.5px;
}

.audit-display {
  margin: 0;
  /* Wide enough that the authored line breaks hold and no line wraps to
     an orphan; the breaks come from the markup, not from the box. */
  max-width: 22ch;
  font-family: var(--audit-font-display);
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.04;
}

.audit-display em,
.audit-section-title em {
  font-style: normal;
  color: var(--audit-red);
}

.audit-section-title {
  margin: 0;
  max-width: 17ch;
  font-family: var(--audit-font-display);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 400;
  letter-spacing: -0.013em;
  line-height: 1.08;
}

.audit-lede {
  max-width: 52ch;
  margin: 22px 0 0;
  color: var(--audit-dark-muted);
  font-size: clamp(16px, 1.3vw, 19px);
  font-variation-settings: "wght" 390, "wdth" 75;
  line-height: 1.55;
}

.audit-body {
  max-width: 56ch;
  margin: 18px 0 0;
  font-size: clamp(15px, 1.2vw, 17px);
  font-variation-settings: "wght" 390, "wdth" 75;
  line-height: 1.55;
}

.audit-theme-dark .audit-body { color: var(--audit-dark-muted); }
.audit-theme-light .audit-body { color: var(--audit-light-muted); }

/* Line masks: each headline line clips its inner span for the reveal.

   The mask has to be taller than the line box or it shears the descenders
   off — at line-height 1.04 the tail of a g or y sits below the box the
   mask clips to. The padding opens the bottom of the mask; the matching
   negative margin takes that space back out of the flow, so the reveal
   still hides the word and the headline's leading is unchanged. */
.audit-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}
.audit-line > span { display: inline-block; }

/* ── Hero headline: a justified stack ──
   Every line is set to a different size so all three finish on the same right
   edge, which turns the block itself into the shape. The divisors are the
   measured advance widths of each string in Antarctica VAR at wght 900 /
   wdth 84 with -0.028em tracking, calibrated against the real render, so font-size = block width / advance.
   Solina only ships a 400 weight, so the display face gives way to Antarctica
   here — it is the one family in the pairing that reaches 900.
   Re-measure the divisors if this copy ever changes. */
.audit-headline--stack {
  --stack-width: clamp(292px, 53vw, 748px);
  max-width: none;
  font-family: var(--audit-font-ui);
  letter-spacing: -0.028em;
  line-height: 0.86;
}

.audit-headline--stack .audit-line {
  white-space: nowrap;
  font-variation-settings: "wght" 900, "wdth" 84;
}

.audit-headline--stack .audit-line:nth-of-type(1) { font-size: calc(var(--stack-width) / 7.166); }
.audit-headline--stack .audit-line:nth-of-type(2) { font-size: calc(var(--stack-width) / 11.557); }
.audit-headline--stack .audit-line:nth-of-type(3) { font-size: calc(var(--stack-width) / 3.541); }

/* Per-word masks are built by the motion layer. Same trick, inline. */
.audit-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}
.audit-word { display: inline-block; }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.audit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 28px;
  border: 1.5px solid transparent;
  border-radius: var(--audit-radius-pill);
  cursor: pointer;
  font-family: var(--audit-font-ui);
  font-size: 15px;
  font-variation-settings: "wght" 600, "wdth" 72;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.16s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.audit-button:active { transform: scale(0.97); }
.audit-button--large { min-height: 56px; padding: 14px 36px; font-size: 16px; }

.audit-button--red {
  background: var(--audit-red);
  color: #fff;
}
.audit-button--red:hover {
  background: var(--audit-red-deep);
  box-shadow: 0 10px 32px rgba(235, 0, 27, 0.28);
}

.audit-button--dark {
  background: var(--audit-carbon);
  color: var(--audit-dark-text);
}
.audit-button--dark:hover { background: #1c1a18; }

.audit-button--light {
  background: var(--audit-warm-light);
  color: var(--audit-light-text);
}
.audit-button--light:hover { background: #fff; }

:focus-visible {
  outline: 2px solid var(--audit-red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════
   HEADER · logo + home link only
═══════════════════════════════════════ */
/* The header floats over the hero instead of sitting above it in flow, so
   the hero can own a clean 100svh without the header stealing 78px of it. */
.audit-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding-top: 18px;
  pointer-events: none;
}

.audit-header-inner {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--audit-dark-rule);
  border-radius: var(--audit-radius-pill);
  padding: 8px 12px 8px 24px;
  background: rgba(4, 4, 4, 0.72);
  backdrop-filter: blur(10px);
  color: var(--audit-dark-text);
  pointer-events: auto;
}

.audit-logo-link,
.audit-logo-img {
  display: block;
  width: auto;
  height: 23px;
}

.audit-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 20px;
  border: 1px solid var(--audit-dark-rule);
  border-radius: var(--audit-radius-pill);
  color: var(--audit-dark-muted);
  font-size: 14px;
  font-variation-settings: "wght" 480, "wdth" 74;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.audit-home-link:hover {
  color: var(--audit-dark-text);
  border-color: rgba(247, 245, 242, 0.4);
}

/* ═══════════════════════════════════════
   HERO · living ambient gradient
═══════════════════════════════════════ */
/* Every section is at least one screen tall. The hero stacks: the reading
   block takes the free space (auto block margins centre it), and the four
   assurances settle against the bottom edge. */
.audit-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(96px, 12vh, 150px) 0 clamp(28px, 4vh, 44px);
  background: var(--audit-carbon);
}

/* The aurora is four oversized blurred blobs in the brand's warm range.
   GSAP drifts and re-tints them slowly; CSS alone keeps them breathing
   through a keyframe fallback so the hero is never a flat black slab.

   The layer only overhangs the hero enough to hide the blur's soft edge.
   An earlier, much larger overhang combined with percentage offsets put
   three of the four blobs almost entirely outside the visible frame. */
.audit-aurora {
  position: absolute;
  inset: -8%;
  z-index: 0;
  filter: blur(80px) saturate(125%);
  transform: translateZ(0);
}

/* Each blob is placed by its CENTRE (left/top plus a half-size negative
   margin) so its position is independent of its own diameter. Positioning
   via margin rather than translate keeps the transform channel free for
   the breathing keyframe and for GSAP's drift. */
.audit-aurora-blob {
  position: absolute;
  display: block;
  width: var(--size);
  height: var(--size);
  left: var(--x);
  top: var(--y);
  margin-left: calc(var(--size) / -2);
  margin-top: calc(var(--size) / -2);
  border-radius: 50%;
  /* Screen blending is what makes these read against a near-black canvas;
     painted normally at this opacity they vanish into the carbon. */
  mix-blend-mode: screen;
  opacity: 0.8;
  will-change: transform;
  /* Fast enough to be noticed by someone who lands and scrolls straight
     away; the earlier 11s cycle was invisible unless you waited. */
  animation: audit-breathe 7.7s ease-in-out infinite alternate;
}

.audit-aurora-blob--moss {
  --size: 62vw; --x: 16%; --y: 30%;
  background: radial-gradient(circle at 45% 45%, #2C5215 0%, #16290C 46%, transparent 70%);
}
.audit-aurora-blob--red {
  --size: 54vw; --x: 86%; --y: 16%;
  background: radial-gradient(circle at 50% 50%, rgba(235, 0, 27, 0.95) 0%, rgba(150, 10, 24, 0.5) 44%, transparent 72%);
  animation-delay: -2.4s;
}
.audit-aurora-blob--peach {
  --size: 46vw; --x: 78%; --y: 86%;
  background: radial-gradient(circle at 50% 50%, rgba(222, 177, 132, 0.72) 0%, rgba(156, 94, 56, 0.42) 50%, transparent 74%);
  animation-delay: -4.8s;
}
.audit-aurora-blob--umber {
  --size: 52vw; --x: 30%; --y: 96%;
  background: radial-gradient(circle at 50% 50%, rgba(150, 80, 32, 0.78) 0%, rgba(81, 43, 18, 0.36) 50%, transparent 74%);
  animation-delay: -6.4s;
}

@keyframes audit-breathe {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(2.5vw, -2vw, 0) scale(1.08); }
}

/* A running CSS animation outranks inline styles in the cascade, so while
   this keyframe was on it silently overrode every transform GSAP wrote:
   the drift and the pointer parallax were both computed and both thrown
   away. The keyframe is the no-JS breath only; once the motion layer is
   up it hands the transform channel over. */
.audit-motion-enhanced .audit-aurora-blob { animation: none; }

/* Colour belongs at the edges. This scrim keeps a dependable dark base under
   the reading column so headline contrast never depends on where a blob has
   drifted to. */
.audit-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(4, 4, 4, 0.9) 0%, rgba(4, 4, 4, 0.72) 30%, rgba(4, 4, 4, 0.18) 58%, rgba(4, 4, 4, 0) 100%),
    linear-gradient(to bottom, rgba(4, 4, 4, 0.5) 0%, transparent 20%, transparent 74%, rgba(4, 4, 4, 0.55) 100%);
  pointer-events: none;
}

/* Fine grain keeps the blur from banding. Inline SVG turbulence, no image. */
.audit-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.audit-hero-inner {
  position: relative;
  z-index: 3;
  margin-block: auto;
}

.audit-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 34px;
}

.audit-offer-marker {
  margin: 0;
  color: var(--audit-dark-muted);
  font-size: 14px;
}
.audit-offer-marker s { opacity: 0.75; text-decoration-thickness: 1px; }

/* Objection breakers close the hero, visible before any scrolling.
   Four, not nine: one credibility claim, two risk removals, one takeaway. */
.audit-assurances {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 3;
  margin: clamp(40px, 5vh, 72px) auto 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--audit-dark-rule);
  list-style: none;
}

.audit-assurances li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--audit-dark-muted);
  font-size: 14px;
  font-variation-settings: "wght" 450, "wdth" 73;
  line-height: 1.4;
}

.audit-assurances svg {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: var(--audit-red);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   SECTION SHELLS
═══════════════════════════════════════ */
.audit-theme-dark {
  background: var(--audit-carbon);
  color: var(--audit-dark-text);
}
.audit-theme-light {
  background: var(--audit-warm-light);
  color: var(--audit-light-text);
}

/* One screen minimum per section, content centred in it. Sections with
   more content than a screen simply grow; nothing is ever short enough to
   leave a strip of the next section peeking in. */
.audit-process,
.audit-deliverables,
.audit-faq {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(68px, 7.6vw, 118px) 0;
}

.audit-panel {
  border-radius: var(--audit-radius-panel);
}

/* ═══════════════════════════════════════
   PROCESS · section 2, straight to the point
═══════════════════════════════════════ */
.audit-process-intro { max-width: 640px; margin-bottom: 48px; }

.audit-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* No min-height here. Growing the cards with the viewport only moved the
   section's slack inside the card, as a 90px hole between the index rule
   and the title, which is a worse place for it to sit. */
.audit-step {
  padding: 28px;
  border: 1px solid var(--audit-dark-rule);
  background: var(--audit-dark-lift);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.audit-step:hover { border-color: rgba(247, 245, 242, 0.3); }

.audit-step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.audit-step-index {
  color: var(--audit-red);
  font-size: 12px;
  font-variation-settings: "wght" 640, "wdth" 66;
  letter-spacing: 0.14em;
}

/* Thin progress track; GSAP fills it as the card enters. */
.audit-step-track {
  flex: 1;
  height: 1.5px;
  background: var(--audit-dark-rule);
  overflow: hidden;
}
.audit-step-track i {
  display: block;
  height: 100%;
  background: var(--audit-red);
  transform-origin: left center;
}

.audit-step h3 {
  margin: 0 0 12px;
  font-family: var(--audit-font-display);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.16;
}

.audit-step p {
  margin: 0;
  color: var(--audit-dark-muted);
  font-size: 15px;
  line-height: 1.5;
}

.audit-process-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 44px;
}

/* ═══════════════════════════════════════
   AI APPLICATIONS · a horizontal collection

   Two layouts from one markup. The base is a real horizontal scroller,
   which is what touch and a JS-less page get, and what every card is
   still reachable in. On a fine pointer the motion layer adds
   .audit-solutions--live and the same slots become a scrubbed 3D track:
   the section grows a scroll runway, the viewport sticks, and the track
   walks the cards past the reader.
═══════════════════════════════════════ */
.audit-solutions {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;

  /* The step vector for the 3D track. The motion layer reads these back
     rather than keeping its own copy, so the slot transforms below and
     the scrub can never drift apart.

     Depth is the number that matters. Each card sweeps a z range of
     (count - 1) x step-z in both directions, so with eight cards the far
     end sits at 1190px. Any deeper and a card crosses the 2000px
     perspective plane, where its scale runs to infinity and it paints a
     multi-thousand-pixel slab. */
  --step-x: 300px;
  --step-y: -58px;
  --step-z: -120px;
  /* Read back by the dialog morph, so the ghost departs the card at the
     angle the card is actually sitting at. */
  --card-tilt: -38deg;
}

/* Runway: one screen to settle on, then a step per card, then the
   lead-out the track runs past the last card so the frame is empty, then
   the hold where the closing statement stands on its own and goes.

   count + 3.8 is (count - 1) card steps + LEAD_OUT 1.6 + OUTRO_HOLD 3.2,
   and the motion layer derives the same number from those constants. */
.audit-solutions--live {
  min-height: calc(100svh + (var(--solution-count) + 3.8) * 28vh);
}

.audit-solutions-sticky {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(26px, 4vh, 52px);
  min-height: 100svh;
  padding: clamp(68px, 7.6vw, 118px) 0;
  overflow: hidden;
}

.audit-solutions--live .audit-solutions-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 0;
  justify-content: flex-start;
  padding-top: clamp(96px, 13vh, 150px);
}

/* The head floats over the 3D scene, so it must not eat card clicks.

   No max-width here. This element carries .audit-container, whose
   margin-inline:auto centres whatever width it ends up with, so capping
   it at 640px centred a narrow box and pushed the title a long way right
   of the container edge every other section starts at. The measure
   belongs on the children. */
.audit-solutions-head {
  position: relative;
  z-index: 2;
}
.audit-solutions-head .audit-body { max-width: 52ch; }
.audit-solutions--live .audit-solutions-head { pointer-events: none; }

.audit-surfer {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  padding: 10px clamp(16px, 4vw, 48px) 26px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
/* Slots become the flex items directly, so the same markup works flat. */
.audit-surfer-track { display: contents; }
.audit-surfer-slot { flex: 0 0 auto; scroll-snap-align: center; }

.audit-solutions--live .audit-surfer {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0;
  overflow: hidden;
  /* Snap has to be switched off explicitly. overflow:hidden still keeps
     a scroll container alive, so the base layer's mandatory snap kept
     pulling scrollLeft onto a card and sliding the whole track sideways. */
  scroll-snap-type: none;
  perspective: 2000px;
  perspective-origin: 10% 10%;
}
.audit-solutions--live .audit-surfer-slot { scroll-snap-align: none; }
.audit-solutions--live .audit-surfer-track {
  display: block;
  position: absolute;
  left: 50%;
  /* Cards hang down and right from this origin, so a taller card needs
     it higher or the front one runs off the bottom of the screen. */
  top: 36%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}
.audit-solutions--live .audit-surfer-slot {
  position: absolute;
  top: 0;
  left: 0;
  --tilt-now: var(--card-tilt);
  --lift-now: 0px;
  transform:
    translate3d(
      calc(var(--i) * var(--step-x)),
      calc(var(--i) * var(--step-y)),
      calc(var(--i) * var(--step-z) + var(--lift-now)))
    rotateY(var(--tilt-now));
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hover squares the card up to the viewer and brings it forward, which
   is the only way the title is properly readable on a plane turned 38
   degrees away. Forward, not just rotated: at this angle a squared-up
   card would otherwise be clipped by its neighbour. */
.audit-solutions--live .audit-surfer-slot:hover,
.audit-solutions--live .audit-surfer-slot:focus-within {
  --tilt-now: 0deg;
  --lift-now: 90px;
}

.audit-surfer-hint {
  position: relative;
  z-index: 2;
  margin: 0;
  padding-inline: clamp(16px, 4vw, 48px);
  color: var(--audit-dark-faint);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.audit-solutions--live .audit-surfer-hint {
  position: absolute;
  right: clamp(20px, 3vw, 44px);
  bottom: clamp(20px, 3vh, 40px);
  padding: 0;
  pointer-events: none;
}

/* ── The closing statement ──
   The last thing the collection says, in the place the cards were: these
   were examples, not the boundary. In the flat scroller it is simply the
   final item you reach. On the live track it takes the whole stage once
   the cards have gone, and the scroll carries it away again. */
.audit-surfer-outro {
  flex: 0 0 auto;
  display: grid;
  align-items: center;
  width: min(420px, 78vw);
  scroll-snap-align: center;
}
.audit-solutions--live .audit-surfer-outro {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  width: auto;
  padding: 0 clamp(24px, 6vw, 110px);
  pointer-events: none;
  /* The motion layer owns this from the first frame. Before it runs, the
     statement must not sit on top of the cards. */
  opacity: 0;
}
.audit-surfer-outro-inner {
  max-width: 720px;
  text-align: center;
  will-change: transform, opacity, filter;
}
.audit-solutions--live .audit-surfer-outro-inner {
  transform-origin: 50% 50%;
}
.audit-surfer-outro-inner .audit-kicker {
  justify-content: center;
  margin-bottom: 18px;
}
.audit-surfer-outro-title {
  margin: 0 0 20px;
  font-family: var(--audit-font-display);
  font-size: clamp(27px, 3.3vw, 44px);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.08;
  color: var(--audit-dark-text);
}
.audit-surfer-outro-body {
  margin: 0 auto;
  max-width: 54ch;
  color: var(--audit-dark-muted);
  font-size: clamp(14.5px, 1.15vw, 16.5px);
  line-height: 1.58;
}

/* ── The card ── */
.audit-solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 300px;
  height: 470px;
  padding: 0;
  /* A glass rim: a hairline that catches light at the top edge and
     falls away down the sides, which is what reads as a pane rather
     than a printed panel. */
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top-color: rgba(255, 255, 255, 0.3);
  /* Rounded corners are the one change asked for against the reference. */
  border-radius: var(--audit-radius-panel);
  background: transparent;
  color: var(--audit-dark-text);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  font-family: var(--audit-font-ui);
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  filter: brightness(0.8);
  transition: filter 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.audit-surfer-slot:hover .audit-solution-card,
.audit-surfer-slot:focus-within .audit-solution-card,
.audit-solution-card:hover,
.audit-solution-card:focus-visible {
  filter: brightness(1.06);
  border-color: rgba(255, 255, 255, 0.34);
  border-top-color: rgba(255, 255, 255, 0.52);
  box-shadow:
    0 42px 96px rgba(0, 0, 0, 0.66),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* A specular sheen raked across the pane. It brightens on hover, which
   is what sells the surface as glass catching the light as it turns. */
.audit-solution-sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(
    128deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.04) 22%,
    transparent 46%,
    transparent 100%);
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.audit-surfer-slot:hover .audit-solution-sheen,
.audit-surfer-slot:focus-within .audit-solution-sheen { opacity: 1; }

/* The cover is the photograph. Its gradient stays underneath as the
   ground the image sits on, so a card that has not loaded yet, or never
   loads, is still a finished-looking card rather than a hole. */
.audit-solution-cover {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(155deg, var(--tone-a) 0%, var(--tone-b) 100%);
}
.audit-solution-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The art carries the mood; the icon has to carry the meaning. An
   abstract image cannot say "customer response and follow-up" on its
   own, so the glyph sits above it as the card's label rather than as
   its illustration. Top-left, where the art is composed to stay quiet. */
.audit-solution-glyph {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(4, 4, 4, 0.42);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.94);
}
.audit-solution-glyph svg {
  width: 22px;
  height: 22px;
}
.audit-solution-glyph svg .thin { stroke-width: 2.5; opacity: 0.72; }

/* Scrim over the top corner. It seats the icon badge against whatever
   the art is doing there, and it covers a habit of the image model:
   asked to keep that corner quiet, it kept drawing a small line mark
   into it, which read as a stray logo next to the real badge. */
.audit-solution-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 34%;
  border-radius: inherit;
  background: linear-gradient(to bottom, rgba(4, 4, 4, 0.62) 0%, rgba(4, 4, 4, 0.22) 46%, transparent 100%);
}

/* A softer floor under the frosted plate, so the plate has something to
   sit on instead of floating on whatever the art happens to be doing. */
.audit-solution-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(4, 4, 4, 0.78) 0%, rgba(4, 4, 4, 0.3) 52%, transparent 100%);
}

.audit-solution-meta {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 12px 12px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(10, 9, 8, 0.42);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}
.audit-surfer-slot:hover .audit-solution-meta,
.audit-surfer-slot:focus-within .audit-solution-meta {
  background: rgba(10, 9, 8, 0.56);
  border-color: rgba(255, 255, 255, 0.24);
}
.audit-solution-index {
  display: block;
  margin-bottom: 10px;
  color: var(--audit-red);
  font-size: 12px;
  font-variation-settings: "wght" 640, "wdth" 66;
  letter-spacing: 0.14em;
}
.audit-solution-name {
  display: block;
  font-family: var(--audit-font-display);
  font-size: 24px;
  letter-spacing: -0.012em;
  line-height: 1.14;
  color: #fff;
}

.audit-solution-card--lilac   { --tone-a: #8E8C9C; --tone-b: #2E2D36; }
.audit-solution-card--peach   { --tone-a: #C88F5D; --tone-b: #3A2413; }
.audit-solution-card--mustard { --tone-a: #C7A053; --tone-b: #3A2C0E; }
.audit-solution-card--tan     { --tone-a: #B0805A; --tone-b: #331F11; }
.audit-solution-card--clay    { --tone-a: #96562F; --tone-b: #2A1409; }
.audit-solution-card--mauve   { --tone-a: #8A575C; --tone-b: #2B1619; }
.audit-solution-card--moss    { --tone-a: #3E6B21; --tone-b: #101E08; }
.audit-solution-card--umber   { --tone-a: #7A4520; --tone-b: #21100600; }
.audit-solution-card--umber   { --tone-a: #7A4520; --tone-b: #211006; }

/* Cool graphite for the operating layer: the one card that is not a
   single application but the ground the others stand on. */
.audit-solution-card--graphite { --tone-a: #9AA0A6; --tone-b: #1C1E21; }
.audit-solution-card--plum     { --tone-a: #8E6478; --tone-b: #291A20; }

/* ── The section's own living gradient ──
   Same four-blob field as the hero, tuned down so it reads as depth
   behind the cards rather than competing with them, and with a scrim
   under the reading column so the head keeps its contrast wherever the
   colour has drifted to. */
.audit-aurora--solutions {
  filter: blur(90px) saturate(115%);
}
.audit-aurora--solutions .audit-aurora-blob { opacity: 0.42; }
.audit-aurora--solutions .audit-aurora-blob--umber { --size: 58vw; --x: 12%; --y: 24%; }
.audit-aurora--solutions .audit-aurora-blob--red   { --size: 46vw; --x: 92%; --y: 72%; }
.audit-aurora--solutions .audit-aurora-blob--moss  { --size: 52vw; --x: 62%; --y: 8%; }
.audit-aurora--solutions .audit-aurora-blob--peach { --size: 44vw; --x: 34%; --y: 96%; }

.audit-solutions-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(105deg, rgba(4, 4, 4, 0.92) 0%, rgba(4, 4, 4, 0.7) 34%, rgba(4, 4, 4, 0.15) 66%, rgba(4, 4, 4, 0) 100%),
    linear-gradient(to bottom, rgba(4, 4, 4, 0.55) 0%, transparent 26%, transparent 72%, rgba(4, 4, 4, 0.6) 100%);
  pointer-events: none;
}

/* The section that takes over from the collection is pulled up faster
   than the scroll and passes over the top of it, so it needs its own
   layer and an opaque ground of its own. */
.audit-handoff-target {
  position: relative;
  z-index: 2;
  background: var(--audit-carbon);
  will-change: transform;
}

/* ── Card to dialog, as one card turning over ──

   A ghost carries the geometry: it starts as the card, at the card's own
   place and angle in the 3D track, and lands as the dialog. Only the
   ghost is transformed, so no text is ever scaled.

   Two elements, because the two jobs need different origins. The outer
   one translates and scales from a 0 0 origin, which is what makes the
   rect-to-rect arithmetic trivial. The inner one turns the card over
   about its own centre, which is the only origin a flip can have. The
   faces hide their own backs, so the front is the cover art and the back
   is the same art dimmed to the dialog's own ground: the card opens and
   the reading side is what was on the other side of it. */
.solution-morph {
  position: fixed;
  z-index: 56;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  border-radius: var(--audit-radius-panel);
  pointer-events: none;
  will-change: transform, opacity;
}
.solution-morph-flip {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  will-change: transform;
}
.solution-morph-face {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: #0A0908;
  background-size: cover;
  background-position: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.solution-morph-face--back {
  transform: rotateY(180deg);
  border: 1px solid var(--audit-dark-rule);
}

/* ── The detail dialog ── */
.solution-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 4, 4, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  /* Same stepped visibility as the wizard: an eased visibility keeps the
     dialog un-focusable for the whole length of the fade. */
  transition: opacity 0.24s ease, visibility 0s linear 0.24s;
}
.solution-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.24s ease, visibility 0s linear 0s;
}

.solution-modal {
  position: relative;
  width: min(100%, 720px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  border: 1px solid var(--audit-dark-rule);
  border-radius: var(--audit-radius-panel);
  padding: clamp(28px, 4vw, 48px);
  /* The reverse of the card the reader just turned over. The art is the
     same file the cover uses, veiled hard enough that body copy holds its
     contrast and left brightest in the top corner, where nothing but the
     close button sits. background-attachment stays at its default, so the
     art holds still while the content scrolls over it. */
  background-color: #0A0908;
  background-image:
    radial-gradient(132% 100% at 78% 2%,
      rgba(6, 5, 5, 0.5) 0%,
      rgba(6, 5, 5, 0.88) 44%,
      rgba(6, 5, 5, 0.975) 100%),
    var(--solution-art, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  color: var(--audit-dark-text);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.solution-overlay.open .solution-modal { transform: none; }

/* The dialog takes focus on open so a screen reader lands on its title.
   That is a programmatic focus, not a keyboard arrival, so it must not
   draw the red ring: the ring is how this page marks where the Tab key
   actually is. */
.solution-modal:focus,
.solution-modal:focus-visible { outline: none; }

.solution-close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--audit-dark-rule);
  border-radius: 50%;
  background: transparent;
  color: var(--audit-dark-muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.solution-close:hover { color: var(--audit-dark-text); border-color: rgba(247, 245, 242, 0.42); }

.audit-solution-detail-tag {
  margin: 0 0 14px;
  padding-right: 56px;
  color: var(--audit-red);
  font-size: 12px;
  font-variation-settings: "wght" 640, "wdth" 68;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.audit-solution-detail-title {
  margin: 0 0 16px;
  max-width: 22ch;
  font-family: var(--audit-font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: -0.014em;
  line-height: 1.12;
}
.audit-solution-detail-lead {
  margin: 0 0 30px;
  max-width: 56ch;
  color: var(--audit-dark-muted);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ── What it is worth ──
   Two figures that count up when the card opens, because a number that
   arrives is read and a number that is simply present is skimmed. The
   qualifier is not fine print: these are estimates and the panel says so
   in the same breath, which is the only way a number like this earns any
   trust at all. */
.audit-solution-impact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  margin: 0 0 30px;
  padding: 20px 22px 18px;
  border: 1px solid rgba(247, 245, 242, 0.14);
  border-radius: 18px;
  background: rgba(247, 245, 242, 0.045);
}
.audit-solution-metric { display: block; }
.audit-solution-metric-value {
  display: block;
  margin-bottom: 4px;
  color: var(--audit-dark-text);
  font-family: var(--audit-font-display);
  font-size: clamp(30px, 3.6vw, 42px);
  letter-spacing: -0.022em;
  line-height: 1;
  /* Figures have to hold their column while they count, or the whole
     panel jitters on every frame. */
  font-variant-numeric: tabular-nums;
}
.audit-solution-metric:nth-child(2) .audit-solution-metric-value { color: var(--audit-red); }
.audit-solution-metric-label {
  display: block;
  color: var(--audit-dark-faint);
  font-size: 11px;
  font-variation-settings: "wght" 620, "wdth" 70;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.audit-solution-impact-note {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  padding-top: 13px;
  border-top: 1px solid rgba(247, 245, 242, 0.1);
  color: var(--audit-dark-faint);
  font-size: 11.5px;
  line-height: 1.45;
}

.audit-solution-detail-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 34px;
  padding-top: 26px;
  border-top: 1px solid var(--audit-dark-rule);
}
.audit-solution-detail-cols h4 {
  margin: 0 0 14px;
  color: var(--audit-dark-faint);
  font-size: 11.5px;
  font-variation-settings: "wght" 640, "wdth" 68;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.audit-solution-detail-cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.audit-solution-detail-cols li {
  position: relative;
  padding-left: 20px;
  color: var(--audit-dark-muted);
  font-size: 14.5px;
  line-height: 1.45;
}
.audit-solution-detail-cols li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--audit-red);
}

.solution-modal-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--audit-dark-rule);
}

/* ═══════════════════════════════════════
   DELIVERABLES · dark, priority map
═══════════════════════════════════════ */
.audit-deliverables-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}

.audit-deliverable-list {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.audit-deliverable-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--audit-dark-rule);
  color: var(--audit-dark-muted);
  font-size: 15.5px;
  line-height: 1.45;
}
.audit-deliverable-list li:last-child { border-bottom: 1px solid var(--audit-dark-rule); }
.audit-deliverable-list span {
  color: var(--audit-red);
  font-size: 12px;
  font-variation-settings: "wght" 640, "wdth" 66;
  letter-spacing: 0.12em;
}

/* ── The priority map ──

   The answer to "where do we start", drawn rather than asserted. Impact
   up, ease across, one plotted point per candidate process, and the
   quadrant worth moving on first is lit.

   Every point carries its own reading and drops its own guides to both
   axes when you reach it, so the chart explains itself under the cursor
   instead of in a legend. The dimming and the readouts are applied to
   the point's children, never to the point itself: the motion layer pops
   each point in with an inline opacity, and an inline value would beat
   any hover rule written against the same element. */
.audit-priority-map {
  position: relative;
  display: block;
  margin: 0;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--audit-dark-rule);
  border-radius: var(--audit-radius-panel);
  background:
    radial-gradient(128% 110% at 50% -12%, rgba(247, 245, 242, 0.07) 0%, transparent 64%),
    var(--audit-dark-lift);
  overflow: hidden;
}

.audit-priority-plot {
  position: relative;
  height: clamp(340px, 46vh, 470px);
  margin: 10px 6px 40px 30px;
}

/* The field is the chart itself: two axes as solid hairlines, a faint
   lattice inside them, and a tick scale outside each axis. */
.audit-priority-field {
  position: absolute;
  inset: 0;
  border-left: 1px solid rgba(247, 245, 242, 0.24);
  border-bottom: 1px solid rgba(247, 245, 242, 0.24);
  background-image:
    linear-gradient(rgba(247, 245, 242, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 245, 242, 0.05) 1px, transparent 1px);
  background-size: 20% 20%;
  background-position: 0 100%;
}
.audit-priority-field::before,
.audit-priority-field::after {
  content: "";
  position: absolute;
}
.audit-priority-field::before {
  top: 0;
  bottom: 0;
  left: -6px;
  width: 5px;
  background: repeating-linear-gradient(to bottom, rgba(247, 245, 242, 0.3) 0 1px, transparent 1px 10%);
}
.audit-priority-field::after {
  left: 0;
  right: 0;
  bottom: -6px;
  height: 5px;
  background: repeating-linear-gradient(to right, rgba(247, 245, 242, 0.3) 0 1px, transparent 1px 10%);
}

/* High impact and easy to build: the corner the first move comes from. */
.audit-priority-sweet {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 44%;
  border-left: 1px dashed rgba(235, 0, 27, 0.34);
  border-bottom: 1px dashed rgba(235, 0, 27, 0.34);
  border-bottom-left-radius: var(--audit-radius-micro);
  background: radial-gradient(126% 132% at 90% 4%,
    rgba(235, 0, 27, 0.2) 0%,
    rgba(235, 0, 27, 0.055) 46%,
    transparent 78%);
  pointer-events: none;
}

/* A light the panel carries under the cursor. The motion layer writes
   --px/--py; without it the highlight simply never shows. */
.audit-priority-sheen {
  position: absolute;
  inset: -30%;
  background: radial-gradient(220px 220px at var(--px, 50%) var(--py, 50%),
    rgba(247, 245, 242, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.audit-priority-map:hover .audit-priority-sheen { opacity: 1; }

.audit-priority-axis {
  position: absolute;
  color: var(--audit-dark-faint);
  font-size: 10.5px;
  font-variation-settings: "wght" 620, "wdth" 70;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}
.audit-priority-axis--y {
  left: -16px;
  bottom: 0;
  transform: rotate(-90deg);
  transform-origin: 0 100%;
}
.audit-priority-axis--x {
  left: 0;
  bottom: -28px;
}

/* The quadrant's own label, kept to a chip. It used to carry the whole
   recommendation and was large enough to sit on top of the point it was
   recommending; that sentence belongs to the point's reading instead. */
.audit-priority-callout {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  padding: 9px 13px 10px;
  border-radius: var(--audit-radius-micro);
  background: var(--audit-red);
  color: #fff;
  text-align: right;
  white-space: nowrap;
  box-shadow: 0 16px 38px rgba(235, 0, 27, 0.26);
  pointer-events: none;
}
.audit-priority-callout small {
  display: block;
  margin-bottom: 3px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.86;
}
.audit-priority-callout strong {
  font-size: 12.5px;
  font-variation-settings: "wght" 540, "wdth" 74;
  line-height: 1.2;
}

/* Each plotted process is a full-size overlay carrying one anchor and
   its two guides. The overlay is what lets a guide measure itself in
   percentages of the plot; the anchor stays a zero-size point so the
   entrance can scale it about the coordinate it marks. */
.audit-priority-marker {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.audit-priority-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: 0;
  height: 0;
  pointer-events: auto;
  cursor: default;
  outline: none;
}

.audit-priority-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border-radius: 50%;
  background: var(--tone);
  transition: opacity 0.3s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.audit-priority-dot::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid var(--tone);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.55);
  transition: opacity 0.34s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.audit-priority-tag {
  position: absolute;
  left: 0;
  top: 13px;
  transform: translateX(-50%);
  padding: 4px 11px 5px;
  border: 1px solid var(--audit-dark-rule);
  border-radius: var(--audit-radius-pill);
  background: rgba(4, 4, 4, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--audit-dark-muted);
  font-size: 12px;
  white-space: nowrap;
  transition: opacity 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.audit-priority-readout {
  position: absolute;
  left: 0;
  top: 60px;
  width: 194px;
  transform: translate(-50%, -8px);
  padding: 9px 13px 10px;
  border: 1px solid rgba(247, 245, 242, 0.16);
  border-radius: 14px;
  background: rgba(6, 5, 5, 0.86);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  color: rgba(247, 245, 242, 0.9);
  font-size: 12px;
  line-height: 1.38;
  text-align: center;
  text-wrap: balance;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Guides read their coordinate off the marker, so they always reach the
   axis however the plot is sized. */
.audit-priority-guide {
  position: absolute;
  z-index: 1;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.audit-priority-guide--drop {
  left: var(--x);
  top: var(--y);
  width: 1px;
  height: calc(100% - var(--y));
  transform: scaleY(0);
  transform-origin: 50% 0;
  background: linear-gradient(to bottom, var(--tone), rgba(247, 245, 242, 0.08));
}
.audit-priority-guide--run {
  left: 0;
  top: var(--y);
  width: var(--x);
  height: 1px;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  background: linear-gradient(to left, var(--tone), rgba(247, 245, 242, 0.08));
}

/* Reaching a point: it grows a ring, its label sharpens, its reading
   appears, its guides run out to both axes, and the rest of the plot
   steps back so one row of the chart is being read at a time. */
.audit-priority-plot:hover .audit-priority-dot,
.audit-priority-plot:hover .audit-priority-tag { opacity: 0.32; }

.audit-priority-node:hover .audit-priority-dot,
.audit-priority-node:focus-visible .audit-priority-dot,
.audit-priority-node:hover .audit-priority-tag,
.audit-priority-node:focus-visible .audit-priority-tag { opacity: 1; }

.audit-priority-node:hover .audit-priority-dot,
.audit-priority-node:focus-visible .audit-priority-dot { transform: scale(1.28); }

.audit-priority-node:hover .audit-priority-dot::after,
.audit-priority-node:focus-visible .audit-priority-dot::after { opacity: 0.8; transform: scale(1); }

.audit-priority-node:hover .audit-priority-tag,
.audit-priority-node:focus-visible .audit-priority-tag {
  color: var(--audit-dark-text);
  border-color: var(--tone);
  transform: translateX(-50%) translateY(3px);
}

.audit-priority-node:hover .audit-priority-readout,
.audit-priority-node:focus-visible .audit-priority-readout {
  opacity: 1;
  transform: translate(-50%, 0);
}

.audit-priority-node:hover ~ .audit-priority-guide--drop,
.audit-priority-node:focus-visible ~ .audit-priority-guide--drop { transform: scaleY(1); }
.audit-priority-node:hover ~ .audit-priority-guide--run,
.audit-priority-node:focus-visible ~ .audit-priority-guide--run { transform: scaleX(1); }

.audit-priority-node:focus-visible .audit-priority-dot {
  box-shadow: 0 0 0 2px var(--audit-carbon), 0 0 0 4px var(--audit-red);
}

/* The recommended first move is marked before anyone touches anything. */
.audit-priority-node--lead .audit-priority-dot {
  width: 17px;
  height: 17px;
  margin: -8.5px 0 0 -8.5px;
}
.audit-priority-node--lead .audit-priority-dot::after {
  opacity: 0.65;
  transform: scale(1);
  animation: audit-priority-pulse 2.9s ease-out infinite;
}
.audit-priority-node--lead .audit-priority-tag {
  color: var(--audit-dark-text);
  border-color: rgba(235, 0, 27, 0.5);
}

@keyframes audit-priority-pulse {
  0%   { transform: scale(0.85); opacity: 0.75; }
  72%  { transform: scale(1.85); opacity: 0; }
  100% { transform: scale(1.85); opacity: 0; }
}

.audit-priority-caption {
  margin: 0;
  color: var(--audit-dark-faint);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════
   FAQ
═══════════════════════════════════════ */
.audit-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: start;
}

.audit-faq-intro { position: sticky; top: 32px; }
.audit-faq-intro .audit-button { margin-top: 28px; }

.audit-faq-list details {
  border-top: 1px solid var(--audit-light-rule);
}
.audit-faq-list details:last-child { border-bottom: 1px solid var(--audit-light-rule); }

.audit-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 2.8vh, 34px) 0;
  cursor: pointer;
  font-size: clamp(16px, 1.35vw, 18px);
  font-variation-settings: "wght" 500, "wdth" 76;
  list-style: none;
  transition: color 0.2s ease;
}
.audit-faq-list summary:hover { color: var(--audit-red); }
.audit-faq-list summary::-webkit-details-marker { display: none; }
.audit-faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--audit-light-rule);
  border-radius: 50%;
  font-size: 16px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, color 0.2s ease;
}
.audit-faq-list details[open] summary::after {
  transform: rotate(45deg);
  background: var(--audit-carbon);
  border-color: var(--audit-carbon);
  color: var(--audit-warm-light);
}

.audit-faq-list details p {
  margin: 0;
  padding: 0 44px 20px 0;
  color: var(--audit-light-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ═══════════════════════════════════════
   FINAL OFFER · the loudest red on the page
═══════════════════════════════════════ */
/* The section is a full screen; the panel fills it edge to edge. Without
   JS that is the finished state and it reads fine. With JS the motion
   layer clips the panel back into a rounded card and opens the clip on
   scroll — clip-path, so nothing reflows and no text is ever scaled. */
/* The last thing on the page. With the footer retired it ends the
   document, so a full viewport here is a full viewport at rest. */
.audit-final {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
}

.audit-final-panel {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 8vh, 110px) 0;
  background:
    radial-gradient(120% 140% at 80% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 52%),
    var(--audit-red);
  color: #fff;
  text-align: center;
}

.audit-final-content { position: relative; }
.audit-final-panel .audit-kicker { justify-content: center; color: #fff; }
.audit-final-panel .audit-section-title {
  margin-inline: auto;
  max-width: 18ch;
  font-size: clamp(34px, 4.4vw, 60px);
}
.audit-final-panel p:not(.audit-kicker) {
  max-width: 52ch;
  margin: 22px auto 32px;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.5;
  opacity: 0.92;
}

/* Legal line, pinned to the bottom of the closing panel. It replaces the
   footer without costing the section any of its screen. */
.audit-final-legal {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 3.4vh, 36px);
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  width: max-content;
  max-width: min(100% - 48px, 900px);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}
.audit-final-legal a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.audit-final-legal a:hover { color: #fff; border-color: #fff; }

/* ═══════════════════════════════════════
   FORM · nine steps, dark modal
═══════════════════════════════════════ */
.discovery-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 4, 4, 0.66);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  /* Visibility is stepped, not eased. Transitioning it meant the overlay
     spent the whole 240ms fade in an intermediate state where the first
     field could not take focus, so the wizard opened without focusing it.
     Opening flips visibility at 0s; closing delays the flip until the fade
     has finished, which keeps the exit animation intact. */
  transition: opacity 0.24s ease, visibility 0s linear 0.24s;
}

.discovery-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.24s ease, visibility 0s linear 0s;
}

.discovery-modal {
  position: relative;
  width: min(100%, 640px);
  min-height: min(430px, calc(100dvh - 48px));
  border: 1px solid var(--audit-dark-rule);
  border-radius: var(--audit-radius-panel);
  padding: clamp(26px, 4.4vw, 52px);
  background: #0A0908;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
  color: var(--audit-dark-text);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.discovery-overlay.open .discovery-modal { transform: translateY(0) scale(1); }

.audit-form-eyebrow {
  margin: 0 0 14px;
  color: var(--audit-red);
  font-size: 12px;
  font-variation-settings: "wght" 640, "wdth" 68;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.discovery-close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--audit-dark-rule);
  border-radius: 50%;
  background: transparent;
  color: var(--audit-dark-muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.discovery-close:hover { color: var(--audit-dark-text); border-color: rgba(247, 245, 242, 0.42); }

.discovery-progress {
  height: 2px;
  margin-bottom: 34px;
  border-radius: var(--audit-radius-pill);
  background: var(--audit-dark-rule);
  overflow: hidden;
}
.discovery-progress-fill {
  width: 11.111%;
  height: 100%;
  background: var(--audit-red);
  transition: width 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.discovery-viewport { position: relative; overflow: hidden; transition: height 280ms cubic-bezier(0.22, 1, 0.36, 1); }

/* Steps trade places with a short slide and fade. The old full-width
   110% slide read as a carousel, which made nine steps feel long. */
.discovery-step {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(28px);
  pointer-events: none;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}
.discovery-step.is-current { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.discovery-step.is-leaving-back { transform: translateX(28px); }
.discovery-step.is-leaving-forward { transform: translateX(-28px); }

.discovery-step-counter {
  margin-bottom: 10px;
  color: var(--audit-dark-faint);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.discovery-step-title {
  max-width: 24ch;
  margin: 0 0 22px;
  font-family: var(--audit-font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.014em;
  line-height: 1.16;
}

.discovery-input {
  display: block;
  width: 100%;
  min-height: 56px;
  margin-bottom: 12px;
  border: 1px solid var(--audit-dark-rule);
  border-radius: 14px;
  padding: 15px 17px;
  background: rgba(247, 245, 242, 0.04);
  color: var(--audit-dark-text);
  font-family: var(--audit-font-ui);
  font-size: 15px;
  font-variation-settings: "wght" 420, "wdth" 75;
  outline: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.discovery-input::placeholder { color: rgba(247, 245, 242, 0.4); }

/* Soft focus: a brighter hairline and a faint halo, not an alarm. */
.discovery-input:focus {
  border-color: rgba(247, 245, 242, 0.45);
  background: rgba(247, 245, 242, 0.06);
  box-shadow: 0 0 0 4px rgba(247, 245, 242, 0.05);
}
.discovery-input.has-error {
  border-color: rgba(235, 0, 27, 0.55);
  box-shadow: 0 0 0 3px rgba(235, 0, 27, 0.08);
}
.discovery-input[type="date"] { color-scheme: dark; }

.discovery-date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.discovery-input-wrap { position: relative; margin-bottom: 12px; }
.discovery-input-wrap .discovery-input { margin-bottom: 0; }

.discovery-btn-next,
.discovery-btn-submit {
  display: inline-flex;
  min-height: 52px;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  border: 0;
  border-radius: var(--audit-radius-pill);
  background: var(--audit-red);
  color: #fff;
  cursor: pointer;
  font-family: var(--audit-font-ui);
  font-size: 15px;
  font-variation-settings: "wght" 620, "wdth" 72;
  transition: background-color 0.2s ease, transform 0.16s ease;
}
.discovery-btn-next:hover, .discovery-btn-submit:hover { background: var(--audit-red-deep); }
.discovery-btn-next:active, .discovery-btn-submit:active { transform: scale(0.985); }
.discovery-btn-next:disabled, .discovery-btn-submit:disabled { opacity: 0.45; cursor: not-allowed; }

.discovery-btn-back {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 0;
  padding: 10px;
  background: transparent;
  color: var(--audit-dark-muted);
  cursor: pointer;
  font-family: var(--audit-font-ui);
  font-size: 14px;
  transition: color 0.2s ease;
}
.discovery-btn-back:hover { color: var(--audit-dark-text); }

.audit-tz-note,
.audit-review-note { margin: 4px 0 0; color: var(--audit-dark-faint); font-size: 13.5px; }

.audit-schedule-summary {
  margin: 12px 0 4px;
  padding: 14px 16px;
  border: 1px solid var(--audit-dark-rule);
  border-radius: 14px;
  background: rgba(247, 245, 242, 0.03);
  color: var(--audit-dark-muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.audit-review-panel {
  margin-bottom: 6px;
  padding: 16px 18px;
  border: 1px solid var(--audit-dark-rule);
  border-radius: 14px;
  background: rgba(247, 245, 242, 0.03);
}
.audit-review-panel p { margin: 0 0 8px; }
.audit-review-panel p:last-child { margin: 0; }
.audit-review-local { color: var(--audit-dark-faint); font-size: 12.5px; }

.audit-disclaimer-text {
  margin: 0 0 18px;
  color: var(--audit-dark-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.audit-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--audit-dark-rule);
  border-radius: 14px;
  background: rgba(247, 245, 242, 0.03);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.audit-checkbox-row:hover { border-color: rgba(247, 245, 242, 0.3); }

.audit-checkbox-input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--audit-red);
  flex-shrink: 0;
  cursor: pointer;
}
.audit-checkbox-text { font-size: 14px; line-height: 1.45; }

.audit-tool-hint { margin: 0 0 16px; color: var(--audit-dark-faint); font-size: 13.5px; }

.audit-tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.audit-tool-chip {
  padding: 13px 16px;
  border: 1px solid var(--audit-dark-rule);
  border-radius: 14px;
  background: rgba(247, 245, 242, 0.03);
  color: var(--audit-dark-muted);
  font-family: var(--audit-font-ui);
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.audit-tool-chip:hover { color: var(--audit-dark-text); border-color: rgba(247, 245, 242, 0.32); }
.audit-tool-chip.selected,
.audit-tool-chip[aria-pressed="true"] {
  border-color: var(--audit-red);
  color: var(--audit-dark-text);
  background: rgba(235, 0, 27, 0.08);
}

.audit-dual-field { margin-bottom: 16px; }
.audit-field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--audit-dark-muted);
  font-size: 13.5px;
}
.audit-dual-field textarea.discovery-input { resize: vertical; min-height: 64px; }

.audit-not-sure-btn {
  margin-top: 8px;
  padding: 7px 16px;
  border: 1px solid var(--audit-dark-rule);
  border-radius: var(--audit-radius-pill);
  background: transparent;
  color: var(--audit-dark-faint);
  cursor: pointer;
  font-family: var(--audit-font-ui);
  font-size: 13px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.audit-not-sure-btn.selected,
.audit-not-sure-btn:hover { border-color: var(--audit-red); color: var(--audit-dark-text); }

.discovery-success { padding: 26px 0 8px; text-align: center; }
.discovery-success.visible { animation: audit-success-in 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes audit-success-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.discovery-success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--audit-red);
  color: #fff;
}
.discovery-success-icon svg { width: 26px; height: 26px; }
.discovery-success h3 {
  margin: 0 0 12px;
  font-family: var(--audit-font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  letter-spacing: -0.014em;
  line-height: 1.12;
}
.discovery-success p { margin: 0 auto; max-width: 40ch; color: var(--audit-dark-muted); font-size: 14.5px; line-height: 1.5; }

.discovery-dots { display: flex; justify-content: center; gap: 7px; margin-top: 26px; }
.discovery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--audit-dark-rule);
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.discovery-dot.active { background: var(--audit-red); transform: scale(1.25); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1023px) {
  .audit-steps { grid-template-columns: 1fr; gap: 14px; }
  .audit-deliverables-grid,
  .audit-faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .audit-faq-intro { position: static; }
  .audit-assurances { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
}

@media (max-width: 640px) {
  .audit-container { width: min(100% - 32px, 1200px); }
  .audit-display { font-size: clamp(32px, 8.4vw, 42px); }

  /* The justified stack needs room to hold its ratio: at phone widths the
     middle line falls under 26px, which reads as a caption rather than half
     the promise. Below 640 the block gives up the flush right edge and keeps
     what actually carries the hero — the weight and the red last line. */
  .audit-headline--stack .audit-line,
  .audit-headline--stack .audit-line:nth-of-type(1),
  .audit-headline--stack .audit-line:nth-of-type(2),
  .audit-headline--stack .audit-line:nth-of-type(3) {
    font-size: clamp(34px, 9.6vw, 50px);
    white-space: normal;
  }
  .audit-headline--stack .audit-line:nth-of-type(3) { font-size: clamp(48px, 13.6vw, 70px); }
  .audit-headline--stack { line-height: 0.92; }
  .audit-section-title { font-size: clamp(26px, 6.8vw, 34px); }
  .audit-hero { padding-top: 96px; }
  .audit-hero-actions .audit-button { width: 100%; }
  .audit-process-cta .audit-button { width: 100%; }
  .audit-assurances { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; padding-top: 22px; }
  .audit-assurances li { font-size: 13px; }
  .audit-home-link { display: none; }
  .audit-tool-grid { grid-template-columns: 1fr; }
  .discovery-overlay { padding: 12px; place-items: start center; }
  .discovery-modal { min-height: calc(100dvh - 24px); padding: 26px 20px; }
  .discovery-date-row { grid-template-columns: 1fr; gap: 0; }
  .audit-solution-impact { grid-template-columns: 1fr; gap: 18px; }
  .audit-final-panel .audit-button { width: 100%; }
}

/* ═══════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .audit-aurora-blob { animation: none; }
  .audit-priority-node--lead .audit-priority-dot::after { animation: none; }
  .audit-solution-card,
  .audit-priority-dot,
  .audit-priority-dot::after,
  .audit-priority-tag,
  .audit-priority-readout,
  .audit-priority-guide,
  .discovery-step,
  .discovery-modal { transition: none; }
}
