/* ===========================================================================
   Synctility theme
   Tokens lifted from the React build so the two look identical side by side:
   primary #00D1B2, surface #1E2228, page #14161A, body #ABB1BF, rule #393F4C.
   =========================================================================== */

:root {
  --page:        #14161A;
  --page-grad:   linear-gradient(260deg, #1E2228 -30%, #14161A 100%);
  --surface:     #1E2228;
  --surface-2:   #232830;
  --rule:        #393F4C;
  --primary:     #6BDB7E;  /* brand bright green, for dark backgrounds */
  --primary-dim: #2FA552;  /* brand green, for light backgrounds */
  --primary-ink: #111113;  /* brand black - text on a green button */
  --text:        #ABB1BF;
  --text-strong: #FFFFFF;
  --text-muted:  #8C929E;
  --callout:     #030373;

  --font: Inter, "SF Pro", "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue",
          Helvetica, Arial, sans-serif;

  /* Deeper than --page: for bands that should sit behind the page, not on it. */
  --page-deep: #0E1013;

  --measure: 68ch;
  /* The signup form's width. The CTA band directly beneath it on the home
     page reads as a separate, wider slab unless the two agree, so both
     take their width from here rather than each carrying its own number. */
  --form-w: 780px;
  --nav-h: 64px;
  --radius: 10px;

  /* One spacing scale. The React site drifted between 48px and 96px gaps
     because section padding and margin helpers stacked; this avoids that. */
  --s-1: .5rem;  --s-2: .75rem; --s-3: 1rem;
  --s-4: 1.5rem; --s-5: 2.25rem; --s-6: 3.5rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  background-image: var(--page-grad);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 3px;
}

h1, h2, h3, h4 {
  color: var(--text-strong);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 var(--s-3);
  text-wrap: balance;
  /* wrap between words, but still break a genuinely unbreakable string */
  word-break: normal;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2rem, 5.2vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 650; }
p  { margin: 0 0 var(--s-3); }

.accent { color: var(--primary); }
.muted  { color: var(--text-muted); }

/* ---- layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--s-4); }
.section { padding: var(--s-6) 0; }
.section + .section { padding-top: 0; }
.prose { max-width: var(--measure); }
.center { text-align: center; }
.center .prose { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: var(--s-4); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
/* Services on the home page read better two-up: the cards carry a sentence
   of copy each, which is cramped at three across. */
.grid-2up { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
@media (min-width: 760px) { .grid-2up { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

/* ---- header / nav --------------------------------------------------------- */
/* At rest the bar sits directly above a black band on every page: the hero on
   the homepage, the page header everywhere else. It is sticky, so it occupies
   its own space in flow rather than overlaying that band, which means a
   transparent background would show --page through it and leave a grey strip
   across the top of the black. Matching the band instead makes the two read as
   one block, and the translucent blurred bar only appears once the page has
   scrolled and there is content to blur. */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #000;
  border-bottom: 1px solid transparent;
  transition: background-color .18s ease, border-color .18s ease;
}
.site-header.is-stuck {
  background: rgba(20, 22, 26, .82);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--rule);
}
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3); min-height: var(--nav-h);
}
.brand {
  font-weight: 800; font-size: 20px; letter-spacing: -.02em;
  color: var(--text-strong); text-decoration: none; white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand .accent { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: var(--s-4); }
.nav-links a:not(.btn) { color: var(--text); font-size: 15px; }
.nav-links a:not(.btn):hover,
.nav-links .current-menu-item > a { color: var(--text-strong); text-decoration: none; }
/* The page you are on is bold. The section it sits under is semibold, so a
   dropdown parent still shows where you are while its current child is hidden
   inside the closed panel. Hover deliberately stays at the normal weight: it
   brightens only, so the bold is never ambiguous about which page is current. */
.nav-links .current-menu-item > a { font-weight: 700; }
.nav-links .current-menu-ancestor > a,
.nav-links .current-menu-parent > a { font-weight: 600; }
/* Same treatment as the footer CTA: brand green with brand-black text. */
.nav-links a.btn-primary { color: var(--primary-ink); font-weight: 700; }
.nav-links a.btn-primary:hover { color: var(--primary-ink); }

.burger {
  display: none; width: 42px; height: 42px; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--text);
  position: relative; border-radius: 6px;
}
.burger span {
  display: block; position: absolute; left: 11px; width: 20px; height: 2px;
  background: currentColor; transition: transform .18s ease, opacity .18s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- buttons -------------------------------------------------------------- */
.btn {
  display: inline-block; padding: .7rem 1.25rem; border-radius: 8px;
  font-weight: 650; font-size: 15px; line-height: 1.2; cursor: pointer;
  border: 1px solid transparent; transition: filter .15s ease;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-ghost { background: var(--surface-2); color: var(--text-strong); border-color: var(--rule); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.center .btn-row { justify-content: center; }

/* ---- hero ----------------------------------------------------------------- */
/* Black hero.

   The seams are the fiddly part. The sticky header sits above the hero in
   normal flow rather than over it, so a flat black block would leave a visible
   --page strip across the top, and a hard edge where the hero meets the stats
   section below. Fading in over the first 2.5rem and back out at the bottom
   hides both, and the dot bed reads better against true black than it did
   against --page. */
.hero {
  padding: clamp(3rem, 9vw, 6rem) 0 var(--s-6);
  background: #000;
  /* Fill whatever the sticky header leaves of the first screen, so the hero is
     complete on load. svh, not vh: on mobile vh measures the viewport with the
     browser chrome retracted, so a vh-sized hero overflows by the height of
     the address bar until the user scrolls. min-height, not height, so a short
     landscape screen lets the content grow instead of clipping it. */
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
}
.hero h1 { max-width: 18ch; }
.center.hero h1 { margin-inline: auto; }

/* ---- hero rotator ----------------------------------------------------------
   Three promises stacked in ONE grid cell. Stacking rather than swapping text
   is what keeps the page still: the container is always as tall as the longest
   line, so the lede and the buttons beneath it never jump when the line
   changes. Only opacity and transform animate, so nothing forces layout.

   The <p> lines are styled to the h1 rather than marked up as one, so the page
   keeps a single canonical heading. */
/* The display size sits on the container, not the lines. ch resolves against
   the element's OWN font-size, so 22ch on a container inheriting the 16px body
   size is 22 body characters - about 200px - and the hero wraps into a thin
   column. Declaring the size here makes ch mean 22 characters of the headline,
   which is what the measure is for. */
.hero-rotator {
  display: grid; margin: 0 auto var(--s-3);
  font-size: clamp(2rem, 5.2vw, 3.25rem);
  max-width: 22ch;
}
/* .hero h1 caps at 18ch for the old single headline; inside the rotator the
   container owns the measure, and leaving the cap on would wrap the h1
   differently from the two paragraphs it is stacked with. */
.hero .hero-rotator .hero-line { max-width: none; }
.hero-line {
  grid-area: 1 / 1; margin: 0;
  font-size: inherit; font-weight: 800;
  line-height: 1.12; letter-spacing: -.02em;
  color: var(--text-strong); text-wrap: balance;
  opacity: 0; transform: translateY(14px);
  transition: opacity .55s cubic-bezier(.22,.61,.36,1),
              transform .55s cubic-bezier(.22,.61,.36,1);
}
/* is-on ships on the first line in the markup, so with no JS at all the hero
   still reads correctly instead of going blank. */
.hero-line.is-on { opacity: 1; transform: none; }

.hero-ctrl {
  display: flex; align-items: center; justify-content: center; gap: var(--s-3);
  margin-top: var(--s-4);
}
.hero-ctrl[hidden] { display: none; }
.hero-dots { display: flex; gap: 9px; }
/* 28px of hit area around a 9px dot: the target has to be reachable with a
   thumb even though the mark itself is small. */
.hero-dot {
  appearance: none; border: 0; background: none; cursor: pointer;
  width: 28px; height: 28px; padding: 0; display: grid; place-items: center;
}
.hero-dot::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: #3C4452; transition: background .3s ease, transform .3s ease;
}
.hero-dot:hover::before { background: #58616F; }
/* A thumb is not a mouse pointer: 28px clears WCAG 2.2 AA (24px) but is mean
   on a phone, so touch devices get a fuller target without moving the dots. */
@media (pointer: coarse) { .hero-dot { width: 40px; height: 40px; } }
.hero-dot.is-on::before { background: var(--primary); transform: scale(1.25); }
.hero-pause {
  appearance: none; cursor: pointer; display: inline-flex; align-items: center;
  gap: 7px; min-height: 28px; padding: 4px 11px 4px 9px;
  background: none; border: 1px solid #2C323D; border-radius: 999px;
  color: var(--text-muted); font: inherit; font-size: 12px; font-weight: 600;
  letter-spacing: .04em; transition: color .3s ease, border-color .3s ease;
}
.hero-pause:hover { color: var(--text-strong); border-color: #4A5260; }
.hero-dot:focus-visible, .hero-pause:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 999px;
}
/* Two bars, swapped for a triangle when paused, drawn in CSS so the control
   costs no request and inherits the text colour on hover. */
.hero-pause-ico {
  width: 9px; height: 10px; flex: 0 0 auto;
  border-left: 3px solid currentColor; border-right: 3px solid currentColor;
}
.hero-pause.is-paused .hero-pause-ico {
  border: 0; width: 0; height: 0;
  border-left: 9px solid currentColor;
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
/* No auto-advance and no cross-fade, but the dots keep working, so the other
   two promises stay reachable rather than being removed from the page. */
@media (prefers-reduced-motion: reduce) {
  .hero-line { transition: none; }
}
.hero .lede { font-size: clamp(1.02rem, 1.8vw, 1.2rem); max-width: 56ch; color: var(--text); }
.center.hero .lede { margin-inline: auto; }
.pill-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.center .pill-row { justify-content: center; }
.pill {
  border: 1px solid var(--rule); border-radius: 999px;
  padding: .35rem .85rem; font-size: 13.5px; color: var(--text);
  background: rgba(30, 34, 40, .6);
}

/* ---- page header ----------------------------------------------------------
   Every page but the homepage opens with this: a black band carrying a green
   supertitle, the H1 and a line of detail. It continues the black masthead the
   homepage hero sets, and fades into the page rather than ending on a rule, so
   the two never read as separate slabs. */
.page-head {
  /* Flat black with a clean edge. The band used to fade out over its last
     fifth, which banded visibly on wide screens and read as a blurred border
     rather than an intentional one. The homepage hero keeps its fade, because
     there the dot bed needs somewhere to dissolve into. */
  background: #000;
  padding: var(--s-6) 0 var(--s-5);
}
.page-head-eyebrow {
  margin: 0 0 .8rem;
  color: var(--primary); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.page-head-eyebrow a { color: inherit; text-decoration: none; }
.page-head-eyebrow a:hover { text-decoration: underline; }
.page-head h1 { margin: 0; max-width: 20ch; }
.page-head-detail {
  margin: .8rem 0 0; max-width: 60ch;
  font-size: 1.12rem; line-height: 1.55; color: var(--text);
}
/* `.section + .section` zeroes the next section's top padding, which is right
   for stacked prose and wrong here: it left the first line of the page butted
   up against the bottom of the black band. */
.page-head + .section { padding-top: var(--s-5); }
@media (max-width: 560px) {
  .page-head { padding: var(--s-5) 0 var(--s-4); }
  .page-head-detail { font-size: 1.02rem; }
  .page-head + .section { padding-top: var(--s-4); }
}

/* ---- stats ---------------------------------------------------------------- */
/* These are borrowed industry figures, not Synctility's own results, so they
   should read as a supporting footnote under the hero rather than compete with
   it. The old row ran to 2rem numerals in 1rem of padding and took almost as
   much vertical space as the headline above it. */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: .6rem .75rem;
}
.stat b {
  display: block; color: var(--text-strong); font-weight: 750;
  font-size: clamp(1.05rem, 1.9vw, 1.3rem); letter-spacing: -.02em; line-height: 1.1;
  /* Equal-width digits so the four numerals sit on a common rhythm. */
  font-variant-numeric: tabular-nums;
}
/* balance stops "of US SMEs already adopting AI" dropping one orphan word. */
.stat span {
  display: block; font-size: 12px; line-height: 1.3; color: var(--text);
  margin-top: .1rem; text-wrap: balance;
}
.stat cite {
  display: block; font-size: 10.5px; line-height: 1.2; font-style: normal;
  letter-spacing: .02em; color: var(--text-muted); margin-top: .22rem;
}

/* The stats row continues the hero's black and is where it finally resolves
   into the page, so the masthead reads as one block rather than two. */
.section-stats {
  background: #000;
  padding-bottom: var(--s-5);
}
/* `.section + .section` zeroes the next section's top padding, which left
   "How we can help" sitting against the bottom of the black masthead. */
.section-stats + .section { padding-top: var(--s-5); }
.section-stats .stat { background: #131519; border-color: #262B34; }

/* ---- cards ---------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: var(--s-4);
  display: flex; flex-direction: column; gap: .4rem;
}
.card h3 { margin-bottom: .2rem; }
.card p { color: var(--text); margin-bottom: 0; }
.card .card-cta { margin-top: auto; padding-top: var(--s-3); }

/* ---- callout ---------------------------------------------------------------
   Deep-blue CTA block, matching the reference: generous padding, large radius,
   centred copy on a constrained measure so lines stay readable rather than
   running the full width of the box. */
.callout {
  background: var(--callout);
  border-radius: 18px;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3.25rem);
  margin: var(--s-5) auto;
  max-width: var(--form-w);
}
.callout > * { max-width: 62ch; }
.callout.center { text-align: center; }
.callout.center > * { margin-inline: auto; }

.callout p { margin: 0 0 .75rem; color: #C9CEE8; line-height: 1.6; font-size: 1.02rem; }
.callout p:last-child { margin-bottom: 0; }
.callout strong, .callout .callout-title { color: #FFFFFF; font-weight: 700; }
.callout .callout-title { font-size: 1.12rem; line-height: 1.4; display: block; }
.callout a:not(.btn) { color: #fff; text-decoration: underline; }

/* Buttons on this blue: the green reads well, the secondary needs a light
   outline rather than the dark-grey ghost used elsewhere. */
.callout .btn-row { margin-top: var(--s-4); }
.callout .btn { margin-top: 0; }
.callout .btn-primary { background: var(--primary); color: var(--primary-ink); font-weight: 700; }
.callout .btn-primary:hover { filter: brightness(1.08); }
.callout .btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.5);
}
.callout .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

@media (max-width: 560px) {
  .callout { border-radius: 14px; }
  .callout .btn-row { flex-direction: column; }
  .callout .btn { width: 100%; }
}

/* ---- FAQ: native <details>, so answers are in the HTML for crawlers ------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--s-3) 2.25rem var(--s-3) 0;
  position: relative; color: var(--text-strong); font-weight: 650;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .35rem; top: 50%;
  transform: translateY(-50%); color: var(--primary);
  font-size: 1.4rem; font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .faq-a { padding: 0 0 var(--s-3); max-width: var(--measure); }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---- forms ---------------------------------------------------------------- */
.form-card {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: var(--s-4);
}
.field { margin-bottom: var(--s-3); }
.field label { display: block; font-size: 14px; color: var(--text-strong); margin-bottom: .3rem; }
.input, input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: .6rem .7rem; font: inherit; font-size: 15px;
  color: var(--text-strong); background: #15181D;
  border: 1px solid var(--rule); border-radius: 7px;
}
.help { font-size: 12.5px; color: var(--text-muted); margin-top: .25rem; }

/* SMS opt-in. The disclosure must sit beside the checkbox and stay legible -
   carrier review looks for message type, frequency, rates and how to stop. */
.consent { margin-top: var(--s-3); }
.consent label { display: flex; align-items: flex-start; gap: .6rem; line-height: 1.45; font-size: 15px; }
.consent input[type=checkbox] { margin-top: .3rem; flex: 0 0 auto; transform: scale(1.15); }
.consent .disclosure {
  display: block; margin-top: .5rem; font-size: .8rem;
  line-height: 1.5; color: var(--text-muted);
}
.consent .disclosure a { text-decoration: underline; }

/* ---- post / page content -------------------------------------------------- */
/* Cap the prose, not the container. Capping .entry-content itself squeezed any
   full-width block inside it: the contact layout was frozen at 68ch (607px)
   inside an 1180px wrap, so both columns stayed narrow at every screen size. */
.entry-content > :is(p, ul, ol, h2, h3, h4, h5, blockquote, figure, pre, dl) {
  max-width: var(--measure);
}
.entry-content > * + * { margin-top: var(--s-3); }
.entry-content h2 { margin-top: var(--s-5); }
.entry-content h3 { margin-top: var(--s-4); }
.entry-content ul, .entry-content ol { padding-left: 1.25rem; }
.entry-content li + li { margin-top: .35rem; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote {
  margin: var(--s-4) 0; padding: var(--s-3) var(--s-4);
  border-left: 3px solid var(--primary); background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.entry-content code {
  background: var(--surface-2); padding: .12em .38em;
  border-radius: 4px; font-size: .9em;
}
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content :is(th, td) { border-bottom: 1px solid var(--rule); padding: .6rem .5rem; text-align: left; }
.table-scroll { overflow-x: auto; }

.eyebrow {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted); margin: 0 0 .5rem;
}

/* ---- footer ----------------------------------------------------------------
   Four columns on desktop, two on tablet, one on phones. Columns are ordered by
   what a visitor is most likely to want: who you are, what you sell, where else
   to look, how to reach you. */
.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: var(--s-6);
  padding: clamp(2.5rem, 6vw, 4rem) 0 var(--s-5);
  background: linear-gradient(180deg, rgba(30,34,40,.45), rgba(30,34,40,0));
}
.footer-grid {
  display: grid; gap: var(--s-5) var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 620px)  { .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.25fr; gap: var(--s-4); } }

.footer-brand .brand { margin-bottom: var(--s-3); }
.footer-blurb {
  color: var(--text-muted); font-size: .92rem; line-height: 1.6;
  max-width: 38ch; margin: 0;
}

.footer-head {
  font-size: 12px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600; margin: 0 0 var(--s-3);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: .55rem; }
/* :not(.btn) so the CTA keeps its button styling - a bare `.footer-col a`
   outranks `.btn-primary` and was repainting it as a grey text link. */
.footer-col a:not(.btn) { color: var(--text); font-size: .95rem; }
.footer-col a:not(.btn):hover { color: var(--text-strong); text-decoration: none; }

.footer-contact address { font-style: normal; font-size: .95rem; line-height: 1.75; color: var(--text); }
.footer-contact a:not(.btn) { color: var(--text); }
.footer-contact a:not(.btn):hover { color: var(--text-strong); }
.footer-nap, .footer-hours { color: var(--text-muted); }
.footer-hours { font-size: .88rem; }
.footer-cta {
  margin-top: var(--s-4); display: inline-block;
  color: var(--primary-ink); font-weight: 700; font-size: 15px;
}
.footer-cta:hover { color: var(--primary-ink); text-decoration: none; }

.footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; margin: var(--s-3) 0 0; padding: 0; }
.footer-social a { color: var(--text-muted); font-size: .9rem; }
.footer-social a:hover { color: var(--primary); text-decoration: none; }

.footer-certs {
  list-style: none; display: flex; flex-wrap: wrap; gap: .5rem .75rem;
  margin: var(--s-5) 0 0; padding: 0;
}
.footer-certs li {
  border: 1px solid var(--rule); border-radius: 6px;
  padding: .3rem .7rem; font-size: .8rem; color: var(--text-muted);
}
.footer-certs strong { color: var(--text); font-weight: 600; }

/* Bottom bar: separated by a rule, smaller than everything above it. */
.footer-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-top: var(--s-5); padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
}
.footer-copy { margin: 0; font-size: .82rem; color: var(--text-muted); }
.footer-legal ul.menu { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-legal a { font-size: .82rem; color: var(--text-muted); }
.footer-legal a:hover { color: var(--text); }

@media (max-width: 480px) {
  .footer-bar { flex-direction: column; align-items: flex-start; }
}

/* ---- responsive nav ------------------------------------------------------- */
@media (max-width: 860px) {
  .burger { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: var(--s-2) var(--s-4) var(--s-3);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding: .6rem 0; }
  .nav-links .btn { margin-top: var(--s-2); text-align: center; }
  .site-header { position: relative; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Visible only to screen readers, but still focusable (skip link). */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  width: auto; height: auto; clip: auto;
  background: var(--primary); color: var(--primary-ink);
  padding: .6rem 1rem; border-radius: 6px;
}

/* ---- nav lists -----------------------------------------------------------
   wp_nav_menu emits <ul><li>. Reset list chrome and let the flex layout on the
   parent apply to the items themselves. */
.nav-links ul.menu {
  display: flex; align-items: center; gap: var(--s-4);
  list-style: none; margin: 0; padding: 0;
}

/* Two-level nav. On desktop a child list is a hover/focus dropdown; on mobile
   it is simply indented and always visible, so the panel needs no extra JS and
   no disclosure button that can be missed. */
.nav-links ul.menu > li { position: relative; }
.nav-links .menu-item-has-children > a::after {
  content: ""; display: inline-block; margin-left: .4em; vertical-align: .12em;
  width: .42em; height: .42em; border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translate(-.1em, -.1em);
}
.nav-links .current-menu-ancestor > a { color: var(--text-strong); }

.nav-links ul.sub-menu {
  list-style: none; margin: 0; padding: .4rem;
  position: absolute; top: 100%; left: -.6rem; z-index: 200;
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s;
}
.nav-links ul.sub-menu a {
  display: block; padding: .5rem .7rem; border-radius: 6px;
  font-size: 14.5px; line-height: 1.35;
}
.nav-links ul.sub-menu a:hover,
.nav-links ul.sub-menu a:focus-visible { background: rgba(255, 255, 255, .05); }
.nav-links ul.menu > li:hover > .sub-menu,
.nav-links ul.menu > li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
/* Keeps the pointer from falling through the gap between item and panel. */
.nav-links .menu-item-has-children::before {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 10px;
}

@media (max-width: 860px) {
  .nav-links ul.menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-links ul.menu a { display: block; padding: .6rem 0; }
  .nav-links ul.menu > li { position: static; }
  .nav-links .menu-item-has-children > a::after { display: none; }
  .nav-links .menu-item-has-children::before { display: none; }
  .nav-links ul.sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 0 0 .4rem .9rem; margin: 0 0 .2rem;
    background: none; border: 0; border-left: 1px solid var(--rule);
    border-radius: 0; box-shadow: none;
  }
  .nav-links ul.sub-menu a { padding: .4rem 0; font-size: 14px; }
}
@media (max-width: 560px) {
  .footer-nav ul.menu { gap: .85rem; }
}

/* ---- brand logo ----------------------------------------------------------
   Kit rule: keep clear space of at least half the box width on every side,
   and never recolour or stretch the mark. */
.brand { display: inline-flex; align-items: center; padding: .25rem 0; }
.brand-logo { display: block; height: 31.5px; width: auto; }
.brand-logo-footer { height: 54px; }
@media (max-width: 560px) {
  .brand-logo { height: 26px; }
  .brand-logo-footer { height: 46px; }
}

/* ---- services page --------------------------------------------------------
   Long-form sections separated by a rule rather than cards: this is reading
   copy, and five stacked boxes read as a list of adverts. */
.svc { max-width: var(--measure); padding: var(--s-5) 0; border-top: 1px solid var(--rule); }
.svc:first-of-type { border-top: 0; padding-top: var(--s-3); }
.svc h2 { scroll-margin-top: calc(var(--nav-h) + 1rem); }
.svc h3 { font-size: 1.05rem; color: var(--text-strong); margin-top: var(--s-4); margin-bottom: .4rem; }
.svc ul { padding-left: 1.15rem; margin: 0 0 var(--s-3); }
.svc li + li { margin-top: .3rem; }
.svc .svc-cta { margin-top: var(--s-4); margin-bottom: 0; }

/* ---- legal pages ---------------------------------------------------------- */
.legal { max-width: var(--measure); }
.legal h2 { font-size: 1.25rem; margin-top: var(--s-5); padding-top: var(--s-3);
  border-top: 1px solid var(--rule); }
.legal h3 { font-size: 1.02rem; margin-top: var(--s-4); margin-bottom: .35rem; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.15rem; margin: 0 0 var(--s-3); }
.legal li + li { margin-top: .3rem; }
.legal a { text-decoration: underline; }
.legal > p:first-child { color: var(--text-muted); }

/* ---- build notice ---------------------------------------------------------
   Visible on purpose: an unwired form should look unfinished, not shipped. */
.notice-build {
  margin: var(--s-5) 0 0; padding: var(--s-4);
  border: 1px dashed var(--rule); border-left: 3px solid var(--primary);
  border-radius: var(--radius); background: rgba(107, 219, 126, .04);
  max-width: var(--measure);
}
.notice-build p { font-size: .92rem; color: var(--text); margin-bottom: .6rem; }
.notice-build p:last-child { margin-bottom: 0; }
.notice-build .disclosure-copy {
  background: var(--surface); border-radius: 7px; padding: .75rem .9rem;
  font-size: .82rem; line-height: 1.55; color: var(--text-muted);
}

/* ---- service + case study pages ------------------------------------------- */
.svc-lead {
  max-width: var(--measure); font-size: 1.12rem; line-height: 1.6;
  color: var(--text-strong);
}
.svc-price {
  display: inline-block; margin-top: var(--s-3);
  border: 1px solid var(--rule); border-radius: 999px;
  padding: .35rem .9rem; font-size: .92rem; color: var(--text);
  background: var(--surface);
}
.case-card .case-metric {
  color: var(--primary); font-weight: 700; font-size: 1.3rem;
  letter-spacing: -.01em; margin: 0 0 .1rem; line-height: 1.15;
}
.case-stats { margin: var(--s-4) 0 var(--s-5); max-width: var(--measure); }
.case-stats .stat b { color: var(--primary); }
.case-quote {
  margin: var(--s-5) 0 0; max-width: var(--measure);
  border-left: 3px solid var(--primary); padding: var(--s-3) var(--s-4);
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
}
.case-quote blockquote { margin: 0; border: 0; padding: 0; background: none; }
.case-quote p { font-size: 1.08rem; color: var(--text-strong); margin: 0; }
.case-quote figcaption { margin-top: .5rem; font-size: .88rem; color: var(--text-muted); }

/* ---- signup form ---------------------------------------------------------- */
.signup { max-width: var(--form-w); margin-inline: auto; }
.signup-title { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: .4rem; }
.signup-intro { color: var(--text); margin-bottom: var(--s-4); max-width: 56ch; }
.field-row { display: grid; gap: var(--s-3); }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.signup .field { margin-bottom: var(--s-3); }
.signup .req { color: var(--primary); }
.signup textarea { resize: vertical; min-height: 88px; }
.signup button.btn { width: 100%; }
@media (min-width: 620px) { .signup button.btn { width: auto; min-width: 240px; } }

/* honeypot: present in the DOM, never shown or focusable */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error, .form-ok {
  border-radius: 8px; padding: .7rem .9rem; margin: 0 0 var(--s-3); font-size: .95rem;
}
.form-error { background: rgba(168,57,31,.14); border: 1px solid #A8391F; color: #F0C4B8; }
.form-ok { background: rgba(107,219,126,.12); border: 1px solid var(--primary); color: #D6F5DD; }

/* The form is the point of the section it sits in, so give it room.

   This band used to be --surface, which is *lighter* than the page and the
   exact colour of the card sitting on it: the card dissolved into its own
   background and the section read as a bright slab between two hairlines.
   Recessing it instead pushes the card forward, and fading the band into the
   page at both ends removes the hard rules it used to sit between.

   It also needs its own symmetric padding: `.section + .section` zeroes the
   top padding, which is right for stacked prose sections and wrong here - it
   left the form flush against the section above and 3.5rem clear below. */
.section-signup {
  background: linear-gradient(
    180deg,
    var(--page) 0%, var(--page-deep) 12%,
    var(--page-deep) 88%, var(--page) 100%
  );
  border: 0;
}
.section + .section.section-signup { padding-top: var(--s-6); }
.section.section-signup { padding-bottom: var(--s-6); }
/* Lifted off the recessed band rather than flush with it. */
.section-signup .form-card {
  box-shadow: 0 18px 44px rgba(0, 0, 0, .35);
  border-color: #2C333E;
}
.signup.is-compact .signup-intro { margin-bottom: var(--s-3); }

/* ---- hero backdrop ---------------------------------------------------------
   Two decorative layers behind the hero: a bed of spots that ripples outward,
   and brand marks drifting across. Both are pointer-events:none and sit at a
   low opacity so the headline always wins the contrast fight, which the audit
   flagged on the React build where floating logos covered the H1. */
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 2; width: 100%; }

.hero-backdrop {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
  /* Carve a clear zone where the headline sits. The React build let the logos
     drift straight across the H1, which the audit flagged as a legibility
     problem; here the field fades out behind the copy and stays at the edges. */
  --safe: radial-gradient(58% 46% at 50% 44%,
            transparent 0%, transparent 42%, #000 78%);
  -webkit-mask-image: var(--safe); mask-image: var(--safe);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}

/* --- bed of spots --- */
.dot-bed { position: absolute; inset: 8% 4% 12%; }
.dot-bed .dot {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--primary);
  opacity: .16;
  transform: translate(-50%, -50%);
  animation: dot-ripple 4.2s ease-in-out infinite;
  animation-delay: calc(var(--d) * -2.6s);
  will-change: transform, opacity;
}
@keyframes dot-ripple {
  0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: .12; }
  50%      { transform: translate(-50%, -50%) scale(2.1); opacity: .34; }
}

/* --- drifting brand marks --- */
.float-icon {
  position: absolute; top: var(--top); left: -8%;
  width: var(--size); height: var(--size);
  color: var(--text);
  opacity: .18;
  animation: icon-drift var(--dur) linear infinite;
  animation-delay: var(--delay);
  will-change: transform;
}
.float-icon svg { display: block; width: 100%; height: 100%; }
@keyframes icon-drift {
  0%   { transform: translate3d(0, 0, 0); }
  25%  { transform: translate3d(30vw, calc(var(--drift) * -1), 0); }
  50%  { transform: translate3d(60vw, 0, 0); }
  75%  { transform: translate3d(90vw, var(--drift), 0); }
  100% { transform: translate3d(124vw, 0, 0); }
}

/* Fewer, smaller, calmer on phones: this is decoration, not content. */
@media (max-width: 700px) {
  .dot-bed .dot:nth-child(2n) { display: none; }
  .float-icon { opacity: .1; }
  .float-icon:nth-child(2n) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .dot-bed .dot, .float-icon { animation: none; }
  .float-icon { opacity: .08; }
}

/* ---- smaller button -------------------------------------------------------
   Section-level links do not need the weight of a primary page CTA; at full
   size, five of them down the services page competed with the real one. */
.btn-sm { padding: .42rem .8rem; font-size: 13.5px; font-weight: 600; }

/* CTA line on the services overview: a sentence of context, then a quiet link
   through to the detail page. The booking CTA lives once, at the foot. */
.svc .svc-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .65rem;
  margin-top: var(--s-4); margin-bottom: 0;
}
.svc .svc-cta-note { color: var(--text-muted); font-size: .92rem; flex: 1 1 18rem; min-width: 0; }

/* ---- contact layout -------------------------------------------------------
   Form first and widest: it is the action the page exists for. The panel beside
   it carries the alternatives and the reassurance, which are read second.
   Stacks with the form still first on narrow screens. */
.contact-layout { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s-5); }
}
.contact-form .signup { max-width: none; margin: 0; }
.contact-panel h2 { font-size: 1.05rem; margin: 0 0 .4rem; }
.contact-panel h2 + p { margin-bottom: var(--s-3); }
.contact-panel > h2:not(:first-child) { margin-top: var(--s-4); }
.contact-panel p { font-size: .95rem; color: var(--text); }
.contact-steps { margin: 0; padding-left: 1.1rem; }
.contact-steps li { font-size: .95rem; color: var(--text); margin-bottom: .5rem; }
.contact-steps strong { color: var(--text-strong); }
.contact-reassure {
  margin-top: var(--s-4); padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
  font-size: .9rem; color: var(--text-muted);
}

