/* SPADE funnel: shared styles. Colours match spade.services. */

:root {
  --bg: #0a0a0a;
  --bg-elev: #1c1c1c;
  --bg-elev-2: #242424;
  --bg-soft: #111111;
  --text: #f6f4f1;
  --text-dim: #a8a6a1;
  --accent: #c8b07a;
  --accent-hover: #d6c08e;
  --accent-dim: #3a3220;
  --line: #2e2e2e;
  --ink: #0a0a0a;
  --red: #e5675f;
  --radius: 14px;
  --max: 1160px;
  --display: "Inter Tight", Inter, "Helvetica Neue", Arial, sans-serif;
  --body: Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, video, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
fieldset { border: 0; min-width: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; }
h1 { font-size: clamp(40px, 6vw, 78px); }
h2 { font-size: clamp(30px, 4.2vw, 52px); }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--text-dim); max-width: 620px; }
.small { font-size: 14px; color: var(--text-dim); }
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.alt { background: var(--bg-soft); }

/* Playing-card marker */
.pip {
  display: inline-grid; grid-template-rows: auto 1fr; width: 32px; height: 44px; padding: 4px 5px; flex: none;
  border: 1px solid var(--line); border-radius: 5px; font: 600 12px/1 var(--display); color: var(--text); background: var(--bg-elev);
}
.pip::after { content: "\2660"; place-self: center; font-size: 14px; color: var(--accent); }
.card-index { position: absolute; font: 600 13px/1.05 var(--display); text-align: center; color: var(--text-dim); }
.card-index.tl { top: 12px; left: 14px; }
.card-index.br { bottom: 12px; right: 14px; transform: rotate(180deg); }

