@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-var.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2");
}

:root {
  --paper: #FFFFFF;
  --paper-alt: #FFFBF0;
  --paper-deep: #FFF6DE;
  --ink: #1C1B17;
  --ink-soft: #5B5952;
  --ink-faint: #6E6B60;
  --gold: #F6B93B;
  --gold-mid: #F2A93B;
  --gold-deep: #D9821F;
  --gold-text: #9C5510;
  --gold-line: #F0DDA6;
  --line: #EDE6D3;
  --max: 1440px;
  --narrow: 880px;
  --gradient-yellow: linear-gradient(135deg, #FFE9A8 0%, #F6C244 45%, #EE9A3A 100%);
  --gradient-yellow-soft: linear-gradient(180deg, rgba(246, 194, 68, 0.20), rgba(246, 194, 68, 0));
  --gradient-text: linear-gradient(120deg, #9C5510 0%, #B06A10 50%, #9C5510 100%);
  --shadow-gold: 0 20px 45px -20px rgba(217, 130, 31, 0.35);
  --shadow-soft: 0 12px 30px -18px rgba(28, 27, 23, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-size: 17px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 96px; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: "Space Grotesk", sans-serif; font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }

.mono, .stat-num, .service-tag, .timeline-date, .kicker, .quote-role {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}
.wrap.narrow { max-width: var(--narrow); }

.text-gradient {
  background: var(--gradient-text);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine {
  to { background-position: 220% center; }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.wordmark-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--gold-line);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); border-bottom-color: var(--gold-deep); }
.nav-cta {
  color: var(--ink) !important;
  background: var(--paper-deep);
  border: 1px solid var(--gold-line);
  padding: 7px 16px !important;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--gradient-yellow); color: var(--ink) !important; border-color: transparent; border-bottom-color: transparent !important; transform: translateY(-1px); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  z-index: 40;
}
.menu-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 27, 23, 0.35);
  backdrop-filter: blur(2px);
  z-index: 25;
}
.nav-overlay[hidden] { display: none; }

/* Dropdown (Expertise mega-menu) */
.nav-item { position: relative; }
.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0 0 2px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink-soft);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-drop-toggle:hover { color: var(--ink); border-bottom-color: var(--gold-deep); }
.nav-caret { transition: transform 0.25s var(--ease); }
.nav-item.is-open .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: fixed;
  top: 97px;
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(1440px, calc(100vw - 56px));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 30px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  z-index: 30;
}
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
@media (min-width: 781px) {
  .nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
}
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 48px;
}
.nav-dropdown-col { display: flex; flex-direction: column; gap: 4px; padding: 0 16px; }
.nav-dropdown-col + .nav-dropdown-col { border-left: 1px solid var(--line); }
.nav-dropdown-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 8px;
}
.nav-dropdown-col span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 6px 0;
  cursor: default;
}
.nav-dropdown-col a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.nav-dropdown-col a:hover { color: var(--ink); padding-left: 4px; }
.nav-dropdown-col .city-featured {
  color: var(--gold-text);
  font-weight: 600;
}
.nav-dropdown-col .city-current {
  color: var(--ink-faint);
  cursor: default;
}

/* Hero */
.hero {
  padding: 96px 0 0;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 640px;
  z-index: -1;
  pointer-events: none;
}
.hero-glow::before,
.hero-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 16s ease-in-out infinite alternate;
}
.hero-glow::before {
  width: 480px;
  height: 480px;
  top: -120px;
  right: 6%;
  background: radial-gradient(circle at 30% 30%, #FFE9A8, #F6C244 55%, rgba(246, 194, 68, 0));
}
.hero-glow::after {
  width: 380px;
  height: 380px;
  top: 120px;
  left: 2%;
  background: radial-gradient(circle at 60% 40%, #FFF3CE, #EE9A3A 60%, rgba(238, 154, 58, 0));
  animation-delay: -6s;
  animation-duration: 20s;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-24px, 30px) scale(1.08); }
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  display: block;
  color: var(--gold-text);
  will-change: transform;
}
.hero-shape svg { display: block; }

.shape-ring-1 { top: 8%; left: 4%; opacity: 0.4; animation: shape-spin 34s linear infinite; }
.shape-ring-2 { top: 6%; right: 24%; opacity: 0.3; animation: shape-spin 26s linear infinite reverse; }
.shape-ring-3 { bottom: 16%; left: 13%; opacity: 0.35; }
.shape-dot-1 { top: 22%; right: 35%; opacity: 0.45; }
.shape-dot-2 { bottom: 30%; left: 7%; opacity: 0.4; color: var(--ink); }

