/* ==========================================================================
   Symbaitic — shared stylesheet
   Design direction: Product Keynote. One idea per screen, big centred type,
   white / light-grey / near-black bands, pill controls, almost no decoration.

   Contents
   01  Fonts
   02  Design tokens
   03  Reset and base
   04  Layout: container, sections, colour bands
   05  Typography
   06  Buttons, text links, trust list
   07  Icons
   08  Header: floating pill navigation
   09  Hero and layered collage
   10  Problem list
   11  Bento grid
   12  Pages showcase (dark)
   13  Scroll-telling process
   14  Call-to-action band
   15  Pricing offer
   16  Story and promises
   17  Service areas
   18  FAQ accordion
   19  Lead form
   20  Footer
   21  Mobile action bar
   22  Inner pages: breadcrumbs, page hero, prose, checklists
   23  Stage 2 components: rows, work grid, article, FAQ groups
   24  Stage 3 components: product showcase, section note
   25  Stage 4 components: six-card service grid on area pages
   26  Navigation dropdowns
   27  Premium button motion
   28  Motion and reduced motion
   ========================================================================== */


/* 01  Fonts (self-hosted, see fonts/) ------------------------------------- */

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-tight-700-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-var-latin.woff2") format("woff2");
}


/* 02  Design tokens -------------------------------------------------------- */

:root {
  /* Colour */
  --c-white: #ffffff;
  --c-ink: #1d1d1f;
  --c-ink-2: #6e6e73;          /* secondary text, 5.0:1 on white */
  --c-ink-3: #86868b;          /* large or dimmed text only */
  --c-grey: #f5f5f7;
  --c-line: #d2d2d7;
  --c-field: #86868b;          /* form field borders, 3.6:1 on white */
  --c-blue: #0071e3;           /* button fills, 4.7:1 with white text */
  --c-blue-hover: #0077ed;
  --c-blue-press: #0068d1;
  --c-link: #0066cc;           /* text links on white and grey */
  --c-night: #1d1d1f;          /* showcase band */
  --c-night-2: #2a2a2d;        /* tiles on the showcase band */
  --c-night-line: #424245;
  --c-on-night: #f5f5f7;
  --c-on-night-2: #a1a1a6;
  --c-link-night: #2997ff;

  /* Type families */
  --f-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid modular type scale (ratio close to 1.333) */
  --t-tiny: 0.75rem;                                   /* 12 */
  --t-small: 0.875rem;                                 /* 14 */
  --t-body: 1.0625rem;                                 /* 17 */
  --t-lead: clamp(1.1875rem, 0.55vw + 1.05rem, 1.5rem);      /* 19 to 24 */
  --t-title: clamp(1.375rem, 0.9vw + 1.15rem, 1.875rem);     /* 22 to 30 */
  --t-h3: clamp(1.75rem, 1.8vw + 1.3rem, 2.5rem);            /* 28 to 40 */
  --t-h2: clamp(2.25rem, 4.4vw + 1.2rem, 4.5rem);            /* 36 to 72 */
  --t-hero: clamp(2.625rem, 5.4vw + 1.2rem, 5rem);           /* 42 to 80 */

  /* 8px spacing scale */
  --s-1: 0.5rem;    /* 8 */
  --s-2: 1rem;      /* 16 */
  --s-3: 1.5rem;    /* 24 */
  --s-4: 2rem;      /* 32 */
  --s-5: 2.5rem;    /* 40 */
  --s-6: 3rem;      /* 48 */
  --s-8: 4rem;      /* 64 */
  --s-10: 5rem;     /* 80 */
  --s-12: 6rem;     /* 96 */
  --s-15: 7.5rem;   /* 120 */
  --s-20: 10rem;    /* 160 */

  /* Layout */
  --w-page: 75rem;                                  /* 1200 */
  --w-narrow: 55rem;                                /* 880 */
  --w-text: 42.5rem;                                /* 680, about 68 characters */
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(5rem, 11vw, 10rem);
  --nav-h: 3.5rem;                                  /* 56 */
  --nav-top: 0.75rem;

  /* Radii */
  --r-sm: 0.75rem;   /* 12 */
  --r-md: 1.25rem;   /* 20 */
  --r-lg: 1.75rem;   /* 28 */
  --r-xl: 2.25rem;   /* 36 */
  --r-pill: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.05);
  --sh-2: 0 2px 4px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.09);
  --sh-3: 0 4px 8px rgba(0, 0, 0, 0.04), 0 32px 80px rgba(0, 0, 0, 0.16);

  /* Motion */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-1: 0.2s;
  --dur-2: 0.45s;
  --dur-3: 1s;
}


/* 03  Reset and base ------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--nav-top) + var(--s-3));
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.53;
  letter-spacing: -0.011em;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote {
  margin: 0;
}

ul[class],
ol[class] {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--c-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--c-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(0, 113, 227, 0.2);
}

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

.skip-link {
  position: fixed;
  top: var(--s-1);
  left: var(--s-1);
  z-index: 200;
  padding: 0.75rem var(--s-2);
  border-radius: var(--r-pill);
  background: var(--c-ink);
  color: var(--c-white);
  font-size: var(--t-small);
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}


/* 04  Layout: container, sections, colour bands ---------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--w-page) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(var(--w-narrow) + var(--gutter) * 2);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.band-grey {
  background: var(--c-grey);
}

.band-night {
  background: var(--c-night);
  color: var(--c-on-night);
}

.band-blue {
  background: var(--c-blue);
  color: var(--c-white);
}

/* Centred section header: headline, then one short lead paragraph */
.section-head {
  max-width: 58rem;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
}

.section-head .lead {
  max-width: var(--w-text);
  margin: var(--s-3) auto 0;
}

.center {
  text-align: center;
}

.stack-cta {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}


/* 05  Typography ----------------------------------------------------------- */

.display,
.h2,
.h3,
.title {
  font-family: var(--f-display);
  font-weight: 700;
  text-wrap: balance;
}

.display {
  font-size: var(--t-hero);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

/* Keeps each sentence of a multi-sentence headline together on one line when it fits */
.line {
  display: inline-block;
}

.h2--compact {
  font-size: clamp(2rem, 2.6vw + 1.2rem, 3.5rem);
}

.h2 {
  font-size: var(--t-h2);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.h3 {
  font-size: var(--t-h3);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.title {
  font-size: var(--t-title);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--c-ink-2);
  text-wrap: pretty;
}

.band-night .lead {
  color: var(--c-on-night-2);
}

.band-blue .lead {
  color: rgba(255, 255, 255, 0.92);
}

.muted {
  color: var(--c-ink-2);
}

.small {
  font-size: var(--t-small);
  line-height: 1.45;
}


/* 06  Buttons, text links, trust list -------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  min-height: 2.75rem;                 /* 44px tap target */
  padding: 0.625rem 1.375rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--c-blue);
  color: var(--c-white);
}

.btn--primary:hover {
  background: var(--c-blue-hover);
}

.btn--primary:active {
  background: var(--c-blue-press);
}

.btn--dark {
  background: var(--c-ink);
  color: var(--c-white);
}

.btn--dark:hover {
  background: #000000;
}

.btn--outline {
  border-color: var(--c-ink);
  color: var(--c-ink);
  background: transparent;
}

.btn--outline:hover {
  background: var(--c-ink);
  color: var(--c-white);
}

/* On the blue band */
.btn--white {
  background: var(--c-white);
  color: var(--c-ink);
}

.btn--white:hover {
  background: var(--c-grey);
}

.btn--outline-white {
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--c-white);
  background: transparent;
}

.btn--outline-white:hover {
  background: var(--c-white);
  color: var(--c-ink);
}

.btn--lg {
  min-height: 3.25rem;
  padding: 0.875rem 1.75rem;
  font-size: 1.125rem;
}

.btn--sm {
  min-height: 2.25rem;
  padding: 0.4rem 1rem;
  font-size: var(--t-small);
}

.btn--block {
  width: 100%;
}

/* Quiet blue text link with a chevron */
.more {
  display: inline-block;
  padding-block: 0.6rem;               /* 44px tap target on one line */
  font-weight: 400;
  color: var(--c-link);
}

.more .icon {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.15em;
  vertical-align: -0.06em;
  transition: transform var(--dur-1) var(--ease);
}

.more:hover .icon {
  transform: translateX(2px);
}

.band-night .more {
  color: var(--c-link-night);
}

.band-blue .more {
  color: var(--c-white);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-1) var(--s-3);
}

/* Trust signals that sit beside every call to action */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-1) var(--s-3);
  margin-top: var(--s-3);
  font-size: var(--t-small);
  color: var(--c-ink-2);
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.trust .icon {
  width: 1em;
  height: 1em;
  color: var(--c-ink);
}

.band-night .trust,
.band-blue .trust {
  color: rgba(255, 255, 255, 0.9);
}

.band-night .trust .icon,
.band-blue .trust .icon {
  color: var(--c-white);
}


/* 07  Icons: one stroke style, 24px grid, 1.5px line ------------------------ */

.icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--solid {
  fill: currentColor;
  stroke: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}


/* 08  Header: floating pill navigation ------------------------------------- */

.site-header {
  position: fixed;
  top: var(--nav-top);
  left: 0;
  right: 0;
  z-index: 100;
  padding-inline: var(--s-2);
  pointer-events: none;
}

.nav-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  width: fit-content;
  max-width: 100%;
  min-height: var(--nav-h);
  margin-inline: auto;
  padding: 0.3125rem 0.3125rem 0.3125rem 1.125rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--sh-1);
  pointer-events: auto;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 2.75rem;
}

.nav-logo img {
  width: auto;
  height: 1.625rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1vw, 0.75rem);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 0.625rem;
  border-radius: var(--r-pill);
  font-size: var(--t-small);
  font-weight: 450;
  color: var(--c-ink);
  white-space: nowrap;
  transition: background-color var(--dur-1) var(--ease);
}

.nav-links a:hover {
  background: rgba(0, 0, 0, 0.06);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: none;
}

.nav-actions .btn {
  min-height: 2.75rem;
  padding-inline: 1.125rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
}

.nav-toggle .icon {
  width: 1.375rem;
  height: 1.375rem;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Collapsed navigation */
@media (max-width: 63.99rem) {
  .nav-pill {
    width: 100%;
    max-width: 40rem;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + var(--s-1));
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s-1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--r-lg);
    background: var(--c-white);
    box-shadow: var(--sh-2);
  }

  .nav-links a {
    min-height: 3rem;
    padding-inline: var(--s-2);
    border-radius: var(--r-md);
    font-size: var(--t-body);
  }

  /* Closed by default; without JavaScript the footer carries every link */
  .nav-links {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }
}


/* 09  Hero and layered collage --------------------------------------------- */

