/* ==========================================================================
   /audit/: the AI Systems Audit landing page (paid traffic, not indexed).
   Built on site.css: its tokens, buttons and footer. Everything here is prefixed au- so nothing leaks into the site.

   Direction (2026-11-11, Moses: "premium development workshop, clean and simple, but wow"): Anton display, one line
   of gold light behind the hero (the GetLayers "Meridian" shader, assets/meridian.mjs), and motion that shows systems
   working rather than decoration: a live feed of events, lines struck through, screens that fill in as you reach
   them. Reveal choreography follows the GetLayers house rules: a short veil, the page gated until the light has drawn
   a frame, content rising through the veil as it lifts.

   Light ground (Moses, 2026-11-11: "reverse the colors ... more like white background", for the whole page and its
   animations). The page's colours all come from the --au-* palette below; nothing further down names a colour of its
   own except gold and navy. Gold on white is too faint to read as text (about 1.6:1), so text and small icons that
   were gold are navy (--au-accent) and gold stays for fills, lines and light.
   ========================================================================== */

.au {
  --au-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --au-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
  --au-out: cubic-bezier(.22, 1, .36, 1);
  --au-curtain: cubic-bezier(.76, 0, .24, 1);
  --au-bar-h: 72px;

  /* the palette */
  --au-bg: var(--paper);                    /* page ground */
  --au-bg-2: var(--paper-2);                /* alternate bands */
  --au-bg-rgb: 255, 255, 255;               /* the ground again, for scrims that fade it in and out */
  --au-text: var(--on-light);
  --au-mut: var(--on-light-mut);
  --au-line: var(--line-light);
  --au-accent: var(--navy);                 /* what was gold text: kickers, labels, small icons */
  --au-panel: #ffffff;                      /* cards and example screens */
  --au-panel-2: #f9fbfb;
  --au-wash: rgba(12, 21, 24, .06);         /* faint fills: empty cells, tracks, dots */
  --au-dim: rgba(12, 21, 24, .3);           /* switched off, struck through */
  --au-shadow: rgba(12, 21, 24, .16);
  --au-gold-soft: rgba(249, 197, 75, .22);
  --au-glint: var(--gold-deep);             /* the spark in a wire or a device as an event passes */
}
body.au { background: var(--au-bg); color: var(--au-text); }

/* site.css pieces used on this page, set for a light ground (as site.css does for its .band--light) */
.au .eyebrow { color: var(--au-accent); }
.au .lead { color: var(--au-mut); }
.au .arrow { color: var(--navy); border-bottom-color: var(--gold); }
.au .hdr__login { color: var(--au-text); border-color: var(--au-line); }
.au .hdr__login:hover { color: var(--navy); border-color: var(--navy); background: var(--au-wash); }
.au .ftr { background: var(--au-bg-2); color: var(--au-mut); border-top: 1px solid var(--au-line); }
.au .ftr h3 { color: var(--au-accent); }
.au .ftr a { color: var(--au-mut); }
.au .ftr a:hover { color: var(--au-text); }
.au .ftr__base { border-top-color: var(--au-line); color: var(--au-mut); }
/* the tagline: the shared footer (seo/ build) colours it gold inline, which no rule can outrank without !important */
.au .ftr__brand p:last-child { color: var(--navy) !important; }

/* --- veil: shown only with JS, only on the first view of a visit ------------- */
.au-veil { display: none; }
.js .au-veil {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; align-content: center; gap: 22px;
  background: var(--au-bg);
  clip-path: inset(0 0 0 0);
}
.au-veil img { width: 168px; height: auto; opacity: 0; animation: au-in .6s .08s var(--au-out) forwards; }
.au-veil__line { width: 168px; height: 1px; background: var(--au-line); position: relative; overflow: hidden; }
.au-veil__line::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform: scaleX(0); transform-origin: left; animation: au-grow 1.05s .12s var(--au-out) forwards;
}
.au-ready .au-veil { clip-path: inset(0 0 100% 0); transition: clip-path .85s var(--au-curtain); pointer-events: none; }
.au-skip .au-veil { display: none; }

@keyframes au-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes au-grow { to { transform: scaleX(1); } }
/* Content must never stay hidden because a script failed: everything shows by itself after a few seconds. */
@keyframes au-failsafe { to { opacity: 1; transform: none; } }

/* --- reveal ------------------------------------------------------------------ */
/* The hero hides before the script loads (no flash) and has a failsafe. Everything below the fold hides only once the
   script is running (.au-live), so a failed script can never leave it invisible and no failsafe cuts its animation. */
.js .au-hero [data-rv] { opacity: 0; transform: translateY(22px); animation: au-failsafe 0s 4s forwards; }
.au-live main > section:not(.au-hero) [data-rv] { opacity: 0; transform: translateY(22px); }
.js .au-hero [data-rv].in,
.au-live main > section:not(.au-hero) [data-rv].in {
  opacity: 1; transform: none; animation: none;
  transition: opacity .9s var(--au-out), transform .9s var(--au-out);
  transition-delay: var(--d, 0ms);
}

/* --- icons: one sprite (index.html), drawn in as their block reveals ----------- */
.au-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.au-ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* every sprite shape has pathLength="1"; the dash values inherit into the icon */
.au-live [data-rv] .au-ic { stroke-dasharray: 1; stroke-dashoffset: 1; }
.au-live [data-rv].in .au-ic { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--au-out) calc(var(--d, 0ms) + 250ms); }

/* --- page bar ------------------------------------------------------------------ */
.au-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--au-bar-h);
  transition: background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
/* a soft shade under the bar so the links stay legible wherever the hero light drifts */
.au-bar::before { content: ""; position: absolute; inset: 0 0 -36px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(var(--au-bg-rgb), .75), rgba(var(--au-bg-rgb), 0)); transition: opacity .3s; }
.au-bar.is-solid::before { opacity: 0; }
.au-bar.is-solid { background: rgba(var(--au-bg-rgb), .92); border-bottom-color: var(--au-line); backdrop-filter: saturate(140%) blur(10px); }
/* how far down the page you are: a gold line under the bar, driven by the scroll itself where the browser can */
.au-bar__read { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
@supports (animation-timeline: scroll()) {
  .au-bar__read { animation: au-grow linear both; animation-timeline: scroll(root); }
}
.au-bar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.au-bar__logo img { width: 150px; height: auto; }
.au-bar__nav { display: flex; align-items: center; gap: 1.6rem; }
.au-bar__nav > a:not(.btn) { color: var(--au-mut); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.au-bar__nav > a:not(.btn):hover { color: var(--au-text); }
.au-bar__nav .btn { padding: .72rem 1.15rem; font-size: .9375rem; }
@media (max-width: 760px) {
  .au-bar__nav > a:not(.btn) { display: none; }
  .au-bar__logo img { width: 124px; }
}

/* --- hero -------------------------------------------------------------------- */
.au-hero {
  /* clip, not hidden, so the drawing can stay in view (sticky) beside the pains; hidden is the fallback */
  position: relative; overflow: hidden; overflow: clip; isolation: isolate;
  min-height: min(100svh, 1000px);
  display: flex; align-items: center;
  padding-block: calc(var(--au-bar-h) + 3rem) 4rem;
  background: radial-gradient(120% 90% at 85% 20%, rgba(0, 90, 109, .08), transparent 60%), var(--au-bg);
}
.au-hero__light { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.au-hero--flat .au-hero__light { display: none; }
/* A scrim on the copy side keeps the headline legible wherever the light drifts. */
.au-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--au-bg-rgb), .86) 0%, rgba(var(--au-bg-rgb), .55) 45%, rgba(var(--au-bg-rgb), 0) 75%),
    linear-gradient(0deg, var(--au-bg) 0%, rgba(var(--au-bg-rgb), 0) 22%);
}
.au-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.au-hero__copy { display: flex; flex-direction: column; gap: 1.75rem; min-width: 0; }

