:root {
  --ink: #0d1722;
  --ink-2: #243140;
  --muted: #556575;
  --paper: #f3f6f4;
  --white: #ffffff;
  --teal: #0b746b;
  --teal-dark: #074f4a;
  --steel: #31566b;
  --blue: #17384f;
  --gold: #7b5a1d;
  --line: #d5dfdd;
  --shadow: 0 18px 45px rgba(13, 23, 34, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 75px;
  padding: 16px clamp(18px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(16px);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 850;
  text-decoration: none;
  transform: translateY(-140%);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid rgba(11, 116, 107, 0.5);
  outline-offset: 3px;
}

main:focus {
  outline: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  aspect-ratio: 1;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.14);
}

.main-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--ink-2);
  font-size: 0.95rem;
}

.main-nav a,
.main-nav summary,
.site-footer nav a,
.site-footer nav summary {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.main-nav summary:hover,
.main-nav summary[aria-current="page"],
.site-footer nav a:hover,
.site-footer nav summary:hover {
  color: var(--teal);
}

.main-nav a:focus-visible,
.main-nav summary:focus-visible,
.site-footer nav a:focus-visible,
.site-footer nav summary:focus-visible,
.faq-list summary:focus-visible {
  outline: 2px solid rgba(11, 116, 107, 0.48);
  outline-offset: 2px;
  background: #eef6f4;
}

.nav-dropdown,
.footer-dropdown {
  position: relative;
}

.nav-dropdown > summary,
.footer-dropdown > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding-inline: 4px;
  border-radius: 6px;
  list-style: none;
  font-weight: 750;
}

.nav-dropdown > summary::-webkit-details-marker,
.footer-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after,
.footer-dropdown > summary::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown[open] > summary::after,
.footer-dropdown[open] > summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.nav-dropdown[open] > summary,
.footer-dropdown[open] > summary {
  color: var(--teal-dark);
}

.dropdown-panel {
  display: none;
}

.nav-dropdown[open] > .dropdown-panel,
.footer-dropdown[open] > .dropdown-panel {
  display: grid;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 50;
  width: min(92vw, 760px);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(13, 23, 34, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 22px 58px rgba(13, 23, 34, 0.18);
}

.footer-dropdown .dropdown-panel {
  top: auto;
  bottom: calc(100% + 12px);
  left: auto;
  right: 0;
}

.service-menu {
  grid-template-columns: minmax(320px, 1.35fr) minmax(220px, 0.85fr);
  align-items: stretch;
}

.service-menu-group {
  display: grid;
  grid-row: span 3;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8faf9;
}

.service-menu a {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.service-menu a:hover {
  background: #eef6f4;
  color: var(--teal-dark);
}

.service-menu-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: auto;
  margin: 0 0 6px;
  padding: 2px 2px 10px;
  border-bottom: 1px solid rgba(13, 23, 34, 0.12);
  border-radius: 0;
  color: var(--muted) !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  line-height: 1.25;
  text-align: left;
  background: transparent;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.service-menu-heading::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.service-menu-card {
  display: grid !important;
  align-content: start;
  gap: 4px;
  min-height: 104px !important;
  border: 1px solid rgba(11, 116, 107, 0.18);
  background: var(--white);
}

.service-menu-card span {
  color: var(--ink);
}

.service-menu-card small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.state-dropdown .dropdown-panel {
  width: min(92vw, 560px);
}

.state-menu {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: min(70vh, 560px);
  overflow-y: auto;
  align-items: start;
}

.state-menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.state-menu a:hover {
  border-color: rgba(11, 116, 107, 0.18);
  background: #eef6f4;
  color: var(--teal-dark);
}

@media (max-width: 640px) {
  .state-dropdown .dropdown-panel {
    width: min(92vw, 420px);
  }

  .state-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: min(64vh, 440px);
  }
}

@media (max-width: 420px) {
  .state-menu {
    grid-template-columns: 1fr;
  }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  color: var(--teal-dark);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  min-height: calc(100vh - 74px);
  background:
    radial-gradient(circle at 78% 18%, rgba(197, 149, 61, 0.18), transparent 28%),
    linear-gradient(135deg, #0c1620 0%, #17384f 54%, #074f4a 100%);
  color: var(--white);
}

.home-hero {
  grid-template-columns: minmax(0, 0.86fr) minmax(390px, 1.14fr);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 96px) clamp(22px, 5vw, 76px);
}

.hero h1,
.page-hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(2.35rem, 5.15vw, 5.55rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede,
.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
}

.hero-panel {
  position: relative;
  display: flex;
  min-height: 640px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(26px, 4vw, 54px);
}

.hero-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.58), rgba(17, 24, 39, 0.06));
  pointer-events: none;
}

.hero-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 1717 / 916;
  object-fit: cover;
}

.hero-form-card {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  margin-left: auto;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-form-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.05;
  overflow-wrap: break-word;
}

.form-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-form,
.contact-form {
  display: grid;
  gap: 14px;
}

.hero-review-form {
  gap: 12px;
}

.hero-points {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
}

.hero-points li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.primary:hover {
  background: #0d5f57;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.74);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: clamp(32px, 5vw, 58px) 0 0;
}

.hero-metrics div {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 14px;
}

.hero-metrics dt {
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 28px);
}

.band {
  max-width: none;
  padding-inline: max(clamp(18px, 4vw, 52px), calc((100vw - var(--max)) / 2));
  background: var(--white);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section h2,
.page-hero h1,
.post h1 {
  color: var(--ink);
}

.section h2,
.post h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.4vw, 3.65rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.section p,
.card p,
.insight p,
.article-card p,
.post p,
.trust-item p,
.growth-card p,
.proof-ledger p,
.case-study-card p,
.faq-list p,
.stack-grid p,
.review-slide p {
  color: var(--muted);
}

.three-column,
.service-grid,
.article-grid,
.four-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.four-column {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card {
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  content: "";
}

.metric-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.metric-value {
  display: block;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(2.1rem, 4.6vw, 4.5rem);
  font-weight: 900;
  line-height: 0.95;
}

.outcome-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: none;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.outcome-strip article {
  min-height: 260px;
  padding: clamp(28px, 5vw, 58px);
  border-right: 1px solid var(--line);
}

.outcome-strip article:last-child {
  border-right: 0;
}

.outcome-strip span,
.growth-card span,
.case-study-card span,
.stack-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-metric-card {
  background:
    linear-gradient(180deg, rgba(15, 111, 100, 0.04), rgba(255, 255, 255, 0)),
    var(--white);
}

.free-review-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.82fr) auto;
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  max-width: none;
  padding-inline: max(clamp(18px, 4vw, 52px), calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(135deg, #074f4a 0%, #0b746b 68%, #17384f 100%);
  color: var(--white);
}

.free-review-band h2 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(1.85rem, 3vw, 3.4rem);
}

.free-review-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(183, 137, 50, 0.24);
  border-radius: 6px;
  background: rgba(183, 137, 50, 0.1);
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.45;
}

.hero-form-card .free-review-note {
  margin-bottom: 12px;
  padding: 8px 10px;
  font-size: 0.84rem;
  line-height: 1.35;
}

.free-review-note.inverse {
  max-width: 760px;
  margin: 14px 0 0;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.free-review-band .eyebrow {
  color: var(--white);
}

.free-review-points {
  display: grid;
  gap: 10px;
}

.free-review-points span {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 800;
}

.free-review-band .button.primary {
  background: var(--white);
  color: var(--teal-dark);
  white-space: nowrap;
}

.free-review-band .button.primary:hover {
  background: #edf5f3;
}

.outcome-strip h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.5vw, 2.8rem);
  line-height: 1.02;
}

.outcome-strip p {
  max-width: 420px;
  margin: 0;
}

.visibility-stack {
  border-bottom: 1px solid var(--line);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stack-grid article {
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), #f8faf9);
}

.stack-grid h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.12;
}

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

.why-us-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: stretch;
}

.why-us-lead,
.why-us-card {
  border-radius: var(--radius);
}

.why-us-lead {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 100%;
  padding: clamp(24px, 4vw, 36px);
  background:
    linear-gradient(135deg, rgba(11, 116, 107, 0.24), rgba(197, 149, 61, 0.12)),
    var(--ink);
  color: var(--white);
}

.why-us-lead > span {
  color: #d8b36a;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.why-us-lead h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.65rem, 3vw, 3.1rem);
  line-height: 1.02;
}

.why-us-lead p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.why-us-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.why-us-proof div {
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.why-us-proof strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(1.95rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 0.92;
}

.why-us-proof span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}

.why-us-lead .text-link {
  color: var(--white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.why-us-card {
  min-height: 184px;
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--white), #f8faf9);
}

.why-us-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.16;
}

.why-us-card p {
  margin: 0;
  color: var(--muted);
}

.insight,
.card,
.article-card,
.trust-item,
.growth-card,
.proof-ledger article,
.case-study-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
}

.icon-dot {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(15, 111, 100, 0.12);
  color: var(--teal-dark);
  font-weight: 900;
}

.insight h3,
.card h3,
.card h2,
.article-card h2,
.article-card h3,
.stacked-list h3,
.process-list h3,
.trust-item h3,
.growth-card h3,
.proof-ledger h3,
.case-study-card h3 {
  margin: 0 0 8px;
  line-height: 1.18;
  letter-spacing: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: none;
}

.text-link::after {
  content: "->";
}

.text-link:hover {
  color: var(--teal);
}

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

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.process-list .step-number {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 34px;
  border: 1px solid rgba(15, 111, 100, 0.22);
  border-radius: 999px;
  background: var(--white);
  color: var(--gold);
  font-weight: 900;
}

.accent {
  max-width: none;
  padding-inline: max(clamp(18px, 4vw, 52px), calc((100vw - var(--max)) / 2));
  background: #e7efed;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.source-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(15, 111, 100, 0.22);
  border-radius: 6px;
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
}

