/* BPI Website — Shared Design System
   Dark/cream/dark sandwich · Playfair Display + Inter
   Baby blue #5BB8E8 on CTA buttons only · 720px content */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  --dark: #1c1917;
  --cream: #faf9f7;
  --text-dark: #1c1917;
  --text-dark-muted: #6b6962;
  --text-light: #f0ede8;
  --text-light-muted: #b5b0a8;
  --text-light-faint: #7a7570;
  --blue-cta: #5BB8E8;
  --blue-cta-hover: #4AADE0;
  --hero-burgundy: #4A1520;
  --hero-steel: #1A2838;
  --hero-forest: #1C2B1F;
  --border-dark: rgba(255,255,255,.06);
  --border-light: rgba(28,25,23,.08);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --col-text: 720px;
  --col-max: 1080px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); color: var(--text-dark); background: var(--dark); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
.container { max-width: var(--col-max); margin: 0 auto; padding: 0 1.5rem; }
.reading { max-width: var(--col-text); margin: 0 auto; }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(28,25,23,.88); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
  padding: .85rem 0;
}
.nav-inner {
  max-width: var(--col-max); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: baseline; gap: .5rem; text-decoration: none; }
.nav-logo:hover { text-decoration: none; }
.nav-logo-text {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500;
  color: var(--text-light); letter-spacing: -.01em;
}
.nav-logo-sep {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 300;
  color: var(--text-light-faint); opacity: .5;
}
.nav-logo-sub {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 400;
  color: var(--text-light-muted); letter-spacing: -.01em;
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a {
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  color: var(--text-light-muted); transition: color .2s;
}
.nav-links a:hover { color: var(--text-light); }
.nav-phone {
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  color: var(--text-light-muted); transition: color .2s;
}
.nav-phone:hover { color: var(--text-light); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-light); margin: 5px 0; transition: .3s; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: .88rem;
  padding: .7rem 1.6rem; border-radius: 8px; transition: all .2s;
  cursor: pointer; text-decoration: none; border: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue-cta); color: #0d0d0d; }
.btn-primary:hover { background: var(--blue-cta-hover); }
.btn-outline {
  background: transparent; color: var(--text-light-muted);
  border: 1.5px solid var(--text-light-faint);
}
.btn-outline:hover { border-color: var(--text-light-muted); color: var(--text-light); }
.btn-outline-dark {
  background: transparent; color: var(--text-dark-muted);
  border: 1.5px solid rgba(28,25,23,.2);
}
.btn-outline-dark:hover { border-color: var(--text-dark); color: var(--text-dark); }

/* ---- Hero ---- */
.hero {
  background: var(--dark); padding: 6rem 0 5rem; color: var(--text-light);
}
.hero .reading { max-width: 720px; }
.hero h1 {
  font-family: var(--serif); font-size: 3rem; font-weight: 500;
  line-height: 1.15; letter-spacing: -.02em;
  color: var(--text-light); margin-bottom: 1.5rem;
}
.hero-body p {
  font-size: 1.05rem; line-height: 1.75; color: var(--text-light-muted);
  margin-bottom: 1.25rem;
}
.hero-cta { margin-top: 2.25rem; }
.hero-note {
  font-size: .78rem; color: var(--text-light-faint); margin-top: 1.25rem;
}
.hero-burgundy { background: var(--hero-burgundy); }
.hero-steel { background: var(--hero-steel); }
.hero-forest { background: var(--hero-forest); }

/* ---- Cream sections ---- */
.cream-section { background: var(--cream); color: var(--text-dark); }
.section { padding: 5rem 0; }
.section-bordered { border-top: 1px solid var(--border-light); }
.section .reading p {
  font-size: .95rem; line-height: 1.8; color: var(--text-dark-muted);
  margin-bottom: 1.25rem;
}
.section .reading p:last-child { margin-bottom: 0; }
.section .reading h2 {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 500;
  color: var(--text-dark); margin-bottom: 1.5rem;
}

/* ---- Float photo ---- */
.float-photo {
  float: right; width: 220px; margin: .25rem 0 1.5rem 2rem;
  border-radius: 10px; overflow: hidden;
}
.float-photo img {
  width: 100%; border-radius: 10px; object-fit: cover;
  aspect-ratio: 3/4;
}
.float-caption {
  font-family: var(--sans); font-size: .75rem; font-weight: 500;
  color: var(--text-dark-muted); margin-top: .5rem;
  text-align: center; font-style: italic;
}

/* ---- Cards grid (3-col) ---- */
.card-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem;
  max-width: var(--col-text); margin: 0 auto;
}
.card {
  background: #fff; border-radius: 12px; padding: 1.75rem;
  border: 1px solid var(--border-light);
}
.card h3 {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 500;
  color: var(--text-dark); margin-bottom: .6rem;
}
.card p {
  font-size: .85rem; line-height: 1.7; color: var(--text-dark-muted);
  margin-bottom: .75rem;
}
.card-link {
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  color: var(--text-dark-muted); transition: color .2s;
}
.card-link:hover { color: var(--text-dark); }

/* ---- 2-col cards ---- */
.card-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  max-width: var(--col-text); margin: 0 auto;
}

/* ---- Section header ---- */
.section-header {
  max-width: var(--col-text); margin: 0 auto 1.5rem;
}
.section-header h2 {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 500;
  color: var(--text-dark);
}

