/* ============================================================
   HF Global - Specialist Retained Executive Search
   Design system: HF Global navy + blue + white
   ============================================================ */

:root {
  --ink: #142036;
  --ink-2: #1B4571;
  --ink-3: #0F1829;
  --line-dark: rgba(218, 225, 234, 0.18);
  --bone: #FFFFFF;
  --bone-2: #F4F7FA;
  --bone-3: #DAE1EA;
  --paper: #FFFFFF;
  --text: #142036;
  --text-mute: #4F6074;
  --text-soft: #728196;
  --on-dark: #F4F7FA;
  --on-dark-mute: #B8C5D4;
  --accent: #547B9D;
  --accent-hover: #1B4571;
  --accent-soft: rgba(84, 123, 157, 0.12);
  --success: #2F6F5E;

  --font-display: 'Poppins', 'Avant Garde', 'ITC Avant Garde Gothic Pro', Calibri, Arial, sans-serif;
  --font-body: 'Poppins', Calibri, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --container: 1240px;
  --container-narrow: 960px;
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(20, 32, 54, 0.06), 0 1px 3px rgba(20, 32, 54, 0.05);
  --shadow-md: 0 8px 24px rgba(20, 32, 54, 0.09);
  --shadow-lg: 0 28px 70px rgba(20, 32, 54, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bone);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; }
h3 { font-size: 1.35rem; line-height: 1.25; font-weight: 600; }
h4 { font-size: 1.05rem; line-height: 1.35; font-weight: 500; font-family: var(--font-body); letter-spacing: 0.02em; }
p { margin: 0 0 1em; }
.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text-mute);
  max-width: 60ch;
}
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.dark .eyebrow { color: var(--accent); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--bone); }
.dark p { color: var(--on-dark); }
.dark .lead { color: var(--on-dark-mute); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container.narrow { max-width: var(--container-narrow); }
section { padding: 110px 0; position: relative; }
section.tight { padding: 80px 0; }
section.dark { background: var(--ink); color: var(--on-dark); }
section.ink-2 { background: var(--ink-2); color: var(--on-dark); }
section.paper { background: var(--paper); }
section.bone-2 { background: var(--bone-2); }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
}

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn .arrow {
  width: 16px; height: 10px;
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--ink);
  color: var(--bone);
}
.btn-primary:hover { background: var(--accent); color: var(--bone); }
.btn-accent {
  background: var(--accent);
  color: var(--bone);
}
.btn-accent:hover { background: var(--accent-hover); color: var(--bone); }
.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bone); }
.btn-ghost-light {
  border: 1px solid rgba(245, 241, 232, 0.3);
  color: var(--bone);
}
.btn-ghost-light:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn-link {
  padding: 0;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding-bottom: 4px;
}
.btn-link:hover { color: var(--accent); border-color: var(--accent); }
.dark .btn-link { color: var(--bone); border-color: var(--bone); }
.dark .btn-link:hover { color: var(--accent); border-color: var(--accent); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Navigation ---------- */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.nav-wrap.scrolled {
  border-bottom-color: rgba(20, 32, 54, 0.1);
  background: rgba(255, 255, 255, 0.98);
}
.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo {
  display: inline-flex;
  align-items: center;
  min-width: 84px;
  color: var(--ink);
}
.logo-stacked {
  width: 86px;
  height: auto;
}
footer .logo-stacked {
  filter: brightness(0) invert(1);
  width: 94px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 0.93rem;
}
.nav-links a {
  color: var(--text);
  font-weight: 600;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -22px; left: 0; right: 0;
  height: 3px; background: var(--accent);
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

.home-page main {
  padding-top: 0;
}
.home-page .nav-wrap:not(.scrolled):not(.mobile-open) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.home-page .nav-wrap:not(.scrolled):not(.mobile-open) .nav {
  padding-top: 20px;
  padding-bottom: 18px;
}
.home-page .nav-wrap:not(.scrolled):not(.mobile-open) .logo-stacked {
  filter: brightness(0) invert(1);
  width: 102px;
}
.home-page .nav-wrap:not(.scrolled):not(.mobile-open) .nav-links a,
.home-page .nav-wrap:not(.scrolled):not(.mobile-open) .nav-toggle {
  color: var(--bone);
}
.home-page .nav-wrap:not(.scrolled):not(.mobile-open) .nav-links a:hover {
  color: var(--on-dark);
}
.home-page .nav-wrap:not(.scrolled):not(.mobile-open) .nav-links a.active {
  color: var(--bone);
}
.home-page .nav-wrap:not(.scrolled):not(.mobile-open) .nav-cta .btn-primary {
  background: var(--bone);
  color: var(--ink);
}
.home-page .nav-wrap:not(.scrolled):not(.mobile-open) .nav-cta .btn-primary:hover {
  background: var(--accent);
  color: var(--bone);
}

@media (max-width: 980px) {
  .nav { padding: 12px 24px; }
  .logo { min-width: auto; }
  .logo-stacked { width: 72px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bone);
    padding: 20px 32px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--bone-3);
  }
  .mobile-open .nav-links a.active::after { display: none; }
  .home-page .nav-wrap:not(.scrolled):not(.mobile-open) .nav {
    padding-top: 16px;
    padding-bottom: 14px;
  }
  .home-page .nav-wrap:not(.scrolled):not(.mobile-open) .logo-stacked {
    width: 86px;
  }
}

