/* ==========================================================================
   TrustBridge Talent — main.css
   Organized per 04-BRAND-DESIGN-CSS-SYSTEM.md
   1 tokens  2 reset  3 typography  4 layout  5 header  6 buttons  7 cards
   8 sections  9 forms  10 media  11 diagrams  12 footer  13 utilities
   14 responsive  15 reduced motion
   ========================================================================== */

/* 1. TOKENS — every colour sampled from the production logo ---------------- */
:root {
  --tb-navy-950: #04203f;
  --tb-navy-900: #072a55;
  --tb-navy-800: #013567;

  --tb-teal-600: #1a6470;
  --tb-teal-500: #207886;
  --tb-teal-400: #2e93a3;
  --tb-teal-100: #dceef1;
  --tb-teal-050: #f0f7f8;

  --tb-green-500: #4ca489;
  --tb-green-400: #63b084;
  --tb-green-100: #e4f1ea;
  --tb-green-050: #f2f9f5;

  --tb-white: #fff;
  --tb-off-white: #f6f8f9;
  --tb-slate-900: #14212e;
  --tb-slate-700: #40566b;
  --tb-slate-500: #6b8299;
  --tb-border: #dbe3e9;
  --tb-hairline: #e8eef2;

  --tb-radius-sm: 6px;
  --tb-radius-md: 12px;
  --tb-radius-lg: 20px;

  --tb-shadow-sm: 0 1px 3px rgb(4 32 63 / 8%), 0 1px 2px rgb(4 32 63 / 6%);
  --tb-shadow-md: 0 12px 32px rgb(4 32 63 / 12%), 0 2px 8px rgb(4 32 63 / 6%);

  --tb-content-max: 74rem;
  --tb-measure: 38rem;

  --tb-font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --tb-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --tb-step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --tb-step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
  --tb-step-2: clamp(1.45rem, 1.28rem + 0.85vw, 1.9rem);
  --tb-step-3: clamp(1.9rem, 1.5rem + 1.9vw, 3rem);
  --tb-step-4: clamp(2.4rem, 1.7rem + 3.2vw, 4.4rem);

  --tb-space-section: clamp(3.5rem, 2rem + 6vw, 7rem);
}

/* 2. RESET / BASE --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--tb-white);
  color: var(--tb-slate-900);
  font-family: var(--tb-font-body);
  font-size: var(--tb-step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; display: block; }
img, video { height: auto; }

a { color: var(--tb-teal-600); text-underline-offset: 0.18em; }
a:hover { color: var(--tb-navy-800); }

:focus-visible {
  outline: 3px solid var(--tb-teal-400);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--tb-navy-900);
  color: var(--tb-white);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* 3. TYPOGRAPHY ----------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--tb-font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: var(--tb-navy-800);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: var(--tb-step-4); }
h2 { font-size: var(--tb-step-3); }
h3 { font-size: var(--tb-step-2); letter-spacing: -0.02em; }
h4 { font-size: var(--tb-step-1); }

p { margin: 0 0 1.15em; max-width: var(--tb-measure); }
p:last-child { margin-bottom: 0; }

/* Eyebrow carries the bridge arc — the brand's one repeating mark */
.eyebrow {
  font-family: var(--tb-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tb-teal-600);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 12px;
  flex: none;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M1 11 Q14 0 27 11' fill='none' stroke='%234ca489' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.lede { font-size: var(--tb-step-1); color: var(--tb-slate-700); }

blockquote.pull {
  font-family: var(--tb-font-display);
  font-size: var(--tb-step-2);
  line-height: 1.3;
  border-left: 3px solid var(--tb-green-500);
  padding-left: 1.5rem;
  margin: 2rem 0 0;
  max-width: 32rem;
}

/* 4. LAYOUT --------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--tb-content-max));
  margin-inline: auto;
}

.grid { display: grid; gap: 1.5rem; }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

/* 5. HEADER / NAV --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tb-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.site-logo { display: flex; align-items: center; }
.site-logo img { height: 46px; width: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-sm);
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--tb-navy-900);
  cursor: pointer;
  min-height: 44px;
}

.nav-toggle-bars { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }

.site-nav > ul > li > a,
.site-nav > ul > li > button {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.5rem 0.15rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--tb-navy-900);
  text-decoration: none;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.site-nav a[aria-current="page"] { color: var(--tb-teal-600); }

.submenu { padding-left: 1rem; }
.submenu a { font-size: 0.92rem; color: var(--tb-slate-700); text-decoration: none; display: block; min-height: 44px; display: flex; align-items: center; }

.nav-caret { width: 10px; height: 10px; transition: transform 0.2s ease; }
[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.site-header .header-cta { display: none; }

/* 6. BUTTONS -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: var(--tb-radius-sm);
  font-family: var(--tb-font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary { background: var(--tb-teal-500); color: var(--tb-white); border-color: var(--tb-teal-500); }
.btn-primary:hover { background: var(--tb-teal-600); border-color: var(--tb-teal-600); color: var(--tb-white); }

.btn-secondary { background: transparent; color: var(--tb-navy-800); border-color: var(--tb-navy-800); }
.btn-secondary:hover { background: var(--tb-navy-800); color: var(--tb-white); }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }

/* On dark sections (retained for future use; home is light) */
.section-dark .btn-secondary { color: var(--tb-white); border-color: rgb(255 255 255 / 55%); }
.section-dark .btn-secondary:hover { background: var(--tb-white); color: var(--tb-navy-900); border-color: var(--tb-white); }

/* 7. CARDS ---------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--tb-white);
  border: 1px solid var(--tb-hairline);
  border-radius: var(--tb-radius-md);
  padding: 1.9rem 1.6rem 1.7rem;
  box-shadow: var(--tb-shadow-sm);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
/* Accent rule along the top edge — the only decoration the cards get */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tb-teal-500), var(--tb-green-400));
  opacity: 0.9;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--tb-shadow-md); }
.card h3 { margin-bottom: 0.4rem; font-size: var(--tb-step-1); }
.card p { color: var(--tb-slate-700); font-size: 0.97rem; }

.section-dark .card {
  background: rgb(255 255 255 / 6%);
  border-color: rgb(255 255 255 / 14%);
  box-shadow: none;
  color: var(--tb-white);
}
.section-dark .card p { color: rgb(255 255 255 / 78%); }

.card-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--tb-teal-100);
  color: var(--tb-teal-600);
  margin-bottom: 1rem;
}
.section-dark .card-icon { background: rgb(255 255 255 / 12%); color: var(--tb-green-400); }

/* Tier cards */
.tier { display: flex; flex-direction: column; }
.tier-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--tb-slate-500); margin-bottom: 0.75rem;
}
.tier-elite {
  background: linear-gradient(160deg, var(--tb-navy-900), var(--tb-navy-950));
  border-color: var(--tb-navy-800);
  color: var(--tb-white);
}
.tier-elite .tier-label { color: var(--tb-green-400); }
.tier-elite p { color: rgb(255 255 255 / 82%); }
.tier-elite h3 { color: var(--tb-white); }

/* 8. SECTIONS ------------------------------------------------------------- */
.section { padding-block: var(--tb-space-section); }
.section-light { background: var(--tb-white); }
.section-muted { background: var(--tb-teal-050); }
.section-warm { background: var(--tb-green-050); }
.section-dark { background: var(--tb-navy-900); color: var(--tb-white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--tb-white); }
.section-dark p { color: rgb(255 255 255 / 82%); }
.section-dark .eyebrow { color: var(--tb-green-400); }
.section-dark a { color: var(--tb-green-400); }

.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--tb-slate-700); }
.section-dark .section-head p { color: rgb(255 255 255 / 80%); }

/* Hero — light, with the bridge arc as a quiet backdrop */
.hero {
  position: relative;
  overflow: hidden;
  background:
    no-repeat right -60px bottom -80px / min(620px, 60%) auto
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300'%3E%3Cpath d='M20 285 Q300 15 580 285' fill='none' stroke='%23207886' stroke-width='2' opacity='0.16'/%3E%3Cpath d='M70 285 Q300 75 530 285' fill='none' stroke='%234ca489' stroke-width='2' opacity='0.14'/%3E%3C/svg%3E"),
    linear-gradient(170deg, var(--tb-white) 0%, var(--tb-teal-050) 60%, var(--tb-teal-100) 100%);
  color: var(--tb-slate-900);
  padding-block: clamp(3.5rem, 2rem + 8vw, 7rem);
  border-bottom: 1px solid var(--tb-hairline);
}
.hero h1 { color: var(--tb-navy-800); max-width: 20ch; }
.hero .lede { color: var(--tb-teal-600); font-weight: 500; max-width: 34rem; }
.hero p { color: var(--tb-slate-700); }

.hero-layout { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero-media img { border-radius: var(--tb-radius-md); box-shadow: var(--tb-shadow-md); width: 100%; }
.hero-media figcaption { font-size: 0.85rem; color: var(--tb-slate-500); margin-top: 0.7rem; }

.hero-paths { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.hero-path { border-top: 2px solid var(--tb-teal-500); padding-top: 1.1rem; }
.hero-path h2 {
  font-size: 0.78rem; font-family: var(--tb-font-body); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--tb-teal-600); margin-bottom: 0.5rem;
}
.hero-path p { font-size: 0.97rem; }

/* Proof stats */
.proof-row {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--tb-border);
}
.section-dark .proof-row { border-top-color: rgb(255 255 255 / 18%); }
.proof-figure {
  font-family: var(--tb-font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--tb-teal-500);
  margin: 0;
}
.proof-label {
  font-size: 0.9rem;
  color: var(--tb-slate-700);
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 2px solid var(--tb-green-400);
  max-width: 15rem;
}
.section-dark .proof-figure { color: var(--tb-green-400); }
.section-dark .proof-label { color: rgb(255 255 255 / 75%); }

/* Stats band — mockup's strip beneath the hero */
.stat-band { background: var(--tb-navy-800); color: var(--tb-white); padding-block: clamp(2.5rem, 4vw, 3.5rem); }
.stat-band .stat-grid { display: grid; gap: 1.5rem; }
.stat-band .proof-figure { color: var(--tb-white); }
.stat-band .proof-label { color: rgb(255 255 255 / 80%); border-top-color: var(--tb-green-400); }

/* Path cards — "Two Paths. One Mission." */
.path-card { display: flex; flex-direction: column; gap: 0.35rem; }
.path-card .card-icon { background: var(--tb-teal-100); color: var(--tb-teal-600); }
.path-card--talent .card-icon { background: var(--tb-green-100); color: var(--tb-green-500); }
.path-card .path-link {
  margin-top: auto; padding-top: 1rem;
  font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px;
}

/* Numbered process steps — order carries real meaning here */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
.step-list li { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  flex: none; width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--tb-teal-100); color: var(--tb-teal-600);
  font-family: var(--tb-font-display); font-size: 1.05rem; font-weight: 600;
}
.step-list h3 { font-size: var(--tb-step-1); margin-bottom: 0.25rem; }
.step-list p { color: var(--tb-slate-700); font-size: 0.97rem; }

/* Form card */
.form-card {
  background: var(--tb-white);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-md);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--tb-shadow-sm);
  max-width: 42rem;
}
.form-card h3 {
  font-size: var(--tb-step-1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--tb-border);
}
.form-card textarea { resize: vertical; }
.form-card .btn { margin-top: 0.5rem; }

/* 9. FORMS ---------------------------------------------------------------- */
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  min-height: 48px;
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-sm);
  background: var(--tb-white);
  color: var(--tb-slate-900);
}
.field-hint { font-size: 0.85rem; color: var(--tb-slate-500); }

/* 10. MEDIA / VIDEO ------------------------------------------------------- */
.video-figure { margin: 0; }

.video-frame {
  position: relative;
  border-radius: var(--tb-radius-md);
  overflow: hidden;
  background: var(--tb-navy-950);
  box-shadow: var(--tb-shadow-md);
}
.video-frame video { width: 100%; display: block; }

.video-caption { font-size: 0.88rem; color: var(--tb-slate-500); margin-top: 0.7rem; }
.section-dark .video-caption { color: rgb(255 255 255 / 65%); }

/* Testimonial grid — portrait 9:16 source */
.testimonial-grid { display: grid; gap: 1.25rem; }

.testimonial video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--tb-navy-950);
  border-radius: var(--tb-radius-md);
}
.testimonial-name { font-weight: 600; margin-top: 0.7rem; margin-bottom: 0; }
.testimonial-role { font-size: 0.87rem; color: var(--tb-slate-500); margin: 0; }
.section-dark .testimonial-role { color: rgb(255 255 255 / 68%); }

/* 11. DIAGRAMS ------------------------------------------------------------ */
.diagram { width: 100%; height: auto; }
.diagram-caption { font-size: 0.88rem; color: var(--tb-slate-500); margin-top: 1rem; }

.bottleneck { display: grid; gap: 1.5rem; margin-top: 2rem; }
.bottleneck-panel {
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-md);
  padding: 1.5rem;
  background: var(--tb-white);
}
.bottleneck-panel h3 { font-size: var(--tb-step-1); }
.bottleneck-panel--after { border-color: var(--tb-green-500); border-width: 2px; }