.source-links a:hover {
  border-color: var(--teal);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.trust-item {
  background: linear-gradient(180deg, #ffffff, #f7faf9);
}

.deep-band {
  background:
    linear-gradient(135deg, #0c1620 0%, #102638 58%, #074f4a 100%);
  color: var(--white);
}

.deep-band h2,
.deep-band h3 {
  color: var(--white);
}

.deep-band p {
  color: rgba(255, 255, 255, 0.72);
}

.growth-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.growth-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.four-pillar-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.growth-service-grid .growth-card {
  min-height: 260px;
}

.practice-fit-section,
.seo-practice-section {
  border-bottom: 1px solid var(--line);
}

.practice-grid,
.seo-practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.practice-grid article,
.seo-practice-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), #f8faf9);
}

.practice-grid h3,
.seo-practice-grid h3 {
  margin: 0 0 10px;
  line-height: 1.18;
}

.practice-grid p,
.seo-practice-grid p {
  margin: 0;
  color: var(--muted);
}

.proof-ledger-section {
  border-bottom: 1px solid var(--line);
}

.proof-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proof-ledger article {
  min-height: 220px;
}

.service-detail-page .proof-ledger {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-detail-page .proof-ledger article {
  min-height: 190px;
}

.proof-metric-card {
  background:
    linear-gradient(180deg, rgba(31, 63, 91, 0.05), rgba(255, 255, 255, 0)),
    var(--white);
}

.review-section {
  align-items: center;
}

.ugc-list {
  display: grid;
  gap: 14px;
}

.ugc-list div {
  padding: 22px;
  border: 1px solid rgba(54, 86, 106, 0.22);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  background: var(--white);
}

.ugc-list h3 {
  margin: 0 0 6px;
}

.ugc-list p {
  margin: 0;
  color: var(--muted);
}

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

.review-carousel {
  overflow: hidden;
}

.review-track {
  display: flex;
  transition: transform 320ms ease;
  will-change: transform;
}

.review-slide {
  flex: 0 0 100%;
  min-height: 330px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 111, 100, 0.08), rgba(31, 63, 91, 0.08)),
    var(--white);
}

.review-slide p {
  max-width: 900px;
  margin: 0 0 26px;
  color: var(--ink-2);
  font-size: clamp(1.35rem, 2.4vw, 2.35rem);
  line-height: 1.18;
}

.review-slide span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.carousel-controls {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.carousel-controls button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.carousel-controls > button {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  font-size: 0;
}

.carousel-controls > button::before {
  font-size: 1.2rem;
  line-height: 1;
}

.carousel-controls [data-carousel-prev]::before {
  content: "\2190";
}

.carousel-controls [data-carousel-next]::before {
  content: "\2192";
}

.carousel-controls button:hover,
.carousel-controls button[aria-current="true"] {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.carousel-dots {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.carousel-dots button {
  position: relative;
  width: clamp(32px, 10vw, 44px);
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.carousel-dots button::before {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  content: "";
  transform: translate(-50%, -50%);
}

.carousel-dots button[aria-current="true"] {
  background: transparent;
}

.carousel-dots button:hover::before,
.carousel-dots button[aria-current="true"]::before {
  border-color: var(--teal);
  background: var(--teal);
}

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

.case-study-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
  margin-bottom: 28px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #0c1620 0%, #102638 60%, #074f4a 100%);
  background-color: #0c1620;
  color: var(--white);
}

.case-study-feature h2 {
  color: var(--white);
}

.case-study-feature p {
  color: rgba(255, 255, 255, 0.86);
}

.case-study-feature .eyebrow {
  color: #f0d394;
}

.case-study-feature .text-link {
  color: var(--white);
}

.case-study-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.case-study-results article {
  min-height: 148px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: #142c3c;
}

.case-study-results .metric-card::before {
  background: linear-gradient(90deg, var(--gold), rgba(255, 255, 255, 0.42));
}

.case-study-results .metric-label {
  margin-bottom: 14px;
  color: #f0d394;
}

.case-study-results .metric-value {
  color: var(--white);
  font-size: clamp(1.85rem, 3.1vw, 3.25rem);
}

.case-study-results p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-study-card {
  min-height: 300px;
  background: linear-gradient(180deg, var(--white), #f7faf9);
}

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

.benchmark-card {
  min-height: 330px;
}

.benchmark-card .metric-value {
  font-size: clamp(2rem, 4vw, 4rem);
}

.benchmark-card h3 {
  margin-top: 0;
}

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

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  color: var(--teal-dark);
  font-size: 1.25rem;
  font-weight: 900;
}

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

.faq-list details p {
  margin: 0;
  padding: 0 22px 20px;
}

.contact-form {
  padding: 24px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.form-service-options {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8faf9;
}

.form-service-options legend {
  padding: 0 6px;
  color: var(--ink-2);
  font-weight: 850;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.checkbox-grid label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(15, 111, 100, 0.14);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.3;
}

.checkbox-grid input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.form-expander {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8faf9;
}

.form-expander > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 12px 14px;
  color: var(--ink-2);
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.form-expander > summary::-webkit-details-marker {
  display: none;
}

.form-expander > summary::after {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(11, 116, 107, 0.22);
  border-radius: 999px;
  color: var(--teal-dark);
  content: "+";
  font-weight: 900;
}

.form-expander[open] > summary {
  border-bottom: 1px solid var(--line);
  background: #eef6f4;
}

.form-expander[open] > summary::after {
  content: "-";
}

.form-expander summary span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.form-expander summary small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.25;
}

.form-expander summary:focus-visible {
  outline: 3px solid rgba(11, 116, 107, 0.46);
  outline-offset: 2px;
}

.form-expander-body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(11, 116, 107, 0.46);
  outline-offset: 2px;
  border-color: var(--teal);
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.form-note a {
  color: inherit;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.form-note a:hover {
  color: var(--teal-dark);
}

form .form-note[data-form-status] {
  margin-top: 2px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.45;
}

form .form-note[data-form-status="sending"] {
  border-color: #c7d9d6;
  background: #f2f8f7;
  color: var(--teal-dark);
}

form .form-note[data-form-status="success"] {
  border-color: #8ac7bd;
  background: #eaf8f5;
  color: #075b53;
}

form .form-note[data-form-status="error"] {
  border-color: #dca6a6;
  background: #fff3f3;
  color: #8f2424;
}

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

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 42px clamp(18px, 4vw, 52px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer p {
  max-width: 430px;
  margin: 14px 0 0;
  color: var(--muted);
}

.footer-brand .brand-mark {
  background: var(--teal-dark);
}

.page-hero {
  padding: clamp(72px, 12vw, 140px) clamp(18px, 4vw, 52px);
  background:
    radial-gradient(circle at 82% 20%, rgba(11, 116, 107, 0.24), transparent 30%),
    linear-gradient(135deg, #0c1620 0%, #17384f 100%);
  color: var(--white);
}

.page-hero h1 {
  color: var(--white);
}

.page-breadcrumb {
  padding: 14px clamp(18px, 4vw, 52px) 0;
  background: var(--paper);
}

.page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.3;
  list-style: none;
}

.page-breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.page-breadcrumb li + li::before {
  margin: 0 8px;
  color: var(--muted);
  content: ">";
}

.page-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--teal-dark);
  text-decoration: none;
}

.page-breadcrumb a:hover {
  text-decoration: underline;
}

.page-breadcrumb a:focus-visible {
  outline: 2px solid rgba(11, 116, 107, 0.48);
  outline-offset: 2px;
  background: #eef6f4;
}

.page-breadcrumb [aria-current="page"] {
  overflow-wrap: anywhere;
}

.not-found-copy {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.not-found-copy > p:not(.eyebrow) {
  max-width: 680px;
}

.service-hero {
  padding-block: clamp(64px, 9vw, 112px);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.service-hero-grid h1 {
  max-width: 820px;
}

.service-hero-grid > div > p {
  max-width: 720px;
}

.service-hero-panel {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: #f8faf9;
  color: var(--ink);
  box-shadow: 0 22px 58px rgba(13, 23, 34, 0.24);
}

.service-hero-panel .metric-label {
  color: var(--teal-dark);
}

.service-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.service-proof-grid div {
  min-height: 126px;
  padding: 16px;
  border: 1px solid #cddbd8;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(11, 116, 107, 0.04), rgba(255, 255, 255, 0)),
    var(--white);
}

.service-proof-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(1.75rem, 3.2vw, 2.85rem);
  font-weight: 900;
  line-height: 0.95;
}

.service-proof-grid span {
  display: block;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}

body.home-page {
  background:
    linear-gradient(180deg, #f7faf9 0%, var(--paper) 50%, #edf4f2 100%);
}

.home-page .outcome-strip {
  max-width: var(--max);
  padding: clamp(46px, 7vw, 84px) clamp(18px, 4vw, 28px);
  gap: 18px;
  border-bottom: 0;
  background: transparent;
}

.home-page .outcome-strip article {
  position: relative;
  overflow: hidden;
  min-height: 224px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(11, 116, 107, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(11, 116, 107, 0.05), rgba(255, 255, 255, 0) 58%),
    var(--white);
  box-shadow: 0 14px 34px rgba(13, 23, 34, 0.08);
}

.home-page .outcome-strip article:last-child {
  border-right: 1px solid rgba(11, 116, 107, 0.2);
}

.home-page :where(.stack-grid article, .trust-item, .why-us-card, .practice-grid article, .proof-ledger article, .review-slide, .case-study-card, .process-list li, .faq-list details) {
  position: relative;
  overflow: hidden;
  border-color: rgba(11, 116, 107, 0.2);
  background:
    linear-gradient(180deg, var(--white) 0%, #f8faf9 100%);
  box-shadow: 0 14px 34px rgba(13, 23, 34, 0.08);
}

.home-page :where(.stack-grid article, .trust-item, .why-us-card, .practice-grid article, .review-slide, .process-list li)::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  content: "";
}

.home-page :where(.stack-grid article, .trust-item, .why-us-card, .practice-grid article, .case-study-card, .process-list li) {
  padding: 24px;
}

.home-page :where(.stack-grid article, .trust-item, .why-us-card, .practice-grid article, .case-study-card, .process-list li) p {
  color: var(--muted);
}

.home-page :where(.stack-grid span, .growth-card span, .case-study-card span, .review-slide span) {
  color: var(--gold);
}

.home-page .stack-grid article {
  min-height: 300px;
}

.home-page .trust-item {
  min-height: 210px;
}

.home-page .why-us-card {
  min-height: 178px;
}

.home-page .practice-grid article {
  min-height: 230px;
}

.home-page .proof-ledger article {
  min-height: 238px;
}

.home-page .deep-band .growth-card {
  position: relative;
  overflow: hidden;
  min-height: 258px;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

.home-page .deep-band .growth-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #d8b36a, rgba(255, 255, 255, 0.42), var(--teal));
  content: "";
}

.home-page .deep-band .growth-card span {
  color: #f0d394;
}

.home-page .deep-band .growth-card p {
  color: rgba(255, 255, 255, 0.78);
}

.home-page .review-slide {
  border-color: rgba(11, 116, 107, 0.2);
  background:
    linear-gradient(135deg, rgba(11, 116, 107, 0.08), rgba(23, 56, 79, 0.08)),
    var(--white);
}

.home-page .review-slide p {
  color: var(--ink-2);
}

.home-page .case-study-card {
  min-height: 300px;
}

.home-page .faq-list details {
  background:
    linear-gradient(180deg, var(--white), #fbfcfb);
}

.home-page .faq-list details[open] {
  border-color: rgba(11, 116, 107, 0.32);
  box-shadow: 0 16px 36px rgba(13, 23, 34, 0.1);
}

.home-page .faq-list summary::after {
  color: var(--teal-dark);
}

body.privacy-page {
  background:
    linear-gradient(180deg, #f7faf9 0%, var(--paper) 48%, #edf4f2 100%);
}

.privacy-hero {
  padding: clamp(42px, 5vw, 60px) clamp(18px, 4vw, 52px);
  background:
    linear-gradient(135deg, #0c1620 0%, #17384f 58%, #074f4a 100%);
  color: var(--white);
}

.privacy-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}

.privacy-hero-grid > * {
  min-width: 0;
}

.privacy-hero h1 {
  max-width: 880px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.3rem, 4vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.privacy-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
}

.privacy-updated {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 850;
}

.privacy-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.privacy-summary-card {
  position: relative;
  overflow: hidden;
  min-height: 156px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 42px rgba(13, 23, 34, 0.18);
}

.privacy-summary-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  content: "";
}

.privacy-summary-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #d8b15f;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.privacy-summary-card h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.04rem;
  line-height: 1.18;
}

.privacy-summary-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.5;
}

.privacy-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(52px, 8vw, 96px) clamp(18px, 4vw, 28px);
}

.privacy-toc {
  position: sticky;
  top: 98px;
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(11, 116, 107, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), #f8faf9);
  box-shadow: 0 14px 34px rgba(13, 23, 34, 0.08);
}

.privacy-toc h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
}

.privacy-toc nav {
  display: grid;
  gap: 4px;
}

.privacy-toc a {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
}

.privacy-toc a:hover,
.privacy-toc a:focus-visible {
  background: #eef6f4;
  color: var(--teal-dark);
}

.privacy-policy-content {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.privacy-policy-content section {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(11, 116, 107, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), #f8faf9);
  box-shadow: 0 14px 34px rgba(13, 23, 34, 0.08);
}

.privacy-policy-content section::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  content: "";
}

.privacy-policy-content h2 {
  max-width: 820px;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.13;
}

.privacy-policy-content p,
.privacy-policy-content li {
  color: var(--muted);
}

.privacy-policy-content p {
  max-width: 850px;
  margin: 0;
}

.privacy-policy-content p + p,
.privacy-policy-content p + ul {
  margin-top: 14px;
}

.privacy-policy-content ul {
  display: grid;
  gap: 10px;
  max-width: 850px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.privacy-policy-content a {
  color: var(--teal-dark);
  font-weight: 850;
}

body.contact-page {
  background:
    linear-gradient(180deg, #f7faf9 0%, var(--paper) 54%, #edf4f2 100%);
}

.contact-hero {
  padding: clamp(40px, 5vw, 64px) clamp(18px, 4vw, 52px) clamp(52px, 7vw, 86px);
  background:
    radial-gradient(circle at 84% 14%, rgba(197, 149, 61, 0.16), transparent 28%),
    linear-gradient(135deg, #0c1620 0%, #17384f 58%, #074f4a 100%);
  color: var(--white);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.contact-hero-copy {
  min-width: 0;
}

.contact-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.contact-hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.06rem, 1.35vw, 1.24rem);
}

.contact-hero-copy > .contact-email {
  margin-top: 14px;
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
}

.contact-email a {
  color: var(--white);
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.contact-email a:hover {
  color: #f3d699;
}

.contact-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 34px;
}

.contact-hero-proof div {
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(13, 23, 34, 0.16);
}

.contact-hero-proof strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 900;
  line-height: 0.95;
}

.contact-hero-proof span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
}

.contact-hero-form-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 249, 0.97));
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-hero-form-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  content: "";
}

