/* =================================================================
   RADIANT — redesign
   Type / color / spacing tokens measured from mobbin.com.
   Mobbin's typeface (M Saans) is proprietary, so Inter Tight stands in
   at the same weights and metrics.
   ================================================================= */

:root {
  --font: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --ink: #141414;
  --muted: #717171;
  --bg: #FFFFFF;
  --gray: #F4F4F4;
  --gray-2: #EDEDED;
  --line: rgba(65, 65, 65, 0.16);
  --line-soft: rgba(65, 65, 65, 0.08);

  --w-head: 650;
  --w-semi: 600;
  --w-light: 300;

  /* Global container — taken from the "Don't take our word" work section.
     Every section aligns to this; the nav keeps its own gutter. */
  --container: 1680px;
  --gutter: 50px;
  --nav-gutter: 20px;
  /* One vertical rhythm: every section carries this as its top padding and
     no bottom padding, so any two neighbouring sections sit exactly this far apart */
  --section-gap: 180px;

  --r-pill: 999px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; background: var(--ink); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }

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

/* The white page sits on a dark canvas and ends in a flowing wave
   that reveals the footer underneath. Square corners. */
.page {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-radius: 0;
  padding-inline: var(--gutter);
  /* clip, not hidden: hidden makes .page a scroll container, which
     breaks position: sticky on the pinned circle-wipe stage */
  overflow: clip;
  /* leaves room to scroll the fixed footer into view (set in main.js) */
  margin-bottom: var(--footer-h, 0px);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.35);
}

/* Flowing wave on the white section's bottom edge. Once main.js is running
   (.has-wave), the page's own white stops just above the wave strip and one
   white SVG path — wave, side tapers and rounded corners in a single shape —
   paints the rest, so the whole bottom boundary is one continuous curve.
   Half the strip is added as extra bottom space, so the wave's mid-line sits
   where the old edge was and the CTA spacing is kept. */
.page { --wave-h: 96px; }
.page.has-wave {
  padding-bottom: calc(var(--wave-h) / 2);
  background:
    linear-gradient(var(--bg), var(--bg)) top / 100% calc(100% - var(--wave-h) - var(--r-lg) + 4px) no-repeat;
}
/* Strip = wave height + room above it for the outer corners, which use the
   site's global radius (--r-lg), drawn into the same SVG path in main.js */
.page-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--wave-h) + var(--r-lg));
  pointer-events: none;
  z-index: 2;
}
.page-wave__svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: var(--bg);
}
@media (max-width: 1024px) { .page { --wave-h: 76px; } }
@media (max-width: 768px)  { .page { --wave-h: 52px; } }

/* ----------------------------------------------------------------
   BUTTONS
---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: var(--w-semi);
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2B2B2B; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: rgba(65, 65, 65, 0.4); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--gray-2); }
.btn--block { width: 100%; }
.arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ----------------------------------------------------------------
   NAV — floating frosted pill
---------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-inline: var(--nav-gutter);
  pointer-events: none;
}

.nav__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(620px, 100%);
  height: 60px;
  padding: 8px 8px 8px 24px;
  border-radius: 30px;
  background: rgba(237, 237, 237, 0.64);
  -webkit-backdrop-filter: blur(48px);
  backdrop-filter: blur(48px);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.6px;
}
.nav__mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--ink);
  transform: rotate(45deg) scale(0.78);
}

.nav__links { display: flex; gap: 20px; }
.nav__links a { font-size: 16px; font-weight: var(--w-semi); transition: opacity 0.2s; }
.nav__links a:hover { opacity: 0.6; }

/* CTA collapses away until the page is scrolled, like the reference */
.nav__cta {
  max-width: 0;
  padding-inline: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.4s var(--ease), padding 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav.is-scrolled .nav__cta { max-width: 160px; padding-inline: 16px; opacity: 1; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav__toggle.is-open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle.is-open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ----------------------------------------------------------------
   TYPE HELPERS
---------------------------------------------------------------- */
.eyebrow {
  font-size: 14px;
  font-weight: var(--w-light);
  color: var(--muted);
  margin-bottom: 16px;
}

.h2 {
  font-size: 56px;
  line-height: 1;
  font-weight: var(--w-head);
  letter-spacing: -0.6px;
  max-width: 800px;
  margin-inline: auto;
}

.lede {
  font-size: 20px;
  line-height: 26px;
  font-weight: var(--w-light);
  color: var(--muted);
  max-width: 600px;
  margin: 20px auto 0;
}

/* ----------------------------------------------------------------
   HERO
---------------------------------------------------------------- */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 148px 0 0;
  text-align: center;
}

.hero__icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: var(--gray);
}
.hero__icon span {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 26px;
}

.hero__title {
  font-size: 80px;
  line-height: 80px;
  font-weight: var(--w-head);
  letter-spacing: -0.6px;
  max-width: 900px;
  margin: 0 auto;
}

.hero__sub {
  font-size: 20px;
  line-height: 26px;
  font-weight: var(--w-light);
  color: var(--muted);
  max-width: 520px;
  margin: 24px auto 0;
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero__checks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: var(--w-light);
  color: var(--muted);
}
.hero__checks li::before { content: '✓'; margin-right: 8px; color: var(--ink); font-weight: var(--w-semi); }

.trusted { margin-top: 72px; }
.trusted__label { font-size: 14px; font-weight: var(--w-light); color: var(--muted); }
.trusted__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 44px;
  margin-top: 18px;
}
.trusted__row span {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.6px;
  color: var(--ink);
  opacity: 0.18;
  transition: opacity 0.3s;
}
.trusted__row span:hover { opacity: 0.6; }

/* ----------------------------------------------------------------
   PROOF PANEL — gray frame, white inner sheet
---------------------------------------------------------------- */
.panel-wrap { padding-top: var(--section-gap); padding-bottom: 40px; }

.panel {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 72px 0;
  border-radius: var(--r-lg);
  background: var(--gray);
  overflow: hidden;
}

.panel__inner {
  background: var(--bg);
  border-radius: 24px 24px 0 0;
  padding: 40px 24px 24px;
}