main { padding-top: 72px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 32, 54, 0.78) 0%, rgba(20, 32, 54, 0.54) 46%, rgba(20, 32, 54, 0.24) 100%),
    linear-gradient(180deg, rgba(20, 32, 54, 0.12), rgba(20, 32, 54, 0.52));
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1920&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 1;
  filter: saturate(0.98) contrast(1.08) brightness(1.06);
}
.hero-brand-line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  height: 8px;
  background: var(--accent);
}
.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 120px 0 60px;
}
.hero-copy {
  max-width: 760px;
}
.hero .eyebrow {
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  letter-spacing: 0.14em;
  margin-bottom: 1.45rem;
}
.hero .eyebrow::before {
  width: 42px;
  height: 2px;
}
.hero h1 {
  color: var(--bone);
  font-size: clamp(2.55rem, 5vw, 4.75rem);
  line-height: 1.03;
  max-width: 14ch;
  text-shadow: 0 3px 22px rgba(20, 32, 54, 0.55);
}
.hero h1 em {
  color: var(--bone);
  font-weight: 700;
}
.hero-lead {
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  color: var(--on-dark);
  max-width: 54ch;
  margin: 26px 0 0;
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(20, 32, 54, 0.62);
}
.hero-audience {
  display: inline-flex;
  max-width: 52ch;
  margin: 18px 0 0;
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
  background: rgba(20, 32, 54, 0.34);
  color: var(--bone);
  font-weight: 600;
  line-height: 1.45;
}
.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--bone);
}
.hero .btn-ghost:hover {
  background: var(--bone);
  color: var(--ink);
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 78px;
  padding-top: 34px;
  border-top: 1px solid rgba(218, 225, 234, 0.22);
  max-width: 980px;
}
.hero-meta-item .label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--on-dark-mute);
  margin-bottom: 8px;
}
.hero-meta-item .value {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.25;
  color: var(--bone);
  font-weight: 600;
}
@media (max-width: 820px) {
  .hero-meta { grid-template-columns: 1fr; gap: 20px; margin-top: 52px; }
}
@media (max-width: 620px) {
  main { padding-top: 64px; }
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .cta-row { flex-direction: column; gap: 10px; }
  .hero { min-height: auto; align-items: flex-start; }
  .hero-inner { padding: 76px 0 58px; }
  .hero h1 { max-width: 100%; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(20, 32, 54, 0.82), rgba(20, 32, 54, 0.58)),
      linear-gradient(180deg, rgba(20, 32, 54, 0.18), rgba(20, 32, 54, 0.68));
  }
}

/* ---------- Coverage strip ---------- */
.coverage {
  background: var(--ink-2);
  color: var(--on-dark);
  padding: 34px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
}
.coverage-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 34px;
}
.coverage-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--on-dark-mute);
}
.coverage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--on-dark);
  font-weight: 600;
}
.coverage-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(218, 225, 234, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--bone);
}
@media (max-width: 760px) {
  .coverage-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ---------- Proof strip ---------- */
.proof-strip {
  background: var(--bone);
  border-bottom: 1px solid var(--bone-3);
  padding: 42px 0;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--bone-3);
  background: var(--paper);
}
.proof-item {
  padding: 30px 32px;
  border-right: 1px solid var(--bone-3);
}
.proof-item:last-child { border-right: 0; }
.proof-kicker {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 10px;
}
.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 420;
  color: var(--ink);
  margin-bottom: 8px;
}
.proof-item p {
  color: var(--text-mute);
  font-size: 0.94rem;
  margin: 0;
}
@media (max-width: 860px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { border-right: 0; border-bottom: 1px solid var(--bone-3); }
  .proof-item:last-child { border-bottom: 0; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--bone-3);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.card .card-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 14px; }