.flow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.flow-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.95rem; color: var(--tb-slate-700);
}
.flow-list li::before {
  content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.55em;
  border-radius: 50%; background: var(--tb-teal-500);
}
.bottleneck-panel--after .flow-list li::before { background: var(--tb-green-500); }

/* 12. FOOTER -------------------------------------------------------------- */
.site-footer {
  background: var(--tb-off-white);
  color: var(--tb-slate-700);
  padding-block: 3.5rem 2rem;
  border-top: 1px solid var(--tb-border);
}
.site-footer h2 { font-size: 0.78rem; font-family: var(--tb-font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--tb-navy-800); margin-bottom: 0.9rem; }
.site-footer a { color: var(--tb-slate-700); text-decoration: none; }
.site-footer a:hover { color: var(--tb-teal-600); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer img { height: 64px; width: auto; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--tb-border);
  font-size: 0.85rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
}
.social-row { display: flex; gap: 1rem; }
.social-row a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--tb-border); border-radius: 50%; color: var(--tb-navy-800);
}
.social-row a:hover { background: var(--tb-navy-800); color: var(--tb-white); border-color: var(--tb-navy-800); }

/* 13. UTILITIES ----------------------------------------------------------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.stack > * + * { margin-top: 1rem; }
.text-center { text-align: center; }
.center-measure { margin-inline: auto; }
.center-measure p { margin-inline: auto; }

/* 14. RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 63.99rem) {
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--tb-white);
    border-bottom: 1px solid var(--tb-border);
    box-shadow: var(--tb-shadow-md);
    padding: 1rem 1.25rem 1.5rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav > ul { display: grid; gap: 0.15rem; }
  .site-nav .btn { width: 100%; margin-top: 0.75rem; }
}

@media (min-width: 36rem) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-row { grid-template-columns: repeat(3, 1fr); }
  .stat-band .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .btn-group .btn { flex: 0 1 auto; }
}

@media (min-width: 48rem) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .hero-paths { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .bottleneck { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 0.9fr 0.9fr 1.3fr; }
}

@media (min-width: 64rem) {
  .nav-toggle { display: none; }
  .site-nav { display: block !important; }
  .site-nav > ul { display: flex; align-items: center; gap: 1.75rem; }
  .site-nav > ul > li { position: relative; }
  .site-nav .submenu {
    display: none;
    position: absolute;
    top: 100%; left: -1rem;
    min-width: 14rem;
    background: var(--tb-white);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-md);
    box-shadow: var(--tb-shadow-md);
    padding: 0.5rem 1rem;
  }
  .site-nav .submenu.is-open { display: block; }
  .site-nav > ul > li > .btn { display: none; }
  .site-header .header-cta { display: inline-flex; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
  .hero-layout { grid-template-columns: 1.1fr 0.9fr; }
  .split-media { grid-template-columns: 1.05fr 0.95fr; }
  .split-media-narrow { grid-template-columns: 1.25fr 0.75fr; }
}

/* 15. REDUCED MOTION / ACCESSIBILITY -------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   16. MOCKUP v2 COMPONENTS
   Richer layout: split hero, gradient path panels, dark capability band,
   tier cards with badges, story block, closing CTA band.
   ========================================================================== */

/* --- Split hero with media panel ---------------------------------------- */
.hero-v2 { padding-block: 0; border-bottom: 0; background: var(--tb-white); }
.hero-v2 .hero-grid { display: grid; align-items: stretch; }
.hero-v2 .hero-copy { padding-block: clamp(2.5rem, 2rem + 5vw, 5rem); }

.hero-v2 h1 {
  font-family: var(--tb-font-body);
  font-weight: 800;
  font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--tb-navy-800);
  max-width: 14ch;
}
.hero-v2 h1 .accent { color: var(--tb-teal-500); display: block; }
.hero-v2 .lede { color: var(--tb-slate-700); font-weight: 400; max-width: 32rem; }

.hero-panel {
  position: relative;
  min-height: 320px;
  border-radius: var(--tb-radius-lg);
  overflow: hidden;
  background:
    no-repeat center/cover
    linear-gradient(150deg, var(--tb-navy-800), var(--tb-teal-600) 70%, var(--tb-green-500));
  display: grid;
}
.hero-panel img { width: 100%; height: 100%; object-fit: contain; padding: clamp(0.75rem, 2vw, 1.5rem); }

.hero-badge {
  position: absolute;
  left: 1.25rem; bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--tb-white);
  border-radius: var(--tb-radius-md);
  box-shadow: var(--tb-shadow-md);
  padding: 0.85rem 1.15rem;
  max-width: calc(100% - 2.5rem);
}
.hero-badge svg { flex: none; color: var(--tb-teal-500); }
.hero-badge p {
  margin: 0; font-family: var(--tb-font-display);
  font-weight: 700; font-size: 1rem; line-height: 1.2; color: var(--tb-navy-800);
}

/* Inline stat card floating over the hero base */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: var(--tb-white);
  border: 1px solid var(--tb-hairline);
  border-radius: var(--tb-radius-md);
  box-shadow: var(--tb-shadow-md);
  padding: 1.1rem 1rem;
  margin-top: 2rem;
  max-width: 32rem;
}
.hero-stats div { text-align: center; padding-inline: 0.35rem; }
.hero-stats div + div { border-left: 1px solid var(--tb-hairline); }
.hero-stats .figure {
  font-family: var(--tb-font-display); font-weight: 700;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  color: var(--tb-teal-600); line-height: 1; margin: 0;
}
.hero-stats .label {
  font-size: 0.72rem; color: var(--tb-slate-500); margin: 0.35rem 0 0;
  line-height: 1.25;
}
.hero-stats .stat-icon { color: var(--tb-teal-500); margin-bottom: 0.4rem; }

/* --- Section titles, centred with a rule -------------------------------- */
.title-center { text-align: center; max-width: 46rem; margin: 0 auto 2.75rem; }
.title-center p { margin-inline: auto; color: var(--tb-slate-700); }
.title-rule {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  margin: 0.85rem 0 1.1rem;
}
.title-rule span { height: 3px; border-radius: 2px; }
.title-rule span:nth-child(1) { width: 34px; background: var(--tb-navy-800); }
.title-rule span:nth-child(2) { width: 12px; background: var(--tb-green-500); }
.title-rule span:nth-child(3) { width: 34px; background: var(--tb-teal-500); }

/* --- Gradient path panels ------------------------------------------------ */
.path-panels { display: grid; gap: 1.5rem; }
.path-panel {
  position: relative;
  border-radius: var(--tb-radius-lg);
  padding: 2.25rem 2rem 2rem;
  color: var(--tb-white);
  overflow: hidden;
  isolation: isolate;
  min-height: 260px;
  display: flex; flex-direction: column;
}
.path-panel--employer { background: linear-gradient(135deg, var(--tb-navy-800), var(--tb-navy-950)); }
.path-panel--talent   { background: linear-gradient(135deg, var(--tb-teal-600), #14584b); }
.path-panel::after {
  content: "";
  position: absolute; inset: auto -40px -60px auto;
  width: 320px; height: 200px; z-index: -1;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 200'%3E%3Cpath d='M10 190 Q160 10 310 190' fill='none' stroke='%23ffffff' stroke-width='3' opacity='0.18'/%3E%3C/svg%3E");
}
.path-panel .eyebrow { color: rgb(255 255 255 / 85%); }
.path-panel .eyebrow::before { filter: brightness(3); }
.path-panel h3 { color: var(--tb-white); font-size: var(--tb-step-2); }
.path-panel p { color: rgb(255 255 255 / 86%); }
.path-panel .btn { margin-top: auto; align-self: flex-start; background: var(--tb-white); color: var(--tb-navy-800); border-color: var(--tb-white); }
.path-panel .btn:hover { background: var(--tb-teal-100); border-color: var(--tb-teal-100); color: var(--tb-navy-900); }
.path-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--tb-white); color: var(--tb-navy-800);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.path-panel--talent .path-icon { color: var(--tb-teal-600); }

/* --- Dark capability band ------------------------------------------------ */
.capability-band {
  background: linear-gradient(120deg, var(--tb-navy-900), var(--tb-navy-950));
  color: var(--tb-white);
  padding-block: var(--tb-space-section);
}
.capability-band h2, .capability-band h3 { color: var(--tb-white); }
.capability-band .accent-line { color: var(--tb-green-400); display: block; }
.capability-band > .container > p { color: rgb(255 255 255 / 84%); max-width: 46rem; }

.capability-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.75rem;
  margin-top: 2.75rem;
}
.capability-item { text-align: center; position: relative; padding-inline: 0.5rem; }
.capability-item .cap-icon {
  width: 46px; height: 46px; margin: 0 auto 0.9rem;
  border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--tb-green-400); color: var(--tb-green-400);
}
.capability-item h3 {
  font-family: var(--tb-font-body); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 0.5rem;
}
.capability-item p { color: rgb(255 255 255 / 78%); font-size: 0.88rem; margin: 0 auto; max-width: 16rem; }

/* --- Tier cards ---------------------------------------------------------- */
.tier-grid { display: grid; gap: 1.5rem; align-items: start; }
.tier-card {
  position: relative;
  background: var(--tb-white);
  border: 1px solid var(--tb-hairline);
  border-radius: var(--tb-radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--tb-shadow-sm);
}
.tier-card--featured { border-color: var(--tb-green-500); box-shadow: var(--tb-shadow-md); }
.tier-badge {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  background: var(--tb-green-500); color: var(--tb-white);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: 999px; white-space: nowrap;
}
.tier-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--tb-navy-800); color: var(--tb-white);
}
.tier-card:nth-child(2) .tier-icon { background: var(--tb-teal-500); }
.tier-card--featured .tier-icon { background: var(--tb-green-500); }
.tier-card .tier-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--tb-teal-600); margin-bottom: 0.3rem;
}
.tier-card h3 { font-size: var(--tb-step-2); margin-bottom: 1rem; }
.tier-card ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.6rem; }
.tier-card li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.94rem; color: var(--tb-slate-700);
}
.tier-card li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.55em;
  border-radius: 50%; background: var(--tb-teal-500);
}
.tier-card--featured li::before { background: var(--tb-green-500); }

/* --- Story block --------------------------------------------------------- */
.story-grid { display: grid; gap: 1.5rem; align-items: start; }
.quote-card {
  background: var(--tb-teal-050);
  border-radius: var(--tb-radius-lg);
  padding: 1.9rem;
  display: grid; gap: 1.25rem; align-items: center;
}
.quote-card .avatar {
  width: 104px; height: 104px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--tb-white);
  box-shadow: var(--tb-shadow-sm);
}
.quote-card .attribution { font-size: 0.9rem; color: var(--tb-slate-700); margin: 0 0 1rem; }
.quote-card .attribution strong { color: var(--tb-navy-800); }

.stat-rail { display: grid; gap: 0.9rem; }
.stat-rail .rail-item {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--tb-white); border: 1px solid var(--tb-hairline);
  border-radius: var(--tb-radius-md); padding: 0.9rem 1.1rem;
}
.stat-rail .rail-icon { color: var(--tb-teal-500); flex: none; }
.stat-rail .figure {
  font-family: var(--tb-font-display); font-weight: 700; font-size: 1.3rem;
  color: var(--tb-navy-800); line-height: 1; margin: 0;
}
.stat-rail .label { font-size: 0.82rem; color: var(--tb-slate-500); margin: 0.2rem 0 0; }

.photo-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; margin-top: 1.5rem; }
.photo-strip img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 22%;
  border-radius: var(--tb-radius-md); background: var(--tb-navy-950);
}

/* --- Closing CTA band ---------------------------------------------------- */
.cta-band {
  position: relative;
  background: linear-gradient(115deg, var(--tb-navy-900), var(--tb-teal-600) 85%);
  color: var(--tb-white);
  padding-block: clamp(2.5rem, 2rem + 4vw, 4rem);
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: auto auto -70px 2%;
  width: 340px; height: 200px;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 200'%3E%3Cpath d='M10 190 Q170 15 330 190' fill='none' stroke='%23ffffff' stroke-width='3' opacity='0.2'/%3E%3Cpath d='M55 190 Q170 60 285 190' fill='none' stroke='%23ffffff' stroke-width='3' opacity='0.14'/%3E%3C/svg%3E");
}
.cta-band .cta-inner { display: grid; gap: 1.5rem; align-items: center; position: relative; }
.cta-band h2 { color: var(--tb-white); margin-bottom: 0.4rem; }
.cta-band p { color: rgb(255 255 255 / 86%); margin: 0; }
.cta-band .btn-group { margin-top: 0; }
.cta-band .btn-primary { background: var(--tb-white); color: var(--tb-navy-800); border-color: var(--tb-white); }
.cta-band .btn-primary:hover { background: var(--tb-teal-100); border-color: var(--tb-teal-100); color: var(--tb-navy-900); }
.cta-band .btn-secondary { color: var(--tb-white); border-color: rgb(255 255 255 / 60%); }
.cta-band .btn-secondary:hover { background: var(--tb-white); color: var(--tb-navy-900); border-color: var(--tb-white); }

/* --- Newsletter ---------------------------------------------------------- */
.newsletter p { font-size: 0.88rem; margin-bottom: 0.85rem; }
.newsletter .nl-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.newsletter input {
  flex: 1 1 11rem; min-height: 48px; font: inherit;
  padding: 0.6rem 0.8rem; border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-sm); background: var(--tb-white);
}
.newsletter .btn { min-height: 48px; padding-inline: 1.1rem; }

