/* =========================================================================
   FindStaff — design system
   Warm paper · deep ink navy · warm amber accent · editorial serif + grotesk
   All themeable tokens live on :root so the Tweaks panel can repaint live.
   ========================================================================= */

:root {
  /* ---- Palette (default: Brand — FindStaff green #006838 + black + cream) ---- */
  --bg:          oklch(0.985 0.006 100);  /* warm cream paper */
  --surface:     oklch(0.998 0.003 100);  /* card / raised */
  --surface-2:   oklch(0.965 0.009 110);  /* subtle warm panel */
  --ink:         oklch(0.185 0.012 160);  /* near-black (logo tab) + dark sections */
  --ink-soft:    oklch(0.31 0.022 165);
  --muted:       oklch(0.50 0.016 165);   /* secondary text */
  --muted-2:     oklch(0.62 0.012 165);
  --line:        oklch(0.905 0.006 110);  /* hairline */
  --line-strong: oklch(0.85 0.009 110);

  --brand:        oklch(0.476 0.117 159); /* #006838 — primary actions */
  --brand-strong: oklch(0.395 0.103 159);
  --brand-tint:   oklch(0.95 0.03 159);

  --accent:      oklch(0.74 0.125 75);    /* warm gold — complements forest green */
  --accent-soft: oklch(0.93 0.05 80);
  --accent-ink:  oklch(0.40 0.07 62);

  /* on dark (ink) sections */
  --on-ink:        oklch(0.97 0.007 105);
  --on-ink-muted:  oklch(0.76 0.012 140);
  --on-ink-line:   oklch(0.33 0.02 160);

  /* ---- Type ---- */
  --font-display: "Spectral", Georgia, "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --display-weight: 500;

  /* ---- Geometry ---- */
  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --shadow-sm: 0 1px 2px oklch(0.2 0.03 256 / 0.06), 0 1px 1px oklch(0.2 0.03 256 / 0.04);
  --shadow-md: 0 12px 30px -12px oklch(0.2 0.03 256 / 0.18), 0 4px 10px -6px oklch(0.2 0.03 256 / 0.10);
  --shadow-lg: 0 40px 80px -28px oklch(0.2 0.03 256 / 0.28), 0 12px 28px -16px oklch(0.2 0.03 256 / 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Tweak palette variants (applied via [data-palette] on <html>) ---- */
:root[data-palette="ink"] {
  --ink:         oklch(0.205 0.03 256);
  --ink-soft:    oklch(0.31 0.035 256);
  --muted:       oklch(0.50 0.02 262);
  --brand:        oklch(0.355 0.07 256);
  --brand-strong: oklch(0.285 0.06 256);
  --brand-tint:   oklch(0.95 0.018 256);
  --accent:      oklch(0.74 0.125 72);
  --accent-soft: oklch(0.93 0.05 78);
  --accent-ink:  oklch(0.34 0.06 60);
  --on-ink-line: oklch(0.32 0.025 256);
}
:root[data-palette="terracotta"] {
  --ink:         oklch(0.215 0.025 40);
  --ink-soft:    oklch(0.32 0.03 40);
  --muted:       oklch(0.50 0.02 45);
  --brand:        oklch(0.515 0.13 42);
  --brand-strong: oklch(0.44 0.12 40);
  --brand-tint:   oklch(0.95 0.03 45);
  --accent:      oklch(0.62 0.085 165);
  --accent-soft: oklch(0.93 0.04 165);
  --accent-ink:  oklch(0.34 0.06 165);
  --on-ink-line: oklch(0.34 0.02 40);
}
:root[data-palette="teal"] {
  --ink:         oklch(0.205 0.03 210);
  --ink-soft:    oklch(0.31 0.035 210);
  --muted:       oklch(0.50 0.02 215);
  --brand:        oklch(0.45 0.085 205);
  --brand-strong: oklch(0.37 0.075 205);
  --brand-tint:   oklch(0.95 0.02 205);
  --accent:      oklch(0.76 0.12 75);
  --accent-soft: oklch(0.93 0.05 78);
  --accent-ink:  oklch(0.34 0.06 60);
  --on-ink-line: oklch(0.32 0.025 210);
}
:root[data-palette="onyx"] {
  --ink:         oklch(0.17 0.004 160);
  --ink-soft:    oklch(0.30 0.01 160);
  --muted:       oklch(0.50 0.008 160);
  --brand:        oklch(0.476 0.117 159);
  --brand-strong: oklch(0.395 0.103 159);
  --brand-tint:   oklch(0.95 0.03 159);
  --accent:      oklch(0.74 0.125 75);
  --accent-soft: oklch(0.93 0.05 80);
  --accent-ink:  oklch(0.40 0.07 62);
  --on-ink-line: oklch(0.30 0.006 160);
}

/* ---- Type pairing variants (applied via [data-type] on <html>) ---- */
:root[data-type="modern"] {
  --font-display: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, sans-serif;
  --display-weight: 700;
}
:root[data-type="classic"] {
  --font-display: "Newsreader", Georgia, serif;
  --font-body:    "Public Sans", system-ui, sans-serif;
  --display-weight: 500;
}

/* =========================================================================
   Reset / base
   ========================================================================= */
*, *::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;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01";
}

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent-soft); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}

