/* ============================================================
   SkilledSearch — Design System
   Direction C (modern cool) recoloured with the original purple.
   ============================================================ */
:root{
  /* surfaces */
  --bg:#eef0f5;            /* cool near-white page */
  --surface:#ffffff;
  --surface-2:#f6f5fa;
  /* ink */
  --ink:#1b1830;
  --ink-soft:#46415f;
  --mut:#6d6886;
  --line:#e4e1ee;
  --line-strong:#d6d2e6;
  /* brand purples (from the live site) */
  --plum:#2c1f5e;          /* deep brand — dark sections / hero */
  --plum-2:#3a2878;
  --purple:#6a32c9;        /* primary accent / buttons / links */
  --purple-bright:#8147e6;
  --magenta:#b53fcb;       /* highlight / gradient end */
  --lilac:#e7daf7;         /* soft pill button */
  --lilac-ink:#2c1f5e;
  /* complementary accent — warm gold (sits opposite violet) */
  --gold:#e0a23a;
  --gold-bright:#edb24e;
  --gold-soft:#f6e7c8;
  /* type */
  --serif:'Newsreader',Georgia,serif;
  --sans:'Schibsted Grotesk',-apple-system,BlinkMacSystemFont,sans-serif;
  /* layout */
  --maxw:1240px;
  --pad:40px;
  --radius:16px;
  --shadow:0 24px 60px -34px rgba(36,22,78,.55);
  --shadow-sm:0 10px 30px -18px rgba(36,22,78,.5);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--sans); font-size:17px; line-height:1.6;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
::selection{ background:var(--purple); color:#fff; }

.container{ max-width:var(--maxw); margin:0 auto; padding:0 var(--pad); }
.serif{ font-family:var(--serif); }

/* ---------- type ---------- */
h1,h2,h3,h4{ font-family:var(--serif); font-weight:500; letter-spacing:-.02em; margin:0; line-height:1.05; }
h1{ font-size:clamp(42px,6vw,76px); }
h2{ font-size:clamp(34px,4.4vw,54px); }
h3{ font-size:clamp(24px,2.6vw,34px); }
p{ margin:0 0 1em; }
.lede{ font-size:clamp(17px,1.5vw,20px); line-height:1.6; color:var(--ink-soft); }
em.hl{ font-style:italic; color:var(--purple); }

.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-size:12.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--purple); background:rgba(106,50,201,.10);
  padding:7px 15px; border-radius:999px;
}
.eyebrow .dot{ width:7px; height:7px; border-radius:50%; background:var(--gold); }
.kicker{
  font-size:12.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--purple); margin-bottom:18px;
}
.kicker.on-dark{ color:#d9b6ee; }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; gap:9px; font-family:var(--sans);
  font-weight:600; font-size:15.5px; padding:14px 26px; border-radius:10px; white-space:nowrap;
  cursor:pointer; border:1px solid transparent; transition:transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .2s, color .2s; }
