/* Major multiplication event: the scroll hero on /audit. Brought over from
   hero-lab 02 with its own look (night ground, Inter, indigo). Its tokens are
   scoped to .mme and override the page tokens only inside the hero. */

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

.mme {
  --night: #030406;
  --paper: #fff;
  --indigo: #2b34e8;
  --indigo-soft: #8a90ff;
  --white-75: #ffffffbf;
  --white-60: #fff9;
  --white-40: #ffffff66;
  --white-25: #ffffff40;
  --white-10: #ffffff1a;
  --font-display: "Inter", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(1.25rem, 3.6vw, 3.5rem);
  --rail-height: 0px; /* nothing sits along the bottom edge now */
  --line: 1px solid var(--white-10);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-display);
  line-height: normal;
  color: var(--paper);
}
.mme p, .mme h2 { text-wrap: initial; }

/* Stage
   ========================================================================== */
.mme { position: relative; height: 480vh; background: var(--night); border-bottom: var(--line); }
.mme--still { height: auto; }
.mme-stage {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  overflow: hidden;
  isolation: isolate;
}
.mme-shake, .mme-canvas, .mme-overlay, .mme-scan, .mme-flash { position: absolute; inset: 0; }
.mme-shake { will-change: transform; }
.mme-canvas { display: block; width: 100%; height: 100%; max-width: none; }
.mme-overlay, .mme-scan, .mme-flash { pointer-events: none; }

.mme-scan {
  background:
    repeating-linear-gradient(to bottom, transparent 0 2px, #0000002e 2px 3px),
    radial-gradient(ellipse at center, transparent 55%, #000000a6 100%);
}
.mme-flash {
  opacity: 0;
  background: radial-gradient(circle at var(--fx, 50%) var(--fy, 50%), #fff 0, #c9ccff 18%, #2b34e8 55%, transparent 85%);
  mix-blend-mode: screen;
}

/* Projected marks: meteor reticle, landing lock, city tags
   ========================================================================== */
.mme-reticle, .mme-lock, .mme-tag {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  will-change: transform, opacity;
}

.mme-reticle {
  --c: var(--indigo-soft);
  --s: 64px;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  background:
    linear-gradient(var(--c), var(--c)) left top / 12px 1px,
    linear-gradient(var(--c), var(--c)) left top / 1px 12px,
    linear-gradient(var(--c), var(--c)) right top / 12px 1px,
    linear-gradient(var(--c), var(--c)) right top / 1px 12px,
    linear-gradient(var(--c), var(--c)) left bottom / 12px 1px,
    linear-gradient(var(--c), var(--c)) left bottom / 1px 12px,
    linear-gradient(var(--c), var(--c)) right bottom / 12px 1px,
    linear-gradient(var(--c), var(--c)) right bottom / 1px 12px;
  background-repeat: no-repeat;
}
.mme-lock-label {
  position: absolute;
  font: 500 10px/1.5 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--indigo-soft);
}

.mme-lock {
  --s: 56px;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  border: 1px solid var(--paper);
  border-radius: 50%;
}
.mme-lock::before, .mme-lock::after {
  content: "";
  position: absolute;
  background: var(--paper);
}
.mme-lock::before { left: 50%; top: -14px; bottom: -14px; width: 1px; }
.mme-lock::after { top: 50%; left: -14px; right: -14px; height: 1px; }
.mme-lock-label { left: calc(100% + 22px); top: 50%; transform: translateY(-50%); color: var(--paper); }

.mme-tag-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 7px 5px;
  border: 1px solid var(--white-25);
  background: #030406d9;
  transform: translate(-50%, -100%);
  white-space: nowrap;
}
.mme-tag-stars { display: flex; gap: 1px; font-size: 11px; line-height: 1; color: var(--paper); text-shadow: 0 0 8px var(--indigo); }
.mme-tag-stars span { opacity: 0; transform: scale(0.2); transition: opacity 120ms linear, transform 260ms var(--ease); }
.mme-tag.is-on .mme-tag-stars span { opacity: 1; transform: none; }
.mme-tag-stars span:nth-child(2) { transition-delay: 70ms; }
.mme-tag-stars span:nth-child(3) { transition-delay: 140ms; }
.mme-tag-stars span:nth-child(4) { transition-delay: 210ms; }
.mme-tag-stars span:nth-child(5) { transition-delay: 280ms; }
.mme-tag-city {
  font: 500 9px/1.2 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-75);
}
.mme-tag--home .mme-tag-in { border-color: var(--indigo-soft); background: var(--indigo); }
.mme-tag--home .mme-tag-city { color: var(--paper); }