.hero {
  padding-top: calc(var(--nav-h) + var(--nav-top) + clamp(3.5rem, 9vw, 7rem));
  padding-bottom: var(--section-y);
  overflow: hidden;
  text-align: center;
}

.hero__kicker {
  display: block;
  margin-bottom: var(--s-3);
  font-family: var(--f-body);
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.011em;
  color: var(--c-ink-2);
}

.hero__title {
  margin-inline: auto;
}

.hero__sub {
  max-width: 44rem;
  margin: var(--s-4) auto 0;
}

.hero .cta-row {
  margin-top: var(--s-5);
}

/* Collage: three overlapping product shots plus floating trust badges.
   Everything inside scales with the collage width through container units. */
.collage {
  position: relative;
  max-width: 67.5rem;
  margin: clamp(3.5rem, 8vw, 6rem) auto 0;
  aspect-ratio: 1080 / 640;
  container-type: inline-size;
  text-align: left;
}

.shot {
  position: absolute;
  font-size: 12px;
  font-size: 1.12cqw;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* Shot 1: browser window with a contractor service page */
.shot--site {
  top: 0;
  left: 9%;
  width: 74%;
  border-radius: 1.4em;
  background: var(--c-white);
  box-shadow: var(--sh-3);
  overflow: hidden;
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.9em 1.2em;
  background: var(--c-grey);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.browser__dot {
  width: 0.75em;
  height: 0.75em;
  border-radius: 50%;
  background: var(--c-line);
}

.browser__url {
  flex: 1;
  max-width: 26em;
  margin-inline: auto;
  padding: 0.35em 1em;
  border-radius: var(--r-pill);
  background: var(--c-white);
  font-size: 0.85em;
  color: var(--c-ink-2);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-nav {
  display: flex;
  align-items: center;
  gap: 1.6em;
  padding: 1.2em 2.2em;
  font-size: 0.9em;
  color: var(--c-ink-2);
}

.mock-nav__brand {
  margin-right: auto;
  font-family: var(--f-display);
  font-size: 1.25em;
  font-weight: 700;
  color: var(--c-ink);
}

.mock-nav__btn {
  padding: 0.45em 1.1em;
  border-radius: var(--r-pill);
  background: var(--c-ink);
  color: var(--c-white);
}

.mock-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2em;
  align-items: center;
  padding: 1.4em 2.2em 2.4em;
}

.mock-hero__title {
  font-family: var(--f-display);
  font-size: 3.1em;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--c-ink);
}

.mock-hero__text {
  margin-top: 1em;
  color: var(--c-ink-2);
}

.mock-hero__btn {
  display: inline-block;
  margin-top: 1.4em;
  padding: 0.7em 1.5em;
  border-radius: var(--r-pill);
  background: var(--c-blue);
  color: var(--c-white);
  font-weight: 500;
}

.mock-hero__art {
  aspect-ratio: 4 / 3;
  border-radius: 1.2em;
  background: var(--c-grey);
  display: grid;
  place-items: center;
}

.mock-hero__art svg {
  width: 62%;
  height: auto;
  fill: none;
  stroke: var(--c-ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mock-pages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
  padding: 0 2.2em 2.6em;
}

.mock-pages li {
  padding: 1em 1.1em;
  border-radius: 0.9em;
  background: var(--c-grey);
  font-size: 0.9em;
  font-weight: 500;
  color: var(--c-ink);
}

.mock-pages span {
  display: block;
  font-weight: 400;
  color: var(--c-ink-2);
}

/* Shot 2: phone with a missed-call text conversation */
.shot--phone {
  right: 1.5%;
  bottom: 0;
  width: 23.5%;
  padding: 0.7em;
  border-radius: 3em;
  background: var(--c-ink);
  box-shadow: var(--sh-3);
}

.phone__screen {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  aspect-ratio: 9 / 17;
  padding: 2.2em 1em 1em;
  border-radius: 2.4em;
  background: var(--c-white);
  overflow: hidden;
}

.phone__title {
  padding-bottom: 0.8em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
  text-align: center;
  color: var(--c-ink);
}

.chip {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.3em 0.9em;
  border-radius: var(--r-pill);
  background: var(--c-grey);
  font-size: 0.85em;
  color: var(--c-ink-2);
}

.chip .icon {
  width: 1.1em;
  height: 1.1em;
}

.bubble {
  max-width: 86%;
  padding: 0.65em 0.95em;
  border-radius: 1.3em;
  background: var(--c-grey);
  color: var(--c-ink);
}

.bubble--out {
  align-self: flex-end;
  border-bottom-right-radius: 0.4em;
  background: var(--c-blue);
  color: var(--c-white);
}

.bubble--in {
  align-self: flex-start;
  border-bottom-left-radius: 0.4em;
}

.phone__input {
  margin-top: auto;
  padding: 0.6em 1em;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-size: 0.9em;
  color: var(--c-ink-2);
}

/* Shot 3: review funnel card */
.shot--review {
  left: 0;
  bottom: 7%;
  width: 28%;
  padding: 1.6em;
  border-radius: 1.6em;
  background: var(--c-white);
  box-shadow: var(--sh-3);
}

.review__title {
  font-family: var(--f-display);
  font-size: 1.35em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.review__steps {
  display: grid;
  gap: 0.75em;
  margin-top: 1.1em;
  color: var(--c-ink-2);
}

.review__steps li {
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.review__steps .icon {
  width: 1.3em;
  height: 1.3em;
  color: var(--c-blue);
}

.review__result {
  margin-top: 1.2em;
  padding-top: 1.1em;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
  color: var(--c-ink);
}

.stars {
  display: flex;
  gap: 0.15em;
  margin-bottom: 0.4em;
  color: var(--c-ink);
}

.stars .icon {
  width: 1.5em;
  height: 1.5em;
}

/* Floating trust badges */
.badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.15em;
  border-radius: var(--r-pill);
  background: var(--c-white);
  box-shadow: var(--sh-2);
  font-size: 13px;
  font-size: max(0.75rem, 1.3cqw);
  font-weight: 500;
  line-height: 1.2;
  color: var(--c-ink);
  white-space: nowrap;
}

.badge .icon {
  width: 1.25em;
  height: 1.25em;
  color: var(--c-blue);
}

.badge--1 { top: 13%; left: 0; }
.badge--2 { top: -3.5%; right: 4%; }
.badge--3 { bottom: 1%; left: 31%; }

/* Small screens: taller stage, larger type inside each shot */
@media (max-width: 47.99rem) {
  .collage {
    aspect-ratio: 360 / 500;
    margin-inline: calc(var(--gutter) * -0.25);
  }

  .shot--site { left: 0; width: 100%; font-size: 3cqw; }
  .mock-nav span:not(.mock-nav__brand):not(.mock-nav__btn) { display: none; }
  .mock-hero { grid-template-columns: 1fr; padding-bottom: 9em; }
  .mock-hero__text,
  .mock-hero__art,
  .mock-pages { display: none; }

  .shot--phone { right: 0; bottom: 0; width: 46%; font-size: 2.35cqw; }
  .shot--review { left: 0; bottom: 5%; width: 51%; font-size: 2.6cqw; padding: 1.3em; }

  .badge { font-size: 0.75rem; }
  .badge--1 { top: 46%; left: 3%; }
  .badge--2 { top: -4%; right: 3%; }
  .badge--3 { display: none; }
}

/* Load sequence: one orchestrated moment, the collage rises into place */
.js .collage:not(.is-in) .shot,
.js .collage:not(.is-in) .badge {
  opacity: 0;
}

.js .collage:not(.is-in) .shot--site { transform: translateY(3rem) scale(0.94); }
.js .collage:not(.is-in) .shot--phone { transform: translateY(5rem); }
.js .collage:not(.is-in) .shot--review { transform: translateY(4rem); }
.js .collage:not(.is-in) .badge { transform: translateY(1rem) scale(0.9); }

.collage .shot,
.collage .badge {
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
}

.collage .shot--review { transition-delay: 0.15s; }
.collage .shot--phone { transition-delay: 0.25s; }
.collage .badge--1 { transition-delay: 0.55s; }
.collage .badge--2 { transition-delay: 0.65s; }
.collage .badge--3 { transition-delay: 0.75s; }


/* 10  Problem list --------------------------------------------------------- */

.pains {
  max-width: 56rem;
  margin-inline: auto;
}

.pains__intro {
  margin-bottom: var(--s-4);
  font-size: var(--t-lead);
  font-weight: 500;
  color: var(--c-ink-2);
}

.pains__list li {
  padding-block: clamp(1rem, 2.2vw, 1.75rem);
  border-top: 1px solid var(--c-line);
  font-family: var(--f-display);
  font-size: var(--t-h3);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--c-ink);
  text-wrap: balance;
  transition: color var(--dur-2) var(--ease);
}

.pains__list li:last-child {
  border-bottom: 1px solid var(--c-line);
}

/* With JavaScript, lines start dimmed and light up as they pass mid-screen */
.js .pains__list li:not(.is-lit) {
  color: var(--c-ink-3);
}

.pains__outro {
  margin-top: var(--s-5);
  max-width: var(--w-text);
}


/* 11  Bento grid ----------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-2);
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-height: 26rem;
  padding: clamp(1.5rem, 2.6vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--c-grey);
  overflow: hidden;
}

.tile--wide {
  grid-column: span 4;
}

.tile--half {
  grid-column: span 3;
}

.tile--night {
  background: var(--c-night);
  color: var(--c-on-night);
}

.tile__name {
  margin-bottom: var(--s-1);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--c-ink-2);
}

.tile--night .tile__name,
.tile--night .tile__text {
  color: var(--c-on-night-2);
}

.tile__text {
  max-width: 34rem;
  margin-top: var(--s-2);
  color: var(--c-ink-2);
}

.tile .more {
  margin-top: var(--s-1);
  align-self: flex-start;
}

.tile--night .more {
  color: var(--c-link-night);
}

/* The whole tile is clickable through its link */
.tile .more::after {
  content: "";
  position: absolute;
  inset: 0;
}

.tile {
  transition: transform var(--dur-2) var(--ease-out);
}

.tile:hover {
  transform: scale(1.01);
}

.tile:focus-within {
  outline: 3px solid var(--c-blue);
  outline-offset: 3px;
}

.tile .more:focus-visible {
  outline: none;
}

.tile__visual {
  margin-top: auto;
  padding-top: var(--s-4);
}

/* Tile visual: quote form turning into a text on the owner's phone */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-2);
  max-width: 40rem;
}

.flow__arrow {
  color: var(--c-ink-2);
}

.flow__arrow .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.mini-card {
  padding: var(--s-2);
  border-radius: var(--r-md);
  background: var(--c-white);
  box-shadow: var(--sh-1);
  font-size: var(--t-small);
  line-height: 1.4;
  color: var(--c-ink);
}

