/* =========================================================
   BRAC Bank case study — dark theme
   Matches the portfolio's global tokens (paper / paper-raise /
   line / Fraunces + Manrope) while keeping BRAC Bank's blue &
   yellow as the brand accents.
   Self-contained: this page does NOT load style.css.
   ========================================================= */

:root {
  /* Portfolio tokens (identical to style.css) */
  --ink: #F5F3EE;
  --ink-soft: #C4C7D1;
  --muted: #868B99;
  --paper: #0A0A0E;
  --paper-raise: #15161C;
  --line: #262832;
  --gold: #E2A93E;
  --gold-deep: #F0BE5C;
  --navy-deep: #060609;

  /* BRAC Bank brand accents */
  --bb-blue: #0075C0;
  --bb-blue-bright: #3AA0E0;
  --bb-band: #071F31;        /* deep blue band, sits on dark */
  --bb-band-line: #123A57;
  --bb-yellow: #E3AB2A;
  --bb-red: #E36767;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --container: 1180px;
  --radius: 18px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; color: var(--ink); }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(80px, 9vw, 128px) 0; }
.section.tight-top { padding-top: 0; }

/* ---------- Header ---------- */
.bb-header {
  position: sticky; top: 0; z-index: 100;
  padding: 20px 0;
  background: rgba(10, 10, 14, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bb-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bb-logo { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--ink); }
.bb-logo span { color: var(--gold); }
.bb-nav {
  display: flex; align-items: center; gap: 4px;
  background: var(--paper-raise); border: 1px solid var(--line);
  border-radius: 100px; padding: 5px;
}
.bb-nav a {
  padding: 9px 18px; border-radius: 100px;
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  transition: background .2s ease, color .2s ease;
}
.bb-nav a:hover, .bb-nav a.active { background: var(--ink); color: var(--paper); }
.bb-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  padding: 11px 22px; border-radius: 100px;
  border: 1px solid #3A3D49; color: var(--ink); background: transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.bb-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.bb-btn-solid { border-color: #3A3D49; }

/* ---------- Hero ---------- */
.bb-hero {
  background: linear-gradient(160deg, #0A2740 0%, #071827 55%, var(--paper) 100%);
  color: var(--ink);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.bb-hero::after {
  content: ""; position: absolute; right: 0; bottom: 0;
  width: 44%; height: 100%;
  background: linear-gradient(200deg, rgba(227,171,42,.16), rgba(0,117,192,.10));
  clip-path: polygon(58% 0, 100% 0, 100% 100%, 12% 100%);
}
.bb-hero .wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 50px; align-items: center;
  padding-top: 70px;
  padding-bottom: 64px;
}
.bb-brandmark { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 34px; }
.bb-brandmark span { font-family: var(--font-body); font-weight: 800; letter-spacing: .08em; font-size: 14px; color: var(--ink); }
.bb-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.bb-eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--gold-deep); }
.bb-hero h1 { font-size: clamp(38px, 5.6vw, 62px); margin-bottom: 24px; }
.bb-hero-rule { width: 62px; height: 3px; background: var(--gold); border-radius: 3px; margin-bottom: 24px; }
.bb-hero-desc { font-size: 17px; max-width: 430px; color: var(--ink-soft); margin-bottom: 38px; }
.bb-hero-meta { display: flex; gap: 60px; }
.bb-hero-cta { margin-top: 34px; }
.bb-hero-meta span.l { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 5px; font-weight: 700; }
.bb-hero-meta span.v { font-family: var(--font-display); font-size: 19px; }
.bb-hero-visual { align-self: end; margin-bottom: -64px; }
.bb-hero-visual img { width: 100%; max-width: 460px; margin-left: auto; border-radius: 20px 20px 0 0; }

@media (max-width: 900px) {
  .bb-hero .wrap { grid-template-columns: 1fr; gap: 0; padding-bottom: 44px; }
  .bb-hero::after { display: none; }
  .bb-hero-meta { gap: 40px; }
  .bb-hero-cta { margin-top: 28px; margin-bottom: 44px; }
  .bb-hero-visual { margin-bottom: -44px; }
  .bb-hero-visual img { margin: 0 auto; }
}