.card p { color: var(--text-mute); font-size: 0.97rem; }
.card-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  font-size: 0.92rem;
  color: var(--text-mute);
  display: flex; flex-direction: column; gap: 8px;
}
.card-list li {
  padding-left: 18px; position: relative;
}
.card-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--accent);
}

.card-dark {
  background: var(--ink-2);
  border-color: var(--line-dark);
  color: var(--on-dark);
}
.card-dark h3 { color: var(--bone); }
.card-dark p, .card-dark .card-list { color: var(--on-dark-mute); }
.card-dark:hover {
  border-color: var(--accent);
  background: var(--ink-3);
}

/* ---------- Split content ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.split.reverse { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 980px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
}
.split-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 20, 38, 0.35));
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--bone-3);
}
.step {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--bone-3);
  align-items: start;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  font-weight: 400;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-mute); margin: 0; }
.step-meta {
  font-size: 0.85rem;
  color: var(--text-soft);
  border-left: 1px solid var(--bone-3);
  padding-left: 24px;
}
.step-meta strong { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) {
  .step { grid-template-columns: 1fr; gap: 16px; }
  .step-meta { border-left: 0; padding-left: 0; border-top: 1px solid var(--bone-3); padding-top: 16px; }
}

/* ---------- Testimonials ---------- */
.tm {
  background: var(--paper);
  border: 1px solid var(--bone-3);
  padding: 40px;
  border-radius: var(--radius-lg);
  height: 100%;
  display: flex; flex-direction: column;
  position: relative;
}
.tm::before {
  content: "\201C";
  position: absolute; top: 18px; right: 28px;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
}
.tm blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 24px;
  font-weight: 380;
  letter-spacing: -0.005em;
}
.tm-attr {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--bone-3);
  font-size: 0.88rem;
  color: var(--text-mute);
}
.tm-attr strong { color: var(--ink); display: block; font-weight: 500; margin-bottom: 2px; }

/* ---------- Case studies ---------- */
.case {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--on-dark);
  transition: all 0.4s var(--ease);
  height: 100%;
  display: flex; flex-direction: column;
}
.case:hover { background: var(--ink-3); border-color: var(--accent); }
.case .case-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 16px;
}
.case h3 { color: var(--bone); font-size: 1.3rem; margin-bottom: 14px; }
.case p { color: var(--on-dark-mute); font-size: 0.95rem; }
.case-stats {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.case-stat .v {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--bone);
  display: block;
  letter-spacing: -0.01em;
}
.case-stat .k {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--on-dark-mute);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--bone);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(84, 123, 157, 0.28), transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(27, 69, 113, 0.72), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--bone); max-width: 22ch; margin: 0 auto 18px; }
.cta-band p { color: var(--on-dark); max-width: 56ch; margin: 0 auto 32px; font-size: 1.1rem; }

/* ---------- Compensation insights band ---------- */
.insight-band {
  background: var(--bone-2);
  border-top: 1px solid var(--bone-3);
  border-bottom: 1px solid var(--bone-3);
}
.insight-band .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.insight-band h2 { margin-bottom: 16px; }
@media (max-width: 980px) { .insight-band .container { grid-template-columns: 1fr; } }

.insight-form {
  background: var(--paper);
  border: 1px solid var(--bone-3);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.insight-form label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mute);
  margin-bottom: 6px;
  font-weight: 500;
}
.insight-form input,
.insight-form select,
.insight-form textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--bone-3);
  background: var(--bone);
  color: var(--text);
  border-radius: var(--radius);
  margin-bottom: 18px;
  transition: border-color 0.2s var(--ease);
}
.insight-form textarea { min-height: 110px; resize: vertical; }
.insight-form input:focus,
.insight-form select:focus,
.insight-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.insight-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 0.8rem; color: var(--text-soft); margin: 14px 0 0; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 920px;
  border-top: 1px solid var(--bone-3);
}
.faq {
  border-bottom: 1px solid var(--bone-3);
  padding: 24px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--bone-3);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 1.2rem;
}
.faq[open] summary::after { content: "-"; }
.faq p {
  max-width: 68ch;
  color: var(--text-mute);
  margin: 14px 54px 0 0;
}