/* ---- pricing --------------------------------------------------------------
   Cards for the entry ladder, rows for everything else. Three cards invite a
   choice; nine cards invite a bounce, so the larger engagements are compared
   in a list where the eye can run down the right-hand column. */
.price-cards {
  display: grid; gap: var(--s-3); margin-top: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.price-card {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: var(--s-4);
  display: flex; flex-direction: column;
}
.price-card.is-feature { border-color: var(--primary); }
.price-flag {
  margin: 0 0 .6rem; align-self: flex-start;
  background: rgba(107, 219, 126, .12); color: var(--primary);
  border-radius: 999px; padding: .25rem .7rem;
  font-size: 11.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
}
.price-card h3 { margin: 0 0 .4rem; font-size: 1.08rem; }
.price-amount {
  margin: 0 0 .8rem; color: var(--text-strong);
  font-size: 1.9rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.price-amount span,
.price-row-amount span {
  display: block; margin-top: .2rem;
  font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: var(--text-muted);
}
.price-blurb { margin: 0 0 var(--s-3); font-size: 14.5px; line-height: 1.55; }
.price-act { margin: auto 0 0; font-size: 14.5px; font-weight: 600; }

.price-rows { list-style: none; margin: var(--s-4) 0 0; padding: 0; }
.price-row {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  align-items: baseline; justify-content: space-between;
  padding: var(--s-3) 0; border-top: 1px solid var(--rule);
}
.price-row:last-child { border-bottom: 1px solid var(--rule); }
.price-row-main { flex: 999 1 420px; min-width: 0; }
.price-row-main h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.price-row-main p { margin: 0; font-size: 14.5px; line-height: 1.5; max-width: 62ch; }
.price-row-amount {
  margin: 0; text-align: right; white-space: nowrap;
  color: var(--text-strong); font-size: 1.15rem; font-weight: 700;
  letter-spacing: -.01em; font-variant-numeric: tabular-nums;
}
.price-row-amount span { text-align: right; white-space: normal; }
@media (max-width: 560px) {
  .price-row-amount, .price-row-amount span { text-align: left; }
}

/* ---- founder card ---------------------------------------------------------
   For a consultancy the person is the product, so the founder gets a card
   rather than a paragraph: circular portrait, name, role, short bio. */
/* Every rule here is scoped under .founder-band on purpose. The band renders
   inside .entry-content, whose descendant selectors (.entry-content ul,
   .entry-content li + li) would otherwise win on specificity and put list
   padding and row margins back into the credential strip. */
.founder-band {
  background: #000; color: var(--text);
  box-sizing: border-box; padding: var(--s-6) var(--s-4);
  margin: var(--s-5) 0; border-radius: var(--radius);
}
/* Full-bleed escape from .wrap, which caps at 1180px.

   100vw counts the scrollbar, so the band overhangs the viewport by its width
   and would force a horizontal scrollbar; clipping the page contains it.
   Deliberately `clip`, never `hidden`: hidden makes the page a scroll
   container, which silently kills position: sticky on the /services/ plates.
   Guarded, because a browser without `clip` would get the scrollbar instead -
   there the band simply stays inside the wrap, which is merely less dramatic. */
@supports (overflow-x: clip) {
  html { overflow-x: clip; }
  .founder-band { width: 100vw; margin-inline: calc(50% - 50vw); border-radius: 0; }
}
.founder-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.founder-band .founder-eyebrow {
  margin: 0 0 28px; font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--primary);
}
.founder-band .founder-portrait {
  flex: 0 0 auto; width: 168px; height: 168px; border-radius: 50%;
  border: 3px solid var(--primary); background: var(--surface); overflow: hidden;
}
.founder-band .founder-portrait img,
.founder-band .founder-portrait svg {
  display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.founder-band .founder-name {
  margin: 26px 0 0; font-size: 42px; line-height: 1.1; font-weight: 700;
  letter-spacing: -.02em; color: var(--text-strong);
}
.founder-band .founder-role {
  margin: 10px 0 0; font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
}
.founder-band .founder-bio { max-width: 800px; margin-top: 30px; }
.founder-band .founder-bio p { margin: 0 0 18px; font-size: 17px; line-height: 1.72; }
.founder-band .founder-bio p:last-child { margin-bottom: 0; }
/* Emphasis inside the bio: white against the body grey. 600 rather than the
   browser's 700, because on a black ground a true bold at 17px blooms and the
   highlighted phrases stop reading as part of the sentence. */
.founder-band .founder-bio strong,
.founder-band .founder-bio b {
  color: var(--text-strong); font-weight: 600;
}
.founder-band .founder-note {
  margin: var(--s-3) 0 0; font-size: 12.5px; color: var(--text-muted);
  border-top: 1px dashed var(--rule); padding-top: .6rem;
}
.founder-band .founder-creds {
  list-style: none; width: 100%; margin: 46px 0 0; padding: 38px 0 0;
  border-top: 1px solid #262B34;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
}
.founder-band .founder-cred { text-align: left; margin: 0; }
.founder-band .founder-cred + .founder-cred {
  padding-left: 32px; border-left: 1px solid #262B34;
}
.founder-band .founder-cred-v {
  margin: 0; font-size: 30px; font-weight: 700;
  letter-spacing: -.02em; color: var(--text-strong);
}
.founder-band .founder-cred-l {
  margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--text-muted);
}
/* Three hairline-separated columns become stacked rows, so the divider has to
   move from the left edge to the top. */
@media (max-width: 820px) {
  .founder-band .founder-creds { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .founder-band .founder-cred + .founder-cred {
    padding-left: 0; border-left: 0;
    margin-top: 24px; padding-top: 24px; border-top: 1px solid #262B34;
  }
}
@media (max-width: 520px) {
  .founder-band { padding: var(--s-5) var(--s-3); }
  .founder-band .founder-portrait { width: 132px; height: 132px; }
  .founder-band .founder-name { font-size: 32px; }
  .founder-band .founder-bio p { font-size: 16px; }
  .founder-band .founder-cred-v { font-size: 26px; }
}

/* ---- split service cards --------------------------------------------------
   Mark on one side, copy on the other, mirrored in the right-hand column so
   the two marks sit on the outer edges of the grid and the reading columns
   face each other. Below the 2-up breakpoint there is only one column, so the
   mirror is meaningless and the card stacks mark-first. */
.card-split { display: flex; flex-direction: column; gap: var(--s-3); }
.card-mark { flex: 0 0 auto; }
.card-mark svg {
  display: block; width: 100%; height: auto;
  border-radius: 8px; background: #0F1217;
}
.card-body { flex: 999 1 auto; min-width: 0; }
.card-body > :first-child { margin-top: 0; }
@media (min-width: 760px) {
  .card-split { flex-direction: row; align-items: flex-start; gap: var(--s-4); }
  .card-mark { width: 132px; }
  .grid-2up > .card-split:nth-child(even) { flex-direction: row-reverse; }
}
@media (max-width: 759px) {
  .card-mark { max-width: 160px; }
}

/* ---- service plates on /services/ -----------------------------------------
   Copy one side, plate the other, swapping sides down the page. The section
   used to carry max-width: var(--measure), which capped the whole thing and
   left the right half of the page empty; the cap now sits on the copy column. */
/* The base .svc rule caps at --measure, which would squeeze the grid's copy
   column to a third of its width. The cap belongs on the copy, not the row. */
/* srow-, not svc-. The homepage row below also grew a "plate" and a "copy"
   and reached for the same names; its `.svc-copy { grid-column: span 2 }` then
   applied here too, spanning the copy across both columns of this grid and
   pushing every unflipped plate onto a line of its own at full width. The
   flipped rows survived only because they re-declare grid-column below.
   Separate names, and both children are now placed explicitly in both
   directions, so a stray grid-column cannot reproduce it. */
.svc.has-plate { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
.srow-copy { max-width: var(--measure); min-width: 0; }
.srow-media { margin: 0; min-width: 0; }
.srow-media svg { display: block; width: 100%; height: auto; border-radius: var(--radius); }
@media (min-width: 960px) {
  .svc.has-plate { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-5); align-items: start; }
  /* The copy runs long, so the plate follows it down rather than stranding a
     screen of empty column beside paragraph four. */
  .srow-media { position: sticky; top: calc(var(--nav-h) + 24px); }
  .svc.has-plate .srow-copy  { grid-column: 1; grid-row: 1; }
  .svc.has-plate .srow-media { grid-column: 2; grid-row: 1; }
  .svc.has-plate.is-flipped { grid-template-columns: 360px minmax(0, 1fr); }
  .svc.has-plate.is-flipped .srow-copy  { grid-column: 2; grid-row: 1; }
  .svc.has-plate.is-flipped .srow-media { grid-column: 1; grid-row: 1; }
}
@media (max-width: 959px) {
  .srow-media { max-width: 420px; }
}

/* ---- service plate motion --------------------------------------------------
   One gesture per plate on a shared 7s cycle with a long resting beat, so the
   five plates down the page read as one system rather than five loops at five
   speeds. Everything is transform/opacity/stroke-dashoffset, none of which
   forces layout. transform-box: fill-box is load-bearing on anything that
   scales: without it an SVG child scales about the viewBox origin, not itself,
   and a growing bar shoots off the plate. */
.srow-flow { stroke-dasharray: 14 10; animation: srow-march 7s linear infinite; }
@keyframes srow-march { 0%,6% { stroke-dashoffset: 0 } 70%,100% { stroke-dashoffset: -120 } }

.srow-rise { opacity: .12; transform: translateY(10px); animation: srow-rise 7s cubic-bezier(.22,.61,.36,1) infinite; }
@keyframes srow-rise {
  0%,5% { opacity: .12; transform: translateY(10px) }
  20%,88% { opacity: 1; transform: translateY(0) }
  97%,100% { opacity: .12; transform: translateY(10px) }
}

.srow-glow { animation: srow-glow 7s ease-in-out infinite; }
@keyframes srow-glow { 0%,8% { opacity: .3 } 22%,88% { opacity: 1 } 97%,100% { opacity: .3 } }

.srow-grow-x { transform: scaleX(0); transform-box: fill-box; transform-origin: left center; animation: srow-grow-x 7s cubic-bezier(.3,.8,.4,1) infinite; }
@keyframes srow-grow-x { 0%,5% { transform: scaleX(0) } 28%,88% { transform: scaleX(1) } 97%,100% { transform: scaleX(0) } }

.srow-grow-y { transform: scaleY(0); transform-box: fill-box; transform-origin: center bottom; animation: srow-grow-y 7s cubic-bezier(.3,.8,.4,1) infinite; }
@keyframes srow-grow-y { 0%,5% { transform: scaleY(0) } 30%,88% { transform: scaleY(1) } 97%,100% { transform: scaleY(0) } }

.srow-pop { opacity: 0; transform: scale(.3); transform-box: fill-box; transform-origin: center; animation: srow-pop 7s cubic-bezier(.34,1.56,.64,1) infinite; }
@keyframes srow-pop {
  0%,10% { opacity: 0; transform: scale(.3) }
  24%,88% { opacity: 1; transform: scale(1) }
  97%,100% { opacity: 0; transform: scale(.3) }
}

/* The two stragglers in the CRM stack, drifting out and fading as the
   survivor stays put. */
.srow-settle-a { animation: srow-settle-a 7s cubic-bezier(.5,0,.2,1) infinite; }
@keyframes srow-settle-a {
  0%,8% { transform: translate(0,0); opacity: 1 }
  38%,88% { transform: translate(16px,12px); opacity: .35 }
  97%,100% { transform: translate(0,0); opacity: 1 }
}
.srow-settle-b { animation: srow-settle-b 7s cubic-bezier(.5,0,.2,1) infinite; }
@keyframes srow-settle-b {
  0%,8% { transform: translate(0,0); opacity: 1 }
  38%,88% { transform: translate(8px,6px); opacity: .65 }
  97%,100% { transform: translate(0,0); opacity: 1 }
}

/* Travels the four list rows on the strategy plate: y 70 to 256. */
.srow-scan { opacity: 0; animation: srow-scan 7s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes srow-scan {
  0%,6% { transform: translateY(0); opacity: 0 } 14% { opacity: 1 }
  68% { transform: translateY(186px); opacity: 1 }
  80%,100% { transform: translateY(186px); opacity: 0 }
}

.srow-d1 { animation-delay: .45s } .srow-d2 { animation-delay: .9s }
.srow-d3 { animation-delay: 1.35s } .srow-d4 { animation-delay: 1.8s }

/* ---- home services row -----------------------------------------------------
   Three per row, no container box. Each item is its own three-column sub-grid:
   the plate takes one column, the copy takes two. The hairline above carries
   the structure a card border used to, and costs the copy column nothing -
   which at three across is the difference between a two-line and a three-line
   service name.

   All motion is transform/opacity only, so none of it forces layout, and all
   of it resolves to a finished state under prefers-reduced-motion. */
/* The two-panel split. The heading pins; the cards scroll past it.

   align-self: start is the load-bearing line. A grid item defaults to
   stretch, which makes the intro column exactly as tall as the card column -
   and a sticky element that already fills its container has nowhere to travel,
   so it never sticks. Starting it means its box is only as tall as its text,
   leaving the rest of the row as the distance it can ride. */
/* A fluid pinned column, not a fixed one. At a fixed 300px a 1100px laptop
   left the copy beside each plate at about 219px, which is too narrow for a
   20px heading; letting the panel give ground keeps the cards readable all the
   way down to where the split collapses. */
.svc-split {
  display: grid;
  grid-template-columns: clamp(230px, 23%, 290px) minmax(0, 1fr);
  /* Scales with the viewport, and generous because the CTA box bleeds 25px
     rightward to align its text - so the clearance the eye actually sees
     between that box and the first card is the gap MINUS the bleed. At a flat
     48px that left barely 23px of air. */
  column-gap: clamp(48px, 5vw, 76px); margin-top: var(--s-5);
}
.svc-intro { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.svc-intro h2 { margin: 0 0 var(--s-3); }
.svc-intro p { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.65; }

.svc-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px; row-gap: 40px; margin-top: 0;
}
/* A fixed plate instead of a third of the card. At two per row inside the
   right panel a card is ~390px, so a 1fr-of-3 plate would take 120px AND
   scale with the card, leaving the copy about 230px - too narrow for a 22px
   heading. Pinning the plate hands every pixel the panel gains to the copy. */
.svc-item {
  border-top: 1px solid var(--rule); padding-top: 20px;
  display: grid; grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px; align-items: start;
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1),
              transform .6s cubic-bezier(.22,.61,.36,1),
              border-color .3s ease;
}
.svc-item.is-in { opacity: 1; transform: none; }
.svc-item:hover { border-top-color: #4A5260; }
.svc-item:hover .svc-box { border-color: #39414F; }

.svc-box {
  grid-column: 1; position: relative; aspect-ratio: 1;
  border: 1px solid #262B34; border-radius: 8px; overflow: hidden;
  background: #121519; transition: border-color .3s ease;
}
.svc-plate-wrap { height: 100%; will-change: transform; }
.svc-plate { display: block; width: 100%; height: 100%; }
.svc-icon { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; }

/* Two rows, not two columns. The plate and the labels share row 1; everything
   that reads as prose drops to row 2 and spans the card, so the detail gets
   the full ~396px instead of the 264px left beside a 116px plate. */
/* Centred against the plate, not top-aligned: the plate fixes row 1 at 116px,
   so a one-line title like "CRM Intelligence" would otherwise sit at the top
   with 60px of air under it before the body starts. */
.svc-head { grid-column: 2; grid-row: 1; min-width: 0; align-self: center; }
.svc-body { grid-column: 1 / -1; grid-row: 2; min-width: 0; margin-top: 4px; }
.svc-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #949BA8; margin: 0 0 7px;
}
.svc-row h3 {
  margin: 0 0 9px; font-size: 20px; line-height: 1.24;
  letter-spacing: -.015em; color: var(--text-strong);
}
.svc-body p { font-size: 15px; line-height: 1.6; color: var(--text); margin: 0 0 12px; }
.svc-body .svc-more { margin: 0; }
.svc-more a { font-size: 15px; font-weight: 600; text-decoration: none; }

/* The salient points. Dashes rather than discs, matching the tier lists on the
   pricing page; a green tick would read as a guarantee on work that has not
   been scoped yet. */
.svc-points {
  list-style: none; margin: 0 0 14px; padding: 0;
  display: grid; gap: 7px;
}
.svc-points li {
  position: relative; padding-left: 18px;
  font-size: 14.5px; line-height: 1.5;
  /* A step above --text: the points are the part people actually scan, and at
     14.5px they need the extra weight of colour to hold against the lead. */
  color: #C6CCD7;
}
.svc-points li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 1px; background: var(--primary);
}
/* Was --text-muted, which read dimmer than the identical paragraph in the
   pinned panel beside it. Inherits --text from .svc-body p now, so the two
   columns match. */
.svc-body .svc-lead-line { color: var(--text); }

/* The pinned column's call to action. Ash panel, green button - the one place
   in the section that asks for anything. */
/* A padded box cannot align its text with unpadded text above it unless the
   box itself grows outward, so it bleeds by exactly its own padding.

   The bleed is capped by how much room actually exists outside the 1180px
   wrap: full 24px once the viewport is wide enough to afford it, tapering to
   zero at 1180px and below, where bleeding would push the panel flush against
   the edge of the screen. max() floors it so a viewport narrower than the wrap
   cannot turn the margin positive and indent the box instead. */
.svc-cta {
  /* Padding PLUS the 1px border: both inset the text, so bleeding by the
     padding alone leaves it a pixel short of the paragraph above. */
  --cta-bleed: max(0px, min(calc(var(--s-4) + 1px), (100vw - 1180px) / 2));
  margin-top: var(--s-4); margin-inline: calc(var(--cta-bleed) * -1);
  padding: var(--s-4);
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius);
}
/* Stacked, the panel is full width and there is nothing to align to. */
@media (max-width: 1080px) { .svc-cta { margin-inline: 0; } }
.svc-cta .svc-eyebrow { margin-bottom: 6px; }
.svc-cta h3 {
  margin: 0 0 8px; font-size: 18px; line-height: 1.25;
  letter-spacing: -.015em; color: var(--text-strong);
}
.svc-cta p {
  margin: 0 0 var(--s-3); font-size: 14.5px;
  line-height: 1.55; color: var(--text);
}
/* Flex rather than the inline-block .btn default, so the label centres and the
   box can carry a floor height. btn-sm alone left this at 32px - fine against
   WCAG 2.2 AA's 24px, mean for the only real call to action in the section. */
.svc-cta .btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 44px; text-align: center;
}

