/* AI search page, second pass (2026-10-30). Ian: "super, super plain: not a single image, nothing ... OMG Marketing
   should be the most mind-blowing, amazing website we've ever done." So the page now shows the real thing: October's
   stored AI answers for Elite Mobile IV in Greenville, replayed word by word; the client's own page; the sites the AI
   read; their words coming back in its answers. Every quote and count is in facts/ai-search.md. Colours from omg.css. */

/* ---------- hero: the answer replay ---------- */
.as-hero { background:
  radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 1.5px) 0 0 / 26px 26px,
  var(--ink); }
.as-hero .pg-hero-in { align-items: start; }
.as-hero .pg-hero-in > div:first-child { padding-top: clamp(0px, 3vw, 40px); }
.as-replay { margin: 0; min-width: 0; text-align: left; }
.as-win { position: relative; border-radius: 22px; background: #141417; border: 1px solid var(--line-d); overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); }
.as-win-bar { display: flex; align-items: center; gap: 10px; white-space: nowrap; padding: 14px 18px; border-bottom: 1px solid var(--line-d); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute-d); }
.as-win-bar .as-live { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.as-win-bar .as-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.as-win-bar .as-when { margin-left: auto; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.as-body { position: relative; padding: clamp(18px, 2.2vw, 26px); height: clamp(392px, 33vw, 440px); }
.as-qb { margin-left: auto; width: fit-content; max-width: 88%; padding: 13px 18px; border-radius: 20px 20px 6px 20px; background: #26262b; color: #fff; font-size: 15.5px; line-height: 1.4; }
.as-a { position: absolute; inset: auto clamp(18px, 2.2vw, 26px) clamp(18px, 2.2vw, 26px); top: 104px; display: flex; flex-direction: column; transition: opacity .5s; }
.as-a[hidden] { display: none !important; }
.as-a.out { opacity: 0; }
.as-who { display: flex; align-items: center; gap: 10px; font: 700 13px/1 var(--sans); color: #fff; }
.as-who i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #2c2c32; font: 800 11px/1 var(--wide); font-style: normal; color: var(--aqua); }
.as-who span { color: var(--mute-d); font-weight: 600; }
.as-txt { margin-top: 14px; display: grid; gap: 10px; color: #dcdbe0; font-size: clamp(15px, 1.15vw, 16.5px); line-height: 1.55; }
.as-txt mark { background: none; color: #fff; font-weight: 700; box-shadow: inset 0 -.42em 0 rgba(34, 224, 207, .38); }
.as-txt .hid { display: inline-block; width: 7.5em; height: .95em; vertical-align: -.1em; border-radius: 4px; background: #3a3a41; }
.as-txt .w { opacity: 0; transition: opacity .18s; }
.as-txt .w.on, .as-a.done .as-txt .w { opacity: 1; }
.as-src { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.as-a.done .as-src { opacity: 1; transform: none; }
.as-src b { width: 100%; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-d); }
.as-src span { padding: 6px 10px; border-radius: 999px; background: #222227; border: 1px solid var(--line-d); font-size: 12.5px; color: #c9c8cd; }
.as-src span.own { background: rgba(34, 224, 207, .14); border-color: rgba(34, 224, 207, .5); color: #fff; font-weight: 600; }
.as-src span.other { color: var(--mute-d); font-style: italic; }
.as-verdict { position: absolute; right: 0; top: 0; padding: 7px 12px; border-radius: 999px; font: 700 12px/1 var(--sans); letter-spacing: .04em; opacity: 0; transition: opacity .4s; }
.as-a.done .as-verdict { opacity: 1; }
.as-verdict.y { background: var(--aqua); color: var(--ink); }
.as-verdict.n { background: #2c2c32; color: #d6d5da; }

.as-score { margin-top: 14px; padding: 18px 20px; border-radius: 18px; background: #141417; border: 1px solid var(--line-d); }
.as-score-t { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-d); font-size: 13px; color: var(--mute-d); }
.as-score-t b { font: 800 clamp(1.3rem, 2vw, 1.7rem)/1 var(--wide); letter-spacing: -.04em; color: var(--aqua); margin-right: 6px; }
.as-rows { margin-top: 12px; display: grid; gap: 9px; }
.as-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 58px; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: #e4e3e8; }
.as-row b { font: 800 .95rem/1 var(--wide); letter-spacing: -.03em; color: #fff; text-align: right; white-space: nowrap; }
.dots { display: inline-flex; gap: 7px; }
.dots i { position: relative; display: inline-block; width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--aqua); transition: transform .3s; }
.dots i.y { background: var(--aqua); }
.dots i.x { border: 0; width: 15px; height: 2px; border-radius: 1px; background: var(--mute-d); margin: 6.5px 0; }
.dots i.now { transform: scale(1.35); }
.dots i.now::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid #fff; }
.as-key { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--mute-d); }
.as-key span { display: inline-flex; align-items: center; gap: 7px; }
.as-key .dots i { width: 11px; height: 11px; }
.as-key .dots i.x { width: 11px; margin: 0; }
.as-replay figcaption { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: var(--mute-d); }

/* ---------- where the answer came from ---------- */
.as-came { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.as-came .frame-view { aspect-ratio: 16 / 12; }
.as-came figcaption { margin-top: 12px; font-size: 13px; color: var(--mute); }
.as-read { padding: clamp(24px, 3vw, 38px); border-radius: 24px; background: var(--ink); color: var(--bone); }
.as-read h3 { font: 700 clamp(1.25rem, 1.9vw, 1.6rem)/1.15 var(--wide); letter-spacing: -.03em; color: #fff; }
.as-read > p { margin-top: 10px; color: #c9c8cd; font-size: 15px; line-height: 1.5; }
.as-bars { margin-top: 22px; display: grid; gap: 11px; }
.as-bar { display: grid; grid-template-columns: 158px minmax(0, 1fr) 56px; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: #e4e3e8; }
.as-bar span small { display: block; font-size: 12px; font-weight: 500; color: var(--mute-d); }
.as-bar i { display: block; height: 12px; border-radius: 6px; background: #26262b; overflow: hidden; }
.as-bar i::before { content: ''; display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--aqua); transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.as-read.armed .as-bar i::before { width: 0; }
.as-read.armed.in .as-bar i::before { width: var(--w); }
.as-bar i.dim::before { background: #6f6e75; }
.as-bar b { font: 800 .95rem/1 var(--wide); letter-spacing: -.03em; color: #fff; text-align: right; white-space: nowrap; }
.as-read .as-so { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-d); font-size: 15px; color: #e4e3e8; line-height: 1.5; }
.as-read .as-so b { color: var(--aqua); }
.as-read .as-fine { margin-top: 10px; font-size: 12.5px; color: var(--mute-d); }

/* ---------- their words, in its answer ---------- */
.as-pairs { display: grid; gap: 14px; max-width: 1180px; margin: 0 auto; }
.as-pair { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); align-items: stretch; }
.as-side { position: relative; padding: 22px 24px 24px; border-radius: 20px; font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.5; }
.as-side small { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font: 700 11.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.as-site { background: #fff; border: 1px solid var(--line); color: #2b2a28; }
.as-site small { color: var(--mute); }
.as-site small::before { content: ''; width: 26px; height: 8px; border-radius: 4px; background: radial-gradient(circle, #d9d6cf 3px, transparent 3.5px) 0 0 / 9px 8px; }
.as-ai { background: var(--ink); color: #dcdbe0; }
.as-ai small { color: var(--aqua); }
.as-side mark { background: none; color: inherit; font-weight: 700; }
.as-site mark { box-shadow: inset 0 -.45em 0 rgba(34, 224, 207, .45); }
.as-ai mark { color: #fff; box-shadow: inset 0 -.45em 0 rgba(34, 224, 207, .4); }
.as-arrow { display: grid; place-items: center; }
.as-arrow span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--aqua); color: var(--ink); }
.as-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.as-pairs-note { margin: 22px auto 0; max-width: 1180px; font-size: 13px; color: var(--mute); text-align: center; }

/* ---------- measure: one dot per client and town ---------- */
.as-dark { background: var(--ink); color: var(--bone); }
.as-dark .kick { color: #fff; }
.as-dark .kpis dt { color: var(--mute-d); }
.as-dark .kpis dd { color: #fff; }
.as-dark .kpis dd i { color: var(--aqua); }
.as-measure-lede { margin-top: 18px; max-width: 34em; color: #c9c8cd; font-size: 16.5px; line-height: 1.55; }
.as-measure { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: center; max-width: var(--max); margin: 0 auto; }
.as-measure h2 { color: #fff; }
.as-measure h2 em { color: var(--aqua); }
.as-strips { padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: #141417; border: 1px solid var(--line-d); }
.as-strips-t { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute-d); line-height: 1.45; }
.as-strip { margin-top: 22px; }
.as-strip p { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 700; color: #fff; }
.as-strip p b { font: 800 1.05rem/1 var(--wide); letter-spacing: -.03em; }
.as-strip p b em { color: var(--aqua); }
.as-strip .pips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.as-strip .pips i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #4a4a52; transition: opacity .35s, transform .35s; transition-delay: calc(var(--d, 0) * 28ms); }
.as-strip .pips i.y { border-color: var(--aqua); background: var(--aqua); }
.as-strips.armed .pips i { opacity: 0; transform: scale(.4); }
.as-strips.armed.in .pips i { opacity: 1; transform: none; }
.as-strips .as-key { margin-top: 20px; }
.as-strips .as-key i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #4a4a52; }
.as-strips .as-key i.y { border-color: var(--aqua); background: var(--aqua); }
.as-strips blockquote { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-d); font: 700 clamp(1.05rem, 1.6vw, 1.3rem)/1.3 var(--wide); letter-spacing: -.02em; color: #fff; }
.as-strips cite { display: block; margin-top: 8px; font: 600 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mute-d); font-style: normal; }

/* ---------- built in: the publish check ---------- */
.as-check { padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: var(--ink); color: #e4e3e8; }
.as-check-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line-d); }
.as-check-h p { font: 700 clamp(1.05rem, 1.5vw, 1.25rem)/1.2 var(--wide); letter-spacing: -.02em; color: #fff; }
.as-check-h span { padding: 6px 12px; border-radius: 999px; background: rgba(34, 224, 207, .14); color: var(--aqua); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.as-check ol { margin-top: 6px; }
.as-check li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line-d); transition: opacity .4s; transition-delay: calc(var(--d, 0) * 260ms); }
.as-check li:last-child { border-bottom: 0; }
.as-check.armed li { opacity: .25; }
.as-check.armed.in li { opacity: 1; }
.as-check li i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--aqua); color: var(--ink); }
.as-check li i svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.as-check li b { display: block; color: #fff; font-size: 15.5px; }
.as-check li span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--mute-d); }

/* ---------- steps: big numbers ---------- */
.as-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.as-step { position: relative; padding: 26px 24px 28px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.as-step .n { display: block; font: 800 clamp(3rem, 5vw, 4.6rem)/.9 var(--wide); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.as-step:last-child .n { color: var(--aqua-ink); -webkit-text-stroke: 1.5px var(--aqua-ink); }
.as-step h3 { margin-top: 18px; font: 700 1.15rem/1.2 var(--wide); letter-spacing: -.03em; }
.as-step p { margin-top: 8px; color: #3f3e3b; font-size: 15px; line-height: 1.45; }
.as-step .k { margin-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-ink); }

@media (max-width: 1080px) {
  .as-came, .as-measure { grid-template-columns: 1fr; }
  .as-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .as-pair { grid-template-columns: 1fr; }
  .as-arrow { height: 44px; }
  .as-arrow span { transform: rotate(90deg); }
  .as-body { height: 470px; }
}
@media (max-width: 480px) {
  .as-body { height: 520px; padding: 16px; }
  .as-win-bar .as-when { display: none; }
  .as-a { inset: auto 16px 16px; top: 118px; }
  .as-row { grid-template-columns: 1fr auto; }
  .as-row .dots { grid-column: 1 / -1; order: 3; }
  .as-bar { grid-template-columns: 1fr 52px; }
  .as-bar i { grid-column: 1 / -1; order: 3; }
  .as-steps { grid-template-columns: 1fr; }
  .as-strip .pips i { width: 13px; height: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .as-txt .w { opacity: 1; transition: none; }
  .as-bar i::before, .as-strip .pips i, .as-check li { transition: none; }
}