/* ---------- Bands ---------- */
.band-blue {
  background: var(--bb-band);
  border-top: 1px solid var(--bb-band-line);
  border-bottom: 1px solid var(--bb-band-line);
}
.band-pale {
  background: var(--paper-raise);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.center-title { text-align: center; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.center-lead { text-align: center; max-width: 780px; margin: 0 auto 56px; font-size: 16.5px; color: var(--ink-soft); line-height: 1.7; }
.mini-title { text-align: center; font-size: 23px; margin: 72px 0 34px; }

/* Section kicker */
.kicker {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bb-yellow); margin-bottom: 16px;
}
.kicker::before, .kicker::after { content: ""; width: 26px; height: 1px; background: rgba(227,171,42,.45); }

/* ---------- Cards ---------- */
.bb-card {
  background: var(--paper-raise); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 32px;
}
.band-blue .bb-card { background: rgba(255,255,255,.04); border-color: var(--bb-band-line); }
.bb-card h2 { font-size: 24px; margin-bottom: 14px; }
.bb-card p { color: var(--ink-soft); font-size: 15.5px; }
.card-rule { width: 48px; height: 3px; background: var(--gold); border-radius: 3px; margin-bottom: 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.dot-list li { position: relative; padding-left: 20px; margin-bottom: 10px; color: var(--ink-soft); font-size: 15px; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.dot-list.on-blue li { color: rgba(255,255,255,.9); }
.dot-list.on-blue li::before { background: rgba(255,255,255,.85); }
.lead-in { margin-bottom: 16px; }

/* ---------- Design process ---------- */
.process-row { display: flex; align-items: stretch; justify-content: center; gap: 8px; flex-wrap: wrap; }
.process-card {
  flex: 1 1 260px; max-width: 320px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px; text-align: center;
  transition: transform .25s, border-color .25s;
}
.process-card:hover { transform: translateY(-4px); border-color: #3A3D49; }
.process-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.icon-blue { background: var(--bb-blue); }
.icon-yellow { background: var(--bb-yellow); }
.icon-red { background: var(--bb-red); }
.process-card h3 { font-size: 20px; margin-bottom: 14px; }
.process-card li { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 7px; }
.process-arrow { display: flex; align-items: center; padding: 0 4px; }
@media (max-width: 900px) { .process-arrow { display: none; } }

/* ---------- Timeline ---------- */
.timeline-card { background: var(--paper-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; overflow-x: auto; }
.timeline-inner { min-width: 700px; }
.timeline-phases, .timeline-weeks { display: grid; grid-template-columns: repeat(6, 1fr); }
.timeline-phases span { font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.timeline-phases span:nth-child(1) { grid-column: 1 / 3; }
.timeline-phases span:nth-child(2) { grid-column: 3 / 5; }
.timeline-phases span:nth-child(3) { grid-column: 5 / 7; }
.timeline-weeks span { font-size: 13px; color: var(--muted); padding: 14px 0 10px; }
.timeline-grid { position: relative; height: 176px; border-top: 1px solid var(--line); }
.grid-line { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.bar { position: absolute; display: flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 100px; font-size: 14px; white-space: nowrap; }
.bar strong { font-weight: 800; }
.bar-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.85); flex-shrink: 0; }
.bar-blue { background: var(--bb-blue); color: #fff; }
.bar-yellow { background: var(--bb-yellow); color: #1A1206; }
.bar-yellow .bar-dot { background: rgba(0,0,0,.35); }
.bar-red { background: var(--bb-red); color: #fff; }

/* ---------- Review cards ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: rgba(255,255,255,.05); border: 1px solid var(--bb-band-line); border-radius: var(--radius-sm); padding: 24px; }
.review-stars { color: var(--bb-yellow); font-size: 14px; letter-spacing: 3px; margin-bottom: 6px; }
.review-date { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.review-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 16px; }
.review-helpful { font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- Interview ---------- */
.interview-row { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.question-list li { position: relative; padding-left: 26px; margin-bottom: 15px; font-size: 15.5px; color: var(--ink-soft); }
.question-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--bb-yellow); }
.interview-img img { border-radius: var(--radius); border: 1px solid var(--bb-band-line); }
@media (max-width: 860px) { .interview-row { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Persona ---------- */
.persona-card {
  display: grid; grid-template-columns: 300px 1fr;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.persona-photo img { width: 100%; height: 100%; object-fit: cover; }
.persona-body { padding: 36px 34px; }
.persona-body h3 { font-size: 28px; margin-bottom: 4px; }
.persona-underline { width: 200px; height: 3px; background: var(--gold); border-radius: 3px; margin-bottom: 22px; }
.persona-facts { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 40px; margin-bottom: 26px; }
.persona-facts div { display: flex; gap: 14px; font-size: 14.5px; color: var(--ink-soft); }
.persona-facts span { color: var(--muted); min-width: 74px; }
.persona-facts strong { font-weight: 600; color: var(--ink); }
.persona-quote {
  background: linear-gradient(135deg, var(--bb-yellow), #C98F26); color: #1A1206;
  border-radius: var(--radius-sm); padding: 22px 24px;
  font-family: var(--font-display); font-size: 17px; font-style: italic;
  margin-bottom: 28px;
}
.persona-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.persona-cols h4 { font-size: 15px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); display: inline-block; }
.persona-cols li { font-size: 14px; }
@media (max-width: 900px) {
  .persona-card { grid-template-columns: 1fr; }
  .persona-photo img { max-height: 380px; }
  .persona-cols { grid-template-columns: 1fr; }
  .persona-facts { grid-template-columns: 1fr; }
}

/* ---------- Empathy map ---------- */
.empathy-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px 34px; align-items: start; }
.empathy-head { font-family: var(--font-display); font-size: 20px; margin-bottom: 14px; color: var(--gold-deep); }
.empathy-head.right { text-align: right; }
.chip {
  background: var(--paper-raise); border: 1px solid var(--line);
  border-radius: 100px; padding: 10px 18px;
  font-size: 14px; color: var(--ink-soft); margin-bottom: 10px;
}
.empathy-col.right .chip { text-align: right; }
.empathy-center { align-self: center; }
.empathy-center img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold); }
@media (max-width: 900px) {
  .empathy-grid { grid-template-columns: 1fr; }
  .empathy-head.right { text-align: left; }
  .empathy-col.right .chip { text-align: left; }
  .empathy-center { justify-self: center; margin: 10px 0; }
}

.pain-gain { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.pg-card { border-radius: var(--radius); padding: 30px 32px; }
.pg-pain { background: #1F1214; border: 1px solid #3A2226; }
.pg-gain { background: #071F31; border: 1px solid var(--bb-band-line); }
.pg-head { font-family: var(--font-display); font-size: 21px; margin-bottom: 16px; }
.pg-pain .pg-head { color: var(--bb-red); }
.pg-gain .pg-head { color: var(--bb-blue-bright); }
@media (max-width: 860px) { .pain-gain { grid-template-columns: 1fr; } }

/* ---------- Competitive analysis ---------- */
.comp-table { background: rgba(255,255,255,.04); border: 1px solid var(--bb-band-line); border-radius: var(--radius); overflow: hidden; }
.comp-row { display: grid; grid-template-columns: 190px 1fr 1fr; gap: 26px; padding: 26px 30px; border-bottom: 1px solid var(--bb-band-line); }
.comp-row:last-child { border-bottom: 0; }
.comp-head { background: rgba(255,255,255,.05); font-family: var(--font-body); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.comp-name { font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.comp-logo {
  width: 100%; max-width: 168px; min-height: 92px;
  background: #FFFFFF; border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; padding: 14px 16px;
}
.comp-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 900px) { .comp-row { grid-template-columns: 1fr; gap: 14px; } .comp-head { display: none; } }

/* ---------- Image frames ---------- */
.flow-frame, .photo-frame {
  background: #FFFFFF; border-radius: var(--radius);
  padding: clamp(16px, 2.4vw, 32px); overflow-x: auto;
  box-shadow: 0 34px 70px -36px rgba(0,0,0,.8);
}
.flow-frame img, .photo-frame img { border-radius: 6px; margin: 0 auto; }
.wireframe-img img { border-radius: var(--radius); border: 1px solid var(--bb-band-line); }
.screens-grid-img { position: relative; }
.screens-grid-img img { width: 100%; }
.screens-grid-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,14,.72), rgba(10,10,14,0) 34%, rgba(10,10,14,.55)); pointer-events: none; }
.screens-overlay { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: center; padding-top: 46px; }
.screens-overlay h2 { font-size: clamp(26px, 3.4vw, 38px); }

/* ---------- Style guide ---------- */
.swatch-card { padding: 34px 32px; }
.sub-label { font-size: 13px; margin-bottom: 18px; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-body); }
.swatch-row { display: grid; gap: 14px; margin-bottom: 14px; }
.swatch-row-2 { grid-template-columns: repeat(2, 1fr); }
.swatch-row-4 { grid-template-columns: repeat(4, 1fr); }
.swatch { border-radius: var(--radius-sm); padding: 20px 18px; min-height: 118px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; border: 1px solid rgba(255,255,255,.08); }
.swatch span { font-weight: 800; font-size: 13px; opacity: .8; }
.swatch em { font-style: normal; font-size: 13px; }
.swatch.light { color: #1A1206; border-color: rgba(0,0,0,.12); }
.type-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.type-name { font-family: var(--font-display); font-size: 30px; margin-bottom: 6px; color: var(--ink); }
.type-abc { font-family: var(--font-display); font-size: 34px; color: var(--ink-soft); margin: 0; }
.type-num { font-family: var(--font-display); font-size: 34px; color: var(--muted); margin: 0 0 18px; }
.weight-row { display: flex; gap: 26px; font-size: 14px; color: var(--ink-soft); }
.weight-row .bold { font-weight: 800; color: var(--ink); }
.type-card.center-flex { display: flex; align-items: center; }
.type-quote { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 27px); line-height: 1.32; margin: 0; color: var(--ink); }
@media (max-width: 860px) { .type-row { grid-template-columns: 1fr; } .swatch-row-4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Visual design ---------- */
.existing-grid { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 30px; align-items: center; }
.problem-item { background: rgba(255,255,255,.05); border: 1px solid var(--bb-band-line); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 16px; font-size: 14.5px; color: var(--ink-soft); }
.problem-item strong { color: var(--ink); }
.existing-phone img { border-radius: var(--radius); border: 1px solid var(--bb-band-line); }
@media (max-width: 980px) { .existing-grid { grid-template-columns: 1fr; } .existing-phone { max-width: 300px; margin: 0 auto; } }

.proposed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 40px; justify-content: center; }
.proposed-col { margin: 0; }
.proposed-col figcaption { text-align: center; margin-top: 14px; font-size: 14.5px; color: var(--ink-soft); font-weight: 600; }
.proposed-col img { border-radius: var(--radius); border: 1px solid var(--bb-band-line); }
@media (max-width: 700px) { .proposed-grid { grid-template-columns: 1fr; } }

.solutions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.solutions-grid > div { background: rgba(255,255,255,.05); border: 1px solid var(--bb-band-line); border-radius: var(--radius-sm); padding: 20px 22px; font-size: 14.5px; color: var(--ink-soft); }
.solutions-grid strong { color: var(--ink); }
@media (max-width: 800px) { .solutions-grid { grid-template-columns: 1fr; } }

/* ---------- Lessons ---------- */
.lesson-card { border-radius: var(--radius); padding: 32px; }
.lesson-blue { background: #071F31; border: 1px solid var(--bb-band-line); }
.lesson-yellow { background: #241B08; border: 1px solid #4A3A15; }
.lesson-head { font-family: var(--font-display); font-size: 22px; margin-bottom: 18px; }
.lesson-blue .lesson-head { color: var(--bb-blue-bright); }
.lesson-yellow .lesson-head { color: var(--gold-deep); }
.lesson-card .dot-list li { color: var(--ink-soft); }
.lesson-blue .dot-list li::before { background: var(--bb-blue-bright); }
.lesson-yellow .dot-list li::before { background: var(--gold); }

/* ---------- Thanks ---------- */
.thanks { text-align: center; padding: 80px 0 96px; }
.thanks-icon { margin-bottom: 16px; }
.thanks h2 { font-size: clamp(26px, 3.4vw, 36px); }

/* ---------- Next projects ---------- */
.next-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.next-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s, border-color .25s; display: block; }
.next-card:hover { transform: translateY(-4px); border-color: #3A3D49; }
.next-card .tag { font-size: 12.5px; color: var(--muted); font-weight: 600; display: block; margin-bottom: 8px; }
.next-card h4 { font-size: 18px; }
@media (max-width: 860px) { .next-projects { grid-template-columns: 1fr; } }

/* ---------- Footer — identical to the homepage ---------- */
.eyebrow {
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--gold-deep); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 100px; border: 1px solid var(--ink);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-primary { background: transparent; color: var(--ink); border-color: #3A3D49; }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #3A3D49; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }

.site-footer {
  background: var(--navy-deep);
  color: #EDEBE3;
  margin-top: 120px;
  padding: 100px 0 40px;
}
.footer-cta { text-align: center; max-width: 640px; margin: 0 auto 70px; }
.footer-cta .eyebrow { color: var(--gold); }
.footer-cta .eyebrow::before { background: var(--gold); }
.footer-cta h2 { color: #FFFFFF; font-size: clamp(32px, 5vw, 52px); margin: 18px 0 16px; }
.footer-cta p { color: #B7BCC9; font-size: 17px; margin-bottom: 32px; }
.footer-cta .btn-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.footer-cta .btn-primary { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.footer-cta .btn-primary:hover { background: #fff; border-color: #fff; }
.footer-cta .btn-ghost { border-color: #4C5568; color: #EDEBE3; }
.footer-cta .btn-ghost:hover { background: #EDEBE3; color: var(--navy-deep); }

.footer-bottom {
  border-top: 1px solid #232E42; padding-top: 30px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; font-size: 14px; color: #8891A3;
  margin-top: 0;
}
.footer-social { display: flex; gap: 22px; }
.footer-social a { color: #C7CBD6; font-weight: 600; transition: color .2s; }
.footer-social a:hover { color: var(--gold); }


/* =========================================================
   Mobile navigation — hamburger + slide-down panel
   ========================================================= */
.bb-header { position: sticky; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px; padding: 0;
  background: transparent; border: 1px solid var(--line);
  border-radius: 12px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: border-color .2s ease;
}
.nav-toggle:hover { border-color: #3A3D49; }
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform .3s cubic-bezier(.22,.68,.28,1), opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible { outline: 2px solid var(--bb-yellow); outline-offset: 3px; }
.nav-cta-mobile { display: none; }

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .bb-nav.site-nav {
    display: flex !important;
    position: absolute;
    top: 100%; left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--paper-raise);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 26px 50px -22px rgba(0,0,0,.75);
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .28s ease, transform .28s cubic-bezier(.22,.68,.28,1), visibility .28s;
    width: auto;
  }
  .bb-nav.site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .bb-nav.site-nav a {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15.5px;
    text-align: left;
  }
  .bb-nav.site-nav a:hover, .bb-nav.site-nav a.active { background: var(--ink); color: var(--paper); }
  .bb-nav.site-nav .nav-cta-mobile {
    display: block;
    margin-top: 6px;
    background: var(--bb-yellow);
    color: var(--navy-deep);
    font-weight: 700;
    text-align: center;
  }
  .bb-nav.site-nav .nav-cta-mobile:hover { background: var(--bb-yellow); color: var(--navy-deep); opacity: .9; }
}

/* Tighter gutters on small screens */
@media (max-width: 600px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
}


/* ---------- Mobile refinements ---------- */
html, body { overflow-x: clip; max-width: 100%; }  /* clip, not hidden — keeps position:sticky working */
img, svg { max-width: 100%; height: auto; }

@media (max-width: 780px) {
  .section { padding: 64px 0; }
  .site-footer { margin-top: 70px; padding: 70px 0 34px; }
  .footer-cta { margin-bottom: 46px; }
  .footer-cta .btn-row .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .center-lead { margin-bottom: 36px; }
  .mini-title { margin: 46px 0 24px; }
}


/* ---------- Impact ---------- */
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.impact-card {
  background: rgba(255,255,255,.05); border: 1px solid var(--bb-band-line);
  border-radius: var(--radius); padding: 30px 28px; text-align: center;
  transition: transform .25s ease, border-color .25s ease;
}
.impact-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.28); }
.impact-num {
  font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1; color: var(--bb-yellow); margin-bottom: 10px;
}
.impact-label {
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 14px;
}
.impact-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; max-width: none; }
.impact-note {
  text-align: center; font-size: 12.5px; color: var(--muted);
  margin: 30px auto 0; max-width: 640px; line-height: 1.6;
}
@media (max-width: 900px) { .impact-grid { grid-template-columns: 1fr; } }