p { margin: 0; text-wrap: pretty; }

/* =========================================================================
   Layout primitives
   ========================================================================= */
.shell { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; background: var(--accent); display: inline-block;
}
.eyebrow--center { justify-content: center; }
.on-ink .eyebrow { color: var(--accent); }

.h-display { font-size: clamp(2.6rem, 6.2vw, 5rem); }
.h-1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.h-2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.h-3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

.lead { font-size: clamp(1.06rem, 1.5vw, 1.3rem); color: var(--ink-soft); line-height: 1.55; }
.muted { color: var(--muted); }
.measure { max-width: 60ch; }
.measure-sm { max-width: 46ch; }

.stack > * + * { margin-top: var(--stack, 1rem); }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
  letter-spacing: -0.005em; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: var(--on-ink); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-strong); box-shadow: var(--shadow-md); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn--lg { padding: 17px 30px; font-size: 16.5px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.on-ink .btn--ghost { border-color: var(--on-ink-line); color: var(--on-ink); }
.on-ink .btn--ghost:hover { border-color: var(--on-ink); background: oklch(1 0 0 / 0.06); }
.on-ink .btn--primary { background: var(--on-ink); color: var(--ink); }
.on-ink .btn--primary:hover { background: var(--accent); color: var(--accent-ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--brand);
  transition: gap .25s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 13px; }
.on-ink .link-arrow { color: var(--accent); }

/* =========================================================================
   Dark (ink) sections
   ========================================================================= */
.on-ink { background: var(--ink); color: var(--on-ink); }
.on-ink h1, .on-ink h2, .on-ink h3, .on-ink h4 { color: var(--on-ink); }
.on-ink .lead { color: var(--on-ink-muted); }
.on-ink .muted { color: var(--on-ink-muted); }

/* =========================================================================
   Cards
   ========================================================================= */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

/* =========================================================================
   Image placeholder (image-slot styling hook)
   ========================================================================= */
image-slot {
  --is-bg: var(--surface-2);
  display: block; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg,
      oklch(0.93 0.012 88) 0 13px, oklch(0.957 0.008 88) 13px 26px);
}
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      oklch(0.93 0.01 90) 0 12px, oklch(0.955 0.008 90) 12px 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid; place-items: center;
}
.ph__tag {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px; letter-spacing: 0.02em;
  color: var(--muted); background: var(--surface);
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
}

/* =========================================================================
   Header / nav
   ========================================================================= */