@media (min-width: 48rem) {
  .path-panels { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: repeat(4, 1fr); }
  .quote-card { grid-template-columns: auto 1fr; }
  .cta-band .cta-inner { grid-template-columns: 1fr auto; }
}

@media (min-width: 64rem) {
  .hero-v2 .hero-grid { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
  .hero-v2 .hero-panel { align-self: center; aspect-ratio: 4 / 3; min-height: 0; border-radius: var(--tb-radius-lg); }
  .tier-grid { grid-template-columns: repeat(3, 1fr); }
  .story-grid { grid-template-columns: 0.85fr 1.4fr 0.85fr; }
}

/* --- Real photography ---------------------------------------------------- */
.hero-panel--photo { background: none; }
.hero-panel--photo img { object-fit: cover; padding: 0; border-radius: var(--tb-radius-lg); }

/* Capability band gains a real team photo instead of stock call-centre imagery */
.capability-band .cap-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: center; }
.capability-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--tb-radius-lg); box-shadow: var(--tb-shadow-md);
}
.capability-photo figcaption {
  font-size: 0.82rem; color: rgb(255 255 255 / 62%); margin-top: 0.6rem;
}

/* Culture gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.85rem;
}
.gallery img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--tb-radius-md);
  background: var(--tb-teal-050);
  transition: transform 0.2s ease;
}
.gallery a { display: block; border-radius: var(--tb-radius-md); overflow: hidden; }
.gallery a:hover img { transform: scale(1.03); }
.gallery-lead { margin-bottom: 1.75rem; }

/* Feature strip — alternating photo + copy */
.feature-strip { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
.feature-strip img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--tb-radius-lg); box-shadow: var(--tb-shadow-sm);
}

@media (min-width: 48rem) {
  .gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (min-width: 64rem) {
  .capability-band .cap-grid { grid-template-columns: 1.15fr 0.85fr; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .feature-strip--reverse > :first-child { order: 2; }
}

/* --- Real photography support (17. PHOTO LAYER) -------------------------- */
.hero-panel { background: var(--tb-navy-950); }
.hero-panel img { object-fit: cover; padding: 0; }

/* Photo behind the gradient path panels */
.path-panel { isolation: isolate; }
.path-panel .panel-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.path-panel--employer { background: linear-gradient(135deg, rgb(1 53 103 / 92%), rgb(4 32 63 / 96%)); }
.path-panel--talent   { background: linear-gradient(135deg, rgb(26 100 112 / 92%), rgb(20 88 75 / 96%)); }
.path-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: inherit;
}

/* Capability band photo */
.capability-band > .container { position: relative; }
.capability-media { margin: 2rem 0 0; }
.capability-media img {
  width: 100%; border-radius: var(--tb-radius-lg);
  aspect-ratio: 16 / 10; object-fit: cover;
  box-shadow: var(--tb-shadow-md);
}

/* Gallery grid for the culture page */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.photo-gallery img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--tb-radius-md); background: var(--tb-off-white);
}
.photo-gallery figure { margin: 0; }
.photo-gallery figcaption {
  font-size: 0.82rem; color: var(--tb-slate-500); margin-top: 0.45rem;
}

/* Founder portrait block */
.founder-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.founder-photo img {
  width: 100%; border-radius: var(--tb-radius-lg);
  aspect-ratio: 4 / 5; object-fit: cover;
  box-shadow: var(--tb-shadow-md);
}
.founder-photo figcaption {
  font-size: 0.84rem; color: var(--tb-slate-500); margin-top: 0.6rem;
}

@media (min-width: 48rem) {
  .capability-media { position: absolute; top: 0; right: 0; width: 38%; margin: 0; }
  .capability-media img { aspect-ratio: 4 / 5; }
  .capability-band .container > h2,
  .capability-band .container > p { max-width: 56%; }
  .founder-grid { grid-template-columns: 0.85fr 1.15fr; }
}

/* --- Capability band grid + home gallery (18) ---------------------------- */
.cap-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.capability-photo { margin: 0; }
.capability-photo img {
  width: 100%; border-radius: var(--tb-radius-lg);
  aspect-ratio: 4 / 3; object-fit: cover;
  box-shadow: var(--tb-shadow-md);
}
.capability-photo figcaption {
  font-size: 0.84rem; color: rgb(255 255 255 / 70%); margin-top: 0.6rem;
}
.gallery-lead h2, .gallery-lead p { color: inherit; }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.9rem;
  margin-bottom: 2rem;
}
.gallery img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--tb-radius-md); background: var(--tb-off-white);
}
@media (min-width: 64rem) {
  .cap-grid { grid-template-columns: 1.15fr 0.85fr; }
}

/* Keep the five capability items on one row inside the narrower grid column */
.capability-row { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 1rem; }
.capability-item p { font-size: 0.82rem; }

/* --- 19. RHYTHM FIXES ---------------------------------------------------- */
/* Story block is now two columns, not three */
@media (min-width: 64rem) {
  .story-grid { grid-template-columns: 0.8fr 1.2fr; }
}
/* Gallery: clean 4-across so there is no orphan tile on the last row */
.gallery { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 36rem) { .gallery { grid-template-columns: repeat(4, 1fr); } }

/* Founder portrait reads better as a soft-cornered editorial image */
.founder-photo img { aspect-ratio: 3 / 4; }

/* --- 20. HERO v3: full-bleed photo with curved gradient (mockup match) ---- */
.hero.hero-v2 {
  position: relative;
  background: var(--tb-white);
  padding-block: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--tb-hairline);
}

/* Photo sits behind everything, bleeding off the right edge */
.hero-photo-layer { position: relative; width: 100%; }
.hero-photo-layer img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
  display: block;
}

/* The veil: white sweep on the left that curves over the photo, plus a soft
   fade at the right edge so the image never ends on a hard line. */
.hero-photo-veil { position: absolute; inset: 0; pointer-events: none; }

.hero-copy { position: relative; z-index: 2; }
.hero-stats { position: relative; z-index: 2; }

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--tb-white);
  border-radius: var(--tb-radius-md);
  box-shadow: var(--tb-shadow-md);
  padding: 0.85rem 1.15rem;
  margin: 0;
}
.hero-badge svg { flex: none; color: var(--tb-navy-800); }
.hero-badge span {
  font-family: var(--tb-font-display); font-weight: 700;
  font-size: 1rem; line-height: 1.2; color: var(--tb-navy-800);
}

/* ---- Mobile: photo stacks above the copy ---- */
@media (max-width: 63.99rem) {
  .hero-photo-layer { aspect-ratio: 4 / 3; }
  .hero-photo-veil {
    background: linear-gradient(to bottom, rgb(255 255 255 / 0%) 55%, var(--tb-white) 99%);
  }
  .hero.hero-v2 .hero-grid { padding-bottom: 2.5rem; }
  .hero-copy { padding-top: 0.5rem; }
  .hero-spacer { display: flex; justify-content: flex-start; margin-top: 1.5rem; }
}

/* ---- Desktop: photo is absolute on the right, copy overlays the white ---- */
@media (min-width: 64rem) {
  .hero-photo-layer {
    position: absolute; inset: 0 0 0 auto;
    width: 62%; height: 100%;
  }
  .hero-photo-veil {
    background:
      /* curved white sweep coming in from the left */
      radial-gradient(120% 145% at -22% 50%,
        var(--tb-white) 0 44%,
        rgb(255 255 255 / 92%) 50%,
        rgb(255 255 255 / 0%) 62%),
      /* gentle top/bottom blend into the page */
      linear-gradient(to bottom, rgb(255 255 255 / 55%) 0%, rgb(255 255 255 / 0%) 22%),
      linear-gradient(to top, rgb(255 255 255 / 55%) 0%, rgb(255 255 255 / 0%) 20%);
  }
  .hero.hero-v2 .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    align-items: center;
    min-height: 34rem;
    padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  }
  .hero-spacer {
    position: relative; z-index: 2;
    align-self: end; justify-self: start;
    margin-bottom: 0.5rem;
  }
}

/* --- 21. HERO v3 proportion corrections --------------------------------- */
/* Keep the headline to three lines so the hero band stays landscape and the
   group photo isn't cropped down to two faces. */
.hero-v2 h1 {
  font-size: clamp(2.1rem, 1.4rem + 2.7vw, 3.35rem);
  max-width: 15ch;
  margin-bottom: 0.5em;
}
.hero-v2 .lede { margin-bottom: 0.9em; }
.hero-v2 .btn-group { margin-top: 1.5rem; }
.hero-v2 .hero-stats { margin-top: 1.6rem; padding: 0.9rem 0.9rem; }

@media (min-width: 64rem) {
  .hero.hero-v2 .hero-grid {
    min-height: 0;
    padding-block: clamp(2.25rem, 1.5rem + 2vw, 3.25rem);
  }
  .hero-photo-layer { width: 58%; }
  .hero-photo-layer img { object-position: center 32%; }

  /* Badge floats over the lower edge of the photo, as in the mockup */
  .hero-spacer {
    position: absolute;
    left: 46%; bottom: clamp(1.25rem, 3vw, 2.25rem);
    margin: 0; z-index: 3;
  }
  .hero-badge { white-space: nowrap; }
}
@media (min-width: 64rem) {
  /* Square source fills the near-square photo column with minimal cropping */
  .hero-photo-layer img { object-position: center 45%; }
}
@media (min-width: 64rem) {
  .hero-photo-layer { width: 62%; }
  .hero-photo-layer img { object-position: 42% 38%; }
}

/* --- 22. Hero band sized so the whole group stays in frame --------------- */
@media (min-width: 64rem) {
  .hero-v2 h1 { font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.05rem); }
  .hero.hero-v2 .hero-grid { padding-block: clamp(1.75rem, 1.25rem + 1.2vw, 2.5rem); }
  .hero-photo-layer { width: 68%; }
  .hero-photo-layer img { object-position: center 36%; }
  /* Veil pulled slightly further right so the left figures aren't erased */
  .hero-photo-veil {
    background:
      radial-gradient(115% 140% at -30% 50%,
        var(--tb-white) 0 38%,
        rgb(255 255 255 / 90%) 45%,
        rgb(255 255 255 / 0%) 60%),
      linear-gradient(to bottom, rgb(255 255 255 / 45%) 0%, rgb(255 255 255 / 0%) 20%),
      linear-gradient(to top, rgb(255 255 255 / 45%) 0%, rgb(255 255 255 / 0%) 18%);
  }
  .hero-spacer { left: 42%; }
}

/* --- 23. Crisp arc veil + badge box ------------------------------------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: auto;
  max-width: none;
  background: var(--tb-white);
  border-radius: var(--tb-radius-md);
  box-shadow: var(--tb-shadow-md);
  padding: 0.9rem 1.25rem;
}
.hero-badge > svg { flex: 0 0 auto; color: var(--tb-navy-800); }
.hero-badge > span {
  font-family: var(--tb-font-display); font-weight: 700;
  font-size: 1rem; line-height: 1.25; color: var(--tb-navy-800);
  white-space: normal;
}

@media (min-width: 64rem) {
  /* Hard-edged sweep, matching the mockup's clean curve */
  .hero-photo-veil {
    background:
      radial-gradient(118% 150% at -34% 50%,
        var(--tb-white) 0 45%,
        rgb(255 255 255 / 97%) 46.5%,
        rgb(255 255 255 / 0%) 48.5%),
      linear-gradient(to bottom, rgb(255 255 255 / 40%) 0%, rgb(255 255 255 / 0%) 16%),
      linear-gradient(to top, rgb(255 255 255 / 40%) 0%, rgb(255 255 255 / 0%) 14%);
  }
  .hero-spacer { left: 44%; }
}

/* Badge must size to its content, not to the shrink-to-fit of its slot */
.hero-spacer { width: max-content; max-width: 100%; }
.hero-badge { width: max-content; }
.hero-badge > span { white-space: nowrap; }

/* --- 24. Hero photo scaled so all five people clear the headline --------- */
@media (min-width: 64rem) {
  .hero-photo-layer {
    width: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }
  .hero-photo-layer img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom right;
  }
  /* Arc now only needs to feather the photo's left edge, not cover a third of it */
  .hero-photo-veil {
    background:
      radial-gradient(90% 130% at -18% 55%,
        var(--tb-white) 0 26%,
        rgb(255 255 255 / 88%) 30%,
        rgb(255 255 255 / 0%) 42%),
      linear-gradient(to bottom, rgb(255 255 255 / 55%) 0%, rgb(255 255 255 / 0%) 14%);
  }
  .hero-spacer { left: 47%; bottom: clamp(1rem, 2.5vw, 1.75rem); }
}

/* --- 25. Full-bleed hero photo (backdrop extended in the asset) ---------- */
@media (min-width: 64rem) {
  .hero-photo-layer { width: 50%; display: block; }
  .hero-photo-layer img {
    width: 100%; height: 100%; max-height: none;
    object-fit: cover;
    object-position: bottom center;
  }
  .hero-photo-veil {
    background:
      radial-gradient(85% 125% at -14% 60%,
        var(--tb-white) 0 20%,
        rgb(255 255 255 / 85%) 26%,
        rgb(255 255 255 / 0%) 40%),
      linear-gradient(to right, var(--tb-white) 0%, rgb(255 255 255 / 0%) 14%);
  }
}