/* ---------- Mobile quick actions ---------- */
.mobile-action-bar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 74px; }
  .mobile-action-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(245, 241, 232, 0.96);
    border-top: 1px solid var(--bone-3);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .mobile-action-bar .btn {
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.86rem;
  }
}
@media (max-width: 420px) {
  .mobile-action-bar {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: 80px 0 40px;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 980px) { footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { footer .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { color: var(--on-dark-mute); font-size: 0.93rem; max-width: 36ch; }
footer h4 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 22px;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.93rem; }
.footer-list a { color: var(--on-dark); transition: color 0.2s var(--ease); }
.footer-list a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 36px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--on-dark-mute);
}
.footer-bottom a { color: var(--on-dark-mute); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Page header (interior) ---------- */
.page-header {
  background: var(--ink);
  color: var(--bone);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(84, 123, 157, 0.26), transparent 50%),
    linear-gradient(180deg, var(--ink), var(--ink-2));
}
.page-header > * { position: relative; z-index: 1; }
.page-header h1 { color: var(--bone); max-width: 24ch; }
.page-header h1 em { font-style: italic; color: var(--accent); font-weight: 360; }
.page-header .lead { color: var(--on-dark); max-width: 60ch; margin-top: 18px; }
.crumbs {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--on-dark-mute);
  margin-bottom: 36px;
}
.crumbs a { color: var(--on-dark-mute); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--accent); margin: 0 10px; }
@media (max-width: 620px) {
  .page-header {
    padding: 82px 0 58px;
  }
  .crumbs {
    margin-bottom: 24px;
    letter-spacing: 0.12em;
  }
  .page-header .lead {
    font-size: 1.02rem;
  }
}

/* ---------- Industry tiles ---------- */
.tile {
  background: var(--paper);
  border: 1px solid var(--bone-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.4s var(--ease);
  height: 100%;
}
.tile:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tile-media {
  aspect-ratio: 16/9;
  background: var(--ink-2);
  overflow: hidden;
  position: relative;
}
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.tile-body h3 { margin-bottom: 12px; }
.tile-body p { color: var(--text-mute); font-size: 0.96rem; }
.tile-tags {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.tile-tags span {
  font-size: 0.74rem;
  padding: 4px 10px;
  background: var(--bone-2);
  border-radius: 999px;
  color: var(--text-mute);
}

.markets-grid {
  gap: 18px;
}
.market-card {
  background: var(--paper);
  border: 1px solid var(--bone-3);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 26px;
  min-height: 100%;
}
.market-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.market-card p {
  color: var(--text-mute);
  font-size: 0.94rem;
  margin: 0;
}

/* ---------- Function detail blocks ---------- */
.func-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding: 56px 0;
  border-bottom: 1px solid var(--bone-3);
  align-items: start;
}
.func-row:last-child { border-bottom: 0; }
.func-row h3 { margin: 0; font-size: 1.6rem; }
.func-row h3 small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}
.func-row .roles {
  list-style: none;
  margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px;
  font-size: 0.93rem; color: var(--text-mute);
}
.func-row .roles li { padding-left: 18px; position: relative; }
.func-row .roles li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 8px; height: 1px; background: var(--accent);
}
@media (max-width: 760px) {
  .func-row { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .func-row .roles { grid-template-columns: 1fr; }
}

/* ---------- Insights / Article cards ---------- */
.article {
  display: flex; flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--bone-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.article:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article-media { aspect-ratio: 16/10; overflow: hidden; background: var(--ink-2); }
.article-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.article:hover .article-media img { transform: scale(1.05); }
.article-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.article-meta {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); margin-bottom: 14px;
}
.article-body h3 { font-size: 1.2rem; margin-bottom: 12px; line-height: 1.3; }
.article-body p { font-size: 0.94rem; color: var(--text-mute); margin: 0 0 18px; }
.article-link {
  margin-top: auto;
  font-size: 0.88rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink);
}
.article-link:hover { color: var(--accent); }
.article:hover .article-link { color: var(--accent); }

/* ---------- Stats row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 64px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 760px) { .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.stat .v {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--bone);
  font-weight: 360;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat .v em { color: var(--accent); font-style: normal; }
.stat .k {
  font-size: 0.84rem;
  color: var(--on-dark-mute);
  margin-top: 12px;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ---------- Misc utilities ---------- */