.site-header { position: sticky; top: 0; z-index: 60; }
.topbar {
  background: var(--ink); color: var(--on-ink-muted);
  font-size: 13px; letter-spacing: 0.01em;
}
.topbar .shell { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar a { color: var(--on-ink); }
.topbar__promo { display: inline-flex; align-items: center; gap: 8px; }
.topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar__right a:hover { color: var(--accent); }

.nav {
  background: oklch(0.985 0.006 100 / 0.82);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.nav--scrolled { box-shadow: var(--shadow-sm); background: oklch(0.985 0.006 100 / 0.94); }
.nav .shell { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; }
.brand__img { height: 30px; width: auto; display: block; }
.drawer__head .brand__img { height: 27px; }
.brand__mark {
  width: 32px; height: 32px; border-radius: 9px; background: var(--brand);
  display: grid; place-items: center; color: var(--on-ink); flex: none;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
}
.brand b { font-weight: 600; }
.brand span { color: var(--accent-ink); }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__link {
  position: relative; padding: 9px 14px; border-radius: 9px;
  font-weight: 500; font-size: 15px; color: var(--ink-soft);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover { color: var(--ink); background: var(--surface-2); }
.nav__link.is-active { color: var(--brand); }
.nav__spacer { flex: 1; }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.lang {
  position: relative;
}
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 9px; background: transparent;
  border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-soft);
  transition: border-color .2s, background .2s;
}
.lang__btn:hover { border-color: var(--line-strong); background: var(--surface); }
.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); padding: 6px; z-index: 20;
}
.lang__opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 11px; border-radius: 8px; font-size: 14px; background: transparent; border: none; text-align: left; }
.lang__opt:hover { background: var(--surface-2); }
.lang__opt.is-active { color: var(--brand); font-weight: 600; }

