/* =====================================================================
   Warner Knight Associates — Design System
   Vanilla CSS. Three-layer tokens: primitive -> semantic -> component.
   ===================================================================== */

/* ---------- 1. Tokens ------------------------------------------------ */
:root {
  /* Primitive — brand purple ramp (from logo) */
  --purple:        #7B52A8;
  --purple-dark:   #3D2464;
  --purple-light:  #A67FCC;
  --purple-pale:   #EDE6F6;
  --ink:           #1A1626;
  --text-raw:      #4A4560;
  --white:         #FFFFFF;
  --off-white:     #F9F7FC;
  --border-raw:    #DDD5EC;
  --gold:          #C8A24B;       /* restrained accent for marks/dividers */

  /* Semantic */
  --bg:            var(--off-white);
  --surface:       var(--white);
  --surface-alt:   var(--purple-pale);
  --on-bg:         var(--text-raw);
  --on-bg-strong:  var(--ink);
  --on-dark:       rgba(255,255,255,.92);
  --on-dark-muted: rgba(255,255,255,.66);
  --brand:         var(--purple);
  --brand-strong:  var(--purple-dark);
  --brand-soft:    var(--purple-light);
  --line:          var(--border-raw);
  --line-strong:   #C9BCE3;
  --focus:         #5B2E9E;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-xs:   .8125rem;   /* 13 */
  --fs-sm:   .9375rem;   /* 15 */
  --fs-base: 1.0625rem;  /* 17 */
  --fs-md:   1.1875rem;  /* 19 */
  --fs-lg:   1.4rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  clamp(2rem, 1.4rem + 2.4vw, 2.85rem);
  --fs-3xl:  clamp(2.4rem, 1.6rem + 3.4vw, 3.6rem);
  --fs-hero: clamp(2.6rem, 1.9rem + 3.6vw, 4rem);

  /* Spacing scale (8pt rhythm) */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem;
  --sp-9: 6rem; --sp-10: 8rem;

  /* Radius / shadow / motion */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(26,22,38,.06), 0 2px 6px rgba(26,22,38,.05);
  --shadow-md: 0 6px 18px rgba(61,36,100,.10), 0 2px 6px rgba(61,36,100,.06);
  --shadow-lg: 0 22px 50px rgba(61,36,100,.18), 0 8px 18px rgba(61,36,100,.10);
  --ease: cubic-bezier(.22,.61,.36,1);   /* ease-out-quart-ish */
  --dur: .26s;
  --container: 1180px;

  /* z-index scale */
  --z-sticky: 100; --z-dropdown: 200; --z-banner: 800; --z-modal: 900;
}

/* ---------- 2. Reset / base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--on-bg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover { color: var(--brand); }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--on-bg-strong);
  text-wrap: balance;
}
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); letter-spacing: -.015em; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: var(--sp-4); top: -60px;
  background: var(--brand-strong); color: #fff;
  padding: .6rem 1rem; border-radius: var(--r-sm); z-index: 1000;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--sp-4); color: #fff; }

/* ---------- 3. Layout helpers --------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.section { padding-block: clamp(3.5rem, 2rem + 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem); }
.section-head { max-width: 62ch; margin-bottom: var(--sp-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--fs-md); color: var(--on-bg); margin-top: var(--sp-3); }
.lede { font-size: var(--fs-md); color: var(--on-bg); max-width: 64ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-sm);
  color: var(--brand-strong); letter-spacing: .01em; margin-bottom: var(--sp-3);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-head.center .eyebrow { justify-content: center; }
.text-center { text-align: center; }

/* Chevron motif — restrained knight-echo divider */
.chevron-rule { height: 14px; width: 100%; opacity: .55;
  background: repeating-linear-gradient(135deg, transparent 0 10px, var(--line) 10px 11px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }

/* ---------- 4. Buttons ---------------------------------------------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-base);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--r-pill);
  cursor: pointer; text-align: center;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), color var(--dur) var(--ease); }
.btn:hover { background: var(--brand-strong); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--brand-strong); --btn-bd: var(--line-strong); }
.btn--ghost:hover { background: var(--purple-pale); color: var(--brand-strong); box-shadow: none; }
.btn--on-dark { --btn-bg: #fff; --btn-fg: var(--brand-strong); }
.btn--on-dark:hover { background: var(--purple-pale); color: var(--brand-strong); }
.btn--ghost-on-dark { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); }
.btn--ghost-on-dark:hover { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.btn svg { width: 18px; height: 18px; }

/* ---------- 5. Header / nav ----------------------------------------- */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(249,247,252,.86); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem;
  letter-spacing: -.02em; color: var(--on-bg-strong); line-height: 1; }