.contact-hero-form-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.08;
}

.contact-review-form {
  gap: 10px;
  margin-top: 12px;
}

.contact-page .contact-hero-form-card .free-review-note {
  margin-bottom: 0;
}

.contact-page .contact-hero-form-card .form-kicker {
  margin-bottom: 6px;
}

.contact-page .contact-review-form label {
  gap: 5px;
  font-size: 0.86rem;
  line-height: 1.25;
}

.contact-page .contact-review-form input,
.contact-page .contact-review-form textarea {
  padding: 9px 10px;
}

.contact-page .contact-review-form .form-service-options {
  gap: 8px;
  padding: 10px;
}

.contact-page .contact-review-form .checkbox-grid {
  gap: 6px;
}

.contact-page .contact-review-form .checkbox-grid label {
  min-height: 44px;
  padding: 7px 8px;
  align-items: center;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.22;
}

.contact-page .contact-review-form .button {
  min-height: 44px;
}

.contact-page .contact-review-form .form-note {
  font-size: 0.8rem;
  line-height: 1.34;
}

.contact-card-grid,
.contact-step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contact-info-card,
.contact-step-list li {
  position: relative;
  overflow: hidden;
  min-height: 236px;
  padding: 22px;
  border: 1px solid rgba(11, 116, 107, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), #f8faf9);
  box-shadow: 0 14px 34px rgba(13, 23, 34, 0.08);
}

.contact-info-card::before,
.contact-step-list li::before,
.contact-page .proof-ledger article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  content: "";
}

.contact-info-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-info-card h3,
.contact-step-list h3 {
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.16;
}

.contact-info-card p,
.contact-step-list p {
  margin: 0;
  color: var(--muted);
}

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

.contact-page .proof-ledger {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-page .proof-ledger article {
  position: relative;
  overflow: hidden;
  min-height: 222px;
  padding: clamp(22px, 2.4vw, 28px);
  border-color: rgba(11, 116, 107, 0.2);
  background: linear-gradient(180deg, var(--white), #f8faf9);
  box-shadow: 0 14px 34px rgba(13, 23, 34, 0.08);
}

.contact-page .proof-ledger span {
  color: var(--gold);
}

.contact-page .proof-ledger h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(2.15rem, 4vw, 3.2rem);
  line-height: 0.96;
}

.contact-step-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-step-list .step-number {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(15, 111, 100, 0.22);
  border-radius: 999px;
  background: var(--white);
  color: var(--gold);
  font-weight: 900;
}

.contact-page .faq-list details {
  border-color: rgba(11, 116, 107, 0.18);
  box-shadow: 0 10px 24px rgba(13, 23, 34, 0.06);
}

body.about-page {
  background:
    linear-gradient(180deg, #f7faf9 0%, var(--paper) 48%, #edf4f2 100%);
}

.about-page .about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

.about-page .about-hero > * {
  min-width: 0;
}

.about-page .about-hero h1 {
  max-width: 960px;
}

.about-page .about-hero .hero-actions {
  margin-top: 28px;
}

.about-hero-panel {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 460px;
  justify-self: end;
}

.about-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 154px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 22px 58px rgba(13, 23, 34, 0.18);
}

.about-hero-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #d8b36a, rgba(255, 255, 255, 0.42), var(--teal));
  content: "";
}

.about-hero-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(1.85rem, 3vw, 3.1rem);
  font-weight: 900;
  line-height: 1;
}

.about-hero-card span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
  line-height: 1.42;
}

.about-page :where(.proof-ledger article, .growth-card, .why-us-card, .article-card, .process-list li) {
  position: relative;
  overflow: hidden;
  border-color: rgba(11, 116, 107, 0.2);
  background:
    linear-gradient(180deg, var(--white) 0%, #f8faf9 100%);
  box-shadow: 0 14px 34px rgba(13, 23, 34, 0.08);
}

.about-page :where(.proof-ledger article, .growth-card, .why-us-card, .article-card, .process-list li)::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  content: "";
}