.au-kicker {
  display: flex; align-items: center; gap: .75rem;
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--au-accent);
}
.au-kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.au-kicker span { color: var(--au-mut); }

.au-h1 {
  margin: 0;
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3rem, 1.2rem + 4.4vw, 5.6rem); line-height: .98; letter-spacing: .005em;
}
.au-line { display: block; overflow: hidden; padding-bottom: .04em; }
.au-line > span { display: inline-block; }
/* the gold word: navy ink on a gold highlighter stroke, since gold type disappears on white */
.au-h1 em { font-style: normal; color: var(--navy); background: linear-gradient(180deg, transparent 62%, rgba(249, 197, 75, .7) 62%, rgba(249, 197, 75, .7) 90%, transparent 90%); }
.js .au-line > span { transform: translateY(108%); animation: au-failsafe 0s 4s forwards; }
.au-ready .au-line > span { transform: none; animation: none; transition: transform 1.1s var(--au-out); }
.au-ready .au-line:nth-child(2) > span { transition-delay: .09s; }
.au-ready .au-line:nth-child(3) > span { transition-delay: .18s; }

/* "This is for you if:" the pains, each one big. Each card rises in turn (the hero reveal staggers them), then its
   gold bar grows and the highlighter sweeps across the key words. Without the script, or with reduced motion, they
   are simply there, bar and highlight included. */
.au-pains { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; max-width: 40rem; }
.au-pain {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; row-gap: .25rem; align-items: center;
  padding: 1rem 1.25rem 1rem 1.1rem;
  background: var(--au-panel); border: 1px solid var(--au-line); border-radius: 16px;
  box-shadow: 0 14px 34px -22px var(--au-shadow);
}
.au-pain::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--gold); transform-origin: top; }
.au-pain__ic {
  grid-row: span 2; align-self: start;
  width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--gold);
}
.au-pain__ic .au-ic { width: 1.35rem; height: 1.35rem; }
.au-pain__t { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 700; line-height: 1.18; letter-spacing: -.012em; color: var(--au-text); text-wrap: balance; }
.au-pain__t mark {
  color: inherit; padding: 0 .08em; margin: 0 -.08em;
  background: linear-gradient(180deg, transparent 58%, rgba(249, 197, 75, .75) 58%, rgba(249, 197, 75, .75) 92%, transparent 92%) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.au-pain__s { color: var(--au-mut); font-size: .975rem; line-height: 1.45; text-wrap: pretty; }
.au-live .au-pain:not(.in)::before { transform: scaleY(0); }
.au-live .au-pain:not(.in) .au-pain__t mark { background-size: 0% 100%; }
.au-live .au-pain.in::before { transition: transform .6s var(--au-out) calc(var(--d, 0ms) + 200ms); }
.au-live .au-pain.in .au-pain__t mark { transition: background-size .9s var(--au-out) calc(var(--d, 0ms) + 450ms); }
.au-pain:hover { border-color: rgba(249, 197, 75, .9); }

/* the answer to the pains */
.au-promise { margin: 0; font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); line-height: 1.15; color: var(--navy); max-width: 30ch; text-wrap: balance; }
.au-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--au-mut); max-width: 54ch; }
.au-gets { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; max-width: 54ch; }
.au-gets li { display: flex; align-items: flex-start; gap: .6rem; font-weight: 600; line-height: 1.4; }
.au-gets .au-ic { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .1rem; color: var(--au-accent); }
.au-makes { display: grid; gap: .5rem; }
.au-makes p { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--au-mut); }
.au-makes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.au-makes li { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem; border: 1px solid rgba(0, 66, 80, .22); border-radius: 999px; background: var(--au-bg); font-size: .92rem; font-weight: 600; color: var(--navy); }
.au-makes .au-ic { width: 1rem; height: 1rem; color: var(--au-accent); }
.au-go { position: relative; overflow: hidden; }
.au-go::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%);
  transform: translateX(-120%); animation: au-sheen 5s 3s var(--au-out) infinite;
}
@keyframes au-sheen { 0% { transform: translateX(-120%); } 28%, 100% { transform: translateX(120%); } }
.au-go__arrow { display: inline-block; transition: transform .25s var(--au-out); }
.au-go:hover .au-go__arrow { transform: translateX(4px); }

.au-ledger { margin: .5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--au-line); }
.au-ledger div { padding: 1rem 1.25rem 0 0; }
.au-ledger div + div { padding-left: 1.25rem; border-left: 1px solid var(--au-line); }
.au-ledger dt { display: flex; align-items: center; gap: .4rem; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--au-mut); }
.au-ledger dt .au-ic { width: 1rem; height: 1rem; color: var(--au-accent); }
.au-ledger dd { margin: .35rem 0 0; font-size: .9375rem; font-weight: 600; line-height: 1.35; }