.brand-name span { color: var(--brand); }
.brand-sub { display:block; font-family: var(--font-body); font-weight: 500;
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand-strong); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: var(--sp-2); list-style: none; }
.nav-links a { display: inline-block; padding: .55rem .85rem; border-radius: var(--r-sm);
  font-weight: 500; font-size: var(--fs-sm); color: var(--on-bg-strong);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.nav-links a:hover { background: var(--purple-pale); color: var(--brand-strong); }
.nav-links a[aria-current="page"] { color: var(--brand-strong); background: var(--purple-pale); font-weight: 600; }
.nav-cta { margin-left: var(--sp-2); }
.nav-cta .btn { min-height: 44px; padding: .55rem 1.15rem; font-size: var(--fs-sm); }

.nav-toggle { display: none; background: none; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm); width: 46px; height: 46px; cursor: pointer; align-items:center; justify-content:center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--on-bg-strong);
  border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(0) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-2px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: var(--sp-1); padding: var(--sp-5); background: var(--surface);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform .32s var(--ease); z-index: var(--z-dropdown); }
  .nav-open .nav-links { transform: translateY(0); }
  .nav-links a { padding: .85rem 1rem; font-size: var(--fs-md); }
  .nav-cta { margin: var(--sp-2) 0 0; }
  .nav-cta .btn { width: 100%; min-height: 50px; font-size: var(--fs-base); }
}

/* ---------- 6. Hero -------------------------------------------------- */
.hero { position: relative; background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 78%);
  color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 26px),
    radial-gradient(120% 90% at 88% -10%, rgba(166,127,204,.55), transparent 60%); }
.hero::after { content:""; position:absolute; right:-8%; bottom:-30%; width:520px; height:520px;
  background: radial-gradient(circle, rgba(166,127,204,.32), transparent 62%); pointer-events:none; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--sp-8);
  align-items: center; padding-block: clamp(3.5rem, 2rem + 8vw, 7rem); }
.hero h1 { color: #fff; font-size: var(--fs-hero); letter-spacing: -.03em; }
.hero h1 em { font-style: italic; color: var(--purple-pale); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: var(--sp-5);
  font-weight: 600; font-size: var(--fs-sm); color: #fff; padding: .4rem .85rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-pill); }
.hero-eyebrow::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero p.lede { color: var(--on-dark); margin: var(--sp-5) 0 var(--sp-6); }
.hero .btn-row { margin-bottom: var(--sp-6); }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--on-dark-muted); font-size: var(--fs-sm); }
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust span::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--brand-soft); }

/* Floating role-cards panel */
.role-panel { display: grid; gap: var(--sp-4); }
.role-panel-head { display:flex; align-items:center; justify-content:space-between;
  color: var(--on-dark); font-size: var(--fs-sm); font-weight: 600; }
.role-panel-head .live { display:inline-flex; align-items:center; gap:.4rem; }
.role-panel-head .dot { width:9px; height:9px; border-radius:50%; background:#54d18b;
  box-shadow:0 0 0 4px rgba(84,209,139,.22); display:inline-block; }
.role-card { background: #fff; border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-lg); color: var(--on-bg);
  transition: transform var(--dur) var(--ease); }
