/* ════════════════════════════════════════════════════════════
   MDC EXECUTIVE SEARCH
   Quiet luxury editorial. Ivory ground, navy structure, the
   brand teal reserved for hairlines and small accents.

   Palette is taken from the supplied logo artwork, not invented:
   navy #1A2C39, deep navy #052233, ivory #F7F5F2, teal #81D8D0.

   Restraint is the brief. The firm sells discretion; the page
   should behave the same way.
   ════════════════════════════════════════════════════════════ */

/* Self-hosted: both are variable fonts, so one file covers the whole
   weight range. This removes the Google Fonts round trip entirely: no
   preconnect, no FOUT/FOIT, no risk of a page falling back to Arial for
   the length of a slow or blocked request. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/assets/fonts/fraunces-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
}

:root {
  /* ── Brand ─────────────────────────────────────────────── */
  --navy:          #1A2C39;
  --navy-deep:     #052233;
  --navy-soft:     #243C48;
  --ivory:         #F7F5F2;
  --ivory-warm:    #EFEBE5;
  --white:         #FFFDFA;
  --accent:        #81D8D0;  /* decorative only, fails contrast as text on ivory */
  --accent-ink:    #2E6E69;  /* text-safe teal for ivory grounds */
  --accent-deep:   #5EA1A0;

  --gold:          #C9A96B;  /* decorative only: borders, dividers, icon accents */
  --gold-deep:     #9C7A3C;  /* text-safe gold for ivory grounds */
  --gold-light:    #E3CD96;  /* text-safe gold for navy grounds */

  /* ── Semantic ──────────────────────────────────────────── */
  --primary:       var(--navy);
  --primary-dark:  var(--navy-deep);
  --secondary:     var(--accent);
  --bg:            var(--ivory);
  --bg-alt:        var(--ivory-warm);
  --bg-dark:       var(--navy);
  --text:          var(--navy);
  --text-muted:    #5A6670;
  --text-light:    #8A949C;
  --text-invert:   var(--ivory);
  --text-invert-muted: #AFBCC4;
  --border:        #E0DBD4;
  --border-strong: #C9C2B9;
  --border-invert: rgba(247, 245, 242, .16);

  --ok:            #2E6E69;
  --warn:          #9A6B22;
  --danger:        #9B3B32;

  /* ── Type ──────────────────────────────────────────────── */
  --font-display: 'Fraunces', 'Didot', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --fs-eyebrow: .6875rem;
  --fs-small:   .8125rem;
  --fs-body:    1rem;
  --fs-lead:    1.125rem;
  --fs-h4:      clamp(1.0625rem, .95rem + .5vw, 1.25rem);
  --fs-h3:      clamp(1.25rem, 1.05rem + .85vw, 1.625rem);
  --fs-h2:      clamp(1.875rem, 1.35rem + 2.1vw, 3rem);
  --fs-h1:      clamp(2.5rem, 1.5rem + 4.2vw, 4.75rem);
  --fs-display:  clamp(3rem, 1.6rem + 5.6vw, 6rem);

  --lh-tight: 1.08;
  --lh-snug:  1.28;
  --lh-body:  1.68;
  --track-wide: .18em;
  --track-mid:  .08em;

  /* ── Space & shape ─────────────────────────────────────── */
  --max-w:      1200px;
  --max-w-wide: 1360px;
  --max-w-text: 68ch;
  --gutter:     clamp(1.25rem, 5vw, 3rem);
  --section-y:  clamp(4.5rem, 9vw, 8.5rem);
  --header-h:   76px;

  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --radius-xl: 6px;

  --shadow-sm: 0 1px 2px rgba(26, 44, 57, .05);
  --shadow-md: 0 6px 24px -10px rgba(26, 44, 57, .16);
  --shadow-lg: 0 24px 60px -24px rgba(26, 44, 57, .26);

  --ease:      200ms cubic-bezier(.4, 0, .2, 1);
  --ease-slow: 420ms cubic-bezier(.4, 0, .2, 1);
  --ease-out:  620ms cubic-bezier(.22, 1, .36, 1);
}

/* ════════════════════════════════════════════════════════════
   RESET
   ════════════════════════════════════════════════════════════ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -.012em;
  text-wrap: balance;
}
h3, h4 { line-height: var(--lh-snug); letter-spacing: -.004em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--navy); color: var(--ivory); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: var(--ivory);
  padding: .9rem 1.4rem;
  font-size: var(--fs-small);
}
.skip-link:focus { left: 1rem; top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ════════════════════════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════════════════════════ */

