/* ==========================================================================
   ZENITH Services RDC — design system « Zénith »
   Palette derived from the brand mark: violet wordmark + golden sun.
   ========================================================================== */

:root {
  /* brand family */
  --ink: #241436;
  --ink-2: #33204c;
  --ink-3: #432b62;
  --plum: #5b2e91;
  --brand: #8a5bc7;
  --brand-2: #a678d8;
  --brand-soft: #f1eafa;
  --brand-line: #ddcdf0;
  /* sun + accents */
  --gold: #f5c400;
  --gold-2: #ffdf5e;
  --gold-deep: #c79a00;
  --gold-soft: #fff6d8;
  --magenta: #d6409f;
  --sky: #3e6de0;
  /* semantic */
  --success: #12805c;
  --success-soft: #e2f5ec;
  --warning: #b45309;
  --warning-soft: #fdefdc;
  --danger: #c63d3d;
  --danger-soft: #fbe9e9;
  --info: #2b62c9;
  --info-soft: #e6eefb;
  /* neutrals: warm paper vs cool violet-tinted lines */
  --paper: #fbf8f3;
  --paper-2: #f5efe6;
  --surface: #ffffff;
  --line: #e8e0ef;
  --line-2: #d8cde4;
  --text: #2c2138;
  --muted: #6f6584;
  --muted-2: #948aa6;
  --on-dark: #f4eefc;
  --on-dark-muted: #bcaed2;
  /* shape + depth */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(36, 20, 54, .06), 0 4px 14px rgba(36, 20, 54, .07);
  --sh-2: 0 2px 6px rgba(36, 20, 54, .08), 0 14px 34px rgba(36, 20, 54, .12);
  --sh-3: 0 6px 16px rgba(36, 20, 54, .14), 0 28px 60px rgba(36, 20, 54, .18);
  --sh-gold: 0 10px 30px rgba(245, 196, 0, .35);
  /* type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  /* layout */
  --header-h: 74px;
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.22, .8, .28, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { left: 0; }

/* scrollbar in brand language */
html { scrollbar-color: var(--brand) var(--paper-2); scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--brand), var(--plum)); border-radius: 8px; border: 3px solid var(--paper-2); }
::-webkit-scrollbar-thumb:hover { background: var(--plum); }

/* ---------- layout helpers ---------- */
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--plum); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.section--ink .kicker { color: var(--gold-2); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted); }
.section--ink .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons / chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 600 .95rem/1 var(--font-body); letter-spacing: .01em;
  padding: 15px 26px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--primary { background: linear-gradient(135deg, var(--brand), var(--plum)); color: #fff; box-shadow: var(--sh-2); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--sh-3); }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); box-shadow: var(--sh-gold); }
.btn--gold:hover { color: var(--ink); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--brand); color: var(--plum); transform: translateY(-2px); box-shadow: var(--sh-1); }
.btn--on-dark { border-color: rgba(244, 238, 252, .35); color: var(--on-dark); background: rgba(255, 255, 255, .04); }
.btn--on-dark:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .92rem; color: var(--plum); text-decoration: none; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover .icon { transform: translateX(4px); }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 15px;
  border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: var(--surface);
  font: 600 .8rem/1 var(--font-body); color: var(--muted); cursor: pointer;
  transition: all .22s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--plum); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--gold-2); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: var(--r-pill); font: 600 .72rem/1.4 var(--font-body); letter-spacing: .02em; }
.tag--gold { background: var(--gold-soft); color: var(--gold-deep); }
.tag--brand { background: var(--brand-soft); color: var(--plum); }
.tag--success { background: var(--success-soft); color: var(--success); }
.tag--info { background: var(--info-soft); color: var(--info); }
.tag--warning { background: var(--warning-soft); color: var(--warning); }

