/* ============================================================
   Fabola — shared site stylesheet, linked from every page.
   Served from /assets/ (immutable, 1 year): after ANY edit,
   re-fingerprint the filename and update every <link> to it.
   See "Shared stylesheet" in CLAUDE.md.
   ============================================================ */
html,body{height:100%;margin:0;font-family:var(--font-serif)}#dc-root,#dc-root>.sc-host{height:100%}
.font-sans{font-family:var(--font-sans)}
/* ============================================================
   Fabola Design System — "Human Precision"
   Foundational tokens: color, type, spacing, radius, shadow.
   ============================================================ */

/* ---------- Fonts ---------- */
/* Hanken Grotesk — brand-licensed variable fonts (local). */
@font-face {
  font-family: 'Hanken Grotesk';
  src: url("/fonts/hanken-grotesk.woff2") format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url("/fonts/hanken-grotesk-italic.woff2") format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Source Serif 4 — brand-licensed variable fonts (local). */
@font-face {
  font-family: 'Source Serif 4';
  src: url("/fonts/source-serif-4.woff2") format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url("/fonts/source-serif-4-italic.woff2") format('woff2');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* ===== Color: Surfaces ===== */
  --surface: #fbf8ff;
  --surface-dim: #d9d9e8;
  --surface-bright: #fbf8ff;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f4f2ff;
  --surface-container: #edecfd;
  --surface-container-high: #e7e7f7;
  --surface-container-highest: #e2e1f1;
  --surface-variant: #e2e1f1;
  --surface-tint: #206d05;
  --inverse-surface: #2e303c;
  --inverse-on-surface: #f0efff;

  /* On-surface (text) */
  --on-surface: #191b26;
  --on-surface-variant: #40493b;
  --on-background: #191b26;

  /* Background */
  --background: #fbf8ff;

  /* ===== Color: Primary (Fabola Green / moss) ===== */
  --primary: #1d6a02;
  --on-primary: #ffffff;
  --primary-container: #398420;
  --on-primary-container: #f8ffee;
  --inverse-primary: #89da6b;
  --primary-fixed: #a4f784;
  --primary-fixed-dim: #89da6b;
  --on-primary-fixed: #042100;
  --on-primary-fixed-variant: #145200;

  /* ===== Color: Secondary (Sand) ===== */
  --secondary: #615e57;
  --on-secondary: #ffffff;
  --secondary-container: #e8e2d9;
  --on-secondary-container: #67645d;
  --secondary-fixed: #e8e2d9;
  --secondary-fixed-dim: #cbc6bd;
  --on-secondary-fixed: #1d1b16;
  --on-secondary-fixed-variant: #494640;

  /* ===== Color: Tertiary (Teal accent) ===== */
  --tertiary: #00647f;
  --on-tertiary: #ffffff;
  --tertiary-container: #147e9e;
  --on-tertiary-container: #fafdff;
  --tertiary-fixed: #bbeaff;
  --tertiary-fixed-dim: #7cd2f4;
  --on-tertiary-fixed: #001f29;
  --on-tertiary-fixed-variant: #004d62;

  /* ===== Color: Status ===== */
  --error: #ba1a1a;
  --on-error: #ffffff;
  --error-container: #ffdad6;
  --on-error-container: #93000a;

  /* ===== Color: Outlines ===== */
  --outline: #717a69;
  --outline-variant: #c0cab7;

  /* ===== Color: Brand-named aliases ===== */
  --warm-white: #F9F8F6;
  --slate-muted: #6B6D7A;
  --moss-dark: #2D631B;

  /* ===== Semantic aliases (use these in components) ===== */
  --fg-1: var(--on-surface);          /* primary text */
  --fg-2: var(--slate-muted);         /* secondary text */
  --fg-3: var(--on-secondary-container); /* tertiary / hint text */
  --fg-inverse: var(--inverse-on-surface);

  --bg-page: var(--warm-white);
  --bg-section-alt: var(--secondary-container); /* sand */
  --bg-card: var(--surface-container-lowest);
  --bg-inverse: var(--inverse-surface);

  --accent: var(--primary);
  --accent-hover: var(--moss-dark);
  --link: var(--tertiary);

  --border-soft: var(--outline-variant);
  --border-strong: var(--outline);
  --border-input: var(--slate-muted);

  /* ===== Type: Families ===== */
  --font-sans: 'Hanken Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-display: var(--font-sans);
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* ===== Type: Scale (from Human Precision spec) ===== */
  --display-lg-size: 56px;
  --display-lg-line: 64px;
  --display-lg-weight: 700;
  --display-lg-tracking: -0.02em;

  --headline-lg-size: 40px;
  --headline-lg-line: 48px;
  --headline-lg-weight: 600;
  --headline-lg-tracking: -0.01em;

  --headline-md-size: 32px;
  --headline-md-line: 40px;
  --headline-md-weight: 600;
  --headline-md-tracking: 0;

  --body-lg-size: 18px;
  --body-lg-line: 32px;
  --body-lg-weight: 400;

  --body-md-size: 16px;
  --body-md-line: 28px;
  --body-md-weight: 400;

  --label-md-size: 14px;
  --label-md-line: 20px;
  --label-md-weight: 600;
  --label-md-tracking: 0.05em;

  /* ===== Spacing ===== */
  --space-unit: 8px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 120px;

  --container-max: 1200px;
  --gutter: 24px;
  --margin-desktop: 64px;
  --margin-mobile: 20px;
  --section-padding: 120px;
  --section-padding-mobile: 64px;

  /* ===== Radius ===== */
  --radius-sm: 4px;     /* 0.25rem — chips, tags */
  --radius: 8px;        /* 0.5rem  — buttons, inputs */
  --radius-md: 12px;    /* 0.75rem — compact cards */
  --radius-lg: 16px;    /* 1rem    — standard cards */
  --radius-xl: 24px;    /* 1.5rem  — hero containers */
  --radius-full: 9999px;

  /* ===== Shadow (warm-slate tinted, low opacity) ===== */
  --shadow-sm: 0 1px 2px rgba(107, 109, 122, 0.06);
  --shadow-md: 0 4px 12px rgba(107, 109, 122, 0.08);
  --shadow-lg: 0 12px 32px rgba(107, 109, 122, 0.10);
  --shadow-xl: 0 24px 64px rgba(107, 109, 122, 0.12);
  --focus-ring: 0 0 0 3px rgba(29, 106, 2, 0.18);

  /* ===== Motion ===== */
  --ease-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-emphasized: cubic-bezier(0.2, 0.0, 0, 1);
  --duration-fast: 150ms;
  --duration-base: 240ms;
  --duration-slow: 400ms;
}

/* ============================================================
   Base typography — semantic element styling
   ============================================================ */

html, body {
  background: var(--bg-page);
  color: var(--fg-1);
  font-family: var(--font-serif);
  font-size: var(--body-md-size);
  line-height: var(--body-md-line);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--fg-1);
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: var(--display-lg-size);
  line-height: var(--display-lg-line);
  font-weight: var(--display-lg-weight);
  letter-spacing: var(--display-lg-tracking);
}

