/* ==========================================================================
   Harbour Blanc — Marketing site shell
   Shared across every page: nav + mega menu, hero patterns, section frames,
   card systems, diagrams, footer.
   --------------------------------------------------------------------------
   Visual grammar pulled straight from the design system:
   - Dark graphite base (#131B24) + subtle vignette
   - Four authoritative card surfaces only (slate-15, slate-grad,
     beige-grad, beige-solid) — never invent a fifth
   - Notched card with circular arrow CTA as a recurring motif
   - Sculpted curved navigation pill
   - Urbanist Thin/ExtraLight for display; Geist for UI/body; Geist Mono
     for tabular data only
   ========================================================================== */

/* ---------- page shell ----------------------------------------------- */
html, body { min-height: 100%; }
body { padding: 0; }

.hb-site {
  min-height: 100vh;
  padding-bottom: 0;
  background: var(--bg-base);
  overflow-x: hidden;
}

.hb-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.hb-section {
  padding: 96px 0;
}

.hb-section--lg { padding: 120px 0; }
.hb-section--sm { padding: 64px 0; }
.hb-section--top { padding-top: 64px; padding-bottom: 96px; }

.hb-section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.hb-section-head--single {
  display: block;
  max-width: 760px;
  margin-bottom: 48px;
}

.hb-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hb-eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--accent-mist);
  opacity: 0.6;
}

.hb-eyebrow--plain::before { display: none; }

.hb-section-title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--fg-1);
  margin: 0;
  max-width: 720px;
  text-wrap: balance;
}

.hb-section-title em {
  font-style: normal;
  color: var(--fg-2);
  font-weight: 200;
}

.hb-section-lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 480px;
  margin: 0;
}

/* ---------- buttons -------------------------------------------------- */
.hb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.003em;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background var(--dur-micro) var(--ease-out),
              color var(--dur-micro) var(--ease-out),
              box-shadow var(--dur-micro) var(--ease-out);
  white-space: nowrap;
}

.hb-btn svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.hb-btn--primary {
  background: var(--accent-mist);
  color: var(--bg-base);
}
.hb-btn--primary:hover { background: color-mix(in oklab, var(--accent-mist) 92%, white); }

.hb-btn--secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg-1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.hb-btn--secondary:hover { background: rgba(255, 255, 255, 0.06); }

.hb-btn--ghost {
  background: transparent;
  color: var(--fg-1);
  padding-left: 0;
  padding-right: 4px;
}
.hb-btn--ghost:hover { color: var(--accent-mist); }

.hb-btn--linen {
  background: var(--accent-linen);
  color: #2A1F15;
}
.hb-btn--linen:hover { background: color-mix(in oklab, var(--accent-linen) 92%, white); }

/* ---------- navigation ---------------------------------------------- */
.hb-nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 80;
  margin: 16px 24px 0;
  height: 64px;
}

.hb-nav-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
  padding: 0 10px 0 22px;
  background: rgba(20, 28, 38, 0.55);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 8px 24px -12px rgba(0, 0, 0, 0.5);
}

.hb-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-1);
  text-decoration: none;
  padding-right: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  height: 38px;
}

.hb-nav-brand-mark { display: inline-flex; }

.hb-nav-brand-txt { display: flex; flex-direction: column; line-height: 1; }
.hb-nav-name { font-size: 14px; font-weight: 500; letter-spacing: 0.03em; color: var(--fg-1); }
.hb-nav-name b { font-weight: 500; }
.hb-nav-name span { font-weight: 200; }
.hb-nav-tag { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); letter-spacing: 0.06em; margin-top: 4px; }

.hb-nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.hb-nav-links > a,
.hb-nav-links > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--fg-2);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.002em;
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color var(--dur-micro) var(--ease-out), background var(--dur-micro) var(--ease-out);
}

.hb-nav-links > a:hover,
.hb-nav-links > button:hover,
.hb-nav-links > a.is-active,
.hb-nav-links > button[aria-expanded="true"] { color: var(--fg-1); background: rgba(255, 255, 255, 0.04); }