/* Chrome: top bar, copy, stream, rail
   ========================================================================== */
.mme-eyebrow, .mme-hint, .mme-stream {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mme-copy {
  position: absolute;
  left: var(--gutter);
  bottom: calc(var(--rail-height) + clamp(1.5rem, 4vw, 3.5rem));
  max-width: min(46rem, calc(100% - var(--gutter) * 2));
  opacity: 0;
  visibility: hidden;
}
.mme--nogl .mme-copy--1 { opacity: 1; visibility: visible; }
.mme-eyebrow { font-size: 11px; font-weight: 500; color: var(--indigo-soft); }
.mme-eyebrow span { color: var(--white-25); }
.mme-h1, .mme-h2 { color: var(--paper); font-weight: 600; letter-spacing: -0.045em; line-height: 0.94; text-wrap: balance; }
.mme-h1 { margin-top: 1.1rem; max-width: 9em; font-size: clamp(2.9rem, 7.4vw, 7.5rem); }
.mme-h1--impact { color: var(--indigo); } /* multipli.tech's signature blue */
.mme-name { color: var(--indigo-soft); font-weight: 600; } /* the name in a lede: the blue's lighter cut, readable at text size on night */
.mme-h2 { margin-top: 1rem; max-width: 12em; font-size: clamp(2.2rem, 4.8vw, 5rem); }
.mme-lede { margin-top: 1.25rem; max-width: 30em; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.45; color: var(--white-75); }
/* Phase 2 reads as large as phase 1. */
.mme-copy--2 .mme-h2 { max-width: 10em; font-size: clamp(2.9rem, 7.4vw, 7.5rem); }
/* the larger ledes stop short of the page's centre line, where the scroll cue sits */
.mme-copy--2 .mme-lede,
.mme-copy--3 .mme-lede { max-width: min(32em, calc(50vw - var(--gutter) - 3.5rem)); font-size: clamp(1.15rem, 1.75vw, 1.6rem); }
/* Word masks for the phase change (mme.js). Padding gives descenders room. */
.mme-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.mme-word > span { display: inline-block; will-change: transform; }
.mme-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 1.6rem;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  background: var(--paper);
  color: #080c2a;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.mme-btn:focus-visible { outline: 2px solid var(--indigo-soft); outline-offset: 3px; }

.mme-stream {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  min-height: 12em;
  font-size: 10px;
  line-height: 1.75;
  text-align: right;
  color: var(--white-40);
}

/* the scroll cue, bottom middle: the word over a hairline, with a mark that
   runs down the line and repeats. mme.js fades it in with the first line of
   copy and out just before the impact (it writes opacity only). */
.mme-hint {
  position: absolute;
  left: 50%;
  bottom: calc(var(--rail-height) + clamp(1.25rem, 4vh, 2.5rem));
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding-left: 0.12em; /* the tracking's trailing space, so the word centres on the line */
  font-size: 11px;
  font-weight: 500;
  color: var(--white-75);
  opacity: 0; /* hidden until mme.js brings it in with the copy, after the entrance */
  transform: translateX(-50%);
  pointer-events: none;
}
.mme--nogl .mme-hint { opacity: 1; }
.mme-hint-line { position: relative; width: 1px; height: 44px; overflow: hidden; background: var(--white-25); }
.mme-hint-line span { position: absolute; inset: 0; background: var(--paper); transform: translateY(-100%); }
@media (prefers-reduced-motion: no-preference) {
  .mme-hint-line span { animation: mme-hint-run 2.2s var(--ease) infinite; }
}
@keyframes mme-hint-run {
  0% { transform: translateY(-100%); }
  70%, 100% { transform: translateY(100%); }
}

/* narrower screens: the copy runs the full width, so it sits above the scroll cue */
@media (max-width: 1100px) {
  .mme-copy { bottom: calc(var(--rail-height) + 5.5rem); }
  .mme-copy--2 .mme-lede,
  .mme-copy--3 .mme-lede { max-width: 32em; }
  .mme-hint { bottom: calc(var(--rail-height) + 1rem); gap: 0.55rem; }
  .mme-hint-line { height: 28px; }
}
@media (max-width: 760px) {
  .mme-stream, .mme-tag-city { display: none; }
  .mme-tag--home .mme-tag-city { display: block; }
  .mme-lock-label { left: 50%; top: calc(100% + 20px); transform: translateX(-50%); text-align: center; }
  .mme-tag-stars { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .mme-tag-stars span { transition: none; }
  /* the cue holds still: the top of the line lit */
  .mme-hint-line span { transform: scaleY(0.4); transform-origin: top; }
}

/* The footer (Ryan, 2026-11-19): the homepage's, so /audit ends the way the site does. Its rules in home.css hang off
   html.home and the mono palette, which this page does not carry, so the same values are set here, on the footer
   alone. Keep in step with the footer block of home.css. */
@font-face { font-family: "Rubik"; src: url("/landing/fonts/rubik-latin-wght.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
.footer {
  --font-sans: "Rubik", system-ui, sans-serif; --font-mono: "Rubik", system-ui, sans-serif;
  --text: #fff; --text-2: rgba(255, 255, 255, 0.74); --muted: rgba(255, 255, 255, 0.6);
  --hairline: rgba(255, 255, 255, 0.14); --hairline-strong: rgba(255, 255, 255, 0.22);
  --surface-2: #141414; --surface-3: #1F1F1F; --lavender: #fff; --focus-ring: 0 0 0 3px rgba(0, 35, 255, 0.25);
  background: #0A0A0A; border-top: 1px solid var(--hairline); color: var(--text-2); font-family: var(--font-sans);
}
.footer-logo img { filter: none; }
.footer-col-label { font: 600 0.8125rem/1.2 var(--font-sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.footer-link { font-size: var(--fs-control); color: var(--text); }
.footer-news { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6); padding: var(--s-5) 0; border-top: 1px solid var(--hairline); }
.footer-news-copy { flex: 1 1 18rem; max-width: 34rem; }
.footer-news-title { display: block; font: 600 1rem/1.3 var(--font-sans); color: var(--text); }
.footer-news-note { margin-top: 0.35rem; font-size: 0.8125rem; line-height: 1.4; color: var(--text-2); }
.footer-news-note.is-error { color: var(--text); font-weight: 600; }
.footer-news-row { display: flex; gap: var(--s-2); flex: 1 1 20rem; max-width: 30rem; }
.footer-news-row .field { flex: 1; min-width: 0; }
.footer-news.is-done .footer-news-row { display: none; }
.footer .btn { background: #0023FF; color: #fff; }
.footer .btn:hover { background: #001BCC; }
.footer-legal { border-top-color: var(--hairline); font: 400 0.8125rem/1.4 var(--font-sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
@media (max-width: 759px) {
  .footer { padding-top: var(--s-7); }
  .footer-base { grid-template-columns: repeat(3, auto); justify-content: space-between; gap: var(--s-5) var(--s-4); padding-bottom: var(--s-6); }
  .footer-logo { grid-column: 1 / -1; }
  .footer-logo img { width: 140px; }
  .footer-legal { gap: var(--s-2); }
}