.role-card:hover { transform: translateY(-3px); }
.role-card h3 { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700;
  color: var(--on-bg-strong); letter-spacing: 0; }
.role-card .meta { display:flex; flex-wrap:wrap; gap:.4rem .9rem; margin-top:.5rem; font-size: var(--fs-sm); color: var(--on-bg); }
.role-card .meta span { display:inline-flex; align-items:center; gap:.35rem; }
.role-card .meta svg { width:15px; height:15px; color: var(--brand); }
.role-foot { display:flex; align-items:center; justify-content:space-between; margin-top:.85rem;
  padding-top:.75rem; border-top:1px solid var(--line); }
.role-foot .salary { font-weight:700; color: var(--brand-strong); }
.tag { display:inline-block; font-size: var(--fs-xs); font-weight:600; padding:.25rem .6rem;
  border-radius: var(--r-pill); background: var(--purple-pale); color: var(--brand-strong); }
.tag--green { background:#e3f6ec; color:#1f7a47; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .role-panel { margin-top: var(--sp-2); }
}

/* ---------- 7. Stats bar -------------------------------------------- */
.stats { background: var(--brand-strong); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5);
  padding-block: var(--sp-6); text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem,1.4rem+2vw,2.8rem);
  color: #fff; line-height: 1; letter-spacing: -.02em; }
.stat .num span { color: var(--brand-soft); }
.stat .label { display:block; margin-top: var(--sp-2); color: var(--on-dark-muted); font-size: var(--fs-sm); }
.stat + .stat { position: relative; }
@media (min-width: 721px){ .stat + .stat::before { content:""; position:absolute; left:0; top:8%; height:84%; width:1px; background: rgba(255,255,255,.16);} }
@media (max-width: 720px){ .stats-grid { grid-template-columns: repeat(2,1fr); gap: var(--sp-6); } }

/* ---------- 8. Cards / grids ---------------------------------------- */
.grid { display: grid; gap: var(--sp-5); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px){ .cols-2, .cols-3 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-6); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 { margin-bottom: var(--sp-3); }
.card p { color: var(--on-bg); }

/* Sector card */
.sector-card .icn { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--purple-pale); color: var(--brand-strong); margin-bottom: var(--sp-4); }
.sector-card .icn svg { width: 26px; height: 26px; }
.sector-card ul { list-style: none; padding: 0; margin-top: var(--sp-3); display: grid; gap: .4rem; }
.sector-card li { position: relative; padding-left: 1.4rem; font-size: var(--fs-sm); color: var(--on-bg); }
.sector-card li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 7px; height: 7px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.card-link { margin-top: auto; padding-top: var(--sp-4); font-weight: 600; color: var(--brand-strong);
  display: inline-flex; align-items: center; gap: .4rem; }
.card-link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- 9. Split / about strip ---------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem+4vw,4.5rem); align-items: center; }
.split--media-left { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 860px){ .split, .split--media-left { grid-template-columns: 1fr; gap: var(--sp-6); } }
.feature-list { list-style: none; padding: 0; display: grid; gap: var(--sp-4); margin-top: var(--sp-5); }
.feature-list li { display: grid; grid-template-columns: 30px 1fr; gap: var(--sp-3); align-items: start; }
.feature-list .tick { width: 30px; height: 30px; border-radius: 50%; background: var(--purple-pale);
  color: var(--brand-strong); display: grid; place-items: center; }
.feature-list .tick svg { width: 16px; height: 16px; }
.feature-list strong { color: var(--on-bg-strong); display: block; }
.feature-list span.d { color: var(--on-bg); font-size: var(--fs-sm); }

/* ---------- 10. Placeholder media ----------------------------------- */
.ph { position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--purple-pale), #fff);
  border: 1px dashed var(--line-strong); display: grid; place-items: center; min-height: 280px;
  color: var(--brand-strong); text-align: center; }
