/* Prospectio landing page — prospectio.co.uk
   Editorial-modern marketing site. Inherits brand tokens from ./styles.css. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* subtle paper grain over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  pointer-events: none;
  z-index: 1;
}
body > * { position: relative; z-index: 2; }

a { color: var(--petrol); text-decoration: none; }
a:hover { color: var(--petrol-light); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
img, svg { display: block; }

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---- Eyebrow ---- */
.eyebrow {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--copper-dark);
}
.eyebrow.muted { color: var(--text-muted); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 22px; border-radius: var(--radius-sm);
  font-family: var(--font-ui); font-size: 15.5px; font-weight: 600;
  cursor: pointer; white-space: nowrap; border: 1px solid transparent;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.btn svg { width: 17px; height: 17px; }
.btn-cta { background: var(--copper); color: var(--paper); border-color: var(--copper); }
.btn-cta:hover { background: #9C5526; border-color: #9C5526; color: var(--paper); }
.btn-petrol { background: var(--petrol); color: var(--paper); border-color: var(--petrol); }
.btn-petrol:hover { background: var(--petrol-light); border-color: var(--petrol-light); color: var(--paper); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--hairline-strong); }
.btn-outline:hover { background: var(--paper-raised); color: var(--ink); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16.5px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .wordmark { font-family: var(--font-display); font-weight: 600; font-size: 23px; letter-spacing: -0.01em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-secondary); }
.nav-links a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--hairline-strong); border-radius: var(--radius-sm); width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; stroke: var(--ink); }

/* ---- Section scaffolding ---- */
section { padding: 92px 0; }
.section-divider { border-top: 1px solid var(--hairline); }
.section-head { max-width: 640px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 14px; }
.section-head p { margin-top: 14px; color: var(--text-secondary); font-size: 17.5px; }

/* ---- Hero ---- */
.hero { padding: 76px 0 84px; }
.hero .wrap { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.6vw, 68px); margin-top: 20px; }
.hero .sub { margin-top: 22px; font-size: 19px; line-height: 1.55; color: var(--text-secondary); max-width: 480px; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-actions .note { font-size: 13.5px; color: var(--text-muted); }
.reassure { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.reassure .item { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-secondary); }
.reassure .item svg { width: 17px; height: 17px; stroke: var(--status-positive); flex: none; }

/* ---- Hero lead card ---- */
.lead-card {
  position: relative; background: var(--paper-raised); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 1px 2px rgba(23,21,15,0.04);
}
.lead-card .card-mark { position: absolute; top: 22px; right: 22px; width: 34px; height: 34px; opacity: 0.9; }
.lead-card .lc-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-muted); text-transform: uppercase; }
.lead-card h3 { font-family: var(--font-ui); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; margin-top: 10px; color: var(--ink); }
.lead-card .lc-postcode { font-family: var(--font-mono); font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.lc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius-md); overflow: hidden; margin-top: 20px; }
.lc-cell { background: var(--paper); padding: 13px 15px; }
.lc-cell .k { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-muted); }
.lc-cell .v { font-family: var(--font-mono); font-size: 18px; font-weight: 600; color: var(--ink); margin-top: 5px; }
.lc-cell .v.copper { color: var(--copper-dark); }
.lc-owner { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.lc-owner .badge { width: 24px; height: 24px; border-radius: 50%; background: var(--status-positive); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.lc-owner .badge svg { width: 13px; height: 13px; stroke: var(--paper); stroke-width: 2.5; }
.lc-owner .txt { font-size: 13.5px; color: var(--text-secondary); }
.lc-owner .txt b { color: var(--ink); font-weight: 600; }
.lc-source { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); margin-top: 14px; }

/* ---- Proof point ---- */
.proof { padding: 70px 0; }
.proof .inset { background: var(--paper-raised); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 48px 44px; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.proof .figure { font-family: var(--font-display); font-weight: 600; font-size: clamp(48px, 7vw, 76px); letter-spacing: -0.03em; color: var(--petrol); line-height: 1; white-space: nowrap; }
.proof .figure small { display: block; font-family: var(--font-ui); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--text-muted); margin-top: 8px; text-transform: none; }
.proof blockquote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.6vw, 27px); line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.proof .attrib { margin-top: 14px; font-size: 14px; color: var(--text-muted); }