.panel__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.panel__label { font-size: 14px; font-weight: var(--w-light); color: var(--muted); margin-bottom: 8px; }
.panel__list li {
  font-size: 22px;
  line-height: 30px;
  font-weight: var(--w-head);
  letter-spacing: -0.3px;
}

.panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 48px 0 24px;
}
.panel__link { font-size: 15px; font-weight: var(--w-semi); }
.panel__link:hover { opacity: 0.6; }

.segmented {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--gray);
}
.segmented button {
  border: 0;
  background: transparent;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: var(--w-semi);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.segmented button.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.shot {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--r-md);
  background: var(--gray);
  padding: 44px 28px 0;
  overflow: hidden;
}
.shot__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(20, 20, 20, 0.34);
  color: #fff;
  font-size: 12px;
  font-weight: var(--w-semi);
}

/* CSS-only browser mockups (no borrowed imagery) */
.browser {
  height: 100%;
  border-radius: 12px 12px 0 0;
  background: #fff;
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}
.shot:hover .browser { transform: translateY(-6px); }
.browser__bar { display: flex; gap: 5px; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-2); }
.browser__body { padding: 16px; }
.mock b, .mock em, .mock u, .mock s, .mock span { display: block; background: var(--gray); border-radius: 6px; }
.mock b { height: 70px; background: var(--ink); opacity: 0.9; margin-bottom: 12px; }
.mock em { height: 10px; margin-bottom: 8px; }
.mock em.short { width: 60%; }
.mock u { width: 90px; height: 24px; border-radius: var(--r-pill); background: var(--ink); margin-top: 14px; }
.mock--grid div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock--grid s { height: 56px; }
.mock--split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
.mock--split b { height: 36px; }
.mock--split span { height: 150px; }

/* ----------------------------------------------------------------
   COUNTER
---------------------------------------------------------------- */
.counter {
  max-width: var(--container);
  margin: 0 auto;
  padding: 180px 0 80px;
  text-align: center;
}

/* ----------------------------------------------------------------
   CIRCLE WIPE — tall scroll track, pinned 100vh stage, and a dark
   circle whose scale() is driven by scroll progress (see main.js).
---------------------------------------------------------------- */
.expand {
  position: relative;
  margin-inline: calc(var(--gutter) * -1);
  height: 320vh;
}
.expand__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--bg);
}
.expand .expand__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--gutter) 12vh;
  will-change: transform, opacity;
}
/* The star: sits below the counter copy; its transform + opacity are
   scrubbed by scroll in main.js. No will-change on purpose — at the end
   it scales ~80x, and letting the browser re-rasterise keeps the arm
   edges crisp instead of stretching a small bitmap. */
.expand__star {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 82%;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  color: var(--ink);
  opacity: 0;
  transform-origin: 50% 50%;
}
.expand__star svg { display: block; width: 100%; height: 100%; fill: currentColor; }

@media (prefers-reduced-motion: reduce) {
  .expand { height: auto; }
  .expand__stage { position: static; height: auto; }
  .expand .expand__content { padding: 180px var(--gutter) 80px; }
  .expand__star { display: none; }
}
.counter__lead { font-size: 24px; line-height: 30px; font-weight: var(--w-head); }
.counter__num {
  margin-top: 16px;
  font-size: clamp(56px, 11vw, 128px);
  line-height: 1;
  font-weight: var(--w-head);
  letter-spacing: -2px;
  color: var(--ink);
  /* Orange on the left melting into #141414 on the right. The gradient is
     2x the text width; sliding it back and forth makes the orange/ink
     boundary float between ~45% and ~85% across the word, while the
     lighter band inside the orange ripples along with it. */
  background-image: linear-gradient(
    100deg,
    #E8430A 0%,
    #FF7A1A 10%,
    #FFB45C 18%,
    #FF7A1A 26%,
    #E8430A 32%,
    #7A2A0E 44%,
    #141414 56%,
    #141414 100%
  );
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: counterWave 6s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}
.counter__num span { font-variant-numeric: tabular-nums; }

@keyframes counterWave {
  0%   { background-position: 0% 50%; }
  100% { background-position: 40% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .counter__num { animation: none; background-position: 20% 50%; }
}
.counter__sub {
  font-size: 20px;
  line-height: 26px;
  font-weight: var(--w-light);
  color: var(--muted);
  max-width: 480px;
  margin: 24px auto 0;
}

/* ----------------------------------------------------------------
   WORK GRID — full-bleed dark band (continues the circle wipe above),
   2-up cards, --r-md frames with the project video drifting gently
   inside the clip.
---------------------------------------------------------------- */
.work {
  margin-inline: calc(var(--gutter) * -1);
  padding: 120px var(--gutter) 60px;
  background: var(--ink);
  color: #fff;
}
.work__inner { max-width: var(--container); margin: 0 auto; }

.work__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}
.work__title {
  font-size: 56px;
  line-height: 1;
  font-weight: var(--w-head);
  letter-spacing: -0.6px;
}
.work__all { font-size: 16px; font-weight: var(--w-semi); padding-bottom: 6px; white-space: nowrap; }
.work__all:hover { opacity: 0.6; }
/* after the star wipe: heading rises in first, the link follows a beat later */
.work__head.reveal .work__all {
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.7s var(--ease) 0.35s, translate 0.7s var(--ease) 0.35s;
}
.work__head.reveal.is-visible .work__all { opacity: 1; translate: 0 0; }
.work__head.reveal.is-visible .work__all:hover { opacity: 0.6; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .work__head.reveal .work__all { opacity: 1; translate: none; transition: none; }
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));   /* 3 × 3 on desktop */
  column-gap: 40px;
  row-gap: 70px;
}
@media (max-width: 1024px) {
  .work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* "View all projects": exactly 100px below the last row, centred */
.work__more { margin-top: 100px; text-align: center; }

.work__card { display: block; }

.work__media {
  position: relative;
  aspect-ratio: 840 / 580;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #1F1F1F;
}
.work__media > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--drift, 0%), 0) scale(1.3);
  transition: scale 0.8s var(--ease);
  will-change: transform;
}
.work__card:hover .work__media > * { scale: 1.04; }

