/* ============================================================
   GovernEdge (Pty) Ltd  ·  Speculative build by Teque House
   Shared design system

   VERIFIED brand tokens (transcribed from the master logo SVGs,
   per the governedge-brand skill, section 2):
       --navy  #0b2644
       --gold  #caa73f
   Every other colour below is DERIVED from those two or is a
   neutral. None of the derived values is an approved brand
   colour. See BUILD-NOTE.md before treating any of them as one.

   Type is PROPOSED, not approved. GovernEdge has no body or
   display typeface on record. Source Serif 4 + Inter is the
   proposal made by this build; one line changes it.
   ============================================================ */

:root {
  /* verified */
  --navy: #0b2644;
  --gold: #caa73f;

  /* derived / proposed */
  --navy-deep: #071a30;
  --navy-mid: #123457;
  --navy-soft: #eef2f7;
  --gold-soft: #f9f4e6;
  --gold-line: rgba(202, 167, 63, 0.35);

  /* neutrals */
  --ink: #000000;
  --grey-700: #414b59;
  --grey-600: #5a6472;
  --grey-400: #8b95a3;
  --line: #e2e7ed;
  --line-soft: #eef1f5;
  --wash: #f7f8fa;
  --white: #ffffff;

  --maxw: 1140px;
  --maxw-narrow: 760px;
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 44px -24px rgba(11, 38, 68, 0.32);
  --shadow-lg: 0 30px 70px -30px rgba(11, 38, 68, 0.42);

  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
::selection { background: var(--gold); color: var(--navy-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--maxw-narrow); }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 12px 18px; z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- shared type helpers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}
.eyebrow.on-light { color: var(--grey-600); }
.eyebrow.on-light::before {
  content: "";
  display: inline-block;
  width: 22px; height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-2px);
}

.lede { font-size: 1.16rem; color: var(--grey-700); line-height: 1.72; }
.muted { color: var(--grey-600); }
.small { font-size: 0.92rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn-primary:hover { background: #d9b957; border-color: #d9b957; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.32); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand-word {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.015em;
  color: var(--navy);
  line-height: 1.1;
}
.brand-word small {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.93rem; font-weight: 500; color: var(--grey-700);
  padding: 6px 0; position: relative; transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px;
  color: var(--navy); cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: currentColor;
  margin: 5px 0; transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(202,167,63,0.16), transparent 62%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 104px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: linear-gradient(90deg, var(--gold) 0%, rgba(202,167,63,0) 62%);
}
.hero-grid { display: grid; grid-template-columns: 1.32fr 0.88fr; gap: 64px; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2.35rem, 4.6vw, 3.5rem); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lede { color: #cfd8e4; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta {
  margin-top: 42px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px;
}
.hero-meta div { font-size: 0.86rem; color: #aab7c8; }
.hero-meta strong { display: block; color: var(--white); font-size: 0.98rem; font-weight: 600; margin-bottom: 2px; }
.hero-mark { display: flex; justify-content: center; }
.hero-mark img { width: 200px; opacity: 0.96; filter: drop-shadow(0 24px 46px rgba(0,0,0,0.42)); }

/* page banner (interior pages) */
.pagehead {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white); padding: 74px 0 68px; position: relative;
}
.pagehead::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(202,167,63,0) 62%);
}
.pagehead h1 { color: var(--white); font-size: clamp(2.05rem, 3.8vw, 2.9rem); margin-bottom: 16px; }
.pagehead p { color: #c3cfdd; font-size: 1.1rem; max-width: 62ch; }

/* ---------- sections ---------- */
.section { padding: 92px 0; }
.section.tight { padding: 66px 0; }
.section.wash { background: var(--wash); }
.section.navy { background: var(--navy); color: #d9e1ec; }
.section.navy h2, .section.navy h3 { color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.centred { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.3rem); margin-bottom: 16px; }
.section-head p { color: var(--grey-600); font-size: 1.04rem; }
.section.navy .section-head p { color: #a9b7c8; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.14rem; margin-bottom: 12px; }
.card p { color: var(--grey-600); font-size: 0.96rem; line-height: 1.68; }
.card .num {
  font-family: var(--font-display);
  font-size: 0.86rem; font-weight: 600;
  color: var(--gold); display: block; margin-bottom: 10px;
  letter-spacing: 0.06em;
}
.card ul { list-style: none; margin-top: 16px; }
.card ul li {
  font-size: 0.92rem; color: var(--grey-600);
  padding-left: 18px; position: relative; margin-bottom: 7px; line-height: 1.6;
}
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
}

/* ---------- step list ---------- */
.steps { display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 72px 1fr; gap: 24px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step-num {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--gold); line-height: 1;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--grey-600); font-size: 0.98rem; }
.section.navy .step { border-bottom-color: rgba(255,255,255,0.12); }
.section.navy .step p { color: #a9b7c8; }

/* ---------- package cards ---------- */
.pkg {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pkg:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pkg.featured { background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-lg); }
.pkg.featured .pkg-name { color: var(--white); }
.pkg.featured > p, .pkg.featured li { color: #b9c6d6; }
.pkg-tag {
  display: inline-block; align-self: flex-start;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy-deep); background: var(--gold);
  padding: 5px 10px; border-radius: 2px; margin-bottom: 16px;
}
.pkg-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); margin-bottom: 6px; }
.pkg-kind {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--grey-400); margin-bottom: 18px;
}
.pkg.featured .pkg-kind { color: var(--gold); }
.pkg > p { color: var(--grey-600); font-size: 0.96rem; margin-bottom: 20px; }
.pkg ul { list-style: none; margin-bottom: 26px; }
.pkg ul li {
  font-size: 0.92rem; color: var(--grey-600); line-height: 1.6;
  padding-left: 20px; position: relative; margin-bottom: 9px;
}
.pkg ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border: 1.5px solid var(--gold);
  border-radius: 50%;
}
.pkg .btn { margin-top: auto; justify-content: center; }