/* ==========================================================================
   26. HERO — exact match to the supplied mockup
   Bright-blue / orange accent set, circular white sweep, centred stat card.
   Note: this accent pair is mockup-specific and sits outside the logo palette.
   ========================================================================== */
:root {
  --tb-blue-700: #0f3fa8;
  --tb-blue-600: #1656d6;
  --tb-blue-500: #2b7ce8;
  --tb-orange-500: #ef7c2b;
}

.hero.hero-v2 {
  background: linear-gradient(135deg, #fdfdfe 0%, #eef3fa 55%, #e6eef8 100%);
}

/* Photo sits at the very back */
.hero-photo-layer { z-index: 0; }

/* The white sweep: an oversized circle whose right edge forms the curve */
.hero-arc,
.hero-arc-line {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  pointer-events: none;
  display: none;
}

@media (min-width: 64rem) {
  .hero-arc, .hero-arc-line { display: block; }

  .hero-arc {
    left: -62%;
    width: 118%;
    height: 205%;
    background: linear-gradient(150deg, #ffffff 0%, #f7fafd 60%, #eef4fb 100%);
    z-index: 1;
  }
  /* Faint outline arc echoing the curve, as in the mockup */
  .hero-arc-line {
    left: -60.4%;
    width: 121.5%;
    height: 211%;
    border: 2px solid rgb(43 124 232 / 14%);
    z-index: 1;
  }

  .hero-copy, .hero-stats, .hero-spacer { z-index: 3; }
}

/* Headline accent switches from teal to the mockup's blue */
.hero-v2 h1 { color: #0b2a5b; }
.hero-v2 h1 .accent { color: var(--tb-blue-500); }
.hero-v2 .lede { color: #3d4a5c; font-weight: 400; }

/* Pill buttons */
.hero-v2 .btn { border-radius: 999px; padding: 0.85rem 1.6rem; font-size: 0.95rem; letter-spacing: 0.01em; }
.hero-v2 .btn-primary {
  background: var(--tb-blue-600); border-color: var(--tb-blue-600); color: #fff;
  box-shadow: 0 6px 16px rgb(22 86 214 / 28%);
}
.hero-v2 .btn-primary:hover { background: var(--tb-blue-700); border-color: var(--tb-blue-700); }
.hero-v2 .btn-secondary {
  background: #fff; border-color: var(--tb-orange-500); color: var(--tb-orange-500);
}
.hero-v2 .btn-secondary:hover { background: var(--tb-orange-500); color: #fff; border-color: var(--tb-orange-500); }

/* Stat card: icon centred above the figure */
.hero-v2 .hero-stats {
  border: 0;
  border-radius: 18px;
  padding: 1.35rem 1.1rem;
  box-shadow: 0 18px 40px rgb(11 42 91 / 10%), 0 2px 6px rgb(11 42 91 / 6%);
  max-width: 30rem;
}
.hero-v2 .hero-stats div + div { border-left: 1px solid #e7edf5; }
.hero-v2 .hero-stats .stat-icon {
  display: block; margin: 0 auto 0.55rem; color: var(--tb-blue-500); line-height: 0;
}
.hero-v2 .hero-stats .stat-icon svg { width: 26px; height: 26px; margin: 0 auto; }
.hero-v2 .hero-stats .figure {
  font-family: var(--tb-font-body); font-weight: 700;
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem);
  color: var(--tb-blue-600); letter-spacing: -0.01em;
}
.hero-v2 .hero-stats .label { color: #64748b; font-size: 0.75rem; margin-top: 0.3rem; }

/* Badge */
.hero-badge { border-radius: 14px; box-shadow: 0 16px 34px rgb(11 42 91 / 16%); }
.hero-badge > svg { color: var(--tb-blue-600); width: 30px; height: 30px; }
.hero-badge > span { color: #0b2a5b; font-family: var(--tb-font-body); font-weight: 600; font-size: 0.98rem; }

/* Arcs are now hero-level, so percentages resolve against the full width */
@media (min-width: 64rem) {
  .hero-arc     { left: -62%; width: 109%; height: 212%; }
  .hero-arc-line{ left: -60.2%; width: 112.4%; height: 219%; }
}

/* Photo extends left beneath the arc, so the curve — not a straight edge —
   forms the visible boundary, exactly as in the mockup */
@media (min-width: 64rem) {
  .hero-photo-layer { width: 58%; }
  .hero-photo-layer img { object-position: bottom center; }
  .hero-spacer { left: 50%; }
}

/* Stat labels stay on one line, as in the mockup */
@media (min-width: 64rem) {
  .hero-v2 .hero-stats { max-width: 33rem; }
  .hero-v2 .hero-stats .label { white-space: nowrap; font-size: 0.73rem; }
  .hero-v2 .hero-stats div { padding-inline: 0.75rem; }
}

/* Copy column always ends left of the arc, at every desktop width */
@media (min-width: 64rem) {
  .hero.hero-v2 .hero-grid {
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  }
  .hero-v2 .hero-copy > * { max-width: 100%; }
  .hero-v2 .lede { max-width: 100%; }
}

/* ==========================================================================
   27. AUGUST BUILD — Diana panel, culture band, testimonials
   Palette strictly navy / teal / sage.
   ========================================================================== */

/* --- Split path: portrait subject anchored right ------------------------- */
.panel-bg--portrait { object-position: center 18%; }
@media (min-width: 48rem) {
  .panel-bg--portrait { object-fit: cover; object-position: 78% 14%; }
  /* Deepen the gradient on the copy side so text stays legible over her */
  .path-panel--talent {
    background: linear-gradient(100deg,
      rgb(20 88 75 / 96%) 0%,
      rgb(26 100 112 / 88%) 46%,
      rgb(26 100 112 / 42%) 100%);
  }
  .path-panel--employer {
    background: linear-gradient(100deg,
      rgb(4 32 63 / 96%) 0%,
      rgb(1 53 103 / 88%) 46%,
      rgb(1 53 103 / 45%) 100%);
  }
  .path-panel { min-height: 300px; }
}

/* --- Culture band -------------------------------------------------------- */
.capability-band {
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(32 120 134 / 45%) 0%, rgb(32 120 134 / 0%) 55%),
    linear-gradient(125deg, var(--tb-navy-900) 0%, var(--tb-navy-950) 70%);
  position: relative;
  overflow: hidden;
}
/* Bridge arc watermark, echoing the logo */
.capability-band::before {
  content: "";
  position: absolute; left: -4%; bottom: -32%;
  width: 46%; aspect-ratio: 2 / 1; pointer-events: none;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200'%3E%3Cpath d='M10 190 Q200 12 390 190' fill='none' stroke='%234ca489' stroke-width='3' opacity='0.30'/%3E%3Cpath d='M62 190 Q200 70 338 190' fill='none' stroke='%23207886' stroke-width='3' opacity='0.26'/%3E%3C/svg%3E");
}
.capability-band .container { position: relative; z-index: 1; }
.capability-band .eyebrow { color: var(--tb-green-400); }
.capability-band .eyebrow::before { filter: none; }
.capability-band h2 { color: var(--tb-white); }

.capability-video { margin: 0; }
.capability-video .video-frame {
  border-radius: var(--tb-radius-lg);
  box-shadow: 0 24px 60px rgb(4 32 63 / 45%);
  border: 1px solid rgb(255 255 255 / 12%);
}
.capability-video figcaption {
  font-size: 0.85rem; color: rgb(255 255 255 / 68%); margin-top: 0.75rem;
}

/* Culture pillars: sage rings + connecting hairline, as in the mockup */
.capability-row { position: relative; margin-top: 2.5rem; }
.capability-item .cap-icon {
  border-color: var(--tb-green-400);
  color: var(--tb-green-400);
  background: rgb(76 164 137 / 10%);
}
.capability-item h3 { color: var(--tb-white); }

/* Light button for dark bands */
.btn-onDark {
  background: var(--tb-white); color: var(--tb-navy-800); border-color: var(--tb-white);
}
.btn-onDark:hover { background: var(--tb-teal-100); border-color: var(--tb-teal-100); color: var(--tb-navy-900); }

/* --- Testimonials -------------------------------------------------------- */
.feature-testimonial {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--tb-white);
  border: 1px solid var(--tb-hairline);
  border-radius: var(--tb-radius-lg);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--tb-shadow-md);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.feature-testimonial::before {
  content: "";
  position: absolute; inset: 0 auto 0 0; width: 5px;
  background: linear-gradient(180deg, var(--tb-navy-800), var(--tb-teal-500) 55%, var(--tb-green-500));
}
.ft-video { margin: 0; }
.ft-video video {
  width: 100%; aspect-ratio: 9 / 16; max-height: 460px;
  object-fit: cover; border-radius: var(--tb-radius-md);
  background: var(--tb-navy-950);
}
.ft-person { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.ft-person .avatar {
  width: 68px; height: 68px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--tb-white);
  box-shadow: 0 0 0 2px var(--tb-teal-100);
}
.ft-name {
  font-family: var(--tb-font-display); font-weight: 700;
  font-size: var(--tb-step-1); color: var(--tb-navy-800); margin: 0;
}
.ft-meta { font-size: 0.88rem; color: var(--tb-teal-600); margin: 0.15rem 0 0; }

.pro-stories h3 { text-align: center; margin-bottom: 0.35rem; }
.pro-stories-lead {
  text-align: center; color: var(--tb-slate-700);
  margin: 0 auto 1.75rem; max-width: 34rem;
}
.testimonial .testimonial-name {
  color: var(--tb-navy-800); font-family: var(--tb-font-display);
  font-weight: 700; font-size: 1.05rem; text-align: center;
}
.testimonial video { box-shadow: var(--tb-shadow-sm); }

@media (min-width: 48rem) {
  .feature-testimonial { grid-template-columns: 0.62fr 1.38fr; }
}

/* Diana sits as a right-anchored figure, not a full-bleed wash */
@media (min-width: 48rem) {
  .path-panel--talent .panel-bg--portrait {
    inset: 0 0 0 auto;
    width: auto;
    height: 100%;
    object-fit: cover;
    object-position: center 6%;
    z-index: -2;
  }
  /* Gradient clears the right third so she stays visible */
  .path-panel--talent {
    background: linear-gradient(95deg,
      rgb(20 88 75 / 98%) 0%,
      rgb(20 88 75 / 95%) 40%,
      rgb(26 100 112 / 55%) 68%,
      rgb(26 100 112 / 12%) 100%);
  }
  .path-panel--talent .path-icon,
  .path-panel--talent .eyebrow,
  .path-panel--talent h3,
  .path-panel--talent p,
  .path-panel--talent .btn { position: relative; z-index: 1; }
  .path-panel--talent h3,
  .path-panel--talent > p { max-width: 22rem; }
}

/* ==========================================================================
   28. COLOUR & AESTHETICS PASS — navy / teal / sage only
   ========================================================================== */

/* Section rhythm: alternating tinted washes instead of flat white */
.section-muted {
  background:
    radial-gradient(90% 70% at 100% 0%, rgb(76 164 137 / 8%) 0%, rgb(76 164 137 / 0%) 60%),
    var(--tb-teal-050);
}
.section-light {
  background:
    radial-gradient(70% 60% at 0% 100%, rgb(32 120 134 / 5%) 0%, rgb(32 120 134 / 0%) 60%),
    var(--tb-white);
}

/* Centred section titles get the tri-colour rule in brand order */
.title-rule span:nth-child(1) { background: var(--tb-navy-800); }
.title-rule span:nth-child(2) { background: var(--tb-green-500); }
.title-rule span:nth-child(3) { background: var(--tb-teal-500); }

/* Tier cards: brand-coloured icons and a sage "Most Popular" flag */
.tier-icon { background: var(--tb-navy-800); }
.tier-card:nth-child(2) .tier-icon { background: var(--tb-teal-500); }
.tier-card--featured .tier-icon { background: var(--tb-green-500); }
.tier-card--featured { border-color: var(--tb-green-500); }
.tier-badge { background: var(--tb-green-500); }
.tier-card .tier-label { color: var(--tb-teal-600); }
.tier-card--featured .tier-label { color: var(--tb-green-500); }
.tier-card h3 { color: var(--tb-navy-800); }
/* Give each tier a coloured top edge so the trio reads as a set */
.tier-card { position: relative; overflow: hidden; }
.tier-card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--tb-navy-800);
}
.tier-card:nth-child(2)::after { background: var(--tb-teal-500); }
.tier-card--featured::after { background: var(--tb-green-500); }

/* Closing CTA: navy-to-teal with the bridge motif */
.cta-band {
  background:
    radial-gradient(90% 120% at 100% 0%, rgb(76 164 137 / 30%) 0%, rgb(76 164 137 / 0%) 60%),
    linear-gradient(115deg, var(--tb-navy-900) 0%, var(--tb-teal-600) 92%);
}
.cta-band .btn-primary { background: var(--tb-white); color: var(--tb-navy-800); border-color: var(--tb-white); }
.cta-band .btn-primary:hover { background: var(--tb-green-100); border-color: var(--tb-green-100); }

/* Gallery tiles lift on hover */
.gallery img, .photo-gallery img {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.gallery img:hover, .photo-gallery img:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--tb-shadow-md);
}

/* Footer: brand-tinted rather than plain grey */
.site-footer {
  background: linear-gradient(180deg, var(--tb-teal-050) 0%, var(--tb-off-white) 100%);
  border-top: 3px solid var(--tb-teal-500);
}
.site-footer h2 { color: var(--tb-navy-800); }
.social-row a { color: var(--tb-teal-600); border-color: var(--tb-border); }
.social-row a:hover { background: var(--tb-teal-500); border-color: var(--tb-teal-500); color: var(--tb-white); }

/* Links and inline accents */
.section a:not(.btn):not(.path-link) { color: var(--tb-teal-600); }
.section a:not(.btn):not(.path-link):hover { color: var(--tb-navy-800); }
.step-num { background: var(--tb-teal-100); color: var(--tb-teal-600); }
.card-icon { background: var(--tb-teal-100); color: var(--tb-teal-600); }

/* ==========================================================================
   29. HERO RECOLOUR — brand palette only.
   Colour values only. Layout, curve, photo, badge and stat card unchanged.
   ========================================================================== */
.hero.hero-v2 {
  background: linear-gradient(135deg, #ffffff 0%, var(--tb-teal-050) 55%, var(--tb-teal-100) 100%);
}

/* Headline */
.hero-v2 h1 { color: var(--tb-navy-800); }
.hero-v2 h1 .accent { color: var(--tb-teal-500); }
.hero-v2 .lede { color: var(--tb-slate-700); }

/* Curve + outline arc */
@media (min-width: 64rem) {
  .hero-arc {
    background: linear-gradient(150deg, #ffffff 0%, #f7fbfb 60%, var(--tb-teal-050) 100%);
  }
  .hero-arc-line { border-color: rgb(32 120 134 / 18%); }
}

/* Buttons: teal for the employer path, sage for the professional path */
.hero-v2 .btn-primary {
  background: var(--tb-teal-500); border-color: var(--tb-teal-500); color: var(--tb-white);
  box-shadow: 0 6px 16px rgb(32 120 134 / 28%);
}
.hero-v2 .btn-primary:hover { background: var(--tb-teal-600); border-color: var(--tb-teal-600); }
.hero-v2 .btn-secondary {
  background: var(--tb-white); border-color: var(--tb-green-500); color: #35806a;
}
.hero-v2 .btn-secondary:hover {
  background: var(--tb-green-500); border-color: var(--tb-green-500); color: var(--tb-white);
}

/* Stat card */
.hero-v2 .hero-stats .stat-icon { color: var(--tb-teal-500); }
.hero-v2 .hero-stats .figure { color: var(--tb-teal-600); }
.hero-v2 .hero-stats .label { color: var(--tb-slate-500); }
.hero-v2 .hero-stats div + div { border-left-color: var(--tb-hairline); }

/* Badge */
.hero-badge > svg { color: var(--tb-teal-500); }
.hero-badge > span { color: var(--tb-navy-800); }

/* Restore the approved side-by-side CTA row (buttons totalled 491px in a
   476px column, so they were wrapping). Padding trimmed, nothing else. */
@media (min-width: 64rem) {
  .hero-v2 .btn { padding: 0.85rem 1.25rem; font-size: 0.92rem; }
  .hero-v2 .btn-group { flex-wrap: nowrap; }
}
/* Stat labels are small text; darken to clear 4.5:1 */
.hero-v2 .hero-stats .label { color: var(--tb-slate-700); }

/* --- 30. Split path: Diana sized and blended like the mockup ------------- */
@media (min-width: 48rem) {
  .path-panel { min-height: 340px; }

  /* She occupies the right ~42% of the card, full height */
  .path-panel--talent .panel-bg--portrait {
    inset: 0 0 0 auto;
    width: 46%;
    height: 100%;
    object-fit: cover;
    object-position: 42% 12%;
    z-index: -2;
    /* Feather the left edge so her dark backdrop melts into the teal
       instead of ending on a hard vertical line */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgb(0 0 0 / 55%) 18%, #000 44%);
            mask-image: linear-gradient(to right, transparent 0%, rgb(0 0 0 / 55%) 18%, #000 44%);
  }

  /* Gradient clears her entirely by ~58% so she is never washed over */
  .path-panel--talent {
    background: linear-gradient(95deg,
      rgb(20 88 75 / 98%) 0%,
      rgb(20 88 75 / 96%) 34%,
      rgb(26 100 112 / 62%) 52%,
      rgb(26 100 112 / 0%) 66%);
  }
  .path-panel--talent h3,
  .path-panel--talent > p { max-width: 19rem; }
}

/* Feather Diana on all sides so her black studio backdrop dissolves into the
   panel instead of reading as a rectangle (keying her out isn't viable —
   her hair and navy polo are as dark as the backdrop). */
@media (min-width: 48rem) {
  .path-panel--talent .panel-bg--portrait {
    width: 52%;
    object-position: 45% 10%;
    -webkit-mask-image:
      radial-gradient(115% 108% at 68% 42%, #000 38%, rgb(0 0 0 / 55%) 62%, transparent 84%),
      linear-gradient(to right, transparent 0%, #000 38%);
    -webkit-mask-composite: source-in;
            mask-image:
      radial-gradient(115% 108% at 68% 42%, #000 38%, rgb(0 0 0 / 55%) 62%, transparent 84%),
      linear-gradient(to right, transparent 0%, #000 38%);
            mask-composite: intersect;
  }
  .path-panel--talent {
    background: linear-gradient(95deg,
      rgb(20 88 75 / 98%) 0%,
      rgb(20 88 75 / 94%) 32%,
      rgb(26 100 112 / 55%) 50%,
      rgb(26 100 112 / 0%) 64%);
  }
}

/* Single left-to-right fade — reliable across browsers, no mask compositing */
@media (min-width: 48rem) {
  .path-panel--talent .panel-bg--portrait {
    width: 50%;
    object-position: 46% 8%;
    filter: brightness(1.06) contrast(1.02);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgb(0 0 0 / 60%) 22%, #000 46%);
            mask-image: linear-gradient(to right, transparent 0%, rgb(0 0 0 / 60%) 22%, #000 46%);
    -webkit-mask-composite: source-over;
            mask-composite: add;
  }
  /* Gradient fully clear before it reaches her face */
  .path-panel--talent {
    background: linear-gradient(95deg,
      rgb(20 88 75 / 98%) 0%,
      rgb(20 88 75 / 95%) 30%,
      rgb(26 100 112 / 40%) 46%,
      rgb(26 100 112 / 0%) 56%);
  }
}

/* Solid base under the gradient means the photo can fade out at BOTH edges,
   revealing teal instead of the black studio backdrop */
@media (min-width: 48rem) {
  .path-panel--talent {
    background-color: #12574a;
    background-image: linear-gradient(95deg,
      rgb(18 87 74 / 98%) 0%,
      rgb(18 87 74 / 95%) 30%,
      rgb(26 100 112 / 38%) 46%,
      rgb(26 100 112 / 0%) 58%);
  }
  .path-panel--talent .panel-bg--portrait {
    -webkit-mask-image: linear-gradient(to right,
      transparent 0%, rgb(0 0 0 / 55%) 20%, #000 44%, #000 82%, rgb(0 0 0 / 35%) 96%, transparent 100%);
            mask-image: linear-gradient(to right,
      transparent 0%, rgb(0 0 0 / 55%) 20%, #000 44%, #000 82%, rgb(0 0 0 / 35%) 96%, transparent 100%);
  }
}

/* --- 31. Explicit layering for the talent panel -------------------------- */
/* Order: solid base (panel bg) -> photo -> gradient overlay -> content */
@media (min-width: 48rem) {
  .path-panel--talent { position: relative; background: #12574a; }
  .path-panel--talent::after { content: none; }

  .path-panel--talent .panel-bg--portrait {
    position: absolute;
    inset: 0 0 0 auto;
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: 46% 8%;
    z-index: 0;
    filter: brightness(1.06) contrast(1.02);
    -webkit-mask-image: linear-gradient(to right,
      transparent 0%, rgb(0 0 0 / 55%) 20%, #000 46%, #000 84%, rgb(0 0 0 / 40%) 96%, transparent 100%);
            mask-image: linear-gradient(to right,
      transparent 0%, rgb(0 0 0 / 55%) 20%, #000 46%, #000 84%, rgb(0 0 0 / 40%) 96%, transparent 100%);
  }

  .path-panel--talent::before {
    content: "";
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(95deg,
      rgb(18 87 74 / 97%) 0%,
      rgb(18 87 74 / 92%) 30%,
      rgb(26 100 112 / 35%) 47%,
      rgb(26 100 112 / 0%) 60%);
  }

  .path-panel--talent > * { position: relative; z-index: 2; }
}

/* Founder portrait is 4:5; show it in full rather than cropping to 3:4 */
.founder-photo img { aspect-ratio: 4 / 5; object-position: center 12%; }

/* ==========================================================================
   32. GALLERY CARD, MASONRY PAGE, LIGHTBOX
   ========================================================================== */

/* --- Compact gallery card on the home page ------------------------------- */
.gallery-card-wrap { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }

.gallery-card {
  position: relative;
  display: block;
  border-radius: var(--tb-radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--tb-shadow-md);
  background: var(--tb-navy-950);
  aspect-ratio: 16 / 9;
}
.gallery-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.45s ease;
}
.gallery-card-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgb(4 32 63 / 10%) 0%, rgb(4 32 63 / 15%) 45%, rgb(4 32 63 / 82%) 100%);
  transition: background 0.3s ease;
}
.gallery-card-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1.4rem;
  display: grid; gap: 0.25rem;
}
.gallery-card-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--tb-green-400);
}
.gallery-card-title {
  font-family: var(--tb-font-display); font-weight: 700;
  font-size: var(--tb-step-2); color: var(--tb-white); line-height: 1.1;
}
.gallery-card-hover {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--tb-font-body); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--tb-navy-800);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.gallery-card-hover::before {
  content: "View Our Gallery";
  background: var(--tb-white);
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  box-shadow: var(--tb-shadow-md);
}
.gallery-card-hover { font-size: 0; }
.gallery-card-hover::before { font-size: 1rem; }

.gallery-card:hover img,
.gallery-card:focus-visible img { transform: scale(1.05); }
.gallery-card:hover .gallery-card-veil,
.gallery-card:focus-visible .gallery-card-veil {
  background: linear-gradient(180deg, rgb(4 32 63 / 45%) 0%, rgb(4 32 63 / 60%) 100%);
}
.gallery-card:hover .gallery-card-hover,
.gallery-card:focus-visible .gallery-card-hover { opacity: 1; }

@media (min-width: 62rem) {
  .gallery-card-wrap { grid-template-columns: 1.25fr 0.75fr; }
}

/* --- Masonry gallery page ------------------------------------------------ */
.masonry { columns: 1; column-gap: 1rem; }
@media (min-width: 34rem) { .masonry { columns: 2; } }
@media (min-width: 52rem) { .masonry { columns: 3; } }
@media (min-width: 76rem) { .masonry { columns: 4; } }

.g-item {
  display: block;
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--tb-radius-md);
  overflow: hidden;
  background: var(--tb-off-white);
  box-shadow: var(--tb-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.g-item img { width: 100%; height: auto; display: block; }
.g-item:hover, .g-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--tb-shadow-md);
}
.gallery-note {
  margin-top: 1.5rem; font-size: 0.9rem; color: var(--tb-slate-500);
  text-align: center; max-width: none;
}

/* --- Lightbox ------------------------------------------------------------ */
body.lb-open { overflow: hidden; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgb(4 32 63 / 94%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(1rem, 4vw, 2.5rem);
}
.lightbox[hidden] { display: none; }

.lb-stage { margin: 0; display: grid; place-items: center; gap: 0.75rem; min-width: 0; }
.lb-stage img {
  max-width: 100%; max-height: 78vh;
  border-radius: var(--tb-radius-md);
  box-shadow: 0 30px 70px rgb(0 0 0 / 45%);
}
.lb-stage figcaption {
  color: rgb(255 255 255 / 82%); font-size: 0.9rem; text-align: center;
  max-width: 42rem;
}

.lightbox button {
  background: rgb(255 255 255 / 12%);
  border: 1px solid rgb(255 255 255 / 25%);
  color: var(--tb-white);
  border-radius: 50%;
  width: 52px; height: 52px;
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.18s ease;
}
.lightbox button:hover { background: var(--tb-teal-500); border-color: var(--tb-teal-500); }
.lb-close {
  position: absolute; top: clamp(0.75rem, 3vw, 1.5rem); right: clamp(0.75rem, 3vw, 1.5rem);
  width: 46px; height: 46px; font-size: 1.5rem;
}
.lb-count {
  position: absolute; bottom: clamp(0.75rem, 3vw, 1.5rem); left: 0; right: 0;
  text-align: center; color: rgb(255 255 255 / 72%); font-size: 0.85rem; margin: 0;
  max-width: none;
}

@media (max-width: 40rem) {
  .lightbox { grid-template-columns: 1fr; }
  .lb-prev, .lb-next {
    position: absolute; bottom: 3.25rem;
    width: 46px; height: 46px;
  }
  .lb-prev { left: 1.25rem; }
  .lb-next { right: 1.25rem; }
  .lb-stage img { max-height: 68vh; }
}

/* ==========================================================================
   33. GALLERY CARD — compact feature tile (replaces section 32 card styles)
   ========================================================================== */
.gallery-card-wrap {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 4 / 3;
  border-radius: var(--tb-radius-lg);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  background: var(--tb-navy-950);
  box-shadow: 0 10px 28px rgb(4 32 63 / 14%), 0 2px 6px rgb(4 32 63 / 8%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Dark gradient toward the bottom so the text stays readable */
.gallery-card-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgb(4 32 63 / 0%) 32%,
    rgb(4 32 63 / 52%) 62%,
    rgb(4 32 63 / 88%) 100%);
  transition: background 0.3s ease;
}

.gallery-card-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: grid;
  gap: 0.3rem;
  padding: 1.4rem 1.5rem 1.35rem;
}
.gc-title {
  font-family: var(--tb-font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--tb-white);
}
.gc-sub {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgb(255 255 255 / 82%);
}
.gc-cta {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tb-green-400);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.gc-arrow { transition: transform 0.3s ease; display: inline-block; }

/* Hover / focus — restrained */
.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgb(4 32 63 / 20%), 0 3px 8px rgb(4 32 63 / 10%);
}
.gallery-card:hover .gallery-card-img,
.gallery-card:focus-visible .gallery-card-img { transform: scale(1.04); }
.gallery-card:hover .gallery-card-shade,
.gallery-card:focus-visible .gallery-card-shade {
  background: linear-gradient(180deg,
    rgb(4 32 63 / 12%) 26%,
    rgb(4 32 63 / 64%) 60%,
    rgb(4 32 63 / 92%) 100%);
}
.gallery-card:hover .gc-arrow,
.gallery-card:focus-visible .gc-arrow { transform: translateX(5px); }

/* Desktop: copy left, compact card right */
@media (min-width: 62rem) {
  .gallery-card-wrap { grid-template-columns: 1fr auto; align-items: center; }
  .gallery-card { width: 430px; }
}

/* Mobile: full width of container, text stays legible */
@media (max-width: 47.99rem) {
  .gallery-card { max-width: 100%; aspect-ratio: 3 / 2; }
  .gallery-card-text { padding: 1.15rem 1.15rem 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-card, .gallery-card-img, .gallery-card-shade, .gc-arrow { transition: none; }
  .gallery-card:hover .gallery-card-img { transform: none; }
}

/* ==========================================================================
   34. GALLERY CARD — single column, card sits BELOW the copy
   Overrides the two-column arrangement from section 33.
   ========================================================================== */
.gallery-card-wrap {
  display: block;          /* no side-by-side grid */
  max-width: 46rem;        /* keeps the intro copy to a readable measure */
}
.gallery-card-copy { margin-bottom: 1.75rem; }

.gallery-card {
  width: 100%;
  max-width: 420px;        /* small supporting tile, never the section */
  aspect-ratio: 4 / 3;     /* 420 x 315 — inside the 280-320 target */
  border-radius: 18px;
  border: 1px solid rgb(4 32 63 / 6%);
  margin-inline: 0;        /* left aligned, white space to the right */
}

/* Cancel the section 33 desktop two-column rule */
@media (min-width: 62rem) {
  .gallery-card-wrap { grid-template-columns: none; }
  .gallery-card { width: 100%; max-width: 420px; }
}

/* Mobile: fills its container but never exceeds 420px */
@media (max-width: 47.99rem) {
  .gallery-card { max-width: 420px; aspect-ratio: 4 / 3; }
}

.gallery-card:hover,
.gallery-card:focus-visible { transform: translateY(-3px); }

/* ==========================================================================
   35. FOUNDER STORY (left) + TEAM & CULTURE (right)
   ========================================================================== */
.story-culture {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

/* Mobile / tablet: stack, founder first */
.sc-founder { order: 1; }
.sc-culture { order: 2; }

/* Inside the left column the founder photo sits beside the story */
.story-culture .founder-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}
.story-culture .founder-photo { margin: 0; }
.story-culture .founder-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 12%;
  border-radius: var(--tb-radius-lg);
  box-shadow: var(--tb-shadow-md);
}

/* Right column keeps the small tile at its supporting size */
.sc-culture .gallery-card { max-width: 420px; margin-inline: 0; }
.sc-culture .gallery-card-copy { margin-bottom: 1.5rem; }

@media (min-width: 40rem) {
  .story-culture .founder-grid { grid-template-columns: 0.8fr 1.2fr; }
}

/* Desktop: founder 58% / culture 42% on one row */
@media (min-width: 64rem) {
  .story-culture {
    grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 4vw, 4rem);
    align-items: center;
  }
  .story-culture .founder-grid { grid-template-columns: 0.78fr 1.22fr; }
  /* Divider echoing the brand palette */
  .sc-culture {
    padding-left: clamp(2rem, 3vw, 3rem);
    border-left: 1px solid var(--tb-hairline);
  }
}

/* Headings sized for the narrower columns in this row */
@media (min-width: 64rem) {
  .story-culture h2 {
    font-size: clamp(1.65rem, 1.15rem + 1.15vw, 2.15rem);
    margin-bottom: 0.55em;
  }
  .story-culture p { font-size: 0.98rem; }
  .story-culture .founder-photo figcaption { font-size: 0.8rem; }
}

/* ==========================================================================
   36. EMPLOYER PANEL — same gradient treatment as the professionals panel
   Photo anchored right, feathered edges over a solid navy base.
   Original image file untouched; this is display-only.
   ========================================================================== */
@media (min-width: 48rem) {
  .path-panel--employer { position: relative; background: #0a2d55; }

  .path-panel--employer .panel-bg {
    position: absolute;
    inset: 0 0 0 auto;
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: 68% 30%;
    z-index: 0;
    filter: brightness(1.04);
    -webkit-mask-image: linear-gradient(to right,
      transparent 0%, rgb(0 0 0 / 55%) 20%, #000 46%, #000 84%, rgb(0 0 0 / 40%) 96%, transparent 100%);
            mask-image: linear-gradient(to right,
      transparent 0%, rgb(0 0 0 / 55%) 20%, #000 46%, #000 84%, rgb(0 0 0 / 40%) 96%, transparent 100%);
  }

  .path-panel--employer::before {
    content: "";
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(95deg,
      rgb(4 32 63 / 97%) 0%,
      rgb(4 32 63 / 92%) 30%,
      rgb(1 53 103 / 35%) 47%,
      rgb(1 53 103 / 0%) 60%);
  }

  .path-panel--employer::after { content: none; }
  .path-panel--employer > * { position: relative; z-index: 2; }
  .path-panel--employer h3,
  .path-panel--employer > p { max-width: 19rem; }
}

/* ==========================================================================
   37. TWO PATHS — single shared treatment for BOTH cards
   Photo fills the whole card; gradient dark on the left, clearing to a tint
   on the right. No vertical seam. Overrides sections 27, 30, 31 and 36.
   ========================================================================== */
.path-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  border-radius: var(--tb-radius-lg);
  padding: 2.25rem 2rem 2rem;
  color: var(--tb-white);
  background: var(--tb-navy-950);
}

/* Photo underneath the entire card */
.path-panel .panel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  -webkit-mask-image: none;
          mask-image: none;
  filter: none;
}
.path-panel--employer .panel-bg { object-position: 62% 32%; }
.path-panel--talent   .panel-bg { object-position: 78% 14%; }

/* Overlay: strongest left, clearing to a tint right — never fully clear */
.path-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.path-panel--employer::before {
  background: linear-gradient(90deg,
    rgb(4 32 63 / 96%) 0%,
    rgb(1 53 103 / 90%) 35%,
    rgb(1 53 103 / 70%) 58%,
    rgb(13 74 112 / 40%) 78%,
    rgb(13 74 112 / 24%) 100%);
}
.path-panel--talent::before {
  background: linear-gradient(90deg,
    rgb(12 66 57 / 96%) 0%,
    rgb(18 87 74 / 90%) 35%,
    rgb(20 95 100 / 70%) 58%,
    rgb(26 100 112 / 40%) 78%,
    rgb(26 100 112 / 22%) 100%);
}

/* Bridge arc, kept subtle and above the wash */
.path-panel::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 320px; height: 200px;
  z-index: 2;
  pointer-events: none;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 200'%3E%3Cpath d='M10 190 Q160 10 310 190' fill='none' stroke='%23ffffff' stroke-width='3' opacity='0.16'/%3E%3C/svg%3E");
}

/* Content above everything */
.path-panel > * { position: relative; z-index: 3; }
.path-panel .eyebrow { color: rgb(255 255 255 / 88%); }
.path-panel .eyebrow::before { filter: brightness(3); }
.path-panel h3 { color: var(--tb-white); }
.path-panel p { color: rgb(255 255 255 / 88%); }
.path-panel h3,
.path-panel > p { max-width: 20rem; }
.path-panel .btn {
  margin-top: auto;
  align-self: flex-start;
  background: var(--tb-white);
  color: var(--tb-navy-800);
  border-color: var(--tb-white);
}
.path-panel--talent .btn { color: #12574a; }
.path-panel .btn:hover { background: var(--tb-teal-100); border-color: var(--tb-teal-100); }
.path-icon { background: var(--tb-white); }
.path-panel--employer .path-icon { color: var(--tb-navy-800); }
.path-panel--talent .path-icon { color: #12574a; }

/* Anchor right so the full face stays in frame at every card width */
.path-panel--talent .panel-bg { object-position: 100% 50%; }

/* Employer card: new photo, anchored right so both women stay in frame and the
   logo lockup (already cropped from the file) can never reappear */
.path-panel--employer .panel-bg { object-position: 100% 42%; }
@media (max-width: 47.99rem) {
  .path-panel--employer .panel-bg { object-position: 96% 26%; }
}

/* Professionals card: new photo, anchored right so her face stays in frame */
.path-panel--talent .panel-bg { object-position: 100% 26%; }
@media (max-width: 47.99rem) {
  .path-panel--talent .panel-bg { object-position: 96% 20%; }
}

/* ==========================================================================
   38. BOTTLENECK DIAGNOSTIC / CORE VALUE / VIDEO META
   ========================================================================== */
.audit-shell {
  background: var(--tb-white);
  border: 1px solid var(--tb-hairline);
  border-radius: var(--tb-radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--tb-shadow-md);
  max-width: 44rem;
}
.audit:focus { outline: none; }

.audit-progress {
  height: 5px; border-radius: 999px; background: var(--tb-teal-100);
  overflow: hidden; margin-bottom: 1.5rem;
}
.audit-progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--tb-teal-500), var(--tb-green-500));
  transition: width 0.3s ease;
}
.audit-step {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--tb-teal-600); margin: 0 0 0.6rem;
}
.audit-q {
  font-size: var(--tb-step-2); color: var(--tb-navy-800);
  margin: 0 0 1.4rem; max-width: 32rem;
}
.audit-options { display: grid; gap: 0.7rem; }
.audit-option {
  text-align: left;
  font: inherit; font-size: 0.98rem;
  padding: 0.95rem 1.15rem;
  min-height: 52px;
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-sm);
  background: var(--tb-white);
  color: var(--tb-slate-900);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.audit-option:hover {
  border-color: var(--tb-teal-500);
  background: var(--tb-teal-050);
  transform: translateX(2px);
}
.audit-option.is-chosen { border-color: var(--tb-teal-500); background: var(--tb-teal-050); }
.audit-back {
  margin-top: 1.25rem; background: none; border: 0; padding: 0.5rem 0;
  font: inherit; font-size: 0.9rem; color: var(--tb-slate-500); cursor: pointer;
  min-height: 44px;
}
.audit-back:hover { color: var(--tb-teal-600); }

.audit-result-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--tb-green-500); margin: 0 0 0.5rem;
}
.audit-result-title {
  font-size: var(--tb-step-2); color: var(--tb-navy-800); margin: 0 0 0.75rem;
}
.audit-result-body { color: var(--tb-slate-700); }
.audit-result-tier {
  display: inline-block;
  margin: 0.5rem 0 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--tb-navy-800);
  color: var(--tb-white);
  font-size: 0.82rem; font-weight: 600;
}
.audit-note { font-size: 0.87rem; color: var(--tb-slate-500); margin-top: 1.1rem; }

