@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-regular-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-italic-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/inter-latin.var.woff2") format("woff2");
}

:root {
  --bg: #0a0a0b;
  --bg-raised: #101012;
  --bg-soft: #151518;
  --paper: #f5f1e8;
  --paper-muted: rgba(245, 241, 232, 0.72);
  --paper-faint: rgba(245, 241, 232, 0.48);
  --ink: #1a1a18;
  --lila: #8b7df5;
  --lila-bright: #a89ff0;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --container: 1180px;
  --side: clamp(22px, 4vw, 46px);
  --section: clamp(88px, 9vw, 136px);
  --serif: "Instrument Serif", Georgia, serif;
  --body: "Inter", Arial, sans-serif;
  --radius: 10px;
  --pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 60;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.045;
  pointer-events: none;
}

::selection {
  background: var(--lila);
  color: var(--paper);
}

img,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

.wrap {
  width: min(100%, calc(var(--container) + (var(--side) * 2)));
  margin-inline: auto;
  padding-inline: var(--side);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s ease;
}

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

.site-nav {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 11, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.logo b {
  color: var(--lila-bright);
  font-weight: 500;
}

.nav-links {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(22px, 3vw, 38px);
  white-space: nowrap;
}

.nav-links > a:not(.nav-cta) {
  position: relative;
  color: var(--paper-muted);
  font-size: 14px;
  transition: color 0.25s ease;
}

.nav-links > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--lila-bright);
  content: "";
  transition: transform 0.3s var(--ease);
}

.nav-links > a:not(.nav-cta):hover,
.nav-links > a[aria-current="page"]:not(.nav-cta) {
  color: var(--paper);
}

.nav-links > a:not(.nav-cta):hover::after,
.nav-links > a[aria-current="page"]:not(.nav-cta)::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease),
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-cta:active,
.button:active {
  transform: translateY(-1px);
}

.nav-cta {
  min-height: 42px;
  padding: 10px 19px;
}

.nav-cta:hover {
  border-color: var(--lila);
  background: var(--lila);
}

.button-primary {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.button-primary:hover {
  border-color: var(--lila-bright);
  background: var(--lila-bright);
}

.button-secondary {
  color: var(--paper);
}

.button-secondary:hover {
  border-color: var(--paper-muted);
  background: rgba(245, 241, 232, 0.06);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--lila-bright);
  outline-offset: 5px;
}

.service-hero {
  display: flex;
  min-height: min(100svh, 880px);
  align-items: center;
  padding-block: 128px 76px;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  color: var(--paper-faint);
  font-size: 12px;
}

.breadcrumb a {
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--paper);
}

.breadcrumb span[aria-hidden="true"] {
  color: rgba(245, 241, 232, 0.28);
}

.breadcrumb [aria-current="page"] {
  color: var(--paper-muted);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
}

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

.hero-kicker,
.section-kicker {
  color: var(--lila-bright);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-kicker {
  margin-bottom: 18px;
}

.service-hero h1 {
  max-width: 760px;
  font-family: var(--serif);
  font-size: clamp(48px, 6.4vw, 82px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}

.service-hero h1 em,
.section-heading h2 em,
.split-copy h2 em,
.proof-copy h2 em,
.scope-intro h2 em,
.closing h2 em {
  display: inline-block;
  margin-bottom: -0.06em;
  padding-bottom: 0.06em;
  color: var(--lila-bright);
  font-style: italic;
  line-height: 1.1;
}

.hero-lead {
  max-width: 590px;
  margin-top: 26px;
  color: var(--paper-muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}

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

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(168, 159, 240, 0.08), transparent 44%);
  content: "";
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.78 / 1;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.04);
}

.hero-media.is-portrait img {
  aspect-ratio: 1.22 / 1;
}

.meta-strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
}

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

.meta-grid > div {
  min-width: 0;
  padding: 28px clamp(18px, 2.5vw, 32px);
  border-right: 1px solid var(--line);
}