.ph::before { content:""; position:absolute; inset:0; opacity:.5;
  background: repeating-linear-gradient(135deg, transparent 0 13px, rgba(123,82,168,.06) 13px 14px); }
.ph .ph-label { position: relative; font-size: var(--fs-sm); font-weight: 600;
  background: rgba(255,255,255,.82); padding: .4rem .8rem; border-radius: var(--r-pill); }
.ph--tall { min-height: 420px; }
.ph--ratio { aspect-ratio: 4 / 3; min-height: 0; }
.ph--avatar { min-height: 0; aspect-ratio: 1; border-radius: 50%; }

/* ---------- 11. Process steps --------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-5); }
@media (max-width: 920px){ .steps { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 520px){ .steps { grid-template-columns: 1fr;} }
.step { position: relative; padding: var(--sp-6) var(--sp-5); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); }
.step .n { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-strong); color: #fff; margin-bottom: var(--sp-4); }
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-sm); color: var(--on-bg); }

/* ---------- 12. Why-us feature band --------------------------------- */
.band { background: var(--surface); border-block: 1px solid var(--line); }
.why-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-6) var(--sp-7); }
@media (max-width: 860px){ .why-grid { grid-template-columns: 1fr; gap: var(--sp-6);} }
.why { display:grid; grid-template-columns: 46px 1fr; gap: var(--sp-4); align-items:start; }
.why .icn { width:46px; height:46px; border-radius: var(--r-md); background: var(--purple-pale);
  color: var(--brand-strong); display:grid; place-items:center; }
.why .icn svg { width:24px; height:24px; }
.why h3 { font-size: var(--fs-lg); margin-bottom: .35rem; }
.why p { font-size: var(--fs-sm); color: var(--on-bg); }

/* ---------- 13. Testimonial ----------------------------------------- */
.quote { max-width: 56rem; margin-inline: auto; text-align: center; }
.quote .mark { font-family: var(--font-display); font-size: 4rem; line-height: .5; color: var(--brand-soft);
  display:block; height: 2.2rem; }
.quote blockquote { font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: clamp(1.4rem, 1rem + 1.7vw, 2.1rem); line-height: 1.3; letter-spacing: -.01em;
  color: var(--on-bg-strong); text-wrap: balance; }
.quote-by { display:flex; align-items:center; justify-content:center; gap: var(--sp-3); margin-top: var(--sp-5); }
.quote-by .av { width: 52px; height: 52px; }
.quote-by .who { text-align:left; }
.quote-by strong { display:block; color: var(--on-bg-strong); }
.quote-by span { font-size: var(--fs-sm); color: var(--on-bg); }

