/* risecross.com homepage. Same look as check.risecross.com; colours and fonts live in brand.css (generated from the brand tokens). */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  font-size-adjust: from-font;
}
img, svg, video, iframe { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
section { padding-block: 6rem; }
@media (max-width: 720px) { section { padding-block: 4rem; } body { font-size: 1rem; } }

.visually-hidden { position: absolute; clip-path: inset(50%); overflow: hidden; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; white-space: nowrap; }

/* Section colours */
.on-navy { background: var(--navy); color: var(--white); }
.on-navy a { color: var(--gold); }
.on-cream { background: var(--soft-cream); }

/* Small gold line above headings, on navy only (gold is never text on light backgrounds) */
.kicker { font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; color: var(--gold); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.kicker::before { content: ""; width: 2rem; height: 2px; background: var(--gold); }
.label { font-weight: 600; font-size: 0.95rem; color: var(--navy); margin-bottom: 0.75rem; }

h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.25rem); font-weight: 700; margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.25rem); font-weight: 600; margin-bottom: 0.5rem; }

/* Buttons: plain gold, Ink text, everywhere */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 52px; padding: 0.85rem 1.6rem;
  background: var(--gold); color: var(--ink);
  font: 700 1.0625rem/1.2 var(--font-body);
  border: 2px solid var(--gold); border-radius: 6px;
  text-decoration: none; cursor: pointer;
  transition: translate 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { translate: 0 -2px; box-shadow: 0 6px 0 -2px rgb(0 0 0 / 0.18); }
.btn:active { translate: 0 0; box-shadow: none; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.on-navy .btn-outline { color: var(--gold); border-color: var(--gold); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-note { font-size: 0.95rem; margin-top: 0.85rem; color: inherit; opacity: 0.85; }

/* Header: sticky, shrinks over the first 120px of scroll (scroll-driven animation, decorative, so no fallback) */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--navy); border-bottom: 1px solid rgb(216 173 95 / 0.18); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.1rem; }
.site-header .logo img { width: 150px; height: auto; transform-origin: left center; }
.site-header nav ul { list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0; }
.site-header nav a { color: var(--white); text-decoration: none; font-weight: 500; font-size: 0.975rem; }
.site-header nav a:hover { color: var(--gold); text-decoration: underline; }
.site-header .btn { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.95rem; }
@media (max-width: 860px) { .site-header nav { display: none; } .site-header .logo img { width: 128px; } }
@media (max-width: 400px) { .site-header .btn { padding-inline: 0.8rem; font-size: 0.875rem; } }
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes header-tight { to { padding-block: 0.55rem; } }
    @keyframes logo-small { to { scale: 0.82; } }
    @keyframes header-shadow { to { box-shadow: 0 6px 18px rgb(25 30 47 / 0.35); } }
    .site-header { animation: header-shadow auto linear both; animation-timeline: scroll(block root); animation-range: 0px 120px; }
    .site-header .wrap { animation: header-tight auto linear both; animation-timeline: scroll(block root); animation-range: 0px 120px; }
    .site-header .logo img { animation: logo-small auto linear both; animation-timeline: scroll(block root); animation-range: 0px 120px; }
  }
}

/* Hero, with the crosshair from the logo as a quiet line graphic */
.hero { position: relative; overflow: hidden; padding-block: 3.5rem 5.5rem; }
.hero-grid { position: relative; display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; }

.hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); font-weight: 800; letter-spacing: -0.01em; max-width: 20ch; margin-bottom: 1.5rem; }
.hero .lede { font-size: 1.1875rem; max-width: 40ch; color: rgb(255 255 255 / 0.92); margin-bottom: 2rem; }
@media (max-width: 860px) {
  .hero.has-video .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding-block: 2.5rem 4rem; }
  .hero .lede { font-size: 1.0625rem; }
}