/* Core value callout on the home culture band */
.core-value {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--tb-green-400);
  background: rgb(255 255 255 / 6%);
  border-radius: 0 var(--tb-radius-sm) var(--tb-radius-sm) 0;
  font-size: 0.97rem;
}
.core-value strong { color: var(--tb-green-400); }

/* Runtime labels so nobody clicks an unlabelled video */
.video-meta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; color: var(--tb-slate-500); margin: 0.35rem 0 0;
}
.vm-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tb-green-500); flex: none;
}
.section-dark .video-meta, .capability-band .video-meta { color: rgb(255 255 255 / 68%); }
.ft-copy .video-meta { margin-top: 0.75rem; }

/* Hero photo anchors to the TOP so heads are never cropped.
   Any overflow is taken off the bottom (floor/legs) instead. */
@media (min-width: 64rem) {
  .hero-photo-layer img { object-position: 50% 0%; }
}
@media (max-width: 63.99rem) {
  .hero-photo-layer img { object-position: 50% 0%; }
}

/* Nudge the group clear of the white arc at narrower desktop widths, while
   still anchoring to the top so no heads are cropped. */
@media (min-width: 64rem) {
  .hero-photo-layer img { object-position: 25% 0%; }
}

/* ==========================================================================
   39. DARK HERO VARIANT — team emerging from a deep teal field
   ========================================================================== */