.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--max-w-wide); }
.container-text { max-width: calc(var(--max-w-text) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); position: relative; }
.section-tight { padding-block: calc(var(--section-y) * .62); }
.section-alt { background: var(--bg-alt); }

.section-dark {
  background: var(--navy);
  color: var(--text-invert);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--ivory); }
.section-dark .eyebrow { color: var(--accent); }
.section-dark .section-sub,
.section-dark p { color: var(--text-invert-muted); }
.section-dark .rule { background: var(--border-invert); }
.section-dark .rule::before { background: var(--accent); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head-center { margin-inline: auto; text-align: center; }

/* ── Eyebrow ─────────────────────────────────────────────── */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 1.15rem;
}

.section-title { font-size: var(--fs-h2); margin-bottom: 1.15rem; }
.section-sub {
  font-size: var(--fs-lead);
  color: var(--text-muted);
  max-width: 44rem;
  text-wrap: pretty;
}
.section-head-center .section-sub { margin-inline: auto; }

/* ── Hairline rule ───────────────────────────────────────── */
.rule {
  position: relative;
  height: 1px;
  width: 100%;
  background: var(--border);
  margin-block: clamp(2.5rem, 5vw, 4rem);
}
.rule::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 56px; height: 1px;
  background: var(--accent-deep);
}
.rule-short { width: 56px; background: var(--accent-deep); margin-block: 1.75rem; }
.rule-short::before { display: none; }

/* ── Reveal ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .32s var(--ease-out), transform .32s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .02s; }
.reveal-delay-2 { transition-delay: .05s; }
.reveal-delay-3 { transition-delay: .08s; }
.reveal-delay-4 { transition-delay: .11s; }

/* ════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════ */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  --btn-bd: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.85rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn:disabled, .btn[aria-disabled='true'] { opacity: .5; pointer-events: none; }

.btn-primary { --btn-bg: var(--navy); --btn-fg: var(--ivory); --btn-bd: var(--navy); }
.btn-primary:hover { --btn-bg: var(--navy-deep); --btn-bd: var(--navy-deep); }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--border-strong); }
.btn-ghost:hover { --btn-bd: var(--navy); }

.btn-invert { --btn-bg: var(--ivory); --btn-fg: var(--navy); --btn-bd: var(--ivory); }
.btn-invert:hover { --btn-bg: var(--accent); --btn-bd: var(--accent); }

.btn-outline-invert { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-bd: var(--border-invert); }
.btn-outline-invert:hover { --btn-bd: var(--accent); --btn-fg: var(--accent); }

.btn-sm { padding: .68rem 1.2rem; font-size: .75rem; }
.btn-icon svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* Quiet text link with an animated underline. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  padding-bottom: .3rem;
  background-image: linear-gradient(var(--accent-deep), var(--accent-deep));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  transition: background-size var(--ease-slow), color var(--ease);
}
.link-arrow:hover { background-size: 40% 1px; }
.section-dark .link-arrow { color: var(--accent); background-image: linear-gradient(var(--accent), var(--accent)); }

.link-arrow.link-gold { color: var(--gold-deep); background-image: linear-gradient(var(--gold-deep), var(--gold-deep)); }
.section-dark .link-arrow.link-gold { color: var(--gold-light); background-image: linear-gradient(var(--gold-light), var(--gold-light)); }

/* ════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════ */

.nav-sentinel { position: absolute; top: 0; height: 1px; width: 100%; pointer-events: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--ease-slow), border-color var(--ease-slow), backdrop-filter var(--ease-slow);
}
.site-header.is-stuck {
  background: rgba(247, 245, 242, .86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; flex-shrink: 0; }
.nav-brand img { height: 38px; width: auto; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: .02em;
  color: var(--navy);
}
.nav-brand-sub {
  font-size: .5625rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: .18rem;
}

.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.1rem); list-style: none; }
.nav-link {
  position: relative;
  font-size: .8125rem;
  font-weight: 450;
  letter-spacing: .055em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  padding-block: .4rem;
  transition: color var(--ease);
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent-deep);
  transition: width var(--ease-slow);
}
.nav-link:hover { color: var(--navy); }
.nav-link:hover::after, .nav-link[aria-current='page']::after { width: 100%; }
.nav-link[aria-current='page'] { color: var(--navy); }