/* ---------- 14. CTA band -------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--purple-dark), var(--purple)); color:#fff; }
.cta-band::before { content:""; position:absolute; inset:0; opacity:.5;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 24px); }
.cta-inner { position: relative; text-align: center; max-width: 50rem; margin-inline: auto;
  padding-block: clamp(3rem,2rem+5vw,5rem); }
.cta-inner h2 { color:#fff; }
.cta-inner p { color: var(--on-dark); font-size: var(--fs-md); margin: var(--sp-4) auto var(--sp-6); max-width: 46ch; }
.cta-inner .btn-row { justify-content: center; }

/* ---------- 15. Footer ---------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--sp-7) var(--sp-6);
  padding-block: var(--sp-8) var(--sp-7); }
@media (max-width: 880px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-7) var(--sp-5);} }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr;} }
.footer-brand .brand-name, .footer-brand .brand-name span { color:#fff; }
.footer-brand img { width: 42px; height: 42px; border-radius: 10px; }
.footer-brand p { margin-top: var(--sp-4); font-size: var(--fs-sm); max-width: 34ch; color: var(--on-dark-muted); }
.footer-brand address { font-style: normal; margin-top: var(--sp-4); font-size: var(--fs-sm); line-height: 1.7; color: var(--on-dark); }
.footer-col h4 { font-family: var(--font-body); font-size: var(--fs-sm); text-transform: uppercase;
  letter-spacing: .12em; color: rgba(255,255,255,.55); font-weight: 600; margin-bottom: var(--sp-4); }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .65rem; }
.footer-col a { color: var(--on-dark); font-size: var(--fs-sm); }
.footer-col a:hover { color: #fff; }
.footer-contact a { display: inline-flex; align-items: center; gap: .55rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--brand-soft); flex: none; }
.linkedin { display:inline-flex; align-items:center; gap:.5rem; margin-top: var(--sp-3);
  padding: .5rem .9rem; border:1px solid rgba(255,255,255,.18); border-radius: var(--r-pill); color:#fff; font-size: var(--fs-sm); }
.linkedin:hover { background: rgba(255,255,255,.08); color:#fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--sp-5);
  display:flex; flex-wrap:wrap; gap: var(--sp-3) var(--sp-5); align-items:center; justify-content:space-between;
  font-size: var(--fs-xs); color: rgba(255,255,255,.5); }
.footer-bottom nav { display:flex; flex-wrap:wrap; gap: var(--sp-4); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color:#fff; }

/* ---------- 16. Cookie banner --------------------------------------- */
.cookie { position: fixed; left: 50%; transform: translateX(-50%) translateY(160%);
  bottom: var(--sp-4); width: min(960px, calc(100% - 2rem)); z-index: var(--z-banner);
  background: #221b30; color: var(--on-dark); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: var(--sp-5) var(--sp-6);
  display: grid; grid-template-columns: 1fr auto; gap: var(--sp-4) var(--sp-6); align-items: center;
  transition: transform .4s var(--ease); }
.cookie.is-shown { transform: translateX(-50%) translateY(0); }
.cookie p { font-size: var(--fs-sm); color: var(--on-dark); }
.cookie p strong { color:#fff; display:block; font-family: var(--font-display); font-size: var(--fs-md); margin-bottom: .25rem; }
.cookie a { color: var(--brand-soft); text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--sp-3); flex: none; }
.cookie .btn { min-height: 44px; padding: .55rem 1.15rem; font-size: var(--fs-sm); }
@media (max-width: 640px){ .cookie { grid-template-columns: 1fr; } .cookie-actions { width:100%; } .cookie-actions .btn { flex:1; } }

/* ---------- 17. Forms ----------------------------------------------- */
.form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); box-shadow: var(--shadow-sm); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); padding: 6px;
  background: var(--purple-pale); border-radius: var(--r-pill); margin-bottom: var(--sp-6); }