/* ---------- cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px; box-shadow: var(--sh-1); position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--brand-line); }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-soft), #fff); color: var(--plum);
  border: 1px solid var(--brand-line); margin-bottom: 18px; transition: transform .3s var(--ease);
}
.card:hover .card__icon { transform: rotate(-6deg) scale(1.06); }
.card__icon .icon { width: 24px; height: 24px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(251, 248, 243, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(36, 20, 54, .08); background: rgba(251, 248, 243, .94); }
.header-in { height: var(--header-h); display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { list-style: none; position: relative; }
.nav > li > a {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--r-pill);
  font: 600 .9rem/1 var(--font-body); color: var(--text); text-decoration: none; transition: background .22s, color .22s;
}
.nav > li > a:hover { background: var(--brand-soft); color: var(--plum); }
.nav > li > a.is-active { color: var(--plum); background: var(--brand-soft); box-shadow: inset 0 -2px 0 var(--gold); }
.nav .caret { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav li.is-open > a .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 264px; margin: 0; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); list-style: none;
}
.nav li.is-open > .dropdown, .nav li:hover > .dropdown, .nav li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); font: 500 .88rem/1.3 var(--font-body); color: var(--text); text-decoration: none; }
.dropdown a:hover { background: var(--brand-soft); color: var(--plum); }
.dropdown a .icon { width: 17px; height: 17px; color: var(--brand); }
.dropdown a.is-active { background: var(--gold-soft); color: var(--ink); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface); cursor: pointer; place-items: center; color: var(--ink); }
.burger .icon { width: 22px; height: 22px; }
/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(36, 20, 54, .5); opacity: 0; transition: opacity .3s; backdrop-filter: blur(3px); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
  background: var(--paper); box-shadow: var(--sh-3); padding: 22px; overflow-y: auto;
  transform: translateX(102%); transition: transform .38s var(--ease); display: flex; flex-direction: column; gap: 6px;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer__head img { height: 40px; }
.drawer__close { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-radius: var(--r-sm); font: 600 .98rem/1.2 var(--font-body); color: var(--text); text-decoration: none; }
.drawer nav a:hover, .drawer nav a.is-active { background: var(--brand-soft); color: var(--plum); }
.drawer nav a[data-sub] { padding-left: 30px; font-weight: 500; font-size: .9rem; color: var(--muted); }
.drawer nav a[data-sub].is-active { color: var(--plum); }
.drawer__foot { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; color: var(--on-dark); overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 92px)) 0 clamp(64px, 8vw, 110px);
  background:
    radial-gradient(52% 68% at 82% 12%, rgba(214, 64, 159, .34), transparent 62%),
    radial-gradient(46% 60% at 12% 88%, rgba(138, 91, 199, .42), transparent 65%),
    radial-gradient(38% 46% at 68% 82%, rgba(245, 196, 0, .22), transparent 60%),
    linear-gradient(160deg, #2b1a41 0%, var(--ink) 46%, #1a0e29 100%);
}
.hero::after { /* grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}
.hero__sun { position: absolute; top: -140px; right: -120px; width: 520px; height: 520px; opacity: .16; animation: sunspin 90s linear infinite; pointer-events: none; }
@keyframes sunspin { to { transform: rotate(360deg); } }
/* hero illustrative background (home only) — subtle triptych under a plum scrim */
.hero__bg { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(3, 1fr); pointer-events: none; }
.hero__bg-panel { overflow: hidden; }
.hero__bg-panel + .hero__bg-panel { border-left: 1px solid rgba(245, 196, 0, .14); }
.hero__bg-panel img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: .34; filter: saturate(.82) contrast(1.04);
  animation: heroDrift 38s var(--ease) infinite alternate;
}
.hero__bg-panel:nth-child(1) img { transform-origin: 30% 40%; }
.hero__bg-panel:nth-child(2) img { transform-origin: 60% 30%; animation-delay: -13s; }
.hero__bg-panel:nth-child(3) img { transform-origin: 45% 65%; animation-delay: -26s; }
@keyframes heroDrift { from { transform: scale(1.05); } to { transform: scale(1.14) translateY(-2%); } }
.hero__bg-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 14, 41, .88) 0%, rgba(26, 14, 41, 0) 24%, rgba(26, 14, 41, 0) 72%, rgba(26, 14, 41, .92) 100%),
    linear-gradient(90deg, rgba(36, 20, 54, .93) 0%, rgba(36, 20, 54, .78) 34%, rgba(43, 26, 65, .46) 66%, rgba(36, 20, 54, .62) 100%),
    linear-gradient(160deg, rgba(91, 46, 145, .30), rgba(214, 64, 159, .12) 55%, rgba(245, 196, 0, .10));
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.3rem); margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero .lead { color: var(--on-dark-muted); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 34px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 42px); border-top: 1px solid rgba(244, 238, 252, .16); padding-top: 24px; }
.stat__num { font: 600 clamp(1.6rem, 3vw, 2.2rem)/1 var(--font-display); color: var(--gold-2); }
.stat__label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 6px; }
/* candidate pipeline stack */
.pipeline { position: relative; min-height: 430px; perspective: 1100px; }
.p-card {
  position: absolute; width: min(340px, 86%); background: rgba(255, 255, 255, .97); color: var(--text);
  border-radius: var(--r-md); box-shadow: var(--sh-3); padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .6);
  transition: transform .5s var(--ease);
}
.p-card--1 { top: 4%; left: 2%; transform: rotate(-4deg); z-index: 3; }
.p-card--2 { top: 34%; right: 0; transform: rotate(3deg); z-index: 2; }
.p-card--3 { bottom: 2%; left: 8%; transform: rotate(-2deg); z-index: 1; }
.p-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.p-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 700 .9rem/1 var(--font-body); color: #fff; background: linear-gradient(140deg, var(--brand), var(--plum)); flex: none; }
.p-avatar--gold { background: linear-gradient(140deg, var(--gold-2), var(--gold-deep)); color: var(--ink); }
.p-avatar--magenta { background: linear-gradient(140deg, var(--magenta), #93266c); }
.p-card__name { font-weight: 700; font-size: .95rem; color: var(--ink); line-height: 1.2; }
.p-card__role { font-size: .78rem; color: var(--muted); }
.p-card__row { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted); margin-top: 10px; }
.p-bar { height: 7px; border-radius: 6px; background: var(--brand-soft); overflow: hidden; margin-top: 8px; }
.p-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--brand), var(--magenta)); width: 0; transition: width 1.4s var(--ease) .4s; }
.is-loaded .p-bar i { width: var(--w); }
.p-card .tag { position: absolute; top: -12px; right: 14px; box-shadow: var(--sh-1); }
/* ticker */
.ticker { border-block: 1px solid rgba(244, 238, 252, .14); background: rgba(0, 0, 0, .18); overflow: hidden; position: relative; z-index: 1; }
.ticker__track { display: flex; gap: 0; width: max-content; animation: tick 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px; font: 600 .82rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); white-space: nowrap; }
.ticker__item::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); opacity: .8; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- page head (inner pages) ---------- */
.page-head {
  position: relative; overflow: hidden; color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(40px, 6vw, 74px)) 0 clamp(40px, 6vw, 66px);
  background:
    radial-gradient(60% 90% at 88% 0%, rgba(214, 64, 159, .28), transparent 60%),
    radial-gradient(50% 80% at 6% 100%, rgba(138, 91, 199, .38), transparent 62%),
    linear-gradient(150deg, #2b1a41, var(--ink) 55%, #1a0e29);
}
.page-head::after { content: ""; position: absolute; inset: 0; opacity: .45; mix-blend-mode: overlay; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E"); }
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head .lead { color: var(--on-dark-muted); max-width: 68ch; margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .8rem; color: var(--on-dark-muted); margin-bottom: 18px; }
.crumbs a { color: var(--gold-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-current] { color: var(--on-dark); }
.page-head__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 2px solid var(--line); padding-bottom: 0; margin-bottom: 30px; }
.tab {
  appearance: none; border: 0; background: none; cursor: pointer; position: relative;
  font: 600 .95rem/1 var(--font-body); color: var(--muted); padding: 14px 18px; border-radius: var(--r-sm) var(--r-sm) 0 0;
  transition: color .22s, background .22s;
}
.tab:hover { color: var(--plum); background: var(--brand-soft); }
.tab[aria-selected="true"] { color: var(--plum); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--brand)); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeup .45s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- steps / timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step-card { position: relative; padding-top: 34px; }
.step-card__num {
  position: absolute; top: -6px; left: 22px; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; font: 600 1.3rem/1 var(--font-display);
  background: linear-gradient(140deg, var(--gold-2), var(--gold)); color: var(--ink); box-shadow: var(--sh-gold);
}
.step-card::before { content: ""; position: absolute; top: 20px; left: 74px; right: -22px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px); }
.step-card:last-child::before { display: none; }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--line); }
.timeline__progress { position: absolute; left: 25px; top: 8px; width: 3px; border-radius: 3px; background: linear-gradient(var(--gold), var(--brand)); height: 0; transition: height .2s linear; }
.timeline li { position: relative; padding: 0 0 26px 74px; }
.timeline__dot {
  position: absolute; left: 0; top: 0; width: 53px; height: 53px; border-radius: 50%;
  display: grid; place-items: center; font: 600 1.05rem/1 var(--font-display);
  background: var(--surface); border: 2px solid var(--line-2); color: var(--muted); transition: all .3s var(--ease); z-index: 1;
}
.timeline li:hover .timeline__dot, .timeline li.is-current .timeline__dot { border-color: var(--gold); background: var(--gold-soft); color: var(--ink); transform: scale(1.06); }
.timeline li.is-current .timeline__dot { background: linear-gradient(140deg, var(--gold-2), var(--gold)); box-shadow: var(--sh-gold); }
.timeline__card { display: block; text-decoration: none; color: inherit; }
.timeline__card h3 { margin-bottom: .25em; font-size: 1.15rem; }
.timeline__card p { color: var(--muted); font-size: .92rem; margin: 0; }
.timeline__card .link-arrow { margin-top: 8px; }