.nav-actions { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block; position: relative;
  width: 17px; height: 1px; background: var(--navy);
  transition: background var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 17px; height: 1px; background: var(--navy);
  transition: transform var(--ease-slow), top var(--ease-slow);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after  { top: 5px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--ease-slow), transform var(--ease-slow), visibility var(--ease-slow);
}
.nav-open .nav-overlay { opacity: 1; visibility: visible; transform: none; }
.nav-overlay ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.nav-overlay a {
  display: block;
  padding: .55rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  color: var(--ivory);
  text-decoration: none;
  border-bottom: 1px solid var(--border-invert);
  transition: color var(--ease), padding-left var(--ease-slow);
}
.nav-overlay a:hover { color: var(--accent); padding-left: .5rem; }
.nav-overlay-foot {
  margin-top: 2.5rem;
  display: flex; flex-direction: column; gap: .5rem;
  color: var(--text-invert-muted);
  font-size: var(--fs-small);
}
.nav-overlay-foot a { font-family: var(--font-body); font-size: var(--fs-small); border: 0; padding: 0; }

/* ── Page transition overlay ─────────────────────────────── */
/* Covers the viewport with the mark, then fades. Default state (no JS
   class yet) is fully covering, so a slow script load never flashes
   unstyled content before the fade-out runs. Content pages only;
   js/main.js never arms this on, or toward, /jobs. */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  background: var(--navy);
  opacity: 1;
  pointer-events: none;
  transition: opacity .32s var(--ease-out);
}
.page-transition.is-active { pointer-events: auto; }
.page-transition.is-hidden { opacity: 0; }
.page-transition img { height: 46px; width: auto; filter: brightness(2); opacity: .92; }
.page-transition-text { display: flex; flex-direction: column; line-height: 1.1; }
.page-transition-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: .03em;
  color: var(--ivory);
}
.page-transition-sub {
  font-size: .625rem;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--accent);
  margin-top: .22rem;
}

@media (prefers-reduced-motion: reduce) {
  .page-transition { transition: none; }
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: min(92svh, 860px);
  display: flex;
  align-items: center;
  padding-block: clamp(5rem, 12vh, 9rem) clamp(4rem, 10vh, 7rem);
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(3rem, 8vh, 6rem));
  overflow: hidden;
}
.hero-compact { min-height: auto; padding-bottom: clamp(3rem, 7vh, 5rem); }

.hero-inner { position: relative; z-index: 2; max-width: 50rem; }
.hero .eyebrow { margin-bottom: 1.6rem; }

.hero-title {
  font-size: var(--fs-h1);
  margin-bottom: 1.6rem;
  max-width: 16ch;
}
.hero-compact .hero-title { font-size: var(--fs-h2); max-width: 20ch; }

