/* BluePoint Advisory — Lead Magnet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0D1B2E;
  --navy-2: #13233b;
  --ink: #0B1220;
  --paper: #FBFAF7;
  --paper-2: #F3F1EA;
  --line: #E4E1D6;
  --muted: #5B6472;
  --muted-on-dark: #A9B4C4;
  --accent: #4A5FE0;
  --accent-2: #A9C8F5;
  --accent-dark: #2E3FB0;
  --white: #FFFFFF;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: var(--sans);

  --header-h: 84px;
  --radius: 4px;
  --radius-lg: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
p { text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
  min-height: 48px;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(74, 95, 224, 0.55);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 10px 28px -6px rgba(74, 95, 224, 0.65);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline-dark:hover {
  background: var(--paper-2);
  border-color: var(--muted);
}

/* -------- Eyebrow -------- */
.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0;
  border-radius: 0;
  border: none;
  background: none;
  color: var(--accent-2);
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  margin-top: 6px;
  flex-shrink: 0;
}
.eyebrow.on-light {
  color: var(--accent-dark);
}
.eyebrow.on-light::before { background: var(--accent); }

/* -------- Header -------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-static {
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 26px; width: auto; }
.logo .logo-dark { display: none; }
.site-header.is-scrolled .logo .logo-light,
.site-header.is-static .logo .logo-light { display: none; }
.site-header.is-scrolled .logo .logo-dark,
.site-header.is-static .logo .logo-dark { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  transition: color 180ms var(--ease);
  padding: 4px 2px;
}
.site-header.is-scrolled .nav-links a,
.site-header.is-static .nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--white); }
.site-header.is-scrolled .nav-links a:hover,
.site-header.is-static .nav-links a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 12px 22px; font-size: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 220ms var(--ease), opacity 220ms var(--ease), background-color 220ms var(--ease);
}
.site-header.is-scrolled .hamburger span,
.site-header.is-static .hamburger span { background: var(--ink); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 24px;
  z-index: 99;
  box-shadow: 0 16px 32px -16px rgba(0,0,0,0.2);
}
.mobile-nav.is-open { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  padding: 14px 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--paper-2);
}
.mobile-nav .btn { margin-top: 12px; width: 100%; }

/* -------- Hero -------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% 30%;
  transform: scale(1.08);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img { transform: none !important; }
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,16,29,0.96) 0%, rgba(9,16,29,0.82) 34%, rgba(9,16,29,0.48) 62%, rgba(9,16,29,0.65) 100%),
    linear-gradient(0deg, rgba(9,16,29,0.68) 0%, rgba(9,16,29,0) 40%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  padding-bottom: 76px;
  width: 100%;
}
.hero-content .eyebrow { margin-bottom: 26px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  max-width: 22ch;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent-2);
}
.hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  max-width: 48ch;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* -------- Stat bar -------- */
.stat-bar {
  background: var(--navy);
  padding: 40px 0;
}
.stat-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: left;
  padding: 0 24px;
  border-left: 1px solid rgba(255,255,255,0.16);
}
.stat-item:first-child { border-left: none; padding-left: 0; }
.stat-item .stat-num {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 4px;
}
.stat-item .stat-label {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  font-weight: 600;
}

/* -------- Section shells -------- */
section { position: relative; }
.section-pad { padding: 108px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 16px;
}
.section-head p {
  color: var(--muted);
  font-size: 17px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.on-dark { background: var(--navy); color: var(--white); }
.on-dark .section-head p { color: var(--muted-on-dark); }
.on-dark h2, .on-dark h3 { color: var(--white); }

/* -------- Why it works / differentiators -------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: start;
}
.why-list { display: flex; flex-direction: column; gap: 32px; }
.why-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
}
.why-num {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
}
.why-item h3 {
  font-size: 18.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.why-item p { color: var(--muted); font-size: 15.5px; }

.quote-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  right: 24px;
  font-family: var(--serif);
  font-size: 140px;
  color: rgba(255,255,255,0.06);
  line-height: 1;
}
.quote-card blockquote {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 21px;
  line-height: 1.45;
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
}
.quote-person {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.quote-person img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
}
.quote-person .name { font-weight: 700; font-size: 15px; }
.quote-person .role { font-size: 13px; color: var(--muted-on-dark); }

/* -------- Services -------- */
.services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 108px 1fr 1.1fr;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.service-num-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(169, 200, 245, 0.08);
  border: 1px solid rgba(169, 200, 245, 0.22);
  border-radius: var(--radius);
  color: var(--accent-2);
  flex-shrink: 0;
  transition: background-color 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}
.service-icon svg { width: 22px; height: 22px; }
.service-num {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.18);
  line-height: 1;
}
.service-row:hover .service-icon {
  background: rgba(169, 200, 245, 0.16);
  border-color: var(--accent-2);
  transform: translateY(-2px);
}
.service-title h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.service-title p { color: var(--muted); font-size: 15px; }
.on-dark .service-title p { color: var(--muted-on-dark); }
.service-includes { display: flex; flex-direction: column; gap: 10px; }
.service-includes li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--muted);
  align-items: flex-start;
}
.on-dark .service-includes li { color: var(--muted-on-dark); }
.service-includes li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
  margin-top: 8px;
  flex-shrink: 0;
}