/* ---------- service table ---------- */
.svc-block { margin-bottom: 56px; }
.svc-block:last-child { margin-bottom: 0; }
.svc-block > h3 {
  font-size: 1.32rem; padding-bottom: 14px;
  border-bottom: 2px solid var(--gold); margin-bottom: 10px;
}
.svc-block > p.muted { margin-bottom: 22px; font-size: 0.98rem; }
.svc-wrap { overflow-x: auto; }
table.svc { width: 100%; border-collapse: collapse; min-width: 520px; }
table.svc th {
  text-align: left; font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--grey-600);
  padding: 0 14px 10px 0; border-bottom: 1px solid var(--line);
}
table.svc td {
  padding: 15px 14px 15px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 0.96rem; color: var(--ink); vertical-align: top;
}
table.svc td strong { color: var(--navy); font-weight: 600; }
table.svc td.t-basis { color: var(--grey-600); font-size: 0.9rem; }
table.svc tr:last-child td { border-bottom: 0; }

/* ---------- callout ---------- */
.callout {
  border-left: 3px solid var(--grey-400);
  background: var(--wash);
  padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0;
}
.callout.accent { border-left-color: var(--gold); background: var(--gold-soft); }
.callout.navy-bar { border-left-color: var(--navy); background: var(--navy-soft); }
.callout h4 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.callout p { font-size: 0.95rem; color: var(--grey-700); }

