/* Footprint hero — "The Proving Ground".
   A real local-business homepage inside a browser frame, scrubbed from wireframe
   to finished by one control. One DOM, one custom property (--p), everything
   interpolates: no crossfade, no video, no third-party code.

   Loaded after the SPA styles. Scoped entirely to #fp-hero — the SPA's own hero is
   no longer hidden here, its usage was removed from the bundle instead. */

#fp-hero {
  --p: 1;                       /* build progress: 0 wireframe → 1 finished */
  --navy: #0b1230;
  --ink: #05070a;
  --cyan: #27e0ce;
  --blue: #2357ff;
  --bar: #6f7a93;               /* wireframe placeholder bars */
  position: relative;
  overflow: hidden;
  padding: 76px 24px 84px;
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(35,87,255,.20), transparent 62%),
    radial-gradient(900px 460px at 92% 8%, rgba(39,224,206,.13), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #080c16 55%, var(--ink) 100%);
  color: #f4f8f9;
  font-family: Inter, system-ui, -apple-system, sans-serif;
}
#fp-hero *, #fp-hero *::before, #fp-hero *::after { box-sizing: border-box; }

#fp-hero .fp-hwrap {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px; align-items: center;
}
@media (max-width: 1080px) { #fp-hero .fp-hwrap { grid-template-columns: 1fr; gap: 40px; } }

/* ---------------------------------------------------------------- the pitch */
#fp-hero .fp-heyebrow {
  margin: 0 0 18px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(39,224,206,.86);
}
#fp-hero .fp-h1 {
  margin: 0 0 18px; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.02;
  letter-spacing: -.028em; font-weight: 800;
}
#fp-hero .fp-h1 em { font-style: normal; color: var(--cyan); }
#fp-hero .fp-hsub {
  margin: 0 0 30px; max-width: 34ch; font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.62; color: rgba(244,248,249,.74);
}
#fp-hero .fp-hcta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
#fp-hero .fp-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 15px 24px;
  border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none;
  border: 1px solid transparent; transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
#fp-hero .fp-btn:hover { transform: translateY(-1px); }
#fp-hero .fp-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
#fp-hero .fp-btn-primary { background: var(--cyan); color: #04120f; }
#fp-hero .fp-btn-primary:hover { background: #4ff0e0; }
#fp-hero .fp-btn-ghost { border-color: rgba(255,255,255,.24); color: #f4f8f9; }
#fp-hero .fp-btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }

/* ------------------------------------------------------------- the receipt  */
#fp-hero .fp-receipt {
  margin: 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.12);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 16px 18px;
}
#fp-hero .fp-receipt div { min-width: 0; }
#fp-hero .fp-receipt dt {
  margin: 0 0 5px; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(244,248,249,.62);
}
#fp-hero .fp-receipt dd {
  margin: 0; font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 17px; font-weight: 600; color: #f4f8f9; letter-spacing: -.01em;
}
#fp-hero .fp-receipt dd small { font-size: 11px; color: rgba(244,248,249,.64); font-weight: 500; }
#fp-hero .fp-receipt dd.ok::after { content: " ✓"; color: var(--cyan); font-size: 13px; }
#fp-hero .fp-verify {
  grid-column: 1 / -1; margin-top: 2px; font-size: 11.5px; letter-spacing: .04em;
  color: rgba(39,224,206,.9); text-decoration: none; width: fit-content;
}
#fp-hero .fp-verify:hover { text-decoration: underline; }
#fp-hero .fp-receipt-note {
  grid-column: 1 / -1; margin: 0; font-size: 11px; line-height: 1.5; color: rgba(244,248,249,.62);
}