.work__name {
  margin-top: 18px;
  font-size: 24px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -0.48px;
  color: #fff;
}
.work__meta { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, 0.55); }

/* Project videos: the frame takes the footage's own 16:10 ratio, and the
   drift is toned down (1.08x, a quarter of the travel) so the video stays
   sharp and nothing important is cropped. */
.work__media:has(.work__video, .work__img) { aspect-ratio: 16 / 10; }
.work__media > .work__video,
.work__media > .work__img {
  transform: translate3d(0, calc(var(--drift, 0%) * 0.25), 0) scale(1.08);
  transition: scale 0.35s var(--ease);
}
/* hover preview: just a whisper of scale while the video plays */
.work__card:hover .work__media > .work__video,
.work__card:hover .work__media > .work__img,
.work__card.is-playing .work__media > .work__video { scale: 1.02; }
/* entrance: the card's existing fade-up, plus a short 0.97 → 1 scale-in */
.work__card.reveal .work__media {
  scale: 0.97;
  transition: scale 1s var(--ease) 0.1s;
}
.work__card.reveal.is-visible .work__media { scale: 1; }
@media (prefers-reduced-motion: reduce) {
  .work__card.reveal .work__media { scale: none; transition: none; }
}

/* ----------------------------------------------------------------
   SECTIONS & GRIDS
---------------------------------------------------------------- */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-gap) 0 0;
}

.section__head { text-align: center; margin-bottom: 56px; }

/* ----------------------------------------------------------------
   PROBLEMS — label + big count on the left, long headline on the
   right, and a dashed-rule list whose rows slide in from the right
   as you scroll (see main.js).
---------------------------------------------------------------- */
.leaks {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-gap) 0 0;
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  column-gap: 48px;
}

.leaks__label {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  font-size: 20px;
  line-height: 24px;
  font-weight: var(--w-semi);
  letter-spacing: -0.3px;
  text-transform: uppercase;
  max-width: 200px;
  padding-bottom: 12px;
}

.leaks__title {
  grid-column: 2;
  grid-row: 1;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  font-weight: var(--w-head);
  letter-spacing: -0.6px;
}
.leaks__title span { color: var(--muted); opacity: 0.55; }

.leaks__count {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  margin-top: 64px;
  font-size: clamp(120px, 15vw, 220px);
  line-height: 0.85;
  font-weight: var(--w-light);
  letter-spacing: -8px;
}

.leaks__list {
  grid-column: 2;
  grid-row: 2;
  margin-top: 88px;
  border-top: 1px solid var(--line);
}

.leaks__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: baseline;
  padding: 28px 0 28px 80px;
  border-bottom: 1px dashed var(--line);
  will-change: transform;
}

.leaks__num { font-size: 14px; font-weight: var(--w-light); color: var(--muted); }
.leaks__row h3 { font-size: 24px; line-height: 28px; font-weight: var(--w-semi); letter-spacing: -0.3px; }
.leaks__row p { font-size: 16px; line-height: 22px; font-weight: var(--w-light); color: var(--muted); }

/* ----------------------------------------------------------------
   INSIDE EVERY SITE — asymmetric bento. 3 columns (centre 1.6x wider),
   the main card spans two rows. Built only from existing tokens: gray /
   ink cards, --r-lg corners, 12px grid gap, CSS browser mockups.
---------------------------------------------------------------- */
.bento__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr);
  grid-template-rows: minmax(380px, auto) minmax(280px, auto) minmax(280px, auto) minmax(380px, auto);
  grid-template-areas:
    "mob  seo  rev"
    "spd  main quote"
    "call main quote"
    "dash copy care";
}
.bento__card--main  { grid-area: main; }
.bento__card--seo   { grid-area: seo; }
.bento__card--mob   { grid-area: mob; }
.bento__card--rev   { grid-area: rev; }
.bento__card--quote { grid-area: quote; }
.bento__card--spd   { grid-area: spd; }
.bento__card--call  { grid-area: call; }
.bento__card--dash  { grid-area: dash; }
.bento__card--copy  { grid-area: copy; }
.bento__card--care  { grid-area: care; }

.bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--gray);
  overflow: hidden;
  isolation: isolate;
  transition:
    opacity 0.7s var(--ease) var(--d, 0s),
    translate 0.7s var(--ease) var(--d, 0s),
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
/* scroll reveal (armed by main.js, so the cards stay visible without JS) */
.bento__grid.is-armed .bento__card { opacity: 0; translate: 0 28px; }
.bento__grid.is-armed .bento__card.is-in { opacity: 1; translate: 0 0; }
@media (hover: hover) {
  .bento__card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.22); }
}
.bento__card--care { background: var(--ink); color: #fff; }

/* Main card: slowly drifting mesh gradient. A soft base gradient plus two
   large blurred-edge colour blobs (the card's ::before / ::after) that move on
   different loops — transform-only, so it stays on the GPU. */
.bento__card--main {
  color: #fff;
  background: linear-gradient(135deg, #D7A3B4 0%, #E07FE0 48%, #E264F2 70%, #A68CF6 100%);
}
.bento__card--main::before,
.bento__card--main::after {
  content: "";
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.bento__card--main::before {             /* warm peach / honey */
  width: 95%;
  left: -32%;
  top: 18%;
  background: radial-gradient(circle, rgba(247, 200, 120, 0.95) 0%, rgba(247, 200, 120, 0.55) 32%, rgba(247, 200, 120, 0) 66%);
  animation: bentoBlobA 16s ease-in-out infinite;
}
.bento__card--main::after {              /* magenta → violet */
  width: 85%;
  right: -30%;
  top: -24%;
  background: radial-gradient(circle, rgba(232, 92, 242, 0.9) 0%, rgba(166, 140, 246, 0.5) 38%, rgba(166, 140, 246, 0) 68%);
  animation: bentoBlobB 20s ease-in-out infinite;
}
@keyframes bentoBlobA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(28%, -18%) scale(1.15); }
  66%      { transform: translate(10%, 16%) scale(0.92); }
}
@keyframes bentoBlobB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%      { transform: translate(-30%, 30%) scale(1.12); }
  70%      { transform: translate(-8%, 52%) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) {
  .bento__card--main::before,
  .bento__card--main::after { animation: none; }
}

.bento__label { font-size: 14px; font-weight: var(--w-light); color: var(--muted); }
.bento__title {
  margin-top: 8px;
  font-size: 20px;
  line-height: 24px;
  font-weight: var(--w-semi);
  letter-spacing: -0.2px;
}
.bento__title--lg { font-size: 28px; line-height: 30px; font-weight: var(--w-head); letter-spacing: -0.4px; }
.bento__headline {
  margin-top: 12px;
  max-width: 560px;
  font-size: 40px;
  line-height: 1.02;
  font-weight: var(--w-head);
  letter-spacing: -0.6px;
}
.bento__text {
  margin-top: 6px;
  max-width: 320px;
  font-size: 15px;
  line-height: 21px;
  font-weight: var(--w-light);
  color: var(--muted);
}
.bento__card--care .bento__label { color: rgba(255, 255, 255, 0.6); }
/* on the light gradient: white headline, soft ink for the small text */
.bento__card--main .bento__label,
.bento__card--main .bento__text { color: rgba(20, 20, 20, 0.62); }
.bento__card--main .bento__headline { text-shadow: 0 2px 28px rgba(90, 30, 110, 0.22); }
.bento__card--main .bento__text { max-width: 440px; margin-top: 12px; }
.bento__cta { margin-top: 24px; align-self: flex-start; }
.bento__copy { display: flex; flex-direction: column; }

/* split cards: copy left, visual right */
.bento__card--split { flex-direction: row; gap: 24px; }
.bento__card--split .bento__copy { flex: 0 0 42%; justify-content: flex-end; }
.bento__visual { transition: transform 0.6s var(--ease); }

/* mockup text bars shared by the cards */
.bento__card em { display: block; height: 8px; border-radius: 4px; background: var(--gray-2); }
.bento__card em + em { margin-top: 7px; }
.bento__card em.short { width: 60%; }

/* --- main: browser + floating lead toast / booking chip --- */
.bento-site { position: relative; flex: 1; min-height: 250px; margin: 32px -8px -28px; }
.bento-site__browser {
  position: absolute;
  inset: 0 48px 0 48px;
  height: auto;
  border-radius: 14px 14px 0 0;
  transition: transform 0.6s var(--ease);
}
.bento-site__body { padding: 16px; }
.bento-site__hero { padding: 20px; border-radius: 10px; background: var(--gray); }
.bento-site__hero em { height: 12px; background: var(--ink); opacity: 0.85; width: 72%; }
.bento-site__hero em.short { width: 46%; }
.bento-site__hero u {
  display: inline-block;
  margin-top: 16px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: var(--w-semi);
  text-decoration: none;
}
.bento-site__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.bento-site__tiles s { display: block; height: 72px; border-radius: 10px; background: var(--gray); }
.bento-toast,
.bento-slot {
  position: absolute;
  z-index: 1;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.45);
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease) 0.45s, translate 0.6s var(--ease) 0.45s;
}
.bento-toast { top: 28px; right: 8px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.bento-slot { left: 8px; bottom: 44px; padding: 10px 14px; }
.bento-toast strong, .bento-slot strong { display: block; font-size: 13px; font-weight: var(--w-semi); }
.bento-toast small, .bento-slot small { display: block; font-size: 12px; font-weight: var(--w-light); color: var(--muted); }
.bento-toast__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF7A1A;                        /* the site's orange accent */
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.18);
}
.bento__grid.is-armed .bento-toast,
.bento__grid.is-armed .bento-slot { opacity: 0; translate: 0 12px; }
.bento__grid.is-armed .is-in .bento-toast,
.bento__grid.is-armed .is-in .bento-slot { opacity: 1; translate: 0 0; }
@media (hover: hover) {
  .bento__card--main:hover .bento-site__browser { transform: translateY(-8px); }
  .bento__card--main:hover .bento-toast { transform: translate(-6px, -4px); }
  .bento__card--main:hover .bento-slot { transform: translate(6px, -4px); }
}