.about-page .proof-ledger {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-page .proof-ledger article {
  display: flex;
  min-height: 220px;
  padding: clamp(22px, 2.4vw, 28px);
  flex-direction: column;
}

.about-page .proof-ledger span,
.about-page :where(.growth-card span, .article-card span) {
  color: var(--gold);
}

.about-page .proof-ledger h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(2.15rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 0.96;
}

.about-page .proof-ledger p,
.about-page .growth-card p,
.about-page .why-us-card p,
.about-page .process-list p {
  color: var(--muted);
}

.about-page .growth-card {
  min-height: 245px;
}

.about-page .why-us-lead {
  box-shadow: 0 22px 58px rgba(13, 23, 34, 0.18);
}

.about-page .why-us-proof div {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  justify-content: center;
}

.about-page .why-us-proof strong {
  margin-bottom: 6px;
  font-size: clamp(1.35rem, 1.6vw, 1.72rem);
  line-height: 1.05;
  overflow-wrap: normal;
}

.about-page .why-us-proof span {
  font-size: 0.84rem;
  line-height: 1.3;
  overflow-wrap: normal;
}

.about-page .why-us-card {
  min-height: 178px;
}

body.service-detail-page {
  background:
    linear-gradient(180deg, #f7faf9 0%, var(--paper) 52%, #edf4f2 100%);
}

.service-detail-page .service-hero {
  padding-block: clamp(44px, 7vw, 82px);
  background:
    linear-gradient(135deg, #0c1620 0%, #17384f 58%, #074f4a 100%);
  background-color: #0c1620;
  color: var(--white);
}

.service-detail-page .service-hero h1 {
  color: var(--white);
}

.service-detail-page .service-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  grid-template-areas:
    "copy form"
    "support form";
  align-items: start;
}

.service-detail-page .service-hero-copy {
  grid-area: copy;
  padding-top: clamp(4px, 1.4vw, 16px);
}

.service-detail-page .service-hero-grid > .service-hero-copy > p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.8);
}

.service-hero-points {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.service-hero-points li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.service-hero-points li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d8b36a;
  content: "";
}

.service-hero-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 36px;
}

.service-hero-assurance span {
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.25;
}

.service-detail-page .service-hero-form-card {
  grid-area: form;
  align-self: start;
  width: min(100%, 540px);
}

.service-hero-support {
  grid-area: support;
}

.service-review-card {
  border: 1px solid rgba(11, 116, 107, 0.26);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 22px 58px rgba(13, 23, 34, 0.18);
}

.service-review-card h2,
.service-detail-page .service-hero-form-card h2 {
  color: var(--ink);
}

.service-review-card p,
.service-review-card .form-note,
.service-detail-page .service-hero-form-card p,
.service-detail-page .service-hero-form-card .form-note {
  color: var(--muted);
}

.service-review-card label {
  color: var(--ink-2);
}

.service-review-card input,
.service-review-card textarea {
  border-color: #c8d8d5;
  background: var(--white);
  color: var(--ink);
}

.service-review-card input::placeholder,
.service-review-card textarea::placeholder {
  color: #697887;
}

.service-review-card .form-kicker,
.service-detail-page .service-hero-form-card .form-kicker {
  color: var(--teal-dark);
}

.service-review-card .free-review-note,
.service-detail-page .service-hero-form-card .free-review-note {
  margin-bottom: 12px;
  padding: 8px 10px;
  border-color: rgba(11, 116, 107, 0.22);
  background: #eef6f4;
  color: var(--ink-2);
  font-size: 0.84rem;
  line-height: 1.35;
}

.service-detail-page .service-hero-form-card .button {
  width: 100%;
}

.service-hero-proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--max);
  margin: clamp(26px, 4vw, 46px) auto 0;
}

.service-hero-proof-row div {
  position: relative;
  overflow: hidden;
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(11, 116, 107, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(11, 116, 107, 0.05), rgba(255, 255, 255, 0) 60%),
    var(--white);
  box-shadow: 0 16px 40px rgba(13, 23, 34, 0.14);
}

.service-hero-proof-row div::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  content: "";
}

.service-hero-proof-row strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(1.72rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 0.96;
}

.service-hero-proof-row span {
  display: block;
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.28;
}

.service-detail-page :where(.card, .stack-grid article, .article-card, .growth-card, .case-study-card, .why-us-card, .review-slide, .process-list li, .faq-list details) {
  position: relative;
  overflow: hidden;
  border-color: rgba(11, 116, 107, 0.2);
  background:
    linear-gradient(180deg, var(--white) 0%, #f8faf9 100%);
  box-shadow: 0 14px 34px rgba(13, 23, 34, 0.08);
}

.service-detail-page :where(.card, .stack-grid article, .article-card, .growth-card, .case-study-card, .why-us-card, .review-slide, .process-list li)::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  content: "";
}

.service-detail-page .growth-card,
.service-detail-page .stack-grid article {
  min-height: 280px;
}

.service-detail-page .growth-card h3,
.service-detail-page .growth-card p {
  color: inherit;
}

.service-detail-page .growth-card p,
.service-detail-page .stack-grid p,
.service-detail-page .article-card p,
.service-detail-page .case-study-card p,
.service-detail-page .why-us-card p,
.service-detail-page .review-slide p,
.service-detail-page .process-list p,
.service-detail-page .faq-list p {
  color: var(--muted);
}

.service-detail-page :where(.growth-card span, .stack-grid span, .article-card span, .review-slide span) {
  color: var(--gold);
}

.service-detail-page .review-carousel-section {
  background:
    linear-gradient(180deg, rgba(11, 116, 107, 0.04), rgba(255, 255, 255, 0)),
    transparent;
}

.service-detail-page .review-slide {
  min-height: 300px;
  background:
    linear-gradient(135deg, rgba(11, 116, 107, 0.08), rgba(23, 56, 79, 0.08)),
    var(--white);
}

.service-detail-page .why-us-lead {
  box-shadow: 0 22px 58px rgba(13, 23, 34, 0.18);
}

.service-detail-page .proof-ledger article {
  border-color: rgba(11, 116, 107, 0.2);
  background:
    linear-gradient(180deg, rgba(11, 116, 107, 0.05), rgba(255, 255, 255, 0) 56%),
    var(--white);
  box-shadow: 0 14px 34px rgba(13, 23, 34, 0.08);
}

.service-detail-page .process-list li {
  background:
    linear-gradient(180deg, #ffffff, #f8faf9);
}

.service-detail-page .process-list .step-number {
  border-color: rgba(216, 179, 106, 0.38);
  background: #fbf7ed;
  color: var(--teal-dark);
}

.service-detail-page .case-study-feature {
  box-shadow: 0 24px 64px rgba(13, 23, 34, 0.16);
}

.service-detail-page .case-study-results article {
  background: rgba(255, 255, 255, 0.1);
}

.service-detail-page .faq-list summary::after {
  color: var(--teal-dark);
}

.served-state-seo-page :where(.stack-grid article, .growth-card, .why-us-card, .article-card, .proof-ledger article, .process-list li, .faq-list details) {
  border-color: rgba(11, 116, 107, 0.18);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
  box-shadow: 0 12px 28px rgba(13, 23, 34, 0.07);
}

.served-state-seo-page :where(.stack-grid article, .growth-card, .why-us-card, .article-card, .proof-ledger article, .process-list li)::before {
  height: 3px;
  background: linear-gradient(90deg, rgba(123, 90, 29, 0.82), rgba(11, 116, 107, 0.9));
}

.served-state-seo-page :where(.stack-grid article, .growth-card, .article-card) {
  min-height: 0;
  padding: 24px;
}

.served-state-seo-page .local-priority-grid .growth-card {
  min-height: 238px;
}

.served-state-seo-page .local-priority-grid .priority-primary {
  min-height: 258px;
  background:
    linear-gradient(180deg, rgba(11, 116, 107, 0.06), rgba(255, 255, 255, 0)),
    #ffffff;
}

.served-state-seo-page :where(.growth-card span, .stack-grid span, .article-card span, .proof-ledger span, .review-slide span) {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.served-state-seo-page :where(.stack-grid h3, .growth-card h3, .article-card h3, .why-us-card h3, .process-list h3) {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.served-state-seo-page :where(.stack-grid p, .growth-card p, .article-card p, .why-us-card p, .proof-ledger p, .process-list p) {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.52;
}

.served-state-seo-page .why-us-lead {
  background:
    linear-gradient(135deg, rgba(11, 116, 107, 0.28), rgba(49, 86, 107, 0.18)),
    #0d1722;
  box-shadow: 0 20px 50px rgba(13, 23, 34, 0.16);
}

.served-state-seo-page .why-us-lead h3 {
  font-size: 2.05rem;
  line-height: 1.08;
}

.served-state-seo-page .why-us-proof div {
  min-height: 104px;
  background: rgba(255, 255, 255, 0.09);
}

.served-state-seo-page .why-us-proof strong {
  font-size: 2.35rem;
}

.served-state-seo-page .proof-ledger {
  gap: 14px;
}

.served-state-seo-page .proof-ledger article {
  display: flex;
  min-height: 0;
  padding: 24px;
  flex-direction: column;
}

.served-state-seo-page .proof-ledger h3 {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.served-state-seo-page .review-slide {
  min-height: 280px;
}

.served-state-seo-page .process-list .step-number {
  margin-bottom: 24px;
}

.served-state-seo-page .faq-list summary {
  color: var(--ink);
  line-height: 1.22;
}

@media (max-width: 720px) {
  .served-state-seo-page :where(.stack-grid article, .growth-card, .article-card, .why-us-card, .proof-ledger article, .process-list li) {
    padding: 20px;
  }

  .served-state-seo-page :where(.stack-grid h3, .growth-card h3, .article-card h3, .why-us-card h3, .process-list h3) {
    font-size: 1.1rem;
  }

  .served-state-seo-page .why-us-lead h3 {
    font-size: 1.72rem;
  }

  .served-state-seo-page .proof-ledger h3 {
    font-size: 2.45rem;
  }

  .served-state-seo-page .local-priority-grid .growth-card,
  .served-state-seo-page .local-priority-grid .priority-primary,
  .served-state-seo-page .review-slide {
    min-height: auto;
  }
}

.service-review-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  max-width: none;
  padding-inline: max(clamp(18px, 4vw, 52px), calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(135deg, rgba(11, 116, 107, 0.08), rgba(23, 56, 79, 0.06)),
    var(--white);
  border-top: 1px solid var(--line);
}

.service-review-copy {
  max-width: 760px;
}

.service-review-copy > p {
  color: var(--muted);
}

.service-review-copy .free-review-note {
  max-width: 720px;
}

.service-review-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-review-checklist li {
  padding: 12px 14px;
  border: 1px solid rgba(11, 116, 107, 0.18);
  border-radius: 6px;
  background: #f8faf9;
  color: var(--ink-2);
  font-weight: 850;
}

.service-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.service-detail-page .service-intro-grid .stack-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-detail-page .service-intro-grid .stack-grid article {
  min-height: 230px;
}

.service-detail-page .why-us-layout {
  align-items: start;
}

.service-detail-page .why-us-grid {
  align-items: start;
  align-content: start;
}

.service-detail-page .why-us-card {
  min-height: 0;
}

:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .service-hero-grid {
  grid-template-areas: "copy form";
  align-items: start;
}

:is(.ppc-page, .local-seo-page, .website-development-page) .service-hero-grid {
  grid-template-areas:
    "copy form"
    "support form";
}

:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) :where(.stack-grid article, .growth-card, .why-us-card, .proof-ledger article, .article-card) {
  border: 1px solid rgba(11, 116, 107, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
  box-shadow: 0 14px 34px rgba(13, 23, 34, 0.08);
}

:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) :where(.stack-grid article, .growth-card, .why-us-card, .proof-ledger article, .article-card)::before {
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}

:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) :where(.stack-grid article, .growth-card, .why-us-card, .proof-ledger article, .article-card) h3 {
  color: var(--ink);
}

:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) :where(.stack-grid article, .growth-card, .why-us-card, .proof-ledger article, .article-card) p {
  color: var(--muted);
}

:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .stack-grid article,
:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .growth-card,
:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .article-card {
  min-height: 220px;
  padding: clamp(20px, 2vw, 26px);
}

:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .why-us-card {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  justify-content: flex-start;
}

:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .proof-ledger article {
  display: flex;
  min-height: 210px;
  padding: clamp(22px, 2.4vw, 28px);
  flex-direction: column;
}

:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .proof-ledger span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .proof-ledger h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: 0;
}

:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .proof-ledger p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
}

.benchmark-source-note {
  max-width: 920px;
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(11, 116, 107, 0.18);
  border-radius: 6px;
  background: #eef6f4;
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 700;
}

.benchmark-source-note a {
  color: var(--teal-dark);
  font-weight: 900;
}

:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .why-us-layout {
  grid-template-columns: 1fr;
}

:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .why-us-lead {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 16px clamp(24px, 4vw, 42px);
  min-height: 0;
}

:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .why-us-lead > span,
:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .why-us-lead > h3,
:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .why-us-lead > p,
:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .why-us-lead > .text-link {
  grid-column: 1;
}

:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .why-us-lead .why-us-proof {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: start;
}

:is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .why-us-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.local-priority-grid,
.website-priority-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.website-development-page .proof-ledger .metric-value {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(2.55rem, 4.2vw, 4rem);
  font-weight: 900;
  line-height: 0.94;
}

.website-development-page .proof-ledger h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.service-form-focus {
  margin-top: 2px;
}

.service-form-focus .form-expander-body {
  padding: 14px;
}

.service-review-details {
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid rgba(11, 116, 107, 0.24);
  border-radius: 6px;
  background: #f8faf9;
}

.service-review-details > summary {
  position: relative;
  display: flex;
  min-height: 66px;
  align-items: center;
  padding: 14px 48px 14px 16px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.service-review-details > summary::-webkit-details-marker {
  display: none;
}

.service-review-details > summary::after {
  position: absolute;
  right: 16px;
  top: 50%;
  color: var(--teal-dark);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  content: "+";
}

.service-review-details[open] > summary {
  border-bottom: 1px solid rgba(11, 116, 107, 0.18);
  background: #eef6f4;
}

.service-review-details[open] > summary::after {
  content: "-";
}

.service-review-details > summary span,
.service-review-details > summary small {
  display: block;
}

.service-review-details > summary span {
  color: var(--teal-dark);
  font-weight: 900;
}

.service-review-details > summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.service-review-details > summary:focus-visible {
  outline: 3px solid rgba(11, 116, 107, 0.36);
  outline-offset: -3px;
}

.service-review-details > .hero-review-form {
  padding: 16px;
}

.local-priority-grid .growth-card,
.website-priority-grid .growth-card {
  grid-column: span 1;
  min-height: 246px;
}

.local-priority-grid .priority-primary,
.website-priority-grid .priority-primary {
  grid-column: span 2;
  min-height: 270px;
  background:
    linear-gradient(135deg, rgba(11, 116, 107, 0.1), rgba(216, 179, 106, 0.1)),
    var(--white);
}

.demand-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.demand-map-grid .card {
  min-height: 208px;
}

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

.service-card {
  min-height: 360px;
}

.service-kicker,
.article-card span,
.post-meta {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card ul {
  padding-left: 18px;
  color: var(--ink-2);
}

.stacked-list {
  display: grid;
  gap: 14px;
}

.stacked-list div {
  padding: 22px;
  border-left: 4px solid var(--teal);
  background: rgba(255, 255, 255, 0.72);
}

.table-section {
  padding-bottom: 32px;
}

.responsive-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: #eef4f1;
  font-size: 0.86rem;
  text-transform: uppercase;
}

td {
  color: var(--ink-2);
}

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

.article-card {
  min-height: 300px;
}

.article-card h2 {
  font-size: 1.35rem;
}

.article-card h2 a,
.article-card h3 a {
  color: inherit;
  text-decoration: none;
}

.article-card h2 a:hover,
.article-card h3 a:hover {
  color: var(--teal-dark);
}

.post {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 94px) clamp(18px, 4vw, 28px);
}

.post h1 {
  margin-top: 18px;
}

.post h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.lead {
  color: var(--ink-2);
  font-size: 1.18rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: auto;
    padding: 28px 18px 44px;
  }

  .hero-panel::after {
    background: rgba(17, 24, 39, 0.52);
  }

  .three-column,
  .service-grid,
  .article-grid,
  .process-list,
  .four-column,
  .growth-service-grid,
  .practice-grid,
  .seo-practice-grid,
  .proof-ledger,
  .case-study-grid,
  .case-study-feature,
  .outcome-strip,
  .free-review-band,
  .stack-grid,
  .why-us-layout,
  .service-hero-grid,
  .service-hero-proof-row,
  .service-intro-grid,
  .service-review-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-us-layout,
  .about-page .about-hero,
  .service-hero-grid,
  .service-intro-grid,
  .service-review-section {
    grid-template-columns: 1fr;
  }

  .about-hero-panel {
    max-width: 620px;
    justify-self: start;
  }

  .contact-hero-grid {
    grid-template-columns: 1fr;
  }

  .privacy-hero-grid,
  .privacy-shell {
    grid-template-columns: 1fr;
  }

  .privacy-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .privacy-toc {
    position: static;
  }

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

  .contact-hero-form-card {
    width: 100%;
    max-width: 680px;
  }

  .contact-card-grid,
  .contact-page .proof-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-page .proof-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-page .service-hero-grid {
    grid-template-areas:
      "copy"
      "form"
      "support";
    grid-template-columns: 1fr;
  }

  .service-detail-page .service-hero-form-card,
  .service-review-section .service-review-card {
    width: 100%;
    max-width: 620px;
    margin-inline: 0;
  }

  .service-detail-page .proof-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .local-priority-grid .growth-card,
  .local-priority-grid .priority-primary,
  .website-priority-grid .growth-card,
  .website-priority-grid .priority-primary {
    grid-column: auto;
    min-height: 220px;
  }

  :is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .why-us-lead {
    grid-template-columns: 1fr;
  }

  :is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .why-us-lead .why-us-proof {
    grid-column: 1;
    grid-row: auto;
  }

  :is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .why-us-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .outcome-strip article:nth-child(2) {
    border-right: 0;
  }

  .home-page .outcome-strip article:nth-child(2) {
    border-right: 1px solid rgba(11, 116, 107, 0.2);
  }
}