.nav__burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; }
.nav__burger svg { width: 20px; height: 20px; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: oklch(0.2 0.03 256 / 0.4); opacity: 0; transition: opacity .3s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
  background: var(--surface); padding: 22px; transform: translateX(100%);
  transition: transform .38s var(--ease); display: flex; flex-direction: column; gap: 6px;
  box-shadow: var(--shadow-lg);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer__link { padding: 14px 12px; border-radius: 10px; font-size: 18px; font-weight: 500; font-family: var(--font-display); border-bottom: 1px solid var(--line); }
.drawer__link:hover { background: var(--surface-2); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(48px, 7vw, 96px);
}
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 7px 7px 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  font-size: 13.5px; color: var(--ink-soft); font-weight: 500;
}
.hero__pill b { color: var(--brand); font-weight: 700; }
.hero__pill .tag { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.hero h1 { margin-top: 22px; }
.hero .rotator { color: var(--brand); position: relative; display: inline-block; }
.hero__sub { margin-top: 22px; max-width: 50ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust { display: flex; align-items: center; gap: 18px; margin-top: 32px; flex-wrap: wrap; }
.hero__avatars { display: flex; }
.hero__avatars .av { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; background: var(--surface-2); overflow: hidden; }
.hero__avatars .av:first-child { margin-left: 0; }
.hero__trust-txt { font-size: 14px; color: var(--muted); }
.hero__trust-txt b { color: var(--ink); }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 13px; }

/* hero visual */
.hero__visual { position: relative; }
.hero__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.hero__photo image-slot, .hero__photo .ph { width: 100%; height: 100%; border-radius: var(--radius-lg); }
.float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px 16px;
}
.float-card--match { left: -28px; top: 38px; display: flex; align-items: center; gap: 12px; }
.float-card--match .av { width: 44px; height: 44px; border-radius: 11px; background: var(--surface-2); overflow: hidden; flex: none; }
.float-card--match .nm { font-weight: 700; font-size: 14.5px; }
.float-card--match .rl { font-size: 12.5px; color: var(--muted); }
.float-card--match .pct { margin-left: 6px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 12px; padding: 4px 9px; border-radius: 999px; }
.float-card--stat { right: -22px; bottom: 36px; min-width: 168px; }
.float-card--stat .n { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--brand); line-height: 1; }
.float-card--stat .l { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.float-card--stat .bars { display: flex; gap: 4px; margin-top: 12px; align-items: flex-end; height: 30px; }
.float-card--stat .bars i { flex: 1; background: var(--brand-tint); border-radius: 3px; }
.float-card--stat .bars i:nth-child(2){ background: var(--accent); }

/* =========================================================================
   Logo strip
   ========================================================================= */
.logos { border-block: 1px solid var(--line); }
.logos .shell { padding-block: 32px; }
.logos__label { text-align: center; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.logos__row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.logo-chip { height: 30px; flex: 1; min-width: 110px; display: grid; place-items: center; opacity: .62; transition: opacity .3s; }
.logo-chip:hover { opacity: 1; }
.logo-chip span { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink-soft); letter-spacing: -0.01em; }

/* =========================================================================
   Section header
   ========================================================================= */
.sec-head { max-width: 720px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec-head p { margin-top: 16px; }

/* =========================================================================
   Value props
   ========================================================================= */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
.value__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.value__icon svg { width: 23px; height: 23px; }
.value h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* =========================================================================
   Partner / feature rows
   ========================================================================= */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 52px; }
.feat {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, transform .3s var(--ease);
}
.feat:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.feat__num { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; }
.feat h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feat p { font-size: 14.5px; color: var(--muted); }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev { grid-template-columns: 1.1fr 0.9fr; }
.split__media { aspect-ratio: 5/4; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split__media image-slot, .split__media .ph { width: 100%; height: 100%; border-radius: var(--radius-lg); }

/* =========================================================================
   Industries (tabs)
   ========================================================================= */
.ind { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 60px); margin-top: 52px; align-items: start; }
.ind__tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 120px; }
.ind__tab {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm);
  text-align: left; background: transparent; border: 1px solid transparent; width: 100%;
  transition: background .25s var(--ease), border-color .25s;
}
.ind__tab:hover { background: var(--surface-2); }
.ind__tab.is-active { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-sm); }
.ind__tab-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); color: var(--ink-soft); display: grid; place-items: center; flex: none; transition: background .25s, color .25s; }
.ind__tab-ico svg { width: 20px; height: 20px; }
.ind__tab.is-active .ind__tab-ico { background: var(--brand); color: var(--on-ink); }
.ind__tab-tx b { display: block; font-weight: 600; font-size: 15.5px; }
.ind__tab-tx span { font-size: 12.5px; color: var(--muted); }
.ind__panel { position: relative; }
.ind__media { aspect-ratio: 16/10; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 26px; }
.ind__media image-slot, .ind__media .ph { width: 100%; height: 100%; border-radius: var(--radius-lg); }
.ind__panel h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.ind__panel p { color: var(--ink-soft); max-width: 58ch; }
.ind__roles { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.ind__role { font-size: 13.5px; font-weight: 500; padding: 8px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft); }
.fade-swap { animation: fadeSwap .5s var(--ease); }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* =========================================================================
   Roles marquee
   ========================================================================= */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: scrollx 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.role-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--on-ink-line); font-family: var(--font-display); font-size: 1.15rem; white-space: nowrap; }
.role-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* =========================================================================
   Process
   ========================================================================= */
.proc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; counter-reset: step; }
.proc__step { position: relative; padding: 30px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s; }
.proc__step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.proc__n { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--accent-ink); }
.proc__num { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.4rem); font-weight: 500; color: var(--brand-tint); line-height: 0.9; margin: 6px 0 14px; }
.proc__step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.proc__step p { color: var(--muted); font-size: 15px; }
.proc__arrow { position: absolute; right: -16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; z-index: 2; color: var(--brand); }
.proc__arrow svg { width: 15px; height: 15px; }

/* =========================================================================
   Stats band
   ========================================================================= */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { text-align: center; padding: 18px; }
