/* These tokens intentionally mirror styles.css so the supporting pages and the
   homepage read as one website. Change them together or not at all. */
:root {
  --ink: #161613;
  --ink-soft: #2b2a23;
  --muted: #4c483f;
  --paper: #f4f2ec;
  --surface: #fbfaf6;
  --surface-warm: #ece7da;
  --line: #e6e0d3;
  --line-strong: #c3b59b;
  --accent: #76552f;
  --accent-dark: #5e4325;
  --control-radius: 8px;
  --media-radius: 12px;
  --max-width: 1200px;
  --nav-height: 72px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--accent);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgb(168 100 24 / 28%);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 50;
  transform: translateY(-160%);
  border: 1px solid var(--ink);
  border-radius: var(--control-radius);
  background: var(--surface);
  padding: 0.7rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

/* matches .nav in styles.css */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--nav-height);
  border-bottom: 1px solid transparent;
  background: rgb(244 242 236 / 82%);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  width: min(calc(100% - 2rem), var(--max-width));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.625rem;
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 400;
  white-space: nowrap;
}

.desktop-nav > a,
.desktop-nav summary {
  color: #3a362e;
  text-decoration: none;
}

.desktop-nav > a:hover,
.desktop-nav summary:hover {
  color: #000;
}

.nav-businesses {
  position: relative;
}

.nav-businesses summary {
  cursor: pointer;
  list-style: none;
}

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

/* matches .nav-drop / .nav-drop-menu in styles.css */
.nav-businesses summary::after {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 0.4rem;
  margin-bottom: 2px;
  content: "";
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg);
  transition: transform 200ms ease;
}

.nav-businesses[open] summary::after {
  transform: rotate(-135deg);
  margin-bottom: -2px;
}

.nav-businesses-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -14px;
  width: 250px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 24px 46px -30px rgb(58 43 20 / 50%);
  padding: 7px;
}

.nav-businesses-menu a {
  display: block;
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
}

.nav-businesses-menu a:hover {
  background: var(--surface-warm);
  color: var(--ink);
}

.mobile-nav {
  display: none;
}

.nav-cta {
  flex: 0 0 auto;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: var(--control-radius);
  padding: 0.72rem 1.1rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

.button:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}

.button:active {
  transform: translateY(1px);
}

.button-secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink);
  background: var(--surface);
  color: var(--ink);
}

.button-small {
  min-height: 40px;
  padding: 0.6rem 0.9rem;
  font-size: 0.84rem;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 700;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2rem), 780px);
  margin-inline: auto;
}

main {
  overflow: clip;
}

/* section rhythm kept close to the homepage so the pages feel equally dense */
.section {
  padding-block: clamp(2.75rem, 4.4vw, 4.25rem);
}

.section-tight {
  padding-block: clamp(2.75rem, 4.5vw, 4rem);
}

.section-rule {
  border-top: 1px solid var(--line);
}

.section-warm {
  background: var(--surface-warm);
}

.eyebrow {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

/* Fraunces headings at the homepage's weight and scale: the same voice, page to page */
h1,
h2,
h3 {
  text-wrap: balance;
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink);
}

h1 {
  max-width: 14ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 4.6vw, 3.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

h2 {
  max-width: 18ch;
  margin-bottom: 1.35rem;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.25;
}

.lede {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.26rem);
  line-height: 1.55;
}