@media (max-width: 640px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    flex-wrap: wrap;
    gap: 10px 12px;
    justify-content: flex-start;
    align-items: center;
    padding: 14px 16px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    flex: 0 1 auto;
    min-width: 0;
  }

  .brand-mark,
  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .nav-cta {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
    order: 2;
    flex: 0 0 auto;
    margin-left: 0;
    min-height: 44px;
    max-width: none;
    padding-inline: 10px;
    font-size: 0.88rem;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    order: 3;
    width: 100%;
    gap: 0 8px;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 4px;
    font-size: 0.88rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a,
  .main-nav summary {
    flex: 0 0 auto;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
  }

  .main-nav .nav-dropdown {
    position: static;
  }

  .nav-dropdown[open] {
    width: auto;
  }

  .nav-dropdown[open] > summary {
    width: auto;
  }

  .nav-dropdown[open] > .dropdown-panel {
    position: fixed;
    top: 118px;
    left: 16px;
    right: 16px;
    width: auto;
    max-height: calc(100vh - 138px);
    margin-top: 0;
    overflow-y: auto;
    box-shadow: 0 22px 58px rgba(13, 23, 34, 0.22);
  }

  .footer-dropdown .dropdown-panel {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }

  .service-menu {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-menu-group {
    grid-row: auto;
    padding: 10px;
  }

  .service-menu-card {
    min-height: auto !important;
  }

  .main-nav .service-menu a {
    min-height: 44px;
  }

  .footer-dropdown {
    width: 100%;
  }

  .footer-dropdown > summary {
    width: 100%;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.05rem, 11vw, 2.75rem);
  }

  .hero-lede,
  .page-hero p {
    font-size: 1rem;
  }

  .hero-copy {
    padding: 44px 18px;
  }

  .section {
    padding: 48px 18px;
  }

  .band,
  .accent,
  .free-review-band,
  .service-review-section {
    padding-inline: 18px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .hero-metrics,
  .three-column,
  .service-grid,
  .service-grid.compact,
  .article-grid,
  .process-list,
  .trust-grid,
  .four-column,
  .growth-service-grid,
  .practice-grid,
  .seo-practice-grid,
  .form-grid,
  .checkbox-grid,
  .proof-ledger,
  .case-study-grid,
  .case-study-feature,
  .case-study-results,
  .outcome-strip,
  .free-review-band,
  .stack-grid,
  .why-us-layout,
  .why-us-grid,
  .service-hero-grid,
  .service-hero-proof-row,
  .service-intro-grid,
  .demand-map-grid,
  .service-review-section,
  .service-review-checklist {
    grid-template-columns: 1fr;
  }

  .outcome-strip article {
    min-height: auto;
    padding: 24px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-page .outcome-strip {
    padding: 48px 18px;
  }

  .home-page .outcome-strip article,
  .home-page .stack-grid article,
  .home-page .trust-item,
  .home-page .why-us-card,
  .home-page .practice-grid article,
  .home-page .proof-ledger article,
  .home-page .deep-band .growth-card,
  .home-page .case-study-card,
  .home-page .process-list li {
    min-height: auto;
    padding: 20px;
  }

  .home-page .review-slide {
    min-height: auto;
  }

  .service-detail-page .review-slide {
    min-height: auto;
  }

  .hero-form-card {
    padding: 18px;
  }

  .service-detail-page .service-hero {
    padding: 42px 18px;
    overflow-x: clip;
  }

  .contact-hero {
    padding: 42px 18px;
    overflow-x: clip;
  }

  .privacy-hero {
    padding: 42px 18px;
    overflow-x: clip;
  }

  .privacy-hero-grid,
  .privacy-hero-grid > *,
  .privacy-shell,
  .privacy-policy-content,
  .privacy-policy-content section,
  .privacy-toc {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .privacy-hero h1 {
    max-width: 100%;
    font-size: clamp(1.88rem, 8.4vw, 2.3rem);
    line-height: 1.06;
    overflow-wrap: break-word;
  }

  .privacy-hero p:not(.eyebrow) {
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .privacy-summary-grid {
    grid-template-columns: 1fr;
  }

  .privacy-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .privacy-shell {
    padding: 42px 18px;
  }

  .privacy-summary-card,
  .privacy-policy-content section,
  .privacy-toc {
    min-height: auto;
    padding: 20px;
  }

  .privacy-policy-content h2 {
    font-size: 1.34rem;
    overflow-wrap: break-word;
  }

  .privacy-toc a {
    min-height: 42px;
    padding: 7px 8px;
    font-size: 0.82rem;
    overflow-wrap: anywhere;
  }

  .privacy-policy-content ul {
    padding-left: 18px;
  }

  .contact-hero-grid,
  .contact-hero-copy,
  .contact-hero-form-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .contact-hero h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8.4vw, 2.28rem);
    line-height: 1.06;
    overflow-wrap: break-word;
  }

  .contact-hero-copy > p:not(.eyebrow) {
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .contact-card-grid,
  .contact-page .proof-ledger,
  .contact-step-list,
  .contact-page .hero-review-form .form-grid,
  .contact-page .hero-review-form .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
  }

  .contact-hero-proof div,
  .contact-info-card,
  .contact-step-list li,
  .contact-page .proof-ledger article {
    min-height: auto;
  }

  .contact-hero-proof div {
    padding: 10px;
  }

  .contact-hero-proof strong {
    margin-bottom: 5px;
    font-size: 1.52rem;
    line-height: 0.98;
  }

  .contact-hero-proof span {
    font-size: 0.75rem;
    line-height: 1.2;
    overflow-wrap: normal;
  }

  .contact-hero-form-card {
    padding: 18px;
  }

  .contact-hero-form-card h2 {
    font-size: 1.36rem;
    line-height: 1.12;
  }

  .contact-page .contact-review-form input:not([type="checkbox"]) {
    min-height: 44px;
  }

  .contact-page .contact-review-form input:not([type="checkbox"]),
  .contact-page .contact-review-form textarea {
    font-size: 1rem;
  }

  .service-detail-page .service-hero-grid {
    grid-template-areas:
      "copy"
      "form"
      "support";
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0;
  }

  .service-detail-page .service-hero-copy,
  .service-detail-page .service-hero-support,
  .service-detail-page .service-hero-form-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .service-detail-page .service-hero h1 {
    max-width: 100%;
    font-size: clamp(1.82rem, 8vw, 2.08rem);
    overflow-wrap: break-word;
  }

  .service-detail-page .service-hero-copy p,
  .service-detail-page .service-hero-points li {
    overflow-wrap: break-word;
  }

  .service-detail-page .section,
  .service-detail-page .service-hero-proof-row,
  .service-detail-page .service-intro-grid,
  .service-detail-page .section-heading {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .service-detail-page .section > *,
  .service-detail-page .service-intro-grid > *,
  .service-detail-page .service-hero-proof-row > *,
  .service-detail-page :where(h2, h3, p, li, span, strong, summary, label) {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .service-detail-page .section h2 {
    font-size: clamp(1.78rem, 7.2vw, 2.05rem);
    line-height: 1.08;
  }

  .service-hero-points {
    margin-top: 20px;
  }

  .service-hero-assurance {
    display: none;
  }

  .service-hero-proof-row {
    gap: 10px;
    margin-top: 22px;
  }

  .service-hero-proof-row div {
    min-height: auto;
    padding: 16px;
  }

  .hero-form-card h2 {
    margin-bottom: 10px;
    font-size: 1.36rem;
    line-height: 1.12;
  }

  .hero-form-card .free-review-note {
    margin-bottom: 12px;
    padding: 10px 11px;
    font-size: 0.84rem;
  }

  .hero-review-form {
    gap: 10px;
  }

  .hero-review-form .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-review-form label {
    gap: 5px;
    font-size: 0.84rem;
  }

  .hero-review-form input,
  .hero-review-form textarea {
    padding: 10px 11px;
  }

  .hero-review-form .form-service-options {
    gap: 8px;
    padding: 10px;
  }

  .hero-review-form .checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .hero-review-form .checkbox-grid label {
    padding: 8px;
    font-size: 0.78rem;
  }

  .hero-review-form .button {
    min-height: 44px;
  }

  .hero-review-form .form-note {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .service-detail-page .service-intro-grid .stack-grid,
  .about-page .proof-ledger,
  .service-detail-page .proof-ledger {
    grid-template-columns: 1fr;
  }

  .local-priority-grid,
  .website-priority-grid {
    grid-template-columns: 1fr;
  }

  .local-priority-grid .growth-card,
  .local-priority-grid .priority-primary,
  .website-priority-grid .growth-card,
  .website-priority-grid .priority-primary {
    min-height: auto;
  }

  :is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .why-us-grid {
    grid-template-columns: 1fr;
  }

  .service-hero-proof-row div,
  .service-hero-proof-row span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  :is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .stack-grid article,
  :is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .growth-card,
  :is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .article-card,
  :is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .why-us-card,
  :is(.criminal-defense-page, .family-law-page, .estate-planning-page, .ppc-page, .local-seo-page, .website-development-page) .proof-ledger article {
    min-height: auto;
  }

  .stack-grid article,
  .about-page .proof-ledger article,
  .about-page .growth-card,
  .about-page .why-us-card,
  .growth-service-grid .growth-card,
  .practice-grid article,
  .seo-practice-grid article,
  .proof-ledger article,
  .case-study-results article,
  .case-study-card,
  .benchmark-card,
  .why-us-card,
  .why-us-proof div,
  .service-proof-grid div,
  .demand-map-grid .card,
  .service-card,
  .article-card,
  .process-list li {
    min-height: auto;
  }

  .stack-grid article,
  .card,
  .article-card,
  .trust-item,
  .growth-card,
  .proof-ledger article,
  .case-study-card,
  .why-us-card,
  .demand-map-grid .card,
  .practice-grid article,
  .seo-practice-grid article {
    padding: 20px;
  }

  .about-page .about-hero {
    padding: 52px 18px;
    overflow-x: clip;
  }

  .about-page .about-hero h1,
  .about-page .about-hero p,
  .about-page .about-hero-card,
  .about-page .section h2,
  .about-page :where(h3, p, li, span, strong) {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .about-page .about-hero-card {
    min-height: auto;
  }

  .case-study-feature {
    padding: 24px 20px;
  }

  .case-study-results article {
    padding: 18px;
  }

  .review-slide {
    min-height: auto;
    padding: 22px 20px;
  }

  .review-slide p {
    font-size: 1.08rem;
    line-height: 1.32;
  }

  .carousel-controls {
    gap: 10px;
  }

  .process-list .step-number {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .hero-review-form .form-grid,
  .hero-review-form .checkbox-grid,
  .why-us-proof,
  .service-proof-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage staging visual refresh */
.home-page .site-header {
  box-shadow: 0 10px 30px rgba(13, 23, 34, 0.06);
}

.home-page .nav-cta {
  border-color: rgba(11, 116, 107, 0.28);
  background: linear-gradient(135deg, var(--teal), #0a5f58);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(11, 116, 107, 0.18);
}

.home-page .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.98fr) minmax(440px, 560px);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  min-height: clamp(720px, calc(100svh - 108px), 860px);
  padding-inline: max(18px, calc((100vw - 1280px) / 2));
  background: #08131d;
}

.home-page .hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 19, 29, 0.97) 0%, rgba(8, 19, 29, 0.88) 40%, rgba(8, 19, 29, 0.48) 67%, rgba(8, 19, 29, 0.68) 100%),
    linear-gradient(180deg, rgba(8, 19, 29, 0.2), rgba(8, 19, 29, 0.78));
  pointer-events: none;
}

.home-page .home-hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.08);
  transform: scale(1.01);
}

.home-page .hero > * {
  position: relative;
  z-index: 1;
}

.home-page .hero > .home-hero-backdrop {
  position: absolute;
  z-index: -1;
}

.home-page .hero-copy {
  max-width: 720px;
  padding: clamp(58px, 7vw, 92px) 0;
}

.home-page .hero .eyebrow {
  color: #f0d394;
}

.home-page .hero h1 {
  max-width: 800px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 0.98;
  text-wrap: balance;
}

.home-page .hero-lede {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
}

.home-page .hero-actions {
  margin-top: 28px;
}

.home-page .button.primary {
  background: linear-gradient(135deg, var(--teal), #0a5f58);
  box-shadow: 0 14px 30px rgba(11, 116, 107, 0.2);
}

.home-page .button.primary:hover {
  background: linear-gradient(135deg, #0a675f, #084f49);
}

.home-page .free-review-points span {
  border-color: rgba(255, 255, 255, 0.9);
  border-left-color: #d2a142;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(6, 38, 36, 0.16);
}

.home-page .free-review-band .button.primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: 0 14px 30px rgba(6, 38, 36, 0.22);
}

.home-page .free-review-band .button.primary:hover {
  border-color: #edf7f5;
  background: #edf7f5;
  color: #053f3b;
}

.home-page .button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-page .hero-points {
  max-width: 690px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 4px solid #d8b36a;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-page .hero-points li {
  color: rgba(255, 255, 255, 0.84);
}

.home-page .hero-points li::before {
  background: #d8b36a;
  box-shadow: 0 0 0 4px rgba(216, 179, 106, 0.14);
}

.home-page .hero-panel {
  min-height: auto;
  overflow: visible;
  padding: clamp(34px, 5vw, 64px) 0;
}

.home-page .hero-panel::after {
  display: none;
}

.home-page .hero-form-card,
.home-page .contact-form {
  border-color: rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 248, 0.98)),
    var(--white);
  box-shadow: 0 30px 80px rgba(3, 13, 20, 0.32);
}

.home-page .hero-form-card::before,
.home-page .contact-form::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  content: "";
}