h2 {
  font-size: var(--headline-lg-size);
  line-height: var(--headline-lg-line);
  font-weight: var(--headline-lg-weight);
  letter-spacing: var(--headline-lg-tracking);
}

h3 {
  font-size: var(--headline-md-size);
  line-height: var(--headline-md-line);
  font-weight: var(--headline-md-weight);
}

p {
  font-family: var(--font-serif);
  font-size: var(--body-md-size);
  line-height: var(--body-md-line);
  color: var(--fg-1);
  text-wrap: pretty;
  margin: 0;
}

.body-lg {
  font-size: var(--body-lg-size);
  line-height: var(--body-lg-line);
}

.label, .eyebrow {
  font-family: var(--font-sans);
  font-size: var(--label-md-size);
  line-height: var(--label-md-line);
  font-weight: var(--label-md-weight);
  letter-spacing: var(--label-md-tracking);
  text-transform: uppercase;
  color: var(--fg-2);
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}
a:hover { text-decoration: underline; }

/* Mobile reflow */
@media (max-width: 768px) {
  h1 {
    font-size: var(--headline-md-size);
    line-height: var(--headline-md-line);
  }
  h2 {
    font-size: 28px;
    line-height: 36px;
  }
}


html, body { margin: 0; padding: 0; background: #F9F8F6; }
* { box-sizing: border-box; }
::selection { background: #a4f784; color: #042100; }
@media (max-width: 860px) { .fb-navlinks { display: none !important; } }


/* ============================================================
   Shared component classes (both pages).
   ============================================================ */
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgb(64, 73, 59);
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* FAQ (Chinese page): question beside answer, wrapping to stacked. */
.faq-list {
  border-top: 1px solid rgba(64, 73, 59, 0.22);
}
.faq-item {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 32px;
  padding: 30px 0px;
  border-bottom: 1px solid rgba(64, 73, 59, 0.22);
}
.faq-q {
  flex: 0 0 300px;
  max-width: 100%;
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 600;
  color: rgb(25, 27, 38);
  margin: 0px;
}
.faq-a {
  flex: 1 1 320px;
}
.faq-a p {
  font-size: 18px;
  line-height: 1.66;
  color: rgb(64, 73, 59);
  margin: 0px;
}
.faq-a p + p {
  margin-top: 14px;
}

/* Chinese page mobile gutters. */
@media (max-width: 768px) {
  .hero-inner { padding-left: 24px !important; padding-right: 24px !important; }
  .hero { padding-top: 72px !important; padding-bottom: 80px !important; }
}


/* ============================================================
   English page. Everything sits on one 1160px column with two-
   and three-column grids that collapse together: three columns
   stack at 1000px, two columns at 760px.
   ============================================================ */
.home {
  --rule: #d6d2c9;
  --sand-soft: #efebe4;
  background: var(--warm-white);
  color: var(--on-surface);
  font-family: var(--font-serif);
  overflow-x: clip;
}
.home a { color: var(--primary); }
.home a:hover { color: var(--moss-dark); }
.home a.nav-link { color: var(--on-surface-variant); }
.home a.nav-link:hover { color: var(--on-surface); }
.home a:focus-visible, .home summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.text-muted { color: var(--on-surface-variant); }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}
.grid-3 { display: grid; }
.span-2of3 { max-width: 66.667%; }
.section {
  scroll-margin-top: 72px;
  padding: clamp(96px, 12vw, 152px) 0;
}
.bg-sand { background: var(--sand-soft); }

.title-xl {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.title-md {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.016em;
  margin: 0;
  text-wrap: balance;
}
.label-sm {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  padding: 13px 21px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}
.home a.btn:hover { text-decoration: none; }
.btn-sm { font-size: 14px; padding: 8px 15px; }
.home a.btn-primary { background: var(--primary); color: #ffffff; }
.home a.btn-primary:hover { background: var(--moss-dark); color: #ffffff; }
.home a.btn-outline { border-color: var(--outline); color: var(--on-surface); }
.home a.btn-outline:hover { border-color: var(--on-surface); background: rgba(25, 27, 38, 0.04); }
.home a.btn-inverse { background: #ffffff; color: var(--primary); }
.home a.btn-inverse:hover { background: var(--secondary-container); color: var(--primary); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
}

/* Lists: ruled rows, green dots, and plain stacked lines. */
.rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.rule-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 17px;
  line-height: 1.45;
}
.rule-list-sm li { padding: 11px 0; font-size: 16px; }
.dot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px 24px;
}
.dot-list li {
  position: relative;
  padding-left: 15px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--on-surface-variant);
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: var(--primary);
}
.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plain-list li {
  font-size: 17px;
  line-height: 1.45;
  color: var(--on-surface-variant);
}

/* Disclosure toggles (module questions and FAQ): CSS only. */
.home summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.home summary::-webkit-details-marker { display: none; }
.toggle-icon {
  flex: 0 0 auto;
  color: var(--primary);
  transition: transform var(--duration-base) var(--ease-standard);
}
details[open] > summary .toggle-icon { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .toggle-icon { transition: none; } }
.toggle {
  margin-top: 16px;
  border-top: 1px solid var(--rule);
}
.toggle summary {
  gap: 16px;
  padding: 16px 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 248, 246, 0.92);
  border-bottom: 1px solid #e2ded6;
}
.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Hero */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 12vw, 160px) 0 clamp(88px, 11vw, 144px);
  border-bottom: 1px solid var(--rule);
}
.hero-watermark {
  position: absolute;
  top: 50%;
  right: -120px;
  transform: translateY(-50%);
  width: min(860px, 68vw);
  height: auto;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

/* Section rhythm: the photo-led sections set their own spacing. */
.home #medtech { padding-bottom: clamp(80px, 9vw, 120px); }
.home #services { padding: clamp(64px, 7vw, 112px) 0 0; }
.home #ai { padding: clamp(64px, 8vw, 104px) 0 clamp(24px, 3vw, 40px); }
.home #global { padding-top: clamp(56px, 7vw, 88px); }
.home #about { padding: clamp(96px, 12vw, 160px) 0; }

/* Photos: cropped to fill their frame. The <picture> is the grid item:
   it stretches to the row height the text column sets, and on its own
   (stacked on mobile) it keeps the photo's aspect ratio and min-height,
   both set inline. */
.photo-frame {
  position: relative;
  display: block;
  /* With aspect-ratio set, grid's default alignment acts as start, and
     width would follow the stretched height: pin width, stretch height. */
  width: 100%;
  min-width: 0;
  align-self: stretch;
  overflow: hidden;
  border-radius: 24px;
}
.photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Full-bleed city photo, fading up into the section above. */
.city-banner { position: relative; }
.city-banner .photo-frame {
  height: clamp(280px, 42vw, 560px);
  border-radius: 0;
}
.city-banner::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 45%;
  background: linear-gradient(to bottom, #F9F8F6 0%, rgba(249, 248, 246, 0.85) 25%, rgba(249, 248, 246, 0) 100%);
  pointer-events: none;
}

/* Pull-quote card: the "Rooted in Europe" closing line, and the client
   quote (section currently commented out in the page). */
.quote-card {
  margin: 0;
  padding: clamp(24px, 3vw, 40px) clamp(32px, 4.2vw, 56px);
  background: var(--warm-white);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quote-card blockquote, .quote-card-text {
  margin: 0;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.38;
  text-wrap: pretty;
}
.quote-card blockquote { max-width: 760px; color: var(--secondary); }
.quote-card figcaption { font-size: 14px; color: var(--secondary); }

/* Service modules */
.module {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--sand-soft);
  border-radius: 24px;
}
.module-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 48px;
  margin-bottom: 18px;
}
.module-title {
  flex: 2 1 0;
  min-width: min(100%, 320px);
  font-family: var(--font-sans);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.014em;
  margin: 0;
}
.module-tag-slot {
  flex: 1 1 0;
  min-width: 200px;
  display: flex;
  justify-content: flex-end;
}
.module-tag {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid var(--primary);
}
.home a.module-tag:hover { text-decoration: none; background: rgba(29, 106, 2, 0.06); }
.module-body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-surface-variant);
}