.measure {
  max-width: 65ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.home-hero {
  min-height: calc(100dvh - var(--nav-height));
  display: grid;
  align-items: center;
  padding-block: clamp(3.75rem, 7vw, 6.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
}

.hero-copy .lede {
  max-width: 46ch;
}

.hero-copy h1 {
  max-width: 15ch;
  font-size: clamp(3.2rem, 5vw, 4.8rem);
}

.hero-local {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 620;
}

.hero-media {
  position: relative;
  min-height: 560px;
}

.hero-media img {
  width: calc(100% - 2rem);
  height: 530px;
  margin-left: auto;
  border-radius: var(--media-radius);
  object-fit: cover;
  object-position: 54% center;
}

.hero-note {
  position: absolute;
  left: 0;
  bottom: 1.4rem;
  width: min(82%, 350px);
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--surface);
  padding: 1.2rem;
  box-shadow: 0 30px 60px -44px rgb(43 34 21 / 58%);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note span {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.pipeline-intro {
  margin-bottom: 3rem;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.pipeline article {
  min-height: 270px;
  padding: 2rem clamp(1rem, 3vw, 2.2rem) 2.5rem 0;
}

.pipeline article + article {
  border-left: 1px solid var(--line);
  padding-left: clamp(1rem, 3vw, 2.2rem);
}

.pipeline-index {
  display: block;
  margin-bottom: 4rem;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 750;
}

.pipeline p,
.industry-copy p,
.service-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.truth-note {
  max-width: 72ch;
  margin: 2rem 0 0;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.assistant-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(2.5rem, 7vw, 7.5rem);
  align-items: start;
}

.assistant-panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--media-radius);
  background: var(--surface);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.example-lead {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.example-lead-title {
  margin-bottom: 0.75rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.example-lead dl {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.55rem 1rem;
  margin: 0;
  font-size: 0.9rem;
}

.example-lead dt {
  color: var(--muted);
}

.example-lead dd {
  margin: 0;
  font-weight: 650;
}

.industries-heading {
  margin-bottom: 3.5rem;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.industry-block {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--media-radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.industry-block:hover {
  border-color: var(--line-strong);
  text-decoration: none;
}

.industry-block-trades {
  grid-column: span 7;
}

.industry-block-clinics {
  grid-column: span 5;
}

.industry-block-beauty {
  grid-column: 3 / span 8;
  grid-template-columns: 0.85fr 1.15fr;
}

.industry-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--line);
}

.industry-images img,
.industry-block-beauty > img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.industry-block-beauty > img {
  height: 100%;
  min-height: 390px;
}

.industry-copy {
  padding: clamp(1.4rem, 3vw, 2.25rem);
}

.industry-copy span {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 750;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--media-radius);
  background: var(--ink);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.price-panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--media-radius);
  background: var(--surface);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.price-kicker {
  color: var(--accent-dark);
  font-weight: 750;
}

.price {
  margin-block: 0.65rem 1.25rem;
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 690;
  letter-spacing: -0.065em;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.package-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.25rem;
  margin: 1.75rem 0 2rem;
  padding: 0;
  list-style: none;
}

.package-list li {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.secondary-price {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding-block: 1.25rem;
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding-right: 2.25rem;
  font-size: 1.05rem;
  font-weight: 700;
}

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

.faq-list summary::after {
  position: absolute;
  right: 0;
  content: "+";
  color: var(--accent-dark);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 66ch;
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.final-cta h2 {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 3.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand img {
  width: 132px;
}

.footer-brand p {
  max-width: 30ch;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-column strong {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
}

.footer-column a {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--accent-dark);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--muted);
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.footer-social a:hover {
  color: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
}

.footer-social a:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}

.footer-social svg {
  display: block;
  width: 15px;
  height: 15px;
}

.page-hero {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(2.5rem, 7vw, 7.5rem);
  align-items: end;
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.6rem, 3.6vw, 3.6rem);
}

.page-hero-media img {
  width: 100%;
  height: 470px;
  border-radius: var(--media-radius);
  object-fit: cover;
}

.breadcrumbs {
  margin-bottom: 2.25rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3.5rem;
  border-top: 1px solid var(--line-strong);
}

.service-item {
  min-height: 190px;
  border-bottom: 1px solid var(--line);
  padding-block: 1.75rem;
}

.service-item:nth-child(even) {
  border-left: 1px solid var(--line);
  padding-left: 3.5rem;
}

.business-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.business-types article {
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--surface);
  padding: 1.25rem;
}

.business-types h3 {
  font-size: 1.05rem;
}

.business-types p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.city-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  padding: 0;
  list-style: none;
}

.city-list li {
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
  font-weight: 650;
}

@media (max-width: 1040px) {
  .desktop-nav {
    gap: 0.8rem;
    font-size: 0.82rem;
  }

  .nav-cta {
    display: none;
  }

  .hero-media {
    min-height: 480px;
  }

  .hero-media img {
    height: 455px;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 64px;
  }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .mobile-nav {
    display: block;
    margin-left: auto;
  }

  .mobile-nav summary {
    cursor: pointer;
    list-style: none;
    border: 1px solid var(--line-strong);
    border-radius: var(--control-radius);
    padding: 0.52rem 0.7rem;
    font-size: 0.85rem;
    font-weight: 700;
  }

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

  .mobile-nav-menu {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0.2rem;
    max-height: calc(100dvh - var(--nav-height));
    overflow-y: auto;
    border-bottom: 1px solid var(--line-strong);
    background: var(--surface);
    padding: 1rem;
  }

  .mobile-nav-menu a {
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 0.2rem;
    font-weight: 650;
    text-decoration: none;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-grid,
  .assistant-layout,
  .pricing-layout,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2.8rem;
  }

  .hero-media {
    min-height: auto;
  }

  .hero-media img {
    width: 100%;
    height: min(72vw, 480px);
  }

  .hero-note {
    position: relative;
    bottom: auto;
    width: calc(100% - 2rem);
    margin: -2rem auto 0;
  }

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

  .pipeline article {
    min-height: auto;
    padding: 1.75rem 0;
  }

  .pipeline article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }

  .pipeline-index {
    margin-bottom: 1.75rem;
  }

  .industry-block-trades,
  .industry-block-clinics,
  .industry-block-beauty {
    grid-column: 1 / -1;
  }

  .industry-block-beauty {
    grid-template-columns: 1fr;
  }

  .industry-block-beauty > img {
    min-height: 330px;
  }

  .final-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .page-hero-media {
    order: -1;
  }

  .page-hero-media img {
    height: min(72vw, 480px);
  }

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

  .service-item:nth-child(even) {
    border-left: 0;
    padding-left: 0;
  }

  .city-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .container,
  .narrow,
  .nav-wrap {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .section {
    padding-block: 4.5rem;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .actions,
  .assistant-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions .button,
  .assistant-actions .button {
    width: 100%;
  }

  .industry-images {
    grid-template-columns: 1fr;
  }

  .industry-images img {
    height: 250px;
  }

  .assistant-panel,
  .price-panel {
    padding: 1.25rem;
  }

  .example-lead dl {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .example-lead dd + dt {
    margin-top: 0.75rem;
  }

  .package-list,
  .business-types,
  .footer-grid,
  .city-list {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   2026-08-02 pass: tighter rhythm, a phone-answer animation for
   the receptionist hero, and the featured-work grid.
   ============================================================ */

/* --- the blank space called out in review lived in these rules --- */
.page-hero {
  padding-block: clamp(2.25rem, 3.4vw, 3.25rem) clamp(2rem, 3vw, 3rem);
}

.page-hero-grid {
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.page-hero-media img {
  height: clamp(320px, 34vw, 420px);
}

.service-item {
  min-height: 0;
  padding-block: 1.35rem;
}

.breadcrumbs {
  margin-bottom: 1.5rem;
}

h1 {
  margin-bottom: 1.15rem;
}

h2 {
  margin-bottom: 1.1rem;
}

.actions {
  margin-top: 1.5rem;
}

.business-types,
.service-grid,
.steps {
  margin-top: 1.75rem;
}

.pipeline-index {
  margin-bottom: 2rem;
}

/* --- the phone number sits in the nav on every page --- */
.nav-phone {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-phone:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin-top: 0.9rem;
}

.footer-contact a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.25em;
}

.price-free {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-panel .actions {
  margin-top: 0;
}

.secondary-price {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

/* --- hero animation: a call arriving and being answered --- */
.call-anim {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--media-radius);
  background: linear-gradient(168deg, #fbfaf6 0%, #f2ede1 100%);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.ca-phone {
  width: min(220px, 62%);
  border-radius: 30px;
  background: linear-gradient(145deg, #3c3c3c, #1f1f20 46%, #4b4b4d);
  padding: 7px;
  box-shadow: 0 26px 44px -28px rgb(44 33 17 / 72%);
}

.ca-screen {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  height: 310px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 22%, #59656d, #2b3238 52%, #1e2327);
  padding: 1.6rem 1rem 1.2rem;
  color: #f4f3ef;
  text-align: center;
}

.ca-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cfd4d8;
}

.ca-number {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.ca-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 34%, rgb(244 243 239 / 22%), rgb(244 243 239 / 6%));
  box-shadow: inset 0 0 0 1px rgb(244 243 239 / 22%);
}

.ca-orb > i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgb(224 138 60 / 55%);
  opacity: 0;
}

.ca-wave {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
}

.ca-wave b {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: #edb47c;
}

.ca-wave b:nth-child(2), .ca-wave b:nth-child(6) { height: 12px; }
.ca-wave b:nth-child(3), .ca-wave b:nth-child(5) { height: 18px; }
.ca-wave b:nth-child(4) { height: 24px; }

.ca-state {
  position: relative;
  display: block;
  width: 100%;
  height: 1.1rem;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ca-state span {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.ca-state [data-ca="ring"] { color: #f0c79a; opacity: 1; }
.ca-state [data-ca="answer"] { color: #8fd0a5; }

.ca-actions {
  display: flex;
  gap: 2.25rem;
  margin-top: auto;
}

.ca-actions span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.ca-decline { background: #a53f3f; }
.ca-accept { background: #3c8b59; }

.ca-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: castep;
}

.ca-caption li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.ca-caption li::before {
  counter-increment: castep;
  content: counter(castep);
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--surface-warm);
  color: var(--accent-dark);
  font-size: 0.63rem;
  font-weight: 750;
}

.page-hero-caption {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .ca-phone { animation: caShake 8s ease-in-out infinite; }
  .ca-orb > i { animation: caPulse 8s ease-out infinite; }
  .ca-orb > i:nth-child(2) { animation-delay: 0.55s; }
  .ca-wave b { animation: caWave 8s ease-in-out infinite; }
  .ca-wave b:nth-child(2) { animation-delay: 0.07s; }
  .ca-wave b:nth-child(3) { animation-delay: 0.14s; }
  .ca-wave b:nth-child(4) { animation-delay: 0.21s; }
  .ca-wave b:nth-child(5) { animation-delay: 0.28s; }
  .ca-wave b:nth-child(6) { animation-delay: 0.35s; }
  .ca-wave b:nth-child(7) { animation-delay: 0.42s; }
  .ca-state [data-ca="ring"] { animation: caRingLabel 8s steps(1, end) infinite; }
  .ca-state [data-ca="answer"] { animation: caAnswerLabel 8s steps(1, end) infinite; }
  .ca-accept { animation: caAccept 8s ease-in-out infinite; }
  .ca-decline { animation: caDecline 8s ease-in-out infinite; }
}

/* one 8s timeline: it rings for two and a half seconds, then Webvex picks up */
@keyframes caShake {
  0%, 30% { transform: rotate(-0.9deg); }
  4%, 12%, 20%, 28% { transform: rotate(0.9deg); }
  8%, 16%, 24% { transform: rotate(-0.9deg); }
  34%, 100% { transform: none; }
}
@keyframes caPulse {
  0% { opacity: 0.55; transform: scale(0.72); }
  22%, 100% { opacity: 0; transform: scale(1.3); }
}
@keyframes caWave {
  0%, 32% { transform: scaleY(0.18); opacity: 0.3; }
  40% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.4); opacity: 0.85; }
  62% { transform: scaleY(1.1); opacity: 1; }
  76% { transform: scaleY(0.5); opacity: 0.9; }
  90%, 100% { transform: scaleY(0.9); opacity: 1; }
}
@keyframes caRingLabel { 0%, 31% { opacity: 1; } 32%, 100% { opacity: 0; } }
@keyframes caAnswerLabel { 0%, 31% { opacity: 0; } 32%, 100% { opacity: 1; } }
@keyframes caAccept {
  0%, 30% { transform: scale(1); box-shadow: 0 0 0 0 rgb(60 139 89 / 55%); }
  15% { transform: scale(1.12); box-shadow: 0 0 0 10px rgb(60 139 89 / 0%); }
  34%, 100% { transform: scale(0.86); opacity: 0.35; box-shadow: none; }
}
@keyframes caDecline {
  0%, 30% { opacity: 1; }
  34%, 100% { opacity: 0.3; }
}

/* --- featured work --- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  margin-top: 2rem;
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--media-radius);
  background: var(--surface);
  box-shadow: 0 20px 40px -34px rgb(60 48 24 / 55%);
  transition: transform 350ms cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 350ms ease, border-color 350ms ease;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 32px 56px -34px rgb(60 48 24 / 60%);
}

.work-shot {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface-warm);
}

.work-shot img {
  width: 100%;
  height: clamp(190px, 22vw, 260px);
  object-fit: cover;
  object-position: top center;
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.work-card:hover .work-shot img {
  transform: scale(1.035);
}

.work-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
}

.work-body h3 {
  margin-bottom: 0.3rem;
}

.work-meta {
  margin-bottom: 0.7rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.work-body p:not(.work-meta) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.work-link {
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-underline-offset: 0.25em;
}

.work-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 820px) {
  .work-grid { grid-template-columns: 1fr; }
  .ca-phone { width: min(220px, 74%); }
  .page-hero-media img { height: min(64vw, 380px); }
}

.business-types-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 820px) {
  .business-types-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .business-types-3 { grid-template-columns: 1fr; }
}

/* --- a facts panel where a decorative photo used to sit --- */
.fact-panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--media-radius);
  background: var(--surface);
  padding: clamp(1.4rem, 3vw, 2.1rem);
  box-shadow: 0 26px 50px -42px rgb(43 34 21 / 60%);
}

.fact-panel dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.fact-panel dl > div {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 0.5rem 1.25rem;
  border-bottom: 1px solid var(--line);
  padding-block: 0.85rem;
}

.fact-panel dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.fact-panel dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
}

.fact-panel a {
  color: var(--accent-dark);
  text-underline-offset: 0.25em;
}

@media (max-width: 540px) {
  .fact-panel dl > div { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* --- every 'here are the limits' section reads as a row, not a stacked list --- */
.limit-head {
  max-width: 62ch;
  margin-bottom: 0.5rem;
}

.limit-head .lede + .measure {
  margin-top: 0.9rem;
}

.limit-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 0 clamp(1.25rem, 2.5vw, 2.25rem);
  margin-top: 2rem;
  border-top: 1px solid var(--line-strong);
}

.limit-item {
  padding-top: 1.5rem;
}

.limit-item + .limit-item {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.25rem, 2.5vw, 2.25rem);
}

.limit-item h3 {
  font-size: 1.02rem;
}

.limit-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.limit-item p + h3 {
  margin-top: 1.1rem;
}

@media (max-width: 900px) {
  .limit-row { grid-template-columns: 1fr 1fr; gap: 0; }
  .limit-item, .limit-item + .limit-item { padding-block: 1.35rem; padding-left: 0; border-left: 0; }
  .limit-item:nth-child(even) { border-left: 1px solid var(--line); padding-left: clamp(1.25rem, 3vw, 2rem); }
  .limit-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 540px) {
  .limit-row { grid-template-columns: 1fr; }
  .limit-item, .limit-item:nth-child(even) { border-left: 0; padding-left: 0; }
  .limit-item:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* the closing band supplies the page's own ending, so the footer needs no rule */
.site-footer { padding-block: 3rem 2rem; }

/* --- a hero with no media: the headline runs the full width of the page --- */
.hero-statement h1 {
  max-width: none;
  margin-bottom: 1.4rem;
  font-size: clamp(2.9rem, 7.2vw, 5.6rem);
  line-height: 1;
}

.hero-statement .lede {
  max-width: 58ch;
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
}

.hero-statement .actions {
  margin-top: 2.25rem;
}