.home-page .hero-form-card,
.home-page .contact-form {
  overflow: hidden;
}

.home-page .hero-form-card {
  padding: 24px;
}

.home-page .contact-form {
  position: relative;
}

.home-page .form-card-heading {
  display: grid;
  gap: 5px;
}

.home-page .form-card-heading h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.08;
}

.home-page .form-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.home-page .form-card-meta span {
  position: relative;
}

.home-page .form-card-meta span + span {
  padding-left: 14px;
}

.home-page .form-card-meta span + span::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.home-page .form-path {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 4px 0;
  list-style: none;
  counter-reset: form-stage;
}

.home-page .form-path li {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 6px;
  min-height: 36px;
  padding: 0 8px 0 0;
  color: var(--muted);
  counter-increment: form-stage;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.home-page .form-path li::before {
  position: relative;
  z-index: 1;
  display: grid;
  grid-row: 1 / span 2;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #b9c9c5;
  border-radius: 50%;
  background: var(--white);
  color: var(--muted);
  content: counter(form-stage);
  font-size: 0.7rem;
}

.home-page .form-path li::after {
  position: absolute;
  top: 17px;
  left: 26px;
  width: calc(100% - 30px);
  height: 2px;
  background: #d8e2df;
  content: "";
}

.home-page .form-path li:last-child::after {
  display: none;
}

.home-page .form-path .is-active {
  color: var(--teal-dark);
}

.home-page .form-path .is-active::before {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(11, 116, 107, 0.1);
}

.home-page .form-path small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.home-page .form-section {
  display: grid;
  min-width: 0;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.home-page .form-section legend {
  margin-bottom: 6px;
  padding: 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.home-page .form-section legend small {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.home-page .hero-review-form label,
.home-page .contact-form label {
  color: var(--ink-2);
  font-size: 0.82rem;
  transition: color 160ms ease;
}

.home-page .hero-review-form label:focus-within,
.home-page .contact-form label:focus-within {
  color: var(--teal-dark);
}

.home-page .hero-review-form .button,
.home-page .contact-form .button {
  width: 100%;
  min-height: 50px;
  margin-top: 2px;
  box-shadow: 0 14px 30px rgba(11, 116, 107, 0.2);
}

.home-page input,
.home-page textarea {
  min-height: 46px;
  border-color: #bfcfcb;
  background: #ffffff;
  box-shadow: inset 0 1px 2px rgba(13, 23, 34, 0.045);
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.home-page input:hover,
.home-page textarea:hover {
  border-color: rgba(11, 116, 107, 0.36);
}

.home-page input:focus,
.home-page textarea:focus {
  border-color: var(--teal);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(11, 116, 107, 0.1);
}

.home-page input:user-invalid,
.home-page textarea:user-invalid {
  border-color: #a33f3f;
  box-shadow: 0 0 0 3px rgba(163, 63, 63, 0.1);
}

.home-page .form-expander {
  border-color: #c8d6d2;
  background: rgba(255, 255, 255, 0.72);
}

.home-page .form-expander > summary {
  min-height: 54px;
  padding: 10px 14px;
}

.home-page .form-expander > summary::after {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-color: rgba(11, 116, 107, 0.3);
  background: #eef6f4;
}

.home-page .form-expander[open] > summary {
  background: #edf6f3;
}

.home-page .checkbox-grid label {
  border-color: rgba(11, 116, 107, 0.18);
  background: #ffffff;
  min-height: 48px;
  align-items: center;
  cursor: pointer;
}

.home-page .checkbox-grid input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
}

.home-page .button-arrow {
  display: inline-grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.home-page .form-note {
  margin: -2px 0 0;
  padding-left: 11px;
  border-left: 2px solid #d2a142;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.home-page .form-card-heading .free-review-note {
  margin: 2px 0 0;
  padding: 8px 0 8px 10px;
  border: 0;
  border-left: 3px solid #c69235;
  border-radius: 0;
  background: transparent;
  font-size: 0.8rem;
  line-height: 1.35;
}

.home-page .hero-review-form,
.home-page .contact-form {
  gap: 10px;
}

.home-page .outcome-strip {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding-top: 0;
}

.home-page .outcome-strip article {
  background:
    linear-gradient(180deg, rgba(11, 116, 107, 0.07), transparent 58%),
    linear-gradient(135deg, rgba(216, 179, 106, 0.06), transparent 42%),
    var(--white);
  box-shadow: 0 18px 44px rgba(13, 23, 34, 0.11);
}

.home-page .visibility-stack {
  max-width: none;
  border-block: 1px solid rgba(11, 116, 107, 0.12);
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f8f6 100%);
  padding-inline: max(clamp(18px, 4vw, 52px), calc((100vw - var(--max)) / 2));
}

.home-page .visibility-stack > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.home-page :where(.section-heading h2, .case-study-feature h2) {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  text-wrap: balance;
}

.home-page .section-heading {
  padding-left: clamp(16px, 2vw, 24px);
  border-left: 3px solid #c69235;
}

.home-page :where(.free-review-band h2, .outcome-strip h2, #strategy-call h2) {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.home-page :where(.stack-grid article, .trust-item, .why-us-card, .practice-grid article, .proof-ledger article, .review-slide, .case-study-card, .process-list li, .faq-list details) {
  border-color: rgba(11, 116, 107, 0.18);
  box-shadow: 0 16px 40px rgba(13, 23, 34, 0.08);
}

.home-page :where(.stack-grid article, .trust-item, .why-us-card, .practice-grid article, .proof-ledger article, .case-study-card, .process-list li) {
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

@media (hover: hover) {
  .home-page :where(.stack-grid article, .trust-item, .why-us-card, .practice-grid article, .proof-ledger article, .case-study-card, .process-list li):hover {
    border-color: rgba(11, 116, 107, 0.38);
    box-shadow: 0 22px 50px rgba(13, 23, 34, 0.12);
    transform: translateY(-2px);
  }
}

.home-page .stack-grid article {
  display: flex;
  flex-direction: column;
  min-height: 318px;
}

.home-page .four-pillar-grid {
  counter-reset: visibility-pillar;
}

.home-page .four-pillar-grid article {
  counter-increment: visibility-pillar;
}

.home-page .four-pillar-grid article::before {
  position: static;
  inset: auto;
  display: inline-grid;
  flex: 0 0 34px;
  align-self: flex-start;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(11, 116, 107, 0.22);
  border-radius: 50%;
  background: #edf6f3;
  color: var(--teal-dark);
  content: "0" counter(visibility-pillar);
  font-size: 0.7rem;
  font-weight: 900;
}

.home-page .stack-grid span,
.home-page .growth-card span,
.home-page .case-study-card span,
.home-page .metric-label {
  color: var(--gold);
}

.home-page .stack-grid h3,
.home-page .trust-item h3,
.home-page .why-us-card h3,
.home-page .practice-grid h3,
.home-page .growth-card h3,
.home-page .proof-ledger h3,
.home-page .process-list h3,
.home-page .case-study-card h3 {
  color: var(--ink);
  font-size: clamp(1.1rem, 1.5vw, 1.34rem);
  line-height: 1.18;
}

.home-page .deep-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(12, 22, 32, 0.98), rgba(16, 38, 56, 0.96) 58%, rgba(7, 79, 74, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 128px),
    #0c1620;
}

.home-page .deep-band .section-heading {
  position: relative;
  z-index: 1;
}

.home-page .deep-band .eyebrow {
  color: #f0d394;
}

.home-page .deep-band .growth-card {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.065)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}

.home-page .deep-band .growth-card h3 {
  color: var(--white);
}

.home-page .why-us-lead {
  background:
    linear-gradient(135deg, rgba(12, 22, 32, 0.98), rgba(23, 56, 79, 0.94) 56%, rgba(7, 79, 74, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 96px);
  box-shadow: 0 22px 52px rgba(13, 23, 34, 0.16);
}

.home-page .why-us-proof div {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
}

.home-page .why-us-proof strong {
  color: #ffffff;
}

.home-page .why-us-proof span {
  color: rgba(255, 255, 255, 0.76);
}

.home-page .proof-ledger-section {
  max-width: none;
  background:
    linear-gradient(180deg, #f7faf9 0%, #eef5f3 100%);
  padding-inline: max(clamp(18px, 4vw, 52px), calc((100vw - var(--max)) / 2));
}

.home-page .proof-ledger-section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.home-page .proof-metric-card {
  background:
    linear-gradient(180deg, rgba(23, 56, 79, 0.06), transparent 58%),
    var(--white);
}

.home-page .review-carousel-section {
  max-width: none;
  background: #ffffff;
  padding-inline: max(clamp(18px, 4vw, 52px), calc((100vw - var(--max)) / 2));
}

.home-page .review-carousel-section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.home-page .review-slide {
  position: relative;
  padding-left: clamp(34px, 6vw, 76px);
  background:
    linear-gradient(135deg, rgba(11, 116, 107, 0.1), rgba(23, 56, 79, 0.08)),
    var(--white);
}

.home-page .review-slide::before {
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  left: clamp(18px, 3vw, 34px);
  color: rgba(11, 116, 107, 0.26);
  content: "\"";
  font-size: clamp(3.5rem, 7vw, 6.4rem);
  font-weight: 900;
  line-height: 0.8;
}

.home-page .carousel-controls button {
  border-color: rgba(11, 116, 107, 0.18);
  box-shadow: 0 10px 22px rgba(13, 23, 34, 0.06);
}

.home-page .case-study-feature {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(12, 22, 32, 0.98), rgba(16, 38, 56, 0.96) 58%, rgba(7, 79, 74, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 120px),
    #0c1620;
  box-shadow: 0 24px 60px rgba(13, 23, 34, 0.16);
}

.home-page .case-study-results article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07)),
    #142c3c;
}

.home-page .case-study-results .metric-label {
  color: #ffe8ae;
}

.home-page .case-study-results p {
  color: rgba(255, 255, 255, 0.9);
}

.home-page .deep-band .eyebrow,
.home-page .case-study-feature .eyebrow,
.home-page .deep-band .growth-card span {
  color: #ffe8ae;
}

.home-page .deep-band p,
.home-page .why-us-lead p,
.home-page .why-us-proof span,
.home-page .case-study-feature > div:first-child > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.9);
}