/* --- local SEO: search + ranked results --- */
.bento-serp { flex: 1; min-width: 0; align-self: center; display: flex; flex-direction: column; gap: 8px; }
.bento-serp__search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: var(--w-light);
}
.bento-serp__result {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.5s var(--ease);
}
.bento-serp__result.is-top { background: #fff; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.18); }
.bento-serp__rank {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-2);
  font-size: 12px;
  font-weight: var(--w-semi);
}
.is-top .bento-serp__rank { background: var(--ink); color: #fff; }
.bento-serp__result strong { display: block; font-size: 14px; font-weight: var(--w-semi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bento-serp__result small { display: block; font-size: 12px; font-weight: var(--w-light); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bento-serp__result i {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: var(--w-semi);
}
@media (hover: hover) {
  .bento__card--seo:hover .bento-serp__result.is-top { transform: translateY(-3px) scale(1.02); }
}

/* --- mobile-first: phone peeking up from the bottom --- */
.bento-phone {
  flex: 1;
  width: 62%;
  max-width: 200px;
  min-height: 170px;
  margin: 28px auto -28px;
  padding: 16px 14px 0;
  border-radius: 28px 28px 0 0;
  background: #fff;
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.18);
}
.bento-phone b { display: block; height: 64px; border-radius: 12px; background: var(--ink); opacity: 0.9; margin-bottom: 12px; }
.bento-phone u {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: var(--w-semi);
  text-decoration: none;
}
.bento-phone s { display: block; height: 44px; margin-top: 12px; border-radius: 10px; background: var(--gray); }
@media (hover: hover) {
  .bento__card--mob:hover .bento-phone { transform: translateY(-8px); }
}

/* --- reviews: score + stacked review cards --- */
.bento-rating { margin: 20px 0 24px; }
.bento-rating__score { display: flex; align-items: baseline; gap: 12px; }
.bento-rating__score span { font-size: 64px; line-height: 1; font-weight: var(--w-head); letter-spacing: -2px; }
.bento-rating__score i { font-style: normal; font-size: 15px; letter-spacing: 2px; }
.bento-rating__quote {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--r-sm);
  background: #fff;
  transition: transform 0.5s var(--ease);
}
.bento-rating__quote + .bento-rating__quote { margin: 8px 0 0 24px; opacity: 0.7; }
.bento-rating__quote b { width: 28px; height: 28px; border-radius: 50%; background: var(--gray-2); }
.bento__card--rev .bento__title { margin-top: auto; }
@media (hover: hover) {
  .bento__card--rev:hover .bento-rating__quote:first-of-type { transform: translateX(6px); }
  .bento__card--rev:hover .bento-rating__quote + .bento-rating__quote { transform: translateX(-6px); }
}

/* --- lead capture: form card --- */
.bento-form {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.18);
}
.bento-form__field {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--gray);
  font-size: 14px;
  font-weight: var(--w-light);
  color: var(--muted);
}
.bento-form__field--select { color: var(--ink); }
.bento-form__field--select::after {
  content: "";
  position: absolute;
  right: 16px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.bento-form__btn {
  display: grid;
  place-items: center;
  height: 44px;
  margin-top: 4px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: var(--w-semi);
}
@media (hover: hover) {
  .bento__card--quote:hover .bento-form { transform: translateY(-6px); }
}

/* --- speed: gauge --- */
.bento-gauge { position: relative; width: 132px; margin-bottom: auto; }
.bento-gauge svg { display: block; width: 100%; overflow: visible; }
.bento-gauge path { fill: none; stroke-width: 10; stroke-linecap: round; }
.bento-gauge__track { stroke: #fff; }
.bento-gauge__arc {
  stroke: #FF7A1A;                                   /* the site's orange accent */
  stroke-dasharray: 100;
  stroke-dashoffset: 5;                              /* 95 of 100 */
  transition: stroke-dashoffset 1.4s var(--ease) 0.3s;
}
.bento__grid.is-armed .bento__card--spd:not(.is-in) .bento-gauge__arc { stroke-dashoffset: 100; }
.bento-gauge span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  text-align: center;
  font-size: 24px;
  font-weight: var(--w-head);
  letter-spacing: -0.4px;
}
@media (hover: hover) {
  .bento__card--spd:hover .bento-gauge { transform: scale(1.04); }
}

/* --- click-to-call --- */
.bento-call { display: flex; align-items: center; gap: 14px; margin-bottom: auto; }
.bento-call__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}
.bento-call__btn::after {                            /* ring pulses only while hovered */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  opacity: 0;
}
.bento-call__text { font-size: 15px; font-weight: var(--w-semi); }
@media (hover: hover) {
  .bento__card--call:hover .bento-call__btn::after { animation: bentoRing 1.6s var(--ease) infinite; }
}
@keyframes bentoRing {
  from { opacity: 0.4; transform: scale(1); }
  to   { opacity: 0; transform: scale(1.7); }
}

/* --- reporting: bar chart --- */
.bento-chart { margin-top: auto; padding: 18px; border-radius: var(--r-md); background: #fff; }
.bento-chart__head { display: flex; justify-content: space-between; align-items: baseline; }
.bento-chart__head strong { font-size: 14px; font-weight: var(--w-semi); }
.bento-chart__head small { font-size: 12px; font-weight: var(--w-light); color: var(--muted); }
.bento-chart__bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-top: 16px; }
.bento-chart__bars i {
  flex: 1;
  height: var(--h);
  border-radius: 6px;
  background: var(--gray-2);
  transform-origin: 50% 100%;
  transition: transform 0.8s var(--ease);
}
.bento-chart__bars i:last-child { background: var(--ink); }
.bento-chart__bars i:nth-child(2) { transition-delay: 0.05s; }
.bento-chart__bars i:nth-child(3) { transition-delay: 0.1s; }
.bento-chart__bars i:nth-child(4) { transition-delay: 0.15s; }
.bento-chart__bars i:nth-child(5) { transition-delay: 0.2s; }
.bento-chart__bars i:nth-child(6) { transition-delay: 0.25s; }
.bento__grid.is-armed .bento__card--dash:not(.is-in) .bento-chart__bars i { transform: scaleY(0); }
@media (hover: hover) {
  .bento__card--dash:hover .bento-chart__bars i:last-child { transform: scaleY(1.06); transition-delay: 0s; }
}

/* --- conversion copy: before / after headline --- */
.bento-edit {
  flex: 1;
  min-width: 0;
  align-self: center;
  padding: 24px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.18);
}
.bento-edit__old {
  font-size: 16px;
  font-weight: var(--w-light);
  color: var(--muted);
  text-decoration: line-through;
  opacity: 0.7;
}
.bento-edit__new {
  margin-top: 10px;
  font-size: 26px;
  line-height: 28px;
  font-weight: var(--w-head);
  letter-spacing: -0.4px;
  transition: transform 0.5s var(--ease);
}
.bento-edit__new span { color: var(--muted); }
.bento-edit__new::after {                            /* static text caret */
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 4px;
  vertical-align: -0.1em;
  background: var(--ink);
}
.bento-edit__meta { margin-top: 18px; }
@media (hover: hover) {
  .bento__card--copy:hover .bento-edit__new { transform: translateX(4px); }
}

/* --- ongoing care: checklist on dark --- */
.bento-checks { margin-top: auto; }
.bento-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
  font-weight: var(--w-light);
  color: rgba(255, 255, 255, 0.85);
}
.bento-checks li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11px;
  color: #fff;
}

/* tablet: two columns, hierarchy kept — main card first, full width */
@media (max-width: 1024px) {
  .bento__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(300px, auto);
    grid-template-areas:
      "main  main"
      "seo   seo"
      "mob   rev"
      "spd   call"
      "quote care"
      "copy  copy"
      "dash  dash";
  }
  .bento__card--main { min-height: 560px; }
}
/* phone: single column, most important first */
@media (max-width: 768px) {
  .bento__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    grid-template-areas: "main" "seo" "mob" "rev" "quote" "spd" "call" "dash" "copy" "care";
  }
  .bento__card { padding: 24px; }
  .bento__card--main { min-height: 0; }
  .bento__headline { font-size: 32px; }
  .bento__card--split { flex-direction: column; }
  .bento__card--split .bento__copy { flex: none; }
  .bento-serp, .bento-edit { margin-top: 24px; align-self: stretch; }
  .bento-site { min-height: 230px; margin-bottom: -24px; }
  .bento-site__browser { inset: 0 20px 0 20px; }
  .bento-phone { margin-bottom: -24px; }
  .bento__card--spd, .bento__card--call { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .bento__grid.is-armed .bento__card { opacity: 1; translate: none; }
  .bento__grid.is-armed .bento-toast,
  .bento__grid.is-armed .bento-slot { opacity: 1; translate: none; }
  .bento-call__btn::after { animation: none !important; }
}

