/* ===========================================================
   Bridge Capital Partners — Stylesheet
   =========================================================== */

:root{
  --bg: #0b1420;
  --bg-soft: #0f1a2b;
  --navy: #16233f;
  --panel: #16233f40;
  --panel-solid: #16233f;
  --panel-border: rgba(232,237,245,0.10);
  --ice: #e8edf5;
  --gold: #b9975b;
  --gold-dim: #b9975b99;
  --cyan: #b9975b;      /* legacy variable name kept for compatibility, mapped to brand gold */
  --cyan-dim: #b9975b99;
  --text: #e8edf5;
  --text-muted: #9aa8c2;
  --text-dim: #66708a;
  --font-head: 'Montserrat', 'Century Gothic', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --container: 1180px;
  --radius: 14px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family: var(--font-head); font-weight:600; margin:0; letter-spacing:-0.01em; }
h1,h2{ font-weight:300; letter-spacing:-0.01em; }
h3,h4{ font-weight:500; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12.5px;
  font-weight:600;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color: var(--cyan);
  margin-bottom:20px;
}
.eyebrow::before{
  content:"";
  width:26px;
  height:1px;
  background: var(--cyan);
  display:inline-block;
}

.section{
  position:relative;
  padding: 128px 0;
  border-top: 1px solid var(--panel-border);
}
.section-head{
  max-width: 660px;
  margin-bottom: 64px;
}
.section-head h2{
  font-size: clamp(28px, 3.6vw, 42px);
  line-height:1.15;
  margin-bottom:20px;
}
.section-head p{
  color: var(--text-muted);
  font-size:17px;
  max-width: 580px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center .eyebrow::before{ display:none; }
.section-head.center p{ margin:0 auto; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size:14.5px;
  font-weight:600;
  letter-spacing:0.02em;
  border:1px solid transparent;
  transition: all .2s ease;
  white-space:nowrap;
}
.btn-primary{
  background: var(--text);
  color: #080d1c;
}
.btn-primary:hover{ background: var(--cyan); }
.btn-ghost{
  border-color: rgba(255,255,255,0.22);
  color: var(--text);
}
.btn-ghost:hover{ border-color: var(--cyan); color: var(--cyan); }

/* ---------- Header ---------- */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 100;
  padding: 22px 0;
  transition: all .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled{
  background: rgba(7,10,22,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--panel-border);
  padding: 16px 0;
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:28px; width:auto; }
.brand-word{ display:flex; flex-direction:column; line-height:1; }
.brand-word b{ font-family: var(--font-head); font-size:16px; letter-spacing:0.09em; font-weight:600; }
.brand-word span{ font-size:9px; letter-spacing:0.19em; color: var(--text-dim); margin-top:4px; }

.nav-links{ display:flex; align-items:center; gap:38px; }
.nav-links a{
  font-size:14px;
  font-weight:500;
  color: var(--text-muted);
  transition: color .2s ease;
}
.nav-links a:hover{ color: var(--text); }
.nav-cta{ display:flex; align-items:center; gap:22px; }

.lang-switch{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  font-weight:600;
  letter-spacing:0.02em;
}
.lang-switch .lang-sep{ color: var(--text-dim); font-weight:500; }
.lang-btn{
  background:transparent;
  border:1px solid transparent;
  color: var(--text-dim);
  padding:6px 9px;
  border-radius:999px;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.lang-btn:hover{ color: var(--text); }
.lang-btn.active{
  color: var(--text);
  background: rgba(232,237,245,0.08);
  border-color: var(--panel-border);
}

.nav-toggle{
  display:none;
  width:40px; height:40px;
  border:1px solid var(--panel-border);
  border-radius:10px;
  background:transparent;
  align-items:center; justify-content:center;
  color: var(--text);
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height: 100vh;
  display:flex;
  align-items:center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow:hidden;
  background:
    radial-gradient(ellipse 60% 50% at 82% 8%, rgba(62,203,236,0.16), transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 100%, rgba(201,162,39,0.10), transparent 60%),
    linear-gradient(180deg, #050813 0%, #070a16 55%, #0a1024 100%);
}
#network-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  opacity:0.55;
}
.hero .container{
  position:relative;
  z-index:2;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1fr 3.2fr;
  gap: 20px;
  align-items:start;
}
.hero-inner{ max-width: 620px; }

/* ---------- Hero map ----------
   Decoupled from hero-grid entirely (it's now a sibling of hero-grid inside
   .container, not a grid item), so its size has zero effect on hero-grid's
   row height, hero-inner's width, or the hero's overall height/centering.
   Sized primarily by height (width:auto derives proportionally from the
   1341x1070 source), anchored top+right so its top edge and right edge stay
   fixed while it grows purely downward/outward. */
.hero-map{
  position:absolute;
  top:0;
  right:12px;
  z-index:0;
  pointer-events:none;
}
.hero-map img{ height:583px; width:auto; max-width:none; display:block; }
.hero h1{
  font-size: clamp(38px, 5.6vw, 68px);
  line-height:1.06;
  margin-bottom:28px;
}
.hero h1 em{
  font-style:normal;
  background: linear-gradient(90deg, #ffffff, var(--cyan));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero .lede{
  font-size:19px;
  color: var(--text-muted);
  max-width:620px;
  margin-bottom:44px;
}
.hero-actions{ display:flex; gap:16px; margin-bottom:72px; flex-wrap:wrap; }

.scroll-cue{
  position:absolute;
  bottom: 36px;
  left:50%;
  transform: translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  color: var(--text-dim);
  font-size:11px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  z-index:2;
}
.scroll-cue .line{
  width:1px; height:34px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scrolldrop 1.8s ease-in-out infinite;
}
@keyframes scrolldrop{
  0%{ transform: scaleY(0); transform-origin: top; opacity:0; }
  40%{ transform: scaleY(1); transform-origin: top; opacity:1;}
  60%{ transform: scaleY(1); transform-origin: bottom; opacity:1;}
  100%{ transform: scaleY(0); transform-origin: bottom; opacity:0;}
}

/* ---------- Strategy cards ---------- */
.strategy-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:24px;
}
.strategy-card{
  background: var(--panel);
  border:1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 34px 30px;
  position:relative;
  transition: transform .25s ease, border-color .25s ease;
}
.strategy-card:hover{ transform: translateY(-4px); border-color: var(--cyan-dim); }
.strategy-card .num{
  font-family: var(--font-head);
  color: var(--text-dim);
  font-size:13px;
  letter-spacing:0.1em;
  margin-bottom:22px;
  display:block;
}
.strategy-card h3{ font-size:21px; margin-bottom:6px; }
.strategy-card .kicker{
  color: var(--cyan);
  font-size:13px;
  font-weight:600;
  letter-spacing:0.03em;
  margin-bottom:16px;
  display:block;
}
.strategy-card p{ color: var(--text-muted); font-size:14.5px; }

/* ---------- Team ---------- */
.team-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}
.team-card{
  cursor:pointer;
  text-align:left;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}
.team-photo{
  width:100%;
  aspect-ratio: 1/1.05;
  border-radius: var(--radius);
  overflow:hidden;
  background: transparent;
  margin-bottom:18px;
  position:relative;
}
.team-photo img{
  width:100%; height:100%; object-fit:cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter .3s ease, transform .4s ease;
}
.team-card:hover .team-photo img{ filter: grayscale(0.2) contrast(1.05); transform: scale(1.03); }

.team-photo .expand-hint{
  position:absolute; right:12px; bottom:12px;
  width:30px; height:30px;
  border-radius:50%;
  background: rgba(7,10,22,0.75);
  border:1px solid rgba(255,255,255,0.18);
  display:flex; align-items:center; justify-content:center;
  color:var(--text);
  font-size:16px;
  backdrop-filter: blur(4px);
}
.team-card h3{ font-size:16.5px; margin-bottom:2px; color: #ffffff; }
.team-card .role{ color: var(--cyan); font-size:13px; font-weight:600; display:block;}

/* Team modal */
.modal-overlay{
  position:fixed; inset:0; z-index:200;
  background: rgba(4,6,14,0.78);
  backdrop-filter: blur(4px);
  display:flex; align-items:center; justify-content:center;
  padding: 24px;
  opacity:0; pointer-events:none;
  transition: opacity .25s ease;
}
.modal-overlay.active{ opacity:1; pointer-events:auto; }
.modal{
  background: var(--panel-solid);
  border:1px solid var(--panel-border);
  border-radius: 20px;
  max-width: 640px;
  width:100%;
  max-height: 84vh;
  overflow-y:auto;
  padding: 40px 40px 76px;
  position:relative;
  transform: translateY(16px);
  transition: transform .25s ease;
}
.modal-overlay.active .modal{ transform: translateY(0); }
.modal-close{
  position:absolute; top:20px; right:20px;
  width:36px; height:36px;
  border-radius:50%;
  border:1px solid var(--panel-border);
  background:transparent;
  color: var(--text);
  display:flex; align-items:center; justify-content:center;
  font-size:18px;
}
.modal-head{ display:flex; gap:20px; margin-bottom:26px; align-items:center; }
.modal-linkedin{
  position:absolute;
  bottom:20px; right:20px;
  flex-shrink:0;
  width:38px; height:38px;
  border-radius:50%;
  border:1px solid var(--panel-border);
  background: var(--panel-solid);
  display:flex; align-items:center; justify-content:center;
  color: var(--text-muted);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.modal-linkedin:hover{ color: var(--cyan); border-color: var(--cyan); background: rgba(185,151,91,0.08); }
.modal-linkedin svg{ width:18px; height:18px; }
.modal-head img{ width:84px; height:84px; border-radius:14px; object-fit:cover; filter:grayscale(1); }
.modal-head h3{ font-size:22px; margin-bottom:4px; }
.modal-head .role{ color:var(--cyan); font-size:14px; font-weight:600; }
.modal-section{ margin-bottom:22px; }
.modal-section:last-child{ margin-bottom:0; }
.modal-section h4{
  font-size:11.5px; text-transform:uppercase; letter-spacing:0.12em;
  color: var(--text-dim); margin-bottom:10px; font-family:var(--font-body); font-weight:600;
}
.modal-section p{ color: var(--text-muted); font-size:14.5px; line-height:1.7; }
.tag-row{ display:flex; flex-wrap:wrap; gap:8px; }
.tag{
  font-size:12.5px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid var(--panel-border);
  color: var(--text-muted);
}

/* ---------- Companies / logo grid ---------- */
.company-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:1px;
  background: var(--panel-border);
  border:1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow:hidden;
}
.company-logo{
  background: rgba(232,237,245,0.02);
  aspect-ratio: 16/9;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 28px 32px;
  transition: background .2s ease;
}
.company-logo:hover{ background: rgba(232,237,245,0.05); }
.company-logo a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
}
.company-logo img{
  max-width:100%;
  max-height:38px;
  width:auto;
  height:auto;
  filter: brightness(0) invert(1) opacity(0.72);
  transition: filter .2s ease, opacity .2s ease;
}
.company-logo:hover img{ filter: brightness(0) invert(1) opacity(1); }
.company-logo img.logo-lg{ max-height:54px; }

/* ---------- Contact / CTA ---------- */
.cta-panel{
  border-radius: 24px;
  padding: 72px 64px;
  background:
    radial-gradient(ellipse 70% 100% at 20% 0%, rgba(62,203,236,0.14), transparent 60%),
    radial-gradient(ellipse 60% 100% at 100% 100%, rgba(201,162,39,0.10), transparent 60%),
    var(--panel-solid);
  border:1px solid var(--panel-border);
  display:grid;
  grid-template-columns: 1.3fr 1fr;
  gap:48px;
  align-items:center;
}
.cta-panel h2{ font-size: clamp(26px,3vw,36px); margin-bottom:18px; }
.cta-panel p{ color: var(--text-muted); font-size:16px; max-width:460px; }
.contact-list{ display:flex; flex-direction:column; gap:22px; }
.contact-item{ }
.contact-item h4{
  font-size:11.5px; text-transform:uppercase; letter-spacing:0.12em;
  color: var(--text-dim); margin-bottom:8px; font-weight:600; font-family:var(--font-body);
}
.contact-item a, .contact-item span{ font-size:16.5px; font-weight:500; }
.contact-item a:hover{ color: var(--cyan); }

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--panel-border);
  padding: 48px 0;
}
.site-footer .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
}
.footer-brand{ display:flex; align-items:center; gap:12px; color: var(--text-dim); font-size:13px;}
.footer-brand img{ height:16px; width:auto; opacity:0.7; }
.footer-legal{ color: var(--text-dim); font-size:12.5px; max-width:560px; line-height:1.6; }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible{ opacity:1; transform:none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .strategy-grid{ grid-template-columns:1fr; }
  .team-grid{ grid-template-columns: repeat(3,1fr); }
  .cta-panel{ grid-template-columns:1fr; padding:48px 36px; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-map{ display:none; }
  .company-grid{ grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 720px){
  .container{ padding:0 20px; }
  .section{ padding: 88px 0; }
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  .team-grid{ grid-template-columns: repeat(2,1fr); }
  .section-head{ margin-bottom:44px; }
  .cta-panel{ padding:40px 24px; }
  .company-grid{ grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px){
  .team-grid{ grid-template-columns: 1fr; }
  .hero .lede{ font-size:17px; }
  .company-grid{ grid-template-columns: 1fr 1fr; }
}

/* Mobile nav drawer */
.mobile-drawer{
  position:fixed; inset:0; z-index:150;
  background: rgba(6,9,20,0.98);
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  gap:28px;
  opacity:0; pointer-events:none;
  transition:opacity .25s ease;
}
.mobile-drawer.active{ opacity:1; pointer-events:auto; }
.mobile-drawer a{ font-size:22px; font-family:var(--font-head); }
.mobile-drawer .close-drawer{
  position:absolute; top:26px; right:26px;
  width:40px; height:40px; border-radius:10px;
  border:1px solid var(--panel-border); background:transparent; color:var(--text);
  display:flex; align-items:center; justify-content:center;
}
