/* MCKNX-BUSINESS-HOMEPAGE-GROUND-UP-REBUILD-001
   Visual ratio: ~70% neutral human · ~20% brand · ~10% tech accent
   PASS_CLAIMED = false
*/

:root {
  --bh-ink: #12141a;
  --bh-ink-soft: #2a2e38;
  --bh-muted: #5c6472;
  --bh-paper: #f4f2ed;
  --bh-paper-2: #e9e6df;
  --bh-white: #faf9f6;
  --bh-line: rgba(18, 20, 26, 0.12);
  --bh-gold: #b8954a;
  --bh-gold-deep: #8a6e32;
  --bh-cyan: #1aa6c4;
  --bh-cyan-soft: rgba(26, 166, 196, 0.14);
  --bh-purple: #5b4a7a;
  --bh-dark: #0e1014;
  --bh-dark-2: #171a21;
  --bh-max: 1180px;
  --bh-display: "Fraunces", "Times New Roman", serif;
  --bh-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --bh-radius: 2px;
  --bh-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.bh-body {
  margin: 0;
  color: var(--bh-ink);
  background: var(--bh-paper);
  font-family: var(--bh-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; }

.bh-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--bh-ink);
  color: var(--bh-white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.bh-skip:focus { left: 0.75rem; top: 0.75rem; }

.bh-wrap {
  width: min(100% - 2rem, var(--bh-max));
  margin-inline: auto;
}

/* ——— Header ——— */
.bh-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 242, 237, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bh-line);
}
.bh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.bh-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.bh-brand img { width: 36px; height: 36px; }
.bh-brand span {
  font-size: 0.92rem;
  line-height: 1.15;
  color: var(--bh-ink);
}
.bh-brand em { font-style: normal; color: var(--bh-gold-deep); }

.bh-nav-toggle {
  display: none;
  border: 1px solid var(--bh-line);
  background: var(--bh-white);
  padding: 0.55rem 0.8rem;
  border-radius: var(--bh-radius);
  cursor: pointer;
}
.bh-nav-toggle:focus-visible { outline: 2px solid var(--bh-cyan); outline-offset: 2px; }

.bh-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.05rem;
  flex-wrap: wrap;
}
.bh-nav > a,
.bh-drop > summary {
  text-decoration: none;
  color: var(--bh-ink-soft);
  font-size: 0.95rem;
  font-weight: 560;
  list-style: none;
  cursor: pointer;
}
.bh-nav > a:hover,
.bh-drop > summary:hover { color: var(--bh-ink); }
.bh-nav > a:focus-visible,
.bh-drop > summary:focus-visible,
.bh-btn:focus-visible {
  outline: 2px solid var(--bh-cyan);
  outline-offset: 3px;
}
.bh-drop { position: relative; }
.bh-drop > summary { list-style: none; }
.bh-drop > summary::-webkit-details-marker { display: none; }
.bh-drop-panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 13.5rem;
  background: var(--bh-white);
  border: 1px solid var(--bh-line);
  box-shadow: 0 12px 36px rgba(14, 16, 20, 0.12);
  padding: 0.5rem;
  display: grid;
  gap: 0.15rem;
  z-index: 50;
}
.bh-drop-panel a {
  text-decoration: none;
  padding: 0.55rem 0.65rem;
  color: var(--bh-ink-soft);
  font-size: 0.92rem;
}
.bh-drop-panel a:hover { background: var(--bh-paper-2); color: var(--bh-ink); }

.bh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--bh-radius);
  padding: 0.85rem 1.25rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: transform 160ms var(--bh-ease), background 160ms var(--bh-ease), color 160ms var(--bh-ease), border-color 160ms var(--bh-ease);
}
.bh-btn:hover { transform: translateY(-1px); }
.bh-btn-primary {
  background: var(--bh-ink);
  color: var(--bh-white);
}
.bh-btn-primary:hover { background: #1c212c; }
.bh-btn-secondary {
  background: transparent;
  color: var(--bh-white);
  border-color: rgba(250, 249, 246, 0.55);
}
.bh-btn-secondary:hover {
  background: rgba(250, 249, 246, 0.1);
  border-color: var(--bh-white);
}
.bh-btn-ghost {
  background: transparent;
  color: var(--bh-ink);
  border-color: var(--bh-line);
}
.bh-btn-ghost:hover { border-color: var(--bh-ink-soft); }
.bh-btn-nav {
  padding: 0.65rem 0.95rem;
  font-size: 0.9rem;
  background: var(--bh-ink);
  color: var(--bh-white);
}
.bh-text-link {
  color: var(--bh-cyan);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.bh-text-link:hover { color: var(--bh-ink); }

/* ——— Hero ——— */
.bh-hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  color: var(--bh-white);
  overflow: hidden;
  background: var(--bh-dark);
}
.bh-hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
}
.bh-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 35%;
}
.bh-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 16, 20, 0.88) 0%, rgba(14, 16, 20, 0.55) 48%, rgba(14, 16, 20, 0.28) 100%),
    linear-gradient(180deg, rgba(14, 16, 20, 0.18) 0%, rgba(14, 16, 20, 0.72) 100%);
}
.bh-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  max-width: 40rem;
}
.bh-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bh-gold);
}
.bh-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--bh-display);
  font-weight: 560;
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.bh-hero-lead {
  margin: 0 0 1.6rem;
  max-width: 36rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(250, 249, 246, 0.9);
}
.bh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.bh-hero-tertiary {
  margin: 0;
  font-size: 0.95rem;
}
.bh-hero-tertiary a { color: rgba(250, 249, 246, 0.92); }