.stat__n { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 600; line-height: 1; color: var(--on-ink); }
.stat__n span { color: var(--accent); }
.stat__l { margin-top: 12px; font-size: 15px; color: var(--on-ink-muted); letter-spacing: 0.02em; }
.stats__div { width: 1px; background: var(--on-ink-line); }

/* =========================================================================
   Testimonials
   ========================================================================= */
.testi { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.testi__quote { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.32; letter-spacing: -0.01em; }
.testi__quote b { color: var(--brand); font-weight: 500; }
.testi__person { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.testi__av { width: 54px; height: 54px; border-radius: 50%; background: var(--surface-2); overflow: hidden; flex: none; border: 1px solid var(--line); }
.testi__person .nm { font-weight: 700; }
.testi__person .rl { font-size: 13.5px; color: var(--muted); }
.testi__nav { display: flex; gap: 10px; margin-top: 34px; }
.testi__dot { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; color: var(--ink-soft); transition: background .25s, color .25s, border-color .25s; }
.testi__dot:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.testi__count { font-family: var(--font-display); font-size: 15px; color: var(--muted); display: flex; align-items: center; margin-left: 6px; }
.testi__big { font-family: var(--font-display); font-size: clamp(8rem, 20vw, 16rem); line-height: 0.8; color: var(--brand-tint); user-select: none; }

/* =========================================================================
   Candidates teaser
   ========================================================================= */
.cands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.cand { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; cursor: pointer; }
.cand:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cand__photo { aspect-ratio: 1; background: var(--surface-2); position: relative; overflow: hidden; }
.cand__photo .ph { width: 100%; height: 100%; border-radius: 0; border: none; }
.cand__flag { position: absolute; top: 10px; left: 10px; font-size: 12px; background: oklch(1 0 0 / 0.9); padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.cand__verify { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--on-ink); display: grid; place-items: center; }
.cand__verify svg { width: 14px; height: 14px; }
.cand__body { padding: 16px 18px; }
.cand__role { font-weight: 700; font-size: 15.5px; }
.cand__meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.cand__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cand__tag { font-size: 11.5px; padding: 4px 9px; border-radius: 7px; background: var(--surface-2); color: var(--ink-soft); }

/* candidate modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__scrim { position: absolute; inset: 0; background: oklch(0.2 0.03 256 / 0.5); opacity: 0; transition: opacity .3s; backdrop-filter: blur(3px); }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__card { position: relative; width: min(560px, 100%); background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; transform: scale(0.96) translateY(8px); opacity: 0; transition: transform .35s var(--ease), opacity .35s; }
.modal.is-open .modal__card { transform: none; opacity: 1; }
.modal__head { display: flex; gap: 18px; padding: 26px; border-bottom: 1px solid var(--line); }
.modal__av { width: 84px; height: 84px; border-radius: 16px; background: var(--surface-2); overflow: hidden; flex: none; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); border: none; display: grid; place-items: center; }
.modal__close:hover { background: var(--line); }
.modal__body { padding: 26px; }
.modal__row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.modal__row span { color: var(--muted); }
.modal__row b { font-weight: 600; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { max-width: 820px; margin-top: 44px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 24px 4px; background: transparent; border: none; text-align: left; font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 500; color: var(--ink); }
.faq__q:hover { color: var(--brand); }
.faq__icon { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; position: relative; transition: background .25s, border-color .25s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--ink); transition: transform .3s var(--ease), background .25s; }
.faq__icon::before { width: 12px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 12px; }
.faq__item.is-open .faq__icon { background: var(--brand); border-color: var(--brand); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: var(--on-ink); }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.faq__a-inner { padding: 0 4px 26px; color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 64ch; }
.faq__a-inner ul { margin: 10px 0 0; padding-left: 18px; }
.faq__a-inner li { margin-top: 5px; }

/* =========================================================================
   CTA banner
   ========================================================================= */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 76px); background: var(--ink); color: var(--on-ink); }
