/* ============================================================
   BluVentures — shared stylesheet
   Visual language modelled on the Blu Ventures PDF set:
   navy + soft blue, sans-serif throughout, numbered cards,
   thin section rules, light-blue quote blocks.
   ============================================================ */

:root {
  --navy: #1d3a5f;          /* primary navy — matches PDF banner */
  --navy-deep: #142944;     /* darker shade for gradients */
  --navy-ink: #0f2236;
  --ink: #1f2937;
  --slate: #4b5b71;
  --slate-soft: #6b7a8f;
  --mist: #f5f7fb;
  --tint: #e6eef7;          /* PDF light-blue tint for cards/quotes */
  --tint-deep: #d3e0ee;
  --line: #d9e2ec;
  --accent: #2d6cb0;        /* slightly muted from previous to match PDF */
  --white: #ffffff;
  --radius: 8px;            /* sharper, more corporate */
  --radius-lg: 12px;
  --maxw: 1100px;
  --shadow: 0 8px 30px rgba(20, 41, 68, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Calibri, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p {
  margin: 0 0 1em;
  color: var(--slate);
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------- NAV ----------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px;
  height: 28px;
  background: var(--navy);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.brand-mark::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 1px;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a.active { color: var(--accent); }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 4px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent); text-decoration: none; }
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ----------- BUTTONS ----------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); text-decoration: none; box-shadow: var(--shadow); }
.btn-secondary { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.btn-secondary:hover { border-color: var(--navy); transform: translateY(-1px); text-decoration: none; }
.btn svg { width: 18px; height: 18px; }

/* ----------- EYEBROW (PDF style) ----------- */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}
.eyebrow-on-dark { color: #b8cfe8; }

/* ----------- PDF-STYLE TITLE BANNER ----------- */
.title-banner {
  background: var(--navy);
  padding: 22px 0;
}
.title-banner-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  color: var(--white);
}
.title-banner h1, .title-banner h2 {
  color: var(--white);
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.title-banner-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 500;
}

/* ----------- HERO ----------- */
.hero {
  position: relative;
  padding: 80px 0 70px;
  background:
    radial-gradient(ellipse at top right, rgba(45, 108, 176, 0.10), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(29, 58, 95, 0.04), transparent 50%),
    var(--white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 60px 0 50px; }
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 360px;
  margin-left: auto;
}
.hero-art svg { width: 100%; height: 100%; }
@media (max-width: 860px) {
  .hero-art { margin: 0 auto; max-width: 260px; }
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ----------- SECTIONS ----------- */
section { padding: 70px 0; }
@media (max-width: 640px) { section { padding: 50px 0; } }

.section-head {
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.section-head.centered {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p {
  font-size: 1.05rem;
  margin: 0;
  max-width: 720px;
}
.section-head.centered p { margin: 0 auto; }

/* ----------- ABOUT ----------- */
.about { background: var(--mist); }
.about-content {
  max-width: 760px;
  margin: 0 auto;
}
.about-content p {
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.75;
}

/* ----------- FRAMEWORK CARDS (PDF "at a glance" style) ----------- */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 640px) { .framework-grid { grid-template-columns: 1fr; } }

.fw-card {
  position: relative;
  background: var(--tint);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 22px 22px 80px;
  min-height: 110px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fw-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.fw-card-num {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius) 0 var(--radius) 0;
}
.fw-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin: 0 0 6px;
  font-weight: 600;
}
.fw-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.55;
}

/* Mentoring callout */
.mentoring-callout {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--tint);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
}
.mentoring-callout .eyebrow { margin-bottom: 8px; font-size: 0.78rem; }
.mentoring-callout h3 { margin-bottom: 8px; color: var(--navy); }
.mentoring-callout p { margin: 0; font-size: 0.97rem; }

/* ----------- AUDIENCE (dark band) ----------- */
.audience {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.audience::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(45, 108, 176, 0.3), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(45, 108, 176, 0.15), transparent 50%);
  pointer-events: none;
}
.audience .container { position: relative; z-index: 1; }
.audience h2 { color: var(--white); }
.audience .section-head { border-bottom-color: rgba(255, 255, 255, 0.15); }
.audience .section-head p { color: rgba(255, 255, 255, 0.75); }
.audience .eyebrow { color: #b8cfe8; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.audience-item {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}
.audience-item h3 { color: var(--white); font-size: 1.02rem; margin-bottom: 8px; }
.audience-item p { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; margin: 0; }

/* ----------- CONTACT ----------- */
.contact {
  background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
  text-align: center;
}
.contact h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.contact p { font-size: 1.05rem; max-width: 560px; margin: 0 auto 28px; }
.contact-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.contact-meta {
  color: var(--slate);
  font-size: 0.92rem;
}
.contact-meta a { color: var(--navy); font-weight: 500; }

/* ----------- FOOTER ----------- */
footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--slate-soft);
  font-size: 0.88rem;
}
footer a { color: var(--slate); }