.hero-sub {
  font-size: clamp(1.0625rem, .95rem + .55vw, 1.3125rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 38rem;
  margin-bottom: 2.35rem;
  text-wrap: pretty;
}

.hero-rule { width: 64px; height: 1px; background: var(--accent-deep); margin-bottom: 2.1rem; }

/* Faint bird mark bleeding off the right edge: presence, not decoration. */
.hero-mark {
  position: absolute;
  right: 10%;
  bottom: -4%;
  width: clamp(300px, 42vw, 620px);
  opacity: .055;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* .hero-compact is much shorter than the full hero, so the same bird
   width/position would bleed off the top of the box and get clipped.
   Scale and reground it so the whole mark stays inside the section. */
.hero-compact .hero-mark {
  width: clamp(180px, 22vw, 300px);
  bottom: -6%;
  right: 20%
}

/* A real photo, offset above the bird mark rather than replacing it -
   the mark is the brand, the face is the person behind it. */
.hero-founder-photo {
  position: absolute;
  z-index: 2;
  top: calc(var(--header-h) + clamp(1rem, 3vh, 2rem));
  right: clamp(3%, 7vw, 9%);
  width: clamp(260px, 30vw, 440px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  background: var(--ivory-warm);
  opacity: 0;
  animation: fadeUp .55s var(--ease-out) forwards;
  animation-delay: .22s;
}

@media (max-width: 900px) {
  .hero-founder-photo { display: none; }
}

.hero-dark { background: var(--navy); color: var(--text-invert); }
.hero-dark .hero-sub { color: var(--text-invert-muted); }
.hero-dark .eyebrow { color: var(--accent); }
.hero-dark .hero-rule { background: var(--accent); }
.hero-dark .hero-mark { opacity: .07; filter: brightness(2); }

/* Staggered entrance on load; no observer, the hero is always in view. */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.hero-inner > * {
  opacity: 0;
  animation: fadeUp .42s var(--ease-out) forwards;
}
.hero-inner > *:nth-child(1) { animation-delay: .02s; }
.hero-inner > *:nth-child(2) { animation-delay: .07s; }
.hero-inner > *:nth-child(3) { animation-delay: .12s; }
.hero-inner > *:nth-child(4) { animation-delay: .17s; }
.hero-inner > *:nth-child(5) { animation-delay: .22s; }
.hero-inner > *:nth-child(6) { animation-delay: .27s; }

/* ── Answer-first block ──────────────────────────────────── */
/* The paragraph built to be extracted verbatim by answer engines. */
.answer-block {
  border-left: 2px solid var(--accent-deep);
  padding: .15rem 0 .15rem 1.75rem;
  max-width: var(--max-w-text);
}
.answer-block h2 {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: .9rem;
}
.answer-block p { font-size: var(--fs-lead); line-height: 1.68; text-wrap: pretty; }
.section-dark .answer-block { border-left-color: var(--accent); }
.section-dark .answer-block h2 { color: var(--accent); }
.section-dark .answer-block p { color: var(--ivory); }

/* ── Statement block: a centered title + rule + paragraph, for a section
   that stands alone rather than sitting beside a photo or card grid ──── */
.statement-block {
  max-width: 44rem;
  margin-inline: auto;
  padding-block: clamp(.5rem, 3vh, 2rem);
  text-align: center;
}
.statement-block .eyebrow { display: block; margin-bottom: 1.1rem; }
.statement-block .section-title { margin-bottom: 1.5rem; }
.statement-rule { width: 64px; height: 2px; background: var(--gold); margin: 0 auto 1.75rem; }
.statement-block p { font-size: var(--fs-lead); line-height: 1.7; text-wrap: pretty; }

/* ── Founder intro ───────────────────────────────────────── */
.founder-intro {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.founder-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 15%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.founder-intro .answer-block { max-width: none; }
@media (max-width: 640px) {
  .founder-intro { grid-template-columns: 1fr; }
  .founder-portrait { max-width: 16rem; }
}

/* ── Feature photo split: landscape stock photo + supporting copy,
   used to break up long runs of text-only card grids ──────── */
.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.feature-split.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.feature-split.reverse .feature-photo { order: 2; }
.feature-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.feature-split .answer-block { max-width: none; }
@media (max-width: 760px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-split.reverse .feature-photo { order: 0; }
}

/* ════════════════════════════════════════════════════════════
   CARDS & GRIDS
   ════════════════════════════════════════════════════════════ */

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 2.6vw, 2rem);
}
.audience-card {
  flex: 1 1 16rem;
  min-width: min(100%, 16rem);
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  padding: clamp(1.9rem, 3.4vw, 2.6rem);
  transition: box-shadow var(--ease), border-color var(--ease);
}
.audience-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); border-top-color: var(--gold); }
.audience-card h3 { font-size: var(--fs-h3); margin-bottom: .85rem; }
.audience-card > p { color: var(--text-muted); margin-bottom: 1.5rem; }
.section-alt .audience-card { background: var(--bg-alt); }

/* ── Card icons ──────────────────────────────────────────── */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--accent-ink);
}
.section-alt .card-icon { background: var(--bg); }
.card-icon svg { width: 1.4rem; height: 1.4rem; stroke-width: 1.5; }

.tick-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.tick-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.tick-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .62em;
  width: 7px; height: 1px;
  background: var(--gold);
}
.section-dark .tick-list li { color: var(--text-invert-muted); }
.section-dark .tick-list li::before { background: var(--gold-light); }

/* Flex, not grid auto-fit: a grid with a count that doesn't divide evenly
   into its column count leaves the last row's empty tracks visibly blank.
   Flex-wrap just ends the row at its last real card. */