.hb-nav-links svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }

.hb-nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.hb-nav-icon {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--fg-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hb-nav-icon:hover { background: rgba(255, 255, 255, 0.06); }
.hb-nav-icon svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.hb-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-mist);
  color: var(--bg-base);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.hb-nav-cta:hover { background: color-mix(in oklab, var(--accent-mist) 92%, white); }
.hb-nav-cta svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- mega menu ----------------------------------------------- */
.hb-mega {
  position: absolute;
  left: 24px;
  right: 24px;
  top: calc(100% + 10px);
  background: rgba(20, 28, 38, 0.82);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 32px 80px -24px rgba(0, 0, 0, 0.7);
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              visibility 0s linear var(--dur-base);
  z-index: 70;
}

.hb-mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              visibility 0s;
}

.hb-mega-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 24px;
}

.hb-mega-head h4 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 6px 0 0;
}

.hb-mega-head p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-2);
  margin: 0;
  max-width: 540px;
  justify-self: end;
  text-align: right;
}

.hb-mega-grid--domains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hb-mega-grid--team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hb-mega-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  text-transform: uppercase;
}

.hb-mega-foot a { color: var(--fg-2); text-decoration: none; }
.hb-mega-foot a:hover { color: var(--fg-1); }

/* Mega menu cards */
.hb-mega-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: var(--fg-1);
  transition: background var(--dur-micro) var(--ease-out),
              border-color var(--dur-micro) var(--ease-out);
  min-height: 160px;
}

.hb-mega-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
}

.hb-mega-card .hb-mega-card-num { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.08em; margin-bottom: 18px; }
.hb-mega-card h5 { font-family: var(--font-display); font-weight: 300; font-size: 20px; line-height: 1.15; letter-spacing: -0.015em; color: var(--fg-1); margin: 0 0 8px; }
.hb-mega-card p { font-size: 13px; line-height: 1.5; color: var(--fg-2); margin: 0; flex: 1; }
.hb-mega-card-tag { font-family: var(--font-mono); font-size: 10px; color: var(--accent-mist); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; }
.hb-mega-card-tag svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.hb-mega-card--primary {
  background-image:
    radial-gradient(120% 100% at 15% 10%, rgba(127, 183, 200, 0.20) 0%, rgba(127, 183, 200, 0.06) 40%, rgba(20, 28, 38, 0.5) 100%);
  border-color: rgba(127, 183, 200, 0.22);
}

/* Team mega card */
.hb-mega-team {
  padding: 18px;
  min-height: 200px;
}
.hb-mega-team-av {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, #C9A682, #6E5B43);
  display: inline-flex; align-items: center; justify-content: center;
  color: #211814;
  font-weight: 500;
  font-size: 14px;
  font-family: var(--font-sans);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
  margin-bottom: 18px;
}
.hb-mega-team-av.is-mist { background: linear-gradient(135deg, #B6D6E1, #4D6E78); color: #0E1620; }
.hb-mega-team h5 { font-family: var(--font-display); font-weight: 300; font-size: 17px; line-height: 1.2; margin: 0 0 4px; color: var(--fg-1); }
.hb-mega-team-role { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--fg-3); text-transform: uppercase; margin-bottom: 14px; line-height: 1.4; }
.hb-mega-team-desc { font-size: 12.5px; color: var(--fg-2); line-height: 1.5; margin: 0; flex: 1; }

/* Stop the mega from collapsing while moving cursor between trigger and panel */
.hb-mega-bridge {
  position: absolute;
  left: 0; right: 0;
  top: -14px; height: 14px;
}

/* ---------- footer -------------------------------------------------- */
.hb-footer {
  background: var(--bg-base-2);
  margin-top: 96px;
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hb-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.hb-footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hb-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hb-footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-1);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.hb-footer-mark span { font-weight: 200; }

.hb-footer-summary {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 360px;
  margin: 0;
}

.hb-footer-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-top: 4px;
}