.mini-card__label {
  display: block;
  margin-bottom: var(--s-1);
  font-size: var(--t-tiny);
  font-weight: 600;
  color: var(--c-ink-2);
}

.mini-field {
  display: block;
  margin-top: 0.375rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.5rem;
  background: var(--c-grey);
  color: var(--c-ink-2);
}

.mini-btn {
  display: block;
  margin-top: var(--s-1);
  padding: 0.5rem;
  border-radius: var(--r-pill);
  background: var(--c-blue);
  color: var(--c-white);
  font-weight: 500;
  text-align: center;
}

.mini-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.mini-note .icon {
  width: 2rem;
  height: 2rem;
  padding: 0.4rem;
  border-radius: 0.6rem;
  background: var(--c-blue);
  color: var(--c-white);
}

.mini-note strong {
  display: block;
}

/* Tile visual: stacked chat bubbles */
.thread {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: var(--t-small);
  line-height: 1.35;
}

.thread .bubble {
  background: var(--c-white);
  box-shadow: var(--sh-1);
}

.thread .bubble--out {
  background: var(--c-blue);
  box-shadow: none;
}

.thread .chip {
  background: var(--c-white);
  font-size: var(--t-tiny);
}

/* Tile visual: review request timeline */
.timeline {
  display: grid;
  gap: 0.5rem;
  font-size: var(--t-small);
}

.timeline li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-sm);
  background: var(--c-white);
  box-shadow: var(--sh-1);
}

.timeline .icon {
  color: var(--c-blue);
}

.timeline .stars {
  margin: 0 0 0 auto;
}

.timeline .stars .icon {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--c-ink);
}

/* Tile visual: inbox rows */
.inbox {
  display: grid;
  gap: 1px;
  border-radius: var(--r-md);
  background: var(--c-line);
  box-shadow: var(--sh-1);
  overflow: hidden;
  font-size: var(--t-small);
  line-height: 1.35;
}

.inbox li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  background: var(--c-white);
}

.inbox .icon {
  color: var(--c-ink-2);
}

.inbox strong {
  display: block;
  font-weight: 600;
}

.inbox span {
  color: var(--c-ink-2);
}

/* Tile visual: local search results */
.serp {
  display: grid;
  gap: 0.5rem;
  font-size: var(--t-small);
}

.serp__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  border-radius: var(--r-pill);
  background: var(--c-night-2);
  color: var(--c-on-night);
}

.serp__row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-night-line);
  color: var(--c-on-night-2);
}

.serp__row--you {
  border-color: transparent;
  background: var(--c-white);
  color: var(--c-ink);
  font-weight: 600;
}

.serp__row--you .icon {
  color: var(--c-blue);
}

.serp__line {
  flex: 1;
  height: 0.5rem;
  border-radius: var(--r-pill);
  background: var(--c-night-line);
}

@media (max-width: 63.99rem) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .tile,
  .tile--half {
    grid-column: span 1;
    min-height: 24rem;
  }

  .tile--wide {
    grid-column: span 2;
  }
}

@media (max-width: 39.99rem) {
  .bento {
    grid-template-columns: 1fr;
  }

  .tile,
  .tile--wide,
  .tile--half {
    grid-column: auto;
    min-height: 0;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow__arrow .icon {
    transform: rotate(90deg);
    margin-inline: auto;
  }
}


/* 12  Pages showcase (dark) ------------------------------------------------- */

.pages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-2);
  max-width: 62rem;
  margin-inline: auto;
}

.pages li {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  aspect-ratio: 4 / 3;
  padding: clamp(0.75rem, 1.6vw, 1.25rem);
  border-radius: var(--r-md);
  background: var(--c-night-2);
  font-size: var(--t-small);
  font-weight: 500;
  line-height: 1.25;
  color: var(--c-on-night);
}

.pages li::before,
.pages li::after {
  content: "";
  display: block;
  height: 0.375rem;
  border-radius: var(--r-pill);
  background: var(--c-night-line);
}

.pages li::before {
  order: 2;
  width: 80%;
  margin-top: auto;
}

.pages li::after {
  order: 3;
  width: 55%;
}

.pages .is-service {
  background: var(--c-white);
  color: var(--c-ink);
}

.pages .is-service::before,
.pages .is-service::after {
  background: var(--c-line);
}

.pages .is-area {
  background: var(--c-blue);
  color: var(--c-white);
}

.pages .is-area::before,
.pages .is-area::after {
  background: rgba(255, 255, 255, 0.45);
}

.pages__key {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-1) var(--s-4);
  margin-top: var(--s-4);
  font-size: var(--t-small);
  color: var(--c-on-night-2);
}

.pages__key li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pages__key li::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 0.2rem;
  background: var(--c-night-line);
}

.pages__key .is-service::before { background: var(--c-white); }
.pages__key .is-area::before { background: var(--c-blue); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: var(--s-6);
  border-top: 1px solid var(--c-night-line);
}

.facts p {
  margin-top: var(--s-1);
  color: var(--c-on-night-2);
}

@media (max-width: 47.99rem) {
  .pages {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-1);
  }

  .pages li {
    border-radius: var(--r-sm);
    font-size: var(--t-tiny);
  }

  .facts {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
}


/* 13  Scroll-telling process ----------------------------------------------- */

/* Base layout (small screens and no JavaScript): each step followed by its panel */
.scrolly {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  max-width: 36rem;
  margin-inline: auto;
}

.scrolly__stage,
.scrolly__steps {
  display: contents;
}

.step { order: 1; }
.panel { order: 1; margin-bottom: var(--s-5); }
.step[data-step="1"] { order: 1; }
.panel[data-panel="1"] { order: 2; }
.step[data-step="2"] { order: 3; }
.panel[data-panel="2"] { order: 4; }
.step[data-step="3"] { order: 5; }
.panel[data-panel="3"] { order: 6; margin-bottom: 0; }

.step__num {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: var(--s-3);
  border-radius: 50%;
  background: var(--c-ink);
  color: var(--c-white);
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.step__text {
  margin-top: var(--s-2);
  font-size: var(--t-lead);
  line-height: 1.4;
  color: var(--c-ink-2);
}

.panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--r-xl);
  background: var(--c-grey);
}

.panel__title {
  margin-bottom: var(--s-3);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--c-ink-2);
}

.checks {
  display: grid;
  gap: var(--s-1);
}

.checks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--c-white);
  box-shadow: var(--sh-1);
  font-weight: 500;
}

.checks .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--c-blue);
}

.checks span {
  display: block;
  font-size: var(--t-small);
  font-weight: 400;
  color: var(--c-ink-2);
}

/* Large screens with JavaScript: sticky stage on the left, steps scroll past */
@media (min-width: 56rem) {
  .js .scrolly {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(3rem, 7vw, 7rem);
    max-width: none;
  }

  .js .scrolly__stage {
    display: block;
    position: sticky;
    top: calc(50vh - 15rem);
    height: 30rem;
    align-self: start;
  }

  .js .scrolly__steps {
    display: block;
  }

  .js .panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    opacity: 0;
    transform: translateY(1.5rem) scale(0.97);
    transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease-out);
  }

  .js .panel.is-active {
    opacity: 1;
    transform: none;
  }

  .js .step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 30rem;
    padding-block: var(--s-6);
    opacity: 0.3;
    transition: opacity var(--dur-2) var(--ease);
  }

  .js .step.is-active {
    opacity: 1;
  }
}


/* 14  Call-to-action band --------------------------------------------------- */

.cta-band {
  text-align: center;
}

.cta-band .lead {
  max-width: var(--w-text);
  margin: var(--s-3) auto 0;
}

.cta-band .cta-row {
  margin-top: var(--s-5);
}


/* 15  Pricing offer --------------------------------------------------------- */

.offer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 64rem;
  margin-inline: auto;
  border-radius: var(--r-xl);
  background: var(--c-white);
  box-shadow: var(--sh-2);
}

.offer__part {
  padding: clamp(1.75rem, 4vw, 3.5rem);
}

.offer__part--second {
  border-left: 1px solid var(--c-line);
}

.offer__plus {
  position: absolute;
  top: clamp(3.25rem, 7vw, 6rem);
  left: 50%;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-left: -1.5rem;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-ink);
}

.offer__name {
  font-size: var(--t-body);
  font-weight: 600;
  color: var(--c-ink-2);
}

.offer__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: var(--s-1);
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 6vw + 1rem, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.offer__term {
  font-family: var(--f-body);
  font-size: var(--t-body);
  font-weight: 400;
  letter-spacing: -0.011em;
  color: var(--c-ink-2);
}

.ticks {
  display: grid;
  gap: 0.75rem;
  margin-top: var(--s-4);
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.ticks .icon {
  margin-top: 0.15em;
  color: var(--c-blue);
}

.band-night .ticks .icon {
  color: var(--c-link-night);
}

.offer-notes {
  max-width: var(--w-text);
  margin: var(--s-6) auto 0;
  text-align: center;
}

.offer-notes strong {
  display: block;
  font-family: var(--f-display);
  font-size: var(--t-title);
  letter-spacing: -0.02em;
}

.offer-notes p + p {
  margin-top: var(--s-2);
  color: var(--c-ink-2);
}

@media (max-width: 47.99rem) {
  .offer {
    grid-template-columns: 1fr;
  }

  .offer__part--second {
    border-left: 0;
    border-top: 1px solid var(--c-line);
  }

  .offer__plus {
    position: relative;
    top: auto;
    left: auto;
    z-index: 1;
    margin: -1.5rem auto;
  }
}


/* 16  Story and promises ---------------------------------------------------- */

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.story__body p + p {
  margin-top: var(--s-3);
}

.story__body .lead {
  color: var(--c-ink);
}

.story__principle {
  margin-top: var(--s-5);
  padding-left: var(--s-3);
  border-left: 3px solid var(--c-blue);
  font-family: var(--f-display);
  font-size: var(--t-title);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.story__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s-4);
  margin-top: var(--s-4);
}

.promises {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.promises li {
  padding: var(--s-4) var(--s-3);
  border-radius: var(--r-lg);
  background: var(--c-grey);
}

.promises .icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: var(--s-3);
  color: var(--c-blue);
}

.promises strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.promises span {
  display: block;
  margin-top: var(--s-1);
  font-size: var(--t-small);
  color: var(--c-ink-2);
}

@media (max-width: 63.99rem) {
  .promises {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 47.99rem) {
  .story {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 29.99rem) {
  .promises {
    grid-template-columns: 1fr;
  }
}


/* 17  Service areas --------------------------------------------------------- */

.areas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-1);
  max-width: 50rem;
  margin-inline: auto;
}