.practice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.6rem, 3vw, 2.6rem);
}
.practice-card {
  flex: 1 1 15.5rem;
  min-width: min(100%, 15.5rem);
  padding-top: 1.4rem;
  border-top: 2px solid var(--gold);
}
.practice-card h3 { font-size: var(--fs-h4); margin-bottom: .55rem; }
.practice-card p { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.62; }
.section-dark .practice-card { border-top-color: var(--gold-light); }

/* ── Testimonials ────────────────────────────────────────── */
/* Flex, not grid: four cards at a ~45% basis sit two-by-two with no
   leftover column tracks; a fifth would simply start a new row flush
   left instead of stranding itself beside empty grid cells. */
.quote-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.quote-card {
  flex: 1 1 clamp(20rem, 45%, 28rem);
  margin: 0;
  padding: clamp(1.9rem, 3vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, .95rem + .45vw, 1.25rem);
  line-height: 1.52;
  letter-spacing: -.005em;
  text-wrap: pretty;
}
.quote-card blockquote::before { content: '“'; color: var(--accent-deep); margin-right: .05em; }
.quote-card blockquote::after  { content: '”'; color: var(--accent-deep); }
.quote-card figcaption { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.quote-name { display: block; font-size: var(--fs-small); font-weight: 600; }
.quote-role { display: block; font-size: var(--fs-small); color: var(--text-light); margin-top: .18rem; }

/* ── Process ─────────────────────────────────────────────── */
.process-list { list-style: none; counter-reset: none; }
.process-step {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding-block: clamp(1.5rem, 2.6vw, 2.1rem);
  border-top: 1px solid var(--border);
  align-items: start;
}
.process-step:last-child { border-bottom: 1px solid var(--border); }
.process-n {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.process-text h3 { font-size: var(--fs-h4); margin-bottom: .45rem; }
.process-text p { color: var(--text-muted); max-width: 52ch; text-wrap: pretty; }
.section-dark .process-step { border-color: var(--border-invert); }
.section-dark .process-n { color: var(--accent); }

/* ── Stats ───────────────────────────────────────────────── */
/* Flex, not grid auto-fit: an item count that doesn't divide evenly into
   the fitted column count would otherwise leave a short last row with
   visible blank tracks. Flex-grow keeps the full-bleed band look: a
   short last row still stretches edge to edge instead of stopping short. */
.stat-band {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--border-invert);
  border-block: 1px solid var(--border-invert);
}
.stat-item {
  flex: 1 1 min(100%, 10.5rem);
  background: var(--navy);
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
  text-align: center;
}
.stat-figure {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.stat-label {
  display: block;
  margin-top: .75rem;
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--text-invert-muted);
  text-wrap: balance;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: center;
}
.proof-figure { text-align: left; }
.proof-figure .stat-figure { font-size: clamp(4rem, 2.5rem + 7vw, 8rem); color: var(--accent); }
.proof-figure .stat-unit {
  display: block;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--text-invert-muted);
  margin-top: .5rem;
}
.proof-text h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.proof-text p { font-size: var(--fs-lead); color: var(--text-invert-muted); max-width: 44ch; }

/* ── Cost-of-a-mis-hire teaser: one cautionary figure next to MDC's own
   speed record, not the full benchmark set already on /insights ──────── */
.cost-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.cost-stats { display: flex; gap: 1.1rem; }
.cost-stat {
  flex: 1 1 0;
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2rem) 1rem;
  border: 1px solid var(--border-invert);
}
.section-dark .cost-stat .stat-figure { color: var(--text-invert-muted); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.cost-stat .stat-label { display: block; margin-top: .6rem; font-size: var(--fs-small); color: var(--text-invert-muted); line-height: 1.45; }
.cost-stat-good { border-color: var(--gold); }
.section-dark .cost-stat-good .stat-figure { color: var(--gold-light); }
@media (max-width: 760px) {
  .cost-split { grid-template-columns: 1fr; }
}

/* ── Benchmarks (/insights) ──────────────────────────────── */
.benchmark-list { display: flex; flex-direction: column; }
.benchmark {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3.5rem);
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid var(--border);
  align-items: start;
}
.benchmark:last-child { border-bottom: 1px solid var(--border); }
.benchmark-figure .stat-figure { color: var(--navy); font-size: clamp(2.75rem, 2rem + 3vw, 4.25rem); }
.benchmark-figure .stat-label { color: var(--text-muted); margin-top: .5rem; }
.benchmark-text h3 { font-size: var(--fs-h3); margin-bottom: .9rem; }
.benchmark-text .answer-first { color: var(--text-muted); max-width: 58ch; text-wrap: pretty; }
.benchmark-source {
  margin-top: 1.1rem;
  font-size: var(--fs-small);
  color: var(--text-light);
}
.benchmark-source span {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-right: .55rem;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.4rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h4);
  transition: color var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 11px; height: 11px;
  border-right: 1px solid var(--accent-deep);
  border-bottom: 1px solid var(--accent-deep);
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--ease-slow);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-item summary:hover { color: var(--accent-ink); }
.faq-answer { padding-bottom: 1.6rem; max-width: 62ch; }
.faq-answer p { color: var(--text-muted); text-wrap: pretty; }

