/* ============================================
   Boston Strategic Partners - Modern Redesign
   ============================================ */

:root {
  /* Colors - professional health/life sciences */
  --color-bg: #f8fafc;
  --color-bg-alt: #ffffff;
  --color-bg-dark: #0f172a;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-accent: #0d9488;
  --color-accent-hover: #0f766e;
  --color-border: #e2e8f0;
  --color-white: #ffffff;

  /* Typography */
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --header-height: 72px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.2s;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--color-accent-hover); }
ul { list-style: none; margin: 0; padding: 0; }

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-accent);
  color: var(--color-white);
  z-index: 1000;
  border-radius: var(--radius);
  transition: top var(--duration) var(--ease);
}
.skip-link:focus { top: var(--space-sm); }

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: var(--header-height);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
}
.logo-link:hover { text-decoration: none; color: var(--color-text); }
.logo-img { width: 48px; height: auto; }
.logo-text { font-size: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-xs);
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.nav-item { position: relative; }
.nav-item > a,
.nav-label {
  display: block;
  padding: var(--space-xs) var(--space-sm);
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
}
.nav-item > a:hover,
.nav-label:hover { color: var(--color-accent); text-decoration: none; }

.nav-item.has-dropdown .nav-label {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
}
.nav-item.has-dropdown .nav-label::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 2px;
  transition: transform var(--duration) var(--ease);
}
.nav-item.has-dropdown:hover .nav-label::after,
.nav-item.has-dropdown.is-open .nav-label::after {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: var(--space-xs);
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { margin: 0; }
.dropdown a {
  display: block;
  padding: var(--space-sm);
  color: var(--color-text);
  font-size: 0.875rem;
  border-radius: var(--radius);
}
.dropdown a:hover { background: var(--color-bg); color: var(--color-accent); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: var(--space-md);
    margin-top: var(--space-xs);
    max-height: 0;
    overflow: hidden;
  }
  .nav-item.is-open .dropdown { max-height: 500px; }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
  text-decoration: none;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-primary:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); color: var(--color-white); text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-outline:hover { background: var(--color-accent); color: var(--color-white); text-decoration: none; }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  color: var(--color-white);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 var(--space-md);
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 var(--space-md);
  opacity: 0.95;
}
.hero-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin: 0 0 var(--space-md);
}
.hero-services li { margin: 0; }
.hero-services a {
  color: var(--color-white);
  font-size: 0.9375rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius);
  transition: background var(--duration) var(--ease);
}
.hero-services a:hover { background: rgba(255,255,255,0.15); color: var(--color-white); text-decoration: none; }
.hero-tagline {
  margin: 0 0 var(--space-lg);
  font-size: 0.9375rem;
  opacity: 0.9;
}
.hero-content .btn-primary {
  background: var(--color-white);
  color: var(--color-bg-dark);
  border-color: var(--color-white);
}
.hero-content .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  color: var(--color-bg-dark);
  border-color: rgba(255,255,255,0.9);
}

/* ========== Sections ========== */
.section {
  padding: var(--space-3xl) var(--space-lg);
}
.container {
  max-width: var(--container-max);
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin: 0 0 var(--space-xs);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  margin: 0 0 var(--space-lg);
  color: var(--color-text);
  line-height: 1.2;
}

/* ========== Our Story ========== */
.story { background: var(--color-bg-alt); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.story-content p { margin: 0 0 var(--space-md); color: var(--color-text-muted); }
.story-principles {
  margin: 0 0 var(--space-lg);
  padding-left: 1.25rem;
}
.story-principles li {
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: var(--space-sm);
}
.story-principles li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}
.story-visual { position: relative; }
.story-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.story-badge {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  background: var(--color-accent);
  color: var(--color-white);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.story-badge-value { font-size: 2rem; font-weight: 700; display: block; line-height: 1; }
.story-badge-suffix { font-size: 1.25rem; font-weight: 600; }
.story-badge-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: var(--space-xs); opacity: 0.9; }

@media (max-width: 768px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { order: -1; }
}