.hero.hero-v2 {
  background:
    radial-gradient(120% 100% at 72% 45%, #0d5c58 0%, #073c3c 42%, #04211f 100%);
  border-bottom: 0;
}

/* Photo: multiply sinks the grey studio backdrop into the teal field so the
   team reads as lit against darkness. The image file is untouched. */
@media (min-width: 64rem) {
  .hero-photo-layer { width: 58%; }
  .hero-photo-layer img {
    object-position: 25% 0%;
    mix-blend-mode: multiply;
    filter: brightness(1.22) contrast(1.06) saturate(1.02);
  }
  /* Feather the left edge into the gradient — no seam, no arc */
  .hero-photo-layer::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg,
      #04211f 0%, rgb(6 44 42 / 82%) 18%, rgb(8 60 58 / 28%) 40%, rgb(8 60 58 / 0%) 62%);
    pointer-events: none;
  }
  /* The white arc belongs to the light treatment */
  .hero-arc, .hero-arc-line { display: none; }
}
@media (max-width: 63.99rem) {
  .hero-photo-layer img { mix-blend-mode: multiply; filter: brightness(1.22) contrast(1.06); }
  .hero-photo-veil, .hero-arc, .hero-arc-line { display: none; }
  .hero-photo-layer::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgb(4 33 31 / 0%) 55%, #04211f 98%);
  }
}