/* ════════════════════════════════════════════════════════════
   JOBS
   ════════════════════════════════════════════════════════════ */

.job-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.1rem;
  padding: 1.4rem clamp(1.1rem, 2.5vw, 1.75rem);
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.jf-field { display: flex; flex-direction: column; gap: .4rem; min-width: 11rem; flex: 1 1 11rem; }
.jf-field label {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--text-light);
}
.jf-field select {
  appearance: none;
  padding: .72rem 2.2rem .72rem .85rem;
  background: var(--bg) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%232E6E69' stroke-width='1.2' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E") no-repeat right .85rem center/11px 7px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  cursor: pointer;
  transition: border-color var(--ease);
}
.jf-field select:hover { border-color: var(--navy); }
.jf-count {
  margin-left: auto;
  font-size: var(--fs-small);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  padding-bottom: .72rem;
}

.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1.35rem; }

.job-card { display: flex; }
.job-card-link {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  width: 100%;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--white);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color var(--ease-slow), transform var(--ease-slow), box-shadow var(--ease-slow);
}
.job-card-link:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.job-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.job-ref {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-mid);
  color: var(--text-light);
  font-variant-numeric: tabular-nums;
}
.job-chip {
  font-size: .625rem;
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  padding: .28rem .55rem;
  border-radius: var(--radius-sm);
}
.job-chip-conf { background: rgba(46, 110, 105, .1); color: var(--accent-ink); }
.job-chip-feat { background: var(--navy); color: var(--ivory); }
.job-chip-gold { background: rgba(201, 169, 107, .16); color: var(--gold-deep); }

/* The standing talent-network card in the grid: same shape as a real
   listing, dashed border and tinted ground mark it as the fallback. */
.job-card-cta .job-card-link { background: var(--bg-alt); border-style: dashed; border-color: var(--border-strong); }
.job-card-cta .job-card-link:hover { border-color: var(--gold-deep); }
.job-card-cta .job-card-foot { border-top-color: var(--border-strong); }

.job-card-title { font-size: var(--fs-h3); }
.job-card-client { font-size: var(--fs-small); color: var(--accent-ink); }
.job-card-summary {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-card-meta, .job-detail-meta { display: grid; gap: .5rem .9rem; margin: 0; }
.job-card-meta { grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); padding-top: .35rem; }
.job-card-meta div, .job-detail-meta div { display: flex; flex-direction: column; gap: .15rem; }
.job-card-meta dt, .job-detail-meta dt {
  font-size: .625rem;
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--text-light);
}
.job-card-meta dd, .job-detail-meta dd { margin: 0; font-size: var(--fs-small); }

.job-card-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.job-posted { font-size: var(--fs-eyebrow); color: var(--text-light); }
.job-go {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--navy);
}
.job-card-link:hover .job-go { color: var(--accent-ink); }

.jobs-empty {
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) var(--gutter);
  border: 1px solid var(--border);
  background: var(--white);
}
.jobs-empty h3 { font-size: var(--fs-h3); margin-bottom: .85rem; }
.jobs-empty p { color: var(--text-muted); max-width: 38rem; margin: 0 auto 1.9rem; }