.btn:hover{ transform:translateY(-2px); }
.btn .arr{ transition:transform .25s; }
.btn:hover .arr{ transform:translateX(3px); }
.btn-primary{ background:var(--purple); color:#fff; box-shadow:0 14px 30px -14px rgba(106,50,201,.8); }
.btn-primary:hover{ background:var(--purple-bright); }
.btn-ink{ background:var(--ink); color:#fff; }
.btn-ink:hover{ background:#2a2547; }
.btn-lilac{ background:var(--lilac); color:var(--lilac-ink); }
.btn-lilac:hover{ background:#dcc8f3; }
.btn-line{ border-color:var(--line-strong); color:var(--ink); background:transparent; }
.btn-line:hover{ border-color:var(--purple); color:var(--purple); }
.btn-ghost-light{ border:1px solid rgba(255,255,255,.4); color:#fff; background:transparent; }
.btn-ghost-light:hover{ background:rgba(255,255,255,.1); }

/* ---------- header / nav ---------- */
.site-header{ position:sticky; top:0; z-index:50; background:rgba(238,240,245,.82);
  backdrop-filter:saturate(1.4) blur(14px); border-bottom:1px solid transparent; transition:border-color .3s, background .3s; }
.site-header.scrolled{ border-color:var(--line); }
.site-header.on-plum{ background:transparent; }
.nav{ display:flex; align-items:center; justify-content:space-between; height:80px; }
.brand{ font-family:var(--serif); font-size:25px; font-weight:600; letter-spacing:-.02em; color:var(--ink); display:inline-flex; align-items:center; }
.brand img{ height:54px; width:auto; display:block; }
.site-footer .brand img{ height:42px; }
.mobile-menu .brand img{ height:34px; }
.brand b{ color:var(--purple); font-weight:600; }
.on-plum .brand{ color:#fff; } .on-plum .brand b{ color:#d9b6ee; }
.nav-links{ display:flex; gap:6px; align-items:center; }
.nav-links a{ font-size:15px; font-weight:500; color:var(--ink-soft); padding:9px 14px; border-radius:9px; transition:color .2s, background .2s; position:relative; }
.nav-links a:hover{ color:var(--ink); background:rgba(106,50,201,.07); }
.nav-links a.active{ color:var(--purple); }
.on-plum .nav-links a{ color:#cfc6e8; } .on-plum .nav-links a:hover{ color:#fff; background:rgba(255,255,255,.1); }
.on-plum .nav-links a.active{ color:#fff; }
.nav-right{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; flex-direction:column; gap:5px; padding:8px; }
.nav-toggle span{ width:24px; height:2px; background:var(--ink); border-radius:2px; transition:.3s; }
.on-plum .nav-toggle span{ background:#fff; }

/* mobile drawer */
.mobile-menu{ position:fixed; inset:0; z-index:60; background:var(--plum); color:#fff;
  display:flex; flex-direction:column; padding:28px var(--pad); transform:translateY(-100%);
  visibility:hidden; transition:transform .45s cubic-bezier(.5,.05,.2,1), visibility 0s .45s; }
.mobile-menu.open{ transform:translateY(0); visibility:visible; transition:transform .45s cubic-bezier(.5,.05,.2,1); }
.mobile-menu .mm-top{ display:flex; justify-content:space-between; align-items:center; }
.mobile-menu .mm-close{ background:none; border:none; color:#fff; font-size:30px; cursor:pointer; line-height:1; }
.mobile-menu nav{ display:flex; flex-direction:column; gap:6px; margin-top:48px; }
.mobile-menu nav a{ font-family:var(--serif); font-size:38px; color:#fff; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.12); }
.mobile-menu nav a:hover{ color:#d9b6ee; }

/* ---------- sections ---------- */
.section{ padding:96px 0; }
.section.tight{ padding:64px 0; }
.plum-band{ background:var(--plum); color:#fff; position:relative; overflow:hidden; }
.plum-band .lede{ color:#cfc6e8; }
.dark-band{ background:#161320; color:#fff; }

/* ---------- page hero (inner pages) — light C treatment ---------- */
.page-hero{ background:var(--bg); color:var(--ink); position:relative; overflow:hidden; padding:128px 0 84px; border-bottom:1px solid var(--line); }
.page-hero h1{ color:var(--ink); max-width:15ch; }
.page-hero .lede{ color:var(--ink-soft); max-width:54ch; margin-top:18px; }
.orb{ position:absolute; border-radius:50%; filter:blur(8px); opacity:.5; pointer-events:none;
  background:radial-gradient(circle at 30% 30%, var(--magenta), transparent 62%); }
.page-hero .orb{ background:radial-gradient(circle at 30% 30%, var(--purple), transparent 60%); opacity:.13; }
.page-hero .orb.gold{ background:radial-gradient(circle at 30% 30%, var(--gold), transparent 60%); opacity:.16; }

/* ---------- cards ---------- */
.card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); }

/* ---------- footer ---------- */
.site-footer{ background:#161320; color:#cfc8df; padding:72px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; }
.site-footer .brand{ color:#fff; font-size:26px; }
.site-footer .brand b{ color:#d9b6ee; }
.site-footer .addr{ font-size:14.5px; line-height:1.7; color:#9a93b4; margin-top:18px; max-width:30ch; }
.site-footer h5{ font-family:var(--sans); font-size:13px; letter-spacing:.12em; text-transform:uppercase; color:#fff; margin:0 0 16px; font-weight:700; }
.site-footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.site-footer ul a{ font-size:14.5px; color:#a39bc0; transition:color .2s; }
.site-footer ul a:hover{ color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; gap:20px;
  margin-top:54px; padding-top:24px; border-top:1px solid rgba(255,255,255,.1); font-size:13.5px; color:#857da0; }
.footer-bottom .socials{ display:flex; gap:10px; }
.footer-bottom .socials a{ width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.16);
  display:flex; align-items:center; justify-content:center; color:#cfc8df; transition:.2s; font-size:13px; }
.footer-bottom .socials a:hover{ background:var(--purple); border-color:var(--purple); color:#fff; transform:translateY(-2px); }

/* ---------- reveal animations (gated on .js so content shows without JS) ---------- */
html.js .reveal{ opacity:0; transform:translateY(26px); transition:opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
html.js .reveal.in{ opacity:1; transform:none; }
html.js .reveal.d1{ transition-delay:.08s; } html.js .reveal.d2{ transition-delay:.16s; }
html.js .reveal.d3{ transition-delay:.24s; } html.js .reveal.d4{ transition-delay:.32s; } html.js .reveal.d5{ transition-delay:.4s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1 !important; transform:none !important; transition:none !important; }
  html{ scroll-behavior:auto; }
}

/* ---------- image slots / media ---------- */
image-slot{ background:var(--surface-2); border:1px dashed var(--line-strong); }
.media{ border-radius:var(--radius); overflow:hidden; background:var(--surface-2); }
.media img{ width:100%; height:100%; object-fit:cover; }

/* ---------- utility ---------- */
.center{ text-align:center; }
.mx-auto{ margin-left:auto; margin-right:auto; }
.muted{ color:var(--mut); }
.grid{ display:grid; }
.flex{ display:flex; }

/* ---------- responsive ---------- */
@media (max-width: 1024px){
  :root{ --pad:24px; }
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  .section{ padding:68px 0; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:32px; }
}
@media (max-width: 560px){
  body{ font-size:16px; }
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}