/* Below this the right panel is too narrow to carry two cards AND a pinned
   column beside it, so the split collapses first and the cards keep their two
   across at the full width of the wrap. */
@media (max-width: 1080px) {
  .svc-split { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-4); }
  .svc-intro { position: static; }
  .svc-intro p { max-width: var(--measure); }
}
@media (max-width: 760px) {
  .svc-row { grid-template-columns: repeat(1, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; }
}
/* One card across, so the plate can have its size back. */
@media (max-width: 420px) {
  .svc-item { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
}

/* The five idle loops. One gesture each: at ~108px there is room for exactly
   one, and a 7s cycle with a long resting beat lets the motion resolve rather
   than shimmer at a visitor who has stopped scrolling. */
.svc-token { animation: svc-travel 7s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes svc-travel {
  0%,8% { transform: translateY(0) } 30%,38% { transform: translateY(26px) }
  60%,68% { transform: translateY(52px) } 90%,100% { transform: translateY(0) }
}
.svc-hl { opacity: 0; animation: svc-pulse 7s ease-in-out infinite; }
.svc-hl-2 { animation-delay: 2.1s } .svc-hl-3 { animation-delay: 4.2s }
@keyframes svc-pulse { 0%,4% { opacity: 0 } 10%,24% { opacity: 1 } 32%,100% { opacity: 0 } }
.svc-scan { opacity: 0; animation: svc-sweep 7s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes svc-sweep {
  0%,6% { transform: translateY(0); opacity: 0 } 14% { opacity: 1 }
  70% { transform: translateY(58px); opacity: 1 } 82%,100% { transform: translateY(58px); opacity: 0 }
}
.svc-tick { opacity: 0; transform: scale(.4); transform-origin: center; animation: svc-check 7s ease-out infinite; }
.svc-tick-2 { animation-delay: 1.1s } .svc-tick-3 { animation-delay: 2.2s }
@keyframes svc-check {
  0%,10% { opacity: 0; transform: scale(.4) } 18%,84% { opacity: 1; transform: scale(1) }
  92%,100% { opacity: 0; transform: scale(.4) }
}
.svc-bar { transform: scaleX(0); transform-origin: left center; animation: svc-fill 7s cubic-bezier(.3,.8,.4,1) infinite; }
.svc-bar-2 { animation-delay: .5s } .svc-bar-3 { animation-delay: 1s }
@keyframes svc-fill { 0%,6% { transform: scaleX(0) } 26%,80% { transform: scaleX(1) } 94%,100% { transform: scaleX(0) } }
.svc-merge-a { animation: svc-merge-in 7s cubic-bezier(.5,0,.2,1) infinite; }
.svc-merge-b { animation: svc-merge-out 7s cubic-bezier(.5,0,.2,1) infinite; }
@keyframes svc-merge-in {
  0%,12% { transform: translate(0,0) } 44%,78% { transform: translate(10px,7px) } 94%,100% { transform: translate(0,0) }
}
@keyframes svc-merge-out {
  0%,12% { transform: translate(0,0); opacity: 1 } 44%,78% { transform: translate(-6px,-4px); opacity: .25 }
  94%,100% { transform: translate(0,0); opacity: 1 }
}
.svc-node { opacity: .3; animation: svc-light 7s ease-in-out infinite; }
.svc-node-2 { animation-delay: .7s } .svc-node-3 { animation-delay: 1.4s } .svc-node-4 { animation-delay: 2.1s }
@keyframes svc-light { 0%,8% { opacity: .3 } 20%,76% { opacity: 1 } 90%,100% { opacity: .3 } }
.svc-track { transform: scaleX(0); transform-origin: left center; animation: svc-fill 7s cubic-bezier(.4,.6,.3,1) infinite; }

/* The pixel icon. Six cells blink out of step on three jitter patterns, then
   all six jump to their ending on the same frame, so the letter snaps into
   being. steps(1, end) is load-bearing: with a smooth easing the whole idea
   collapses into a generic fade. The ending rides in --eo / --ef per cell,
   which is why one keyframe set serves every letter. */
.svc-px { animation-duration: 4.6s; animation-iteration-count: infinite; animation-timing-function: steps(1, end); }
.svc-px-a { animation-name: svc-flk-a } .svc-px-b { animation-name: svc-flk-b }
.svc-px-c { animation-name: svc-flk-c } .svc-px-d { animation-name: svc-flk-d }
.svc-px-e { animation-name: svc-flk-e } .svc-px-f { animation-name: svc-flk-f }
@keyframes svc-flk-a {
  0% { opacity: 0 } 5% { opacity: 1; fill: #6BDB7E } 10% { opacity: 0 }
  16% { opacity: 1; fill: #FFFFFF } 22% { opacity: 1; fill: #6BDB7E } 28% { opacity: 0 }
  34% { opacity: 1; fill: #FFFFFF } 40% { opacity: 0 } 46% { opacity: 1; fill: #6BDB7E }
  52% { opacity: 1; fill: #FFFFFF } 58%,100% { opacity: var(--eo); fill: var(--ef) }
}
@keyframes svc-flk-b {
  0% { opacity: 1; fill: #FFFFFF } 7% { opacity: 0 } 13% { opacity: 1; fill: #6BDB7E }
  19% { opacity: 0 } 24% { opacity: 1; fill: #FFFFFF } 31% { opacity: 1; fill: #6BDB7E }
  37% { opacity: 0 } 43% { opacity: 1; fill: #FFFFFF } 49% { opacity: 0 }
  55% { opacity: 1; fill: #6BDB7E } 58%,100% { opacity: var(--eo); fill: var(--ef) }
}
@keyframes svc-flk-c {
  0% { opacity: 1; fill: #6BDB7E } 4% { opacity: 0 } 11% { opacity: 1; fill: #FFFFFF }
  17% { opacity: 1; fill: #6BDB7E } 25% { opacity: 0 } 30% { opacity: 1; fill: #FFFFFF }
  36% { opacity: 1; fill: #6BDB7E } 42% { opacity: 0 } 48% { opacity: 1; fill: #FFFFFF }
  54% { opacity: 0 } 58%,100% { opacity: var(--eo); fill: var(--ef) }
}
@keyframes svc-flk-d {
  0% { opacity: 0 } 8% { opacity: 1; fill: #FFFFFF } 12% { opacity: 1; fill: #6BDB7E }
  20% { opacity: 0 } 26% { opacity: 1; fill: #FFFFFF } 33% { opacity: 0 }
  39% { opacity: 1; fill: #6BDB7E } 45% { opacity: 1; fill: #FFFFFF } 50% { opacity: 0 }
  56% { opacity: 1; fill: #6BDB7E } 58%,100% { opacity: var(--eo); fill: var(--ef) }
}
@keyframes svc-flk-e {
  0% { opacity: 1; fill: #6BDB7E } 6% { opacity: 1; fill: #FFFFFF } 15% { opacity: 0 }
  21% { opacity: 1; fill: #6BDB7E } 27% { opacity: 1; fill: #FFFFFF } 32% { opacity: 0 }
  38% { opacity: 1; fill: #FFFFFF } 44% { opacity: 1; fill: #6BDB7E } 51% { opacity: 0 }
  57% { opacity: 1; fill: #FFFFFF } 58%,100% { opacity: var(--eo); fill: var(--ef) }
}
@keyframes svc-flk-f {
  0% { opacity: 1; fill: #FFFFFF } 3% { opacity: 1; fill: #6BDB7E } 9% { opacity: 0 }
  14% { opacity: 1; fill: #FFFFFF } 20% { opacity: 1; fill: #6BDB7E } 29% { opacity: 0 }
  35% { opacity: 1; fill: #FFFFFF } 41% { opacity: 1; fill: #6BDB7E } 47% { opacity: 0 }
  53% { opacity: 1; fill: #FFFFFF } 58%,100% { opacity: var(--eo); fill: var(--ef) }
}

/* The price line pre-qualifies before anyone clicks, and extends the site's
   published-prices stance onto the first screen. */
/* Its own class, not .svc-price: that one already dresses the price pill on
   the service pages, and sharing it meant this rule was quietly restyling
   those too. Same pill shape here, declared rather than inherited. */
/* Scoped to .svc-item, not .svc-body: the pill now sits in the head under the
   title, and a bare .svc-card-price would lose on specificity to the global
   p rule that follows it. line-height is explicit because an inline-block in a
   1.6 line box carries leading it does not need. */
.svc-item .svc-card-price {
  /* 3px, not 9: an inline-block does not margin-collapse with the h3 above it,
     so a matching 9px would stack on the heading's own 9px and open an 18px
     gap where 12 is wanted. */
  display: inline-block; margin: 3px 0 0; line-height: 1.15;
  border: 1px solid var(--rule); border-radius: 999px;
  padding: .3rem .8rem; background: var(--surface);
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--primary); font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .svc-item { opacity: 1; transform: none; transition: none; }
  .svc-token, .svc-hl, .svc-scan, .svc-tick, .svc-bar,
  .svc-merge-a, .svc-merge-b, .svc-node, .svc-track, .svc-px { animation: none; }
  .svc-hl, .svc-tick, .svc-node { opacity: 1; }
  .svc-bar, .svc-track { transform: scaleX(1); }
  .svc-px { opacity: var(--eo); fill: var(--ef); }
  .svc-plate-wrap { transform: none !important; }
  /* The /services/ plates resolve to their finished state, not their first
     frame: a plate frozen at opacity 0 is a blank box. */
  .srow-flow, .srow-rise, .srow-glow, .srow-grow-x, .srow-grow-y,
  .srow-pop, .srow-settle-a, .srow-settle-b, .srow-scan { animation: none; }
  .srow-rise, .srow-glow, .srow-pop { opacity: 1 !important; }
  .srow-rise { transform: none; }
  .srow-pop { transform: scale(1); }
  .srow-grow-x { transform: scaleX(1); }
  .srow-grow-y { transform: scaleY(1); }
  .srow-scan { opacity: 0; }
}

/* ---- pricing: tiers --------------------------------------------------------
   Added with the tier restructure. The entry offer gets its own wide row above
   the cards so the free audit is not competing for attention with four priced
   options. */
.price-entry {
  display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center;
  justify-content: space-between; margin-top: var(--s-4);
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: var(--s-4);
}
.price-entry-main { flex: 999 1 420px; min-width: 0; }
.price-entry-main h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.price-entry-main p { margin: 0; font-size: 14.5px; line-height: 1.55; max-width: 62ch; }
.price-entry-act { flex: 0 1 auto; }
.price-entry-act .price-amount { margin-bottom: var(--s-3); }

.tier-headline {
  margin: 0 0 .7rem; font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted);
}
.tier-list {
  list-style: none; margin: 0 0 var(--s-3); padding: 0;
  font-size: 14px; line-height: 1.5; color: var(--text);
}
.tier-list li { position: relative; padding-left: 1.1rem; margin-bottom: .4rem; }
/* A dash, not a tick: half these lines are limits rather than benefits, and a
   green tick beside "changes are billed separately" would be a small lie. */
.tier-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 1px; background: var(--primary);
}
.price-note { margin-top: var(--s-4); }

/* Four tiers, pinned to four columns on a desktop. auto-fit decided three at
   this width and orphaned Command onto a row of its own, which read as an
   afterthought rather than the top of the ladder. */
@media (min-width: 1080px) {
  .price-tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 620px) and (max-width: 1079px) {
  .price-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* "By conversation" is not a number and should not be set like one - at
   figure size it wraps and outweighs the tiers that do carry a price. */
.price-amount.is-words { font-size: 1.3rem; line-height: 1.3; letter-spacing: -.01em; }
