/* =========================================================
   PrivaTalent — shared stylesheet

   Palette rationale: --teal is reserved for decorative use
   (gradients, borders, glows) because #10a9bd only contrasts
   2.83:1 against white — below WCAG AA for text/buttons.
   --teal-deep (#06788d, 5.15:1) carries white-on-teal text and
   teal-on-white text. --teal-light (#55d7e8, 10.76:1 on navy)
   carries teal text on dark backgrounds.
   ========================================================= */

:root {
  --navy: #06132e;
  --navy2: #071a3d;
  --navy3: #0a2856;
  --teal: #10a9bd;
  --teal-deep: #06788d;
  --teal-light: #55d7e8;
  --violet: #6d3fd6;
  --coral: #ff6b4a;
  --text: #07132f;
  --muted: #52617a;
  --muted2: #5b6c85;
  --pale: #eefaff;
  --line: #d9e6ef;
  --max: 1240px;
  --radius: 14px;
  --shadow-sm: 0 8px 22px rgba(7, 25, 55, 0.07);
  --shadow-md: 0 18px 45px rgba(7, 25, 55, 0.10);
  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; height: auto; }
.container { width: min(var(--max), calc(100% - 48px)); margin: auto; }
section { position: relative; }
h1, h2, h3 { overflow-wrap: break-word; }

::selection { background: var(--teal); color: #fff; }

/* Anchored sections must clear the sticky header. */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* -------------------- Accessibility helpers -------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 8px;
  font-weight: 700; font-size: 14px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2.5px solid var(--teal-deep); outline-offset: 3px; border-radius: 4px;
}