.au-founder { display: flex; align-items: center; gap: .85rem; font-size: .9375rem; line-height: 1.4; color: var(--au-mut); }
.au-founder img { width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.au-founder b { display: block; color: var(--au-text); }

/* the system: every tool the business runs on, wired into one hub (Moses, 2026-11-11: "powering their phone, their
   computer, the assistants, everything connected into a tight ecosystem", after Marrast's house powering up).
   Power-up: wires draw in and each device switches on at its own --at. Then audit.js runs a day of events through
   it as pulses along the wires. The markup is the lit drawing; only .au-live (the script running) dims it first. */
.au-sys { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
/* beside the copy it sits on a white board, so the hero light can never wash it out. On white the devices are drawn
   in navy and the power (wires, current, screens lighting up) is gold. */
@media (min-width: 1001px) {
  .au-sys {
    padding: 1.6rem 1.5rem 1.3rem; border: 1px solid var(--au-line); border-radius: 18px;
    background: linear-gradient(180deg, rgba(var(--au-bg-rgb), .96), rgba(var(--au-bg-rgb), .9));
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 60px 120px -60px var(--au-shadow), 0 2px 6px rgba(12, 21, 24, .04);
  }
  .au-sys__log { background: var(--au-bg-2); }
}
/* Version C's hero (seo/audit-versions.mjs): the presenter film where A has the drawing, on the same white board. */
.au-vsl { margin: 0; min-width: 0; display: grid; gap: .8rem; }
.au-vsl video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: var(--navy); border: 1px solid var(--au-line); box-shadow: 0 60px 120px -60px var(--au-shadow); }
.au-vsl figcaption { font-size: .9rem; font-weight: 600; color: var(--au-mut); text-align: center; }
/* beside the copy, at the top and staying in view while the pains scroll past (the drawing's slot is centred instead) */
@media (min-width: 1001px) { .au-vsl { align-self: start; position: sticky; top: 6.5rem; } }
.js .au-sys { opacity: 0; transform: translateY(26px) scale(.985); animation: au-failsafe 0s 4s forwards; }
.au-ready .au-sys { opacity: 1; transform: none; animation: none; transition: opacity 1s .2s var(--au-out), transform 1.2s .2s var(--au-out); }
.au-sys svg { display: block; width: 100%; height: auto; overflow: visible; }
.au-sys .sys-grid { fill: none; stroke: var(--au-wash); stroke-width: 1; }
.au-sys .ln { fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.au-sys .ln--fine { stroke-width: 1.6; }
.au-sys .scr { fill: var(--au-gold-soft); }
.au-sys .msg { fill: rgba(0, 66, 80, .45); }
.au-sys .msg--me { fill: var(--gold); }
.au-sys .dot { fill: var(--navy); }
.au-sys .cell { fill: var(--au-wash); }
.au-sys .cell--on { fill: var(--gold); }
.au-sys .bar { fill: var(--gold); transform-box: fill-box; transform-origin: 50% 100%; }
.au-sys .stamp { fill: var(--gold); transform-box: fill-box; transform-origin: center; }
.au-sys .stamp-tick { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.au-sys .star { fill: var(--gold); transform-box: fill-box; transform-origin: center; }
.au-sys .term { fill: var(--gold); }
.au-sys .hub__spin { fill: none; stroke: var(--gold-deep); stroke-width: 1.6; stroke-dasharray: 4 7; transform-box: fill-box; transform-origin: center; animation: au-spin 16s linear infinite; }
.au-sys .hub__mark { fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.au-sys .hub__glow { transform-box: fill-box; transform-origin: center; }
.au-sys .nd__name { font: 700 15px var(--f-body); letter-spacing: .16em; fill: var(--au-text); text-anchor: middle; }
.au-sys .nd__name--hub { font-size: 17px; }
.au-sys .nd__state { font: 500 14px var(--f-body); fill: var(--au-mut); text-anchor: middle; }
.au-sys .nd__ring { fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.au-sys .wr__base { fill: none; stroke: var(--au-line); stroke-width: 2; }
.au-sys .wr__live { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .9; }
/* current, always flowing outward from the hub */
.au-sys .wr__flow { fill: none; stroke: var(--au-glint); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 2 22; opacity: .7; animation: au-flow 1.8s linear infinite; }
.au-sys .pz__halo { fill: rgba(249, 197, 75, .4); }
.au-sys .pz__dot { fill: var(--au-glint); }
@keyframes au-flow { to { stroke-dashoffset: -48; } }
@keyframes au-spin { to { transform: rotate(360deg); } }

/* switched off, before the power-up */
.au-live .au-sys:not(.is-on) .wr__live { stroke-dashoffset: 1; }
.au-live .au-sys:not(.is-on) .wr__flow { opacity: 0; }
.au-live .au-sys:not(.is-on) .nd .ln, .au-live .au-sys:not(.is-on) .hub__mark { stroke: var(--au-dim); }
.au-live .au-sys:not(.is-on) .nd .nd__name { fill: var(--au-dim); }
.au-live .au-sys:not(.is-on) .nd :is(.scr, .msg, .dot, .cell, .bar, .stamp, .stamp-tick, .star, .term, .hub__glow, .hub__spin, .nd__state) { opacity: 0; }
/* switching on, each part at its own moment */
.au-sys.is-on .wr__live { transition: stroke-dashoffset .9s var(--au-out) var(--at); }
.au-sys.is-on .wr__flow { transition: opacity .6s calc(var(--at) + .8s); }
.au-sys.is-on .nd :is(.ln, .hub__mark) { transition: stroke .35s var(--at); }
.au-sys.is-on .nd .nd__name { transition: fill .35s var(--at); }
.au-sys.is-on .nd :is(.scr, .msg, .dot, .cell, .bar, .stamp, .stamp-tick, .star, .term, .hub__glow, .hub__spin, .nd__state) { transition: opacity .5s var(--at); }
/* running: the assistant types, and a device flashes as an event reaches it */
.au-sys.is-on .dot { animation: au-type 1.3s ease-in-out infinite; }
.au-sys.is-on .dot:nth-of-type(2) { animation-delay: .16s; }
.au-sys.is-on .dot:nth-of-type(3) { animation-delay: .32s; }
@keyframes au-type { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }
/* a flash, not a state: is-ping stays on the node until its next event, so the colour has to fade back by itself */
.au-sys .nd.is-ping .ln { animation: au-flash 1s var(--au-out); }
@keyframes au-flash { from { stroke: var(--au-glint); } }
.au-sys .nd.is-ping .nd__ring { animation: au-ping .95s var(--au-out); }
.au-sys .nd.is-ping .bar { animation: au-bars .8s var(--au-out); }
.au-sys .nd.is-ping :is(.stamp, .star) { animation: au-pop .6s var(--au-out); }
.au-sys .hub.is-ping .hub__glow { animation: au-glow .9s var(--au-out); }
@keyframes au-ping { from { opacity: .9; transform: scale(.72); } to { opacity: 0; transform: scale(1.28); } }
@keyframes au-bars { from { transform: scaleY(.25); } }
@keyframes au-pop { 40% { transform: scale(1.25); } }
@keyframes au-glow { 30% { transform: scale(1.15); opacity: 1; } }

.au-sys__log {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem .75rem; align-items: start;
  padding: .9rem 1.1rem; border: 1px solid var(--au-line); border-radius: 10px; background: var(--au-panel);
}
.au-sys__live { width: 8px; height: 8px; margin-top: .3rem; border-radius: 50%; background: var(--gold); animation: au-pulse 2.4s infinite; }
@keyframes au-pulse { 0% { box-shadow: 0 0 0 0 rgba(249, 197, 75, .6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(249, 197, 75, 0); } }
.au-sys__event { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .6rem; min-height: 4.2rem; }
.au-sys__event time { font-size: .75rem; font-variant-numeric: tabular-nums; color: var(--au-mut); }
.au-sys__event b { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--au-accent); }
.au-sys__event > span { flex-basis: 100%; font-size: .9375rem; line-height: 1.45; color: var(--au-text); }
.au-sys__event.is-new { animation: au-row .6s var(--au-out); }
@keyframes au-row { from { opacity: 0; transform: translateY(8px); } }
.au-sys__log small { grid-column: 2; font-size: .75rem; color: var(--au-mut); }
@media (max-width: 560px) {
  .au-sys .nd__name { font-size: 20px; }
  .au-sys .nd__name--hub { font-size: 21px; }
  .au-sys .nd__state { display: none; }
}

/* one column: the drawing goes straight under the headline, the case for it after */
@media (max-width: 1000px) {
  .au-hero { min-height: 0; }
  .au-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .au-hero__copy { display: contents; }
  .au-kicker { order: 1; }
  .au-h1, .au-pains, .au-promise { order: 2; }
  .au-sys { order: 3; }
  .au-vsl { order: 1; }  /* version C on a phone: the film right under the kicker, before anything to read */
  .au-lead { order: 4; }
  .au-gets, .au-makes { order: 5; }
  .au-hero .btn-row { order: 6; }
  .au-founder { order: 7; }
  .au-ledger { order: 8; }
  .au-hero::after { background: linear-gradient(180deg, rgba(var(--au-bg-rgb), .55), rgba(var(--au-bg-rgb), .8) 60%, var(--au-bg)); }
}
@media (max-width: 560px) {
  .au-ledger { grid-template-columns: minmax(0, 1fr); }
  .au-ledger div, .au-ledger div + div { padding: .8rem 0 0; border-left: 0; }
}

/* --- "watch" links: a short film with sound, in the player at the end of the page ---- */
.au-watch { display: inline-flex; align-items: center; gap: .8rem; width: fit-content; color: var(--au-text); text-decoration: none; font-weight: 600; line-height: 1.25; }
.au-watch small { display: block; font-size: .8125rem; font-weight: 500; color: var(--au-mut); }
.au-watch__btn { position: relative; flex: none; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); transition: transform .3s var(--au-out); }
.au-watch__btn .au-ic { width: 1.1rem; height: 1.1rem; margin-left: 3px; fill: currentColor; }
.au-watch__btn::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(249, 197, 75, .55); animation: au-halo 2.4s var(--au-out) infinite; }
@keyframes au-halo { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.au-watch:hover .au-watch__btn { transform: scale(1.08); }
.au-watch:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 999px; }
/* The presenter film's way in: her face in a bubble on the drawing (Moses, 2026-11-11). Beside the copy it sits on the
   board's top edge like a video call; on phones it leads the drawing. */
.au-guide { align-self: flex-start; display: inline-flex; align-items: center; gap: .85rem; padding: .4rem 1.1rem .4rem .4rem; border-radius: 999px; background: var(--au-panel); border: 1px solid var(--au-line); box-shadow: 0 18px 40px -18px var(--au-shadow); color: var(--au-text); text-decoration: none; font-weight: 600; line-height: 1.2; }
.au-guide small { display: block; font-size: .78rem; font-weight: 500; color: var(--au-mut); }
.au-guide__face { position: relative; flex: none; width: 3.6rem; height: 3.6rem; }
.au-guide__face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); transition: transform .3s var(--au-out); }
.au-guide__face::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(249, 197, 75, .55); animation: au-halo 2.4s var(--au-out) infinite; }
.au-guide__play { position: absolute; right: -4px; bottom: -4px; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); }
.au-guide__play .au-ic { width: .65rem; height: .65rem; margin-left: 2px; fill: currentColor; }
.au-guide:hover .au-guide__face img { transform: scale(1.06); }
.au-guide:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (min-width: 1001px) {
  /* beside a copy column taller than the screen, the drawing rides along (sticky, which also anchors the guide)
     instead of floating halfway down; the guide's pill sits 1.9rem above it, so it stops that much lower */
  .au-sys { position: sticky; top: calc(var(--au-bar-h) + 3rem); align-self: start; }
  .au-guide { position: absolute; top: -1.9rem; right: 1.2rem; z-index: 2; }
}