.shape-line-1, .shape-line-2, .shape-line-3 {
  left: -20vw;
  width: 140vw;
  height: 2px;
  background: currentColor;
  transform-origin: center;
}
.shape-line-1 { top: 16%; opacity: 0.3; rotate: -4deg; }
.shape-line-2 { top: 46%; opacity: 0.3; rotate: 3deg; color: var(--ink); }
.shape-line-3 { bottom: 18%; opacity: 0.3; rotate: -2deg; }
.shape-diamond {
  bottom: 10%;
  left: 23%;
  width: 20px;
  height: 20px;
  border: 2.5px solid var(--gold-text);
  rotate: 45deg;
  opacity: 0.4;
  animation: shape-pulse 6s ease-in-out infinite;
}
.shape-cross { top: 60%; left: 2%; opacity: 0.35; color: var(--ink); }
.shape-triangle {
  bottom: 6%;
  right: 2%;
  opacity: 0.3;
  animation: shape-spin 46s linear infinite reverse;
}
@keyframes shape-spin {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}
@keyframes shape-pulse {
  0%, 100% { scale: 1; }
  50% { scale: 1.2; }
}
@media (max-width: 860px) {
  .shape-cross, .shape-dot-1, .shape-dot-2, .shape-line-2, .shape-line-3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-shape { animation: none !important; }
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}
.hero-text { max-width: 800px; }

.hero-portrait {
  flex-shrink: 0;
  width: 340px;
  height: 340px;
  position: relative;
  animation: rise 0.8s var(--ease) 0.2s both;
}
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: var(--gradient-yellow);
  filter: blur(2px);
  z-index: -1;
  animation: drift 10s ease-in-out infinite alternate;
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-gold);
}

.serp-mock {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 190px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 17px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  perspective: 600px;
  z-index: 2;
  pointer-events: none;
}
.serp-google-logo {
  position: absolute;
  top: -15px;
  left: -15px;
  background: var(--paper);
  border-radius: 50%;
  padding: 6px;
  box-shadow: var(--shadow-soft);
  z-index: 3;
}
.serp-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  animation: serp-enter 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i) * 1.5s + 0.3s);
}
.serp-rank {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gradient-yellow);
  color: var(--ink);
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.serp-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 1px;
}
.serp-line {
  display: block;
  height: 3px;
  border-radius: 2px;
  width: 100%;
}
.serp-title { height: 4px; width: 92%; background: #3b78e7; }
.serp-url { width: 52%; background: #1e8e3e; }
.serp-text { background: var(--ink); opacity: 0.4; }
.serp-text.serp-w2 { width: 84%; }
.serp-text.serp-w3 { width: 58%; }
@keyframes serp-enter {
  from {
    opacity: 0;
    transform: translate3d(46px, -18px, -70px) rotateY(-30deg) rotateX(8deg) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0deg) rotateX(0deg) scale(1);
  }
}
@media (max-width: 860px) {
  .serp-mock { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .serp-row { animation: none; opacity: 1; transform: none; }
}

.floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  animation: float-badge 4.5s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}
.floating-badge:hover {
  transform: translateY(-8px) scale(1.08);
  box-shadow: var(--shadow-gold);
  animation-play-state: paused;
  z-index: 3;
}
.floating-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-yellow);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.badge-rating { top: 2%; right: -28%; }
.badge-experience { bottom: 14%; left: -34%; }
.badge-response { bottom: -22%; right: -16%; }
.badge-local { top: 46%; left: -40%; }
.badge-geo { top: -24%; left: 36%; }
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.keyword-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.keyword-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
  animation: float-badge 4.5s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}
.keyword-badge:hover {
  transform: translateY(-7px) scale(1.06);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold-line);
  animation-play-state: paused;
  z-index: 3;
}
.keyword-badge-icon {
  flex-shrink: 0;
  color: var(--gold-text);
}
@media (max-width: 640px) {
  .keyword-badges { justify-content: center; }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--gold-text);
  background: var(--paper-deep);
  border: 1px solid var(--gold-line);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  animation: rise 0.7s var(--ease) both;
}
.kicker-logo { border-radius: 50%; flex-shrink: 0; }
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  max-width: 15ch;
  letter-spacing: -0.01em;
  animation: rise 0.7s var(--ease) 0.08s both;
}
.hero-lead {
  font-size: 1.12rem;
  max-width: 62ch;
  color: var(--ink-soft);
  animation: rise 0.7s var(--ease) 0.16s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 56px;
  animation: rise 0.7s var(--ease) 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--gradient-yellow); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); transform: translateY(-2px); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 28px 4px 32px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat-num { display: block; font-size: 2.2rem; font-weight: 600; }