/* ----------------------------------------------------------------
   SERVICES — full-width rows: number · description · huge name · arrow.
   Hovering a row wipes a media panel in from the left over the number
   and darkens the row's bottom rule.
---------------------------------------------------------------- */
.svc {
  margin-inline: calc(var(--gutter) * -1);
  padding-top: var(--section-gap);
}
.svc__head {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto 64px;
  padding-inline: var(--gutter);
}
.svc__title {
  font-size: 56px;
  line-height: 1;
  font-weight: var(--w-head);
  letter-spacing: -0.6px;
}

.svc__list {
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, #F1F1F1 0%, #FFFFFF 28%, #FFFFFF 62%, #ECECEC 100%);
}
.svc__list li { border-bottom: 1px solid var(--line); }

.svc__row {
  position: relative;
  display: grid;
  grid-template-columns: 26% 23% minmax(0, 1fr) auto;
  align-items: center;
  min-height: 245px;
  /* band stays full-bleed; contents align to the global container */
  padding-block: 0;
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  overflow: hidden;
}
/* dark rule that draws in under the hovered row */
.svc__row::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.svc__num {
  font-size: 16px;
  font-weight: var(--w-light);
  transition: opacity 0.3s var(--ease);
}

.svc__desc {
  max-width: 240px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

.svc__name {
  font-size: clamp(56px, 6.6vw, 104px);
  line-height: 1;
  font-weight: var(--w-head);
  letter-spacing: -0.04em;
  transition: transform 0.6s var(--ease);
}

.svc__arrow {
  width: 66px;
  height: 66px;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 66' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M2 33h60M36 7l26 26-26 26'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 66' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M2 33h60M36 7l26 26-26 26'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.6s var(--ease);
}

.svc__media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 16.4%;
  display: grid;
  place-items: center;
  font-size: 56px;
  color: #fff;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.7s var(--ease);
}
.svc__media span { transform: scale(0.8); transition: transform 0.9s var(--ease); }
.svc__media--1 { background: linear-gradient(135deg, #2B2B2B, #5A6066); }
.svc__media--2 { background: linear-gradient(135deg, #7C8B84, #3F4A45); }
.svc__media--3 { background: linear-gradient(135deg, #E4572E, #9E2F14); }
.svc__media--4 { background: linear-gradient(135deg, #B9C2CA, #6E7A85); }

@media (hover: hover) {
  .svc__row:hover .svc__media { clip-path: inset(0 0 0 0); }
  .svc__row:hover .svc__media span { transform: none; }
  .svc__row:hover .svc__num { opacity: 0; }
  .svc__row:hover::after { transform: scaleX(1); }
  .svc__row:hover .svc__name { transform: translateX(16px); }
  .svc__row:hover .svc__arrow { transform: translateX(10px); }
}
.svc__row:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }

/* ----------------------------------------------------------------
   GROWTH SCORE
---------------------------------------------------------------- */
.score {
  text-align: center;
  padding: 72px 40px;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
  /* Only for the decorative line layer; no visual change to the box */
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.score > :not(.score__lines) { position: relative; z-index: 1; }

/* Decorative side lines — paths are built in JS from the box's real size so
   they always stay in the empty side areas, clear of the text and the form */
.score__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.score__line {
  fill: none;
  stroke: url(#scoreLineGrad);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.score__line--r { transition-delay: 0.08s; }
.score.is-drawn .score__line { stroke-dashoffset: 0; }

/* After drawing: a soft light segment keeps flowing down each line, forever */
.score__flow {
  fill: none;
  stroke: url(#scoreFlowGrad);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 0.22 1.22;   /* one segment, then a gap longer than the line */
  stroke-dashoffset: 0.22;       /* parked just above the top */
  opacity: 0;
}
.score.is-drawn .score__flow {
  opacity: 1;
  animation: scoreFlow 3.6s cubic-bezier(0.45, 0, 0.55, 1) 2.2s infinite;
}
.score.is-drawn .score__flow--r { animation-delay: 2.5s; }
@keyframes scoreFlow {
  from { stroke-dashoffset: 0.22; }
  to   { stroke-dashoffset: -1.22; }
}
@media (prefers-reduced-motion: reduce) {
  .score__line { transition: none; stroke-dashoffset: 0; }
  .score.is-drawn .score__flow { animation: none; opacity: 0; }
}

.score .eyebrow,
.score .lede { color: rgba(255, 255, 255, 0.6); }
.score__form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 36px auto 0;
  padding: 6px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
}
.score__form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 16px;
  font-size: 16px;
}
.score__form input::placeholder { color: #A5A5A5; }
/* CTA button: slow, continuous zoom in / zoom out (uses `scale`, so the
   .btn:active press transform still works on top of it) */
.score__form .btn {
  animation: scoreBtnPulse 2.4s ease-in-out infinite;
  will-change: scale;
}
.score__form .btn:hover,
.score__form .btn:focus-visible { animation-play-state: paused; }
@keyframes scoreBtnPulse {
  0%, 100% { scale: 1; }
  50%      { scale: var(--pulse-peak, 1.04); }
}
/* Stacked (full-width) button on small screens: smaller peak so it stays inside the pill */
@media (max-width: 768px) {
  .score__form .btn { --pulse-peak: 1.02; }
}
@media (prefers-reduced-motion: reduce) {
  .score__form .btn { animation: none; }
}
.score__msg { margin-top: 14px; font-size: 14px; color: #fff; }
.score__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: var(--w-light);
  color: rgba(255, 255, 255, 0.55);
}

/* ----------------------------------------------------------------
   MARQUEE
---------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track .tag {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  background: var(--gray);
  font-size: 20px;
  font-weight: var(--w-semi);
  line-height: 1.2;
  white-space: nowrap;
  cursor: default;
  transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* dark fill that rises from the bottom on hover */
.marquee__track .tag::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--ink);
  transform: translate3d(0, 101%, 0);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* label rolls: current text slides up, a duplicate slides in from below */
.tag__label {
  display: flex;
  flex-direction: column;
  height: 1.2em;
  overflow: hidden;
}
.tag__label > span {
  display: block;
  line-height: 1.2em;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .marquee__track .tag:hover { color: #fff; }
  .marquee__track .tag:hover::before { transform: translate3d(0, 0, 0); }
  .marquee__track .tag:hover .tag__label > span { transform: translate3d(0, -100%, 0); }
}
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* Floating website preview shown when hovering an industry pill.
   One shared, fixed-position card (created in main.js) — floats above
   the page, so it never causes layout shift. */
.tag-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 200px;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(20, 20, 20, 0.35), 0 2px 8px rgba(20, 20, 20, 0.08);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.92);
  transform-origin: 50% 0%;
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1), transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.tag-preview.is-above { transform-origin: 50% 100%; transform: translate3d(0, -10px, 0) scale(0.92); }
.tag-preview.is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.tag-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (prefers-reduced-motion: reduce) {
  .tag-preview { transition: opacity 0.2s linear; transform: none; }
  .tag-preview.is-above, .tag-preview.is-visible { transform: none; }
  .marquee__track .tag::before, .tag__label > span { transition: none; }
}

/* ----------------------------------------------------------------
   COMPARISON TABLE
---------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 18px 20px; text-align: left; }
.compare th {
  font-size: 13px;
  font-weight: var(--w-semi);
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
}
.compare td { font-weight: var(--w-light); color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { color: var(--ink); font-weight: var(--w-semi); }
.compare td.no { color: #C2C2C2; }
.compare .is-us {
  background: var(--ink);
  color: #fff;
  font-weight: var(--w-semi);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.compare th.is-us { color: #fff; }

/* Growth Score + comparison sections: narrower 1290px container */
.section--narrow { max-width: 1290px; }

/* ----------------------------------------------------------------
   FIRST LOOK — product-showcase panel: copy + 2x2 promises + CTAs on
   the left, a tilting browser mockup with floating badges and a
   rotating-text ring on the right.
---------------------------------------------------------------- */
.fl {
  max-width: 1290px;
  margin: 0 auto;
  padding: var(--section-gap) 0 0;
}

.fl__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 64px;
  padding: 80px;
  border-radius: 32px;
  background: var(--gray);
  overflow: hidden;
}

.fl__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: #fff;
  font-size: 13px;
  font-weight: var(--w-semi);
}
.fl__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF7A1A;
  box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.5);
  animation: flPulse 2.4s ease-out infinite;
}
@keyframes flPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.5); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(255, 122, 26, 0); }
}

.fl__title {
  margin-top: 28px;
  font-size: 56px;
  line-height: 1;
  font-weight: var(--w-head);
  letter-spacing: -0.6px;
}
.fl__title span { color: var(--muted); opacity: 0.6; }

.fl__lede {
  max-width: 520px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 26px;
  font-weight: var(--w-light);
  color: var(--muted);
}

.fl__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}
.fl__points li {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  font-size: 15px;
  line-height: 21px;
  font-weight: var(--w-semi);
  letter-spacing: -0.2px;
}
.fl__points li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.fl__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}
.fl__link {
  font-size: 15px;
  font-weight: var(--w-semi);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s;
}
.fl__link:hover { border-color: var(--ink); }