/* ---- The problem ---- */
.problem-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.problem-item { padding-top: 18px; border-top: 1px solid var(--hairline-strong); }
.problem-item .ph { font-family: var(--font-ui); font-weight: 700; font-size: 16px; color: var(--ink); }
.problem-item p { margin-top: 8px; font-size: 15px; color: var(--text-secondary); line-height: 1.55; }

/* ---- What it does ---- */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.cap {
  background: var(--surface-card); border: 1px solid var(--hairline); border-radius: var(--radius-md);
  padding: 26px; box-shadow: 0 1px 2px rgba(23,21,15,0.04);
}
.cap .ico { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--petrol-tint); display: inline-flex; align-items: center; justify-content: center; }
.cap .ico svg { width: 22px; height: 22px; stroke: var(--petrol); stroke-width: 1.75; fill: none; }
.cap h3 { font-family: var(--font-ui); font-weight: 700; font-size: 18.5px; letter-spacing: -0.005em; margin-top: 18px; color: var(--ink); }
.cap p { margin-top: 9px; font-size: 15px; color: var(--text-secondary); line-height: 1.55; }

/* ---- How it works ---- */
.how { background: var(--paper-raised); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.step { border-top: 2px solid var(--petrol); padding-top: 20px; }
.step .num { font-family: var(--font-mono); font-size: 13px; color: var(--copper-dark); }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 23px; margin-top: 10px; color: var(--ink); }
.step p { margin-top: 10px; font-size: 15.5px; color: var(--text-secondary); line-height: 1.55; }

/* ---- Who it's for ---- */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.who-card { border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 24px; background: var(--surface-card); }
.who-card .ico { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; }
.who-card .ico svg { width: 24px; height: 24px; stroke: var(--petrol); stroke-width: 1.6; fill: none; }
.who-card h3 { font-family: var(--font-ui); font-weight: 700; font-size: 17px; margin-top: 14px; color: var(--ink); }
.who-card p { margin-top: 7px; font-size: 14.5px; color: var(--text-secondary); }
.who-secondary { margin-top: 22px; font-size: 15px; color: var(--text-muted); }
.who-secondary b { color: var(--text-secondary); font-weight: 600; }

/* ---- Honest status ---- */
.status-band { display: flex; align-items: center; gap: 18px; padding: 26px 30px; background: var(--surface-card); border: 1px solid var(--hairline); border-left: 3px solid var(--copper); border-radius: var(--radius-md); }
.status-band .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--copper); flex: none; box-shadow: 0 0 0 4px var(--copper-tint); }
.status-band p { font-size: 17px; color: var(--ink); }
.status-band p b { font-weight: 600; }

/* ---- About ---- */
.about .wrap { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: start; }
.about-body p { font-size: 17px; color: var(--text-secondary); line-height: 1.62; margin-top: 16px; }
.about-body p:first-child { margin-top: 22px; }
.about-body b { color: var(--ink); font-weight: 600; }
.about-card { background: var(--petrol); color: var(--paper); border-radius: var(--radius-lg); padding: 28px; }
.about-card .label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(245,241,232,0.6); }
.about-card .name { font-family: var(--font-display); font-weight: 600; font-size: 24px; margin-top: 12px; }
.about-card .meta { font-size: 14px; color: rgba(245,241,232,0.8); margin-top: 8px; line-height: 1.55; }
.about-card .reg { font-family: var(--font-mono); font-size: 12px; color: rgba(245,241,232,0.66); margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(245,241,232,0.18); }