.home-page .free-review-band .eyebrow {
  color: var(--white);
}

.home-page .free-review-note.inverse {
  color: rgba(255, 255, 255, 0.94);
}

.home-page .served-locations-section {
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff 0%, #f6faf8 100%);
  padding-inline: max(clamp(18px, 4vw, 52px), calc((100vw - var(--max)) / 2));
}

.home-page .served-locations-section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.served-locations-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.3fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: end;
  margin-bottom: 30px;
}

.served-locations-intro .section-heading {
  max-width: 820px;
  margin-bottom: 0;
}

.served-locations-stat {
  padding: 22px;
  border: 1px solid rgba(11, 116, 107, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(11, 116, 107, 0.08), rgba(255, 255, 255, 0)),
    var(--white);
  box-shadow: 0 14px 34px rgba(13, 23, 34, 0.08);
}

.served-locations-stat strong {
  display: block;
  color: var(--teal-dark);
  font-size: 4.4rem;
  font-weight: 900;
  line-height: 0.92;
}

.served-locations-stat span {
  display: block;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.25;
}

.served-location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.served-location-card {
  position: relative;
  display: flex;
  min-height: 265px;
  overflow: hidden;
  flex-direction: column;
  padding: clamp(21px, 2.2vw, 28px);
  border: 1px solid rgba(11, 116, 107, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
  box-shadow: 0 14px 34px rgba(13, 23, 34, 0.08);
}

.served-location-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  content: "";
}

.served-location-card-feature {
  grid-column: 1 / -1;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(11, 116, 107, 0.1), rgba(216, 179, 106, 0.1)),
    var(--white);
}

.served-location-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.served-location-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.26rem;
  line-height: 1.14;
  letter-spacing: 0;
}

.served-location-card-feature h3 {
  max-width: 620px;
  font-size: 1.68rem;
}

.served-location-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.52;
}

.served-location-card .text-link {
  margin-top: auto;
  padding-top: 20px;
}

.served-location-card h3 a {
  text-decoration: none;
}

.served-location-card h3 a:hover {
  color: var(--teal-dark);
}

@media (max-width: 900px) {
  .served-locations-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .served-locations-stat {
    max-width: 280px;
  }

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

  .served-location-card,
  .served-location-card-feature {
    min-height: 0;
  }

  .served-location-card-feature {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .served-locations-stat {
    max-width: none;
    padding: 20px;
  }

  .served-locations-stat strong {
    font-size: 3.4rem;
  }

  .served-location-grid {
    grid-template-columns: 1fr;
  }

  .served-location-card,
  .served-location-card-feature {
    grid-column: span 1;
    padding: 20px;
  }

  .served-location-card-feature h3 {
    font-size: 1.34rem;
  }
}

.home-page .process-section {
  max-width: none;
  background: #ffffff;
  padding-inline: max(clamp(18px, 4vw, 52px), calc((100vw - var(--max)) / 2));
}

.home-page .process-section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.home-page .process-list li {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
}

.home-page .process-list .step-number {
  border-color: rgba(11, 116, 107, 0.28);
  color: var(--teal-dark);
  box-shadow: 0 10px 22px rgba(11, 116, 107, 0.08);
}

.home-page .faq-section {
  max-width: none;
  background:
    linear-gradient(180deg, #f7faf9 0%, #edf4f2 100%);
  padding-inline: max(clamp(18px, 4vw, 52px), calc((100vw - var(--max)) / 2));
}

.home-page .faq-section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.home-page .faq-list {
  gap: 18px;
}

.home-page .faq-group {
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid rgba(11, 116, 107, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 38px rgba(13, 23, 34, 0.07);
}

.home-page .faq-group h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1rem;
  text-transform: uppercase;
}

.home-page .faq-group details + details {
  margin-top: 10px;
}

.home-page #strategy-call {
  background:
    linear-gradient(135deg, #e7efed 0%, #f7faf9 54%, #ffffff 100%);
}

@media (max-width: 980px) {
  .home-page .hero {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }

  .home-page .hero-panel {
    min-height: auto;
    justify-content: center;
  }

  .home-page .outcome-strip {
    margin-top: 0;
    padding-top: 48px;
  }

  .home-page .free-review-band {
    grid-template-columns: 1fr;
  }

  .home-page .stack-grid article {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .home-page .site-header {
    box-shadow: 0 8px 24px rgba(13, 23, 34, 0.08);
  }

  .home-page .nav-cta {
    width: 100%;
  }

  .home-page .hero {
    background:
      linear-gradient(135deg, rgba(12, 22, 32, 0.98), rgba(23, 56, 79, 0.94) 58%, rgba(7, 79, 74, 0.98)),
      #0c1620;
  }

  .home-page .hero::before {
    background:
      linear-gradient(180deg, rgba(8, 19, 29, 0.9) 0%, rgba(8, 19, 29, 0.76) 42%, rgba(8, 19, 29, 0.94) 100%);
  }

  .home-page .home-hero-backdrop {
    object-position: 66% center;
    opacity: 0.58;
  }

  .home-page .hero-copy {
    padding: 42px 0 24px;
  }

  .home-page .hero h1 {
    font-size: clamp(1.92rem, 9vw, 2.35rem);
    line-height: 1.04;
  }

  .home-page .hero-lede {
    margin: 16px 0 0;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .home-page .hero-actions {
    margin-top: 18px;
  }

  .home-page .hero-actions .button {
    width: 100%;
  }

  .home-page .hero-actions .button.secondary,
  .home-page .hero-points {
    display: none;
  }

  .home-page .hero-panel {
    padding: 0 0 34px;
  }

  .home-page .hero-form-card {
    width: 100%;
    margin: 0;
    padding: 18px;
  }

  .home-page .hero-form-card .form-kicker {
    display: block;
  }

  .home-page .hero-form-card h2 {
    margin-bottom: 8px;
    font-size: 1.18rem;
    line-height: 1.14;
  }

  .home-page .hero-form-card .free-review-note {
    margin-bottom: 10px;
    padding: 8px 9px;
    font-size: 0.78rem;
    line-height: 1.34;
  }

  .home-page .form-card-meta {
    display: grid;
    gap: 2px;
  }

  .home-page .form-card-meta span + span {
    padding-left: 0;
  }

  .home-page .form-card-meta span + span::before {
    display: none;
  }

  .home-page .form-path {
    margin-top: 0;
  }

  .home-page .form-section legend small {
    display: block;
    margin: 2px 0 0;
  }

  .home-page .hero-review-form {
    gap: 12px;
  }

  .home-page .hero-review-form .form-grid,
  .home-page .contact-form .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-page .hero-review-form > label,
  .home-page .contact-form > label {
    grid-column: 1 / -1;
  }

  .home-page .hero-review-form label,
  .home-page .contact-form label {
    gap: 7px;
    font-size: 0.86rem;
  }

  .home-page .hero-review-form input,
  .home-page .hero-review-form textarea,
  .home-page .contact-form input,
  .home-page .contact-form textarea {
    min-height: 48px;
    padding: 11px 12px;
  }

  .home-page .form-expander > summary {
    min-height: 56px;
    padding: 11px 12px;
  }

  .home-page .form-expander summary small {
    font-size: 0.74rem;
  }

  .home-page .form-expander-body {
    padding: 14px;
  }

  .home-page .outcome-strip {
    padding-top: 40px;
  }

  .home-page .outcome-strip article,
  .home-page .stack-grid article,
  .home-page .trust-item,
  .home-page .why-us-card,
  .home-page .practice-grid article,
  .home-page .proof-ledger article,
  .home-page .deep-band .growth-card,
  .home-page .case-study-card,
  .home-page .process-list li,
  .home-page .faq-group {
    box-shadow: 0 12px 28px rgba(13, 23, 34, 0.08);
  }

  .home-page .stack-grid article {
    min-height: auto;
  }

  .home-page .review-slide {
    padding: 58px 20px 24px;
  }

  .home-page .review-slide::before {
    top: 18px;
    left: 20px;
  }

  .home-page .faq-group {
    padding: 14px;
  }
}

@media (max-width: 360px) {
  .home-page .hero-review-form .form-grid,
  .home-page .contact-form .form-grid {
    grid-template-columns: 1fr;
  }
}