/* --- the jobs, moving ------------------------------------------------------------------ */
.au-ticker {
  display: flex; flex-direction: column; gap: .7rem; padding-block: 1.6rem; overflow: hidden;
  background: var(--au-bg); border-top: 1px solid var(--au-line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.au-ticker__row { list-style: none; margin: 0; padding: 0 1rem; display: flex; flex-wrap: wrap; justify-content: center; row-gap: .6rem; }
.au-ticker li {
  display: inline-flex; align-items: center; gap: .55rem; margin-right: .6rem; padding: .6rem 1rem; white-space: nowrap;
  border: 1px solid var(--au-line); border-radius: 999px; background: var(--au-panel); font-size: .9375rem; font-weight: 500;
}
.au-ticker li .au-ic { width: 1.1rem; height: 1.1rem; color: var(--au-accent); }
/* with the script, each row is doubled and slides by half its width, so it loops without a seam */
.au-ticker.is-moving .au-ticker__row { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding: 0; animation: au-marquee 46s linear infinite; }
.au-ticker.is-moving .au-ticker__row--back { animation-direction: reverse; animation-duration: 52s; }
.au-ticker:hover .au-ticker__row { animation-play-state: paused; }
@keyframes au-marquee { to { transform: translateX(-50%); } }

/* --- shared section furniture -------------------------------------------------- */
.au section:not(.au-hero) { padding-block: var(--band); }
.au-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 60rem; }
.au h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: var(--t-h2); line-height: 1.02; margin: 0; text-wrap: balance; }
.au-tag {
  display: inline-flex; align-items: center; gap: .4rem; width: fit-content;
  padding: .28rem .6rem; border-radius: var(--r);
  border: 1px solid var(--au-line); font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--au-mut);
}
.au-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--au-mut); }
.au-tag--live { color: var(--au-accent); border-color: rgba(249, 197, 75, .35); }
.au-tag--live::before { background: var(--gold); }