/* ── Job detail ──────────────────────────────────────────── */
.job-detail-head { max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.job-detail-chips { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1.1rem; }
.job-detail-title { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); margin-bottom: .9rem; }
.job-detail-client { font-size: var(--fs-lead); color: var(--accent-ink); margin-bottom: 1.9rem; max-width: 50ch; }
.job-detail-meta {
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 1.2rem;
  padding-block: 1.5rem;
  border-block: 1px solid var(--border);
  margin-bottom: 1.9rem;
}
.job-detail-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.job-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.job-section { margin-bottom: clamp(2rem, 3.5vw, 2.75rem); }
.job-section h2 {
  font-size: var(--fs-h3);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.job-section p { color: var(--text-muted); margin-bottom: 1rem; max-width: 64ch; text-wrap: pretty; }
.job-section p:last-child { margin-bottom: 0; }

.rt-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.rt-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-muted);
  max-width: 64ch;
}
.rt-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .72em;
  width: 8px; height: 1px;
  background: var(--accent-deep);
}

.job-detail-aside { display: flex; flex-direction: column; gap: 1.1rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.job-note { padding: 1.5rem; background: var(--bg-alt); border: 1px solid var(--border); }
.job-note h3 {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: .7rem;
}
.job-note p { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.6; }
.job-note p + .btn { margin-top: 1.1rem; }
.job-note-ref {
  font-family: var(--font-display);
  font-size: 1.3rem !important;
  color: var(--navy) !important;
  font-variant-numeric: tabular-nums;
  margin-bottom: .4rem;
}

@media (max-width: 900px) {
  .job-detail-body { grid-template-columns: 1fr; }
  .job-detail-aside { position: static; }
  .proof { grid-template-columns: 1fr; }
  .benchmark { grid-template-columns: 1fr; gap: 1.1rem; }
}

/* ════════════════════════════════════════════════════════════
   FORMS
   ════════════════════════════════════════════════════════════ */

.form-card {
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--border);
}
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: .45rem; }
.form-field-full { grid-column: 1 / -1; }

.form-label {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-label .req { color: var(--danger); margin-left: .2rem; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
  transition: border-color var(--ease), background var(--ease);
}
.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: var(--text-light); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(46, 110, 105, .11);
}
.form-textarea { min-height: 8.5rem; resize: vertical; line-height: 1.6; }
.form-select {
  appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%232E6E69' stroke-width='1.2' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 11px 7px;
  cursor: pointer;
}
.form-hint { font-size: var(--fs-small); color: var(--text-light); line-height: 1.5; }

/* Yes/no and multiple-choice custom application questions. */
.form-radio-group { display: flex; flex-wrap: wrap; gap: .6rem .85rem; }
.form-radio {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}
.form-radio:hover { border-color: var(--text-light); }
.form-radio input { accent-color: var(--accent-ink); width: 1rem; height: 1rem; flex-shrink: 0; }
.form-radio:has(input:checked) { border-color: var(--accent-ink); background: var(--white); box-shadow: 0 0 0 3px rgba(46, 110, 105, .11); }

/* File input styled as a drop target. */
.form-file { position: relative; }
.form-file input[type='file'] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.form-file-face {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.05rem 1rem;
  background: var(--bg);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  color: var(--text-muted);
  transition: border-color var(--ease), background var(--ease), color var(--ease);
}
.form-file:hover .form-file-face, .form-file input:focus + .form-file-face {
  border-color: var(--accent-ink);
  background: var(--white);
  color: var(--navy);
}
.form-file.has-file .form-file-face { border-style: solid; border-color: var(--accent-ink); color: var(--navy); }
.form-file-icon { color: var(--accent-ink); flex-shrink: 0; }

/* Honeypot, hidden from people, visible to naive bots. */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-foot { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }
.form-note { font-size: var(--fs-small); color: var(--text-light); max-width: 34rem; }

.form-status { margin-top: 1.1rem; font-size: var(--fs-small); padding: .9rem 1.1rem; border-radius: var(--radius-sm); display: none; }
.form-status.is-visible { display: block; }
.form-status.is-ok    { background: rgba(46, 110, 105, .1); color: var(--ok); border: 1px solid rgba(46, 110, 105, .25); }
.form-status.is-error { background: rgba(155, 59, 50, .08); color: var(--danger); border: 1px solid rgba(155, 59, 50, .22); }

/* ── Contact split ───────────────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; } }

.contact-photo-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem;
  margin-bottom: 2rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.contact-photo-card img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
}
.contact-photo-card p { margin: 0; font-size: var(--fs-small); color: var(--text-muted); line-height: 1.5; }

.contact-detail { margin-bottom: 2rem; }
.contact-detail dt {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .4rem;
}
.contact-detail dd { margin: 0; font-size: var(--fs-lead); }
.contact-detail dd a { text-decoration: none; border-bottom: 1px solid var(--border-strong); transition: border-color var(--ease); }
.contact-detail dd a:hover { border-color: var(--accent-ink); }

/* ════════════════════════════════════════════════════════════
   CTA & FOOTER
   ════════════════════════════════════════════════════════════ */