.hb-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.hb-footer-col h6 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 18px;
}

.hb-footer-col a {
  display: block;
  color: var(--fg-2);
  text-decoration: none;
  font-size: 13.5px;
  padding: 6px 0;
  transition: color var(--dur-micro) var(--ease-out);
}
.hb-footer-col a:hover { color: var(--fg-1); }

.hb-footer-col p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.55;
}

.hb-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
}

.hb-footer-bottom span { display: inline-flex; align-items: center; gap: 16px; }

/* ---------- hero patterns ------------------------------------------- */
.hb-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 72px 0 64px;
}

.hb-hero-text { padding-top: 32px; }

.hb-hero-h {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 92px;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--fg-1);
  margin: 0 0 32px;
  max-width: 720px;
  text-wrap: balance;
}
.hb-hero-h--lg { font-size: 108px; }
.hb-hero-h em { font-style: normal; color: var(--fg-2); font-weight: 200; }

.hb-hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 480px;
  margin: 0 0 36px;
}

.hb-hero-actions { display: flex; gap: 12px; align-items: center; }

.hb-hero-foot {
  margin-top: 56px;
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.hb-hero-foot strong { color: var(--fg-2); font-weight: 500; }

.hb-hero-card {
  position: relative;
  height: 600px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05),
              0 32px 80px -24px rgba(0, 0, 0, 0.7);
}
.hb-hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.95); }
.hb-hero-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 27, 36, 0.10) 0%, rgba(19, 27, 36, 0.45) 100%); }

.hb-hero-card-overlay {
  position: absolute;
  top: 24px; left: 24px;
  width: 360px;
  padding: 24px 24px 22px;
  background: rgba(19, 27, 36, 0.55);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.hb-hero-card-overlay .hb-eyebrow { margin-bottom: 16px; }
.hb-hero-card-overlay .hb-eyebrow::before { background: rgba(255, 255, 255, 0.45); }

.hb-hero-card-h {
  font-family: var(--font-display);
  font-weight: 250;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.022em;
  color: var(--fg-1);
  margin: 0 0 22px;
}

.hb-hero-card-rows { display: grid; gap: 8px; margin-bottom: 18px; }
.hb-hero-card-rows > div {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  font-size: 12.5px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: var(--fg-2);
}
.hb-hero-card-rows > div b { font-weight: 500; color: var(--fg-1); margin-right: 12px; font-size: 12px; }
.hb-hero-card-rows > div b::before { content: "—  "; color: var(--accent-mist); opacity: 0.7; }

.hb-hero-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hb-hero-card-foot-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; }

.hb-btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-1);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.hb-btn-ghost-light svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- positioning chips strip --------------------------------- */
.hb-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 24px 0 0;
}

.hb-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.hb-chip span { color: var(--accent-mist); }
.hb-chip-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent-mist); box-shadow: 0 0 0 3px rgba(127, 183, 200, 0.18); }

/* ---------- wedge — what we do (active-item + side explanation) ----- */
.hb-wedge {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: stretch;
}

.hb-wedge-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hb-wedge-item {
  display: grid;
  grid-template-columns: 40px 1fr 16px;
  gap: 14px;
  align-items: center;
  padding: 22px 22px 22px 18px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  color: var(--fg-2);
  font-family: var(--font-sans);
  width: 100%;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
}
.hb-wedge-item:hover { background: rgba(255, 255, 255, 0.02); }

.hb-wedge-item.is-active {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(127, 183, 200, 0.22);
  color: var(--fg-1);
}

.hb-wedge-item-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
}

.hb-wedge-item.is-active .hb-wedge-item-num { color: var(--accent-mist); }

.hb-wedge-item-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: inherit;
}