/* ---- FAQ ---- */
.faq { background: var(--paper-raised); }
.faq-list { margin-top: 40px; border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: var(--font-ui); font-size: 18px; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .marker { position: relative; width: 18px; height: 18px; flex: none; }
.faq-item .marker::before, .faq-item .marker::after { content: ""; position: absolute; background: var(--petrol); border-radius: 2px; transition: transform 160ms ease, opacity 160ms ease; }
.faq-item .marker::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-item .marker::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item[open] .marker::after { transform: scaleY(0); opacity: 0; }
.faq-item .answer { padding: 0 42px 24px 0; font-size: 16px; color: var(--text-secondary); line-height: 1.62; max-width: 760px; }
.faq-item .answer a { font-weight: 600; }

/* ---- Closing CTA ---- */
.closing { background: var(--petrol); color: var(--paper); text-align: center; }
.closing .mark-wrap { display: inline-flex; padding: 12px; border: 1px solid rgba(245,241,232,0.22); border-radius: var(--radius-md); }
.closing h2 { font-size: clamp(32px, 4.6vw, 50px); margin-top: 26px; color: var(--paper); }
.closing p { margin: 16px auto 0; max-width: 480px; font-size: 17.5px; color: rgba(245,241,232,0.8); }
.closing .btn-cta { margin-top: 34px; }
.closing .micro { margin-top: 18px; font-size: 13.5px; color: rgba(245,241,232,0.6); }

/* ---- Footer ---- */
.site-footer { background: var(--paper-raised); border-top: 1px solid var(--hairline); padding: 56px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer-brand .wordmark { font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--ink); }
.footer-brand p { margin-top: 14px; font-size: 14px; color: var(--text-muted); max-width: 280px; line-height: 1.55; }
.footer-col h4 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin: 0 0 14px; }
.footer-col a, .footer-col .nap { display: block; font-size: 14px; color: var(--text-secondary); margin-bottom: 9px; }
.footer-col .nap.mono { font-family: var(--font-mono); font-size: 13px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hairline); flex-wrap: wrap; }
.footer-bottom span, .footer-bottom a { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); }

/* ---- Booking modal ---- */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(23,21,15,0.46); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-backdrop.open { display: flex; }
.modal { width: 100%; max-width: 720px; max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--hairline-strong); border-radius: var(--radius-lg); box-shadow: 0 24px 60px -16px rgba(23,21,15,0.4); overflow: hidden; }
.modal-head { flex: none; }
.modal-body { flex: 1; min-height: 0; overflow: hidden; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--hairline); }
.modal-head .t { display: flex; align-items: center; gap: 12px; }
.modal-head .t .ttl { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); }
.modal-head .t .sub { font-size: 12.5px; color: var(--text-muted); }
.modal-close { background: none; border: none; cursor: pointer; width: 34px; height: 34px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--paper-raised); }
.modal-close svg { width: 18px; height: 18px; stroke: var(--ink); }
.modal-body { padding: 0; }
.cal-embed { display: block; width: 100%; height: 720px; border: 0; background: var(--paper); }
@media (max-height: 800px) { .cal-embed { height: 70vh; min-height: 460px; } }

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .who-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-order-card { order: 2; }
  .cap-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .who-grid { grid-template-columns: 1fr; }
  .problem-row { grid-template-columns: 1fr; }
  .about .wrap { grid-template-columns: 1fr; gap: 32px; }
  .proof .inset { grid-template-columns: 1fr; gap: 24px; text-align: left; padding: 36px 30px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links, .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta .nav-toggle { display: inline-flex; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .cal-mock { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* mobile drawer */
.mobile-nav { display: none; }
.mobile-nav.open { display: block; border-bottom: 1px solid var(--hairline); background: var(--paper); }
.mobile-nav nav { display: flex; flex-direction: column; padding: 12px 24px 20px; }
.mobile-nav nav a { padding: 12px 0; font-size: 16px; font-weight: 500; color: var(--text-secondary); border-bottom: 1px solid var(--hairline); }
.mobile-nav .btn { width: 100%; margin-top: 16px; }