/* Type on dark */
.hero-v2 h1 { color: #fff; }
.hero-v2 h1 .accent { color: #4fd1c5; }
.hero-v2 .lede { color: rgb(255 255 255 / 82%); font-weight: 400; }
.hero-v2 p { color: rgb(255 255 255 / 78%); }

/* Buttons */
.hero-v2 .btn-primary {
  background: #4fd1c5; border-color: #4fd1c5; color: #04211f;
  box-shadow: 0 6px 18px rgb(79 209 197 / 22%);
}
.hero-v2 .btn-primary:hover { background: #6fe0d6; border-color: #6fe0d6; color: #04211f; }
.hero-v2 .btn-secondary {
  background: transparent; border-color: rgb(255 255 255 / 55%); color: #fff;
}
.hero-v2 .btn-secondary:hover { background: #fff; color: #04211f; border-color: #fff; }

/* Stat card as dark glass */
.hero-v2 .hero-stats {
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 14%);
  backdrop-filter: blur(8px);
  box-shadow: none;
}
.hero-v2 .hero-stats div + div { border-left-color: rgb(255 255 255 / 16%); }
.hero-v2 .hero-stats .stat-icon { color: #4fd1c5; }
.hero-v2 .hero-stats .figure { color: #fff; }
.hero-v2 .hero-stats .label { color: rgb(255 255 255 / 68%); }

/* Badge as dark glass */
.hero-badge {
  background: rgb(255 255 255 / 9%);
  border: 1px solid rgb(255 255 255 / 16%);
  backdrop-filter: blur(8px);
  box-shadow: none;
}
.hero-badge > svg { color: #4fd1c5; }
.hero-badge > span { color: #fff; }

/* The photo layer had z-index:0, which created a stacking context and stopped
   mix-blend-mode from seeing the hero gradient behind it. */
@media (min-width: 64rem) {
  .hero-photo-layer { z-index: auto; isolation: auto; }
  .hero-photo-layer img {
    mix-blend-mode: screen;
    filter: brightness(0.92) contrast(1.12) saturate(1.05);
  }
  .hero-photo-layer::after {
    background: linear-gradient(90deg,
      #04211f 0%, rgb(5 38 36 / 78%) 16%, rgb(7 52 50 / 26%) 38%, rgb(7 52 50 / 0%) 58%);
  }
}
@media (max-width: 63.99rem) {
  .hero-photo-layer { z-index: auto; isolation: auto; }
}

/* Multiply sinks the grey field; brightness lift keeps faces readable.
   A soft light pool behind the group mimics the reference's studio glow. */
@media (min-width: 64rem) {
  .hero.hero-v2 {
    background:
      radial-gradient(80% 70% at 74% 52%, #17807a 0%, #0b524e 38%, #063734 66%, #04211f 100%);
  }
  .hero-photo-layer img {
    mix-blend-mode: multiply;
    filter: brightness(1.42) contrast(1.02) saturate(1.04);
  }
  .hero-photo-layer::after {
    background: linear-gradient(90deg,
      #04211f 0%, rgb(5 40 38 / 72%) 15%, rgb(7 55 52 / 22%) 36%, rgb(7 55 52 / 0%) 56%);
  }
}

/* ==========================================================================
   40. DARK HERO — team on a transparent matte over the teal field
   Natural skin tones retained; no blend modes tinting the subjects.
   ========================================================================== */
@media (min-width: 64rem) {
  .hero.hero-v2 {
    background:
      radial-gradient(75% 68% at 72% 58%, #12706b 0%, #0a4f4b 34%, #063734 62%, #04211f 100%);
  }
  .hero-photo-layer { width: 58%; z-index: auto; isolation: auto; }
  .hero-photo-layer img {
    mix-blend-mode: normal;
    filter: none;
    object-fit: contain;
    object-position: bottom center;
  }
  /* Ground the group with a soft shadow pool so it isn't floating */
  .hero-photo-layer::after {
    content: "";
    position: absolute; left: 8%; right: 6%; bottom: 0; top: auto;
    height: 16%;
    background: radial-gradient(60% 100% at 50% 100%, rgb(2 18 17 / 55%) 0%, rgb(2 18 17 / 0%) 70%);
    pointer-events: none;
  }
}
@media (max-width: 63.99rem) {
  .hero.hero-v2 {
    background: radial-gradient(90% 60% at 50% 30%, #0f6a65 0%, #084743 40%, #04211f 100%);
  }
  .hero-photo-layer img {
    mix-blend-mode: normal; filter: none;
    object-fit: contain; object-position: bottom center;
  }
  .hero-photo-layer::after { content: none; }
}
/* <picture> wrapper must not break the absolute photo layer */
.hero-photo-layer picture { display: contents; }

/* ==========================================================================
   41. DARK HERO RECOLOURED TO BRAND — navy / teal / sage only
   Replaces the mint + competitor-teal values from section 39/40.
   Layout, cutout, shadow pool and geometry unchanged.
   ========================================================================== */
@media (min-width: 64rem) {
  .hero.hero-v2 {
    background:
      radial-gradient(75% 68% at 72% 58%,
        var(--tb-teal-600) 0%,
        #124a63 30%,
        var(--tb-navy-900) 62%,
        var(--tb-navy-950) 100%);
  }
}
@media (max-width: 63.99rem) {
  .hero.hero-v2 {
    background:
      radial-gradient(90% 60% at 50% 30%,
        var(--tb-teal-600) 0%,
        var(--tb-navy-900) 45%,
        var(--tb-navy-950) 100%);
  }
}

/* Type */
.hero-v2 h1 { color: var(--tb-white); }
.hero-v2 h1 .accent { color: var(--tb-green-400); }
.hero-v2 .lede { color: rgb(255 255 255 / 84%); }

/* Buttons: teal primary (employer path), sage outline (professional path) */
.hero-v2 .btn-primary {
  background: var(--tb-teal-500); border-color: var(--tb-teal-500); color: var(--tb-white);
  box-shadow: 0 6px 18px rgb(4 32 63 / 40%);
}
.hero-v2 .btn-primary:hover { background: var(--tb-teal-400); border-color: var(--tb-teal-400); color: var(--tb-navy-950); }
.hero-v2 .btn-secondary {
  background: transparent; border-color: var(--tb-green-400); color: var(--tb-green-400);
}
.hero-v2 .btn-secondary:hover { background: var(--tb-green-400); color: var(--tb-navy-950); border-color: var(--tb-green-400); }

/* Stat card + badge glass, brand-tinted */
.hero-v2 .hero-stats {
  background: rgb(255 255 255 / 8%);
  border-color: rgb(255 255 255 / 15%);
}
.hero-v2 .hero-stats .stat-icon { color: var(--tb-green-400); }
.hero-v2 .hero-stats .figure { color: var(--tb-white); }
.hero-v2 .hero-stats .label { color: rgb(255 255 255 / 72%); }
.hero-badge {
  background: rgb(255 255 255 / 10%);
  border-color: rgb(255 255 255 / 18%);
}
.hero-badge > svg { color: var(--tb-green-400); }
.hero-badge > span { color: var(--tb-white); }

/* ==========================================================================
   42. HERO PHOTO BLENDING — group sits IN the field, not on top of it
   Bottom dissolves, edges catch a teal light wrap, glow behind the group.
   ========================================================================== */
@media (min-width: 64rem) {
  /* Glow behind the team, so they read as lit from the field */
  .hero-photo-layer::before {
    content: "";
    position: absolute;
    left: 6%; right: 4%; top: 12%; bottom: 6%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(closest-side,
      rgb(32 120 134 / 55%) 0%,
      rgb(26 100 112 / 28%) 45%,
      rgb(26 100 112 / 0%) 78%);
    filter: blur(28px);
    pointer-events: none;
  }

  .hero-photo-layer img {
    /* Bottom dissolves into the field instead of ending on a hard edge */
    -webkit-mask-image: linear-gradient(to bottom,
      #000 0%, #000 72%, rgb(0 0 0 / 72%) 86%, rgb(0 0 0 / 22%) 95%, transparent 100%);
            mask-image: linear-gradient(to bottom,
      #000 0%, #000 72%, rgb(0 0 0 / 72%) 86%, rgb(0 0 0 / 22%) 95%, transparent 100%);
    /* Teal light wrap around the silhouette ties them to the background */
    filter:
      drop-shadow(0 0 26px rgb(20 90 100 / 55%))
      drop-shadow(0 10px 34px rgb(2 20 24 / 55%))
      saturate(1.03);
  }

  /* Shadow pool no longer needed — the mask handles the base */
  .hero-photo-layer::after { content: none; }
}

@media (max-width: 63.99rem) {
  .hero-photo-layer img {
    -webkit-mask-image: linear-gradient(to bottom,
      #000 0%, #000 70%, rgb(0 0 0 / 60%) 86%, transparent 100%);
            mask-image: linear-gradient(to bottom,
      #000 0%, #000 70%, rgb(0 0 0 / 60%) 86%, transparent 100%);
    filter: drop-shadow(0 0 20px rgb(20 90 100 / 50%)) saturate(1.03);
  }
  .hero-photo-layer::before {
    content: "";
    position: absolute; inset: 8% 6% 4% 6%; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, rgb(32 120 134 / 45%) 0%, rgb(26 100 112 / 0%) 76%);
    filter: blur(24px);
  }
}

/* Waist-up crop: fill the panel width and sit on the baseline like the reference */
@media (min-width: 64rem) {
  .hero-photo-layer { width: 62%; }
  .hero-photo-layer img { object-fit: cover; object-position: 50% 12%; }
}
@media (max-width: 63.99rem) {
  .hero-photo-layer img { object-fit: cover; object-position: 50% 15%; }
}

/* Contain so the whole group is visible; sit them on the baseline */
@media (min-width: 64rem) {
  .hero-photo-layer { width: 60%; }
  .hero-photo-layer img { object-fit: contain; object-position: bottom center; }
}
@media (max-width: 63.99rem) {
  .hero-photo-layer img { object-fit: contain; object-position: bottom center; }
}

/* New Two Paths portraits — anchored right, faces clear of the gradient */
@media (min-width: 48rem) {
  .path-panel--employer .panel-bg { object-position: 97% 20%; }
  .path-panel--talent   .panel-bg { object-position: 97% 18%; }
}
@media (max-width: 47.99rem) {
  .path-panel--employer .panel-bg { object-position: 92% 18%; }
  .path-panel--talent   .panel-bg { object-position: 92% 16%; }
}

/* ==========================================================================
   43. LEGIBILITY ON DARK BANDS + TIGHTER VERTICAL RHYTHM
   ========================================================================== */

/* Links inside dark bands were inheriting the light-theme teal (2.1:1) */
.capability-band a,
.cta-band a,
.hero-v2 a:not(.btn) {
  color: var(--tb-green-400);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.capability-band a:hover,
.cta-band a:hover { color: var(--tb-white); }

/* Lift the core-value callout so it separates from the band */
.core-value {
  background: rgb(255 255 255 / 11%);
  border-left-color: var(--tb-green-400);
  color: rgb(255 255 255 / 92%);
}
.core-value strong { color: var(--tb-green-400); }

/* Slightly lighter band so the whole block reads more open */
.capability-band {
  background:
    radial-gradient(115% 85% at 100% 0%, rgb(32 120 134 / 55%) 0%, rgb(32 120 134 / 0%) 58%),
    linear-gradient(125deg, #0a3a6b 0%, #072a55 68%, #05203f 100%);
}
.capability-band .capability-item p { color: rgb(255 255 255 / 84%); }
.capability-video figcaption,
.capability-band .video-meta { color: rgb(255 255 255 / 80%); }

/* ---- Tighter rhythm ------------------------------------------------------ */
:root { --tb-space-section: clamp(2.75rem, 1.75rem + 3.4vw, 4.75rem); }

.section-head { margin-bottom: 2rem; }
.capability-row { margin-top: 2rem; gap: 1.25rem; }
.title-center { margin-bottom: 2.25rem; }
.feature-testimonial { margin-bottom: clamp(2rem, 3.5vw, 2.75rem); }
.pro-stories h3 { margin-bottom: 0.3rem; }
.pro-stories-lead { margin-bottom: 1.35rem; }
.audit-shell { padding: clamp(1.25rem, 3vw, 2rem); }
.gallery-card-copy { margin-bottom: 1.35rem; }
.story-culture { gap: clamp(1.75rem, 4vw, 3rem); }
.tier-card { padding: 1.75rem 1.5rem; }
.card { padding: 1.6rem 1.4rem 1.45rem; }
.grid { gap: 1.25rem; }
.site-footer { padding-block: 2.75rem 1.75rem; }
.footer-grid { gap: 2rem; }

/* Lighter sage tint reserved for accents sitting on dark bands */
:root { --tb-green-300: #8ed3ae; }

.capability-band a,
.cta-band a,
.core-value a,
.core-value strong,
.capability-band .eyebrow,
.hero-v2 a:not(.btn) { color: var(--tb-green-300); }
.capability-band a:hover, .cta-band a:hover, .core-value a:hover { color: var(--tb-white); }
.capability-item .cap-icon { border-color: var(--tb-green-300); color: var(--tb-green-300); }

/* Buttons must not inherit the on-dark link treatment */
.capability-band .btn,
.cta-band .btn,
.hero-v2 .btn { text-decoration: none; }
.capability-band .btn-onDark { color: var(--tb-navy-800); }
.capability-band .btn-onDark:hover { color: var(--tb-navy-900); }

/* Give the five culture pillars room so labels stop wrapping so hard */
.capability-row { grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 0.9rem; }
.capability-item { padding-inline: 0.25rem; }
.capability-item h3 { font-size: 0.72rem; letter-spacing: 0.1em; }
.capability-item p { font-size: 0.79rem; line-height: 1.45; }
.capability-item .cap-icon { width: 42px; height: 42px; margin-bottom: 0.7rem; }

/* Button row is back above the stat card */
@media (min-width: 64rem) {
  .hero-v2 .hero-stats { margin-top: 1.6rem; }
}

/* Hero copy had its own 80px padding-block on top of the grid padding,
   pushing the headline down and inflating the whole band. */
.hero-v2 .hero-copy { padding-block: 0; }
@media (min-width: 64rem) {
  .hero.hero-v2 .hero-grid { padding-block: clamp(1.5rem, 1rem + 1vw, 2rem); }
}

/* Mobile: clear separation between the stat card and the badge */
@media (max-width: 63.99rem) {
  .hero-spacer { margin-top: 2.25rem; }
  .hero-v2 .hero-stats { margin-bottom: 0.25rem; }
}

/* ==========================================================================
   44. EYEBROW BRIDGE MARK — readable as the TrustBridge bridge, not a swoosh
   ========================================================================== */
.eyebrow::before {
  width: 30px;
  height: 16px;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 16'%3E%3Cg fill='none' stroke='%231a6470' stroke-width='2.1' stroke-linecap='round'%3E%3Cpath d='M2 12.5 Q16 1.5 30 12.5'/%3E%3Cpath d='M1.5 12.5 H30.5'/%3E%3Cpath d='M9 12.5 V15.4'/%3E%3Cpath d='M23 12.5 V15.4'/%3E%3C/g%3E%3C/svg%3E");
}

/* Light variant for dark bands (sage reads clearly on navy) */
.capability-band .eyebrow::before,
.path-panel .eyebrow::before,
.cta-band .eyebrow::before,
.hero-v2 .eyebrow::before,
.gallery-card .eyebrow::before {
  filter: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 16'%3E%3Cg fill='none' stroke='%238ed3ae' stroke-width='2.1' stroke-linecap='round'%3E%3Cpath d='M2 12.5 Q16 1.5 30 12.5'/%3E%3Cpath d='M1.5 12.5 H30.5'/%3E%3Cpath d='M9 12.5 V15.4'/%3E%3Cpath d='M23 12.5 V15.4'/%3E%3C/g%3E%3C/svg%3E");
}

/* Eyebrow label itself: teal on light reads stronger than sage did */
.eyebrow { color: var(--tb-teal-600); gap: 0.55rem; }

/* Modest lift so the embroidered polo logos read a little better on the dark hero */
@media (min-width: 64rem) {
  .hero-photo-layer img {
    filter:
      drop-shadow(0 0 26px rgb(20 90 100 / 55%))
      drop-shadow(0 10px 34px rgb(2 20 24 / 55%))
      saturate(1.06) brightness(1.06) contrast(1.08);
  }
}
@media (max-width: 63.99rem) {
  .hero-photo-layer img {
    filter: drop-shadow(0 0 20px rgb(20 90 100 / 50%)) saturate(1.06) brightness(1.06) contrast(1.08);
  }
}

/* Header logo was small for a detailed serif mark — give it more presence */
.site-logo img { height: 54px; }
@media (max-width: 47.99rem) { .site-logo img { height: 46px; } }

/* ==========================================================================
   45. HERO PHOTO PLACEMENT — group fills the frame like the reference
   Larger, anchored to the top so heads sit high, bleeding off the bottom.
   ========================================================================== */
@media (min-width: 64rem) {
  .hero-photo-layer { width: 66%; }
  .hero-photo-layer img {
    object-fit: cover;
    object-position: 50% 0%;
  }
  /* Softer, shorter bottom fade — the group should reach the base of the band */
  .hero-photo-layer img {
    -webkit-mask-image: linear-gradient(to bottom,
      #000 0%, #000 86%, rgb(0 0 0 / 55%) 95%, rgb(0 0 0 / 0%) 100%);
            mask-image: linear-gradient(to bottom,
      #000 0%, #000 86%, rgb(0 0 0 / 55%) 95%, rgb(0 0 0 / 0%) 100%);
  }
}

/* Left edge dissolves before it reaches the copy; bottom handled by an overlay
   so we avoid unreliable mask compositing. */
@media (min-width: 64rem) {
  .hero-photo-layer img {
    -webkit-mask-image: linear-gradient(to right,
      transparent 0%, rgb(0 0 0 / 35%) 9%, rgb(0 0 0 / 85%) 17%, #000 26%);
            mask-image: linear-gradient(to right,
      transparent 0%, rgb(0 0 0 / 35%) 9%, rgb(0 0 0 / 85%) 17%, #000 26%);
  }
  .hero-photo-layer::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0; top: auto;
    height: 18%;
    background: linear-gradient(to bottom, rgb(6 40 70 / 0%) 0%, rgb(5 34 62 / 75%) 70%, rgb(4 30 56 / 95%) 100%);
    pointer-events: none;
  }
}

/* Horizontal crop taken from the faded left edge, so the right-hand figure
   is never clipped at narrower desktop widths. */
@media (min-width: 64rem) {
  .hero-photo-layer img { object-position: 68% 0%; }
}

/* ==========================================================================
   46. FULL-BODY HERO GROUP — head to feet, no dead space above
   Contain (so nothing is cut) + bottom anchor (so heads reach the top).
   ========================================================================== */
@media (min-width: 64rem) {
  .hero-photo-layer { width: 66%; }
  .hero-photo-layer img {
    object-fit: contain;
    object-position: 78% 100%;
    -webkit-mask-image: linear-gradient(to right,
      transparent 0%, rgb(0 0 0 / 40%) 8%, rgb(0 0 0 / 88%) 16%, #000 24%);
            mask-image: linear-gradient(to right,
      transparent 0%, rgb(0 0 0 / 40%) 8%, rgb(0 0 0 / 88%) 16%, #000 24%);
  }
  .hero-photo-layer::after { height: 12%; }
}
@media (max-width: 63.99rem) {
  .hero-photo-layer img { object-fit: contain; object-position: 50% 100%; }
}

/* ==========================================================================
   47. HERO PHOTO VIGNETTE — edges dissolve into the field, no cut-out line
   A single elliptical mask so left, right and bottom all fall away.
   ========================================================================== */
@media (min-width: 64rem) {
  .hero-photo-layer img {
    -webkit-mask-image: radial-gradient(ellipse 74% 88% at 56% 42%,
      #000 38%,
      rgb(0 0 0 / 82%) 58%,
      rgb(0 0 0 / 45%) 74%,
      rgb(0 0 0 / 14%) 88%,
      transparent 99%);
            mask-image: radial-gradient(ellipse 74% 88% at 56% 42%,
      #000 38%,
      rgb(0 0 0 / 82%) 58%,
      rgb(0 0 0 / 45%) 74%,
      rgb(0 0 0 / 14%) 88%,
      transparent 99%);
  }
  .hero-photo-layer::after { content: none; }
}
@media (max-width: 63.99rem) {
  .hero-photo-layer img {
    -webkit-mask-image: radial-gradient(ellipse 82% 86% at 50% 40%,
      #000 42%, rgb(0 0 0 / 70%) 64%, rgb(0 0 0 / 25%) 82%, transparent 98%);
            mask-image: radial-gradient(ellipse 82% 86% at 50% 40%,
      #000 42%, rgb(0 0 0 / 70%) 64%, rgb(0 0 0 / 25%) 82%, transparent 98%);
  }
}

/* Final vignette: solid through the centre group, edges dissolving away */
@media (min-width: 64rem) {
  .hero-photo-layer img {
    -webkit-mask-image: radial-gradient(ellipse 64% 82% at 55% 40%,
      #000 26%, rgb(0 0 0 / 88%) 46%, rgb(0 0 0 / 48%) 64%, rgb(0 0 0 / 14%) 82%, transparent 96%);
            mask-image: radial-gradient(ellipse 64% 82% at 55% 40%,
      #000 26%, rgb(0 0 0 / 88%) 46%, rgb(0 0 0 / 48%) 64%, rgb(0 0 0 / 14%) 82%, transparent 96%);
  }
}
@media (max-width: 63.99rem) {
  .hero-photo-layer img {
    -webkit-mask-image: radial-gradient(ellipse 76% 82% at 50% 38%,
      #000 28%, rgb(0 0 0 / 85%) 50%, rgb(0 0 0 / 42%) 68%, rgb(0 0 0 / 12%) 84%, transparent 97%);
            mask-image: radial-gradient(ellipse 76% 82% at 50% 38%,
      #000 28%, rgb(0 0 0 / 85%) 50%, rgb(0 0 0 / 42%) 68%, rgb(0 0 0 / 12%) 84%, transparent 97%);
  }
}

/* Mobile: the photo is small and stacked, so the vignette must only soften the
   outer edges — never reach the faces. */
@media (max-width: 63.99rem) {
  .hero-photo-layer img {
    -webkit-mask-image: radial-gradient(ellipse 96% 118% at 50% 46%,
      #000 55%, rgb(0 0 0 / 82%) 74%, rgb(0 0 0 / 35%) 90%, transparent 100%);
            mask-image: radial-gradient(ellipse 96% 118% at 50% 46%,
      #000 55%, rgb(0 0 0 / 82%) 74%, rgb(0 0 0 / 35%) 90%, transparent 100%);
  }
}

/* ==========================================================================
   48. EYEBROW MARK = the actual TrustBridge logo (unmodified file)
   ========================================================================== */
.eyebrow::before {
  content: "";
  width: 54px;
  height: 36px;
  flex: none;
  background: no-repeat left center / contain
    url("/assets/images/brand/trustbridge-logo-mark.png");
  filter: none;
}
.eyebrow { gap: 0.6rem; align-items: center; }

/* On dark bands the navy lockup needs a light chip to stay legible */
.capability-band .eyebrow::before,
.path-panel .eyebrow::before,
.cta-band .eyebrow::before,
.hero-v2 .eyebrow::before,
.gallery-card .eyebrow::before {
  background-color: rgb(255 255 255 / 92%);
  background-position: center;
  border-radius: 6px;
  padding: 0;
  width: 58px;
  height: 38px;
  background-size: 52px auto;
}

/* Full lockup needs real size to be legible; give it room and stack the
   label beneath so the eyebrow row doesn't stretch awkwardly. */
.eyebrow {
  display: grid;
  grid-template-columns: auto;
  justify-items: start;
  gap: 0.5rem;
}
.eyebrow::before {
  width: 104px;
  height: 69px;
  background-position: left center;
}
.capability-band .eyebrow::before,
.path-panel .eyebrow::before,
.cta-band .eyebrow::before,
.hero-v2 .eyebrow::before,
.gallery-card .eyebrow::before {
  width: 112px;
  height: 74px;
  background-size: 100px auto;
  background-position: center;
  background-color: rgb(255 255 255 / 94%);
  border-radius: 8px;
}

/* Explicitly set the image on dark contexts — an earlier rule still had the
   old sage bridge glyph as background-image and was winning. */
.capability-band .eyebrow::before,
.path-panel .eyebrow::before,
.cta-band .eyebrow::before,
.hero-v2 .eyebrow::before,
.gallery-card .eyebrow::before {
  background-image: url("/assets/images/brand/trustbridge-logo-mark.png");
}