.hb-wedge-item-arrow {
  width: 16px; height: 16px; opacity: 0.45;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.hb-wedge-item.is-active .hb-wedge-item-arrow { opacity: 1; transform: translateX(4px); color: var(--accent-mist); }

.hb-wedge-detail {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 40px 40px 36px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  position: relative;
  overflow: hidden;
}

.hb-wedge-detail::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 240px;
  background: radial-gradient(140% 100% at 10% 0%, rgba(127, 183, 200, 0.10) 0%, transparent 60%);
  pointer-events: none;
}

.hb-wedge-detail > * { position: relative; }

.hb-wedge-detail-head { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--accent-mist); text-transform: uppercase; margin-bottom: 18px; }

.hb-wedge-detail h3 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--fg-1);
  margin: 0 0 18px;
  max-width: 560px;
}

.hb-wedge-detail-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 560px;
  margin: 0 0 32px;
}

.hb-wedge-detail-rows {
  display: grid;
  gap: 12px;
}

.hb-wedge-detail-rows > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hb-wedge-detail-rows > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }

.hb-wedge-detail-rows dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  text-transform: uppercase;
  padding-top: 4px;
}

.hb-wedge-detail-rows dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-2);
}

/* ---------- pain pattern cards (Where operators get stuck) ---------- */
.hb-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hb-pain {
  position: relative;
  padding: 28px 28px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hb-pain-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
}

.hb-pain h4 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fg-1);
  margin: 0;
}

.hb-pain p {
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.hb-pain-foot {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--fg-4);
  text-transform: uppercase;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ---------- domains — large horizontal panels ------------------------ */
.hb-domains {
  display: grid;
  gap: 12px;
}

.hb-domain {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset,
              0 16px 40px -20px rgba(0, 0, 0, 0.6);
  min-height: 320px;
}

.hb-domain--primary {
  background-image:
    radial-gradient(120% 100% at 15% 10%, rgba(201, 166, 130, 0.18) 0%, rgba(201, 166, 130, 0.06) 35%, rgba(20, 28, 38, 0.4) 80%);
  border-color: rgba(201, 166, 130, 0.18);
}

.hb-domain-body {
  padding: 40px 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.hb-domain-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  text-transform: uppercase;
}

.hb-domain-num span { color: var(--accent-linen); }
.hb-domain:not(.hb-domain--primary) .hb-domain-num span { color: var(--accent-mist); }

.hb-domain h3 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--fg-1);
  margin: 8px 0 0;
  max-width: 380px;
  text-wrap: balance;
}

.hb-domain-lede {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
  max-width: 420px;
}

.hb-domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.hb-domain-tags span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  text-transform: uppercase;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hb-domain-cta {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-1);
  text-decoration: none;
}
.hb-domain-cta svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hb-domain-cta:hover { color: var(--accent-mist); }

.hb-domain-visual {
  position: relative;
  background: #1A2533;
  overflow: hidden;
}
.hb-domain-visual img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.92);
}
.hb-domain-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(270deg, transparent 0%, rgba(19, 27, 36, 0.35) 80%, rgba(19, 27, 36, 0.7) 100%);
  pointer-events: none;
}

/* ---------- OCL relationship diagram --------------------------------- */
.hb-diagram {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.hb-diagram::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(127, 183, 200, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hb-diagram-svg {
  display: block;
  margin: 0 auto;
  max-width: 920px;
}

/* ---------- engagements — case snapshots ----------------------------- */
.hb-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hb-case {
  position: relative;
  padding: 28px 28px 0;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  overflow: hidden;
}

.hb-case-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent-mist);
  text-transform: uppercase;
  white-space: nowrap;
}
.hb-case-tag span { color: var(--fg-3); }

.hb-case h4 {
  font-family: var(--font-display);
  font-weight: 250;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--fg-1);
  margin: 20px 0 16px;
  max-width: 280px;
}

.hb-case-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  text-transform: uppercase;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hb-case-meta span b { color: var(--fg-1); font-weight: 500; }

.hb-case-rows { margin: 0 -28px; padding: 0; }
.hb-case-row {
  padding: 14px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: start;
}
.hb-case-row dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  text-transform: uppercase;
  padding-top: 3px;
}
.hb-case-row dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.5;
}