/* --- where the hours go --------------------------------------------------------- */
.au-hours { background: var(--au-bg); border-top: 1px solid var(--au-line); }
.au-hours h2 { max-width: 22ch; margin-top: 1rem; }
.au-hours__list { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.au-hours__list li {
  display: flex; align-items: center; gap: .45em; width: fit-content; max-width: 100%;
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(1.5rem, .9rem + 2.7vw, 3.4rem); line-height: 1.12;
  color: var(--au-text); transition: color .6s var(--ease);
}
.au-hours__t { position: relative; }
.au-hours__t::after {
  content: ""; position: absolute; left: -.08em; right: -.08em; top: 50%; height: .085em;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .75s var(--au-out);
}
.au-hours__list li.is-struck { color: var(--au-dim); }
.au-hours__list li.is-struck .au-hours__t::after { transform: scaleX(1); }
.au-hours__ic { flex: none; display: grid; width: .72em; height: .72em; color: var(--au-accent); }
.au-hours__ic .au-ic { grid-area: 1 / 1; width: 100%; height: 100%; stroke-width: 1.7; transition: opacity .4s, transform .55s var(--au-out); }
.au-hours__ic .au-ic--done { opacity: 0; transform: scale(.5) rotate(-25deg); }
.au-hours__list li.is-struck .au-hours__ic .au-ic:not(.au-ic--done) { opacity: 0; transform: scale(.5); }
.au-hours__list li.is-struck .au-hours__ic .au-ic--done { opacity: 1; transform: none; transition-delay: .35s; }
.au-hours__end { margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.au-hours__end p { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 600; max-width: 40ch; }
.au-hours__end p span { color: var(--au-accent); }

/* --- builds ---------------------------------------------------------------------- */
.au-builds-band { background: var(--au-bg-2); }
.au-reel { margin: 0 0 clamp(3.5rem, 7vw, 6rem); border: 1px solid var(--au-line); border-radius: 12px; overflow: hidden; background: var(--au-panel); box-shadow: 0 50px 100px -50px var(--au-shadow); }
.au-reel__bar { display: flex; align-items: center; gap: 6px; padding: .7rem 1rem; border-bottom: 1px solid var(--au-line); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--au-mut); }
.au-reel__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--au-line); }
.au-reel__bar span { margin-left: .6rem; }
.au-reel video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink); }
.au-reel figcaption { padding: .75rem 1rem; border-top: 1px solid var(--au-line); font-size: .8125rem; color: var(--au-mut); }
.au-builds { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.au-index { list-style: none; margin: 0; padding: 0; position: sticky; top: calc(var(--au-bar-h) + 2rem); display: flex; flex-direction: column; border-left: 1px solid var(--au-line); }
.au-index a {
  position: relative; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); row-gap: .5rem;
  padding: 1rem 0 1rem 1.25rem; text-decoration: none; color: var(--au-mut);
  transition: color .3s var(--ease);
}
.au-index a::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--gold);
  transform: scaleY(0); transform-origin: top; transition: transform .5s var(--au-out);
}
.au-index a .au-tag { grid-column: 2; }
.au-index__name { display: flex; align-items: center; gap: .55rem; }
.au-index__name .au-ic { color: var(--au-accent); opacity: .55; transition: opacity .3s; }
.au-index a[aria-current="true"] .au-index__name .au-ic { opacity: 1; }
.au-index__no { font-variant-numeric: tabular-nums; font-size: .8125rem; font-weight: 700; padding-top: .1rem; }
.au-index a:hover, .au-index a[aria-current="true"] { color: var(--au-text); }
.au-index a[aria-current="true"]::before { transform: scaleY(1); }
.au-index a[aria-current="true"] .au-index__no { color: var(--au-accent); }

.au-cases { display: flex; flex-direction: column; gap: clamp(4rem, 9vw, 8rem); min-width: 0; }
.au-case { display: flex; flex-direction: column; gap: 1.4rem; scroll-margin-top: calc(var(--au-bar-h) + 1.5rem); }
.au-case__meta { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--au-accent); }
.au-case__meta span { color: var(--au-mut); margin-inline: .35rem; }
.au-case h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.05; margin: 0; max-width: 24ch; }
.au-case__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.au-case h4 { margin: 0 0 .6rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--au-mut); }
.au-case__cols p { color: var(--au-mut); line-height: 1.6; }
.au-case__cols ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.au-case__cols li { position: relative; padding-left: 1.65rem; line-height: 1.45; }
.au-case__cols li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.05em; height: 1.05em; background: var(--au-accent);
  -webkit-mask: var(--au-tick) center / contain no-repeat; mask: var(--au-tick) center / contain no-repeat;
}
.au-live .au-case__cols li::before { transform: scale(0); }
.au-live .au-case.is-on .au-case__cols li::before { transform: none; transition: transform .45s var(--au-out) .3s; }
.au-live .au-case.is-on .au-case__cols li:nth-child(2)::before { transition-delay: .42s; }
.au-live .au-case.is-on .au-case__cols li:nth-child(3)::before { transition-delay: .54s; }
.au-live .au-case.is-on .au-case__cols li:nth-child(4)::before { transition-delay: .66s; }
.au-live .au-case.is-on .au-case__cols li:nth-child(5)::before { transition-delay: .78s; }
.au-case__result { padding-top: 1.1rem; border-top: 1px solid var(--au-line); font-size: 1.05rem; line-height: 1.5; }
div.au-case__result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
div.au-case__result p { max-width: 46ch; }
.au-case__result b { display: block; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--au-accent); margin-bottom: .3rem; }

/* the clinic: its real booking page behind the example day sheet */
.au-shots { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.au-shots__back { grid-area: 1 / 1 / 2 / 11; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--au-line); box-shadow: 0 30px 70px -40px var(--au-shadow); }
.au-shots .au-mock { grid-area: 1 / 5 / 2 / 13; margin-top: 36%; position: relative; z-index: 1; box-shadow: 0 40px 80px -30px var(--au-shadow); }
@media (max-width: 640px) {
  .au-shots__back { grid-area: 1 / 1 / 2 / 12; }
  .au-shots .au-mock { grid-area: 1 / 2 / 2 / 13; margin-top: 42%; }
}
@supports (animation-timeline: view()) {
  .au-live .au-shots__back { animation: au-drift linear both; animation-timeline: view(); }
  @keyframes au-drift { from { transform: translateY(28px); } to { transform: translateY(-28px); } }
}

/* the screens: example data, filling in when the case is reached */
.au-mock {
  border: 1px solid var(--au-line); border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, var(--au-panel-2), var(--au-panel));
  box-shadow: 0 30px 70px -40px var(--au-shadow);
  font-size: .875rem;
}
.au-mock__bar {
  display: flex; align-items: center; gap: .9rem; padding: .75rem 1rem; border-bottom: 1px solid var(--au-line);
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--au-mut);
}
.au-mock__bar { flex-wrap: wrap; row-gap: .4rem; }
.au-mock__bar span { white-space: nowrap; }
.au-mock__bar span:first-child { color: var(--au-text); }
.au-pill { margin-left: auto; padding: .25rem .55rem; border-radius: 999px; background: var(--au-gold-soft); color: var(--au-accent); letter-spacing: .06em; text-transform: none; font-weight: 600; }
.au-mock__foot { padding: .7rem 1rem; border-top: 1px solid var(--au-line); font-size: .75rem; color: var(--au-mut); }

.au-mock--sheet ul { list-style: none; margin: 0; padding: .3rem 0; }
.au-mock--sheet li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--au-line); }
.au-mock--sheet li:last-child { border-bottom: 0; }
.au-mock--sheet time { font-variant-numeric: tabular-nums; color: var(--au-mut); }
.au-mock--sheet em { font-style: normal; color: var(--au-mut); }
.au-mock--sheet li:last-child em { color: var(--au-accent); }

