/* ==========================================================================
   Peptide SEO — site stylesheet
   Ported from the Claude Design handoff (project/*.dc.html). Colour ramp,
   type scale and spacing are taken verbatim from the design so the built
   pages match the prototype pixel for pixel.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------
   The accent ramp comes from the design-system bundle the prototypes linked
   (_ds/broadsheet-…/styles.css); only the ramp and the box-sizing reset were
   ever consumed by these pages, so they are inlined here rather than pulling
   in a whole unrelated stylesheet. */
:root {
  --color-accent: #0088b0;
  --color-accent-100: #e9f8ff;
  --color-accent-200: #cbeeff;
  --color-accent-300: #99e0ff;
  --color-accent-400: #62c5ee;
  --color-accent-500: #38a6cf;
  --color-accent-600: #1186ac;
  --color-accent-700: #006786;
  --color-accent-800: #004961;
  --color-accent-900: #0a303e;

  --mint: oklch(0.82 0.07 168);
  --mint-deep: oklch(0.58 0.085 170);
  --green-btn: oklch(0.62 0.08 168);
  --green-btn-2: oklch(0.56 0.09 195);
  --ink: #26343a;

  --sans: 'Instrument Sans', system-ui, sans-serif;
  --display: 'Sora', 'Instrument Sans', system-ui, sans-serif;

  --ease: cubic-bezier(.19, .72, .16, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fbfcfc;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent-600); }
:focus-visible { outline: 2px solid var(--color-accent-600); outline-offset: 3px; }

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

/* The page shell clips the decorative glows. `clip` rather than `hidden` so
   it does not become a scroll container — that would break the article
   sidebar's position: sticky. */
.page {
  position: relative;
  overflow: clip;
  background: #fbfcfc;
}

.page__glow-a,
.page__glow-b {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.page__glow-a {
  top: -300px; right: -220px; width: 880px; height: 880px;
  background: radial-gradient(circle at 42% 40%, color-mix(in srgb, var(--color-accent-200) 55%, transparent), transparent 62%);
  filter: blur(16px);
}
.page__glow-b {
  top: 320px; left: -300px; width: 720px; height: 720px;
  background: radial-gradient(circle at 60% 40%, color-mix(in srgb, var(--mint) 34%, transparent), transparent 65%);
  filter: blur(18px);
}

main { position: relative; }

/* --- Layout -------------------------------------------------------------- */
.section {
  max-width: 1392px;
  margin: 0 auto;
  padding-inline: 56px;
}
.section--narrow { max-width: 1100px; }

/* --- Type ---------------------------------------------------------------- */
.kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint-deep);
}
.kicker--muted {
  text-transform: none;
  color: color-mix(in srgb, var(--ink) 42%, transparent);
}
.kicker--ink { color: color-mix(in srgb, var(--ink) 62%, transparent); }

.h-hero {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.07;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.h-page {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 700;
}
.h-section {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.h-sub {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 700;
}

.grad-text {
  background-image: linear-gradient(94deg, var(--mint-deep), var(--color-accent-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent { color: var(--color-accent-600); }
.mint { color: var(--mint-deep); }

.lede {
  margin: 24px 0 0;
  max-width: 32em;
  font-size: 16.5px;
  line-height: 1.72;
  color: color-mix(in srgb, var(--ink) 66%, transparent);
}
.body-text {
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: color-mix(in srgb, var(--ink) 66%, transparent);
}
.muted { color: color-mix(in srgb, var(--ink) 62%, transparent); }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .35s ease, background .35s ease, color .35s ease;
}

/* sizes */
.btn--lg  { padding: 8px 8px 8px 26px; min-height: 56px; font-size: 15.5px; }
.btn--md  { padding: 8px 8px 8px 24px; min-height: 52px; font-size: 15px; }
.btn--sm  { padding: 6px 6px 6px 20px; min-height: 44px; font-size: 14px; gap: 10px; }
.btn--nav { padding: 8px 8px 8px 22px; font-size: 14px; gap: 10px; }
.btn--xs  { padding: 8px 8px 8px 20px; font-size: 14px; gap: 10px; }
.btn--back { padding: 8px 22px 8px 8px; min-height: 52px; font-size: 14.5px; }

/* variants */
.btn--outline {
  background: #ffffff;
  color: var(--ink);
  border-color: color-mix(in srgb, var(--ink) 12%, transparent);
}
.btn--outline:hover {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--mint-deep) 45%, transparent);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--mint-deep) 16%, transparent);
}
.btn--nav.btn--outline { border-color: color-mix(in srgb, var(--ink) 10%, transparent); }
.btn--nav.btn--outline:hover {
  box-shadow: 0 10px 24px color-mix(in srgb, var(--mint-deep) 18%, transparent);
  transform: translateY(-1px);
}
.btn--xs.btn--outline { border-color: color-mix(in srgb, var(--ink) 11%, transparent); }
.btn--xs.btn--outline:hover { box-shadow: none; }

