/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #BFA56B;
  --gold-bg: #C9B17B;
  --dark-green: #0C3519; /* CMYK 89/49/76/59 */
  --dark-bg: #58595B;
  --white: #FFFFFF;
  --text-dark: #58595B;
  --text-gray: #888888;
  --text-body: #000000;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Raleway', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== HEADER ===== */
.header {
  background: var(--dark-green);
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-top: 4px solid var(--gold);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 116px;
  padding-bottom: 14px;
  transition: height 0.35s ease, padding-bottom 0.35s ease;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { width: auto; transition: height 0.35s ease; }
.logo .logo-full { height: 76px; display: block; }
.logo .logo-icon { display: none !important; }
/* Bryant Capital Advisors  ×  Bryant-Clay Partners lockup */
.brand-lockup { display: flex; align-items: flex-end; gap: 20px; }
.brand-x { color: rgba(255,255,255,0.5); font-family: var(--font-sans); font-weight: 300; font-size: 22px; line-height: 1; user-select: none; align-self: center; }
.logo-bcp { height: 60px; width: auto; display: block; }
/* Footer partner logo */
.footer-logo { gap: 20px; }
.footer-brand-x { color: rgba(255,255,255,0.4); font-family: var(--font-sans); font-weight: 300; font-size: 26px; line-height: 1; user-select: none; }
.footer-logo-bcp { height: 88px; width: auto; display: block; border-radius: 4px; }
/* Logo and header stay a constant size on scroll */
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 14px;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.nav a:hover, .nav-active { color: var(--gold) !important; }
.nav-divider { color: rgba(255,255,255,0.35); font-size: 14px; font-weight: 300; }
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-caret { font-size: 12px; line-height: 1; transition: transform 0.25s ease; }
.nav-dropdown:hover .nav-caret, .nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.nav-submenu {
  position: absolute; top: 100%; left: 0;
  background: var(--dark-green); min-width: 150px; padding: 6px 0;
  border-top: 2px solid var(--gold); box-shadow: 0 12px 28px rgba(0,0,0,0.28);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 200;
}
.nav-dropdown:hover .nav-submenu, .nav-dropdown:focus-within .nav-submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-submenu a { display: block; padding: 9px 18px; font-size: 15px; white-space: nowrap; }
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--white); transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  background-color: #3a4a3a;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; padding: 0 60px; max-width: 1400px; }
.hero h1 {
  font-family: var(--font-serif);
  color: var(--white);
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-line1 { display: block; font-size: clamp(36px, 5vw, 72px); font-weight: 400; }
.hero-line2 { display: block; font-size: clamp(36px, 5vw, 72px); font-weight: 400; font-style: italic; }

/* ===== RATES BAR ===== */
/* Slim single-line market ticker (not a stats wall) */
.rates-bar { background: var(--dark-green); padding: 15px 40px; }
.rates-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 0; }
.rates-eyebrow {
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase; color: #cbb375;
  margin: 0 28px 0 0; white-space: nowrap;
}
.rates-eyebrow .rates-divider { margin: 0 7px; opacity: 0.5; }
.rates-eyebrow .rates-date { color: #cbb375; font-weight: 600; }
.rates-items {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0;
}
.rate-item {
  display: inline-flex; align-items: baseline; gap: 8px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding: 0 22px; white-space: nowrap;
}
.rate-item + .rate-item { border-left: 1px solid rgba(255,255,255,0.22); }
.rate-item.visible { opacity: 1; transform: translateY(0); }
.rate-item:nth-child(2) { transition-delay: 0.08s; }
.rate-item:nth-child(3) { transition-delay: 0.16s; }
.rate-item:nth-child(4) { transition-delay: 0.24s; }
.rate-name { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #cbb375; font-weight: 700; }
.rate-value { font-family: var(--font-sans); font-size: 16px; color: #ffffff; font-weight: 700; line-height: 1; letter-spacing: -0.2px; }

/* ===== ABOUT / STATS ===== */
.about-section { padding: 100px 40px; background: var(--white); }
.about-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.about-content h2 { font-family: var(--font-serif); font-size: clamp(34px, 4.5vw, 54px); font-weight: 400; color: var(--text-dark); line-height: 1.15; margin: 0 auto 48px; max-width: 22ch; }
.about-content h2 em { color: var(--gold); font-style: italic; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 auto 50px; max-width: 1120px; }
.stat-card { background: var(--dark-bg); color: var(--white); padding: 36px 24px; border-radius: 4px; text-align: center; }
.stat-number { display: block; font-family: var(--font-serif); font-size: clamp(30px, 4.4vw, 52px); font-weight: 400; margin-bottom: 10px; line-height: 1; white-space: nowrap; }
.stat-label { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0.2px; opacity: 0.85; line-height: 1.4; }
.about-text { font-size: 16px; line-height: 1.75; color: var(--text-body); margin: 0 auto 28px; max-width: 720px; }
.learn-more { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 1.4px; color: var(--text-dark); border-bottom: 1.5px solid var(--text-dark); padding-bottom: 3px; transition: color 0.3s, border-color 0.3s; }
.learn-more:hover { color: var(--gold); border-color: var(--gold); }

/* ===== PROPERTIES ===== */
.properties-section { padding: 80px 40px; background: var(--white); }
.properties-header { max-width: 1400px; margin: 0 auto 40px; display: flex; align-items: baseline; gap: 24px; }
.properties-header h2 { font-family: var(--font-serif); font-size: clamp(32px, 4vw, 52px); font-weight: 400; color: var(--text-dark); }
.properties-header h2 em { color: var(--gold); font-style: italic; }
.view-all { font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--text-dark); border-bottom: 2px solid var(--text-dark); padding-bottom: 2px; transition: color 0.3s, border-color 0.3s; }
.view-all:hover { color: var(--gold); border-color: var(--gold); }
.properties-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.property-card { cursor: pointer; transition: transform 0.3s; }
.property-card:hover { transform: translateY(-4px); }
.property-image { position: relative; aspect-ratio: 11/10; overflow: hidden; border-radius: 30px 0px; margin-bottom: 14px; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.property-card:hover .property-image img { transform: scale(1.05); }
.property-tag { position: absolute; top: 12px; left: 12px; background: var(--gold-bg); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 4px 10px; border-radius: 2px; }
.property-card h3 { font-size: 17px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.property-card p { font-size: 14px; color: var(--text-gray); }

/* ===== PLATFORM SECTION ===== */
.platform-section {
  position: relative;
  background-color: var(--gold-bg);
  overflow: hidden;
}
.platform-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%); }
.platform-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; position: relative; z-index: 2; overflow: visible; align-items: center; }
.platform-map { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; overflow: hidden; z-index: 1; pointer-events: none; }
.us-map-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.map-pins { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.map-pins .beacon-dot { fill: #58595B; transform-box: fill-box; transform-origin: center; transform: scale(0); opacity: 0; }
.map-pins .beacon-ping { fill: none; stroke: #58595B; stroke-width: 1; transform-box: fill-box; transform-origin: center; transform: scale(1); opacity: 0; }
.platform-section.pins-in .map-pins .beacon-dot { animation: pinBloop 0.5s cubic-bezier(0.34, 1.7, 0.5, 1) forwards; animation-delay: var(--d, 0s); }
.platform-section.pins-in .map-pins .beacon-ping { animation: beaconPing 2s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes pinBloop {
  0% { transform: scale(0); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes beaconPing {
  0% { transform: scale(0.6); opacity: 0.65; }
  100% { transform: scale(3); opacity: 0; }
}
.map-pins .beacon-label { fill: var(--dark-green); font-family: var(--font-sans); font-size: 9px; font-weight: 600; letter-spacing: 0.2px; opacity: 0; paint-order: stroke; }
.platform-section.pins-in .map-pins .beacon-label { animation: labelIn 0.45s ease forwards; animation-delay: calc(var(--d, 0s) + 0.25s); }
@keyframes labelIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 900px) {
  .platform-map { display: none; }
  .platform-inner { grid-template-columns: 1fr; min-height: 0; }
  .platform-content { grid-column: 1 !important; margin: 40px 20px; padding: 36px 28px; }
}

/* Map animation */
.nc-outline { stroke-dasharray: 8000; stroke-dashoffset: 800; transition: stroke-dashoffset 2s ease-out; }
.nc-lines polyline { stroke-dasharray: 2000; stroke-dashoffset: 200; transition: stroke-dashoffset 1.8s ease-out 0.3s; }
.nc-dot { opacity: 0.3; transition: opacity 1.2s ease; }
.nc-dots circle:not(.nc-dot) { opacity: 0.15; transition: opacity 1.2s ease; }
.nc-map-svg.animated .nc-outline { stroke-dashoffset: 0; }
.nc-map-svg.animated .nc-lines polyline { stroke-dashoffset: 0; }
.nc-map-svg.animated .nc-dot { opacity: 1; filter: drop-shadow(0 0 4px rgba(94,96,101,0.4)); }
.nc-map-svg.animated .nc-dots circle:not(.nc-dot) { opacity: 0.4; }

.platform-content { margin: 70px 50px 70px 0; padding: 46px 44px; background: #f6f3ec; border-radius: 24px 0; box-shadow: 0 22px 50px rgba(0,0,0,0.18); }
.platform-content h2 { font-family: var(--font-serif); font-size: clamp(32px, 4vw, 52px); font-weight: 400; color: var(--dark-green); line-height: 1.15; margin-bottom: 30px; }
.platform-content h2 em { font-style: italic; color: var(--gold); }
.platform-content h2 span { display: block; }
.platform-content p { font-size: 14px; line-height: 1.8; color: var(--text-dark); margin-bottom: 20px; }

/* ===== FOOTER ===== */
.footer { background: var(--white); color: var(--text-dark); padding: 40px 40px 0; border-top: 1px solid rgba(0,0,0,0.06); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px 32px; }
.footer-logo { display: flex; align-items: center; }
.footer-logo-img { height: 88px; width: auto; transition: transform 0.4s ease, opacity 0.3s; }
.footer-logo-img:hover { transform: scale(1.03); opacity: 0.85; }
.footer-social { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-social-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); text-align: center; line-height: 1.5; }
.footer-social-icons { display: flex; gap: 16px; align-items: center; }
.footer-social-icons .social-icon { display: inline-flex; align-items: center; color: var(--text-gray); transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease; }
.footer-social-icons .social-icon svg { width: 22px; height: 22px; }
.footer-social-icons .social-icon img { height: 20px; width: auto; display: block; }
.footer-social-icons a[aria-label="Crexi profile"] img { height: 13px; }
.footer-social-icons a.social-icon:hover { color: var(--gold); opacity: 0.7; transform: scale(1.06); }
.linkedin-icon {
  display: inline-flex; align-items: center;
  color: var(--text-gray);
  transition: color 0.3s ease, transform 0.3s ease;
}
.linkedin-icon svg { width: 22px; height: 22px; }
.linkedin-icon:hover { color: var(--gold); transform: translateY(-2px); }
.footer-logo { order: 1; grid-column: 1; grid-row: 1; justify-self: start; }
.footer-nav { order: 2; grid-column: 2; grid-row: 1; justify-self: center; }
.footer-social { order: 3; grid-column: 2; grid-row: 2; justify-self: center; }
.linkedin-icon:hover { color: var(--gold); transform: scale(1.1); }
.footer-nav { display: flex; flex-direction: row; gap: 28px; align-items: center; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 14px; font-weight: 500; color: var(--text-dark); transition: color 0.3s; letter-spacing: 0.4px; text-transform: uppercase; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { max-width: 1200px; margin: 32px auto 0; padding: 20px 0; border-top: 1px solid rgba(0,0,0,0.08); text-align: center; }
.footer-bottom p { font-size: 12px; color: var(--text-gray); letter-spacing: 0.3px; }

/* ===== PAGE STYLES ===== */
.page-content { max-width: 900px; margin: 0 auto; padding: 80px 40px; }
.page-content h1 { font-family: var(--font-serif); font-size: clamp(40px, 5vw, 64px); font-weight: 400; color: var(--dark-green); margin-bottom: 30px; }
.page-content h1 em { color: var(--gold); font-style: italic; }
.page-content p { font-size: 16px; line-height: 1.8; color: var(--text-body); margin-bottom: 20px; }
.page-content h2 { font-family: var(--font-serif); font-size: clamp(28px, 3.5vw, 44px); font-weight: 400; color: var(--dark-green); margin: 50px 0 20px; }
.page-content h2 em { color: var(--gold); font-style: italic; }
.page-content h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 400; color: var(--dark-green); margin: 30px 0 12px; }
.page-content h3 em { color: var(--gold); font-style: italic; }

/* Services list */
.services-list { list-style: none; margin: 20px 0 40px; padding: 0; }
.services-list li { padding: 8px 0; font-size: 16px; color: var(--text-dark); border-bottom: 1px solid rgba(0,0,0,0.06); padding-left: 16px; position: relative; }
.services-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

/* About page values grid */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 50px 0; background: #f6f3ec; padding: 52px 44px; border-radius: 24px 0; box-shadow: 0 18px 44px rgba(0,0,0,0.10); }
.value-card {
  text-align: center;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.value-card.visible { opacity: 1; transform: translateY(0); }
.value-card:nth-child(1) { transition-delay: 0s; }
.value-card:nth-child(2) { transition-delay: 0.12s; }
.value-card:nth-child(3) { transition-delay: 0.24s; }
.value-card:nth-child(4) { transition-delay: 0.36s; }
.value-card .value-icon-svg {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.value-card:hover .value-icon-svg {
  transform: translateY(-6px) scale(1.08);
}
.value-icon { width: 60px; height: 60px; margin: 0 auto 16px; opacity: 0.7; }
.value-card h4 { font-family: var(--font-serif); font-size: 20px; font-weight: 400; color: var(--dark-green); margin-bottom: 8px; transition: color 0.3s ease; }
.value-card:hover h4 { color: var(--gold); }
.value-card p { font-size: 14px; line-height: 1.6; color: var(--text-gray); }

/* Value icon SVG animations */
.value-icon-svg { width: 60px; height: 60px; margin: 0 auto 16px; display: block; }
.value-icon-svg path, .value-icon-svg circle, .value-icon-svg line, .value-icon-svg polyline, .value-icon-svg ellipse, .value-icon-svg rect {
  fill: none; stroke: #BFA56B; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset 1.2s ease-out;
}
.value-icon-svg.animated path, .value-icon-svg.animated circle, .value-icon-svg.animated line, .value-icon-svg.animated polyline, .value-icon-svg.animated ellipse, .value-icon-svg.animated rect {
  stroke-dashoffset: 0;
}

/* Deal Spotlight */
.deal-spotlight { background: #f5f3ef; padding: 80px 40px; margin: 0; position: relative; overflow: visible; }
.deal-spotlight-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.deal-spotlight-image { position: relative; transform: translateY(-20px); }
.deal-spotlight-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 30px 0px; box-shadow: 0 16px 40px rgba(0,0,0,0.15); }
.deal-spotlight-image, .deal-spotlight-text { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.deal-spotlight-image.visible, .deal-spotlight-text.visible { opacity: 1; transform: translateY(0); }
.deal-spotlight-text.visible { transition-delay: 0.15s; }
.deal-spotlight-text h2 { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 38px); font-weight: 400; margin-bottom: 20px; margin-top: 0; color: var(--dark-green); white-space: nowrap; }
.deal-spotlight-text h2 em { color: var(--gold); font-style: italic; }
.deal-spotlight-text p { font-size: 15px; line-height: 1.8; color: var(--text-body); margin-bottom: 16px; }
.deal-spotlight-text .button-text { color: var(--dark-green); font-weight: 700; font-size: 14px; letter-spacing: 1px; border-bottom: 2px solid var(--gold); padding-bottom: 2px; transition: color 0.3s, border-color 0.3s; }
.deal-spotlight-text .button-text:hover { color: var(--gold); }

/* Team page */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 260px)); justify-content: center; gap: 50px 24px; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.team-grid.team-grid-3 { grid-template-columns: repeat(3, minmax(180px, 260px)); }
.team-grid.team-grid-4 { grid-template-columns: repeat(4, minmax(160px, 260px)); }
@media (max-width: 980px) { .team-grid.team-grid-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 260px)); } }
@media (max-width: 768px) { .team-grid.team-grid-3 { grid-template-columns: repeat(auto-fit, minmax(180px, 260px)); } }
.team-card { cursor: pointer; }
.team-card-inner { position: relative; overflow: hidden; border-radius: 30px 0px; }
.team-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 12%; transform: scale(1.12); transform-origin: center top; border-radius: 30px 0px; filter: grayscale(100%); transition: filter 0.4s; margin-bottom: 0; display: block; }
.team-card:hover .team-photo { filter: grayscale(0%); }
/* Placeholder grey box for a team member whose photo isn't in yet */
.team-photo-empty { transform: none; filter: none; background: #c9ccce; }
.team-info { padding: 16px 4px 0; text-align: center; }
.team-info h3, .bio-overlay h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 400; color: var(--text-dark); margin-bottom: 2px; }
.team-info h3 span, .bio-overlay h3 span { color: var(--gold); }
.team-info .job-title, .bio-overlay .job-title { font-style: italic; font-size: 15px; color: var(--text-gray); margin-bottom: 12px; }
.team-info .contact-info, .bio-overlay .contact-info { font-size: 14px; color: var(--text-dark); }
.team-info .contact-info a, .bio-overlay .contact-info a { display: block; margin-bottom: 2px; transition: color 0.3s; }
.team-info .contact-info a:hover, .bio-overlay .contact-info a:hover { color: var(--gold); }

/* Bio overlay — slides over photo */
.bio-overlay {
  position: absolute; top: 0; right: 0; width: 0; height: 100%;
  background: var(--dark-bg); color: var(--white); z-index: 10;
  border-radius: 30px 0px; overflow: hidden; opacity: 0;
  pointer-events: none;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.bio-overlay.open {
  position: fixed; top: 50%; left: 50%; right: auto; bottom: auto;
  transform: translate(-50%, -50%);
  width: min(540px, 92vw); max-height: 88vh; height: auto;
  padding: 36px 40px 32px; opacity: 1;
  overflow-y: auto;
  border-radius: 30px 0px;
  z-index: 1001;
  pointer-events: auto;
  animation: bioModalIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: grid;
  grid-template-columns: 180px 1fr;
  column-gap: 24px;
  row-gap: 4px;
  align-items: start;
}
@keyframes bioModalIn {
  from { opacity: 0; transform: translate(-50%, -46%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
.bio-overlay.open .bio-photo-clone {
  grid-column: 1; grid-row: 1 / span 2;
  width: 180px; height: 220px; aspect-ratio: auto;
  object-fit: cover; object-position: center 18%;
  border-radius: 20px 0 0 0;
  filter: none;
  transform: none !important;
  display: block;
  margin: 0;
}
.bio-overlay.open .bio-photo-clone[alt^="Watson"] { object-position: center 8%; }
.bio-overlay.open .bio-photo-clone[alt^="Jake"] { object-position: center 12%; }
.bio-overlay.open .bio-photo-clone[alt^="Sally"] { object-position: center 32%; }
.bio-overlay.open .bio-photo-clone[alt^="Conner"] { object-position: center 18%; }
.bio-overlay.open .bio-photo-clone[alt^="Carolyn"] { object-position: center 18%; }
.bio-overlay.open .bio-photo-clone[alt^="Sam"] { object-position: center 18%; }
.bio-overlay.open .bio-photo-clone[alt^="Rocco"] { object-position: center 18%; }
.bio-overlay.open .bio-photo-clone[alt^="Andrew"] { object-position: center 18%; }
.bio-overlay.open .bio-photo-clone[alt^="Michael"] { object-position: center 18%; }
.bio-overlay.open h3 { grid-column: 2; grid-row: 1; align-self: end; padding: 0; margin: 0; font-size: 28px; line-height: 1.2; white-space: normal; }
.bio-overlay.open .job-title { grid-column: 2; grid-row: 2; align-self: start; padding: 0; margin: 4px 0 0; }
.bio-overlay.open .bio-text { grid-column: 1 / -1; grid-row: 3; padding: 0; margin: 24px 0 0; }
.bio-overlay.open .contact-info { grid-column: 1 / -1; grid-row: 4; padding: 14px 0 0; margin: 14px 0 0; }
.bio-overlay.open .bio-close { position: absolute; top: 14px; right: 16px; }
@media (max-width: 720px) {
  .bio-overlay.open { grid-template-columns: 1fr; padding: 28px 24px; }
  .bio-overlay.open .bio-photo-clone { grid-row: 1; grid-column: 1; width: 160px; height: 200px; margin: 0 auto 8px; }
  .bio-overlay.open h3 { grid-row: 2; grid-column: 1; text-align: center; align-self: auto; }
  .bio-overlay.open .job-title { grid-row: 3; grid-column: 1; text-align: center; }
  .bio-overlay.open .bio-text { grid-row: 4; }
  .bio-overlay.open .contact-info { grid-row: 5; }
}
.bio-overlay h3 { font-size: 30px; color: var(--white); margin-bottom: 4px; white-space: normal; line-height: 1.2; }
.bio-overlay h3 span { color: var(--gold); }
.bio-overlay .job-title { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.bio-overlay .bio-text { margin: 14px 0; }
.bio-overlay .bio-text p { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.92); margin-bottom: 14px; }
.bio-overlay .contact-info { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.18); font-size: 14px; }
body.bio-open { overflow: hidden; }
body.bio-open::before {
  content: ''; position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.32); z-index: 1000;
  animation: bioBackdropIn 0.3s ease;
}
@keyframes bioBackdropIn { from { opacity: 0; } to { opacity: 1; } }
.bio-overlay .contact-info a { color: rgba(255,255,255,0.8); }
.bio-overlay .contact-info a:hover { color: var(--gold); }
.bio-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 24px; color: rgba(255,255,255,0.6); cursor: pointer; line-height: 1; padding: 4px; transition: color 0.3s; z-index: 11; }
.bio-close:hover { color: var(--white); }

.team-group-photo { max-width: 520px; margin: 50px auto 0; padding: 0 40px; }
.team-group-photo img { width: 100%; border-radius: 30px 0px; }

/* Work With Us CTA */
.work-cta { max-width: 880px; margin: 70px auto; padding: 16px 40px 56px; background: transparent; border: none; border-top: 1px solid rgba(1,57,44,0.14); border-radius: 0; text-align: center; }
.work-cta h2 { font-family: var(--font-serif); font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; color: var(--dark-green); margin-top: 44px; margin-bottom: 14px; }
.work-cta h2 em { color: var(--gold); font-style: italic; }
.work-cta p { font-size: 15px; line-height: 1.7; color: var(--text-body); margin-bottom: 24px; max-width: 620px; margin-left: auto; margin-right: auto; }
.work-cta .button-text { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; letter-spacing: 1px; color: var(--dark-green); border-bottom: 2px solid var(--gold); padding-bottom: 3px; transition: color 0.3s, border-color 0.3s; }
.work-cta .button-text::after { content: "\2192"; font-size: 17px; line-height: 1; transition: transform 0.3s ease; }
.work-cta .button-text:hover { color: var(--gold); border-color: var(--gold); }
.work-cta .button-text:hover::after { transform: translateX(7px); }

/* Contact form */
.contact-form { max-width: 600px; margin: 40px auto 0; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--text-dark); margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: 2px; font-family: var(--font-sans); font-size: 15px; transition: border-color 0.3s; background: var(--white); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { min-height: 140px; resize: vertical; }
.submit-btn { display: inline-block; background: var(--dark-bg); color: var(--white); padding: 14px 36px; border: none; font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: 1px; cursor: pointer; transition: background 0.3s; border-radius: 2px; }
.submit-btn:hover { background: var(--gold); }

.content-divider { max-width: 1400px; margin: 0 auto; border: none; border-top: 1px solid rgba(0,0,0,0.08); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-inner { grid-template-columns: 1fr; }
  .platform-map { display: none; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { gap: 40px 24px; }
}

@media (max-width: 768px) {
  .header { padding: 0 20px; }
  .header-inner { height: 70px; }
  .logo .logo-full { height: 48px; }
  .header.scrolled .logo-icon { height: 38px; }
  /* Header too tight for both wordmarks on phones — show BCA only; partnership still shown in footer */
  .brand-lockup { gap: 0; }
  .brand-x, .logo-bcp { display: none; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--dark-bg); flex-direction: column; padding: 20px; gap: 0; }
  .nav.nav-open { display: flex; }
  .nav-divider { display: none; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; }
  .nav-dropdown { display: block; width: 100%; }
  .nav-caret { display: inline-block; margin-left: auto; }
  .nav-dropdown > a { justify-content: space-between; }
  .nav-dropdown.open .nav-caret { transform: rotate(180deg); }
  .nav-submenu { position: static; display: none; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; border-top: none; padding: 0; min-width: 0; }
  .nav-dropdown.open .nav-submenu { display: block; }
  .nav-submenu a { padding-left: 16px; }
  .mobile-menu-btn { display: flex; }
  .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translateY(5px); }
  .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
  .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translateY(-5px); }
  .hero { min-height: 400px; padding-bottom: 40px; }
  .hero-content { padding: 0 20px; }
  .rates-bar { padding: 14px 18px; }
  .rates-eyebrow { width: 100%; text-align: center; margin: 0 0 8px; }
  .rates-items { gap: 8px 0; }
  .rate-item { padding: 0 14px; }
  .rate-value { font-size: 15px; }
  .about-section, .properties-section { padding: 60px 20px; }
  .stat-card { padding: 28px 12px; }
  .stat-number { font-size: clamp(22px, 6.4vw, 32px); }
  .properties-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 14px; }
  .property-image { border-radius: 18px 0; margin-bottom: 10px; }
  .property-card h3 { font-size: 14px; line-height: 1.3; margin-bottom: 2px; }
  .property-card p { font-size: 12px; }
  .property-tag { font-size: 9px; padding: 3px 7px; top: 8px; left: 8px; letter-spacing: 0.5px; }
  .properties-header { flex-direction: column; gap: 12px; }
  .platform-section { overflow: hidden; }
  .platform-map { display: block; width: 100%; left: 0; right: 0; }
  .us-map-img { object-position: center 38%; }
  .platform-inner { grid-template-columns: 1fr; min-height: 480px; }
  .platform-content {
    grid-column: 1 !important;
    margin: 44px auto;
    width: calc(100% - 40px);
    max-width: 460px;
    padding: 36px 26px;
    background: rgba(246, 243, 236, 0.86);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  .footer { padding: 36px 20px 0; }
  .footer-logo-img { height: 72px; }
  .footer-logo-bcp { height: 72px; }
  .footer-brand-x { font-size: 22px; }
  .footer-inner { display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
  .footer-nav { gap: 18px; }
  .page-content { padding: 50px 20px; }
  .values-grid { grid-template-columns: 1fr; gap: 24px; }
  .team-grid { padding: 0 20px; }
  .team-group-photo { padding: 0 20px; }
  .work-cta { padding: 40px 20px; margin: 40px 20px; }
  .deal-spotlight { margin: 0; padding: 40px 20px; }
  .deal-spotlight-inner { grid-template-columns: 1fr; gap: 30px; }
  .deal-spotlight-image { transform: none; }
  .deal-spotlight-text h2 { white-space: normal; }
}

/* ===== TEAM SWITCHER (two teams, one platform) — styled like the home "Our Services" cards ===== */
.team-switch-wrap { max-width: 960px; margin: 10px auto 12px; padding: 0 40px; }
.team-switch { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.team-switch-btn {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--white); padding: 46px 32px; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 4px; cursor: pointer;
  transition: border-color .35s ease, background .35s ease, transform .35s ease, box-shadow .35s ease;
}
.team-switch-btn:hover { border-color: var(--gold); box-shadow: 0 14px 28px rgba(0,0,0,0.08); transform: translateY(-4px); }
.team-switch-icon {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 24px;
  transition: transform .4s cubic-bezier(0.34, 1.56, 0.64, 1), color .35s ease;
}
.team-switch-btn:hover .team-switch-icon { transform: translateY(-4px); }
.team-switch-icon img { height: 62px; width: auto; display: block; transition: filter .35s ease, opacity .35s ease; }
.team-switch-text { display: flex; flex-direction: column; align-items: center; }
.team-switch-name { font-family: var(--font-serif); font-size: 27px; font-weight: 400; line-height: 1.2; color: var(--dark-green); transition: color .35s ease; }
.team-switch-desc { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-gray); margin-top: 13px; transition: color .35s ease; }
/* Selected team — gold accent, never green */
.team-switch-btn.active { border-color: var(--gold); background: rgba(191,165,107,0.07); box-shadow: 0 12px 30px rgba(191,165,107,0.16); }
.team-switch-btn.active .team-switch-desc { color: var(--gold); }
/* The team you're NOT on greys out, so the active one clearly stands out */
.team-switch-btn:not(.active) { background: #f4f4f3; }
.team-switch-btn:not(.active) .team-switch-icon { color: #bcbfc1; }
.team-switch-btn:not(.active) .team-switch-icon img { filter: grayscale(100%); opacity: 0.5; }
.team-switch-btn:not(.active) .team-switch-name { color: #9a9c9e; }
.team-switch-btn:not(.active) .team-switch-desc { color: #bcbec0; }
/* Hover restores colour to signal the greyed team is still clickable */
.team-switch-btn:not(.active):hover .team-switch-icon { color: var(--gold); }
.team-switch-btn:not(.active):hover .team-switch-icon img { filter: none; opacity: 1; }
.team-switch-btn:not(.active):hover .team-switch-name { color: var(--dark-green); }
.team-switch-btn:not(.active):hover .team-switch-desc { color: var(--text-gray); }

.team-panel { display: none; }
.team-panel.active { display: block; }
.team-panel:not(.active) { pointer-events: none; }

@media (max-width: 768px) {
  .team-switch-wrap { padding: 0 20px; }
  .team-switch { gap: 14px; }
  .team-switch-btn { padding: 30px 20px; }
  .team-switch-icon svg { width: 46px; height: 46px; }
  .team-switch-icon { margin-bottom: 16px; }
  .team-switch-name { font-size: 21px; }
  .team-switch-desc { font-size: 11px; margin-top: 9px; }
}

/* ===== TEAM SECTION HEADINGS ===== */
.team-section { max-width: 1400px; margin: 0 auto 60px; padding: 0 40px; }
.team-section-heading {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 48px 0 28px;
  text-align: center;
  position: relative;
  padding-bottom: 16px;
}
.team-section-heading::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 36px; height: 1px; background: var(--gold);
}
.team-section .team-grid { padding: 0; margin: 0 auto; }
@media (max-width: 768px) {
  .team-section { padding: 0 20px; margin-bottom: 40px; }
  .team-section-heading { margin-top: 32px; }
  /* Two headshots per row on mobile, smaller cards */
  .team-grid, .team-grid.team-grid-3, .team-grid.team-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .team-info { padding: 12px 2px 0; }
  .team-info h3 { font-size: 17px; }
  .team-info .job-title { font-size: 13px; margin-bottom: 8px; }
  .team-info .contact-info a { font-size: 11px; overflow-wrap: break-word; }
}

/* ===== HOVER POLISH ===== */
.property-card { cursor: pointer; transition: transform 0.4s ease; }
.property-card:hover { transform: translateY(-6px); }
.property-card .property-image { overflow: hidden; }
.property-card .property-image img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.property-card:hover .property-image img { transform: scale(1.06); }
.property-card h3 { transition: color 0.3s ease; }
.property-card:hover h3 { color: var(--gold); }

.stat-card { transition: transform 0.4s ease; }
.stat-card:hover { transform: translateY(-3px); }
.stat-card .stat-number { transition: color 0.3s ease; display: inline-block; }
.stat-card:hover .stat-number { color: var(--gold); }

.team-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.6s ease;
}
.team-card.visible { opacity: 1; transform: translateY(0); }
.team-card.visible:hover { transform: translateY(-4px); }
.team-section .team-grid .team-card:nth-child(2) { transition-delay: 0.08s; }
.team-section .team-grid .team-card:nth-child(3) { transition-delay: 0.16s; }
.team-section .team-grid .team-card:nth-child(4) { transition-delay: 0.24s; }
.team-info h3 { transition: color 0.3s ease; }
.team-card:hover .team-info h3 { color: var(--gold); }

.nav a { transition: color 0.3s ease; }
.nav a:hover { color: var(--gold); }

.button-text, .learn-more, .view-all {
  position: relative;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}
.button-text:hover, .learn-more:hover, .view-all:hover {
  color: var(--gold);
  letter-spacing: 0.18em;
}

/* ===== OFFICES (about page) ===== */
.offices-section { padding: 80px 40px; background: #faf8f2; }
.offices-inner-wide { max-width: 1100px; margin: 0 auto; text-align: center; }
.offices-eyebrow {
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px; display: block;
}
.offices-h2 {
  font-family: var(--font-serif); font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400; color: var(--dark-green); margin-bottom: 36px; line-height: 1.2;
}
.offices-h2 em { color: var(--gold); font-style: italic; }
.office-pin {
  width: 22px; height: 22px; display: block; margin: 0 auto 14px;
  fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.office:hover .office-pin { transform: translateY(-3px); }
.offices-grid {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 24px;
}
.offices-grid .office { width: 280px; }
.office {
  padding: 28px 26px; background: var(--white);
  border: 1px solid rgba(0,0,0,0.08); border-radius: 4px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.office:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}
.office-tag {
  font-family: var(--font-sans); font-size: 10px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.office h3 {
  font-family: var(--font-serif); font-size: 26px; font-weight: 400;
  color: var(--dark-green); margin-bottom: 6px; line-height: 1.2;
}
.office-region { font-size: 14px; color: var(--text-gray); }
@media (max-width: 768px) {
  .offices-grid .office { width: 100%; max-width: 320px; }
}

/* ===== SPLASH SCREEN ===== */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--dark-green);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-content {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; padding: 0 24px;
}
.splash-logo-mark {
  position: relative;
  width: 360px; max-width: 78vw;
  aspect-ratio: 168.19 / 80.4;
  opacity: 0; transform: translateY(10px);
  animation: splashLogoIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
.splash-logo-mark img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
}
.splash-logo-watermark { opacity: 0.18; filter: grayscale(1) brightness(2); }
.splash-logo-real {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.7s cubic-bezier(0.65, 0, 0.35, 1) 0.25s;
}
.splash.is-filling .splash-logo-real { clip-path: inset(0 0 0 0); }

.splash-progress {
  width: 240px; max-width: 60vw; height: 1px;
  background: rgba(255, 255, 255, 0.14);
  position: relative; overflow: hidden;
  opacity: 0;
  animation: splashFadeIn 0.6s ease 0.35s forwards;
}
.splash-progress::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.7s cubic-bezier(0.65, 0, 0.35, 1) 0.25s;
}
.splash.is-filling .splash-progress::after { transform: scaleX(1); }

.splash-tagline {
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  animation: splashFadeIn 0.7s ease 0.5s forwards;
  text-align: center; margin: 0;
}
.splash-tagline .splash-dot { color: var(--gold); margin: 0 8px; }

@keyframes splashFadeIn { to { opacity: 1; } }
@keyframes splashLogoIn { to { opacity: 1; transform: translateY(0); } }
body.splash-locked { overflow: hidden; }