/* How it works: three steps on a green rule. */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px 40px;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--primary);
}
.step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: var(--primary);
}
.step-heading {
  font-family: var(--font-sans);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 600;
  margin: 0;
}
.step-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--on-surface-variant);
}
.agree-list {
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.agree-list > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.6fr) minmax(0, 1fr);
  gap: 16px;
}
.agree-list dt {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}
.agree-list dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--on-surface-variant);
}

/* FAQ */
.faq-toggles { border-top: 1px solid var(--rule); }
.faq-toggles details { border-bottom: 1px solid var(--rule); }
.faq-toggles summary {
  gap: 24px;
  padding: 22px 0;
}
.faq-toggles summary h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
  text-wrap: pretty;
}
.faq-toggles-a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 60ch;
  padding: 0 0 26px;
}
.faq-toggles-a p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-surface-variant);
}

/* Closing band and footer */
.cta-band {
  padding: clamp(72px, 9vw, 112px) 0;
  background: var(--primary);
  color: #ffffff;
}
.cta-band a:focus-visible { outline-color: #ffffff; }
.site-footer {
  background: var(--inverse-surface);
  color: var(--inverse-on-surface);
  padding: 48px 0 32px;
}
.home .site-footer a { color: var(--inverse-on-surface); }
.home .site-footer a:hover { color: #ffffff; }
.site-footer a:focus-visible { outline-color: var(--inverse-on-surface); }

@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 760px) {
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr) !important; }
  .span-2of3 { max-width: none; }
  .module-tag-slot { justify-content: flex-start; }
  .module-tag-slot:empty { display: none; }
  .home #medtech { padding-bottom: 96px; }
  .home #services { padding-top: 96px; }
}