/* ---------- split panel ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-list { list-style: none; }
.split-list li {
  padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line);
  position: relative; font-size: 0.99rem; color: var(--grey-700);
}
.split-list li:last-child { border-bottom: 0; }
.split-list li::before {
  content: ""; position: absolute; left: 0; top: 23px;
  width: 16px; height: 2px; background: var(--gold);
}
.split-list strong { color: var(--navy); font-weight: 600; }
.section.navy .split-list li { color: #b9c6d6; border-bottom-color: rgba(255,255,255,0.12); }
.section.navy .split-list strong { color: var(--white); }

/* ---------- stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--white); padding: 34px 26px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); line-height: 1.15; margin-bottom: 8px; }
.stat span { font-size: 0.88rem; color: var(--grey-600); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white); padding: 82px 0; text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 3px; background: var(--gold);
}
.cta h2 { color: var(--white); font-size: clamp(1.8rem, 3.2vw, 2.45rem); margin-bottom: 16px; }
.cta p { color: #bfcbd9; max-width: 58ch; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-line { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-of-type { border-bottom: 0; }
.contact-line .k {
  min-width: 108px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--grey-400); padding-top: 4px;
}
.contact-line .v { font-size: 1rem; color: var(--ink); }
.contact-line .v a { color: var(--navy); border-bottom: 1px solid var(--gold-line); }
.contact-line .v a:hover { border-bottom-color: var(--gold); }
.contact-line .v small { display: block; font-size: 0.86rem; color: var(--grey-600); margin-top: 3px; }

form.enquiry {
  background: var(--white); border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 34px 30px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 0.98rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 132px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,38,68,0.08);
}
form.enquiry .btn { width: 100%; justify-content: center; }
.form-note { font-size: 0.84rem; color: var(--grey-600); margin-top: 14px; text-align: center; }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: #93a2b5; padding: 68px 0 0; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 48px; }
.footer h4 {
  font-family: var(--font-body); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 18px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: #93a2b5; transition: color 0.2s var(--ease); }
.footer a:hover { color: var(--gold); }
.footer .fbrand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer .fbrand img { height: 42px; }
.footer .fbrand span { font-weight: 700; font-size: 1.14rem; color: var(--white); letter-spacing: -0.015em; }
.footer p.fdesc { max-width: 34ch; line-height: 1.7; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding: 24px 0 34px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 0.82rem; color: #6f7e92;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-mark { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 78px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 28px 20px; display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links a::after { display: none; }
  .nav-cta .btn { display: none; }
  .section { padding: 66px 0; }
  .hero { padding: 72px 0 64px; }
  .pagehead { padding: 56px 0 52px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; gap: 18px; }

  /* A three-column table is unreadable at 375px and a sideways scroll is
     worse. Collapse each row into a stacked block instead. */
  .svc-wrap { overflow-x: visible; }
  table.svc { min-width: 0; }
  table.svc thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.svc, table.svc tbody, table.svc tr, table.svc td { display: block; width: 100%; }
  table.svc tr {
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 22px;
    margin-bottom: 14px;
  }
  table.svc tr:last-child { margin-bottom: 0; }
  table.svc td { border-bottom: 0; padding: 0 0 10px 0; }
  table.svc td:last-child { padding-bottom: 0; }
  table.svc td strong { display: block; font-size: 1.02rem; margin-bottom: 2px; }
  table.svc td.t-basis::before {
    content: "Basis: ";
    font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    font-size: 0.68rem; color: var(--grey-400);
  }
}