.meta-grid > div:first-child {
  padding-left: 0;
}

.meta-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.meta-grid dt {
  margin-bottom: 5px;
  color: var(--paper-faint);
  font-size: 11px;
}

.meta-grid dd {
  color: var(--paper);
  font-size: 14px;
  line-height: 1.45;
}

.source-strip {
  border-bottom: 1px solid var(--line);
  background: #0d0d0f;
}

.source-strip-inner {
  display: grid;
  min-height: 92px;
  align-items: center;
  gap: 24px;
  grid-template-columns: 0.8fr 1.15fr 0.9fr 1.35fr;
}

.source-strip p {
  display: grid;
  gap: 3px;
  color: var(--paper-muted);
  font-size: 12px;
  line-height: 1.45;
}

.source-strip p > span {
  color: var(--paper-faint);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.source-strip p a,
.source-strip time {
  color: var(--paper);
}

.source-strip p a,
.source-strip-link {
  text-decoration: underline;
  text-decoration-color: rgba(168, 159, 240, 0.35);
  text-underline-offset: 4px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.source-strip p a:hover,
.source-strip-link:hover {
  color: var(--lila-bright);
  text-decoration-color: currentColor;
}

.source-strip-link {
  justify-self: end;
  color: var(--paper-muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.page-section {
  padding-block: var(--section);
  border-bottom: 1px solid var(--line);
}

.page-section.is-raised {
  background: var(--bg-raised);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-kicker {
  margin-bottom: 14px;
}

.section-heading h2,
.split-copy h2,
.proof-copy h2,
.closing h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 62px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}

.section-heading > p {
  max-width: 65ch;
  margin-top: 20px;
  color: var(--paper-muted);
  font-size: 17px;
  text-wrap: pretty;
}

.editorial-split {
  display: grid;
  align-items: center;
  gap: clamp(48px, 8vw, 108px);
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
}

.editorial-split.is-reversed .split-copy {
  order: 2;
}

.editorial-split.is-reversed .split-media {
  order: 1;
}

.split-copy > p,
.proof-copy > p {
  max-width: 62ch;
  margin-top: 22px;
  color: var(--paper-muted);
  font-size: 16.5px;
  text-wrap: pretty;
}

.split-copy > p + p,
.proof-copy > p + p {
  margin-top: 16px;
}

.split-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.split-media img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}

.split-media.is-browser {
  padding: 9px;
  background: #0e0e10;
}

.split-media.is-browser img {
  border-radius: 5px;
  object-position: top;
}

.plain-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
  list-style: none;
}

.plain-list li {
  display: grid;
  gap: 10px;
  padding-block: 17px;
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(118px, 0.36fr) 1fr;
}

.plain-list strong {
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
}

.plain-list span {
  color: var(--paper-muted);
  font-size: 14px;
}

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

.route-card {
  display: grid;
  align-items: center;
  gap: 30px;
  padding-block: clamp(30px, 5vw, 52px);
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.45fr) auto;
  transition:
    background 0.25s ease,
    padding 0.3s var(--ease);
}

.route-card:hover {
  padding-inline: 18px;
  background: rgba(245, 241, 232, 0.035);
}

.route-card .route-label {
  color: var(--lila-bright);
  font-size: 13px;
}

.route-card h2,
.route-card h3 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.05;
}

.route-card p {
  max-width: 54ch;
  margin-top: 10px;
  color: var(--paper-muted);
  font-size: 15px;
}

.route-arrow {
  color: var(--paper-muted);
  font-size: 25px;
  transition:
    color 0.2s ease,
    transform 0.25s var(--ease);
}

.route-card:hover .route-arrow {
  transform: translateX(5px);
  color: var(--lila-bright);
}

.mosaic {
  display: grid;
  min-height: 560px;
  gap: 14px;
  grid-template-columns: 1.35fr 0.65fr;
  grid-template-rows: 1fr 1fr;
}