/* mockup */
.fl__visual {
  position: relative;
  padding: 40px 24px;
  perspective: 1400px;
}
.fl__browser {
  position: relative;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(20, 20, 20, 0.35), 0 2px 6px rgba(20, 20, 20, 0.06);
  overflow: hidden;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg));
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease);
  will-change: transform;
}
.fl__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.fl__dots { display: flex; gap: 6px; }
.fl__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-2); }
.fl__url {
  flex: 1;
  max-width: 240px;
  margin-inline: auto;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--gray);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.fl__page { padding: 18px 22px 24px; }
.fl__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fl__nav b { width: 70px; height: 12px; border-radius: 4px; background: var(--ink); }
.fl__nav span { display: flex; gap: 10px; min-width: 0; }
.fl__nav span i { width: 34px; height: 7px; border-radius: 4px; background: var(--gray-2); flex-shrink: 1; }
.fl__nav u { width: 64px; height: 20px; border-radius: var(--r-pill); background: var(--ink); }
.fl__hero {
  margin-top: 18px;
  padding: 36px 28px;
  border-radius: 12px;
  background: linear-gradient(115deg, #E8430A 0%, #FF7A1A 55%, #FFB45C 100%);
}
.fl__hero em { display: block; width: 78%; height: 16px; border-radius: 6px; background: rgba(255, 255, 255, 0.95); }
.fl__hero em.short { width: 52%; margin-top: 10px; }
.fl__hero s { display: block; width: 110px; height: 26px; margin-top: 22px; border-radius: var(--r-pill); background: var(--ink); }
.fl__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.fl__cards span { height: 70px; border-radius: 10px; background: var(--gray); }

.fl__badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: #fff;
  font-size: 14px;
  font-weight: var(--w-semi);
  box-shadow: 0 14px 30px -12px rgba(20, 20, 20, 0.25);
  animation: flFloat 6s ease-in-out infinite;
}
.fl__badge--time { top: 12px; left: 0; background: var(--ink); color: #fff; }
.fl__badge--live { bottom: 22px; left: 10%; animation-delay: -3s; }
.fl__badge--live i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
@keyframes flFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.fl__ring {
  position: absolute;
  right: -6px;
  bottom: -10px;
  width: 150px;
  height: 150px;
  animation: flSpin 18s linear infinite;
}
.fl__ring text {
  fill: var(--ink);
  font-size: 12.5px;
  font-weight: var(--w-semi);
  letter-spacing: 2px;
}
@keyframes flSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .fl__pulse, .fl__badge, .fl__ring { animation: none; }
  .fl__browser { transition: none; }
}