/* ========== Services (tabs) ========== */
.services { background: var(--color-bg); }
.services-tabs { margin-top: var(--space-lg); }
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  border-bottom: 2px solid var(--color-border);
  overflow-x: auto;
}
.tab-btn {
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--color-text); }
.tab-btn.active { color: var(--color-accent); border-bottom-color: var(--color-accent); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.3s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  background: var(--color-bg-alt);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.panel-grid h3 { font-size: 1.5rem; margin: 0 0 var(--space-md); color: var(--color-text); }
.panel-grid p { margin: 0 0 var(--space-md); color: var(--color-text-muted); }
.panel-media video {
  width: 100%;
  border-radius: var(--radius);
  background: var(--color-bg-dark);
}

@media (max-width: 768px) {
  .panel-grid { grid-template-columns: 1fr; }
  .panel-media { order: -1; }
}

/* ========== Clients ========== */
.clients { background: var(--color-bg-alt); }
.clients-title { max-width: 700px; margin-left: auto; margin-right: auto; text-align: center; }
.clients-strip {
  margin: var(--space-lg) auto;
  max-width: 100%;
  height: auto;
}
.clients .btn { display: block; margin: 0 auto; width: fit-content; }

/* ========== Testimonials ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}
.testimonial-card {
  background: var(--color-bg-alt);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}
.testimonial-card blockquote {
  margin: 0 0 var(--space-lg);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.65;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.testimonial-meta img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-meta cite { display: block; font-weight: 600; font-style: normal; color: var(--color-text); }
.testimonial-meta span { font-size: 0.875rem; color: var(--color-text-muted); }

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

/* ========== Stats ========== */
.stats { background: var(--color-bg-dark); color: var(--color-white); padding: var(--space-2xl) var(--space-lg); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
}
.stat { padding: var(--space-md); }
.stat-value { font-size: 2.5rem; font-weight: 700; display: inline; }
.stat-suffix { font-size: 1.5rem; font-weight: 600; }
.stat-label { display: block; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: var(--space-xs); opacity: 0.85; }

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

/* ========== Publications ========== */
.publications { background: var(--color-bg); }
.publications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.pub-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.pub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pub-card a { color: inherit; text-decoration: none; display: block; }
.pub-card a:hover { color: inherit; }
.pub-card img { width: 100%; height: 140px; object-fit: cover; }
.pub-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: var(--space-md) var(--space-md) var(--space-xs);
  line-height: 1.35;
}
.pub-card time { font-size: 0.75rem; color: var(--color-text-muted); margin: 0 var(--space-md); display: block; }
.pub-card p { font-size: 0.8125rem; color: var(--color-text-muted); margin: var(--space-xs) var(--space-md) var(--space-sm); }
.pub-link { font-size: 0.8125rem; font-weight: 600; color: var(--color-accent); margin: 0 var(--space-md) var(--space-md); display: inline-block; }
.pub-card a:hover .pub-link { text-decoration: underline; }

.publications .btn { display: block; width: fit-content; margin: 0 auto; }

@media (max-width: 1024px) {
  .publications-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .publications-grid { grid-template-columns: 1fr; }
}

/* ========== Footer ========== */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: var(--space-2xl) var(--space-lg) var(--space-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto var(--space-xl);
}
.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 var(--space-md);
  opacity: 0.9;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: var(--space-xs); }
.footer-col a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
}
.footer-col a:hover { color: var(--color-white); text-decoration: none; }
.footer-contact p { margin: 0 0 var(--space-xs); font-size: 0.9375rem; opacity: 0.9; }
.footer-contact a { color: rgba(255,255,255,0.9); }
.footer-linkedin { display: inline-block; margin-top: var(--space-sm); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-lg);
}
.footer-bottom .container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.8125rem;
  opacity: 0.8;
}
.footer-bottom a { color: var(--color-white); }
.footer-bottom a:hover { text-decoration: underline; }
.footer-bottom p { margin: 0; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ========== Subpages (Why BSP, Leadership Team) ========== */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-hero-media {
  position: absolute;
  inset: 0;
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.5) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--color-white);
  margin: 0;
  letter-spacing: -0.02em;
}

/* Why BSP: check list (with checkmark) */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
}
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: var(--space-xs);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.125rem;
  height: 1.125rem;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.check-list a { color: var(--color-text); }
.check-list a:hover { color: var(--color-accent); }

/* Why BSP: philosophy section (image left, content right) */
.philosophy-section { background: var(--color-bg); }
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.philosophy-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.philosophy-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
}
.philosophy-list li {
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: var(--space-md);
}
.philosophy-icon {
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--color-accent);
  border-radius: var(--radius);
}
@media (max-width: 768px) {
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-visual { order: -1; }
}

/* Why BSP: video embed */
.video-section { background: var(--color-bg-alt); }
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-bg-dark);
}
.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Why BSP: expertise section */
.expertise-section { background: var(--color-bg); }
.expertise-intro {
  margin: 0 0 var(--space-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg) var(--space-xl);
}
@media (max-width: 900px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .expertise-grid { grid-template-columns: 1fr; }
}