.mosaic figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.mosaic figure:first-child {
  grid-row: 1 / span 2;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65);
  transition: transform 0.6s var(--ease);
}

.mosaic figure:hover img {
  transform: scale(1.015);
}

.mosaic figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: var(--paper);
  font-size: 13px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.scope-layout {
  display: grid;
  align-items: start;
  gap: clamp(44px, 8vw, 96px);
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
}

.scope-intro {
  position: sticky;
  top: 114px;
}

.scope-intro h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.04;
}

.scope-intro p {
  max-width: 50ch;
  margin-top: 20px;
  color: var(--paper-muted);
}

.scope-groups {
  border-top: 1px solid var(--line);
}

.scope-group {
  display: grid;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(120px, 0.42fr) 1fr;
}

.scope-group h3 {
  font-size: 14px;
  font-weight: 500;
}

.scope-group ul {
  display: grid;
  gap: 9px;
  list-style: none;
}

.scope-group li {
  color: var(--paper-muted);
  font-size: 15px;
}

.budget-note {
  display: grid;
  align-items: center;
  gap: 38px;
  margin-top: 48px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(168, 159, 240, 0.32);
  border-radius: var(--radius);
  background: rgba(139, 125, 245, 0.07);
  grid-template-columns: minmax(0, 1fr) auto;
}

.budget-note h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.08;
}

.budget-note p {
  max-width: 65ch;
  margin-top: 10px;
  color: var(--paper-muted);
  font-size: 15px;
}

.answer-panel {
  display: grid;
  align-items: start;
  gap: clamp(30px, 6vw, 80px);
  padding-block: clamp(36px, 5vw, 58px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.55fr);
}

.answer-panel-label {
  color: var(--lila-bright);
  font-size: 12px;
  font-weight: 500;
}

.answer-panel-copy {
  max-width: 820px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.9vw, 48px);
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: balance;
}

.answer-panel-copy strong {
  color: var(--lila-bright);
  font-weight: 400;
}

.decision-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scrollbar-color: var(--line-strong) transparent;
}

.decision-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.decision-table th,
.decision-table td {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.decision-table th:first-child,
.decision-table td:first-child {
  padding-left: 0;
}

.decision-table th:last-child,
.decision-table td:last-child {
  padding-right: 0;
  border-right: 0;
}

.decision-table tr:last-child td {
  border-bottom: 0;
}

.decision-table th {
  color: var(--paper-faint);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.decision-table td {
  color: var(--paper-muted);
  font-size: 14px;
  line-height: 1.55;
}

.decision-table td:first-child {
  color: var(--paper);
  font-weight: 500;
}

.evidence-grid,
.measurement-flow {
  display: grid;
  border-top: 1px solid var(--line);
}

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

.evidence-item,
.measurement-step {
  min-width: 0;
  padding: 30px clamp(22px, 3vw, 34px) 18px;
  border-right: 1px solid var(--line);
}

.evidence-item:first-child,
.measurement-step:first-child {
  padding-left: 0;
}

.evidence-item:last-child,
.measurement-step:last-child {
  padding-right: 0;
  border-right: 0;
}

.evidence-item > span,
.measurement-step > span {
  display: block;
  margin-bottom: 18px;
  color: var(--lila-bright);
  font-size: 11px;
  font-weight: 500;
}

.evidence-item h3,
.measurement-step h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 33px);
  font-weight: 400;
  line-height: 1.08;
}

.evidence-item p,
.measurement-step p {
  color: var(--paper-muted);
  font-size: 14px;
}

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

.method-note {
  max-width: 900px;
  margin-top: 42px;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--lila);
  color: var(--paper-muted);
  font-size: 14px;
}

.method-note strong {
  color: var(--paper);
  font-weight: 500;
}