.btn--dark {
  background: var(--ink);
  color: #ffffff;
}
.btn--dark:hover {
  color: #ffffff;
  background: var(--color-accent-800);
  transform: translateY(-3px);
  box-shadow: 0 18px 38px color-mix(in srgb, #26343a 30%, transparent);
}
.btn--dark.btn--flat:hover { transform: none; box-shadow: none; }

.btn--gradient {
  background: linear-gradient(135deg, var(--green-btn), var(--green-btn-2));
  color: #ffffff;
  box-shadow: 0 14px 30px color-mix(in srgb, var(--mint-deep) 26%, transparent);
}
.btn--gradient:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--mint-deep) 34%, transparent);
}

.btn--load:hover { transform: translateY(-2px); }

/* arrow chips inside buttons */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
}
.btn--lg .chip { width: 38px; height: 38px; font-size: 15px; }
.btn--md .chip,
.btn--back .chip { width: 34px; height: 34px; font-size: 14px; }
.btn--sm .chip { width: 32px; height: 32px; font-size: 13px; }
.btn--xs .chip { width: 30px; height: 30px; font-size: 13px; }
.btn--load .chip { width: 36px; height: 36px; font-size: 15px; }

.chip--outline { border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.btn--xs .chip--outline { border-color: color-mix(in srgb, var(--ink) 12%, transparent); }
.chip--gradient {
  background: linear-gradient(135deg, var(--green-btn), var(--color-accent-500));
  color: #fff;
}
.chip--glass { background: rgba(255, 255, 255, .18); }
.chip--glass-strong { background: rgba(255, 255, 255, .22); }

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  width: min(1280px, 100%);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 12px 12px 24px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  background: color-mix(in srgb, #ffffff 78%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 6px 24px color-mix(in srgb, #26343a 7%, transparent);
  transition: padding .45s var(--ease), box-shadow .45s ease, background .45s ease;
}
body[data-scrolled="1"] .nav-pill {
  padding: 8px 10px 8px 22px;
  box-shadow: 0 10px 34px color-mix(in srgb, #26343a 12%, transparent);
  background: color-mix(in srgb, #ffffff 90%, transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}
/* The logo is the exported horizontal lockup, inlined verbatim so its
   Space Grotesk / IBM Plex Mono <text> renders with the page's webfonts
   (an <img> SVG cannot load fonts). Only the display size lives here. */
.brand__logo {
  display: block;
  height: 46px;
  width: auto;
  flex: none;
  /* If the webfonts are late or missing, the fallback face runs wider than
     the viewBox — let it spill instead of clipping "SEO" off. */
  overflow: visible;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__link {
  text-decoration: none;
  color: color-mix(in srgb, var(--ink) 76%, transparent);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .3s ease;
}
.nav__link:hover { color: var(--color-accent-700); }
.nav__link[aria-current="page"] {
  color: var(--color-accent-700);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle__bars { display: flex; flex-direction: column; gap: 5px; }
.menu-toggle__bars span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
}

/* --- Mobile menu --------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: color-mix(in srgb, #fbfcfc 96%, transparent);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  padding: 26px 26px 40px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu__top .brand__logo { height: 40px; }
.mobile-menu__close {
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 999px;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 56px;
}
.mobile-menu__link {
  padding: 14px 0;
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}
.mobile-menu__cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-btn), var(--color-accent-500));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.mobile-menu__cta:hover { color: #fff; }

/* --- Cards --------------------------------------------------------------- */
.card {
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--ink) 7%, transparent);
  background: #ffffff;
}
.card--pad { padding: 30px 28px; }
.card--tinted {
  background: linear-gradient(120deg, color-mix(in srgb, var(--mint) 45%, #eaf4f0), color-mix(in srgb, var(--color-accent-300) 45%, #dcedf4));
  border-color: rgba(255, 255, 255, .6);
}

/* A card whose whole surface is a link (an absolutely positioned overlay
   anchor) while still carrying its own nested links — the tag pills. */
.linkcard {
  position: relative;
  display: flex;
  flex-direction: column;
  color: inherit;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ink) 7%, transparent);
  background: #fff;
  transition: transform .55s var(--ease), box-shadow .55s ease;
}
.linkcard:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 52px color-mix(in srgb, #26343a 11%, transparent);
}
.linkcard__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.linkcard__media {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: linear-gradient(140deg, #eef6f3, color-mix(in srgb, var(--color-accent-100) 80%, transparent));
}
.linkcard__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 26px 26px;
}
.linkcard__title {
  margin: 0;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.linkcard__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}
.linkcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 7%, transparent);
}
.linkcard__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  font-size: 14px;
  color: var(--ink);
}

