/* ==========================================================================
   people advisory – Design System
   Apple-inspired: large type, generous whitespace, restrained color,
   soft depth. Brand: green #7EB78C, teal #007A9B. Font: Jost (self-hosted).
   ========================================================================== */

/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-Variable.woff2") format("woff2-variations"),
       url("../fonts/Jost-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-017F, U+0180-024F, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-Italic-Variable.woff2") format("woff2-variations"),
       url("../fonts/Jost-Italic-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-017F, U+0180-024F, U+2000-206F, U+20AC, U+2122, U+2212;
}

/* ---------- Tokens ---------- */
:root {
  --green: #7EB78C;
  --green-deep: #5E9E6E;
  --green-tint: #EEF6F0;
  --teal: #007A9B;
  --teal-deep: #005E78;
  --teal-tint: #E6F2F5;
  --yellow: #F2E240;

  --ink: #1D1D1F;
  --ink-2: #424245;
  --ink-3: #6E6E73;
  --ink-4: #86868B;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);

  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --bg-dark: #0B1F27;
  --bg-dark-2: #12303A;

  --font: "Jost", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --radius-s: 12px;
  --radius: 20px;
  --radius-l: 28px;

  --shadow-s: 0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.05);
  --shadow: 0 2px 6px rgba(0,0,0,.05), 0 16px 40px rgba(0,0,0,.08);
  --shadow-l: 0 8px 24px rgba(0,0,0,.08), 0 40px 80px rgba(0,0,0,.12);

  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(20px, 5vw, 48px);

  --nav-h: 80px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(126,183,140,.35); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow--green { color: var(--green-deep); }