/* ============================================================
   Service pages (/services/ and /services/<slug>/). They sit in
   the same .home wrapper as the English homepage and reuse its
   classes (.wrap, .grid-2, .btn, .faq-toggles, .cta-band); the
   rules below are what only these pages use.
   ============================================================ */
.svc-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px); }
.svc-hero-inner { display: flex; flex-direction: column; gap: 28px; }
.svc-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
}
.home .svc-crumbs a { color: var(--secondary); }
.svc-crumbs [aria-current] { color: var(--on-surface); }
.svc-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.026em;
  max-width: 22ch;
  margin: 0;
}
.svc-hero-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 40px 64px;
  align-items: start;
  margin-top: 16px;
}
.svc-hero-copy { display: flex; flex-direction: column; gap: 20px; }
.svc-lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.62;
  max-width: 60ch;
}
.svc-who { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.svc-label {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
}
.svc-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.svc-chips li {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.3;
  padding: 7px 12px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: #ffffff;
}
.svc-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 60ch;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.55;
  font-style: italic;
}
.svc-note svg { flex: 0 0 18px; margin-top: 3px; color: var(--primary); }

/* Price and delivery summary beside the hero copy. */
.svc-summary {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid #e2ded6;
  border-radius: 16px;
}
.svc-summary > div { display: flex; flex-direction: column; gap: 6px; }
.svc-summary > div + div { padding-top: 20px; border-top: 1px solid #e2ded6; }
.svc-summary .btn { align-self: flex-start; }
.svc-meta { font-family: var(--font-sans); font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--secondary); }
.svc-summary-price {
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.svc-summary-text { font-size: 16px; line-height: 1.55; }
.svc-reviewed { font-family: var(--font-sans); font-size: 13px; line-height: 1.4; color: var(--secondary); }

.svc-section { padding: clamp(88px, 11vw, 136px) 0; }
.svc-stack { display: flex; flex-direction: column; gap: 40px; }
.svc-h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.svc-intro { display: flex; flex-direction: column; gap: 20px; max-width: 60ch; }
.svc-intro p { font-size: 18px; line-height: 1.62; color: var(--on-surface-variant); }
.svc-body { font-size: 17px; line-height: 1.6; max-width: 64ch; }
.svc-body-muted { font-size: 16px; line-height: 1.6; color: var(--on-surface-variant); }

/* The questions a service answers: large ruled lines, two columns. */
.svc-questions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  column-gap: 48px;
}
.svc-questions li {
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.4;
  text-wrap: pretty;
}