/* -------------------- Motion / reveal -------------------- */
@keyframes spinSlow { to { transform: rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: .08s; } .reveal-2 { transition-delay: .16s; } .reveal-3 { transition-delay: .24s; } .reveal-4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-art img { animation: none !important; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* -------------------- Header / Nav -------------------- */
header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #edf1f4;
  position: sticky;
  top: 0;
  z-index: 30;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 22px; font-weight: 800; letter-spacing: -.7px;
  flex: none;
}
.logo img { width: 34px; height: 34px; flex: none; }
.logo-light { color: #fff; }

.navlinks { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.navlinks a { position: relative; padding: 4px 0; color: #1c2b47; transition: color .2s var(--ease); }
.navlinks a:after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--teal-deep); transition: right .25s var(--ease);
}
.navlinks a:hover { color: var(--navy); }
.navlinks a:hover:after, .navlinks a[aria-current="page"]:after { right: 0; }
.navlinks a[aria-current="page"] { color: var(--navy); }

/* "Soon" flag on the Jobs nav item — remove with the placeholder page. */
.nav-soon {
  display: inline-block; margin-left: 6px; padding: 2px 6px;
  font-size: 9.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
  color: var(--teal-deep); background: rgba(6,120,141,.10);
  border: 1px solid rgba(6,120,141,.22); border-radius: 999px; vertical-align: 2px;
}
.soon-tag {
  display: inline-block; margin-left: 6px; padding: 1px 6px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  color: #9fd9e6; border: 1px solid rgba(159,217,230,.32); border-radius: 999px; vertical-align: 1px;
}

.nav-toggle {
  display: none; width: 44px; height: 44px; border: none; background: none; cursor: pointer;
  align-items: center; justify-content: center; border-radius: 8px; flex: none;
}
.nav-toggle:hover { background: #f0f5f8; }
.nav-toggle .bars { position: relative; width: 20px; height: 14px; }
.nav-toggle .bars i {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease), top .25s var(--ease);
}
.nav-toggle .bars i:nth-child(1) { top: 0; }
.nav-toggle .bars i:nth-child(2) { top: 6px; }
.nav-toggle .bars i:nth-child(3) { top: 12px; }
header.nav-open .nav-toggle .bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
header.nav-open .nav-toggle .bars i:nth-child(2) { opacity: 0; }
header.nav-open .nav-toggle .bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; padding: 13px 22px; font-weight: 700; font-size: 14px;
  min-height: 46px; /* comfortable touch target */
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  cursor: pointer; text-align: center; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-teal {
  background: linear-gradient(135deg, var(--teal-deep), var(--navy3));
  color: #fff; box-shadow: 0 10px 24px rgba(6,120,141,.32);
}
.btn-teal:hover { box-shadow: 0 14px 30px rgba(6,120,141,.44); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: #c9d8e2; }
.btn-outline-dark:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
.btn-block { width: 100%; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* -------------------- Eyebrows -------------------- */
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 800; color: var(--teal-light); margin-bottom: 14px; }
.eyebrow-teal { color: var(--teal-deep); }
.eyebrow-dark {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 1.6px; font-size: 11.5px; font-weight: 800;
  color: var(--teal-light); margin-bottom: 16px;
}
.eyebrow-dark:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 0 4px rgba(85,215,232,.22); }

/* -------------------- Hero -------------------- */
.hero {
  position: relative; overflow: hidden; padding: 54px 0 46px;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(16,169,189,.20), transparent 45%),
    radial-gradient(circle at 15% 90%, rgba(109,63,214,.16), transparent 45%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 34px),
    linear-gradient(120deg, #050e24, #0a2856 58%, #073d57);
}
.hero-inner { display: flex; align-items: center; gap: 40px; position: relative; z-index: 1; }
.hero-copy { width: 56%; color: #fff; padding: 28px 0; }
.hero h1 { margin: 0 0 18px; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -2.2px; font-weight: 800; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--teal-light), #bff2fb 60%, #fff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { margin: 0 0 30px; max-width: 540px; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.86); }
.hero-art { width: 44%; aspect-ratio: 1/1; max-width: 420px; margin-left: auto; }
.hero-art img { width: 100%; height: auto; animation: spinSlow 120s linear infinite; }

/* Stat bar: proof, directly under the hero */
.stat-bar { background: var(--navy2); border-top: 1px solid rgba(255,255,255,.08); }
.stat-bar .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; padding: 24px 0; }
.stat-chip { text-align: center; color: #dcecf5; }
.stat-chip strong { display: block; font-size: 21px; letter-spacing: -.5px; color: #fff; }
.stat-chip span { font-size: 12px; font-weight: 600; color: #9fb7ce; }

/* -------------------- Specialisms (the three disciplines) -------------------- */
.specialisms { background: linear-gradient(180deg, #f7fdff, #eef9fc); padding: 68px 0 64px; }
.specialisms h2 { margin: 0 auto 12px; text-align: center; font-size: 30px; letter-spacing: -1px; max-width: 720px; }
.specialisms > .container > p.lead { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.specialism-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.specialism {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 12px; text-align: center;
  background: #fff; border: 1px solid #dbeaf0; border-radius: 16px; padding: 32px 24px;
  box-shadow: 0 10px 26px rgba(7,25,55,.05); color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.specialism:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(7,25,55,.12); border-color: #b9e3ea; }
.specialism img { width: 60px; height: 60px; }
.specialism .name { font-size: 19px; font-weight: 800; letter-spacing: -.4px; }
.specialism .desc { font-size: 13.5px; color: var(--muted2); line-height: 1.5; max-width: 240px; }

/* -------------------- Comparison -------------------- */
.compare { padding: 78px 0; background: #fff; }
.compare-head { max-width: 700px; margin: 0 auto 40px; text-align: center; }
.compare-head h2 { font-size: 30px; letter-spacing: -1px; margin: 0 0 12px; }
.compare-table { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-col { padding: 28px 30px; }
.compare-col.bad { background: #fbfbfc; }
.compare-col.good { background: linear-gradient(180deg, #f2fcff, #eafaff); border-left: 1px solid var(--line); }
.compare-col h3 { margin: 0 0 20px; font-size: 15px; letter-spacing: .3px; }
.compare-col.good h3 { color: var(--teal-deep); }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.compare-col li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--muted2); }
.compare-col.good li { color: var(--text); font-weight: 500; }
.compare-col li svg { flex: none; width: 19px; height: 19px; margin-top: 1px; fill: none; }
.compare-col.bad li svg { stroke: #c74d4d; }
.compare-col.good li svg { stroke: var(--teal-deep); }

/* -------------------- Role pills, grouped by discipline -------------------- */
.roles { padding: 70px 0; background: #fff; }
.roles h2 { font-size: 28px; letter-spacing: -.8px; margin: 0 0 10px; }
.pill-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 30px; }
.pill-group h3 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--teal-deep);
  margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid #e2eff4;
}
.pill-list { display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  font-size: 13.5px; font-weight: 600; padding: 9px 15px; border-radius: 999px;
  background: #f2fafc; border: 1px solid #d3e8ee; color: var(--navy2);
}

/* -------------------- Niche banner -------------------- */
.niche {
  min-height: 160px; position: relative; overflow: hidden;
  background: linear-gradient(90deg, #150b30, #06132e 40%, #06132e 60%, #200c2e);
  display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
}
.niche-bg { position: absolute; inset: 0; }
.niche-bg img { width: 100%; height: 100%; object-fit: cover; }
.niche-content { position: relative; z-index: 1; padding: 34px 20px; }
.niche h2 { margin: 0; font-size: 30px; line-height: 1.1; letter-spacing: -1px; }
.niche p { margin: 8px 0 0; font-size: 15px; color: #cdeef4; }

/* -------------------- Candidate voices -------------------- */
.voices { padding: 78px 0; background: linear-gradient(180deg, #f8fdff, #eef7fb); }
.voices-head { max-width: 660px; margin: 0 0 34px; }
.voices-head h2 { font-size: 30px; letter-spacing: -1px; margin: 0 0 12px; }
.voices-head p.lead { margin: 0; }
.voice-group-label {
  margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px;
}
.voice-group-label:after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.voice-group-label-spaced { margin-top: 42px; }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voice {
  margin: 0; background: #fff; border: 1px solid #dce8ef; border-radius: 14px;
  padding: 26px 26px 24px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.voice:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.voice blockquote {
  margin: 0; font-size: 15px; line-height: 1.65; color: var(--text); position: relative;
  padding-top: 26px; flex: 1;
}
.voice blockquote:before {
  content: "\201C"; position: absolute; top: -10px; left: -2px;
  font-size: 54px; line-height: 1; font-weight: 800; color: var(--teal); opacity: .32;
}
.voice figcaption { border-top: 1px solid var(--line); padding-top: 16px; }
.voice-role { display: block; font-size: 14px; font-weight: 700; color: var(--navy); }
.voice-meta { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.voices-note { margin: 30px 0 0; font-size: 14px; color: var(--muted2); }
.voices-note a { color: var(--teal-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.voices-note a:hover { color: var(--navy); }

/* -------------------- About -------------------- */
.about { padding: 82px 0; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: start; }
.about h2 { font-size: 30px; letter-spacing: -1px; margin: 0 0 16px; }
.about p.lead { margin: 0 0 18px; }
.about-note { border-left: 3px solid var(--teal-deep); padding-left: 16px; font-size: 14px; color: var(--muted2); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat {
  background: linear-gradient(160deg, #f7fdff, #eef9fc);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; text-align: center;
}
.stat strong { display: block; font-size: 24px; letter-spacing: -1px; color: var(--navy); }
.stat span { font-size: 12px; color: var(--muted); font-weight: 600; }

/* -------------------- Insights -------------------- */
.insights { background: #f4fbfe; padding: 76px 0; }
.insights-title { font-size: 30px; letter-spacing: -1px; margin: 0 0 12px; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.insight-card {
  background: #fff; border: 1px solid #dce8ef; border-radius: 14px; padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.insight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.insight-tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  color: var(--teal-deep); background: rgba(6,120,141,.09); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px;
}
.insight-card h3 { margin: 0 0 8px; font-size: 17.5px; letter-spacing: -.3px; }
.insight-card h3 a:hover { color: var(--teal-deep); }
.insight-card p { margin: 0; color: var(--muted2); font-size: 14px; line-height: 1.6; }

/* -------------------- Coming soon panel (placeholder jobs page) -------------------- */
.soon-panel {
  max-width: 700px; margin: 0 auto; text-align: center;
  background: linear-gradient(180deg, #f8fdff, #eef8fb);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 46px 40px 40px;
}
.soon-badge {
  display: inline-block; margin-bottom: 18px; padding: 6px 13px;
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--teal-deep); background: rgba(6,120,141,.10);
  border: 1px solid rgba(6,120,141,.22); border-radius: 999px;
}
.soon-panel h2 { margin: 0 0 14px; font-size: 26px; letter-spacing: -.8px; }
.soon-panel p { margin: 0 auto 16px; max-width: 560px; font-size: 15px; line-height: 1.65; color: var(--muted2); }
.soon-panel .ctas { justify-content: center; margin-top: 26px; }
.soon-note { margin: 24px 0 0 !important; font-size: 13.5px; color: var(--muted); }
.soon-note a { color: var(--teal-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.soon-note a:hover { color: var(--navy); }

/* -------------------- FAQ (native details/summary) -------------------- */
.faq { padding: 78px 0 86px; background: #fff; }
.faq-head { max-width: 640px; margin: 0 0 36px; }
.faq-head h2 { font-size: 30px; letter-spacing: -1px; margin: 0 0 10px; }
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 40px 16px 0; position: relative;
  font-weight: 700; font-size: 16px; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; line-height: 1; color: var(--teal-deep); transition: transform .25s var(--ease);
}
.faq-item[open] summary:after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { margin: 0 0 20px; color: var(--muted2); font-size: 14.5px; line-height: 1.7; max-width: 680px; }

/* -------------------- Final CTA -------------------- */
.final {
  padding: 78px 20px 88px; text-align: center;
  background:
    radial-gradient(circle at 12% 60%, rgba(12,172,195,.10), transparent 30%),
    radial-gradient(circle at 88% 45%, rgba(11,91,178,.08), transparent 32%),
    #fff;
}
.final h2 { margin: 0 0 10px; font-size: 32px; letter-spacing: -1px; }
.final p { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.final .ctas { justify-content: center; }

/* -------------------- Sticky mobile CTA -------------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(7,25,55,.10);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .3s var(--ease);
  display: none;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .ctas { gap: 10px; }
.sticky-cta .ctas .btn { flex: 1 1 0; min-width: 0; padding-left: 8px; padding-right: 8px; }

/* -------------------- Footer -------------------- */
footer { background: var(--navy); color: #fff; padding: 46px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; }
.footer-brand p { color: #9fb2cf; font-size: 13.5px; line-height: 1.6; max-width: 300px; margin: 14px 0 0; }
.footer-col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px; color: #7f96b8; margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 13.5px; color: #e6f0fa; opacity: .9; transition: opacity .2s var(--ease); }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 10px; padding: 18px 0;
  font-size: 12px; color: #8ea3c2; text-align: center;
}

/* =========================================================
   Sub-pages
   ========================================================= */
.page-hero {
  min-height: 320px; position: relative; overflow: hidden;
  background-image:
    radial-gradient(circle at 78% 25%, rgba(13,184,214,.30), transparent 25%),
    radial-gradient(circle at 25% 80%, rgba(30,92,190,.25), transparent 30%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 34px),
    linear-gradient(120deg, #06132e, #092653 60%, #073d57);
  color: #fff; display: flex; align-items: center; padding: 54px 0;
}
.page-hero-compact { min-height: 240px; padding: 44px 0; }
.page-hero .container { width: min(1100px, calc(100% - 48px)); position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(32px, 5.2vw, 58px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -1.8px; font-weight: 800; }
.page-hero p { max-width: 640px; font-size: 17.5px; line-height: 1.6; color: #e7f5ff; margin: 0; }

.content { padding: 80px 0; }
.content h2 { font-size: 32px; letter-spacing: -1px; margin: 0 0 12px; }
.lead { color: var(--muted); max-width: 720px; line-height: 1.7; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 35px; }
.card {
  padding: 30px; border: 1px solid #dce8ef; border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #b9e3ea; }
.card h3 { margin: 0 0 10px; font-size: 20px; }
.card h3 a:hover { color: var(--teal-deep); }
.card p { margin: 0; color: var(--muted2); line-height: 1.6; font-size: 14px; }

.seo-content .seo-block { margin-bottom: 30px; }
.seo-content .seo-block h2 { font-size: 24px; letter-spacing: -.6px; margin: 0 0 10px; }
.seo-links { background: #f7fcfe; }
.seo-links h2 { font-size: 26px; }
.seo-links-note { margin: 26px 0 0; font-size: 14px; color: var(--muted2); }
.seo-links-note a { color: var(--teal-deep); font-weight: 700; text-decoration: underline; }

.process { background: #f4fbfe; padding: 76px 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; list-style: none; padding: 0; }
.step {
  padding: 26px; background: #fff; border: 1px solid #dce8ef; border-radius: 12px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.number {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy), var(--teal-deep)); color: #fff; font-weight: 800;
  margin-bottom: 16px; font-size: 15px;
}
.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--muted2); font-size: 13px; line-height: 1.55; }

.cta-strip {
  padding: 64px 20px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(110deg, #06132e, #0a3655);
}
.cta-strip:before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(16,169,189,.28), transparent 45%);
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { margin: 0 0 10px; font-size: 30px; letter-spacing: -.5px; }
.cta-strip p { margin: 0 0 22px; color: #dbeefa; }

/* =========================================================
   Jobs board
   ========================================================= */
.jobs-section { padding: 54px 0 80px; background: #f7fcfe; }

.filters {
  background: #fff; border: 1px solid #dce8ef; border-radius: 16px;
  padding: 22px 24px; box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.filter-grid { display: grid; grid-template-columns: 2fr 1.4fr auto; gap: 16px; align-items: end; }
.filter-reset-field { align-self: end; }
.filter-count { margin: 16px 0 0; font-size: 13px; font-weight: 600; color: var(--muted2); }

.job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.job-card {
  background: #fff; border: 1px solid #dce8ef; border-radius: 14px; padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #b9e3ea; }
.job-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.job-title { margin: 0; font-size: 20px; letter-spacing: -.5px; color: var(--navy); }
.job-discipline {
  flex: none; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px;
  color: var(--teal-deep); background: rgba(6,120,141,.09); padding: 6px 11px; border-radius: 999px;
}
.job-meta {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--muted2); font-weight: 600;
}
.job-meta li { display: flex; align-items: center; gap: 6px; }
.job-meta li + li:before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #bcccd8; margin-right: 8px; }
.job-location { color: var(--navy2); }
.job-summary { margin: 14px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--muted2); max-width: 760px; }
.job-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.job-posted { font-size: 12.5px; color: #7d8ea1; }

.job-empty {
  background: #fff; border: 1px dashed #b7cdd9; border-radius: 14px;
  padding: 44px 28px; text-align: center;
}
.job-empty h3 { margin: 0 0 8px; font-size: 20px; }
.job-empty p { margin: 0 auto 20px; color: var(--muted2); font-size: 14.5px; max-width: 420px; }
.jobs-note { margin: 28px 0 0; font-size: 14px; color: var(--muted2); text-align: center; }
.jobs-note a { color: var(--teal-deep); font-weight: 700; text-decoration: underline; }

/* -------------------- Forms -------------------- */
.form-section { padding: 78px 0 88px; background: #f7fcfe; }
.form-head { text-align: center; margin-bottom: 30px; }
.form-head p.lead { margin: 0 auto; }
.form-wrap {
  max-width: 780px; margin: auto; background: #fff; border: 1px solid #dce8ef; border-radius: 16px;
  padding: 38px; box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 750; color: #15223d; }
.field .hint { font-size: 12px; color: #85929f; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; border: 1px solid #cedbe4; border-radius: 8px;
  font: inherit; font-size: 16px; /* 16px stops iOS Safari zooming on focus */
  color: #15223d; background: #fff; outline: none; min-height: 46px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; background-repeat: no-repeat; background-position: right 14px center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2352617a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  padding-right: 38px; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--teal-deep); box-shadow: 0 0 0 3px rgba(6,120,141,.12);
}
.field textarea { min-height: 115px; resize: vertical; }
.file-box { border: 1.5px dashed #9cb6c5; border-radius: 10px; padding: 18px; background: #f8fcfe; }
.file-box input { border: none; padding: 0; min-height: 0; font-size: 14px; }
.file-box small { display: block; margin-top: 7px; color: #718197; }
.trust-note {
  display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted2);
  background: #f2fafc; border: 1px solid #d3e8ee; border-radius: 10px; padding: 14px 16px; margin: 20px 0;
}
.trust-note svg { flex: none; width: 18px; height: 18px; stroke: var(--teal-deep); }
.form-note { font-size: 12px; color: #718197; line-height: 1.5; margin: 16px 0; }
.form-alt { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--muted2); }
.form-alt a { color: var(--teal-deep); font-weight: 700; }
.success {
  display: none; margin-top: 18px; padding: 14px 16px; border-radius: 9px;
  background: #e9fbf6; color: #11634e; font-size: 14px; font-weight: 600;
}
.form-error {
  display: none; margin-top: 18px; padding: 14px 16px; border-radius: 9px;
  background: #fdecec; color: #96271f; font-size: 14px; font-weight: 600;
}
.form-error a { color: #96271f; text-decoration: underline; text-underline-offset: 3px; }
.field.error input, .field.error select { border-color: #d15353; }
.field .error-msg { display: none; font-size: 12px; color: #c23a3a; font-weight: 600; margin: 0; }
.field.error .error-msg { display: block; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1040px) {
  .navlinks { gap: 20px; }
}
@media (max-width: 980px) {
  .about-grid, .compare-table { grid-template-columns: 1fr; }
  .compare-col.good { border-left: none; border-top: 1px solid var(--line); }
  .hero-art { display: none; }
  .hero-copy { width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .pill-groups { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 900px) {
  .specialism-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .cards, .steps, .voice-grid { grid-template-columns: 1fr 1fr; }
  .stat-bar .container { grid-template-columns: repeat(2,1fr); row-gap: 18px; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .filter-reset-field { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .navlinks {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 24px 18px; border-bottom: 1px solid #edf1f4; box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  header.nav-open .navlinks { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .navlinks a { width: 100%; padding: 14px 0; border-bottom: 1px solid #f1f5f8; font-size: 15px; }
  .navlinks a:after { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { gap: 10px; }
  .nav-cta { padding: 10px 14px; font-size: 13px; min-height: 42px; }
  .logo { font-size: 19px; }
  .logo img { width: 30px; height: 30px; }
}
@media (max-width: 650px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .hero { padding: 36px 0 0; }
  .hero-copy { width: 100%; padding: 16px 0 34px; }
  .hero h1 { font-size: 36px; letter-spacing: -1.4px; }
  .hero p { font-size: 15.5px; }
  .hero .ctas .btn, .page-hero .ctas .btn, .final .ctas .btn { flex: 1 1 100%; }
  .stat-bar .container { grid-template-columns: 1fr 1fr; }
  .niche h2 { font-size: 23px; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .insight-grid, .cards, .steps, .voice-grid { grid-template-columns: 1fr; }
  .form-grid, .filter-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .page-hero { min-height: 280px; padding: 42px 0; }
  .page-hero .container { width: min(1100px, calc(100% - 32px)); }
  .content, .about, .insights, .process, .compare, .roles, .faq, .form-section, .jobs-section, .voices { padding: 46px 0; }
  .content h2, .final h2, .cta-strip h2, .compare-head h2, .about h2, .insights-title, .specialisms h2, .voices-head h2 { font-size: 25px; letter-spacing: -.7px; }
  .form-wrap { padding: 22px; }
  .soon-panel { padding: 32px 22px 28px; }
  .soon-panel h2 { font-size: 22px; }
  .soon-panel .ctas .btn { flex: 1 1 100%; }
  .filters { padding: 18px; }
  .job-card { padding: 22px 20px; }
  .job-card-head { flex-direction: column; gap: 10px; }
  .job-discipline { align-self: flex-start; }
  .job-foot .btn { width: 100%; }
  .sticky-cta { display: block; }
}
@media (max-width: 380px) {
  .nav-cta { display: none; } /* the same action is in the open menu and the sticky bar */
  .sticky-cta .ctas { flex-direction: column; }
}

/* -------------------- Print -------------------- */
@media print {
  header, .sticky-cta, .nav-toggle, footer, .cta-strip, .final { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { color: #000; }
}