.hb-case-foot {
  margin-top: auto;
  padding: 20px 28px;
  margin-left: -28px;
  margin-right: -28px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.hb-case-foot a { color: var(--fg-1); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.hb-case-foot a:hover { color: var(--accent-mist); }
.hb-case-foot a svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- team strip ----------------------------------------------- */
.hb-team-intro {
  font-family: var(--font-display);
  font-weight: 250;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--fg-1);
  margin: 0 0 40px;
  max-width: 760px;
  text-wrap: balance;
}

.hb-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hb-team-card {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: var(--fg-1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  transition: background var(--dur-micro) var(--ease-out);
}
.hb-team-card:hover { background: rgba(255, 255, 255, 0.04); }

.hb-team-av {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, #C9A682, #6E5B43);
  display: inline-flex; align-items: center; justify-content: center;
  color: #211814;
  font-weight: 500;
  font-size: 16px;
  font-family: var(--font-sans);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.hb-team-av.is-mist { background: linear-gradient(135deg, #B6D6E1, #4D6E78); color: #0E1620; }

.hb-team-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 4px 0 0;
}

.hb-team-role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: -2px;
  line-height: 1.4;
}

.hb-team-desc {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 4px 0 0;
  flex: 1;
}

.hb-team-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-top: 8px;
}
.hb-team-link svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur-micro) var(--ease-out); }
.hb-team-card:hover .hb-team-link { color: var(--accent-mist); }
.hb-team-card:hover .hb-team-link svg { transform: translateX(3px); }

/* ---------- final CTA / open conversation ---------------------------- */
.hb-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: stretch;
  padding: 64px 56px;
  border-radius: var(--r-xl);
  background-image:
    radial-gradient(120% 100% at 15% 0%, rgba(127, 183, 200, 0.15) 0%, rgba(127, 183, 200, 0.05) 35%, rgba(20, 28, 38, 0.5) 100%);
  border: 1px solid rgba(127, 183, 200, 0.18);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset,
              0 32px 80px -28px rgba(0, 0, 0, 0.65);
}

.hb-cta h2 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 56px;
  line-height: 1.0;
  letter-spacing: -0.028em;
  color: var(--fg-1);
  margin: 18px 0 24px;
  max-width: 540px;
  text-wrap: balance;
}

.hb-cta-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 32px;
  max-width: 460px;
}

.hb-cta-actions { display: flex; gap: 12px; }

.hb-cta-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 8px 0;
}

.hb-cta-line {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hb-cta-line:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

.hb-cta-line dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--fg-3); text-transform: uppercase; padding-top: 2px; }
.hb-cta-line dd { margin: 0; font-size: 13.5px; color: var(--fg-1); line-height: 1.4; font-weight: 500; }
.hb-cta-line dd span { display: block; font-weight: 400; color: var(--fg-2); margin-top: 4px; }

/* ---------- inner-page header (sub-hero) ----------------------------- */
.hb-page-header {
  padding-top: 72px;
  padding-bottom: 80px;
  position: relative;
}

.hb-page-crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hb-page-crumbs a { color: var(--fg-3); text-decoration: none; }
.hb-page-crumbs a:hover { color: var(--fg-1); }
.hb-page-crumbs span { color: var(--fg-4); }
.hb-page-crumbs strong { color: var(--fg-2); font-weight: 500; }

.hb-page-header-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}

.hb-page-h1 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 88px;
  line-height: 0.98;
  letter-spacing: -0.028em;
  color: var(--fg-1);
  margin: 0;
  max-width: 740px;
  text-wrap: balance;
}
.hb-page-h1 em { font-style: normal; color: var(--fg-2); font-weight: 200; }

.hb-page-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  max-width: 440px;
}

.hb-page-meta {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.hb-page-meta-cell h6 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 10px;
}

.hb-page-meta-cell p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-1);
  margin: 0;
}
.hb-page-meta-cell p em { font-style: normal; color: var(--fg-2); font-weight: 200; }