/* The featured case study — the same overlay-link pattern at editorial size. */
.feature-case {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  color: inherit;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ink) 7%, transparent);
  background: #ffffff;
  transition: transform .55s var(--ease), box-shadow .55s ease;
}
.feature-case:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px color-mix(in srgb, #26343a 12%, transparent);
}
.feature-case__media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: linear-gradient(140deg, #eef6f3, color-mix(in srgb, var(--mint) 30%, transparent) 60%, color-mix(in srgb, var(--color-accent-100) 80%, transparent));
}
.feature-case__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 48px 46px;
}
.feature-case__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.feature-case__text {
  margin: 0;
  max-width: 28em;
  font-size: 15px;
  line-height: 1.68;
  color: color-mix(in srgb, var(--ink) 66%, transparent);
}
.feature-case__stats {
  display: flex;
  gap: 34px;
  margin-top: 8px;
}
.feature-case__stats .stat__value { font-size: 26px; }
.feature-case__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--color-accent-700);
}

.feature-case--article { grid-template-columns: 1fr 1fr; }
.feature-case--article .feature-case__media {
  min-height: 300px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #eef6f3, color-mix(in srgb, var(--mint) 26%, transparent) 60%, color-mix(in srgb, var(--color-accent-100) 75%, transparent));
}
.feature-case--article .feature-case__body { padding: 46px 44px; gap: 14px; }
.feature-case__meta {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 45%, transparent);
}