.areas a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-pill);
  background: var(--c-white);
  color: var(--c-ink);
  font-weight: 500;
  box-shadow: var(--sh-1);
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}

.areas a:hover {
  background: var(--c-ink);
  color: var(--c-white);
  text-decoration: none;
}

.areas .icon {
  width: 1.1rem;
  height: 1.1rem;
}


/* 18  FAQ accordion --------------------------------------------------------- */

.faq {
  max-width: var(--w-narrow);
  margin-inline: auto;
  border-top: 1px solid var(--c-line);
}

.faq details {
  border-bottom: 1px solid var(--c-line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-block: var(--s-3);
  font-family: var(--f-display);
  font-size: var(--t-title);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--c-link);
}

.faq summary .icon {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform var(--dur-2) var(--ease-out);
}

.faq details[open] summary .icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-width: var(--w-text);
  padding-bottom: var(--s-4);
  color: var(--c-ink-2);
}

.faq__answer p + p {
  margin-top: var(--s-2);
}


/* 19  Lead form ------------------------------------------------------------- */

.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.lead-section__intro .lead {
  margin-top: var(--s-3);
}

.lead-section__intro .ticks {
  margin-top: var(--s-5);
}

.lead-section__intro .more {
  margin-top: var(--s-3);
}

.form-card {
  padding: clamp(1.5rem, 3.5vw, 3rem);
  border-radius: var(--r-xl);
  background: var(--c-white);
  color: var(--c-ink);
  box-shadow: var(--sh-2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2) var(--s-2);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: var(--t-small);
  font-weight: 600;
}

.field .optional {
  font-weight: 400;
  color: var(--c-ink-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--c-field);
  border-radius: var(--r-sm);
  background: var(--c-white);
  font-size: 1rem;              /* 16px keeps iOS from zooming on focus */
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1.25rem;
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--c-ink);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.25);
}

.form-card .btn {
  margin-top: var(--s-3);
}

.form-card .trust {
  margin-top: var(--s-2);
  color: var(--c-ink-2);
}

.form-card .trust .icon {
  color: var(--c-ink);
}

@media (min-width: 56rem) {
  .lead-section__intro {
    position: sticky;
    top: calc(var(--nav-h) + var(--nav-top) + var(--s-5));
  }
}

.form-legal {
  margin-top: var(--s-2);
  font-size: var(--t-tiny);
  line-height: 1.5;
  color: var(--c-ink-2);
  text-align: center;
}

@media (max-width: 55.99rem) {
  .lead-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 29.99rem) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}


/* 20  Footer ---------------------------------------------------------------- */

.site-footer {
  padding-block: var(--s-10) var(--s-5);
  background: var(--c-grey);
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--c-ink-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
}

.footer-brand img {
  width: auto;
  height: 1.875rem;
}

.footer-brand p {
  max-width: 22rem;
  margin-top: var(--s-2);
}

.footer-nap {
  margin-top: var(--s-3);
  font-style: normal;
}

.footer-nap strong {
  color: var(--c-ink);
}

.footer-title {
  margin-bottom: var(--s-1);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--c-ink);
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--c-ink-2);
}

.footer-list a:hover {
  color: var(--c-ink);
}

.footer-social {
  display: flex;
  gap: var(--s-1);
  margin-top: var(--s-3);
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-ink);
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}

.footer-social a:hover {
  background: var(--c-ink);
  color: var(--c-white);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-1) var(--s-3);
  margin-top: var(--s-8);
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-line);
  font-size: var(--t-tiny);
}

.footer-base {
  align-items: center;
}

.footer-base a,
.footer-brand > a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.footer-base a {
  color: var(--c-ink-2);
}

@media (max-width: 55.99rem) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 29.99rem) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* 21  Mobile action bar ----------------------------------------------------- */

.action-bar {
  display: none;
}

@media (max-width: 47.99rem) {
  .action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: var(--s-1);
    padding: var(--s-1) var(--s-2) calc(var(--s-1) + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    transition: transform var(--dur-2) var(--ease);
  }

  .action-bar.is-hidden {
    transform: translateY(110%);
  }

  .action-bar .btn {
    min-height: 2.75rem;
    padding-inline: var(--s-2);
    font-size: 1rem;
    white-space: nowrap;
  }

  body {
    padding-bottom: 4.25rem;
  }
}


/* 22  Inner pages: breadcrumbs, page hero, prose, checklists ----------------- */

.page-hero {
  padding-top: calc(var(--nav-h) + var(--nav-top) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  text-align: center;
}

.page-hero .lead {
  max-width: var(--w-text);
  margin: var(--s-3) auto 0;
}

.page-hero .cta-row {
  margin-top: var(--s-4);
}

.breadcrumbs {
  margin-bottom: var(--s-4);
  font-size: var(--t-small);
  color: var(--c-ink-2);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--c-line);
}

.breadcrumbs a {
  color: var(--c-ink-2);
}

.breadcrumbs [aria-current="page"] {
  color: var(--c-ink);
}

.prose {
  max-width: var(--w-text);
  margin-inline: auto;
}

.prose > * + * {
  margin-top: var(--s-3);
}

.prose h2 {
  margin-top: var(--s-8);
  font-family: var(--f-display);
  font-size: var(--t-h3);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.prose h3 {
  margin-top: var(--s-5);
  font-family: var(--f-display);
  font-size: var(--t-title);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: var(--s-1);
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.updated {
  font-size: var(--t-small);
  color: var(--c-ink-2);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  gap: var(--s-2);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s-4);
  border-radius: var(--r-lg);
  background: var(--c-grey);
}

.band-grey .card {
  background: var(--c-white);
}

.card p {
  margin-top: var(--s-1);
  color: var(--c-ink-2);
}

.card .more {
  margin-top: auto;
  padding-top: var(--s-2);
}

.steps-list {
  display: grid;
  gap: var(--s-4);
  max-width: var(--w-narrow);
  margin-inline: auto;
  counter-reset: step;
}

.steps-list li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: var(--s-3);
  counter-increment: step;
}

.steps-list li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--c-ink);
  color: var(--c-white);
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.steps-list p {
  margin-top: var(--s-1);
  color: var(--c-ink-2);
}

.map-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--c-grey);
}


/* 23  Stage 2 components: rows, work grid, article, FAQ groups --------------- */

/* Keeps the last word of a text link and its chevron on the same line */
.nowrap {
  white-space: nowrap;
}

/* Topic pills under a page hero */
.page-hero .areas {
  margin-top: var(--s-4);
}

/* A section that follows another section of the same colour */
.section--flush {
  padding-top: 0;
}

/* Hairline rows: a title on the left, the detail on the right */
.rows {
  max-width: 64rem;
  margin-inline: auto;
  border-top: 1px solid var(--c-line);
}

.rows > li {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--s-2) clamp(2rem, 6vw, 6rem);
  padding-block: clamp(1.75rem, 3.5vw, 3rem);
  border-bottom: 1px solid var(--c-line);
}

.rows__label {
  display: block;
  margin-bottom: var(--s-1);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--c-ink-2);
}

.rows h3 a {
  color: inherit;
}

.rows__body > p {
  color: var(--c-ink-2);
}

.rows__body > p + p {
  margin-top: var(--s-2);
}

.rows__body .more {
  margin-top: var(--s-1);
}

@media (max-width: 47.99rem) {
  .rows > li {
    grid-template-columns: 1fr;
  }
}

/* Links inside tick lists and promise tiles */
.ticks a,
.promises a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* The name, with the "ai" picked out */
.wordmark {
  font-family: var(--f-display);
  font-size: var(--t-hero);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: center;
}

.wordmark span {
  color: var(--c-blue);
}

.wordmark + .section-head {
  margin-top: var(--s-4);
  margin-bottom: 0;
}

/* Embedded map */
.map-wrap {
  max-width: 64rem;
  margin-inline: auto;
}

.map-frame {
  display: block;
  min-height: 20rem;
}

/* FAQ page: grouped accordions */
.faq-group {
  max-width: var(--w-narrow);
  margin-inline: auto;
}

.faq-group + .faq-group {
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.faq-group__title {
  margin-bottom: var(--s-3);
}

/* Our Work: filter pills and project grid */
.filter {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-1);
  margin-bottom: var(--s-5);
}

.js .filter {
  display: flex;
}

.filter__btn {
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: var(--c-white);
  font-size: var(--t-small);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}

.filter__btn:hover {
  border-color: var(--c-ink);
}

.filter__btn:active {
  transform: scale(0.98);
}

.filter__btn[aria-pressed="true"] {
  border-color: var(--c-ink);
  background: var(--c-ink);
  color: var(--c-white);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5) var(--s-3);
}

.work[hidden] {
  display: none;
}

.work__frame {
  border-radius: var(--r-md);
  background: var(--c-white);
  box-shadow: var(--sh-2);
  font-size: 0.75rem;
  overflow: hidden;
}

.work__shot {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: var(--c-white);
}

.work__shot img,
.work__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.work__video {
  background: var(--c-white);
}

/* Slot shown until the real screenshot is added */
.work__slot {
  display: grid;
  justify-items: center;
  gap: var(--s-1);
  padding: var(--s-2);
  font-size: var(--t-small);
  color: var(--c-ink-2);
  text-align: center;
}

.work__slot .icon {
  width: 2rem;
  height: 2rem;
  color: var(--c-ink-3);
}

.work__slot strong {
  font-weight: 600;
  color: var(--c-ink);
}

.work figcaption {
  margin-top: var(--s-2);
  font-size: var(--t-small);
  color: var(--c-ink-2);
}

.work figcaption strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

/* Project recordings: two wide columns so each scroll-through is readable */
.work-grid--videos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work-more .lead {
  max-width: 40rem;
  margin: 0 auto var(--s-3);
}

@media (max-width: 63.99rem) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 39.99rem) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog articles */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem var(--s-3);
  margin-top: var(--s-3);
  font-size: var(--t-small);
  color: var(--c-ink-2);
}

.callout {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--c-grey);
}

.callout > * + * {
  margin-top: var(--s-2);
}

.callout__title {
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--c-ink-2);
}

.prose .lead {
  color: var(--c-ink);
}


/* 24  Stage 3 components: product showcase, section note ------------------- */

/* Product visual under a section header on service pages. It reuses the
   bento tile visuals (flow, thread, timeline, inbox, serp) at reading size. */
.showcase {
  max-width: 34rem;
  margin-inline: auto;
}

.showcase--wide {
  max-width: 44rem;
}

.showcase--night {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--r-lg);
  background: var(--c-night);
}

.showcase .flow {
  max-width: none;
}

.showcase .thread,
.showcase .timeline,
.showcase .inbox,
.showcase .serp {
  font-size: var(--t-body);
}