/* Inputs, work and deliverables: numbered steps on a thin rule. The
   numbers are a CSS counter so they stay out of the text. */
.svc-steps { counter-reset: svc-step; }
.svc-step {
  counter-increment: svc-step;
  position: relative;
  padding-left: calc(clamp(56px, 9vw, 120px) + clamp(16px, 3vw, 40px));
  padding-bottom: clamp(56px, 7vw, 88px);
}
.svc-step:last-child { padding-bottom: 0; }
.svc-step::before {
  content: counter(svc-step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-sans);
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--primary);
}
.svc-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(clamp(36px, 4.4vw, 60px) + 20px);
  bottom: 20px;
  left: clamp(12px, 1.6vw, 20px);
  width: 1px;
  background: #c9c3b8;
}
.svc-step-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px 48px;
  padding-top: 4px;
}
.svc-step-head { display: flex; flex-direction: column; gap: 16px; }
.svc-step-head p { font-size: 18px; line-height: 1.6; max-width: 44ch; }
.svc-step-head p.svc-body-muted { font-size: 16px; color: var(--on-surface-variant); }
.svc-step-side { display: flex; flex-direction: column; gap: 16px; }
.svc-step-side > p { font-size: 18px; line-height: 1.6; max-width: 56ch; }
.svc-step-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.018em;
  margin: 0;
}
.svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  column-gap: 32px;
  align-content: start;
}
.svc-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  line-height: 1.45;
}
.svc-list-1 { grid-template-columns: minmax(0, 1fr); }