/* ---------------------------------------------------------------- the stage */
#fp-hero .fp-hstage { min-width: 0; }
#fp-hero .fp-browser {
  border-radius: 14px; overflow: hidden; background: #0f1526;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03) inset;
}
#fp-hero .fp-chrome {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  background: linear-gradient(180deg, #1a2236, #141b2c);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
#fp-hero .fp-dots { display: flex; gap: 6px; }
#fp-hero .fp-dots i { width: 10px; height: 10px; border-radius: 999px; background: #3a4358; }
#fp-hero .fp-url {
  flex: 1; text-align: center; font-family: ui-monospace, Menlo, monospace; font-size: 11px;
  color: rgba(244,248,249,.64); background: rgba(0,0,0,.3); border-radius: 7px; padding: 5px 12px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
#fp-hero .fp-url b { color: rgba(39,224,206,.85); font-weight: 600; }
#fp-hero .fp-live {
  display: inline-flex; align-items: center; gap: 6px; font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(39,224,206,.9);
}
#fp-hero .fp-live i { width: 6px; height: 6px; border-radius: 999px; background: var(--cyan); animation: fp-blink 2.4s ease-in-out infinite; }
@keyframes fp-blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

#fp-hero .fp-viewport { position: relative; overflow: hidden; background: #fff; cursor: ew-resize; touch-action: pan-y; }
#fp-hero .fp-viewport:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* the demo site is authored at a fixed 1200x760 and scaled into the frame, so its
   proportions are those of a real desktop page at any frame size */
#fp-hero .fp-demo {
  width: 1200px; height: 760px; transform-origin: top left;
  transform: scale(var(--s, .5));
  /* one filter gives the whole page its wireframe state */
  filter: grayscale(calc(1 - var(--p))) contrast(calc(.92 + .08 * var(--p)));
  background: #fff; color: #0e1726;
}

/* text that is a grey placeholder bar until the build reaches it */
#fp-hero .fp-t { position: relative; }
#fp-hero .fp-t::after {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: calc(var(--w, 1) * 100%); height: calc(var(--h, .72) * 100%);
  min-height: 6px; border-radius: 4px; background: var(--bar);
  opacity: clamp(0, calc(1 - var(--p) * 1.9), 1);
}

/* images: placeholder box with a cross, resolving to the photo */
#fp-hero .fp-img { position: relative; overflow: hidden; background: #dfe4ee; }
#fp-hero .fp-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: calc(.10 + .90 * var(--p));
  transform: scale(calc(1.06 - .06 * var(--p)));
}
#fp-hero .fp-img::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top right, transparent calc(50% - 1px), rgba(111,122,147,.5) 50%, transparent calc(50% + 1px)),
    linear-gradient(to bottom right, transparent calc(50% - 1px), rgba(111,122,147,.5) 50%, transparent calc(50% + 1px));
  opacity: clamp(0, calc(1 - var(--p) * 1.7), 1);
}

/* layout grid + spec annotations: visible only while unbuilt */
#fp-hero .fp-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background-image: repeating-linear-gradient(to right,
    rgba(35,87,255,.16) 0 1px, transparent 1px calc(100% / 12));
  opacity: clamp(0, calc((1 - var(--p)) * .85), 1);
}
#fp-hero .fp-ann {
  position: absolute; z-index: 4; pointer-events: none;
  font-family: ui-monospace, Menlo, monospace; font-size: 9px; letter-spacing: .08em;
  text-transform: uppercase; white-space: nowrap;
  color: #2357ff; background: rgba(255,255,255,.86); border: 1px solid rgba(35,87,255,.35);
  padding: 2px 6px; border-radius: 4px;
  opacity: clamp(0, calc(1 - var(--p) * 2.1), 1);
}

/* ------------------------------------------------------------------ the HUD */
#fp-hero .fp-hud {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin: 16px 2px 10px; min-height: 18px;
}
#fp-hero .fp-stage-label {
  font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cyan);
}
#fp-hero .fp-log { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: rgba(244,248,249,.64); }
#fp-hero .fp-pct { margin-left: auto; font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: rgba(244,248,249,.62); }