/* ============================================================
   CASE STUDIES PAGE
   ============================================================ */

.page-header {
  padding: 70px 0 50px;
  background:
    radial-gradient(ellipse at top right, rgba(45, 108, 176, 0.10), transparent 60%),
    var(--white);
}
.page-header.centered { text-align: center; }
.page-header p.lead {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 640px;
  margin: 0 auto;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.case-top {
  padding: 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.case-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(45, 108, 176, 0.3), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(45, 108, 176, 0.15), transparent 50%);
  pointer-events: none;
}
.case-top-inner { position: relative; z-index: 1; }

.case-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8cfe8;
  margin-bottom: 18px;
}
.case-title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 10px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.case-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 32px;
  font-style: italic;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat {
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}
.stat-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.case-body { padding: 40px; }
@media (max-width: 640px) {
  .case-top, .case-body { padding: 28px 22px; }
}

.case-section { margin-bottom: 44px; }
.case-section:last-child { margin-bottom: 0; }
.case-section h2 {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 18px;
}
.case-section p { font-size: 1rem; line-height: 1.7; }

/* PDF-style quote block — light blue, no left border */
.pull-quote {
  background: var(--tint);
  padding: 22px 26px;
  border-radius: var(--radius);
  margin: 22px 0;
}
.pull-quote p {
  font-style: italic;
  color: var(--ink);
  font-size: 0.98rem;
  margin: 0 0 10px;
  line-height: 1.7;
}
.pull-quote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.88rem;
}

/* Outcomes table */
.outcomes { display: grid; gap: 8px; margin-top: 14px; }
.outcome-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 16px 20px;
  background: var(--tint);
  border-radius: var(--radius);
}
.outcome-row:nth-child(even) { background: var(--mist); }
@media (max-width: 640px) {
  .outcome-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
}
.outcome-label { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.outcome-text { color: var(--slate); font-size: 0.95rem; }

/* Insights — PDF-style numbered blocks */
.insights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 860px) { .insights { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .insights { grid-template-columns: 1fr; } }
.insight {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}
.insight:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.insight-num {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.insight h4 { color: var(--navy); margin-bottom: 6px; }
.insight p { font-size: 0.88rem; margin: 0; line-height: 1.6; }

/* Download CTA */
.download-cta {
  background: var(--tint);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
}
@media (max-width: 640px) {
  .download-cta { flex-direction: column; align-items: flex-start; padding: 22px; }
}
.download-cta h3 { color: var(--navy); margin-bottom: 4px; }
.download-cta p { margin: 0; font-size: 0.92rem; }

/* Bottom CTA */
.bottom-cta {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
  text-align: center;
}
.bottom-cta h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); }
.bottom-cta p { font-size: 1.05rem; max-width: 540px; margin: 0 auto 24px; }

/* ============================================================
   FRAMEWORK PAGE
   ============================================================ */

.stage-block {
  margin-bottom: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.stage-block:last-of-type { border-bottom: none; }

.stage-head {
  display: flex;
  align-items: stretch;
  margin-bottom: 18px;
  border-radius: var(--radius);
  overflow: hidden;
}
.stage-head-num {
  width: 70px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}
.stage-head-title {
  flex: 1;
  background: var(--tint);
  padding: 18px 24px;
  display: flex;
  align-items: center;
}
.stage-head-title h2 {
  margin: 0;
  font-size: 1.3rem;
  border: none;
  padding: 0;
  color: var(--navy);
}

.stage-content p { font-size: 1rem; line-height: 1.75; }

.stage-list-label {
  font-size: 0.85rem;
  font-weight: 700;
  font-style: italic;
  color: var(--accent);
  margin-top: 14px;
  margin-bottom: 8px;
}
.stage-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.stage-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: var(--slate);
  font-size: 0.97rem;
}
.stage-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
}

/* Mentoring thread on framework page */
.thread {
  background: var(--tint);
  border-radius: var(--radius);
  padding: 32px 36px;
  border-top: 3px solid var(--navy);
  margin-top: 32px;
}
.thread h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  border: none;
  padding: 0;
}
@media (max-width: 640px) { .thread { padding: 24px; } }