.bh-trust-strip {
  background: var(--bh-dark-2);
  color: rgba(250, 249, 246, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.bh-trust-strip ul {
  list-style: none;
  margin: 0;
  padding: 0.95rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.5rem;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bh-trust-strip li { position: relative; }
.bh-trust-strip li::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--bh-cyan);
  vertical-align: middle;
}

/* ——— Sections ——— */
.bh-section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.bh-section-label {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bh-gold-deep);
}
.bh-section h2 {
  margin: 0 0 1rem;
  font-family: var(--bh-display);
  font-weight: 560;
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.bh-lead {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  color: var(--bh-muted);
  font-size: 1.08rem;
}
.bh-close {
  margin: 1.5rem 0 0;
  font-weight: 650;
  color: var(--bh-ink);
}

.bh-problem { background: var(--bh-white); }
.bh-problem-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.bh-problem-photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bh-paper-2);
}
.bh-problem-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.bh-pain {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.bh-pain li {
  padding: 1rem 0 1rem 1rem;
  border-left: 3px solid var(--bh-cyan);
  background: linear-gradient(90deg, var(--bh-cyan-soft), transparent 70%);
}
.bh-pain strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.02rem;
}
.bh-pain span { color: var(--bh-muted); font-size: 0.98rem; }

.bh-promise {
  background:
    radial-gradient(ellipse at 10% 20%, var(--bh-cyan-soft), transparent 45%),
    var(--bh-paper);
}
.bh-promise .bh-wrap { max-width: 46rem; }
.bh-promise h2 { max-width: 22ch; }

/* Industries */
.bh-industries { background: var(--bh-paper-2); }
.bh-industry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.bh-industry {
  display: grid;
  grid-template-rows: 180px auto;
  background: var(--bh-white);
  border: 1px solid var(--bh-line);
  text-decoration: none;
  color: inherit;
  transition: transform 180ms var(--bh-ease), box-shadow 180ms var(--bh-ease);
}
.bh-industry:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(14, 16, 20, 0.08);
}
.bh-industry figure {
  margin: 0;
  overflow: hidden;
  background: var(--bh-dark);
}
.bh-industry img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bh-industry-body { padding: 1.1rem 1.15rem 1.25rem; }
.bh-industry h3 {
  margin: 0 0 0.55rem;
  font-family: var(--bh-display);
  font-size: 1.35rem;
  font-weight: 560;
}
.bh-industry p { margin: 0 0 0.55rem; color: var(--bh-muted); font-size: 0.96rem; }
.bh-industry .bh-outcome { color: var(--bh-ink-soft); font-weight: 560; }
.bh-industry .bh-cta-line {
  margin-top: 0.85rem;
  color: var(--bh-cyan);
  font-weight: 700;
  font-size: 0.92rem;
}

/* Solutions editorial */
.bh-solutions { background: var(--bh-white); }
.bh-editorial { display: grid; gap: clamp(2.5rem, 6vw, 4rem); margin-top: 2rem; }
.bh-ed-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.25rem, 4vw, 2.75rem);
  align-items: center;
}
.bh-ed-row:nth-child(even) .bh-ed-media { order: 2; }
.bh-ed-row:nth-child(even) .bh-ed-copy { order: 1; }
.bh-ed-media {
  margin: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bh-dark);
}
.bh-ed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bh-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bh-gold-deep);
}
.bh-ed-copy h3 {
  margin: 0 0 0.75rem;
  font-family: var(--bh-display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 560;
  line-height: 1.2;
  max-width: 18ch;
}
.bh-ed-copy p { margin: 0 0 1rem; color: var(--bh-muted); }
.bh-outcomes {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.bh-outcomes li {
  padding-left: 1rem;
  position: relative;
  color: var(--bh-ink-soft);
  font-size: 0.98rem;
}
.bh-outcomes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--bh-cyan);
}