/* Booking block */
.booking { padding-block: 5rem; }
.booking-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 3.5rem; align-items: start; }
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; gap: 2.5rem; } .booking { padding-block: 3.5rem; } }
.booking-card { background: var(--white); border: 1px solid #DDD5BF; border-top: 4px solid var(--navy); border-radius: 6px; padding: clamp(1.25rem, 3vw, 2.5rem); }
.steps-progress { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 1.75rem; font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.steps-progress li { flex: 1; padding-top: 0.6rem; border-top: 3px solid #E4DCC6; }
.steps-progress li[aria-current="step"] { color: var(--navy); border-top-color: var(--gold); }
.steps-progress li.done { color: var(--navy); border-top-color: var(--navy); }
.step:focus { outline: none; }
.step h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.35rem; }
.step .hint { color: var(--muted); font-size: 1rem; margin-bottom: 1.5rem; }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
.trades { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 0.65rem; }
.trades button {
  min-height: 56px; padding: 0.75rem 1rem; text-align: left;
  font: 600 1rem/1.25 var(--font-body); color: var(--ink);
  background: var(--paper); border: 2px solid #D9D0B8; border-radius: 6px; cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.trades button:hover { border-color: var(--navy); background: var(--white); }
.trades button.other { color: var(--muted); font-weight: 500; }
.not-a-fit { padding: 0.25rem 0; }

.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.15rem; }
.field label { font-weight: 500; font-size: 1rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  font: inherit; font-size: max(1rem, 1em); width: 100%;
  min-height: 52px; padding: 0.75rem 0.9rem;
  color: var(--ink); background: var(--white);
  border: 2px solid #8A8F9E; border-radius: 6px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #B3261E; }
.field .error { color: #B3261E; font-size: 0.95rem; font-weight: 500; }
.field .error:empty { display: none; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .two-col { grid-template-columns: 1fr; } }
.small { font-size: 0.875rem; color: var(--muted); margin-top: 1rem; }
.form-status { font-weight: 500; color: #B3261E; margin-top: 1rem; }
.form-status:empty { display: none; }
.cf-turnstile { margin-block: 0.5rem 1.25rem; min-height: 65px; }
.back-link { all: unset; cursor: pointer; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; font-size: 0.95rem; margin-bottom: 1rem; display: inline-block; }
.back-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.calendar-slot { min-height: 640px; }
.calendar-placeholder { border: 2px dashed var(--gold); border-radius: 6px; min-height: 420px; display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--navy); background: var(--paper); }

.fit h3 { font-size: 1.125rem; margin-bottom: 0.85rem; }
.fit ul { list-style: none; margin: 0 0 2rem; padding: 0; }
.fit li { padding: 0.6rem 0 0.6rem 2rem; position: relative; border-bottom: 1px solid #E4DCC6; font-size: 1rem; }
.fit .yes li::before { content: ""; position: absolute; left: 0.2rem; top: 1.05rem; width: 0.85rem; height: 0.45rem; border-left: 3px solid var(--navy); border-bottom: 3px solid var(--navy); rotate: -45deg; }
.fit .no li::before, .fit .no li::after { content: ""; position: absolute; left: 0.15rem; top: 1.2rem; width: 1rem; height: 3px; background: var(--muted); rotate: 45deg; }
.fit .no li::after { rotate: -45deg; }

/* How the call goes: numbered rows, not cards */
.call-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
.call-steps li { counter-increment: s; display: grid; grid-template-columns: 4rem 1fr; gap: 1.5rem; padding-block: 1.75rem; border-top: 1px solid #DCD3BB; }
.call-steps li:last-child { border-bottom: 1px solid #DCD3BB; }
.call-steps li::before { content: counter(s); width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--navy); color: var(--gold); font: 700 1.375rem/1 var(--font-head); border-radius: 4px; }
.call-steps p { max-width: 60ch; }
.two-up { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; }
@media (max-width: 860px) { .two-up { grid-template-columns: 1fr; gap: 1.5rem; } .call-steps li { grid-template-columns: 3rem 1fr; gap: 1rem; } .call-steps li::before { width: 2.5rem; height: 2.5rem; font-size: 1.15rem; } }

/* Proof */
.proof h2 { max-width: 22ch; }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-block: 3rem 4rem; border-top: 1px solid rgb(216 173 95 / 0.4); }
.numbers div { padding: 1.75rem 1.5rem 0 0; }
.numbers div + div { padding-left: 1.5rem; border-left: 1px solid rgb(216 173 95 / 0.4); }
.numbers strong { display: block; font: 800 clamp(2rem, 1.4rem + 2.2vw, 3rem)/1.05 var(--font-head); color: var(--gold); margin-bottom: 0.5rem; }
.numbers span { color: rgb(255 255 255 / 0.85); font-size: 1rem; }
@media (max-width: 760px) { .numbers { grid-template-columns: 1fr; } .numbers div, .numbers div + div { padding: 1.25rem 0; border-left: 0; border-bottom: 1px solid rgb(216 173 95 / 0.4); } }
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }
.review { margin: 0; padding: 2rem; background: rgb(255 255 255 / 0.05); border-left: 3px solid var(--gold); }
.stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.stars svg { width: 20px; height: 20px; fill: var(--gold); }
.review blockquote { margin: 0 0 1.25rem; font-size: 1.0625rem; }
.review blockquote p { margin-bottom: 0.6em; }
.review figcaption { font-weight: 600; color: var(--gold); font-size: 0.95rem; }
.review figcaption span { display: block; font-weight: 400; color: rgb(255 255 255 / 0.7); }
.tp-line { margin-top: 2rem; font-size: 0.95rem; }
.guarantee { margin-top: 4rem; padding: 2rem clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--gold); border-radius: 6px; display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
/* Guarantee seal: gold rosette edge, navy face, from the brand colours */
.seal { width: 9.5rem; height: 9.5rem; filter: drop-shadow(0 6px 14px rgb(0 0 0 / 0.3)); }
.seal .g { fill: var(--gold); }
.seal .n { fill: var(--navy); }
.seal .ring { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.seal text { font-family: var(--font-head); }
.seal .arc { font-size: 13.5px; font-weight: 700; letter-spacing: 2.5px; fill: var(--gold); }
.seal .big { font-size: 50px; font-weight: 800; fill: var(--white); }
.seal .days { font-size: 13px; font-weight: 700; letter-spacing: 4px; fill: var(--gold); }
.guarantee p { font: 600 clamp(1.125rem, 1rem + 0.6vw, 1.375rem)/1.35 var(--font-head); }
.guarantee .lead-in { display: block; font: 500 0.95rem/1.4 var(--font-body); color: var(--gold); margin-bottom: 0.35rem; }
@media (max-width: 560px) { .guarantee { grid-template-columns: 1fr; justify-items: center; text-align: center; } .seal { width: 8.5rem; height: 8.5rem; } }

/* Why free: a big statement, no box */
.statement { font: 700 clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem)/1.25 var(--font-head); max-width: 24ch; margin-bottom: 2rem; }
.statement-body { max-width: 58ch; font-size: 1.125rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 3.5rem; align-items: center; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }
.photo-slot { aspect-ratio: 4 / 5; border: 2px solid var(--navy); border-radius: 6px; background: var(--paper) repeating-linear-gradient(45deg, transparent 0 14px, rgb(41 49 77 / 0.05) 14px 15px); display: grid; place-items: center; text-align: center; padding: 1.5rem; font-weight: 600; color: var(--navy); max-width: 360px; }
.about p { font-size: 1.1875rem; max-width: 46ch; }

/* Questions, all open */
.faqs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3.5rem; }
@media (max-width: 760px) { .faqs { grid-template-columns: 1fr; } }
.faq { padding-block: 1.5rem; border-top: 1px solid #DCD3BB; }
.faq h3 { color: var(--navy); }
.faq p { font-size: 1rem; }

/* Closing band */
.closing { text-align: left; padding-block: 5rem; }
.closing h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 800; max-width: 22ch; margin-bottom: 2rem; }

/* Footer */
.site-footer { background: var(--navy); border-top: 1px solid rgb(216 173 95 / 0.3); color: rgb(255 255 255 / 0.8); padding-block: 3rem 6rem; font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.site-footer img { width: 130px; height: auto; margin-bottom: 0.75rem; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-footer a { color: var(--gold); }

/* Sticky book button on phones */
.sticky-book { position: fixed; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 20; display: none; }
.sticky-book .btn { width: 100%; box-shadow: 0 8px 24px rgb(25 30 47 / 0.35); }
@media (max-width: 760px) {
  .sticky-book { display: block; visibility: hidden; opacity: 0; translate: 0 1rem; transition: visibility 0.2s, opacity 0.2s ease, translate 0.2s ease; }
  .sticky-book.show { visibility: visible; opacity: 1; translate: 0 0; }
}

/* Buttons keep Ink text inside navy sections (the link colour rule must not win) */
.on-navy .btn, .on-navy a.btn { color: var(--ink); }
.on-navy .btn-outline { color: var(--gold); }

/* Hero proof column: trust in the first screen, video sits above it once filmed */
.hero-side { display: grid; gap: 1.5rem; }
.hero-proof { border: 1px solid rgb(216 173 95 / 0.45); border-radius: 6px; padding: 1.75rem 2rem; background: rgb(25 30 47 / 0.35); }
.hero-proof h2 { font: 600 0.95rem/1.3 var(--font-body); color: var(--gold); margin-bottom: 1rem; }
.hero-proof dl { margin: 0; display: grid; gap: 0; }
.hero-proof dl div { padding-block: 0.9rem; border-top: 1px solid rgb(216 173 95 / 0.25); }
.hero-proof dt { font: 800 clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem)/1.1 var(--font-head); color: var(--white); }
.hero-proof dd { margin: 0.2rem 0 0; font-size: 0.95rem; color: rgb(255 255 255 / 0.78); }
.hero-proof .tp { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgb(216 173 95 / 0.25); font-size: 0.95rem; }
.hero-proof .tp .stars { margin: 0; }
.hero-proof .tp .stars svg { width: 16px; height: 16px; }
.hero .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
@media (max-width: 860px) { .hero .hero-grid { grid-template-columns: 1fr; gap: 2.25rem; } }
@media (max-width: 560px) {
  .trades { grid-template-columns: 1fr 1fr; }
  .trades button { font-size: 0.95rem; padding: 0.7rem 0.8rem; }
  .hero-proof { padding: 1.25rem 1.25rem; }
  .hero-proof dl div { padding-block: 0.65rem; }
}

/* Before and after heatmaps */
.results h2 { max-width: 24ch; }
.results-key { max-width: 62ch; color: var(--ink); margin-bottom: 2.5rem; }
.key { font-weight: 700; padding: 0 0.35rem; border-radius: 3px; color: var(--white); }
.key-red { background: #B3261E; }
.key-green { background: #2E7D32; }
.result { margin: 0 0 3rem; }
.result:last-child { margin-bottom: 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .pair { grid-template-columns: 1fr; } }
.pair img { width: 100%; height: auto; aspect-ratio: 2.3 / 1; object-fit: cover; border: 1px solid #DCD3BB; border-radius: 6px; }
.when { font-weight: 700; color: var(--navy); font-size: 0.95rem; margin-bottom: 0.4rem; }
.result figcaption { margin-top: 1rem; font-size: 1rem; }

/* Sections fade up as they come into view (decorative: progressive enhancement, no fallback) */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes rise-in { from { opacity: 0; translate: 0 1.5rem; } }
    .reveal { animation: rise-in auto linear backwards; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}

/* Clients strip under the hero: logo tiles (placeholders until the logos arrive) */
.clients { padding-block: 1.75rem; border-bottom: 1px solid #E4DCC6; }
.clients .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.clients p { margin: 0; font-weight: 600; font-size: 0.95rem; color: var(--muted); }
.logo-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.75rem; flex: 1 1 40rem; }
.logo-tile { height: 56px; display: grid; place-items: center; text-align: center; padding: 0.35rem 0.6rem; border: 1px dashed #C9BFA4; border-radius: 6px; background: var(--white); font: 600 0.8rem/1.2 var(--font-body); color: var(--muted); }
@media (max-width: 760px) { .logo-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); flex-basis: 100%; } .logo-tile { font-size: 0.68rem; padding-inline: 0.25rem; } }

/* The problem: statement and the AI line, with a mock search beside it */
.problem { padding-block: 4rem 6rem; }
@media (max-width: 720px) { .problem { padding-block: 3rem 4rem; } }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "text google" "ai google"; gap: 2.5rem 4rem; align-items: start; }
.problem-text { grid-area: text; }
.fig-google { grid-area: google; align-self: center; }
.fig-ai { grid-area: ai; }
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; grid-template-areas: "text" "google" "ai"; gap: 2rem; } }
.mock-fig { margin: 0; }
.mock-fig figcaption { margin-top: 0.85rem; font-weight: 700; color: var(--navy); }
.problem .ai-line { margin-top: 2rem; padding-left: 1.25rem; border-left: 3px solid var(--gold); max-width: 58ch; font-size: 1.125rem; }

/* Mock search: a plain results list, no search engine branding, never a map */
.search-mock { margin: 0; background: var(--white); border: 1px solid #DCD3BB; border-radius: 10px; padding: 1.25rem; box-shadow: 0 14px 30px -18px rgb(25 30 47 / 0.35); font-size: 0.95rem; }
.sm-bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border: 1px solid #DCD3BB; border-radius: 999px; margin-bottom: 1rem; color: var(--ink); }
.sm-bar svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.sm-results { list-style: none; margin: 0; padding: 0; }
.sm-results li, .sm-you { display: grid; gap: 0.2rem; padding: 0.8rem 0.25rem; border-bottom: 1px solid #EEE7D5; }
.sm-name { font-weight: 600; color: var(--navy); }
.sm-meta { color: var(--muted); font-size: 0.875rem; display: flex; align-items: center; gap: 0.35rem; }
.sm-meta b { color: var(--ink); font-weight: 600; }
.sm-stars { --r: 5; display: inline-block; width: 70px; height: 13px; font-style: normal;
  background: linear-gradient(90deg, var(--gold) calc(var(--r) / 5 * 100%), #DCD3BB 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 13'%3E%3Cg%3E%3Cpath id='s' d='M6.5 0l1.9 4 4.4.5-3.3 3 .9 4.4-3.9-2.2-3.9 2.2.9-4.4-3.3-3 4.4-.5z'/%3E%3Cuse href='%23s' x='14'/%3E%3Cuse href='%23s' x='28'/%3E%3Cuse href='%23s' x='42'/%3E%3Cuse href='%23s' x='56'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 13'%3E%3Cg%3E%3Cpath id='s' d='M6.5 0l1.9 4 4.4.5-3.3 3 .9 4.4-3.9-2.2-3.9 2.2.9-4.4-3.3-3 4.4-.5z'/%3E%3Cuse href='%23s' x='14'/%3E%3Cuse href='%23s' x='28'/%3E%3Cuse href='%23s' x='42'/%3E%3Cuse href='%23s' x='56'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.sm-page { margin: 1rem 0 0.35rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.sm-you { border: 2px solid var(--gold); border-radius: 6px; padding-inline: 0.75rem; background: var(--paper); }

/* Services: a gold line icon on a navy square, the name, then the line. Every row the same height. */
.services-list { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; }
.services-list > li { display: grid; grid-template-columns: 3.5rem minmax(10rem, 0.75fr) 1.65fr; gap: 1.5rem; align-items: center; padding-block: 1.5rem; border-top: 1px solid #DCD3BB; }
.services-list > li:last-child { border-bottom: 1px solid #DCD3BB; }
.sv-icon { width: 3rem; height: 3rem; padding: 0.7rem; background: var(--navy); border-radius: 4px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.services-list h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); font-weight: 700; color: var(--navy); margin: 0; }
.sv-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.sv-points li { position: relative; padding-left: 1.25rem; }
.sv-points li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.5rem; height: 2px; background: var(--gold); }
@media (max-width: 760px) {
  .services-list { grid-auto-rows: auto; }
  .services-list > li { grid-template-columns: 2.75rem 1fr; gap: 0.5rem 1rem; align-items: start; }
  .sv-icon { width: 2.5rem; height: 2.5rem; padding: 0.55rem; grid-row: span 2; }
  .services-list h3 { margin-top: 0.35rem; }
}

/* How it works sits on warm white, steps reuse the call-steps rows */
.how .call-steps li { border-top-color: #E4DCC6; }

/* Results band: heatmaps on navy */
.results-band .results-key { color: rgb(255 255 255 / 0.88); }
.results-band .when { color: var(--gold); }
.results-band .pair img { border-color: rgb(216 173 95 / 0.4); }
.results-band .result figcaption { color: rgb(255 255 255 / 0.9); }
.results-band .reviews { margin-top: 4rem; }
.ads-proof { margin-top: 3rem; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem 4rem; align-items: center; padding-top: 2.5rem; border-top: 1px solid rgb(216 173 95 / 0.3); }
.ads-proof strong { display: block; font: 800 clamp(2.5rem, 1.6rem + 3vw, 4rem)/1 var(--font-head); color: var(--gold); margin-bottom: 0.75rem; }
.ads-proof p { margin: 0; max-width: 34ch; }
.lead-bars { margin: 0; }
.lead-bars figcaption { font-size: 0.9rem; color: rgb(255 255 255 / 0.75); margin-bottom: 1rem; }
.lead-bars ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.lead-bars li { display: grid; grid-template-columns: 13rem 1fr 2.5rem; align-items: center; gap: 1rem; }
.lb-name { font-size: 0.95rem; color: rgb(255 255 255 / 0.9); }
.lb-bar { height: 12px; width: calc(var(--v) / 26 * 100%); background: var(--gold); border-radius: 0 4px 4px 0; }
.lb-val { font: 700 1.05rem/1 var(--font-head); color: var(--white); }
@media (max-width: 560px) { .lead-bars li { grid-template-columns: 1fr 2rem; gap: 0.35rem 0.75rem; } .lb-name { grid-column: 1 / -1; } }
@media (max-width: 860px) { .ads-proof { grid-template-columns: 1fr; } }

/* About: link to the quick win page, like Prof Results' team link */
.about .more-links { margin-top: 1.25rem; font-weight: 600; line-height: 2; }

/* Closing band with the short form */
.closing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 900px) { .closing-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.closing .or { margin-top: 2rem; color: rgb(255 255 255 / 0.85); max-width: 40ch; }
.contact-card { background: var(--white); color: var(--ink); border-radius: 6px; border-top: 4px solid var(--gold); padding: clamp(1.25rem, 3vw, 2rem); }
.contact-card h3 { font-size: 1.375rem; font-weight: 700; margin-bottom: 0.35rem; }
.contact-card .hint { color: var(--muted); font-size: 1rem; margin-bottom: 1.25rem; }
.contact-card a { color: var(--navy); }
.contact-card .btn { width: 100%; margin-top: 0.5rem; }
.contact-card .done h3 { color: var(--navy); }

/* Draft markers in the preview only: lines Rhys has to check */
.flag { background: #FFF3C4; color: var(--ink); padding: 0 0.3rem; border-radius: 3px; font-size: 0.85em; font-weight: 600; }

/* Footer: areas and contact */
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; width: 100%; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer .f-head { font: 600 0.95rem/1.3 var(--font-body); color: var(--gold); margin-bottom: 0.75rem; }
.site-footer .cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.site-footer .cols li, .site-footer .cols p { font-size: 0.9rem; }
.site-footer .bottom { width: 100%; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(216 173 95 / 0.2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* Guarantee seal in the hero proof panel (trust in the first screen) */
.hero-seal { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgb(216 173 95 / 0.25); }
.hero-seal .seal { width: 4.75rem; height: 4.75rem; flex: none; filter: none; }
.hero-seal p { margin: 0; font: 600 1rem/1.35 var(--font-head); }


/* Video: poster and play button, YouTube only loads on tap */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border: 1px solid rgb(216 173 95 / 0.5); border-radius: 6px; overflow: hidden; }
.video button { all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video .play { position: relative; width: 76px; height: 76px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; transition: scale 0.15s ease; }
.video button:hover .play, .video button:focus-visible .play { scale: 1.08; }
.video button:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.video .play::after { content: ""; margin-left: 6px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { font-size: 0.9rem; margin-top: 0.75rem; opacity: 0.8; }
[data-video][hidden] { display: none; }


/* Areas: list beside a UK outline drawn from Natural Earth data at build time */
.areas-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .areas-grid { grid-template-columns: 1fr; gap: 2rem; } }
.areas p { max-width: 52ch; }
.area-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; }
.area-list li { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; }
.area-list li::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--gold); flex: none; }
.area-list li.home { grid-column: 1 / -1; font-weight: 700; color: var(--navy); }
.area-list li.home::before { width: 0.9rem; height: 0.9rem; background: var(--gold); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--navy); }
.area-list li.uk { grid-column: 1 / -1; color: var(--muted); }
.area-list li.uk::before { background: transparent; border: 2px solid var(--navy); }
.map-wrap { justify-self: center; width: min(100%, 560px); }
.uk-map { width: 100%; height: auto; }
.uk-map .land { fill: var(--navy); }
.uk-map .area-dot { fill: var(--gold); }
.uk-map .home-ring { fill: none; stroke: var(--gold); stroke-width: 2; }
.uk-map .home-dot { fill: var(--gold); stroke: var(--white); stroke-width: 2; }
.uk-map .home-label { font: 700 16px/1 var(--font-head); fill: var(--navy); stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; paint-order: stroke; }
.video .poster-note { position: absolute; left: 1rem; bottom: 1rem; font-size: 0.85rem; color: rgb(255 255 255 / 0.75); }
.hero.has-video::after { top: auto; bottom: 2rem; }

/* Results heading: exactly two lines on a laptop (forced <br>) */
.results-band h2 { max-width: none; }

/* Steps in a row: 1fr auto 1fr auto 1fr. Numbers centred in their columns, each arrow in its own
   column, level with the middle of the number squares. Stacked with arrows pointing down on phones.
   Generic class names: the landing page uses the same pattern. */
.steps-row { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; column-gap: 1.75rem; align-items: start; }
.steps-row .step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-num { width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--navy); color: var(--gold); font: 700 1.375rem/1 var(--font-head); border-radius: 4px; margin-bottom: 1.1rem; }
.steps-row h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem); font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.steps-row .step p { margin: 0; max-width: 30ch; }
.step-arrow { height: 3rem; display: grid; place-items: center; }
.step-arrow svg { width: 2.5rem; height: 1.1rem; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) {
  .steps-row { grid-template-columns: 1fr; row-gap: 0.75rem; }
  .step-arrow { height: 2.5rem; justify-self: center; }
  .step-arrow svg { rotate: 90deg; width: 2rem; }
}

/* Map: results markers, the South East box and the key */
.uk-map .result { fill: var(--gold); stroke: var(--white); stroke-width: 1.75; stroke-linejoin: round; }
.map-key .result { fill: var(--gold); stroke: var(--navy); stroke-width: 1.5; stroke-linejoin: round; }
.uk-map .se-mark { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 4 3; }
.uk-map .se-box { fill: var(--white); stroke: var(--navy); stroke-width: 1.5; }
.uk-map .box-label { font: 600 13px/1 var(--font-body); fill: var(--muted); }
.map-key .home-ring { fill: none; stroke: var(--gold); stroke-width: 2; }
.map-key .home-dot { fill: var(--gold); stroke: var(--navy); stroke-width: 1.5; }
.map-key .area-dot { fill: var(--gold); }
.map-key { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.95rem; }
.map-key li { display: flex; align-items: center; gap: 0.5rem; }
.map-key svg { width: 1.25rem; height: 1.25rem; flex: none; }

/* The AI answer card, same look as the search card */
.ai-mock { background: var(--white); border: 1px solid #DCD3BB; border-top: 3px solid var(--navy); border-radius: 10px; padding: 1.1rem 1.25rem; box-shadow: 0 14px 30px -18px rgb(25 30 47 / 0.35); font-size: 0.95rem; }
.ai-head { display: flex; align-items: center; gap: 0.45rem; margin: 0 0 0.75rem; font-weight: 600; font-size: 0.85rem; color: var(--muted); }
.ai-head svg { width: 18px; height: 18px; fill: var(--gold); }
.ai-q { margin: 0 0 0.75rem auto; width: fit-content; max-width: 85%; padding: 0.5rem 0.85rem; background: var(--soft-cream); border-radius: 12px 12px 3px 12px; }
.ai-a p { margin: 0 0 0.35rem; }
.ai-a ol { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.2rem; }
.ai-a li { font-weight: 600; color: var(--navy); }
.uk-map .result.big { stroke-width: 2.25; }

/* Quick win pages (hardest working, sexiest): one column article with a photo beside the intro */
.qw-hero { padding-block: 3.5rem 4.5rem; }
.qw-hero .wrap { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .qw-hero .wrap { grid-template-columns: 1fr; gap: 2rem; } }
.qw-hero h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.5rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
.qw-hero .lede { font-size: 1.1875rem; max-width: 46ch; color: rgb(255 255 255 / 0.92); }
.qw-photo img { width: 100%; max-width: 320px; height: auto; border-radius: 6px; border: 1px solid rgb(216 173 95 / 0.5); }
.qw-body { padding-block: 4.5rem 6rem; }
.qw-body h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2rem); margin: 2.75rem 0 1rem; }
.qw-body h2:first-child { margin-top: 0; }
.qw-body p, .qw-body li { font-size: 1.125rem; max-width: 62ch; }
.qw-body ul.proof-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 0.5rem; }
.qw-body ul.proof-list li { padding-left: 1.25rem; position: relative; }
.qw-body ul.proof-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.5rem; height: 2px; background: var(--gold); }
.qw-review { margin: 1.5rem 0 0; padding: 1.75rem; background: var(--soft-cream); border-left: 3px solid var(--navy); }
.qw-review blockquote { margin: 0 0 1rem; }
.qw-review blockquote p { font-size: 1.0625rem; margin-bottom: 0.6em; }
.qw-review figcaption { font-weight: 600; color: var(--navy); }
.qw-review figcaption span { display: block; font-weight: 400; color: var(--muted); }
.qw-cta { margin-top: 3rem; padding: 2rem; background: var(--navy); color: var(--white); border-radius: 6px; }
.qw-cta h2 { color: var(--white); margin-top: 0; }
.qw-cta p { color: rgb(255 255 255 / 0.9); }