#fp-hero .fp-scrub {
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px;
  background: transparent; cursor: grab; margin: 0;
}
#fp-hero .fp-scrub:active { cursor: grabbing; }
#fp-hero .fp-scrub:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
#fp-hero .fp-scrub::-webkit-slider-runnable-track {
  height: 3px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(39,224,206,.95) calc(var(--p) * 100%), rgba(255,255,255,.15) calc(var(--p) * 100%));
}
#fp-hero .fp-scrub::-moz-range-track { height: 3px; border-radius: 999px; background: rgba(255,255,255,.15); }
#fp-hero .fp-scrub::-moz-range-progress { height: 3px; border-radius: 999px; background: rgba(39,224,206,.95); }
#fp-hero .fp-scrub::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin-top: -9px;
  border-radius: 999px; background: #fff; border: 3px solid var(--cyan);
  box-shadow: 0 0 0 6px rgba(39,224,206,.14);
}
#fp-hero .fp-scrub::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 999px; background: #fff;
  border: 3px solid var(--cyan); box-shadow: 0 0 0 6px rgba(39,224,206,.14);
}

/* --------------------------------------------------------------- the demo site
   Authored at 1200x760. Real content, real structure — it is a page, not a picture. */
#fp-hero .fp-demo nav { display: flex; align-items: center; gap: 26px; padding: 18px 40px; border-bottom: 1px solid #e6ebf3; }
#fp-hero .fp-demo .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
#fp-hero .fp-demo .brand i {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: #0b1230; color: #fff; font-size: 12px; font-weight: 800; font-style: normal;
}
#fp-hero .fp-demo nav ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: #56607a; }
#fp-hero .fp-demo nav .tel {
  margin-left: auto; background: #0b1230; color: #fff; padding: 10px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 700;
}
#fp-hero .fp-demo .band { display: grid; grid-template-columns: 1.05fr .95fr; height: 330px; }
#fp-hero .fp-demo .band .copy { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
#fp-hero .fp-demo .kicker { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #0d7a5f; font-weight: 700; }
#fp-hero .fp-demo .fp-demo-h1 { font-size: 46px; line-height: 1.02; letter-spacing: -.03em; margin: 0; font-weight: 800; }
#fp-hero .fp-demo .lede { font-size: 15px; line-height: 1.6; color: #56607a; margin: 0; max-width: 42ch; }
#fp-hero .fp-demo .row { display: flex; gap: 10px; margin-top: 4px; }
#fp-hero .fp-demo .cta { padding: 13px 20px; border-radius: 9px; font-size: 13.5px; font-weight: 700; }
#fp-hero .fp-demo .cta.solid { background: #2357ff; color: #fff; }
#fp-hero .fp-demo .cta.line { border: 1.5px solid #cfd7e6; }
#fp-hero .fp-demo .trust { display: flex; gap: 18px; font-size: 11.5px; color: #56607a; margin-top: 6px; }
#fp-hero .fp-demo .trust b { color: #0b1230; }
#fp-hero .fp-demo .services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 26px 40px 30px; }
#fp-hero .fp-demo .card { border: 1px solid #e6ebf3; border-radius: 12px; padding: 18px; }
#fp-hero .fp-demo .card i { font-style: normal; font-size: 19px; }
#fp-hero .fp-demo .card h3 { margin: 10px 0 6px; font-size: 15px; font-weight: 700; }
#fp-hero .fp-demo .card p { margin: 0; font-size: 12.5px; line-height: 1.5; color: #56607a; }
#fp-hero .fp-demo footer {
  display: flex; gap: 18px; align-items: center; padding: 16px 40px;
  border-top: 1px solid #e6ebf3; font-size: 11.5px; color: #56607a;
}
#fp-hero .fp-demo footer span:last-child { margin-left: auto; }

@media (prefers-reduced-motion: reduce) {
  #fp-hero .fp-live i { animation: none; }
}