.au-call { padding: 1.1rem 1rem 1.2rem; display: flex; flex-direction: column; gap: .7rem; }
.au-call__who { font-weight: 700; }
.au-call__text { font-size: 1rem; line-height: 1.55; color: var(--au-text); }
.au-call__next { font-size: .8125rem; color: var(--au-accent); font-weight: 600; }
.au-call__next span { color: var(--au-mut); font-weight: 500; margin-right: .5rem; }

.au-book { padding: 1.1rem 1rem 1.2rem; }
.au-book__title { font-weight: 700; font-size: 1.05rem; }
.au-book__when { color: var(--au-mut); margin-top: .2rem; }
.au-book__when span { margin-inline: .3rem; }
.au-book__steps { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.au-book__steps li { display: flex; align-items: center; gap: .7rem; }
.au-book__steps li::before {
  content: "\2713"; flex: none; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 700;
  background: var(--gold); color: var(--ink);
}

.au-portal { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); min-height: 13rem; }
.au-portal__tabs { list-style: none; margin: 0; padding: .5rem 0; border-right: 1px solid var(--au-line); }
.au-portal__tabs li { padding: .55rem 1rem; color: var(--au-mut); font-size: .8125rem; border-left: 2px solid transparent; transition: color .3s, border-color .3s, background .3s; }
.au-portal__tabs li { display: flex; align-items: center; gap: .5rem; }
.au-portal__tabs .au-ic { width: .95rem; height: .95rem; opacity: .6; }
.au-portal__tabs li.is-on .au-ic { color: var(--au-accent); opacity: 1; }
.au-portal__tabs li.is-on { color: var(--au-text); border-left-color: var(--gold); background: var(--au-wash); }
.au-portal__panes { position: relative; padding: 1.1rem 1.1rem; min-width: 0; }
.au-pane { display: flex; flex-direction: column; gap: .55rem; }
.au-pane b { font-size: 1rem; }
.au-pane span { color: var(--au-mut); }
.au-pane i { display: block; height: 6px; border-radius: 3px; background: var(--au-wash); position: relative; overflow: hidden; margin-top: .4rem; }
.au-pane i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--gold); border-radius: 3px; }
.au-pane button { align-self: flex-start; margin-top: .3rem; font: inherit; font-size: .8125rem; font-weight: 700; padding: .45rem .8rem; border: 0; border-radius: var(--r); background: var(--gold); color: var(--ink); }
/* Without JS every pane shows, stacked; with JS one shows at a time. */
.au-portal__panes .au-pane + .au-pane { margin-top: 1rem; }
.au-live .au-portal__panes .au-pane { position: absolute; inset: 1.1rem; margin: 0; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--au-out); }
.au-live .au-portal__panes .au-pane.is-on { opacity: 1; transform: none; }

/* motion inside the screens, once the case is reached */
.au-live .au-mock--sheet li, .au-live .au-book__steps li { opacity: 0; transform: translateY(8px); }
.au-live .au-case.is-on .au-mock--sheet li, .au-live .au-case.is-on .au-book__steps li { opacity: 1; transform: none; transition: opacity .5s var(--au-out), transform .5s var(--au-out); }
.au-live .au-case.is-on .au-mock--sheet li:nth-child(2), .au-live .au-case.is-on .au-book__steps li:nth-child(2) { transition-delay: .18s; }
.au-live .au-case.is-on .au-mock--sheet li:nth-child(3), .au-live .au-case.is-on .au-book__steps li:nth-child(3) { transition-delay: .36s; }
.au-live .au-case.is-on .au-mock--sheet li:nth-child(4), .au-live .au-case.is-on .au-book__steps li:nth-child(4) { transition-delay: .54s; }
.au-live .au-case.is-on .au-mock--sheet li:nth-child(5) { transition-delay: .9s; }
.au-live .au-call__text { -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%); -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.au-live .au-case.is-on .au-call__text { -webkit-mask-position: 0 0; mask-position: 0 0; transition: -webkit-mask-position 2.2s .2s linear, mask-position 2.2s .2s linear; }
.au-live .au-pane i::after { width: 0; }
.au-live .au-case.is-on .au-pane.is-on i::after { width: var(--w); transition: width 1.2s .2s var(--au-out); }
.au-live .au-mock--sheet .au-pill { opacity: 0; }
.au-live .au-case.is-on .au-mock--sheet .au-pill { opacity: 1; transition: opacity .6s 1.2s; }

@media (max-width: 1100px) {
  .au-builds { grid-template-columns: minmax(0, 1fr); }
  .au-index { display: none; }
}
@media (max-width: 640px) {
  .au-case__cols { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .au-portal { grid-template-columns: minmax(0, 1fr); }
  .au-portal__tabs { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--au-line); padding: 0; }
  .au-portal__tabs li { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .au-portal__tabs li.is-on { border-bottom-color: var(--gold); }
}

/* --- custom apps -------------------------------------------------------------------- */
.au-apps { background: var(--au-bg); }
.au-apps__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.au-app {
  display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem 1.6rem 1.8rem;
  border: 1px solid var(--au-line); border-radius: 10px; background: var(--au-panel);
  text-decoration: none; color: inherit; min-width: 0;
  transition: border-color .3s var(--ease), transform .4s var(--au-out);
}
a.au-app:hover { border-color: rgba(249, 197, 75, .5); transform: translateY(-4px); }
.au-app__chrome { display: flex; gap: 6px; padding-bottom: 1rem; border-bottom: 1px solid var(--au-line); }
.au-app__chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--au-line); }
.au-app__shot { display: block; overflow: hidden; border: 1px solid var(--au-line); border-radius: 8px; background: var(--au-panel); }
.au-app__shot .au-app__chrome { padding: .6rem .8rem; }
.au-app__shot img { display: block; width: 100%; height: auto; transition: transform .8s var(--au-out); }
a.au-app:hover .au-app__shot img { transform: scale(1.03); }
.au-app__flow { list-style: none; margin: 0; padding: 1.6rem 1rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; border: 1px solid var(--au-line); border-radius: 8px; background: var(--au-panel); }
.au-app__flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .65rem; text-align: center; font-size: .8125rem; font-weight: 600; color: var(--au-mut); }
.au-app__flow .au-ic { position: relative; z-index: 1; width: 3rem; height: 3rem; padding: .75rem; border-radius: 50%; border: 1px solid rgba(249, 197, 75, .45); background: var(--au-panel); color: var(--au-accent); stroke-width: 1.6; }
/* the link between two steps, with a spark running along it */
.au-app__flow li + li::before {
  content: ""; position: absolute; top: 1.5rem; right: calc(50% + 1.5rem); width: calc(100% - 2.5rem); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent) 0 0 / 40% 100% no-repeat, rgba(249, 197, 75, .25);
  animation: au-spark 2.2s linear infinite;
}
.au-app__flow li:nth-child(3)::before { animation-delay: 1.1s; }
@keyframes au-spark { from { background-position: -40% 0, 0 0; } to { background-position: 140% 0, 0 0; } }
.au-apps__more { margin-top: 2rem; }
.au-app h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin: 0; line-height: 1.05; }
.au-app p { color: var(--au-mut); line-height: 1.6; }
.au-app .arrow { width: fit-content; margin-top: auto; }
@media (max-width: 760px) { .au-apps__grid { grid-template-columns: minmax(0, 1fr); } }