.stat-label { margin: 4px 0 0; font-size: 0.88rem; color: var(--ink-soft); }

/* Sections */
.section { padding: 84px 0; position: relative; }
.section.alt { background: var(--paper-alt); }
.section h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 0.8em; max-width: 22ch; }
.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--gold-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.check-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 12px;
  background: var(--gradient-yellow);
  border-radius: 50%;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.service {
  padding: 30px 26px 32px;
  background: var(--paper);
  transition: background 0.3s ease, transform 0.3s ease;
}
.service:hover {
  background: var(--paper-deep);
  transform: translateY(-3px);
}
.service-tag {
  display: inline-block;
  font-size: 0.76rem;
  color: var(--gold-text);
  background: var(--paper-deep);
  padding: 3px 10px;
  border-radius: 999px;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.service h3 { font-size: 1.08rem; margin-bottom: 0.4em; }
.service p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

/* Testimonials */
.testimonial-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.testimonial-source {
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.testimonial-source:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold-line);
}
.stars {
  display: flex;
  gap: 3px;
  color: var(--gold-mid);
}
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.quote-text {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
}
.quote-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.quote-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-yellow);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.quote-name { font-weight: 600; font-size: 0.95rem; }
.quote-role { display: block; color: var(--ink-faint); font-size: 0.82rem; margin-top: 1px; }

/* Timeline */
.timeline-wrap { position: relative; margin: 30px 0 0; }
.timeline-track {
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--gold-line);
  overflow: hidden;
}
.timeline-progress {
  position: absolute;
  inset: 0;
  background: var(--gradient-yellow);
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
}
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 0 0 34px 26px;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--gradient-yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--paper);
}
.timeline-date { font-size: 0.85rem; color: var(--ink-soft); padding-top: 1px; }
.timeline-body h3 { font-size: 1.05rem; margin-bottom: 0.35em; }
.timeline-body p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }
.formation { margin-top: 8px; color: var(--ink-soft); font-size: 0.95rem; }