/* Added 2026-10-04: WhatsApp button, FAQ blocks, long-form legal pages */
.wa-float{position:fixed;right:18px;bottom:18px;z-index:60;background:#1f8f4e;color:#fff;
font-weight:600;font-size:.92rem;padding:12px 18px;border-radius:999px;text-decoration:none;
box-shadow:0 6px 18px rgba(0,0,0,.18)}
.wa-float:hover{background:#18753f}
.faq details{border-bottom:1px solid var(--grey-200,#e3e7ec);padding:16px 0}
.faq summary{cursor:pointer;font-weight:600;color:var(--navy)}
.faq details p{margin-top:10px;color:var(--grey-600)}
.prose h2{font-size:1.35rem;margin:34px 0 12px}
.prose p,.prose li{color:var(--grey-700)}
.prose ul{margin:0 0 16px 20px}
/* Leadership dossier, 2026-10-04. Signature: the career set out as a ledger, totalled under a double rule */
.dossier{display:grid;grid-template-columns:minmax(260px,360px) 1fr;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);background:var(--white)}
.dossier-panel{background:var(--navy);color:#c9d4e2;padding:46px 38px 40px;display:flex;flex-direction:column;align-items:flex-start;position:relative}
.dossier-panel::after{content:"";position:absolute;inset:0 0 auto auto;width:3px;height:100%;background:linear-gradient(var(--gold),rgba(202,167,63,0))}
.dossier-photo{position:relative;width:240px;max-width:100%;margin:0 0 30px 0}
.dossier-photo::before{content:"";position:absolute;inset:14px -14px -14px 14px;border:1px solid var(--gold);border-radius:3px}
.dossier-photo img{position:relative;display:block;width:100%;height:auto;aspect-ratio:480/613;object-fit:cover;border-radius:3px;filter:saturate(.92) contrast(1.04)}
.dossier-name{font-family:var(--font-display);font-size:1.75rem;color:var(--white);line-height:1.15;margin:6px 0 6px}
.dossier-role{font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin-bottom:26px}
.dossier-cred{border-top:1px solid rgba(202,167,63,.35);border-bottom:1px solid rgba(202,167,63,.35);padding:14px 0;margin-bottom:26px;font-size:.86rem;line-height:1.5;width:100%}
.dossier-cred span{display:block;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:#8fa3bb;margin-bottom:4px}
.dossier-panel>div{display:flex;flex-direction:column;align-items:flex-start;flex:1;width:100%}
.dossier-link{color:var(--white);font-weight:600;font-size:.9rem;text-decoration:none;border-bottom:1px solid var(--gold);padding-bottom:2px}
.dossier-foot{margin:auto 0 0;padding-top:34px;display:grid;grid-template-columns:auto 1fr;gap:8px 16px;font-size:.86rem;width:100%}
.dossier-foot dt{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:#8fa3bb;padding-top:2px}
.dossier-foot dd{margin:0;color:#c9d4e2}
.dossier-foot a{color:#c9d4e2;text-decoration:none}
.dossier-foot a:hover,.dossier-foot a:focus-visible{color:var(--gold)}
.dossier-link:hover,.dossier-link:focus-visible{color:var(--gold)}
.dossier-body{padding:50px 54px 46px}
.dossier-body .eyebrow{margin-bottom:18px}
.dossier-quote{font-family:var(--font-display);font-size:clamp(1.9rem,3.2vw,2.7rem);line-height:1.12;color:var(--navy);margin:0 0 22px;letter-spacing:-.01em}
.dossier-quote em{font-style:italic;color:var(--gold)}
.dossier-body p{color:var(--grey-700);max-width:58ch;margin-bottom:14px}
.ledger{margin-top:34px;width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.ledger caption{text-align:left;font-size:.68rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--grey-600);padding-bottom:10px}
.ledger th{font-size:.68rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--grey-400);text-align:left;padding:0 0 8px;border-bottom:1px solid var(--navy)}
.ledger th:last-child,.ledger td:last-child{text-align:right;white-space:nowrap}
.ledger td{padding:13px 0;border-bottom:1px dotted var(--line);vertical-align:baseline;color:var(--grey-700);font-size:.94rem}
.ledger td:first-child{color:var(--navy);font-weight:600;padding-right:18px}
.ledger td:nth-child(2){color:var(--grey-600);padding-right:18px}
.ledger td:last-child{font-family:var(--font-display);font-size:1.15rem;color:var(--navy)}
.ledger .tick{color:var(--gold);font-family:var(--font-body);font-weight:700}
.ledger tfoot td{border-bottom:0;padding-top:16px;font-weight:700;color:var(--navy)}
.ledger tfoot td:last-child{font-size:1.9rem;position:relative;padding-bottom:12px}
.ledger tfoot td:last-child::after{content:"";position:absolute;right:0;bottom:2px;width:100%;height:5px;border-top:1.5px solid var(--gold);border-bottom:1.5px solid var(--gold);transform-origin:right;transform:scaleX(0);transition:transform 1.1s var(--ease) .35s}
.ledger tfoot td:last-child::before{content:"";position:absolute;right:0;top:4px;width:100%;border-top:1px solid var(--navy)}
.reveal.in .ledger tfoot td:last-child::after,.ledger.in tfoot td:last-child::after{transform:scaleX(1)}
.dossier-notes{margin-top:34px}
@media (prefers-reduced-motion:reduce){.ledger tfoot td:last-child::after{transform:scaleX(1);transition:none}}
@media (max-width:980px){.dossier{grid-template-columns:1fr}.dossier-panel{padding:40px 30px;flex-direction:row;flex-wrap:wrap;gap:0 30px;align-items:flex-end}.dossier-panel::after{width:100%;height:3px;inset:auto 0 0 0;background:linear-gradient(90deg,var(--gold),rgba(202,167,63,0))}.dossier-photo{width:180px;margin-bottom:24px}.dossier-panel>div{flex:1 1 220px}.dossier-body{padding:40px 30px}}
@media (max-width:600px){.dossier-photo{width:150px}.ledger td:nth-child(2),.ledger th:nth-child(2){display:none}.ledger td:first-child small{display:block;font-weight:400;color:var(--grey-600);font-size:.84rem;margin-top:3px}}
@media (min-width:601px){.ledger td:first-child small{display:none}}

/* ---------- testimonials as speech bubbles (2026-11-06) ---------- */
.testimonials-band { background: linear-gradient(180deg, var(--wash) 0%, var(--white) 100%); }
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 40px 28px;
  align-items: stretch;
}
.testimonials.single { grid-template-columns: 1fr; margin-top: 18px; }
.quote { margin: 0; display: flex; flex-direction: column; }
.quote-bubble {
  position: relative;
  margin: 0;
  padding: 46px 30px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 22px;
  box-shadow: var(--shadow);
  flex: 1 1 auto;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.quote-bubble::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 22px;
  font-family: var(--font-display);
  font-size: 92px;
  line-height: 1;
  color: var(--gold);
}
.quote-bubble::after {
  content: "";
  position: absolute;
  left: 42px;
  bottom: -13px;
  width: 24px;
  height: 24px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-bottom-right-radius: 5px;
  transform: rotate(45deg);
}
.quote-bubble p { margin: 0; font-size: 1.01rem; line-height: 1.75; color: var(--grey-700); }
.quote:hover .quote-bubble { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quote-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-left: 30px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--grey-600);
}
.quote-who strong { color: var(--navy); font-weight: 600; }
.quote-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft), 0 0 0 4px var(--gold-line);
}
@media (prefers-reduced-motion: reduce) {
  .quote-bubble { transition: none; }
  .quote:hover .quote-bubble { transform: none; }
}

/* ---------- Bastion login (team) ---------- */
.nav-login { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.nav-login svg { color: var(--gold); flex: none; }
.nav-login:hover { border-color: var(--navy); background: rgba(11,38,68,0.04); }
.nav-login:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav-links .nav-login-m { display: none; }
.nav-login .l-short { display: none; }
@media (max-width: 1120px) { .nav-login .l-full { display: none; } .nav-login .l-short { display: inline; } .nav-login { padding: 9px 13px; } }
@media (max-width: 1040px) { .nav-login .l-short { display: none; } .nav-login { width: 40px; height: 40px; padding: 0; justify-content: center; border-color: var(--gold); } .nav-login svg { width: 17px; height: 17px; } }
@media (max-width: 760px) { .nav-cta .nav-login { display: none; } .nav-links .nav-login-m { display: block; color: var(--navy); font-weight: 600; } }