/* ---------- quotes ---------- */
.quotes { position: relative; }
.quotes__viewport { overflow: hidden; border-radius: var(--r-lg); }
.quotes__track { display: flex; transition: transform .6s var(--ease); }
.quote { flex: 0 0 100%; padding: clamp(28px, 4vw, 52px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.quote__mark { font: 600 4.4rem/0.6 var(--font-display); color: var(--gold); display: block; margin-bottom: 18px; }
.quote blockquote { margin: 0 0 22px; font: 500 clamp(1.1rem, 2vw, 1.45rem)/1.5 var(--font-display); color: var(--ink); font-style: italic; }
.quote__who { display: flex; align-items: center; gap: 14px; }
.quote__who .p-avatar { width: 48px; height: 48px; }
.quote__name { font-weight: 700; color: var(--ink); font-size: .95rem; }
.quote__role { font-size: .8rem; color: var(--muted); }
.quotes__nav { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.quotes__btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: all .22s var(--ease); }
.quotes__btn:hover { border-color: var(--brand); color: var(--plum); transform: translateY(-2px); }
.quotes__dots { display: flex; gap: 8px; margin-left: 8px; }
.quotes__dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: var(--line-2); cursor: pointer; transition: all .3s var(--ease); }
.quotes__dot[aria-current="true"] { background: var(--brand); width: 26px; border-radius: 6px; }

/* ---------- partners ---------- */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: center; }
.partner { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; display: grid; place-items: center; height: 96px; transition: all .3s var(--ease); }
.partner img { max-height: 52px; width: auto; filter: grayscale(1) opacity(.65); transition: filter .3s; }
.partner:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--brand-line); }
.partner:hover img { filter: none; }