.process-grid {
  display: grid;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-item {
  min-width: 0;
  padding: 30px 24px 10px;
  border-right: 1px solid var(--line);
}

.process-item:first-child {
  padding-left: 0;
}

.process-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.process-item h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.process-item p {
  color: var(--paper-muted);
  font-size: 14px;
}

.proof-layout {
  display: grid;
  align-items: center;
  gap: clamp(48px, 8vw, 98px);
  grid-template-columns: minmax(420px, 1.12fr) minmax(0, 0.88fr);
}

.proof-frame {
  overflow: hidden;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0e0e10;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
}

.proof-frame img {
  width: 100%;
  border-radius: 5px;
  object-fit: cover;
  object-position: top;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--lila-bright);
  font-size: 14px;
  font-weight: 500;
  transition: gap 0.25s var(--ease);
}

.text-link:hover {
  gap: 13px;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item {
  min-width: 0;
  padding: 30px 32px 34px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.faq-item:nth-child(even) {
  padding-right: 0;
  padding-left: 32px;
}

.faq-item h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.18;
}

.faq-item p {
  color: var(--paper-muted);
  font-size: 14.5px;
}

.local-copy {
  max-width: 880px;
}

.local-copy p {
  color: var(--paper-muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
}

.local-copy .municipalities {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--paper-faint);
  font-size: 14px;
  line-height: 1.8;
}

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

.related-card {
  display: flex;
  min-height: 214px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  transition:
    transform 0.25s var(--ease),
    border-color 0.2s ease,
    background 0.2s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 159, 240, 0.42);
  background: var(--bg-soft);
}

.related-card span {
  color: var(--lila-bright);
  font-size: 12px;
}

.related-card h3 {
  max-width: 18ch;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 400;
  line-height: 1.05;
}

.related-card p {
  max-width: 50ch;
  margin-top: 12px;
  color: var(--paper-muted);
  font-size: 14px;
}

.related-card strong {
  margin-top: 28px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
}

.closing {
  padding-block: clamp(92px, 12vw, 168px);
  text-align: center;
}

.closing h2 {
  max-width: 840px;
  margin-inline: auto;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.96;
}

.closing p {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--paper-muted);
  font-size: 17px;
}

.closing .hero-actions {
  justify-content: center;
}

.site-footer {
  padding-block: 52px 34px;
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
}

.footer-main {
  display: grid;
  align-items: start;
  gap: 42px;
  grid-template-columns: minmax(220px, 1.1fr) repeat(2, minmax(150px, 0.55fr));
}

.footer-brand p {
  max-width: 38ch;
  margin-top: 13px;
  color: var(--paper-faint);
  font-size: 13px;
}

.footer-group h2 {
  margin-bottom: 14px;
  color: var(--paper-faint);
  font-size: 11px;
  font-weight: 500;
}