/* Buttons: gold primary, as on the main site */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--ink); font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--accent-hover); border-color: var(--accent-hover); }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline:hover { background: transparent; border-color: var(--text-dim); }
.btn[disabled] { opacity: .35; cursor: not-allowed; transform: none; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(10,10,10,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 15px var(--display); letter-spacing: 0.34em; text-decoration: none; }
.logo .s { font-size: 16px; letter-spacing: 0; color: var(--accent); }
.header-note { font-size: 13px; color: var(--text-dim); }
@media (max-width: 420px) { .site-header .btn-sm { padding: 0 14px; font-size: 13px; } }

/* Sections */
section { padding: 104px 0; border-top: 1px solid var(--line); }
.hero { border-top: 0; }
.section-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 44px; }
.section-head h2 { margin-top: 10px; }
.section-head .lead { margin-top: 14px; }
@media (max-width: 880px) {
  section { padding: 64px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head .pip { display: none; }
}

/* Hero */
.hero { padding: 64px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero h1 { margin: 18px 0 22px; text-transform: uppercase; font-size: clamp(36px, 4.8vw, 62px); line-height: 1.02; }
.hero .qual { margin-top: 18px; font-size: 15px; color: var(--text-dim); max-width: 520px; padding-left: 14px; border-left: 2px solid var(--accent); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 34px; }

/* A fanned "hand" of the three proof cards, desktop only */
.hand { position: relative; height: 380px; display: block; text-decoration: none; }
.hand span { position: absolute; top: 40px; left: 50%; width: 190px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0b141a; box-shadow: 0 24px 48px -24px rgba(0,0,0,.9); transition: transform .3s ease; }
.hand span img { width: 100%; }
.hand span:nth-child(1) { transform: translateX(-102%) rotate(-7deg); }
.hand span:nth-child(2) { transform: translateX(-50%) translateY(-16px); z-index: 2; }
.hand span:nth-child(3) { transform: translateX(2%) rotate(7deg); }
.hand:hover span:nth-child(1) { transform: translateX(-106%) rotate(-9deg); }
.hand:hover span:nth-child(3) { transform: translateX(6%) rotate(9deg); }
.hand em { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-style: normal; font-size: 13px; color: var(--text-dim); }
@media (max-width: 1100px) { .hero-grid { grid-template-columns: 1fr; } .hand { display: none; } }
@media (max-width: 960px) { .hero { padding: 40px 0 48px; } }

/* Client proof cards */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.proof-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); padding: 42px 22px 44px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s ease, border-color .25s ease; }
.proof-card:hover { transform: translateY(-3px); border-color: var(--accent-dim); }
.proof-card .who { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.proof-card h3 { font-size: clamp(26px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.proof-card p { color: var(--text-dim); font-size: 15px; }
.shot { display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #0b141a; cursor: zoom-in; position: relative; margin-top: 8px; }
.shot img { width: 100%; height: auto; }
.shot::after { content: "Tap to enlarge"; position: absolute; right: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.75); color: #fff; font-size: 11px; font-weight: 500; opacity: 0; transition: opacity .2s ease; }
.shot:hover::after, .shot:focus-visible::after { opacity: 1; }
@media (hover: none) { .shot::after { opacity: 1; } }
.disclaimer { margin-top: 26px; font-size: 13px; line-height: 1.55; color: var(--text-dim); max-width: 760px; }
@media (max-width: 960px) { .proof-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* Campaign evidence */
.evidence { display: grid; gap: 20px; }
.ev { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-elev); }
.ev .shot { margin: 0; border-radius: 0; background: #fff; }
.ev-body { padding: 24px 28px 26px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.ev-kind { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.ev-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ev-stat + .ev-stat { padding-left: 16px; border-left: 1px solid var(--line); }
.ev-stat .n { font: 700 clamp(26px, 3vw, 40px)/1.05 var(--display); letter-spacing: -0.03em; }
.ev-stat .t { font-size: 14px; color: var(--text-dim); margin-top: 4px; }
.ev-note { font-size: 13px; color: var(--text-dim); }
@media (max-width: 600px) {
  .ev-body { padding: 20px; }
  .ev-stats { gap: 10px; }
  .ev-stat + .ev-stat { padding-left: 10px; }
  .ev-stat .n { font-size: 22px; }
  .ev-stat .t { font-size: 12px; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 30px 30px 6px 0; }
.step + .step { padding-left: 30px; border-left: 1px solid var(--line); }
.step .num { font: 600 15px var(--display); color: var(--accent); margin-bottom: 16px; }
.step p { color: var(--text-dim); margin-top: 10px; font-size: 16px; }
.closer { margin-top: 40px; font: 600 clamp(22px, 2.4vw, 28px)/1.25 var(--display); letter-spacing: -0.02em; max-width: 760px; }
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 22px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .step .num { margin-bottom: 8px; }
}

/* Credibility strip */
.cred { padding: 0; }
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.cred-item { padding: 30px 24px 30px 0; }
.cred-item + .cred-item { padding-left: 24px; border-left: 1px solid var(--line); }
.cred-item .n { font: 700 clamp(22px, 2.2vw, 28px)/1.15 var(--display); letter-spacing: -0.03em; }
.cred-item .t { font-size: 14px; color: var(--text-dim); margin-top: 6px; }
@media (max-width: 880px) {
  .cred-grid { grid-template-columns: 1fr; }
  .cred-item, .cred-item + .cred-item { padding: 20px 0; border-left: 0; }
  .cred-item + .cred-item { border-top: 1px solid var(--line); }
}

/* Final qualification CTA */
.final { text-align: center; padding: 112px 0; }
.final h2 { max-width: 760px; margin: 18px auto 0; }
.final .lead { margin: 18px auto 0; }
.final .hero-cta { justify-content: center; }
.slogan { font: 500 15px var(--display); color: var(--text-dim); margin-top: 48px; }

/* Footer */
.site-footer { background: var(--bg); color: var(--text-dim); border-top: 1px solid var(--line); font-size: 13px; padding: 30px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Mobile sticky CTA */
.sticky {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none;
  min-height: 56px; border-radius: 999px; background: var(--accent); color: var(--ink);
  align-items: center; justify-content: center; gap: 10px; font-weight: 600; text-decoration: none;
  box-shadow: 0 12px 32px -10px rgba(0,0,0,.7); transition: opacity .2s ease, transform .2s ease;
}
.sticky.hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
@media (max-width: 880px) { .sticky { display: flex; } .has-sticky .site-footer { padding-bottom: 96px; } }

/* Lightbox */
.lightbox { margin: auto; padding: 0; border: 0; background: transparent; color: var(--text); max-width: min(96vw, 1200px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox img { max-width: min(96vw, 1200px); max-height: 80vh; width: auto; height: auto; margin: 0 auto; border-radius: 8px; }
.lightbox-scroll { max-width: min(96vw, 1200px); overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; }
.lightbox.wide { width: min(96vw, 1200px); }
.lightbox.wide img { max-width: none; max-height: none; width: 100%; min-width: 1100px; border-radius: 0; }
.lightbox-close { display: block; margin: 0 0 10px auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-size: 14px; }
.lightbox-cap { color: var(--text-dim); font-size: 14px; text-align: center; margin-top: 10px; }

/* ------- Funnel step pages ------- */
.step-page { min-height: calc(100vh - 64px); display: flex; flex-direction: column; }
.progress { height: 2px; background: var(--line); }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s ease; }
.form-shell { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 72px 24px 96px; }
@media (max-width: 600px) { .form-shell { padding: 36px 16px 64px; } }
.q-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.q h2 { font-size: clamp(30px, 4.2vw, 44px); }
.q .hint { color: var(--text-dim); margin-top: 12px; }
.q { display: none; }
.q.active { display: block; animation: rise .3s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .q.active { animation: none; } * { transition: none !important; scroll-behavior: auto !important; } }

.options { display: grid; gap: 10px; margin-top: 30px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option label {
  display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 14px 20px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg-elev); cursor: pointer; font-weight: 500;
  transition: border-color .15s ease, background .15s ease;
}
.option label:hover { border-color: var(--text-dim); }
.option label .key { flex: none; width: 26px; height: 32px; border: 1px solid var(--line); border-radius: 4px; display: grid; place-items: center; font: 600 12px var(--display); color: var(--text-dim); }
.option input:checked + label { border-color: var(--accent); background: var(--accent-dim); }
.option input:checked + label .key { border-color: var(--accent); color: var(--accent); }
.option input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.fields { display: grid; gap: 18px; margin-top: 30px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input {
  width: 100%; min-height: 58px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-elev); color: var(--text); font: 17px/1.4 var(--body);
}
.field input::placeholder { color: #6f6d69; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,176,122,.15); }
.field .err { display: none; color: var(--red); font-size: 13px; margin-top: 6px; }
.field.invalid input { border-color: var(--red); }
.field.invalid .err { display: block; }
.consent { font-size: 13px; color: var(--text-dim); margin-top: 20px; }

.q-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 34px; }
.back { background: none; border: 0; font: 500 15px var(--body); color: var(--text-dim); cursor: pointer; padding: 8px 0; }
.back:hover { color: var(--text); }
.back.is-hidden { visibility: hidden; }
@media (max-width: 600px) { .q-nav { flex-direction: column-reverse; align-items: stretch; } .q-nav .btn { width: 100%; } .back { align-self: center; } }

/* Booking */
.book-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.book-grid h1 { font-size: clamp(34px, 4.6vw, 56px); margin: 20px 0 16px; }
.covers { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 16px; }
.covers h3 { font: 600 15px var(--body); letter-spacing: 0; margin-bottom: 12px; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; color: var(--text-dim); font-size: 16px; }
.checklist li::before { content: "\2660"; color: var(--accent); font-size: 12px; padding-top: 4px; }
.cal-head { font: 700 24px var(--display); letter-spacing: -0.02em; margin-bottom: 14px; }
.calendar { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; min-height: 700px; }
.calendar iframe { width: 100%; height: 760px; border: 0; }
.calendar .calendly-inline-widget { min-width: 300px; height: 760px; }
.after-book { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.no-obligation { margin-top: 18px; font-size: 13px; color: var(--text-dim); }
@media (max-width: 980px) { .book-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Centred pages (confirmed / not a fit) */
.centre { max-width: 720px; margin: 0 auto; }
.centre-head { text-align: center; }
.centre h1 { font-size: clamp(40px, 6vw, 68px); margin: 24px 0 16px; }
.centre .lead { margin: 0 auto; }
.big-card { width: 84px; height: 116px; margin: 0 auto; border: 1px solid var(--line); border-radius: 10px; position: relative; background: var(--bg-elev); }
.big-card::after { content: "\2660"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 32px; color: var(--accent); }
.prep { margin-top: 44px; border-top: 1px solid var(--line); }
.prep .row { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.prep .row .k { font: 600 14px var(--display); color: var(--accent); padding-top: 2px; }
.video-slot { margin-top: 56px; }
.video-slot h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--bg-elev); border: 1px solid var(--line); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-dim); font-size: 14px; text-align: center; }
.video-frame .play { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.video-frame .play::before { content: ""; margin-left: 4px; border-left: 14px solid var(--ink); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.signoff { text-align: center; margin-top: 64px; }
.signoff .logo { justify-content: center; font-size: 18px; }
.signoff p { color: var(--text-dim); margin-top: 8px; font-family: var(--display); }

/* Cookie consent (only shown once a Pixel or GA4 ID is set) */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-left: auto;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.8);
  display: grid; gap: 14px;
}
.consent-banner p { font-size: 14px; color: var(--text-dim); }
.consent-banner a { color: var(--accent); }
.consent-actions { display: flex; gap: 10px; }
.consent-actions .btn { flex: 1; }
.consent-open .sticky { opacity: 0; pointer-events: none; }
.cookie-settings { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.cookie-settings:hover { color: var(--text); }