/* Price table: scope, price, what it covers. */
.svc-prices { border-top: 1px solid var(--primary); }
.svc-price-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 8px 40px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.svc-price-scope, .svc-price-amount {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  margin: 0;
}
.svc-price-amount { color: var(--primary); }
.svc-price-covers { font-size: 17px; line-height: 1.55; color: var(--on-surface-variant); }
.svc-fineprint { font-family: var(--font-sans); font-size: 14px; line-height: 1.5; color: var(--secondary); }

/* Delivery, completion, exclusions, next step. */
.svc-terms { gap: 56px 48px; }
.svc-term {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.svc-term-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin: 0;
}
.svc-term p { font-size: 17px; line-height: 1.6; max-width: 52ch; }

.svc-sources { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.svc-sources li { display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.5; }
.svc-sources a { font-family: var(--font-sans); font-size: 14px; word-break: break-all; }

/* Service cards: the whole card is the link (stretched ::after). */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--sand-soft);
  border-radius: 16px;
  transition: background-color var(--duration-fast) var(--ease-standard);
}
.svc-card:hover { background: var(--secondary-container); }
.svc-card-title {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.home .svc-card-title a { color: var(--on-surface); }
.home .svc-card-title a:hover { text-decoration: none; }
.svc-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.svc-card-title a:focus-visible { outline: none; }
.svc-card:focus-within { outline: 2px solid var(--primary); outline-offset: 3px; }
.svc-card p { flex: 1; font-size: 15px; line-height: 1.55; color: var(--on-surface-variant); }
.svc-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
.svc-card-more::before { content: "Explore"; }

/* Overview page: one row per service, question on the left, price and
   scope on the right. The whole row is the link (stretched ::after). */
.svc-menu { border-top: 1px solid var(--primary); }
.svc-menu-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px 56px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
}
.svc-menu-main, .svc-menu-side { display: flex; flex-direction: column; gap: 10px; }
.svc-menu-title {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0;
}
.home .svc-menu-title a { color: var(--on-surface); }
.home .svc-menu-title a:hover { text-decoration: none; }
.svc-menu-title a::after { content: ""; position: absolute; inset: 0; }
.svc-menu-title a:focus-visible { outline: none; }
.svc-menu-row:focus-within { outline: 2px solid var(--primary); outline-offset: 4px; }
.home .svc-menu-row:hover .svc-menu-title a { color: var(--primary); }
.svc-menu-question { font-size: 18px; line-height: 1.55; max-width: 52ch; }
.svc-menu-side .svc-price-covers { font-size: 16px; }
/* "Where to start" tag: DOM follows the heading, shown above it. */
.svc-menu-main .svc-tag { order: -1; }
.svc-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 2px;
  padding: 5px 11px 5px 9px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.svc-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--primary-fixed);
}

/* Overview page: how an engagement runs, four numbered steps. */
.svc-process {
  counter-reset: svc-process;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
}
.svc-process li {
  counter-increment: svc-process;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--primary);
}
.svc-process li::before {
  content: counter(svc-process, decimal-leading-zero);
  font-family: var(--font-sans);
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--primary);
}
.svc-process-title {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.svc-process p { font-size: 16px; line-height: 1.6; color: var(--on-surface-variant); }

/* Overview page: the scoping principle as a short sequence. */
.svc-principle { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.svc-principle li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid #e2ded6;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.svc-principle li:last-child { border-bottom: 0; }
.svc-principle li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 9999px;
  background: var(--primary);
}
.home .svc-price-scope a { color: var(--on-surface); }
.home .svc-price-scope a:hover { color: var(--primary); }

@media (max-width: 1000px) {
  .svc-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .svc-price-row { grid-template-columns: minmax(0, 1fr); }
  .svc-menu-row { grid-template-columns: minmax(0, 1fr); padding: 28px 0; }
  .svc-process { grid-template-columns: minmax(0, 1fr); }
  .svc-terms { gap: 40px; }
}