/* One quiet line of supporting copy under a visual or a call to action */
.section-note {
  max-width: var(--w-text);
  margin: var(--s-5) auto 0;
  color: var(--c-ink-2);
  text-align: center;
  text-wrap: pretty;
}

/* Links inside numbered steps */
.steps-list a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}


/* 25  Stage 4 components: six-card service grid on area pages -------------- */

/* Area pages list all six services. Three fixed columns keep the grid at two
   even rows instead of four cards and a short second row. */
.cards--six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 63.99rem) {
  .cards--six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 39.99rem) {
  .cards--six {
    grid-template-columns: 1fr;
  }
}


/* 26  Navigation dropdowns ------------------------------------------------- */

/* Services and Areas We Serve each pair a link (the overview page) with a
   chevron button that opens a panel of every child page. The panel is
   centred under the whole nav pill so it never runs off the screen. Without
   JavaScript it still opens on hover and keyboard focus. */
.nav-split {
  display: flex;
  align-items: center;
}

.nav-links .nav-split > a {
  padding-right: 0.25rem;
}

.nav-sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--c-ink-2);
  cursor: pointer;
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}

.nav-sub-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--c-ink);
}

.nav-sub-toggle .icon {
  width: 0.875rem;
  height: 0.875rem;
  transform: rotate(90deg);
  transition: transform var(--dur-2) var(--ease-out);
}

.nav-sub-toggle[aria-expanded="true"] .icon {
  transform: rotate(-90deg);
}

.submenu__list {
  display: grid;
  gap: 0.125rem;
}

.nav-links .submenu a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.125rem;
  min-height: 3.25rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm);
  white-space: normal;
  transition: background-color var(--dur-1) var(--ease), transform var(--dur-2) var(--ease-out);
}

.submenu__name {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--c-ink);
}

.submenu__note {
  font-size: var(--t-small);
  font-weight: 400;
  line-height: 1.35;
  color: var(--c-ink-2);
}

.nav-links .submenu a[aria-current="page"] .submenu__name {
  color: var(--c-link);
}

.nav-links .submenu .submenu__all {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  min-height: 2.75rem;
  margin-top: 0.25rem;
  padding-block: 0;
  border-top: 1px solid var(--c-line);
  border-radius: 0;
  font-weight: 500;
  color: var(--c-link);
}

.nav-links .submenu .submenu__all:hover {
  background: transparent;
  text-decoration: underline;
}

.submenu__all .icon {
  width: 0.75rem;
  height: 0.75rem;
  transition: transform var(--dur-1) var(--ease);
}

.submenu__all:hover .icon {
  transform: translateX(2px);
}

/* Full navigation: floating panel under the pill */
@media (min-width: 64rem) {
  .nav-links .nav-item {
    position: static;
  }

  .submenu {
    position: absolute;
    top: calc(100% + 0.625rem);
    left: 50%;
    width: min(38rem, calc(100vw - 2rem));
    padding: 0.625rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--r-lg);
    background: var(--c-white);
    box-shadow: var(--sh-3);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -0.5rem) scale(0.98);
    transform-origin: top center;
    transition: opacity var(--dur-1) var(--ease), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
  }

  /* Bridges the gap between the pill and the panel so hover is not lost */
  .submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 0.75rem;
  }

  .submenu__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links .submenu .submenu__all {
    margin-inline: 0.875rem;
    padding-inline: 0;
  }

  .nav-item.is-open .submenu,
  html:not(.js) .has-menu:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity var(--dur-1) var(--ease), transform var(--dur-2) var(--ease-out), visibility 0s;
  }

  .nav-links .submenu a:not(.submenu__all):hover {
    background: var(--c-grey);
    transform: translateX(2px);
  }
}

@media (min-width: 64rem) and (hover: hover) {
  .has-menu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity var(--dur-1) var(--ease), transform var(--dur-2) var(--ease-out), visibility 0s;
  }

  .has-menu:hover .nav-sub-toggle .icon {
    transform: rotate(-90deg);
  }
}

/* Collapsed navigation: the panel opens inside the menu, under its link */
@media (max-width: 63.99rem) {
  .nav-links {
    max-height: calc(100vh - var(--nav-top) - var(--nav-h) - 2rem);
    max-height: calc(100dvh - var(--nav-top) - var(--nav-h) - 2rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-split {
    justify-content: space-between;
  }

  .nav-links .nav-split > a {
    flex: 1;
  }

  .nav-sub-toggle {
    width: 3rem;
    height: 3rem;
  }

  .nav-sub-toggle .icon {
    width: 1rem;
    height: 1rem;
  }

  .submenu {
    display: none;
    padding: 0 0 var(--s-1) var(--s-2);
  }

  .nav-item.is-open .submenu {
    display: block;
  }

  .submenu__note {
    display: none;
  }

  .nav-links .submenu a {
    min-height: 2.75rem;
  }

  .nav-links .submenu .submenu__all {
    margin-inline: 0.875rem;
    padding-inline: 0;
  }
}


/* 27  Premium button motion ------------------------------------------------ */

/* Every .btn lifts slightly, picks up a soft coloured glow and a sweep of
   light crosses it on hover, then settles on press. Motion uses transform
   and opacity; the glow is a box-shadow on a small element. Touch screens
   skip the hover state, and reduced motion keeps only the colour change. */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    background-color var(--dur-1) var(--ease),
    border-color var(--dur-1) var(--ease),
    color var(--dur-1) var(--ease),
    box-shadow var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out);
}

/* The sweep of light */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.34) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}

.btn--white::before {
  background: linear-gradient(105deg, transparent 30%, rgba(0, 113, 227, 0.14) 50%, transparent 70%);
}

/* Primary and nav buttons: a deeper blue with a soft inner highlight.
   Both ends of the gradient keep white text above 4.5:1. */
.btn--primary,
.btn--nav {
  background: linear-gradient(180deg, #0071e3 0%, #005bc4 100%);
  background-color: var(--c-blue);
  color: var(--c-white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(0, 60, 140, 0.24);
}

.btn--primary:hover,
.btn--nav:hover {
  background: linear-gradient(180deg, #0071e3 0%, #0062d1 100%);
}

.btn--primary:active,
.btn--nav:active {
  background: linear-gradient(180deg, #0066cc 0%, #0055b8 100%);
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
  }

  .btn:hover::before {
    transform: translateX(120%);
    transition: transform 0.9s var(--ease-out);
  }

  .btn--primary:hover,
  .btn--nav:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 12px 28px -10px rgba(0, 113, 227, 0.7);
  }

  .btn--dark:hover,
  .btn--outline:hover {
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.5);
  }

  .btn--white:hover,
  .btn--outline-white:hover {
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.4);
  }
}

.btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .btn:active,
  .nav-links .submenu a:hover {
    transform: none;
  }

  .btn::before {
    display: none;
  }
}


/* 28  Motion and reduced motion -------------------------------------------- */

/* Single scroll reveal, reserved for key product visuals */
.js .reveal {
  opacity: 0;
  transform: translateY(2.5rem) scale(0.95);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal,
  .js .collage:not(.is-in) .shot,
  .js .collage:not(.is-in) .badge {
    opacity: 1;
    transform: none;
  }

  .js .pains__list li:not(.is-lit) {
    color: var(--c-ink);
  }

  .tile:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .action-bar {
    display: none;
  }
}


/* 29  Call-to-action buttons and larger navigation ------------------------- */

/* Every "Get your free website analysis", "Book a call" and "See how it
   works" in page content is a large .btn--cta. The nav, mobile action bar,
   form submit and other buttons keep their own sizes. */
.btn--cta {
  min-height: 3.75rem;                 /* 60px */
  padding: 1.0625rem 2.375rem;
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.btn--outline.btn--cta,
.btn--outline-white.btn--cta {
  border-width: 1.5px;
}

.btn--primary.btn--cta {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 24px -12px rgba(0, 113, 227, 0.65);
}

.btn--white.btn--cta {
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.35);
}

@media (hover: hover) {
  .btn--primary.btn--cta:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 16px 34px -10px rgba(0, 113, 227, 0.75);
  }
}

.cta-row:has(.btn--cta) {
  gap: var(--s-2) var(--s-3);
}

/* Full width on narrow phones, so the tap target spans the column */
@media (max-width: 29.99rem) {
  .cta-row .btn--cta,
  .stack-cta .btn--cta,
  .lead-section__intro .btn--cta {
    width: 100%;
    padding-inline: 1.25rem;
    font-size: 1.0625rem;
  }
}

/* "Prefer to talk it through?" line above the Book a call button by the form */
.lead-section__call {
  margin-top: var(--s-5);
  color: var(--c-on-night);
  font-size: var(--t-body);
}

.lead-section__intro .btn--cta {
  margin-top: var(--s-2);
}

/* Larger, slightly wider nav pill with room around the Free analysis button */
:root {
  --nav-h: 4rem;                       /* 64 */
}

.nav-pill {
  gap: var(--s-4);
  padding: 0.5rem 0.625rem 0.5rem 1.5rem;
}

.nav-logo img {
  height: 1.875rem;
}

@media (min-width: 64rem) {
  .nav-links a {
    padding-inline: 0.75rem;
    font-size: 0.9375rem;
  }
}

.nav-actions .btn {
  min-height: 3rem;
  padding-inline: 1.5rem;
  font-size: 0.9375rem;
}

@media (max-width: 63.99rem) {
  .nav-pill {
    max-width: 44rem;
  }
}

/* Narrow phones: keep the logo, button and menu toggle inside the pill */
@media (max-width: 39.99rem) {
  .nav-pill {
    gap: var(--s-1);
    padding: 0.5rem 0.5rem 0.5rem 1.125rem;
  }

  .nav-logo img {
    height: 1.625rem;
  }

  .nav-actions .btn {
    padding-inline: 1.125rem;
  }
}


/* 30  Popup lead form ------------------------------------------------------ */
/* A native <dialog> holding the same Netlify "quote" form. Booking buttons
   marked data-popup open it (script.js initPopup); without JavaScript they
   keep their normal link to the on-page form or contact.html. */

.popup {
  width: min(40rem, calc(100vw - 1.5rem));
  max-width: none;
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--r-xl);
  background: transparent;
  color: var(--c-ink);
  overflow: visible;
}