.seg label { position: relative; display:block; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg .pill { display: block; text-align: center; padding: .7rem 1rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--fs-sm); color: var(--brand-strong); cursor: pointer;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.seg input:checked + .pill { background: #fff; color: var(--brand-strong); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + .pill { outline: 3px solid var(--focus); outline-offset: 2px; }
.field { margin-bottom: var(--sp-5); }
.field label.lbl { display: block; font-weight: 600; font-size: var(--fs-sm); color: var(--on-bg-strong); margin-bottom: .4rem; }
.field label .req { color: #b3261e; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; background: var(--off-white);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md); font-size: var(--fs-base);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: #7d7790; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); background:#fff; box-shadow: 0 0 0 4px rgba(123,82,168,.16); }
.field textarea { min-height: 150px; resize: vertical; }
.field .help { font-size: var(--fs-xs); color: var(--on-bg); margin-top: .35rem; }
.field-error { color: #b3261e; font-size: var(--fs-xs); margin-top: .4rem; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #b3261e; }
.field.invalid .field-error { display: block; }
.form-success { display: none; text-align: center; padding: var(--sp-6) var(--sp-4); }
.form-success.is-shown { display: block; animation: pop .4s var(--ease); }
.form-success .ok { width: 64px; height: 64px; border-radius: 50%; background: #e3f6ec; color:#1f7a47;
  display: grid; place-items: center; margin: 0 auto var(--sp-4); }
.form-success .ok svg { width: 32px; height: 32px; }
.form-success h3 { margin-bottom: var(--sp-2); }
.form-success p { color: var(--on-bg); max-width: 42ch; margin-inline: auto; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem,1rem+4vw,4rem); align-items: start; }
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-info .info-item { display:grid; grid-template-columns: 46px 1fr; gap: var(--sp-4); margin-bottom: var(--sp-5); align-items:start; }
.contact-info .icn { width:46px; height:46px; border-radius: var(--r-md); background: var(--purple-pale);
  color: var(--brand-strong); display:grid; place-items:center; }
.contact-info .icn svg { width:22px; height:22px; }
.contact-info h4 { font-family: var(--font-body); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing:.08em; color: var(--on-bg); margin-bottom:.2rem; }
.contact-info a, .contact-info p { color: var(--on-bg-strong); font-weight: 500; }

/* ---------- 18. Roles (placeholder) --------------------------------- */
.roles-toolbar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-5); box-shadow: var(--shadow-sm); }
.roles-search { display: grid; grid-template-columns: 1fr 1fr auto; gap: var(--sp-3); }
@media (max-width: 760px){ .roles-search { grid-template-columns: 1fr; } }
.roles-search .input-ico { position: relative; }
.roles-search .input-ico svg { position:absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--brand-strong); pointer-events:none; }
.roles-search input, .roles-search select { width:100%; padding: .85rem 1rem; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md); background: var(--off-white); font-size: var(--fs-base); }
.roles-search .input-ico input { padding-left: 2.8rem; }
.roles-filters { display:flex; flex-wrap:wrap; gap: var(--sp-2); margin-top: var(--sp-4); align-items:center; }
.roles-filters .flabel { font-size: var(--fs-sm); color: var(--on-bg); margin-right: .3rem; }
.chip { border: 1.5px solid var(--line-strong); background:#fff; color: var(--on-bg-strong);
  padding: .45rem .9rem; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 500; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.chip[aria-pressed="true"], .chip:hover { background: var(--purple-pale); border-color: var(--brand-soft); color: var(--brand-strong); }
.roles-empty { margin-top: var(--sp-7); text-align: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(2.5rem,1.5rem+4vw,4.5rem) var(--sp-5); }
.roles-empty .badge { display:inline-flex; align-items:center; gap:.5rem; background: var(--purple-pale);
  color: var(--brand-strong); font-weight:600; font-size: var(--fs-sm); padding:.45rem .9rem; border-radius: var(--r-pill); margin-bottom: var(--sp-4); }
.roles-empty .badge .dot { width:8px; height:8px; border-radius:50%; background: var(--gold); }
.roles-empty h2 { margin-bottom: var(--sp-3); }
.roles-empty p { color: var(--on-bg); max-width: 52ch; margin: 0 auto var(--sp-6); font-size: var(--fs-md); }
.roles-ghost { margin-top: var(--sp-6); display:grid; gap: var(--sp-3); }
.roles-ghost .gcard { display:grid; grid-template-columns: 1fr auto; gap: var(--sp-4); align-items:center;
  background:#fff; border:1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-5); opacity:.6; }
.roles-ghost .bar { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--purple-pale), var(--line)); }
.roles-ghost .bar.w1 { width: 60%; } .roles-ghost .bar.w2 { width: 38%; margin-top:.6rem; height:10px; }
.roles-ghost .gpill { width: 84px; height: 30px; border-radius: var(--r-pill); background: var(--purple-pale); }