/* --- Google reviews: masonry columns so short and long reviews sit together ----------------- */
.au-reviews { background: var(--au-bg); border-top: 1px solid var(--au-line); }
.au-stars { color: var(--gold-deep); letter-spacing: .12em; }
.au-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .7rem; font-size: 1.05rem; color: var(--au-mut); }
.au-rating b { color: var(--au-text); font-size: 1.25rem; }
.au-rating .arrow { margin-left: .4rem; font-size: .9375rem; }
.au-reviews__grid { columns: 3 18rem; column-gap: 1.25rem; }
.au-review {
  break-inside: avoid; margin: 0 0 1.25rem; padding: 1.5rem 1.5rem 1.35rem; position: relative;
  border: 1px solid var(--au-line); border-radius: 10px; background: var(--au-panel);
  display: flex; flex-direction: column; gap: 1rem;
}
.au-review::before {
  content: "\201C"; position: absolute; top: .6rem; right: 1.1rem;
  font-family: var(--f-display); font-size: 4rem; line-height: 1; color: rgba(249, 197, 75, .45);
}
.au-review blockquote { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--au-text); }
.au-review figcaption { display: flex; flex-direction: column; gap: .15rem; padding-top: .9rem; border-top: 1px solid var(--au-line); }
.au-review figcaption span { font-size: .8125rem; color: var(--au-mut); }

/* --- process: a gold line drawn across the six steps as you scroll ---------------------- */
.au-process { background: var(--au-bg-2); }
.au-steps {
  --p: 0; list-style: none; margin: 0; padding: 2.2rem 0 0; position: relative;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem;
}
.au-steps::before, .au-steps::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; }
.au-steps::before { right: 0; background: var(--au-line); }
.au-steps::after { width: calc(var(--p) * 100%); background: var(--gold); }
.au-steps li { position: relative; display: flex; flex-direction: column; gap: .55rem; }
.au-steps li::before {
  content: ""; position: absolute; top: calc(-2.2rem - 5px); left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--au-panel); border: 2px solid var(--au-line); transition: border-color .4s, background .4s;
}
.au-steps li.is-past::before { border-color: var(--gold); background: var(--gold); }
.au-steps__ic { width: 1.9rem; height: 1.9rem; color: var(--au-mut); stroke-width: 1.6; margin-bottom: .3rem; transition: color .4s; }
.au-steps li.is-past .au-steps__ic { color: var(--au-accent); }
.au-steps li:not(.is-past) .au-steps__ic { opacity: .45; }
/* each icon draws itself in gold as the line reaches its step */
.au-live .au-steps li.is-past .au-steps__ic { stroke-dasharray: 1; animation: au-draw 1s var(--au-out) both; }
@keyframes au-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.au-steps span { font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--au-mut); transition: color .4s; }
.au-steps li.is-past span { color: var(--au-accent); }
.au-steps h3 { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.au-steps p { color: var(--au-mut); font-size: .9375rem; line-height: 1.5; }
@media (max-width: 1000px) {
  .au-steps { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 2.2rem; gap: 2rem; }
  .au-steps::before, .au-steps::after { top: 0; left: 0; width: 2px; height: auto; right: auto; }
  .au-steps::before { bottom: 0; }
  .au-steps::after { height: calc(var(--p) * 100%); }
  .au-steps li::before { top: .1rem; left: calc(-2.2rem - 5px); }
}

/* --- fit ---------------------------------------------------------------------------- */
.au-fit { background: var(--au-bg); }
.au-fit__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
.au-fit h3 { margin: 0 0 1.2rem; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; }
.au-fit__grid > div:first-child h3 { color: var(--au-accent); }
.au-fit__grid > div:last-child h3 { color: var(--au-mut); }
.au-fit ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.au-fit li { padding: 1rem 0 0 2rem; border-top: 1px solid var(--au-line); position: relative; line-height: 1.5; }
.au-fit li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: 1.05rem; height: 1.05rem; -webkit-mask: var(--au-tick) center / contain no-repeat; mask: var(--au-tick) center / contain no-repeat; background: var(--au-accent); }
.au-fit__grid > div:last-child li { color: var(--au-mut); }
.au-fit__grid > div:last-child li::before { -webkit-mask-image: var(--au-cross); mask-image: var(--au-cross); background: var(--au-mut); }
@media (max-width: 760px) { .au-fit__grid { grid-template-columns: minmax(0, 1fr); } }

/* --- the application ------------------------------------------------------------------ */
.au-apply { background: radial-gradient(90% 70% at 0% 0%, rgba(0, 66, 80, .07), transparent 60%), var(--au-bg-2); scroll-margin-top: var(--au-bar-h); }
.au-apply__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.au-apply__intro { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: calc(var(--au-bar-h) + 2rem); }
.au-apply__list { margin: .5rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.au-apply__list li { display: flex; align-items: flex-start; gap: .7rem; }
.au-apply__list .au-ic { margin-top: .1em; color: var(--au-accent); }
.au-apply__moses { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--au-line); }
.au-apply__moses img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.au-apply__moses p { font-size: .9375rem; color: var(--au-mut); line-height: 1.45; }
.au-apply__moses b { display: block; color: var(--au-text); }
@media (max-width: 1000px) {
  .au-apply__grid { grid-template-columns: minmax(0, 1fr); }
  .au-apply__intro { position: static; }
}

.au-form {
  scroll-margin-top: calc(var(--au-bar-h) + 1rem);
  background: var(--paper); color: var(--on-light); border: 1px solid var(--au-line); border-radius: 12px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: 0 50px 100px -40px var(--au-shadow);
  min-width: 0;
}
.au-form__fallback a { color: var(--navy); font-weight: 700; }
.au-progress { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; } /* one bar per step */
.au-progress i { height: 4px; border-radius: 2px; background: var(--line-light); position: relative; overflow: hidden; }
.au-progress i::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--au-out); }
.au-progress i.is-done::after { transform: scaleX(1); }
.au-step-label { display: flex; justify-content: space-between; margin-top: .8rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-light-mut); }
.au-form h3 { margin: 1.4rem 0 1.4rem; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.05; color: var(--on-light); }
.au-step { display: flex; flex-direction: column; gap: 1.35rem; }
.au-step[hidden] { display: none; }
.au-step.is-entering { animation: au-step .55s var(--au-out); }
@keyframes au-step { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.au-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .au-row2 { grid-template-columns: minmax(0, 1fr); } }