.popup::backdrop {
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.popup__card {
  position: relative;
  max-height: calc(100dvh - 1.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: var(--sh-3);
}

.popup__title {
  padding-right: 3rem;
  font-family: var(--f-display);
  font-size: var(--t-title);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.popup__intro {
  margin: var(--s-1) 0 var(--s-3);
  color: var(--c-ink-2);
}

.popup__close {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.25rem);
  right: clamp(0.75rem, 2vw, 1.25rem);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-grey);
  color: var(--c-ink);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.popup__close:hover {
  background: var(--c-line);
}

.popup__close:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
}

html.popup-open {
  overflow: hidden;
}

.popup[open] {
  animation: popup-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.popup[open]::backdrop {
  animation: popup-fade 0.28s ease;
}

@keyframes popup-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes popup-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .popup[open],
  .popup[open]::backdrop {
    animation: none;
  }
}


/* 31  Trades page, About dropdown and "Don't see your area?" notes ------- */

/* Full-width item at the end of a dropdown list */
.submenu__wide {
  grid-column: 1 / -1;
}

/* About dropdown holds two items, so its panel is narrower */
@media (min-width: 64rem) {
  .submenu--short {
    width: min(30rem, calc(100vw - 2rem));
  }
}

/* One quiet line under a list of towns */
.areas-note {
  max-width: var(--w-text);
  margin: var(--s-3) auto 0;
  color: var(--c-ink-2);
  text-align: center;
  text-wrap: pretty;
}

.areas-note a {
  font-weight: 500;
}

/* Trades page: every trade, grouped */
.trade-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: var(--s-5) var(--s-4);
}

.trade-group .title {
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--c-line);
}

.trade-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1);
  margin-top: var(--s-2);
}

.trade-list li {
  padding: 0.375rem 0.875rem;
  border-radius: var(--r-pill);
  background: var(--c-grey);
  color: var(--c-ink);
  font-size: var(--t-small);
  font-weight: 500;
}

@media (max-width: 30rem) {
  .trade-groups {
    grid-template-columns: 1fr;
  }
}

/* Trades page: photo at the top of a card */
.card--photo {
  overflow: hidden;
}

.card__photo {
  display: block;
  width: calc(100% + 2 * var(--s-4));
  max-width: none;
  height: auto;
  aspect-ratio: 800 / 534;
  margin: calc(-1 * var(--s-4)) calc(-1 * var(--s-4)) var(--s-3);
  object-fit: cover;
  background: var(--c-grey);
}


/* 32  Research statistics -------------------------------------------------- */

/* A grid of sourced figures. Three columns, two under 64rem, one under 40rem */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: var(--s-4);
  border-radius: var(--r-lg);
  background: var(--c-grey);
}

.band-grey .stat {
  background: var(--c-white);
}

.stat__value {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 3vw + 1.25rem, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-ink);
}

.stat__text {
  margin-top: var(--s-2);
  text-wrap: pretty;
}

.stat__source {
  margin-top: auto;
  padding-top: var(--s-3);
  font-size: var(--t-small);
  color: var(--c-ink-2);
}

.stat__source a {
  color: var(--c-ink-2);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.stat__source a:hover {
  color: var(--c-link);
}

/* Inside a section that already has content above it */
.stats-block {
  margin-top: var(--s-6);
}

@media (max-width: 63.99rem) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 39.99rem) {
  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: var(--s-3);
  }
}

/* Three figures: stay in one row down to 48rem, then stack, so none sits alone */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .stats--three {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats--three .stat {
    padding: var(--s-3);
  }
}

@media (max-width: 47.99rem) {
  .stats--three {
    grid-template-columns: 1fr;
  }
}

/* 33  Site-wide motion ----------------------------------------------------- */
/* Added in v14. Every page gets the same restrained keynote-style motion:
   the page hero assembles on load (CSS only), and content below it rises in
   from a soft blur as it scrolls into view (initMotion in script.js adds
   .m-up and .m-in, then removes both once the move ends, so hover styles
   are untouched). Existing motion (.reveal, collage, problem list,
   scroll-telling) is left as it was. No JS, reduced motion or print: all
   content shows at rest. */

@keyframes m-hero-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
    filter: blur(10px);
  }
}

/* Page heroes: breadcrumbs, headline, lead, buttons and trust line in turn */
.js .page-hero .container > *,
.js .hero__title > *,
.js .hero .container > :not(.hero__title):not(.collage) {
  animation: m-hero-in 1.1s var(--ease-out) backwards;
}

.js .page-hero .container > :nth-child(2),
.js .hero__title > :nth-child(2) { animation-delay: 0.12s; }
.js .page-hero .container > :nth-child(3),
.js .hero__title > :nth-child(3) { animation-delay: 0.24s; }
.js .page-hero .container > :nth-child(4),
.js .hero .container > :nth-child(2) { animation-delay: 0.36s; }
.js .page-hero .container > :nth-child(5),
.js .hero .container > :nth-child(3) { animation-delay: 0.48s; }
.js .page-hero .container > :nth-child(n+6),
.js .hero .container > :nth-child(4) { animation-delay: 0.6s; }

/* Scroll entrance: rise, sharpen and settle */
.js .m-up {
  opacity: 0;
  transform: translate3d(0, 2.25rem, 0) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 1.1s var(--ease-out),
    filter 0.9s var(--ease-out);
}

.js .m-up.m-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Trade photos settle from a slight zoom inside their card */
.js .card--photo .card__photo {
  transition: transform 1.6s var(--ease-out);
}

.js .card--photo.m-up:not(.m-in) .card__photo {
  transform: scale(1.08);
}

/* FAQ answers ease open */
@keyframes m-answer-in {
  from {
    opacity: 0;
    transform: translate3d(0, -0.5rem, 0);
  }
}

.faq details[open] > :not(summary) {
  animation: m-answer-in 0.45s var(--ease-out);
}

/* Dark bands: a slow blue glow drifts behind the content */
@keyframes m-glow-drift {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}

.band-night {
  position: relative;
  isolation: isolate;
}

.band-night::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 50% at 30% 30%, rgba(0, 113, 227, 0.16), transparent 70%),
    radial-gradient(35% 45% at 70% 70%, rgba(41, 151, 255, 0.1), transparent 70%);
  background-size: 160% 160%;
  animation: m-glow-drift 22s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .js .page-hero .container > *,
  .js .hero__title > *,
  .js .hero .container > :not(.hero__title):not(.collage),
  .faq details[open] > :not(summary),
  .band-night::before {
    animation: none;
  }

  .js .m-up,
  .js .card--photo .card__photo {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media print {
  .js .m-up {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .band-night::before {
    display: none;
  }
}

/* 34  Graphics and tile motion --------------------------------------------- */
/* Added in v15. The product graphics play a short sequence the first time
   they come into view (initVisuals adds .v-ready, then .v-in): forms fill,
   messages arrive, reviews land, search results load. Tiles, cards and stats
   get a soft spotlight that follows the pointer (initSpotlight sets --mx and
   --my), and linked cards lift on hover. The hidden starting states only
   apply with .v-ready, so no JS, reduced motion and print show the finished
   graphic. */

@property --spot {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

/* Shared: each piece rises in after --v-delay */
.js .v-ready :is(.flow > *, .mini-field, .mini-btn, .mini-note, .timeline li, .thread > *, .inbox li, .serp__row, .pages li) {
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.8s var(--ease-out),
    filter 0.7s var(--ease-out);
  transition-delay: calc(var(--v-base, 0.3s) + var(--v-delay, 0s));
}

.js .v-ready:not(.v-in) :is(.flow > *, .mini-field, .mini-btn, .mini-note, .timeline li, .inbox li, .serp__row) {
  opacity: 0;
  transform: translate3d(0, 0.75rem, 0);
  filter: blur(4px);
}

/* Website flow: the form fills in, the arrow passes it on, the text lands */
.js .v-ready .flow > :nth-child(2) { --v-delay: 0.7s; }
.js .v-ready .flow > :nth-child(3) { --v-delay: 1s; }
.js .v-ready .mini-field:nth-of-type(2) { --v-delay: 0.2s; }
.js .v-ready .mini-field:nth-of-type(3) { --v-delay: 0.35s; }
.js .v-ready .mini-btn { --v-delay: 0.5s; }
.js .v-ready .mini-note { --v-delay: 1.3s; }

.js .v-ready:not(.v-in) .flow__arrow {
  transform: translate3d(-0.75rem, 0, 0);
}

/* The arrow moves constantly (v16), so nobody misses it */
@keyframes v-nudge {
  0%, 100% { transform: translate3d(-0.15rem, 0, 0); }
  50% { transform: translate3d(0.35rem, 0, 0); }
}

.flow__arrow .icon {
  animation: v-nudge 1.4s ease-in-out infinite;
}

/* Review timeline: each step checks off, then the stars land one by one */
.js .v-ready .timeline li:nth-child(2) { --v-delay: 0.35s; }
.js .v-ready .timeline li:nth-child(3) { --v-delay: 0.7s; }

.js .v-ready .timeline li > .icon {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--v-base, 0.3s) + var(--v-delay, 0s) + 0.2s);
}

.js .v-ready:not(.v-in) .timeline li > .icon {
  transform: scale(0.4);
}

.js .v-ready .timeline .stars .icon {
  transition: opacity 0.35s var(--ease-out), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--v-base, 0.3s) + 1.1s + var(--s-i, 0) * 0.09s);
}

.js .v-ready:not(.v-in) .timeline .stars .icon {
  opacity: 0;
  transform: scale(0.3);
}

.js .v-ready .stars .icon:nth-child(2) { --s-i: 1; }
.js .v-ready .stars .icon:nth-child(3) { --s-i: 2; }
.js .v-ready .stars .icon:nth-child(4) { --s-i: 3; }
.js .v-ready .stars .icon:nth-child(5) { --s-i: 4; }

/* Message threads: each message arrives in turn, from its own side */
.js .v-ready .thread > :nth-child(2) { --v-delay: 0.5s; }
.js .v-ready .thread > :nth-child(3) { --v-delay: 1s; }
.js .v-ready .thread > :nth-child(4) { --v-delay: 1.5s; }

.js .v-ready:not(.v-in) .thread > * {
  opacity: 0;
  transform: translate3d(0, 0.6rem, 0) scale(0.92);
  filter: blur(3px);
}

.js .v-ready .thread > .bubble--out { transform-origin: right bottom; }
.js .v-ready .thread > .bubble--in { transform-origin: left bottom; }

/* Inbox: messages slide in, newest first */
.js .v-ready:not(.v-in) .inbox li {
  transform: translate3d(1.5rem, 0, 0);
}

.js .v-ready .inbox li:nth-child(2) { --v-delay: 0.15s; }
.js .v-ready .inbox li:nth-child(3) { --v-delay: 0.3s; }
.js .v-ready .inbox li:nth-child(4) { --v-delay: 0.45s; }
.js .v-ready .inbox li:nth-child(5) { --v-delay: 0.6s; }

/* Local search: the query types out, results load, yours glows once */
.js .v-ready .serp__bar {
  transition: clip-path 0.9s var(--ease-out);
  transition-delay: var(--v-base, 0.3s);
}