/* ---------- 19. Legal / prose --------------------------------------- */
.page-head { background: linear-gradient(135deg, var(--purple-dark), var(--purple)); color:#fff; position: relative; overflow:hidden; }
.page-head::before { content:""; position:absolute; inset:0; opacity:.5;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 24px); }
.page-head .container { position: relative; padding-block: clamp(2.75rem,2rem+4vw,4.5rem); }
.page-head h1 { color:#fff; font-size: var(--fs-3xl); }
.page-head p { color: var(--on-dark); margin-top: var(--sp-3); max-width: 60ch; font-size: var(--fs-md); }
.breadcrumb { display:flex; gap:.5rem; align-items:center; font-size: var(--fs-sm); color: var(--on-dark-muted); margin-bottom: var(--sp-4); }
.breadcrumb a { color: var(--on-dark); }
.breadcrumb a:hover { color:#fff; }

.prose { max-width: 75ch; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-7); margin-bottom: var(--sp-3); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-lg); margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.prose p, .prose li { color: var(--on-bg); }
.prose p { margin-bottom: var(--sp-4); }
.prose ul, .prose ol { margin: 0 0 var(--sp-4) 1.2rem; display: grid; gap: .5rem; }
.prose strong { color: var(--on-bg-strong); }
.prose .updated { font-size: var(--fs-sm); color: var(--on-bg-strong); padding: var(--sp-3) var(--sp-4);
  background: var(--purple-pale); border-radius: var(--r-md); display:inline-block; margin-bottom: var(--sp-6); }
.legal-layout { display:grid; grid-template-columns: 240px 1fr; gap: var(--sp-7); align-items:start; }
@media (max-width: 880px){ .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static !important; } }
.legal-toc { position: sticky; top: 94px; }
.legal-toc h4 { font-family: var(--font-body); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing:.12em; color: var(--on-bg); margin-bottom: var(--sp-3); }
.legal-toc ul { list-style:none; padding:0; display:grid; gap: .3rem; }
.legal-toc a { display:block; padding:.35rem .6rem; border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--on-bg); }
.legal-toc a:hover { background: var(--purple-pale); color: var(--brand-strong); }

/* ---------- 20. Team / values --------------------------------------- */
.team-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-6); }
@media (max-width: 820px){ .team-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 520px){ .team-grid { grid-template-columns: 1fr;} }
.team-card { text-align:center; }
.team-card .ph--avatar { width: 130px; margin: 0 auto var(--sp-4); }
.team-card h3 { font-size: var(--fs-lg); }
.team-card .role { color: var(--brand-strong); font-weight: 600; font-size: var(--fs-sm); }
.team-card p { font-size: var(--fs-sm); color: var(--on-bg); margin-top: var(--sp-2); }
.value .icn { width:46px;height:46px;border-radius:var(--r-md);background:var(--purple-pale);
  color:var(--brand-strong);display:grid;place-items:center;margin-bottom:var(--sp-4); }
.value .icn svg{width:24px;height:24px;}
.value h3{ font-size: var(--fs-lg); margin-bottom: var(--sp-2);} .value p{font-size:var(--fs-sm);color:var(--on-bg);}

/* ---------- 21. Utilities ------------------------------------------- */
.bg-surface { background: var(--surface); }
.bg-pale { background: var(--purple-pale); }
.mt-6 { margin-top: var(--sp-6);} .mt-7{margin-top:var(--sp-7);}
.pill-label { display:inline-block; font-size: var(--fs-xs); font-weight:600; color: var(--brand-strong);
  background: var(--purple-pale); padding:.3rem .7rem; border-radius: var(--r-pill); }

/* ---------- 22. Reveal motion (enhances already-visible content) ---- */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2){ transition-delay:.06s;}
.js .reveal-stagger.is-visible > *:nth-child(3){ transition-delay:.12s;}
.js .reveal-stagger.is-visible > *:nth-child(4){ transition-delay:.18s;}
.js .reveal-stagger.is-visible > *:nth-child(5){ transition-delay:.24s;}
.js .reveal-stagger.is-visible > *:nth-child(6){ transition-delay:.30s;}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .btn:hover, .card:hover, .role-card:hover { transform: none; }
}