/* Leadership: intro */
.team-intro { padding-bottom: var(--space-lg); }
.text-center { text-align: center; }
.team-intro-title {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Leadership: team grid */
.team-section { background: var(--color-bg-alt); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-xl);
}
.team-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow var(--duration) var(--ease);
}
.team-card:hover { box-shadow: var(--shadow-lg); }
.team-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.team-card-link:hover { color: inherit; }
.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--space-md);
}
.team-name {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 var(--space-xs);
  line-height: 1.3;
}
.team-card-link:hover .team-name { color: var(--color-accent); text-decoration: none; }
.team-role {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-sm);
}
.team-linkedin-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: auto;
}
.team-linkedin-link:hover { text-decoration: underline; }
.team-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ========== Join BSP / Careers ========== */
.careers-section { background: var(--color-bg-alt); }
.careers-intro {
  margin: 0 0 var(--space-xl);
  color: var(--color-text-muted);
  max-width: 60ch;
}
.careers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.career-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.career-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.career-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.career-card-link:hover { color: inherit; }
.career-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.career-card-content {
  padding: var(--space-lg);
}
.career-card-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  line-height: 1.3;
  color: var(--color-text);
}
.career-card-link:hover .career-card-content h3 { color: var(--color-accent); }
.career-card-content p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-sm);
  line-height: 1.5;
}
.career-card-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
}
.career-card-link:hover .career-card-more { text-decoration: underline; }

@media (max-width: 1024px) {
  .careers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .careers-grid { grid-template-columns: 1fr; }
}

/* ========== Connect with BSP / Contact ========== */
.contact-section { background: var(--color-bg-alt); }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}
.contact-card {
  background: var(--color-bg);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: box-shadow var(--duration) var(--ease);
}
.contact-card:hover { box-shadow: var(--shadow-lg); }
.contact-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.contact-card-link:hover { color: inherit; }
.contact-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  line-height: 1;
}
.contact-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 var(--space-xs);
  color: var(--color-text);
}
.contact-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
.contact-card-link:hover h4,
.contact-card-link:hover p { color: var(--color-accent); }
.contact-social {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xl);
}
.contact-social a {
  font-weight: 600;
  font-size: 0.9375rem;
}

.contact-form-section { background: var(--color-bg); }
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.contact-form-intro p { margin: 0 0 var(--space-md); color: var(--color-text-muted); }
.contact-form-wrap {
  background: var(--color-bg-alt);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.contact-form .form-group {
  margin-bottom: var(--space-md);
}
.contact-form .form-group.full-width { grid-column: 1 / -1; }
.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}
.contact-form .required { color: var(--color-accent); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  transition: border-color var(--duration) var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .btn { margin-top: var(--space-sm); }

.contact-map-section { padding: 0; }
.contact-map-wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 40%;
  overflow: hidden;
}
.contact-map-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .contact-cards { grid-template-columns: 1fr; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-map-wrap { padding-bottom: 60%; }
}

/* ========== News ========== */
.news-section { background: var(--color-bg-alt); }
.news-intro {
  margin: 0 0 var(--space-xl);
  color: var(--color-text-muted);
  max-width: 60ch;
}
.juicer-feed {
  min-height: 300px;
}
.juicer-feed .j-paginate {
  margin-top: var(--space-lg);
}

/* ========== What We Do service pages ========== */
.what-we-do-page { background: var(--color-bg-alt); }
.what-we-do-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-2xl);
  align-items: start;
}
.what-we-do-content {
  max-width: 66ch;
}
.what-we-do-featured {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: var(--space-xl);
}
.what-we-do-content p {
  margin: 0 0 var(--space-md);
  color: var(--color-text-muted);
}
.what-we-do-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin: var(--space-xl) 0 var(--space-md);
  color: var(--color-text);
}
.what-we-do-inline-img {
  margin: var(--space-lg) 0;
}
.what-we-do-inline-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.check-list-nested {
  margin-top: var(--space-sm);
  margin-left: var(--space-md);
}
.check-list-nested li::before {
  background: var(--color-text-muted);
  width: 0.5rem;
  height: 0.5rem;
  top: 0.5em;
}

.what-we-do-cta {
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.what-we-do-cta h3 {
  margin: 0 0 var(--space-md);
  font-size: 1.125rem;
}
.what-we-do-cta .btn { margin: 0; }

.what-we-do-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
}
.sidebar-card {
  background: var(--color-bg);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}
.sidebar-card h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}
.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-nav li { margin: 0; }
.sidebar-nav a {
  display: block;
  padding: var(--space-sm) 0;
  font-size: 0.9375rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--duration) var(--ease);
}
.sidebar-nav li:last-child a { border-bottom: none; }
.sidebar-nav a:hover { color: var(--color-accent); text-decoration: none; }
.sidebar-nav a.current { color: var(--color-accent); font-weight: 600; }

@media (max-width: 900px) {
  .what-we-do-grid { grid-template-columns: 1fr; }
  .what-we-do-sidebar { position: static; }
}