.js .v-ready:not(.v-in) .serp__bar {
  clip-path: inset(0 100% 0 0 round var(--r-pill));
}

.js .v-in .serp__bar {
  clip-path: inset(0 0 0 0 round var(--r-pill));
}

.js .v-ready .serp__row { --v-delay: 0.8s; }
.js .v-ready .serp__row:nth-child(3) { --v-delay: 0.95s; }
.js .v-ready .serp__row:nth-child(4) { --v-delay: 1.1s; }

@keyframes v-glow {
  0% { box-shadow: 0 0 0 0 rgba(41, 151, 255, 0.55); }
  100% { box-shadow: 0 0 0 0.9rem rgba(41, 151, 255, 0); }
}

.js .v-in .serp__row--you {
  animation: v-glow 1.4s var(--ease-out) calc(var(--v-base, 0.3s) + 1.6s) 2;
}

/* 15-page build: the pages fill in as a wave */
.js .v-ready .pages li {
  --v-base: 0.15s;
  --v-delay: calc(var(--p-i, 0) * 0.05s);
}

.js .v-ready:not(.v-in) .pages li {
  opacity: 0;
  transform: scale(0.9);
}

.pages li:nth-child(2) { --p-i: 1; }
.pages li:nth-child(3) { --p-i: 2; }
.pages li:nth-child(4) { --p-i: 3; }
.pages li:nth-child(5) { --p-i: 4; }
.pages li:nth-child(6) { --p-i: 5; }
.pages li:nth-child(7) { --p-i: 6; }
.pages li:nth-child(8) { --p-i: 7; }
.pages li:nth-child(9) { --p-i: 8; }
.pages li:nth-child(10) { --p-i: 9; }
.pages li:nth-child(11) { --p-i: 10; }
.pages li:nth-child(12) { --p-i: 11; }
.pages li:nth-child(13) { --p-i: 12; }
.pages li:nth-child(14) { --p-i: 13; }
.pages li:nth-child(15) { --p-i: 14; }

/* Pointer spotlight on tiles, cards, stats and the pricing card */
.tile,
.card,
.stat,
.offer {
  background-image: radial-gradient(
    24rem circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 113, 227, calc(var(--spot) * 0.09)),
    transparent 70%
  );
  transition-property: transform, box-shadow, --spot;
  transition-duration: var(--dur-2);
  transition-timing-function: var(--ease-out);
}

.tile--night {
  background-image: radial-gradient(
    24rem circle at var(--mx, 50%) var(--my, 50%),
    rgba(41, 151, 255, calc(var(--spot) * 0.2)),
    transparent 70%
  );
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover,
  .card:hover,
  .stat:hover,
  .offer:hover {
    --spot: 1;
  }

  /* Cards that link somewhere lift slightly */
  .card:has(a):hover {
    transform: translate3d(0, -4px, 0);
    box-shadow: var(--sh-2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow__arrow .icon,
  .js .v-in .serp__row--you {
    animation: none;
  }

  .card:has(a):hover {
    transform: none;
  }
}

/* 35  Section graphics ----------------------------------------------------- */
/* Added in v16. A small product graphic sits under the title of each
   "What's included" section on the service pages and the two "What ...
   covers" sections on Pricing, filling the space beside the checklist.
   The title and graphic share .story__side, which stays in view while the
   list scrolls on wide screens. Pieces marked style="--i:n" play in order
   the first time the graphic is half in view (initVisuals). */

.story__side .gfx {
  margin-top: var(--s-5);
}

@media (min-width: 48rem) {
  .story__side {
    position: sticky;
    top: calc(var(--nav-h) + var(--nav-top) + var(--s-4));
  }
}

.gfx {
  --g-card: var(--c-white);
  --g-soft: var(--c-grey);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 30rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: var(--r-lg);
  background: var(--c-grey);
  font-size: var(--t-small);
  line-height: 1.35;
  color: var(--c-ink);
}

.band-grey .gfx {
  --g-card: var(--c-grey);
  --g-soft: var(--c-white);
  background: var(--c-white);
  box-shadow: var(--sh-1);
}

.gfx .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.gfx .chip {
  align-self: flex-start;
  background: var(--g-card);
}

.gfx .bubble {
  max-width: 92%;
}

/* Browser frame with a page and a chat widget */
.gfx-frame {
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--c-white);
  box-shadow: var(--sh-1);
}

.gfx-frame__bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--c-grey);
}

.gfx-frame__bar > span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--c-line);
}

.gfx-frame__bar em {
  flex: 1;
  margin-left: 0.5rem;
  padding: 0.2rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--c-white);
  font-size: var(--t-tiny);
  font-style: normal;
  color: var(--c-ink-2);
  text-align: center;
}

.gfx-frame__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.9rem 1rem 3.4rem;
}

.gfx-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
  font-size: var(--t-tiny);
  color: var(--c-ink-2);
}

.gfx-tabs b {
  font-weight: 500;
}

.gfx-tabs b:first-child {
  color: var(--c-ink);
}

.gfx-line {
  display: block;
  width: 80%;
  height: 0.5rem;
  border-radius: var(--r-pill);
  background: var(--c-line);
  opacity: 0.6;
}

.gfx-line--lg {
  width: 65%;
  height: 0.85rem;
  background: var(--c-ink);
  opacity: 0.85;
}

.gfx-line--sm {
  width: 55%;
}

.gfx-btn {
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.45rem 1rem;
  font-size: var(--t-tiny);
}

.gfx-widget {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem 0.45rem 0.5rem;
  border-radius: var(--r-pill);
  background: var(--c-ink);
  font-size: var(--t-tiny);
  color: var(--c-white);
  box-shadow: var(--sh-2);
}

.gfx-widget .icon {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.25rem;
  border-radius: 50%;
  background: var(--c-blue);
}

/* Small labelled chips under a graphic */
.gfx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.gfx-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--g-card);
  font-size: var(--t-tiny);
  color: var(--c-ink-2);
}

.gfx-chips .icon {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--c-blue);
}

/* Review request card */
.gfx-review {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: var(--r-md);
  background: var(--g-card);
  text-align: center;
}

.band-grey .gfx-review,
.gfx-review {
  box-shadow: var(--sh-1);
}

.gfx-review__label {
  font-size: var(--t-tiny);
  font-weight: 600;
  color: var(--c-ink-2);
}

.gfx-stars {
  display: flex;
  gap: 0.3rem;
}

.gfx-stars .icon {
  width: 1.6rem;
  height: 1.6rem;
  fill: currentColor;
  color: var(--c-ink);
}

.gfx-review .mini-btn {
  align-self: stretch;
  margin-top: 0.25rem;
}

/* Phone notifications */
.gfx-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--r-md);
  background: var(--g-card);
  box-shadow: var(--sh-1);
}

.gfx-note strong,
.gfx-alert strong,
.gfx-report__head strong {
  display: block;
  font-weight: 600;
}

.gfx-note > span:last-child,
.gfx-alert > span,
.gfx-report__head > span {
  color: var(--c-ink-2);
}

.gfx-note strong,
.gfx-report__head strong {
  color: var(--c-ink);
}

.gfx-note__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: var(--c-blue);
  color: var(--c-white);
}

.gfx-note__icon--red {
  background: #d70015;
}

.gfx-note__icon--grey {
  background: var(--c-ink-2);
}

/* Lists of channels or report sections */
.gfx-rows {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--c-line);
  box-shadow: var(--sh-1);
}

.gfx-rows li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  background: var(--g-card);
}

.gfx-rows li > span {
  flex: 1;
}

.gfx-rows .icon {
  color: var(--c-ink-2);
}

.gfx-rows--plain .icon {
  color: var(--c-blue);
}

.gfx-rows em {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: var(--r-pill);
  background: rgba(0, 113, 227, 0.1);
  font-size: var(--t-tiny);
  font-style: normal;
  font-weight: 600;
  color: var(--c-link);
}

/* A highlighted result line */
.gfx-alert {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--r-md);
  background: var(--g-card);
  box-shadow: var(--sh-1);
}

.gfx-alert > .icon {
  width: 2rem;
  height: 2rem;
  padding: 0.4rem;
  border-radius: 0.6rem;
  background: var(--c-blue);
  color: var(--c-white);
}

.gfx-alert--blue {
  background: var(--c-ink);
  box-shadow: var(--sh-2);
}

.gfx-alert--blue strong {
  color: var(--c-white);
}

.gfx-alert--blue > span {
  color: var(--c-on-night-2);
}

/* Grid of channel or product chips */
.gfx-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.gfx-grid li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.8rem;
  border-radius: var(--r-sm);
  background: var(--g-card);
  box-shadow: var(--sh-1);
  font-weight: 500;
}

.gfx-grid .icon {
  color: var(--c-blue);
}

.gfx-down {
  display: grid;
  place-items: center;
  color: var(--c-ink-2);
}

.gfx-down .icon {
  transform: rotate(90deg);
}

/* Monthly report header */
.gfx-report__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.25rem 0.1rem 0.35rem;
}

.gfx-report__head > .icon {
  width: 2rem;
  height: 2rem;
  padding: 0.4rem;
  border-radius: 0.6rem;
  background: var(--c-ink);
  color: var(--c-white);
}

/* Fanned stack of pages */
.gfx-stack {
  position: relative;
  height: 12.5rem;
  margin-bottom: 0.25rem;
}

.gfx-page {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 62%;
  height: 9rem;
  padding: 0.9rem 1rem;
  border-radius: var(--r-md);
  background: var(--g-card);
  box-shadow: var(--sh-2);
}

.gfx-page em {
  font-size: var(--t-tiny);
  font-style: normal;
  font-weight: 600;
  color: var(--c-link);
}

.gfx-page:nth-child(1) { top: 0; left: 0; }
.gfx-page:nth-child(2) { top: 1.75rem; left: 19%; }
.gfx-page:nth-child(3) { top: 3.5rem; left: 38%; }

/* Sequence: each marked piece rises in turn */
.js .v-ready .gfx [style*="--i"] {
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.8s var(--ease-out),
    filter 0.7s var(--ease-out);
  transition-delay: calc(0.25s + var(--i) * 0.18s);
}

.js .v-ready:not(.v-in) .gfx [style*="--i"] {
  opacity: 0;
  transform: translate3d(0, 0.75rem, 0);
  filter: blur(4px);
}

.js .v-ready:not(.v-in) .gfx-page[style*="--i"] {
  transform: translate3d(0, 1.5rem, 0) rotate(-2deg);
}

.js .v-ready:not(.v-in) .gfx-widget[style*="--i"] {
  transform: translate3d(0, 0.75rem, 0) scale(0.85);
}