/* --- Insights grid ------------------------------------------------------- */
.article-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ink) 7%, transparent);
  background: #fff;
  transition: transform .55s var(--ease), box-shadow .55s ease;
}
.article-card:hover {
  color: inherit;
  transform: translateY(-7px);
  box-shadow: 0 26px 52px color-mix(in srgb, #26343a 10%, transparent);
}
.article-card[hidden] { display: none; }
.article-card__media {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: linear-gradient(150deg, #eef6f4, color-mix(in srgb, var(--color-accent-100) 75%, transparent));
  display: grid;
  place-items: center;
}
.article-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 24px 26px;
  flex: 1;
}
.article-card__meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 44%, transparent);
}
.article-card__title {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
}
.article-card__teaser {
  margin: 0;
  flex: 1;
  font-size: 13.5px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--ink) 60%, transparent);
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-700);
}
.load-more-row {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* --- Article ------------------------------------------------------------- */
.art-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 60px;
  align-items: start;
}
.art-side {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.prose h2 {
  margin: 44px 0 16px;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}
.prose p {
  margin: 0 0 18px;
  font-size: 16.5px;
  line-height: 1.78;
  color: color-mix(in srgb, var(--ink) 76%, transparent);
}
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li {
  margin: 0 0 10px;
  font-size: 16.5px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--ink) 76%, transparent);
}
.prose strong { color: var(--ink); }
.prose .prose__lead { font-size: 18.5px; line-height: 1.75; color: var(--ink); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 26px;
  font-size: 13.5px;
  color: color-mix(in srgb, var(--ink) 56%, transparent);
}
.article-meta img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: #eef4f6;
}
.article-hero {
  position: relative;
  height: 300px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(140deg, #eef6f3, color-mix(in srgb, var(--mint) 26%, transparent) 60%, color-mix(in srgb, var(--color-accent-100) 75%, transparent));
  display: grid;
  place-items: center;
}

/* Frosted vial trio used in the case-study artwork. */
.vials {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: flex-end;
  gap: 13px;
}
.vials--lg { gap: 16px; }
.vials i {
  display: block;
  border: 1px solid rgba(255, 255, 255, .9);
}
.vials i:nth-child(1) {
  width: 42px; height: 100px;
  border-radius: 6px 6px 12px 12px;
  background: linear-gradient(100deg, rgba(255, 255, 255, .94), color-mix(in srgb, var(--color-accent-200) 65%, transparent));
  box-shadow: 0 14px 26px color-mix(in srgb, #26343a 12%, transparent);
}
.vials i:nth-child(2) {
  width: 56px; height: 138px;
  border-radius: 7px 7px 14px 14px;
  background: linear-gradient(100deg, rgba(255, 255, 255, .96), color-mix(in srgb, var(--mint) 42%, transparent));
  border-color: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 32px color-mix(in srgb, #26343a 13%, transparent);
}
.vials i:nth-child(3) {
  width: 38px; height: 86px;
  border-radius: 5px 5px 10px 10px;
  background: linear-gradient(100deg, rgba(255, 255, 255, .92), color-mix(in srgb, var(--color-accent-300) 50%, transparent));
  box-shadow: 0 12px 22px color-mix(in srgb, #26343a 10%, transparent);
}
.vials--lg i:nth-child(1) { width: 54px; height: 128px; border-radius: 7px 7px 14px 14px; animation: pm-bob-2 12s ease-in-out infinite; }
.vials--lg i:nth-child(2) { width: 70px; height: 174px; border-radius: 8px 8px 16px 16px; animation: pm-bob-3 15s ease-in-out infinite; }
.vials--lg i:nth-child(3) { width: 46px; height: 108px; border-radius: 6px 6px 12px 12px; animation: pm-bob-2 10s ease-in-out infinite; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--mint) 22%, transparent);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint-deep);
  text-decoration: none;
  transition: background .3s ease, color .3s ease;
}
.tag-pill:hover { background: var(--mint-deep); color: #ffffff; }
.tag-pill--sm { padding: 5px 12px; font-size: 10px; letter-spacing: 0.08em; }

.badge {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-deep);
}

/* --- Services overview --------------------------------------------------- */
.svc-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: center;
}
.svc-section--reverse { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.svc-section--reverse > .svc-copy { order: 2; }
.svc-section--reverse > .svc-art { order: 1; }
.svc-art {
  display: grid;
  place-items: center;
  min-height: 340px;
  border-radius: 26px;
  background: linear-gradient(150deg, #f2f8f7, color-mix(in srgb, var(--color-accent-100) 85%, transparent));
  border: 1px solid color-mix(in srgb, var(--ink) 6%, transparent);
}
.h-service {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
}

/* --- Service detail pages ------------------------------------------------ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--ink) 7%, transparent);
  background: #ffffff;
}
.svc-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.svc-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}

.proof-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 34px;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(120deg, color-mix(in srgb, var(--mint) 40%, #eaf4f0), color-mix(in srgb, var(--color-accent-300) 45%, #dcedf4));
  border: 1px solid rgba(255, 255, 255, .6);
  transition: transform .45s var(--ease), box-shadow .45s ease;
}
.proof-band:hover {
  color: inherit;
  transform: translateY(-4px);
  box-shadow: 0 22px 44px color-mix(in srgb, #26343a 12%, transparent);
}
.proof-band__label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
}
.proof-band__title {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.proof-band__right { display: flex; align-items: center; gap: 26px; }
.proof-band__value {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-accent-700);
}
.proof-band__unit {
  display: block;
  font-size: 11.5px;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
}
.proof-band__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 34px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.page-actions__note {
  font-size: 13.5px;
  color: color-mix(in srgb, var(--ink) 52%, transparent);
}

/* --- Stats --------------------------------------------------------------- */
.stat__value {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat__label {
  display: block;
  font-size: 11.5px;
  color: color-mix(in srgb, var(--ink) 52%, transparent);
}

.stat-tile {
  padding: 28px 26px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--ink) 7%, transparent);
  background: #fff;
}
.stat-tile__value {
  font-family: var(--display);
  font-size: clamp(30px, 2.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-tile__label {
  margin-top: 8px;
  font-size: 13px;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}
.stat-tile--sm { padding: 26px 24px; }
.stat-tile--sm .stat-tile__value { font-size: 36px; }
.stat-tile--sm .stat-tile__label { color: color-mix(in srgb, var(--ink) 58%, transparent); }

/* --- Case study ---------------------------------------------------------- */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.meta-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.step__num {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--mint-deep);
}
.step h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.step p {
  margin: 10px 0 0;
  max-width: 42em;
  font-size: 15px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--ink) 66%, transparent);
}

.chart-card {
  margin-top: 26px;
  padding: 40px 38px 30px;
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--ink) 7%, transparent);
  background: #ffffff;
  box-shadow: 0 18px 44px color-mix(in srgb, #26343a 6%, transparent);
}
.chart-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: baseline;
}
.chart-card__title { font-family: var(--display); font-size: 17px; font-weight: 700; }
.chart-card__range { font-size: 12.5px; color: color-mix(in srgb, var(--ink) 52%, transparent); }
.chart-card svg { width: 100%; height: auto; margin-top: 18px; }