/* ---------- media frames ---------- */
.frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-3); border: 1px solid var(--line); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.frame:hover img { transform: scale(1.04); }
.frame__badge { position: absolute; left: 18px; bottom: 18px; background: rgba(36, 20, 54, .82); backdrop-filter: blur(6px); color: var(--on-dark); border-radius: var(--r-md); padding: 12px 16px; font-size: .82rem; display: flex; gap: 10px; align-items: center; }
.frame__badge .icon { color: var(--gold-2); }
.frame--tilt { transform: rotate(-1.5deg); }
.frame--tilt:hover { transform: rotate(0); }

/* ---------- numbered sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: sec; }
.sector { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; transition: all .3s var(--ease); }
.sector:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--sh-2); }
.sector__num { font: 600 1.5rem/1 var(--font-display); color: var(--brand-2); min-width: 40px; }
.sector h3 { font-size: 1.05rem; margin: 0 0 4px; }
.sector p { margin: 0; font-size: .85rem; color: var(--muted); }

/* ---------- forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: clamp(22px, 3.4vw, 40px); }
.field { margin-bottom: 18px; }
.field label { display: block; font: 600 .85rem/1.4 var(--font-body); color: var(--ink); margin-bottom: 7px; }
.field label .req, .req { color: var(--danger); font-weight: 700; }
.input, select.input, textarea.input {
  width: 100%; font: 500 .95rem/1.5 var(--font-body); color: var(--text);
  background: var(--paper); border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  padding: 12px 14px; transition: border-color .22s, box-shadow .22s, background .22s;
}
.input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.input[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-soft); }
textarea.input { min-height: 130px; resize: vertical; }
.field__err { display: none; font-size: .78rem; color: var(--danger); margin-top: 6px; font-weight: 600; }
.field.has-err .field__err { display: block; }
.field__hint { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dropzone {
  border: 2px dashed var(--line-2); border-radius: var(--r-md); background: var(--paper);
  padding: 26px 18px; text-align: center; cursor: pointer; transition: all .25s var(--ease); color: var(--muted);
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--brand); background: var(--brand-soft); color: var(--plum); }
.dropzone .icon { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--brand); }
.dropzone strong { color: var(--ink); display: block; font-size: .95rem; }
.dropzone small { font-size: .78rem; }
.filelist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.filelist li { display: flex; align-items: center; gap: 10px; background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: var(--r-sm); padding: 9px 12px; font-size: .84rem; font-weight: 600; color: var(--plum); animation: fadeup .3s var(--ease); }
.filelist li .icon { width: 17px; height: 17px; }
.filelist li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filelist button { margin-left: auto; border: 0; background: none; cursor: pointer; color: var(--danger); display: grid; place-items: center; padding: 4px; border-radius: 6px; }
.filelist button:hover { background: var(--danger-soft); }
.form-success { text-align: center; padding: 20px 6px; animation: fadeup .5s var(--ease); }
.form-success__ring { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--success-soft); color: var(--success); border: 2px solid var(--success); }
.form-success__ring .icon { width: 34px; height: 34px; }
.form-success h3 { margin-bottom: .4em; }
.form-success p { color: var(--muted); font-size: .94rem; }
.form-success__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }

/* ---------- accordion ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.acc + .acc { margin-top: 12px; }
.acc__btn { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 20px; background: none; border: 0; cursor: pointer; font: 600 .98rem/1.4 var(--font-body); color: var(--ink); }
.acc__btn:hover { background: var(--brand-soft); }
.acc__btn .icon { margin-left: auto; transition: transform .3s var(--ease); color: var(--brand); }
.acc__btn[aria-expanded="true"] .icon { transform: rotate(45deg); }
.acc__panel { overflow: hidden; height: 0; transition: height .38s var(--ease); }
.acc__inner { padding: 0 20px 20px; color: var(--muted); font-size: .93rem; }
.acc__inner strong { color: var(--ink); }

/* ---------- job board ---------- */
.jobbar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 20px; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 14px; align-items: end; }
.jobbar .field { margin: 0; }
.searchwrap { position: relative; }
.searchwrap .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-2); pointer-events: none; }
.searchwrap .input { padding-left: 40px; }
.jobfilters { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin: 20px 0 8px; }
.jobfilters__label { font: 600 .8rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.jobmeta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 18px 0 22px; }
.jobmeta__count { font-size: .9rem; color: var(--muted); }
.jobmeta__count strong { color: var(--ink); font-size: 1.05rem; }
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.job-card { display: flex; flex-direction: column; gap: 12px; }
.job-card__top { display: flex; align-items: flex-start; gap: 12px; }
.job-card__logo { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font: 700 .95rem/1 var(--font-body); color: #fff; background: linear-gradient(140deg, var(--brand), var(--plum)); flex: none; }
.job-card h3 { font-size: 1.08rem; margin: 0; }
.job-card__sector { font-size: .78rem; color: var(--muted); }
.job-card__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.job-card__desc { font-size: .88rem; color: var(--muted); margin: 0; flex: 1; }
.job-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line-2); padding-top: 14px; }
.job-card__loc { display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; color: var(--muted); }
.job-card__loc .icon { width: 15px; height: 15px; }
.empty { text-align: center; padding: 54px 24px; border: 2px dashed var(--line-2); border-radius: var(--r-lg); background: var(--surface); }
.empty .icon { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--brand-2); }
.empty h3 { margin-bottom: .3em; }
.empty p { color: var(--muted); max-width: 46ch; margin-inline: auto; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__scrim { position: absolute; inset: 0; background: rgba(36, 20, 54, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__panel { position: relative; width: min(560px, 100%); max-height: 88vh; overflow-y: auto; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 28px; transform: translateY(24px) scale(.97); opacity: 0; transition: all .35s var(--ease); }
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.modal__head h3 { margin: 0; }
.modal__close { margin-left: auto; width: 38px; height: 38px; flex: none; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--ink); }

/* ---------- toast ---------- */
.toast-region { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 10px; width: min(440px, calc(100vw - 32px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; background: var(--ink); color: var(--on-dark); border-radius: var(--r-md); padding: 14px 18px; box-shadow: var(--sh-3); border-left: 4px solid var(--gold); animation: toastin .4s var(--ease); font-size: .9rem; }
.toast--success { border-left-color: var(--success); }
.toast--danger { border-left-color: var(--danger); }
.toast .icon { width: 19px; height: 19px; margin-top: 2px; color: var(--gold-2); }
.toast--success .icon { color: #6ee7b7; }
.toast--danger .icon { color: #fca5a5; }
.toast.is-out { animation: toastout .3s var(--ease) forwards; }
@keyframes toastin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes toastout { to { opacity: 0; transform: translateY(12px); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--gold-2), var(--gold) 55%, #e8b400); color: var(--ink); border-radius: var(--r-lg); padding: clamp(30px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr auto; gap: 26px; align-items: center; box-shadow: var(--sh-gold); }
.cta-band::before { content: ""; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, .28); }
.cta-band h2 { margin-bottom: .3em; color: var(--ink); }
.cta-band p { margin: 0; color: #5c4a00; font-weight: 500; }
.cta-band .btn--primary { background: var(--ink); box-shadow: var(--sh-2); }
.cta-band .btn--primary:hover { background: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(46% 60% at 90% 0%, rgba(138, 91, 199, .25), transparent 60%), radial-gradient(40% 50% at 8% 100%, rgba(245, 196, 0, .1), transparent 60%); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(26px, 4vw, 54px); padding: clamp(46px, 6vw, 74px) 0 40px; }
.footer-brand img { height: 56px; margin-bottom: 18px; }
.footer-brand p { font-size: .9rem; max-width: 34ch; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--on-dark-muted); text-decoration: none; font-size: .9rem; display: inline-flex; gap: 8px; align-items: center; transition: color .2s, transform .2s; }
.footer-links a:hover { color: var(--gold-2); transform: translateX(3px); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: .9rem; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.footer-contact a { color: var(--on-dark); text-decoration: none; }
.footer-contact a:hover { color: var(--gold-2); }
.footer-bottom { position: relative; border-top: 1px solid rgba(244, 238, 252, .12); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: .8rem; }
.footer-bottom a { color: var(--on-dark-muted); }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: linear-gradient(140deg, var(--brand), var(--plum)); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--sh-2); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-30px); }
.reveal--right { transform: translateX(30px); }
.reveal--left.is-in, .reveal--right.is-in { transform: none; }

/* ---------- misc ---------- */
.note { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--r-md); padding: 16px 18px; font-size: .9rem; border: 1px solid; }
.note .icon { width: 20px; height: 20px; margin-top: 2px; }
.note--info { background: var(--info-soft); border-color: #bcd0f5; color: #1d4ed8; }
.note--gold { background: var(--gold-soft); border-color: #ecd58a; color: #7a5c00; }
.note--success { background: var(--success-soft); border-color: #a9dcc3; color: var(--success); }
.checklist { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; }
.checklist .icon { width: 20px; height: 20px; color: var(--success); margin-top: 3px; }
.contact-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-tile { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; transition: all .3s var(--ease); }
.contact-tile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--brand-line); }
.contact-tile .card__icon { margin: 0; width: 44px; height: 44px; }
.contact-tile h3 { font-size: .95rem; font-family: var(--font-body); margin: 0 0 4px; }
.contact-tile p, .contact-tile a { margin: 0; font-size: .88rem; color: var(--muted); text-decoration: none; word-break: break-word; }
.contact-tile a:hover { color: var(--plum); }
.copy-btn { border: 0; background: var(--brand-soft); color: var(--plum); border-radius: 6px; padding: 3px 8px; font: 600 .7rem/1.4 var(--font-body); cursor: pointer; margin-left: 6px; }
.copy-btn:hover { background: var(--brand-line); }
.step-hero { display: flex; align-items: center; gap: clamp(18px, 4vw, 44px); flex-wrap: wrap; }
.step-hero__num { font: 600 clamp(4rem, 10vw, 7rem)/1 var(--font-display); color: transparent; -webkit-text-stroke: 2px var(--gold); opacity: .9; }
.prose { max-width: 80ch; font-size: 1.02rem; line-height: 1.8; color: var(--ink-2); }
.prose p { margin-bottom: 1.1em; }
.checklist a { color: var(--plum); font-weight: 600; text-decoration: none; }
.checklist a:hover { text-decoration: underline; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.prevnext a { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; text-decoration: none; transition: all .3s var(--ease); }
.prevnext a:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--sh-2); }
.prevnext a.next { text-align: right; align-items: flex-end; }
.prevnext small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.prevnext strong { color: var(--ink); font-size: .95rem; }
.post-card { display: flex; flex-direction: column; }
.post-card__date { font-size: .76rem; font-weight: 700; letter-spacing: .08em; color: var(--brand); text-transform: uppercase; margin-bottom: 10px; }
.post-card h3 { font-size: 1.12rem; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--plum); }
.post-card p { flex: 1; }
.embed-body { background: var(--paper); padding: 26px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .job-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .pipeline { min-height: 400px; max-width: 560px; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav, .header-actions .btn { display: none; }
  .burger { display: grid; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-card::before { display: none; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .jobbar { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4, .job-grid, .sectors, .form-row, .contact-tiles, .prevnext { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__bg { grid-template-columns: 1fr 1fr; }
  .hero__bg-panel:nth-child(3) { display: none; }
  .hero__bg-panel img { opacity: .26; }
  .hero__stats { gap: 18px; }
  .pipeline { min-height: 460px; }
  .p-card { width: 88%; }
  .tabs { gap: 2px; }
  .tab { padding: 12px 12px; font-size: .85rem; }
  .timeline li { padding-left: 64px; }
  .quote blockquote { font-size: 1.05rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}