/* Stars fill one by one after the review card arrives */
.js .v-ready .gfx-stars .icon {
  transition: fill 0.3s var(--ease-out), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(1s + var(--s-i, 0) * 0.12s);
}

.js .v-ready:not(.v-in) .gfx-stars .icon {
  fill: transparent;
  transform: scale(0.8);
}

.gfx-stars .icon:nth-child(2) { --s-i: 1; }
.gfx-stars .icon:nth-child(3) { --s-i: 2; }
.gfx-stars .icon:nth-child(4) { --s-i: 3; }
.gfx-stars .icon:nth-child(5) { --s-i: 4; }

/* "Replied" tags pop in after their row */
.js .v-ready .gfx-rows em {
  transition: opacity 0.4s var(--ease-out), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(0.75s + var(--i, 0) * 0.18s);
}

.js .v-ready:not(.v-in) .gfx-rows em {
  opacity: 0;
  transform: scale(0.6);
}

@media (max-width: 29.99rem) {
  .gfx-grid--system {
    grid-template-columns: 1fr;
  }
}

/* Small label above a list inside a graphic (About page, v17) */
.gfx-label {
  padding: 0 0.1rem;
  font-size: var(--t-tiny);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--c-ink-2);
}

/* The old way: muted rows with a cross */
.gfx-rows--old li {
  color: var(--c-ink-2);
}

.gfx-rows--old .icon {
  color: #d70015;
}

/* 36  Mobile motion: arrow and stacking steps ------------------------------ */
/* Added in v18. On phones the website flow is stacked, so its arrow points
   and moves down. Below 56rem the Home "How it works" steps become cards
   that stick under the nav and stack on top of each other as you scroll
   (initScrollyStack wraps each step with its panel in .scard); the card
   underneath settles back slightly. Wide screens keep the sticky stage. */

@keyframes v-nudge-down {
  0%, 100% { transform: translate3d(0, -0.15rem, 0) rotate(90deg); }
  50% { transform: translate3d(0, 0.35rem, 0) rotate(90deg); }
}

@media (max-width: 39.99rem) and (prefers-reduced-motion: no-preference) {
  .flow__arrow .icon {
    animation-name: v-nudge-down;
  }

  .js .v-ready:not(.v-in) .flow__arrow {
    transform: translate3d(0, -0.75rem, 0);
  }
}

.scrolly__cards {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.scard {
  --stack: 0;
  position: sticky;
  padding: clamp(1.25rem, 5vw, 1.75rem);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--r-xl);
  background: var(--c-white);
  box-shadow: 0 -0.5rem 2rem rgba(0, 0, 0, 0.06), var(--sh-1);
  transform: scale(calc(1 - var(--stack) * 0.06));
  transform-origin: 50% 0;
  filter: brightness(calc(1 - var(--stack) * 0.06));
  will-change: transform;
}

.scard .step {
  opacity: 1;
}

.scard .step__num {
  margin-bottom: var(--s-2);
}

.scard .panel {
  margin: var(--s-3) 0 0;
  padding: clamp(1rem, 4vw, 1.5rem);
}

/* 37  Hero highlight -------------------------------------------------------- */
/* Added in v19; a thick yellow brush-stroke underline since v22.
   "customers" in the Home headline gets a curved, hand-painted swoosh under
   the word (an inline SVG in ::after) that paints in left to right once the
   headline has arrived. Fully painted and still with reduced motion or no
   JavaScript. */

.hl {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.hl::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.06em;
  right: -0.1em;
  top: 0.8em;
  height: 0.5em;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'><path fill='%23FFC814' d='M4 30 C 70 18, 160 10, 260 7 C 320 5, 365 6, 395 9 C 399 16, 398 26, 395 33 C 360 31, 320 31, 270 33 C 180 37, 100 46, 20 56 C 9 57, 2 51, 2 43 C 2 37, 2 33, 4 30 Z'/><path fill='%23FFDE59' fill-opacity='0.75' d='M20 31 C 100 20, 200 13, 300 11 C 340 10, 370 11, 390 13 L 390 17 C 340 16, 270 17, 200 21 C 140 25, 80 31, 22 38 Z'/><path fill='%23F0AE00' fill-opacity='0.6' d='M28 47 C 110 38, 200 32, 290 29 C 330 28, 365 28, 392 29 L 391 32 C 330 32, 250 34, 170 39 C 120 42, 70 47, 28 52 Z'/></svg>") no-repeat center / 100% 100%;
}

@keyframes hl-paint {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.js .hero__title .hl::after {
  animation: hl-paint 0.75s cubic-bezier(0.65, 0, 0.35, 1) 1.15s backwards;
}

@media (prefers-reduced-motion: reduce) {
  .js .hero__title .hl::after {
    animation: none;
  }
}


/* 38  Touch-screen spotlight ----------------------------------------------- */
/* Added in v20. Phones and tablets have no hover, so the card nearest the
   middle of the screen lights up instead (initSpotlight adds .spot-on) and
   the glow drifts slowly across it. Mouse devices keep the pointer glow.
   Off with reduced motion. */

@property --mx {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 50%;
}

@property --my {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 50%;
}

@keyframes spot-drift {
  0% { --mx: 20%; --my: 25%; }
  50% { --mx: 80%; --my: 50%; }
  100% { --mx: 35%; --my: 85%; }
}

@media (hover: none), (pointer: coarse) {
  /* v23: a tighter, brighter glow and a quicker drift, so it is noticed
     without taking over the card */
  .tile.spot-on,
  .card.spot-on,
  .stat.spot-on,
  .offer.spot-on {
    --spot: 1;
    background-image: radial-gradient(
      16rem circle at var(--mx) var(--my),
      rgba(0, 113, 227, calc(var(--spot) * 0.2)),
      rgba(0, 113, 227, calc(var(--spot) * 0.06)) 45%,
      transparent 75%
    );
    animation: spot-drift 6s ease-in-out infinite alternate;
  }

  .tile--night.spot-on {
    background-image: radial-gradient(
      16rem circle at var(--mx) var(--my),
      rgba(41, 151, 255, calc(var(--spot) * 0.34)),
      rgba(41, 151, 255, calc(var(--spot) * 0.1)) 45%,
      transparent 75%
    );
  }

  .tile,
  .card,
  .stat,
  .offer {
    transition-duration: 0.7s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spot-on {
    --spot: 0;
    animation: none;
  }
}

/* 39  Testimonials --------------------------------------------------------- */

.testimonial {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 26rem);
  justify-content: center;
  align-items: center;
  gap: var(--s-4) var(--s-8);
  margin-block: var(--s-6);
}

.testimonial__media {
  margin: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #000;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.18);
}

.band-night .testimonial__media {
  box-shadow: 0 0 0 1px var(--c-night-line), 0 1.5rem 3rem rgba(0, 0, 0, 0.5);
}

.testimonial__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}

.testimonial__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--t-title);
  line-height: 1.2;
  margin: 0;
}

.testimonial__business {
  margin: 0.25rem 0 var(--s-3);
  color: var(--c-ink-2);
}

.testimonial__text {
  margin: 0 0 var(--s-3);
}

.band-night .testimonial__business,
.band-night .testimonial__text {
  color: var(--c-on-night-2);
}

@media (max-width: 47.99rem) {
  .testimonial {
    grid-template-columns: minmax(0, 20rem);
    text-align: center;
  }
}

/* Written Google reviews (v25) */

.review-cards {
  list-style: none;
  margin: 0 0 var(--s-6);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
}

.review-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--s-4);
  border-radius: 1.5rem;
  background: var(--c-white);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 0.75rem 2rem rgba(0, 0, 0, 0.06);
}

.band-night .review-card {
  background: var(--c-night-2);
  box-shadow: 0 0 0 1px var(--c-night-line);
}

.review-card__stars {
  color: #f5b301;
  font-size: 0.75rem;
  margin-bottom: var(--s-2);
}

.review-card__text {
  margin: 0 0 var(--s-3);
  flex: 1;
}

.review-card__text p {
  margin: 0 0 0.75em;
}

.review-card__text p:last-child {
  margin-bottom: 0;
}

.review-card__name {
  margin: 0;
  font-weight: 600;
}

.review-card__source {
  margin: 0.15rem 0 0;
  font-size: var(--t-small);
  color: var(--c-ink-2);
}

.band-night .review-card__text,
.band-night .review-card__source {
  color: var(--c-on-night-2);
}

.band-night .review-card__name {
  color: var(--c-on-night);
}

@media (max-width: 63.99rem) {
  .review-cards {
    grid-template-columns: minmax(0, 1fr);
    max-width: 40rem;
    margin-inline: auto;
  }
}

/* One tile: video and Kevin's review together (v26) */

.testimonial {
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  max-width: 60rem;
  margin-inline: auto;
  padding: var(--s-4);
  border-radius: 2rem;
  background: var(--c-white);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 0.75rem 2rem rgba(0, 0, 0, 0.06);
  gap: var(--s-4) var(--s-6);
}

.band-night .testimonial {
  background: var(--c-night-2);
  box-shadow: 0 0 0 1px var(--c-night-line);
}

.testimonial__quote {
  margin: 0 0 var(--s-3);
  font-size: var(--t-lead);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.testimonial__quote p {
  margin: 0;
}

.band-night .testimonial__quote {
  color: var(--c-on-night);
}

.testimonial__business {
  margin-bottom: 0;
}

.review-cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 60rem;
  margin-inline: auto;
  margin-top: var(--s-3);
}

@media (max-width: 47.99rem) {
  .testimonial {
    grid-template-columns: minmax(0, 1fr);
    padding: var(--s-2) var(--s-2) var(--s-4);
    text-align: left;
  }

  .testimonial__media {
    max-width: 20rem;
    margin-inline: auto;
  }

  .testimonial__body {
    padding-inline: var(--s-1);
  }

  .testimonial__quote {
    font-size: var(--t-body);
  }
}

@media (max-width: 63.99rem) {
  .review-cards--two {
    grid-template-columns: minmax(0, 1fr);
    max-width: 40rem;
  }
}

/* Seven nav items (Reviews added in v26): tighter spacing on mid-size screens */
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .nav-pill {
    gap: var(--s-2);
    padding-left: 1.25rem;
  }

  .nav-links a {
    padding-inline: 0.5rem;
    font-size: 0.875rem;
  }

  .nav-actions .btn {
    padding-inline: 1.125rem;
  }
}

/* Equal review cards, video on top (v27; replaces the v26 tile, .testimonial rules now unused) */

.review-cards {
  margin-top: 0;
}

.review-card__media {
  margin: 0 0 var(--s-3);
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
}

.review-card__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.review-card__text p:first-child::before {
  content: "\201C";
}

.review-card__text p:last-child::after {
  content: "\201D";
}

.review-card__name {
  font-weight: 700;
}