.eyebrow--muted { color: var(--ink-3); }
.eyebrow--light { color: #9FD3B0; }

.display {
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.028em;
}
.h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.h3 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.h4 {
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.4;
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.body-l { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }
.accent { color: var(--green); }
.accent-teal { color: var(--teal); }
.gradient-text {
  background: linear-gradient(100deg, var(--teal) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), var(--container-narrow)); margin-inline: auto; }
.container--wide { width: min(100% - 2 * var(--gutter), 1400px); margin-inline: auto; }
.section { padding-block: clamp(80px, 12vw, 160px); }
.section--tight { padding-block: clamp(56px, 8vw, 110px); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark .lead, .section--dark .muted, .section--dark .body-l { color: rgba(255,255,255,.72); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 20px; }
.stack > * + * { margin-top: 1em; }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--5 .card { padding: clamp(20px, 2vw, 26px); display: flex; flex-direction: column; }
.grid--5 .card .link { margin-top: auto; padding-top: 18px; }
.grid--5 .card__text { font-size: 15px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1180px) { .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) { .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 17px; font-weight: 500; line-height: 1;
  background: var(--ink); color: #fff;
  transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: #000; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-deep); box-shadow: 0 10px 30px rgba(126,183,140,.45); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-deep); box-shadow: 0 10px 30px rgba(0,122,155,.35); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { background: rgba(0,0,0,.04); box-shadow: inset 0 0 0 1.5px var(--ink); }
.section--dark .btn--ghost, .page-hero--dark .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.section--dark .btn--ghost:hover, .page-hero--dark .btn--ghost:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--l { padding: 18px 32px; font-size: 19px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--teal); font-weight: 500;
  transition: gap .3s var(--ease);
}
.link:hover { gap: 10px; }
.link svg { width: 16px; height: 16px; flex: none; }
.link--green { color: var(--green-deep); }
.section--dark .link { color: #9FD3B0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.is-scrolled { background: rgba(255,255,255,.85); border-bottom-color: var(--line); }
.nav--dark { background: rgba(11,31,39,.72); color: #fff; }
.nav--dark.is-scrolled { background: rgba(11,31,39,.85); border-bottom-color: rgba(255,255,255,.1); }
.nav__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo { display: flex; align-items: center; height: 100%; }
.nav__logo img { height: 56px; width: auto; }
@media (max-width: 900px) { .nav__logo img { height: 46px; } }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav__links a {
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  color: var(--ink-2); opacity: .9;
  transition: color .2s, opacity .2s;
  position: relative; padding: 6px 0;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); opacity: 1; }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px; background: var(--green);
}
.nav--dark .nav__links a { color: rgba(255,255,255,.85); }
.nav--dark .nav__links a:hover, .nav--dark .nav__links a[aria-current="page"] { color: #fff; }
.nav__links .nav__cta { font-size: 14px; padding: 10px 18px; color: #fff; opacity: 1; }
.nav__links .nav__cta:hover { color: #fff; }
.nav--dark .nav__links .nav__cta, .nav--dark .nav__links .nav__cta:hover { color: #fff; }
.nav__burger {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  align-items: center; justify-content: center; position: relative;
}
.nav__burger span {
  position: absolute; left: 12px; width: 20px; height: 1.6px; background: currentColor;
  transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease);
}
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 26px; }
.nav.is-open .nav__burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 16px var(--gutter) 40px;
    background: #fff;
    height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h));
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .35s var(--ease), transform .45s var(--ease);
    overflow-y: auto;
  }
  .nav--dark .nav__links { background: var(--bg-dark); }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a {
    font-size: 26px; font-weight: 500; letter-spacing: -0.02em;
    padding: 16px 0; width: 100%; border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .nav--dark .nav__links a { border-bottom-color: rgba(255,255,255,.1); }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__links a[aria-current="page"] { color: var(--green-deep); }
  .nav__links .nav__cta { margin-top: 24px; width: auto; border: 0; font-size: 18px; padding: 16px 28px; color: #fff; }
  .nav__burger { display: flex; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(72px, 12vw, 160px));
  padding-bottom: clamp(40px, 8vw, 100px);
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(126,183,140,.22), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(0,122,155,.16), transparent 70%),
    linear-gradient(#fff, #fff);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__media { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); aspect-ratio: 4 / 3; }
.hero__media picture { height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); border-radius: inherit; pointer-events: none; }
.hero__badge {
  position: absolute; left: 20px; bottom: 20px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  box-shadow: var(--shadow-s);
}
@media (max-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } .hero { min-height: 0; } .hero__media { max-width: 640px; } .hero__scroll { display: none; } }
.hero__title { max-width: 14ch; }
.hero__title .word { display: inline-block; }
.hero__claim { margin-top: 28px; max-width: 24ch; color: var(--ink); font-size: clamp(21px, 2.4vw, 28px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.hero__lead { max-width: 640px; margin-top: 16px; }
.hero__lead + .hero__lead { margin-top: 14px; }
.hero__title { font-size: clamp(40px, 6.4vw, 80px); }
.hero__actions { margin-top: 40px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px;
  border: 1.5px solid var(--line-strong);
}
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px;
  border-radius: 2px; background: var(--ink-3); transform: translateX(-50%);
  animation: scrollhint 1.8s var(--ease-io) infinite;
}
@keyframes scrollhint { 0% { transform: translate(-50%, 0); opacity: 1; } 70% { transform: translate(-50%, 14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(64px, 10vw, 140px));
  padding-bottom: clamp(48px, 8vw, 110px);
}
.page-hero--dark {
  background: radial-gradient(70% 60% at 85% 0%, rgba(126,183,140,.28), transparent 60%),
              radial-gradient(60% 50% at 0% 100%, rgba(0,122,155,.35), transparent 60%),
              var(--bg-dark);
  color: #fff;
}
.page-hero--dark .lead { color: rgba(255,255,255,.75); }
.page-hero__lead { margin-top: 24px; max-width: 700px; }
.page-hero--tight { padding-bottom: clamp(28px, 4vw, 44px); }
.section--flush-top { padding-top: 0; }
.page-hero__actions { margin-top: 36px; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-s);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card--flat { box-shadow: none; border: 1px solid var(--line); }
.card--flat:hover { box-shadow: var(--shadow-s); }
.card--tint { background: var(--bg-alt); box-shadow: none; }
.card--dark { background: var(--bg-dark-2); color: #fff; }
.card--dark .muted { color: rgba(255,255,255,.65); }
.card__icon {
  width: 56px; height: 56px; margin-bottom: 22px;
  display: grid; place-items: center;
  border-radius: 16px; background: var(--bg-alt);
}
.card__icon img { width: 34px; height: 34px; }
.card__icon--dark { background: rgba(255,255,255,.08); }
.card__title { margin-bottom: 10px; }
.card__text { color: var(--ink-3); font-size: 16px; line-height: 1.55; }
.card .link { margin-top: 18px; }

/* Feature tiles with image (Apple "bento") */
.tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--bg-alt);
  min-height: 420px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  isolation: isolate;
}
.tile__img { position: absolute; inset: 0; z-index: -2; }
.tile__img picture { height: 100%; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.04); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,0) 100%);
}
.tile__body { padding: clamp(24px, 3.4vw, 40px); }
.tile__kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-bottom: 10px; }
.tile__title { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; }
.tile__text { margin-top: 10px; opacity: .85; max-width: 46ch; font-size: 16px; }
.tile .link { margin-top: 16px; color: #fff; }
.tile--tall { min-height: 560px; }

/* ---------- Media + text split ---------- */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.split--reverse > :first-child { order: 2; }
.split__media { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.split__media picture { height: 100%; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--portrait { aspect-ratio: 3 / 4; }
.split__body .h2, .split__body .h3 { margin-bottom: 20px; }
.split__body .stack p { color: var(--ink-2); }
.section--dark .split__body .stack p { color: rgba(255,255,255,.78); }
.section--dark .split__body .stack p.muted { color: rgba(255,255,255,.62); }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse > :first-child { order: 0; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.stat__value { font-size: clamp(44px, 6vw, 76px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.stat__label { margin-top: 10px; color: var(--ink-3); font-size: 15px; }
.section--dark .stat__label { color: rgba(255,255,255,.6); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ---------- Timeline / process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px; padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-size: clamp(36px, 4vw, 52px); line-height: 1; font-weight: 600; letter-spacing: -0.04em;
  color: var(--green);
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step__title { margin-bottom: 10px; }
.step__text { color: var(--ink-2); max-width: 64ch; }
.step__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px;
  background: var(--bg-alt); color: var(--ink-2);
}
.section--dark .tag, .section--dark .step { border-color: rgba(255,255,255,.12); }
.section--dark .tag { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.section--dark .step__text { color: rgba(255,255,255,.72); }
@media (max-width: 640px) { .step { grid-template-columns: minmax(0,1fr); gap: 10px; } }

/* ---------- Checklist ---------- */
.checks { display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 12px; align-items: start; color: var(--ink-2); }
.checks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center / 13px no-repeat;
}
.section--dark .checks li { color: rgba(255,255,255,.8); }

/* ---------- Quote ---------- */
.quote { position: relative; padding-left: 28px; border-left: 3px solid var(--green); }
.quote__text { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; font-weight: 400; letter-spacing: -0.01em; font-style: italic; }
.quote__cite { display: block; margin-top: 14px; color: var(--ink-3); font-size: 15px; font-style: normal; }

/* ---------- Sub navigation (product page style) ---------- */
.subnav {
  position: sticky; top: var(--nav-h); z-index: 90;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.subnav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 52px; }
.subnav__title { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.subnav__links { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__links a { font-size: 13px; color: var(--ink-3); white-space: nowrap; padding: 4px 0; transition: color .2s; }
.subnav__links a:hover, .subnav__links a.is-active { color: var(--ink); }
@media (max-width: 760px) {
  .subnav__title { display: none; }
  .subnav__inner { height: auto; padding: 10px 0; }
  .subnav__links { flex-wrap: wrap; gap: 6px 6px; overflow: visible; width: 100%; }
  .subnav__links a { font-size: 12px; font-weight: 500; padding: 7px 11px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-2); }
  .subnav__links a.is-active { background: var(--ink); color: #fff; }
}

/* ---------- Marquee / logo strip ---------- */
.strip { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; color: var(--ink-3); font-size: 15px; }
.strip strong { color: var(--ink); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta {
  border-radius: var(--radius-l);
  padding: clamp(40px, 6vw, 80px);
  background:
    radial-gradient(70% 90% at 90% 10%, rgba(126,183,140,.55), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(0,122,155,.6), transparent 60%),
    var(--bg-dark);
  color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center;
}
.cta .lead { color: rgba(255,255,255,.78); margin-top: 14px; }
@media (max-width: 860px) { .cta { grid-template-columns: minmax(0,1fr); } }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); padding: clamp(48px, 7vw, 88px) 0 40px; color: var(--ink-3); font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__logo img { height: 56px; width: auto; }
.footer__tag { margin-top: 16px; max-width: 30ch; color: var(--ink-3); }
.footer h4 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.footer ul { display: grid; gap: 9px; }
.footer a { color: var(--ink-3); transition: color .2s; }
.footer a:hover { color: var(--ink); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; }
.footer__bottom ul { display: flex; gap: 20px; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Legal text pages ---------- */
.legal { padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 120px)); padding-bottom: clamp(80px, 10vw, 140px); }
.legal .h1 { margin-bottom: 14px; }
.legal .lead { margin-bottom: clamp(36px, 5vw, 64px); }
.legal h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -0.015em; margin: 48px 0 14px; }
.legal h3 { font-size: 19px; font-weight: 600; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.6; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin-top: 10px; }
.legal a { color: var(--teal); }
.legal a:hover { text-decoration: underline; }
.legal address { font-style: normal; color: var(--ink-2); line-height: 1.7; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll::after { animation: none; }
  .tile__img img, .card, .btn { transition: none; }
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; } .mt-6 { margin-top: 64px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }


/* ---------- Beratung page ---------- */
/* Deep links (beratung.html#organisation) must clear the fixed nav + subnav. */
.section[id] { scroll-margin-top: calc(var(--nav-h) + 64px); }

/* Topic icon sits on tinted sections too – keep the plate readable there. */
.section--alt .card__icon { background: #fff; box-shadow: var(--shadow-s); }

/* Ghost button on the dark CTA band. */
.cta .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.cta .btn--ghost:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px #fff; }

/* ---------- SuccessFactors page ---------- */
.sf-hero { padding-bottom: clamp(56px, 9vw, 120px); overflow: hidden; }
.sf-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 960px) { .sf-hero__grid { grid-template-columns: minmax(0, 1fr); } }
.sf-board {
  position: relative; padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 80px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.sf-board__row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.sf-board__label { margin-top: 18px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.sf-chip {
  display: inline-block; padding: 12px 18px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.08);
}
.sf-chip--core { background: var(--green); border-color: transparent; color: #fff; box-shadow: 0 8px 24px rgba(126,183,140,.35); }
.sf-chip--outline { background: transparent; border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.8); }
@media (max-width: 960px) { .sf-board { max-width: 560px; } }

.sf-claims { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(20px, 3vw, 40px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.sf-claim__value { font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--teal); }
.sf-claim__label { margin-top: 12px; color: var(--ink-3); font-size: 16px; line-height: 1.5; }
@media (max-width: 760px) { .sf-claims { grid-template-columns: minmax(0,1fr); } }

.sf-flow { display: grid; gap: 0; position: relative; padding-left: 8px; }
.sf-flow li { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 18px; align-items: start; position: relative; padding: 18px 0; }
.sf-flow li + li::before { content: ""; position: absolute; left: 21px; top: -22px; height: 40px; width: 2px; background: linear-gradient(var(--green), rgba(126,183,140,.25)); border-radius: 2px; }
.sf-flow__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--green-deep); font-weight: 600; box-shadow: var(--shadow-s); font-size: 16px; position: relative; z-index: 1; }
.sf-flow strong { display: block; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.sf-flow span:not(.sf-flow__n) { display: block; color: var(--ink-3); font-size: 15px; margin-top: 2px; }

.sf-roles { padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--bg-alt); }
.sf-roles__label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; font-weight: 600; }
.sf-roles .strip span { color: var(--ink-4); }

.sf-scorecard { border-radius: var(--radius-l); padding: clamp(22px, 3vw, 32px); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.sf-scorecard__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; margin-bottom: 20px; letter-spacing: -0.01em; }
.sf-scorecard__hint { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.sf-scorecard__row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 48px; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 15px; color: rgba(255,255,255,.85); }
.sf-scorecard__row b { text-align: right; font-weight: 600; color: #fff; }
.sf-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.sf-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--teal), var(--green)); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.reveal.is-visible .sf-bar i { transform: scaleX(1); }
.sf-bar--30 i { width: 30%; } .sf-bar--20 i { width: 20%; } .sf-bar--15 i { width: 15%; }
.sf-scorecard__foot { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; }
@media (max-width: 480px) { .sf-scorecard__row { grid-template-columns: minmax(0,1fr) 48px; } .sf-scorecard__row .sf-bar { grid-column: 1 / -1; } }

.sf-process { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
.sf-process__col { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 18px 20px; border-radius: var(--radius); background: var(--bg-alt); }
.sf-process__col--accent { background: var(--green-tint); }
.sf-process__col--accent .tag { color: var(--green-deep); }
.sf-process__col .tag { background: #fff; line-height: 1.35; white-space: normal; border-radius: 999px; padding: 9px 14px; font-size: 14px; box-shadow: var(--shadow-s); }
.sf-process__head { flex-basis: 100%; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
.sf-process__col--accent .sf-process__head { color: var(--green-deep); }


/* ---------- Team & Kontakt pages ---------- */
/* The contact nav item is a pill button – the underline marker would clash. */
.nav__links .nav__cta[aria-current="page"]::after { display: none; }

/* Profile splits: long copy beside a portrait – align to the top and let the
   portrait travel along on wide screens. */
.split--top { align-items: start; }
@media (min-width: 861px) {
  .split__media--sticky { position: sticky; top: calc(var(--nav-h) + 40px); }
}

/* Wide, calm image band (contact page). */
.media-band { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 21 / 9; }
.media-band img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .media-band { aspect-ratio: 3 / 2; } }

/* Postal address inside a card – no browser italics. */
.card address { font-style: normal; line-height: 1.6; }

/* ---------- Contact form (mailto only – no server, no tracking) ---------- */
@media (max-width: 640px) { .sf-roles .strip span { display: none; } .sf-roles .strip { gap: 8px 16px; } }




/* ---------- Contact cards ---------- */
.contact-card { display: flex; flex-direction: column; }
.contact-card__value { font-size: clamp(19px, 1.8vw, 22px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 10px; font-style: normal; color: var(--ink); }
.contact-card .card__text { flex: 1; }