/* Client logo marquee */
.logo-marquee {
  margin-top: 34px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track {
  display: flex;
  width: max-content;
  gap: 64px;
  animation: scroll-left 26s linear infinite;
}
.logo-track img {
  height: 28px;
  width: auto;
  flex-shrink: 0;
  filter: grayscale(1) opacity(0.6);
  transition: filter 0.25s ease;
}
.logo-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Platform strip (Google / YouTube / Bing) */
.platform-strip {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
}
.platform-strip-label {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.platform-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.platform-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.inline-logo { vertical-align: -3px; margin: 0 2px; }

/* Audit tool */
.audit-tool { background: var(--paper-alt); }
.audit-form {
  margin-top: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.audit-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.audit-form-row input {
  flex: 1 1 200px;
  min-width: 0;
  font: inherit;
  font-size: 0.98rem;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}
.audit-form-row input:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.audit-form-row .btn { flex: 0 0 auto; cursor: pointer; }
.audit-form-note { margin: 12px 4px 0; font-size: 0.82rem; color: var(--ink-faint); }
.audit-error {
  margin: 12px 4px 0;
  color: #B4232C;
  font-size: 0.9rem;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.audit-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
.audit-spinner[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.audit-results {
  margin-top: 34px;
  animation: rise 0.6s var(--ease) both;
}
.audit-scores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.score-ring {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 10px;
  text-align: center;
}
.score-ring-circle { position: relative; width: 84px; height: 84px; margin: 0 auto 10px; }
.score-ring-circle svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 6; }
.score-ring .score-track { stroke: var(--line); }
.score-ring .score-value {
  stroke: var(--gold-deep);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s var(--ease);
}
.score-ring.is-good .score-value { stroke: #3B8F5C; }
.score-ring.is-mid .score-value { stroke: var(--gold-deep); }
.score-ring.is-bad .score-value { stroke: #C4482F; }
.score-ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 1.1rem;
}
.score-ring-label { display: block; font-size: 0.82rem; color: var(--ink-soft); }

.audit-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.audit-metric {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.audit-metric strong { color: var(--ink); font-family: "IBM Plex Mono", monospace; }

.audit-opportunities { display: grid; gap: 12px; margin-bottom: 8px; }
.audit-opportunity {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-deep);
  border-radius: 10px;
  padding: 14px 18px;
}
.audit-opportunity h4 { margin: 0 0 4px; font-size: 0.98rem; }
.audit-opportunity p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }

/* Contact */
.contact { position: relative; overflow: hidden; }
.contact-avatar {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 0 20px;
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 2px var(--gold-line);
}
.contact-glow {
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 420px;
  background: radial-gradient(circle, rgba(246, 194, 68, 0.28), rgba(246, 194, 68, 0) 65%);
  z-index: -1;
  pointer-events: none;
}
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 22px 0 8px;
  font-size: 1.02rem;
}
.contact-item { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color 0.2s ease, color 0.2s ease; }
.contact-item:hover { border-bottom-color: var(--gold-deep); color: var(--gold-deep); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0 40px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--ink-soft); }
.footer-inner a { text-decoration: none; border-bottom: 1px solid var(--line); }
.footer-cities { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-faint); }
.footer-cities a { color: var(--ink-faint); text-decoration: none; }
.footer-cities a:hover { color: var(--gold-deep); }

/* City landing pages */
.city-hero { padding: 96px 0 60px; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 22px; }
.breadcrumb a { color: var(--ink-faint); text-decoration: none; border-bottom: 1px solid var(--line); }
.breadcrumb a:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

.trust-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0 0 40px;
  padding: 0;
}
.trust-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.trust-badges svg { color: #3B8F5C; flex-shrink: 0; }

.service-grid.two-col, .testimonial-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.tips-note { margin-top: 26px; font-size: 0.92rem; color: var(--ink-soft); }
.tips-note a { color: var(--gold-text); }

.related-cities-section { padding-bottom: 90px; }
.related-cities { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.related-city {
  display: inline-block;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.related-city:hover { border-color: var(--gold-deep); color: var(--gold-deep); transform: translateY(-2px); }

@media (max-width: 860px) {
  .service-grid.two-col, .testimonial-grid.two-col { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 860px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .menu-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(320px, 86vw);
    max-width: 100vw;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 88px 26px 32px;
    box-shadow: -20px 0 50px -20px rgba(28, 27, 23, 0.25);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 30;
    overflow-y: auto;
  }
  .site-nav.is-open { transform: translateX(0); }

  .site-nav > a,
  .nav-drop-toggle {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.02rem;
    width: 100%;
    justify-content: space-between;
  }
  .nav-cta {
    margin-top: 14px;
    text-align: center;
    justify-content: center;
    border-bottom: 1px solid transparent !important;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    width: 100%;
    transform: none;
    border: none;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.35s var(--ease);
  }
  .nav-item.is-open .nav-dropdown { max-height: 900px; transition: max-height 0.45s var(--ease); }
  .nav-dropdown-grid { grid-template-columns: 1fr; gap: 18px; padding: 12px 0 8px; }
  .nav-dropdown-col { padding: 0; }
  .nav-dropdown-col + .nav-dropdown-col { border-left: none; border-top: 1px solid var(--line); padding-top: 14px; }
}

@media (min-width: 781px) {
  .nav-overlay { display: none !important; }
}

@media (max-width: 860px) {
  .hero-inner { flex-direction: column-reverse; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-portrait { width: 220px; height: 220px; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .kicker { justify-content: center; }
  .floating-badge { font-size: 0.74rem; padding: 7px 12px; }
  .badge-rating { top: 0%; right: -10%; }
  .badge-experience { bottom: 10%; left: -14%; }
  .badge-response { bottom: -14%; right: -2%; }
  .badge-local { top: 42%; left: -16%; }
  .badge-geo { top: -18%; left: 32%; }
}

@media (max-width: 640px) {
  :root { font-size: 16px; }
  .hero { padding-top: 60px; }
  .badge-experience { display: none; }
  .badge-local { display: none; }
  .badge-geo { display: none; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: none; }
  .service-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .section { padding: 56px 0; }
  .audit-scores { grid-template-columns: repeat(2, 1fr); }
  .audit-form-row { flex-direction: column; }
  .audit-form-row .btn { width: 100%; justify-content: center; }
}