/* ---------- generic body section: two-column "structural" reveal ----- */
.hb-two-col {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 64px;
  align-items: start;
}

.hb-two-col-aside {
  position: sticky;
  top: 110px;
}

.hb-two-col-aside .hb-eyebrow { margin-bottom: 20px; }

.hb-two-col-aside h2 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--fg-1);
  margin: 0 0 20px;
  max-width: 360px;
  text-wrap: balance;
}

.hb-two-col-aside p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 16px;
  max-width: 360px;
}

/* ---------- numbered explain block ----------------------------------- */
.hb-explain {
  display: grid;
  gap: 14px;
}

.hb-explain-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hb-explain-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }

.hb-explain-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  text-transform: uppercase;
  padding-top: 6px;
}

.hb-explain-body h4 {
  font-family: var(--font-display);
  font-weight: 280;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--fg-1);
  margin: 0 0 10px;
  max-width: 560px;
}

.hb-explain-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
  max-width: 620px;
}

.hb-explain-body ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.hb-explain-body ul li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-2);
  padding-left: 18px;
  position: relative;
}
.hb-explain-body ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-mist);
  opacity: 0.7;
}

/* ---------- numbered cards (tension grid) ---------------------------- */
.hb-tension-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hb-tension {
  padding: 28px 28px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  min-height: 180px;
}

.hb-tension-num {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 56px;
  line-height: 1;
  color: var(--accent-mist);
  letter-spacing: -0.025em;
  opacity: 0.85;
}
.hb-tension-num--linen { color: var(--accent-linen); }

.hb-tension h4 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--fg-1);
  margin: 0 0 10px;
}

.hb-tension p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}

/* ---------- outcomes (closing band) ---------------------------------- */
.hb-outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hb-outcome {
  position: relative;
  padding: 32px 28px 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hb-outcome-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  text-transform: uppercase;
}

.hb-outcome h4 {
  font-family: var(--font-display);
  font-weight: 280;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--fg-1);
  margin: 0;
}

.hb-outcome p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}

.hb-outcome--linen {
  background-image:
    radial-gradient(120% 100% at 20% 0%, rgba(201, 166, 130, 0.18) 0%, rgba(201, 166, 130, 0.05) 40%, rgba(20, 28, 38, 0.4) 100%);
  border-color: rgba(201, 166, 130, 0.18);
}
.hb-outcome--linen h4 { color: #FFF7EE; }
.hb-outcome--linen p { color: rgba(255, 247, 238, 0.78); }
.hb-outcome--linen .hb-outcome-eyebrow { color: rgba(255, 247, 238, 0.55); }

/* ---------- pilot frame box ----------------------------------------- */
.hb-pilot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.hb-pilot-side {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hb-pilot-side h3 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--fg-1);
  margin: 0;
  max-width: 360px;
}

.hb-pilot-side p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
  max-width: 420px;
}

.hb-pilot-grid {
  background: rgba(0, 0, 0, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  align-content: start;
}

.hb-pilot-cell {
  padding: 22px;
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hb-pilot-cell h6 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-mist);
  margin: 0;
}

.hb-pilot-cell p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--fg-1);
}

.hb-pilot-cell span {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
}

/* ---------- shared utility: divider line --------------------------- */
.hb-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0;
  border: 0;
}

/* ---------- header subnav (sticky inner-page TOC) ------------------ */
.hb-subnav {
  position: sticky;
  top: 92px;
  z-index: 60;
  margin: 0 24px;
  padding: 10px;
  background: rgba(20, 28, 38, 0.7);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.5);
}

.hb-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--fg-2);
  text-decoration: none;
  font-size: 12.5px;
  white-space: nowrap;
  transition: background var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out);
}
.hb-subnav a:hover, .hb-subnav a.is-active { color: var(--fg-1); background: rgba(255, 255, 255, 0.04); }
.hb-subnav a i { font-style: normal; font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); }