.cta-band__inner { position: relative; z-index: 2; max-width: 640px; }
.cta-band h2 { color: var(--on-ink); }
.cta-band__glow { position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0%, transparent 65%); opacity: 0.22; }
.cta-band .btn-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }

/* =========================================================================
   Contact form
   ========================================================================= */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__aside .ci { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__aside .ci-ico { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact__aside .ci-ico svg { width: 20px; height: 20px; }
.contact__aside .ci b { display: block; font-size: 15px; }
.contact__aside .ci span { font-size: 14px; color: var(--muted); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.field label .req { color: var(--accent-ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 13px 15px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: oklch(0.55 0.18 25); }
.field__err { font-size: 12.5px; color: oklch(0.52 0.18 25); min-height: 0; }
.form__submit { margin-top: 8px; }
.form__note { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }

.form-success { text-align: center; padding: clamp(30px, 5vw, 56px) 20px; }
.form-success__ico { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin: 0 auto 20px; animation: pop .5s var(--ease); }
.form-success__ico svg { width: 30px; height: 30px; }
@keyframes pop { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { background: var(--ink); color: var(--on-ink-muted); padding-block: clamp(56px, 7vw, 88px) 28px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid var(--on-ink-line); }
.footer .brand { color: var(--on-ink); }
.footer__about { font-size: 14.5px; max-width: 38ch; margin-top: 18px; line-height: 1.6; }
.footer__lic { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 12.5px; padding: 6px 12px; border: 1px solid var(--on-ink-line); border-radius: 999px; }
.footer__lic .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.footer__col h4 { font-family: var(--font-body); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 18px; font-weight: 700; }
.footer__col a { display: block; color: var(--on-ink); padding: 6px 0; font-size: 14.5px; opacity: 0.82; transition: opacity .2s, color .2s; }
.footer__col a:hover { opacity: 1; color: var(--accent); }
.footer__news p { font-size: 14px; margin-bottom: 16px; }
.footer__news form { display: flex; gap: 8px; }
.footer__news input { flex: 1; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--on-ink-line); background: oklch(1 0 0 / 0.04); color: var(--on-ink); font: inherit; font-size: 14px; }
.footer__news input::placeholder { color: var(--on-ink-muted); }
.footer__news input:focus { outline: none; border-color: var(--accent); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; flex-wrap: wrap; font-size: 13px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--on-ink-line); display: grid; place-items: center; opacity: 0.82; transition: opacity .2s, background .2s, border-color .2s; }
.footer__social a:hover { opacity: 1; background: oklch(1 0 0 / 0.06); border-color: var(--accent); }
.footer__social svg { width: 17px; height: 17px; }

/* =========================================================================
   Reveal on scroll
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================================
   Page hero (sub-pages)
   ========================================================================= */
.pagehero { background: var(--ink); color: var(--on-ink); padding-block: clamp(64px, 9vw, 130px) clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.pagehero__glow { position: absolute; left: 50%; top: -160px; width: 600px; height: 600px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, var(--accent) 0%, transparent 62%); opacity: 0.14; }
.pagehero .shell { position: relative; z-index: 2; }
.pagehero h1 { color: var(--on-ink); max-width: 16ch; }
.pagehero .lead { margin-top: 22px; max-width: 56ch; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--on-ink-muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 13px; height: 13px; opacity: .6; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1080px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .cands { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .lang { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; }
  .ind { grid-template-columns: 1fr; }
  .ind__tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
  .ind__tab { flex: none; }
  .proc { grid-template-columns: 1fr; }
  .proc__arrow { display: none; }
  .testi { grid-template-columns: 1fr; }
  .testi__big { display: none; }
  .contact { grid-template-columns: 1fr; }
  .split, .split--rev { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .cands { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats__div { display: none; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .float-card--match { left: 0; }
  .float-card--stat { right: 0; }
  .topbar__promo { display: none; }
}