.muted { color: var(--text-mute); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.divider {
  height: 1px;
  background: var(--bone-3);
  margin: 60px 0;
}
.dark .divider { background: var(--line-dark); }

.pill {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
}

/* ---------- Team ---------- */
.team-section {
  overflow: hidden;
}
.team-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 72px;
}
.team-header h2 {
  max-width: 14ch;
  margin-bottom: 0;
}
.team-header .lead {
  margin: 0;
}
.team-group {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--bone-3);
}
.team-group:last-child {
  border-bottom: 1px solid var(--bone-3);
}
.team-group-label span {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.team-group-label p {
  color: var(--text-mute);
  font-size: 0.92rem;
}
.team-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.team-card {
  background: var(--paper);
  border: 1px solid var(--bone-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.team-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.team-card-feature {
  min-height: 100%;
}
.team-photo {
  min-height: 220px;
  background: var(--bone-2);
  position: relative;
  overflow: hidden;
}
.team-photo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: var(--accent);
}
.team-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.04);
}
.team-photo-becky img {
  object-position: center 18%;
  transform: scale(0.9);
  transform-origin: center top;
}
.team-photo-zak img {
  object-position: center 12%;
  transform: scale(0.92);
  transform-origin: center top;
}
.team-card-body {
  padding: 28px;
}
.team-card h3 {
  margin: 8px 0 12px;
  font-size: 1.45rem;
}
.team-card p {
  color: var(--text-mute);
  font-size: 0.95rem;
  margin: 0;
}
.team-linkedin {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-top: 18px;
  border: 1px solid var(--bone-3);
  border-radius: 50%;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.team-linkedin:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
  transform: translateY(-1px);
}
.team-card .role {
  display: block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.team-card.compact {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  min-height: 116px;
}
.team-initials {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--bone);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.2rem;
}
.team-avatar {
  width: 58px;
  height: 58px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  flex: 0 0 auto;
  filter: grayscale(1) contrast(1.04);
  background: var(--bone-2);
}
.team-card.compact h3 {
  margin: 6px 0 0;
}
.team-card.compact .team-linkedin {
  margin-top: 10px;
}
.advisors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.team-group-advisors {
  padding: 56px 0;
  border-bottom: 1px solid var(--bone-3);
}
.team-group-advisors .team-group-label span {
  font-size: 0.82rem;
  color: var(--ink);
}
.team-group-advisors .team-group-label p {
  font-size: 0.92rem;
  margin-bottom: 0;
}
.advisor-card {
  min-width: 0;
}
.advisor-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.advisor-card .team-avatar {
  opacity: 1;
}
.advisor-card h3 {
  margin: 6px 0 0;
}
@media (max-width: 980px) {
  .team-header,
  .team-group {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .team-header h2 { max-width: 18ch; }
}
@media (max-width: 860px) {
  .team-grid,
  .advisors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .team-feature-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .advisors-grid { grid-template-columns: 1fr; }
  .team-photo { min-height: 190px; }
  .team-card.compact {
    align-items: flex-start;
    padding: 20px;
  }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--paper);
  border: 1px solid var(--bone-3);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 20px;
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--text-mute); font-size: 0.95rem; margin: 0 0 16px; }
.contact-card .btn { width: 100%; justify-content: center; }
.contact-card form { margin-top: 18px; }
.contact-card label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-soft);
  margin: 14px 0 6px;
  font-weight: 700;
}
.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  border: 1px solid var(--bone-3);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: var(--bone-2);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.contact-card textarea {
  min-height: 116px;
  resize: vertical;
}
.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  border-color: var(--accent);
  background: var(--paper);
}
.contact-card form .btn { margin-top: 16px; }
.contact-info {
  background: var(--ink);
  color: var(--bone);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
}
.contact-info h4 { color: var(--bone); margin-bottom: 6px; font-family: var(--font-display); font-size: 1.1rem; font-weight: 420; letter-spacing: 0; }
.contact-info p { color: var(--on-dark); font-size: 0.95rem; }
.contact-info a { color: var(--accent); }
@media (max-width: 620px) {
  .contact-card {
    padding: 24px 20px;
  }
  .contact-info {
    padding: 30px 24px;
  }
}

/* ---------- Decorative dots ---------- */
.deco-dots {
  position: absolute;
  width: 200px; height: 200px;
  background-image: radial-gradient(circle, var(--bone-3) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.6;
  pointer-events: none;
}

/* ---------- 404 / fallback ---------- */
.not-found {
  min-height: 70vh;
  display: grid; place-items: center; text-align: center;
}