.cta-band { background: var(--navy); color: var(--text-invert); text-align: center; }
.cta-band .eyebrow { color: var(--accent); }
.cta-band h2 { font-size: var(--fs-display); margin-bottom: 1.3rem; color: var(--ivory); }
.cta-band p { font-size: var(--fs-lead); color: var(--text-invert-muted); max-width: 46ch; margin: 0 auto 2.4rem; }
.cta-band .btn-row { justify-content: center; }

.site-footer { background: var(--navy-deep); color: var(--text-invert-muted); padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(10rem, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--border-invert);
}
.footer-brand img { height: 46px; width: auto; margin-bottom: 1.3rem; }
.footer-brand p { font-size: var(--fs-small); line-height: 1.68; max-width: 32ch; }

.footer-col h3 {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.footer-col a, .footer-col span { font-size: var(--fs-small); text-decoration: none; transition: color var(--ease); }
.footer-col a:hover { color: var(--accent); }

.footer-social { display: flex; gap: .65rem; }
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid var(--border-invert);
  border-radius: 50%;
  color: var(--text-invert-muted);
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}
.social-icon svg { width: 1.1rem; height: 1.1rem; }
.social-icon:hover { color: var(--navy-deep); background: var(--accent); border-color: var(--accent); }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-small);
  color: var(--text-light);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-legal a { text-decoration: none; transition: color var(--ease); }
.footer-legal a:hover { color: var(--accent); }

/* ════════════════════════════════════════════════════════════
   PROSE (legal pages)
   ════════════════════════════════════════════════════════════ */

.prose { max-width: var(--max-w-text); }
.prose h2 { font-size: var(--fs-h3); margin: 2.6rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-h4); margin: 1.9rem 0 .6rem; }
.prose p, .prose li { color: var(--text-muted); text-wrap: pretty; }
.prose p { margin-bottom: 1.05rem; }
.prose ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.3rem; }
.prose li { position: relative; padding-left: 1.4rem; }
.prose li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--accent-deep); }
.prose a { color: var(--accent-ink); }
.prose-meta { font-size: var(--fs-small); color: var(--text-light); margin-bottom: 2.25rem; }

/* ════════════════════════════════════════════════════════════
   MOTION PREFERENCE
   ════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-inner > * { opacity: 1; animation: none; }
  .hero-founder-photo { opacity: 1; animation: none; }
}

@media print {
  .site-header, .nav-overlay, .cta-band, .site-footer, .job-detail-actions, .job-filters { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════════
   SUPPORTING COMPONENTS
   ════════════════════════════════════════════════════════════ */

/* Coaching topics: a two-column list that stays readable when it wraps. */
.topic-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: .2rem 2rem;
}
.topic-list li {
  position: relative;
  padding: .72rem 0 .72rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.topic-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.26em;
  width: 8px; height: 1px;
  background: var(--accent-deep);
}

/* Breadcrumb above a job detail. */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.9rem;
  font-size: var(--fs-small);
  color: var(--text-light);
}
.breadcrumb a { text-decoration: none; transition: color var(--ease); }
.breadcrumb a:hover { color: var(--accent-ink); }
.breadcrumb span { color: var(--border-strong); }

/* The stat band sits edge to edge on wide screens but must not
   overflow the gutter on small ones. */
@media (max-width: 560px) {
  .stat-item { flex-basis: 50%; }
  .proof-figure .stat-figure { font-size: clamp(3.5rem, 18vw, 5rem); }
}

/* A pull quote on a dark ground is the focal point, so it keeps full
   ivory rather than inheriting the muted body colour from .section-dark. */
.section-dark blockquote,
.section-dark blockquote p { color: var(--ivory); }

/* Stat figures inside a dark section should not pick up muted body colour. */
.section-dark .stat-figure { color: var(--accent); }
.section-dark .stat-label  { color: var(--text-invert-muted); }

/* The aside beside a form on narrow screens needs breathing room once the
   two-column split collapses. */
@media (max-width: 900px) {
  .contact-split > aside { margin-top: 1.5rem; }
}