.au-field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.au-field > label, .au-field > legend { font-size: .9375rem; font-weight: 600; padding: 0; }
.au-field small { font-weight: 400; color: var(--on-light-mut); }
.au-field fieldset, fieldset.au-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.au-field input[type="text"], .au-field input[type="email"], .au-field input[type="tel"], .au-field input[type="url"],
.au-field select, .au-field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--on-light);
  padding: .8rem .9rem; border: 1px solid #c9d3d6; border-radius: var(--r); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.au-field textarea { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
.au-field input:focus, .au-field select:focus, .au-field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 66, 80, .15); }
.au-field.has-error input, .au-field.has-error select, .au-field.has-error textarea { border-color: #b3261e; }
.au-error { font-size: .8125rem; color: #b3261e; font-weight: 600; }
.au-count { font-size: .75rem; color: var(--on-light-mut); align-self: flex-end; font-variant-numeric: tabular-nums; }

.au-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.au-chip { position: relative; }
.au-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.au-chip span {
  display: inline-flex; align-items: center; gap: .4rem; padding: .62rem .9rem;
  border: 1px solid #c9d3d6; border-radius: var(--r); font-size: .9375rem; cursor: pointer; user-select: none;
  transition: background .18s, color .18s, border-color .18s, transform .18s var(--au-out);
}
.au-chip span:hover { border-color: var(--navy); }
.au-chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.au-chip input[type="checkbox"]:checked + span::before { content: "\2713"; font-weight: 700; color: var(--gold); }
.au-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.au-chip input:active + span { transform: scale(.97); }

.au-price { padding: 1rem 1.1rem; border-radius: var(--r); background: var(--paper-2); border-left: 3px solid var(--gold); font-weight: 600; line-height: 1.5; }
.au-consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .875rem; color: var(--on-light-mut); line-height: 1.45; }
.au-consent input { margin-top: .2rem; width: 1.05rem; height: 1.05rem; accent-color: var(--navy); flex: none; }
.au-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.au-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line-light); }
.au-back { font: inherit; font-weight: 600; background: none; border: 0; color: var(--on-light-mut); cursor: pointer; padding: .5rem 0; }
.au-back:hover { color: var(--on-light); }
.au-back[hidden], .au-nav[hidden] { display: none; }
.au-form .btn--primary { margin-left: auto; }
.au-form .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.au-alert { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--r); background: #fdecea; color: #7a1c15; font-size: .9375rem; line-height: 1.5; }
.au-alert a { color: inherit; font-weight: 700; }

.au-done { display: flex; flex-direction: column; gap: 1rem; animation: au-step .6s var(--au-out); }
.au-done h3 { margin: 0; }
.au-done p { color: var(--on-light-mut); line-height: 1.6; }
.au-done a:not(.btn) { color: var(--navy); font-weight: 700; }
/* booking: the audit calendar's open times, picked on the page (audit/booking.js books them) */
.au-pick { display: flex; flex-direction: column; gap: .9rem; margin-top: .4rem; min-width: 0; }
.au-pick__label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-light-mut); margin-top: .3rem; }
.au-pick__label small { font-weight: 500; letter-spacing: .02em; text-transform: none; }
.au-pick__msg { color: var(--on-light-mut); line-height: 1.55; }
.au-pick__msg a { color: var(--navy); font-weight: 700; }
.au-days {
  display: flex; gap: .5rem; overflow-x: auto; padding: .15rem .15rem .6rem;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.au-day {
  flex: none; scroll-snap-align: start; width: 4.6rem; padding: .6rem .3rem; display: flex; flex-direction: column; align-items: center; gap: .1rem;
  font: inherit; color: var(--on-light); background: #fff; border: 1px solid #c9d3d6; border-radius: 8px; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s var(--au-out);
}
.au-day span { font-size: .75rem; color: var(--on-light-mut); text-transform: uppercase; letter-spacing: .06em; }
.au-day b { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; line-height: 1.05; }
.au-day:hover, .au-time:hover { border-color: var(--navy); }
.au-day[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.au-day[aria-pressed="true"] span { color: rgba(255, 255, 255, .75); }
.au-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.4rem, 1fr)); gap: .5rem; }
.au-time {
  font: inherit; font-size: .9375rem; font-weight: 600; padding: .75rem .4rem; color: var(--on-light);
  background: #fff; border: 1px solid #c9d3d6; border-radius: var(--r); cursor: pointer; font-variant-numeric: tabular-nums;
  transition: background .18s, color .18s, border-color .18s;
}
.au-time[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 0 0 3px rgba(249, 197, 75, .55); }
.au-day:focus-visible, .au-time:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.au-day:active, .au-time:active { transform: scale(.97); }
.au-confirm { margin-top: .6rem; align-self: flex-start; }
.au-pick__loading { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.au-pick__loading i { height: 3rem; border-radius: var(--r); background: linear-gradient(90deg, var(--paper-2), #e6ecee, var(--paper-2)); background-size: 200% 100%; animation: au-shimmer 1.2s linear infinite; }
@keyframes au-shimmer { to { background-position: -200% 0; } }
@media (max-width: 560px) {
  .au-confirm { align-self: stretch; }
  .au-times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --- questions ---------------------------------------------------------------------------- */
.au-faq { background: var(--au-bg); }
.au-faq h2 { margin-bottom: 2.5rem; }
.au-faq__list { max-width: 56rem; border-top: 1px solid var(--au-line); }
.au-faq details { border-bottom: 1px solid var(--au-line); }
.au-faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); font-weight: 600;
}
.au-faq summary::-webkit-details-marker { display: none; }
.au-faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--au-accent); transition: transform .3s var(--au-out);
}
.au-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.au-faq details p { padding: 0 2.5rem 1.4rem 0; color: var(--au-mut); line-height: 1.65; max-width: 70ch; }
.au-faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* --- the film player ------------------------------------------------------------------------ */
.au-film { width: min(1100px, calc(100vw - 2rem)); max-width: none; padding: 0; border: 0; border-radius: 12px; background: #000; overflow: visible; }
.au-film::backdrop { background: rgba(5, 10, 12, .86); backdrop-filter: blur(6px); }
.au-film[open] { animation: au-film-in .45s var(--au-out); }
@keyframes au-film-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.au-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; }
.au-film__close { position: absolute; top: -3.25rem; right: 0; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .3); color: #fff; cursor: pointer; }
.au-film__close .au-ic { width: 1.2rem; height: 1.2rem; }
.au-film__close:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* --- reduced motion: everything in place, nothing moving ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .au *, .au *::before, .au *::after { animation: none !important; transition: none !important; }
  .au [data-rv], .js .au-line > span, .js .au-sys, .au-live .au-mock--sheet li, .au-live .au-book__steps li { opacity: 1 !important; transform: none !important; }
  .au-live [data-rv] .au-ic { stroke-dashoffset: 0; }
  .au-live .au-case__cols li::before { transform: none; }
  .au-live .au-call__text { -webkit-mask-image: none; mask-image: none; }
  .au-live .au-pane i::after { width: var(--w); }
  .au-live .au-mock--sheet .au-pill { opacity: 1; }
}