/* How it works */
.bh-how { background: var(--bh-dark); color: var(--bh-white); }
.bh-how .bh-section-label { color: var(--bh-gold); }
.bh-how h2 { max-width: 20ch; color: var(--bh-white); }
.bh-how .bh-lead { color: rgba(250, 249, 246, 0.72); }
.bh-steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
}
.bh-steps li {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.1rem;
}
.bh-steps strong {
  display: block;
  margin: 0.35rem 0 0.45rem;
  font-family: var(--bh-display);
  font-size: 1.2rem;
  font-weight: 560;
}
.bh-steps p { margin: 0; color: rgba(250, 249, 246, 0.7); font-size: 0.95rem; }
.bh-steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  color: var(--bh-cyan);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}
.bh-how-actions { margin-top: 2rem; }

/* Trust */
.bh-trust { background: var(--bh-paper); }
.bh-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.bh-trust-photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.bh-trust-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bh-pillars {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.bh-pillars li {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--bh-line);
}
.bh-pillars strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bh-gold-deep);
}
.bh-pillars p { margin: 0; color: var(--bh-muted); }

/* BGR + Final CTA */
.bh-bgr {
  background:
    linear-gradient(135deg, rgba(26, 166, 196, 0.12), transparent 40%),
    var(--bh-white);
}
.bh-bgr-card {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: end;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--bh-line);
  background: var(--bh-paper);
}
.bh-expect {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--bh-muted);
  font-size: 0.98rem;
}
.bh-expect li::before {
  content: "— ";
  color: var(--bh-cyan);
}
.bh-bgr-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}
.bh-final {
  background: var(--bh-dark);
  color: var(--bh-white);
  text-align: center;
}
.bh-final h2 {
  margin-inline: auto;
  max-width: 18ch;
  color: var(--bh-white);
}
.bh-final .bh-lead {
  margin-inline: auto;
  color: rgba(250, 249, 246, 0.72);
}
.bh-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.bh-final .bh-btn-secondary { border-color: rgba(250, 249, 246, 0.45); }

/* Footer */
.bh-footer {
  background: var(--bh-dark-2);
  color: rgba(250, 249, 246, 0.72);
  padding: 2rem 0 2.5rem;
  font-size: 0.92rem;
}
.bh-footer a { color: rgba(250, 249, 246, 0.9); text-decoration: none; }
.bh-footer a:hover { text-decoration: underline; }
.bh-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}
.bh-footer-links { display: flex; flex-wrap: wrap; gap: 0.85rem 1.25rem; }
.bh-hold {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.45;
}

/* Reveal */
.bh-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--bh-ease), transform 700ms var(--bh-ease);
}
.bh-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .bh-reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .bh-problem-grid,
  .bh-ed-row,
  .bh-trust-grid,
  .bh-bgr-card { grid-template-columns: 1fr; }
  .bh-ed-row:nth-child(even) .bh-ed-media,
  .bh-ed-row:nth-child(even) .bh-ed-copy { order: initial; }
  .bh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bh-hero { min-height: min(88vh, 680px); }
  .bh-hero-veil {
    background:
      linear-gradient(180deg, rgba(14, 16, 20, 0.35) 0%, rgba(14, 16, 20, 0.82) 55%, rgba(14, 16, 20, 0.92) 100%);
  }
}
@media (max-width: 820px) {
  .bh-nav-toggle { display: inline-flex; }
  .bh-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bh-paper);
    border-bottom: 1px solid var(--bh-line);
    padding: 1rem 1rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }
  .bh-header.is-open .bh-nav { display: flex; }
  .bh-drop-panel {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0.25rem 0 0.5rem 0.75rem;
    background: transparent;
  }
  .bh-btn-nav { width: 100%; justify-content: center; margin-top: 0.35rem; }
  .bh-industry-grid { grid-template-columns: 1fr; }
  .bh-trust-strip ul { justify-content: flex-start; gap: 0.65rem 1.1rem; }
}
@media (max-width: 520px) {
  .bh-steps { grid-template-columns: 1fr; }
  .bh-hero-inner { padding-top: 5.5rem; }
  .bh-brand span { max-width: 9.5rem; }
}