/* ---- Proof/testimonial ---- */
.proof {
  padding: 3.5rem 0 4rem;
  border-top: 1px solid var(--border-light);
}
.proof .reading { text-align: center; }
.proof blockquote {
  font-family: var(--serif); font-style: italic; font-size: 1.35rem;
  font-weight: 400; line-height: 1.45;
  color: var(--text-dark); margin-bottom: 1rem;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.proof cite {
  font-family: var(--sans); font-style: normal;
  font-size: .78rem; font-weight: 500;
  color: var(--text-dark-muted); letter-spacing: .03em;
}
.stats-bar {
  display: flex; gap: 3rem; padding: 2.5rem 0 0; flex-wrap: wrap;
  justify-content: center;
}
.stat { text-align: center; min-width: 100px; }
.stat-num {
  font-family: var(--serif); font-size: 2.5rem; font-weight: 500;
  color: var(--text-dark); line-height: 1.1;
}
.stat-label {
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  color: var(--text-dark-muted); text-transform: uppercase;
  letter-spacing: .06em; margin-top: .35rem;
}

/* ---- Close ---- */
.close-section {
  background: var(--dark); color: var(--text-light); padding: 5rem 0 3rem;
}
.close-section .reading { text-align: center; }
.close-section p.close-lead {
  font-family: var(--serif); font-style: italic; font-size: 1.2rem;
  color: var(--text-light); margin-bottom: .5rem;
}
.close-section p.close-body {
  font-size: .95rem; color: var(--text-light-muted); margin-bottom: 2rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--dark); padding: 3rem 0; text-align: center;
  border-top: 1px solid var(--border-dark);
}
.footer-nav {
  display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.25rem;
  list-style: none; flex-wrap: wrap;
}
.footer-nav a {
  font-size: .82rem; color: var(--text-light-muted); transition: color .2s;
}
.footer-nav a:hover { color: var(--text-light); }
.footer-legal {
  font-size: .72rem; color: var(--text-light-faint); opacity: .6;
}

/* ---- Contact cards (client services) ---- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  max-width: var(--col-text); margin: 0 auto;
}
.contact-card {
  background: #fff; border-radius: 12px; padding: 1.75rem;
  border: 1px solid var(--border-light);
}
.contact-card h3 {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 500;
  color: var(--text-dark); margin-bottom: .5rem;
}
.contact-card p {
  font-size: .85rem; line-height: 1.7; color: var(--text-dark-muted);
  margin-bottom: .75rem;
}
.contact-card a {
  font-family: var(--sans); font-size: .85rem; font-weight: 600;
  color: var(--text-dark); transition: color .2s;
}
.contact-card a:hover { color: var(--blue-cta); }
.contact-card .btn { margin-top: .5rem; }
.contact-desktop { display: block; }
.contact-mobile { display: none; }

/* ---- Service cards (client services) ---- */
.service-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  max-width: var(--col-text); margin: 0 auto;
}
.service-card h3 {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 500;
  color: var(--text-dark); margin-bottom: .4rem;
}
.service-card p {
  font-size: .85rem; line-height: 1.7; color: var(--text-dark-muted);
}

/* ---- Tags/chips ---- */
.tag-list {
  display: flex; flex-wrap: wrap; gap: .5rem;
  max-width: var(--col-text); margin: 0 auto;
  list-style: none;
}
.tag-list li {
  font-family: var(--sans); font-size: .8rem; font-weight: 500;
  color: var(--text-dark-muted); background: #fff;
  padding: .4rem 1rem; border-radius: 100px;
  border: 1px solid var(--border-light);
}

/* ---- Placeholder cards ---- */
.placeholder-card {
  background: var(--cream); border-radius: 12px; padding: 2rem;
  border: 1px dashed rgba(28,25,23,.15); text-align: center;
}
.placeholder-card h3 {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 500;
  color: var(--text-dark-muted); margin-bottom: .4rem;
}
.placeholder-card p {
  font-size: .8rem; color: var(--text-dark-muted); opacity: .6;
}

/* ---- App store badges ---- */
.app-badges { display: flex; gap: .75rem; margin-top: .75rem; }
.app-badges a img { height: 36px; width: auto; }

/* ---- Legal/privacy ---- */
.legal-content { max-width: var(--col-text); margin: 0 auto; }
.legal-content h2 {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 500;
  color: var(--text-dark); margin: 2.5rem 0 1rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: .9rem; line-height: 1.8; color: var(--text-dark-muted);
  margin-bottom: 1rem;
}
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li {
  font-size: .9rem; line-height: 1.8; color: var(--text-dark-muted);
  margin-bottom: .25rem;
}
.legal-content a { color: var(--text-dark); }
.legal-content a:hover { text-decoration: underline; }

/* ---- Two blocks side by side ---- */
.split-blocks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  max-width: var(--col-text); margin: 0 auto;
}
.split-block h3 {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500;
  color: var(--text-dark); margin-bottom: .5rem;
}
.split-block p {
  font-size: .88rem; line-height: 1.7; color: var(--text-dark-muted);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  html { font-size: 16px; }
  .hero { padding: 4rem 0 3.5rem; }
  .hero h1 { font-size: 2.25rem; }
  .float-photo { float: none; width: 180px; margin: 0 auto 1.5rem; }
  .card-grid, .card-grid-2, .service-grid, .split-blocks, .contact-grid { grid-template-columns: 1fr; }
  .stats-bar { gap: 2rem; }
  .nav-links { display: none; }
  .nav-links.active {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(28,25,23,.97); backdrop-filter: blur(14px);
    padding: 1.5rem; gap: 1rem;
    border-bottom: 1px solid var(--border-dark);
  }
  .hamburger { display: block; }
  .contact-desktop { display: none; }
  .contact-mobile { display: block; }
  .section { padding: 3.5rem 0; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .stat-num { font-size: 2rem; }
  .stats-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; }
}