.footer-group ul {
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer-group a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--paper-muted);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-group a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--paper-faint);
  font-size: 11px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 980px) {
  .hero-grid,
  .editorial-split,
  .scope-layout,
  .proof-layout {
    gap: 44px;
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-media {
    max-width: 760px;
  }

  .editorial-split.is-reversed .split-copy,
  .editorial-split.is-reversed .split-media {
    order: initial;
  }

  .scope-intro {
    position: static;
  }

  .meta-grid,
  .process-grid,
  .measurement-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .meta-grid > div:nth-child(2),
  .process-item:nth-child(2),
  .measurement-step:nth-child(2) {
    border-right: 0;
  }

  .meta-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .meta-grid > div:nth-child(3) {
    padding-left: 0;
  }

  .process-item {
    padding: 28px 24px;
    border-bottom: 1px solid var(--line);
  }

  .process-item:nth-child(3) {
    padding-left: 0;
    border-bottom: 0;
  }

  .process-item:nth-child(4) {
    border-bottom: 0;
  }

  .measurement-step {
    padding-block: 28px;
    border-bottom: 1px solid var(--line);
  }

  .measurement-step:nth-child(3) {
    padding-left: 0;
    border-bottom: 0;
  }

  .measurement-step:nth-child(4) {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --side: 20px;
    --section: 82px;
  }

  body {
    font-size: 15.5px;
  }

  .nav-inner {
    min-height: 68px;
  }

  .nav-links > a:not(.nav-cta) {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .nav-links {
    min-width: 0;
    flex: 1;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-inline: 2px 20px;
    scrollbar-width: none;
  }

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

  .nav-cta {
    min-height: 44px;
    padding-inline: 16px;
  }

  .service-hero {
    min-height: auto;
    padding-block: 108px 72px;
  }

  .breadcrumb {
    margin-bottom: 28px;
  }

  .service-hero h1 {
    font-size: clamp(43px, 12.5vw, 61px);
    line-height: 0.99;
  }

  .hero-lead {
    font-size: 16.5px;
  }

  .hero-media img,
  .hero-media.is-portrait img {
    aspect-ratio: 1.35 / 1;
  }

  .meta-grid,
  .process-grid,
  .evidence-grid,
  .measurement-flow,
  .faq-list,
  .related-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .source-strip-inner {
    gap: 0;
    padding-block: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source-strip p,
  .source-strip-link {
    min-height: 68px;
    padding-block: 13px;
    border-bottom: 1px solid var(--line);
  }

  .source-strip p:nth-child(odd) {
    padding-right: 18px;
    border-right: 1px solid var(--line);
  }

  .source-strip p:nth-child(even) {
    padding-left: 18px;
  }

  .source-strip-link {
    align-self: stretch;
    justify-self: stretch;
    padding-left: 18px;
    text-align: left;
  }

  .meta-grid > div,
  .meta-grid > div:first-child,
  .meta-grid > div:nth-child(3),
  .meta-grid > div:last-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .meta-grid > div:last-child {
    border-bottom: 0;
  }

  .route-card {
    gap: 12px;
    padding-block: 32px;
    grid-template-columns: 1fr auto;
  }

  .route-card .route-label {
    grid-column: 1 / -1;
  }

  .route-card > div {
    grid-column: 1;
  }

  .route-card .route-arrow {
    grid-column: 2;
    grid-row: 2;
  }

  .route-card:hover {
    padding-inline: 0;
    background: transparent;
  }

  .mosaic {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .mosaic figure:first-child {
    grid-row: auto;
  }

  .mosaic figure {
    min-height: 260px;
  }

  .plain-list li,
  .scope-group,
  .answer-panel {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .answer-panel {
    gap: 22px;
  }

  .scope-group {
    padding-block: 24px;
  }

  .budget-note {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .budget-note .button {
    width: 100%;
  }

  .process-item,
  .process-item:first-child,
  .process-item:nth-child(3),
  .process-item:last-child {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-item:last-child {
    border-bottom: 0;
  }

  .evidence-item,
  .evidence-item:first-child,
  .evidence-item:last-child,
  .measurement-step,
  .measurement-step:first-child,
  .measurement-step:nth-child(3),
  .measurement-step:last-child {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .evidence-item:last-child,
  .measurement-step:last-child {
    border-bottom: 0;
  }

  .faq-item,
  .faq-item:nth-child(even) {
    padding: 26px 0;
    border-right: 0;
  }

  .related-card {
    min-height: 190px;
  }

  .footer-main {
    gap: 34px;
  }

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

@media (max-width: 520px) {
  .source-strip-inner {
    grid-template-columns: 1fr;
  }

  .source-strip p,
  .source-strip p:nth-child(odd),
  .source-strip p:nth-child(even),
  .source-strip-link {
    min-height: 0;
    padding: 14px 0;
    border-right: 0;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .section-heading h2,
  .split-copy h2,
  .proof-copy h2,
  .closing h2 {
    overflow-wrap: anywhere;
  }

  .mosaic figure {
    min-height: 220px;
  }
}

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

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

@media (prefers-reduced-transparency: reduce) {
  .site-nav {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