/* -------- Case studies -------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(13,27,46,0.25);
  border-color: transparent;
}
.case-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.case-card h3 {
  font-size: 19px;
  color: var(--ink);
}
.case-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.case-stat .num {
  font-family: var(--serif);
  font-size: 2.3rem;
  color: var(--accent);
}
.case-stat .label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  max-width: 16ch;
}
.case-card p.desc { color: var(--muted); font-size: 14.5px; flex-grow: 1; }
.case-context { font-size: 13px; color: var(--muted); font-style: italic; }

/* -------- How we work -------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-card {
  padding: 30px 24px;
  border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.process-step {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.process-card h3 { font-size: 18px; margin-bottom: 10px; }
.process-card p { font-size: 14.5px; color: var(--muted); }

/* -------- Team -------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 220ms var(--ease), transform 220ms var(--ease);
}
.team-card:hover { box-shadow: 0 20px 40px -22px rgba(13,27,46,0.25); transform: translateY(-3px); }
.team-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 20px 20px 24px; }
.team-info h3 { font-size: 16.5px; margin-bottom: 4px; }
.team-info .role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.team-tags span {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--paper-2);
  color: var(--muted);
  border: 1px solid var(--line);
}
.team-more {
  text-align: center;
  margin-top: 40px;
}

/* -------- FAQ -------- */
.faq-list { width: 100%; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: none;
  text-align: left;
  padding: 26px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--serif);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 3px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 220ms var(--ease), background-color 220ms var(--ease);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}
.faq-q .plus::before { width: 11px; height: 1.5px; }
.faq-q .plus::after { width: 1.5px; height: 11px; }
.faq-item.is-open .plus { background: var(--accent); border-color: var(--accent); }
.faq-item.is-open .plus::before, .faq-item.is-open .plus::after { background: var(--white); }
.faq-item.is-open .plus::after { opacity: 0; transform: rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms var(--ease);
}
.faq-a p {
  padding: 0 4px 26px;
  color: var(--muted);
  font-size: 15px;
  max-width: 68ch;
}

/* -------- Final CTA -------- */
.final-cta {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 22ch;
  margin: 0 auto 18px;
}
.final-cta p {
  color: var(--muted-on-dark);
  max-width: 52ch;
  margin: 0 auto 34px;
  font-size: 16.5px;
}
.final-cta .hero-ctas { justify-content: center; }

/* -------- Footer -------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 32px;
}
.site-footer .footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 24px;
}
.site-footer .logo img { height: 24px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 14px; transition: color 180ms var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-line { font-size: 13px; }
.footer-line a { text-decoration: underline; text-underline-offset: 3px; }
.footer-line a:hover { color: var(--white); }

/* -------- Reveal animation -------- */
.pre-reveal { opacity: 0; transform: translateY(18px); }
.is-visible { opacity: 1; transform: translateY(0); transition: opacity 640ms var(--ease), transform 640ms var(--ease); }

/* Staggered entrance for grouped items */
.why-item:nth-child(1), .service-row:nth-child(1), .case-card:nth-child(1), .process-card:nth-child(1), .team-card:nth-child(1) { transition-delay: 0ms; }
.why-item:nth-child(2), .service-row:nth-child(2), .case-card:nth-child(2), .process-card:nth-child(2), .team-card:nth-child(2) { transition-delay: 80ms; }
.why-item:nth-child(3), .service-row:nth-child(3), .case-card:nth-child(3), .process-card:nth-child(3), .team-card:nth-child(3) { transition-delay: 160ms; }
.service-row:nth-child(4), .process-card:nth-child(4), .team-card:nth-child(4) { transition-delay: 240ms; }
.service-row:nth-child(5), .team-card:nth-child(5) { transition-delay: 320ms; }
.team-card:nth-child(6) { transition-delay: 400ms; }
.team-card:nth-child(7) { transition-delay: 480ms; }

/* Subtle hover lift for interactive rows */
.service-row { transition: background-color 220ms var(--ease); }
.service-row:hover { background-color: rgba(255,255,255,0.03); }
.why-item { transition: transform 220ms var(--ease); }
.why-item:hover { transform: translateX(4px); }

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 18px; }
  .service-includes { padding-left: 0; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .header-actions .btn-outline-dark, .header-actions .btn-outline-light { display: none; }
  .hamburger { display: flex; }
  .stat-bar .container { grid-template-columns: 1fr; gap: 20px; }
  .stat-item { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.16); padding-top: 20px; }
  .stat-item:first-child { border-top: none; padding-top: 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 72px 0; }
  .hero { min-height: 100vh; align-items: flex-end; }
  .hero-content { padding-top: 48px; padding-bottom: 56px; }
  .hero h1 { max-width: 100%; font-size: clamp(2.6rem, 11.5vw, 3.4rem); }
  .hero-media img { object-position: 48% 15%; }
  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(9,16,29,0.95) 0%, rgba(9,16,29,0.7) 32%, rgba(9,16,29,0.4) 55%, rgba(9,16,29,0.5) 100%);
  }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { flex-direction: column; }
  .process-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-row { grid-template-columns: 1fr; gap: 14px; }
  .service-includes { padding-left: 0; }
  .quote-card { padding: 30px 24px; }
  .final-cta { padding: 52px 24px; }
  .final-cta .hero-ctas { flex-direction: column; }
  .final-cta .btn { width: 100%; }
  .footer-top { flex-direction: column; align-items: center; gap: 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px 24px; }
  .footer-line { text-align: center; }
}

@media (max-width: 420px) {
  .team-grid { grid-template-columns: 1fr; }
}