.quote {
  margin: 0;
  padding: 46px 50px;
  border-radius: 24px;
  background: linear-gradient(150deg, #f3f8f7, #eef5f5);
  border: 1px solid color-mix(in srgb, var(--ink) 6%, transparent);
}
.quote blockquote {
  margin: 0;
  max-width: 30em;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--ink);
}
.quote figcaption {
  margin-top: 22px;
  font-size: 14px;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
}

/* --- Founder card -------------------------------------------------------- */
.split--about {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.founder-card {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  min-height: 440px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(150deg, #eef5f4, color-mix(in srgb, var(--color-accent-100) 80%, transparent));
  border: 1px solid color-mix(in srgb, var(--ink) 6%, transparent);
}
.founder-card > img {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  max-height: 460px;
  object-fit: contain;
  object-position: bottom center;
}
.name-plate {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 14px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px color-mix(in srgb, #26343a 12%, transparent);
}
.name-plate__name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.name-plate__role {
  margin-top: 3px;
  font-size: 12.5px;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
}

/* --- Bullet / check lists ------------------------------------------------ */
.checklist {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--ink) 74%, transparent);
}
.checklist svg { width: 18px; flex: none; margin-top: 3px; }

.dotlist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dotlist li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}
.dotlist li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--color-accent-500);
}

/* --- CTA band ------------------------------------------------------------ */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 84px 60px;
  text-align: center;
  background: linear-gradient(120deg, color-mix(in srgb, var(--mint) 55%, #eaf4f0), color-mix(in srgb, var(--color-accent-300) 55%, #dcedf4));
}
.cta-band__helix {
  position: absolute;
  right: -30px;
  top: -20%;
  height: 150%;
  opacity: 0.35;
  transform: rotate(18deg);
  pointer-events: none;
}
.cta-band__title {
  position: relative;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 700;
  color: var(--ink);
}
.cta-band__text {
  position: relative;
  margin: 18px auto 0;
  max-width: 30em;
  font-size: 15.5px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--ink) 66%, transparent);
}
.cta-band .btn { position: relative; margin-top: 34px; }

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  position: relative;
  max-width: 1392px;
  margin: 0 auto;
  padding: 10px 56px 50px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 34px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand > span:first-child { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand__logo { height: 38px; }
.footer-tagline {
  font-size: 13px;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-nav a {
  text-decoration: none;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  font-size: 14px;
  font-weight: 500;
  transition: color .3s ease;
}
.footer-nav a:hover { color: var(--color-accent-700); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: background .3s ease, color .3s ease;
}
.footer-social a:hover { background: var(--ink); color: #fff; }
.footer-social svg { width: 16px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin-top: 24px;
  font-size: 12.5px;
  color: color-mix(in srgb, var(--ink) 46%, transparent);
}
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-legal { display: flex; gap: 22px; }

/* --- Breadcrumb ---------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: color-mix(in srgb, var(--ink) 52%, transparent);
}
.breadcrumb a {
  text-decoration: none;
  color: var(--color-accent-700);
  font-weight: 600;
}
.breadcrumb--plain a { color: inherit; font-weight: 400; }
.breadcrumb strong { color: var(--ink); font-weight: 500; }

/* --- Grids --------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* --- Motion -------------------------------------------------------------- */
@keyframes pm-bob { 0%, 100% { transform: translateY(-8px); } 50% { transform: translateY(10px); } }
@keyframes pm-bob-2 { 0%, 100% { transform: translateY(9px); } 50% { transform: translateY(-12px); } }
@keyframes pm-bob-3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-9px, -15px); } }
@keyframes pm-helix { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes pm-sheen-svg {
  0% { transform: translateY(0); opacity: 0; }
  35% { opacity: .6; }
  100% { transform: translateY(760px); opacity: 0; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.05s var(--ease), transform 1.05s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1000px) {
  .split,
  .feature-case,
  .feature-case--article,
  .svc-section,
  .svc-section--reverse,
  .art-grid { grid-template-columns: 1fr; }
  .art-side { position: static; order: -1; }
  .split { gap: 40px; }
  .grid-3,
  .grid-4,
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .nav,
  .nav-pill > .btn { display: none; }
  .menu-toggle { display: inline-flex; }

  /* The service and article pages ship reveals disabled below this width —
     the designs were tuned that way after the blocks were seen jumping on
     tablets. */
  body.no-mobile-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 680px) {
  .section,
  .site-footer { padding-inline: 22px; }
  .grid-3,
  .grid-4,
  .svc-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 36px; }
  .cta-band { padding: 70px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .001s !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