/* ----------------------------------------------------------------
   FINAL CTA
---------------------------------------------------------------- */
.cta {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-gap) 0;   /* bottom = gap down to the page's wave edge */
  text-align: center;
}
.cta__title {
  font-size: 56px;
  line-height: 1;
  font-weight: var(--w-head);
  letter-spacing: -0.6px;
  max-width: 640px;
  margin: 0 auto;
}
.cta__sub {
  font-size: 18px;
  line-height: 24px;
  font-weight: var(--w-light);
  color: var(--muted);
  max-width: 460px;
  margin: 20px auto 0;
}
.cta__points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: var(--w-light);
  color: var(--muted);
}

/* ----------------------------------------------------------------
   FOOTER — dark, revealed beneath the page's rounded corners
---------------------------------------------------------------- */
/* Reveal footer: fixed underneath the page; the white page scrolls up
   off it. Falls back to normal flow (.footer--static) if it's taller
   than the viewport, so nothing is ever unreachable. */
.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  padding: 96px var(--gutter) 28px;
  background: var(--ink);
  color: #fff;
}
.footer--static {
  position: relative;
  margin-top: -40px;
  padding-top: 136px;
}
.footer__inner,
.footer__bottom { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  .footer__inner, .footer__bottom { transform: none !important; opacity: 1 !important; }
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}
.footer__logo { font-size: 32px; font-weight: var(--w-head); letter-spacing: -0.6px; }
.footer__tag {
  font-size: 15px;
  line-height: 21px;
  font-weight: var(--w-light);
  color: rgba(255, 255, 255, 0.6);
  max-width: 300px;
  margin: 10px 0 24px;
}
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__head { font-size: 13px; font-weight: var(--w-light); color: rgba(255, 255, 255, 0.5); margin-bottom: 12px; }
.footer__cols a { display: block; font-size: 15px; font-weight: var(--w-semi); line-height: 26px; transition: opacity 0.2s; }
.footer__cols a:hover { opacity: 0.6; }
.footer__cols address {
  margin-top: 14px;
  font-style: normal;
  font-size: 13px;
  line-height: 19px;
  font-weight: var(--w-light);
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom {
  max-width: var(--container);
  margin: 96px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 13px;
  font-weight: var(--w-light);
  color: rgba(255, 255, 255, 0.5);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a:hover { color: #fff; }

/* ----------------------------------------------------------------
   REVEAL
---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
}

/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__title { font-size: 64px; line-height: 64px; }
  .h2, .cta__title, .fl__title { font-size: 44px; }
  .panel { padding: 40px 32px 0; }
  .panel__cols { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .svc__row { grid-template-columns: 18% 26% minmax(0, 1fr) auto; min-height: 200px; }
  .svc__media { width: 18%; font-size: 40px; }
  .svc__arrow { width: 48px; height: 48px; }
  .fl__panel { grid-template-columns: minmax(0, 1fr); gap: 56px; padding: 56px; }
  .fl__visual { max-width: 640px; }
  .footer__inner { grid-template-columns: 1fr; }
  .leaks { column-gap: 32px; }
  .leaks__row { padding-left: 0; grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1.2fr); }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .counter { padding-top: 120px; }
  .hero { padding-top: 120px; }
  .hero__title { font-size: 44px; line-height: 46px; }
  .h2, .cta__title, .fl__title { font-size: 36px; line-height: 38px; }
  .lede, .hero__sub, .counter__sub { font-size: 17px; line-height: 23px; }

  .nav__links {
    position: absolute;
    top: 72px;
    left: var(--nav-gutter);
    right: var(--nav-gutter);
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(237, 237, 237, 0.92);
    -webkit-backdrop-filter: blur(48px);
    backdrop-filter: blur(48px);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 12px 14px; font-size: 18px; }
  .nav__toggle { display: flex; }
  .nav.is-scrolled .nav__cta { max-width: 0; padding-inline: 0; opacity: 0; }

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

  .svc__title { font-size: 36px; line-height: 38px; }
  .svc__row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "num arrow" "name arrow" "desc desc";
    row-gap: 10px;
    min-height: 0;
    padding: 28px var(--gutter);
  }
  .svc__num { grid-area: num; }
  .svc__name { grid-area: name; font-size: 44px; }
  .svc__desc { grid-area: desc; max-width: none; font-size: 15px; line-height: 22px; color: var(--muted); }
  .svc__arrow { grid-area: arrow; width: 36px; height: 36px; }
  .svc__media { display: none; }

  .fl__panel { padding: 32px 20px; border-radius: 24px; gap: 40px; }
  .fl__lede { font-size: 16px; line-height: 23px; }
  .fl__points { grid-template-columns: 1fr; }
  .fl__visual { padding: 32px 0 40px; }
  .fl__browser { --rx: 0deg; --ry: 0deg; }
  .fl__ring { width: 110px; height: 110px; right: -14px; }
  .fl__badge { font-size: 12px; padding: 8px 12px; }

  .work { padding: 90px var(--gutter) 40px; }
  .work__head { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
  .work__title { font-size: 36px; line-height: 38px; }
  .work__grid { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .work__name { font-size: 20px; line-height: 22px; }

  .leaks { grid-template-columns: 1fr; }
  .leaks__label, .leaks__title, .leaks__count, .leaks__list { grid-column: 1; grid-row: auto; }
  .leaks__label { padding-bottom: 20px; }
  .leaks__count { margin-top: 40px; }
  .leaks__list { margin-top: 32px; }
  .leaks__row { grid-template-columns: 40px 1fr; padding-left: 0; row-gap: 8px; }
  .leaks__row p { grid-column: 2; }
  .shots .shot:nth-child(n+2) { display: none; }
  .panel__bar { flex-direction: column; align-items: flex-start; }
  .score { padding: 48px 20px; }
  .score__form { flex-direction: column; border-radius: 24px; }
  .score__form input { padding: 12px 16px; }
  .footer { padding: 96px var(--gutter) 24px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .panel__cols, .footer__cols { grid-template-columns: 1fr; }
  .hero__title { font-size: 38px; line-height: 40px; }
}
