
:root{
  --blue:#0b2a66;
  --red:#b11b2c;
  --text:#111827;
  --muted:#6b7280;
  --card:#ffffff;
  --border:#e5e7eb;
  --bg1:#0b2a66;
  --bg2:#ffffff;
  --bg3:#b11b2c;
  --shadow: 0 10px 20px rgba(0,0,0,.08);
  --shadow2: 0 16px 30px rgba(0,0,0,.12);
  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 45%, var(--bg3) 100%);
}

.container{
  width:min(var(--max), calc(100% - 2.5rem));
  margin:0 auto;
}

/* Top nav */
.topnav{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.72);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding: .9rem 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:.75rem;
  text-decoration:none;
  color:inherit;
  min-width:0;
}
.brand-badge{
  width:42px;height:42px;
  border-radius: 14px;
  background: var(--blue);
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:800;
  box-shadow: 0 8px 18px rgba(11,42,102,.25);
  flex:0 0 auto;
}
.brand-text{display:flex;flex-direction:column;min-width:0}
.brand-name{font-weight:700;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-tag{font-size:.75rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.nav-links{display:flex;gap:.5rem;align-items:center}
.nav-link{
  text-decoration:none;
  color:var(--text);
  padding:.55rem .9rem;
  border-radius: 999px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:600;
  font-size:.95rem;
}
.nav-link:hover{box-shadow: var(--shadow)}
.nav-link.active{
  background: var(--blue);
  color:#fff;
  border-color: rgba(11,42,102,.2);
}

@media (max-width: 720px){
  .nav-inner{flex-wrap:wrap}
  .nav-links{width:100%;justify-content:flex-start}
}

/* Sections */
.section{padding: 4rem 0}
.section.white{background:#fff}
.section.gray{background:#f3f4f6}
.section .section-title{font-size:2rem;margin:0 0 1.2rem 0;text-align:center}
.section .section-sub{max-width: 860px;margin:0 auto;color:#374151;text-align:center;line-height:1.6}

/* Hero */
.hero{
  padding: 5rem 0 4rem 0;
  text-align:center;
}
.hero h1{
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  color:#fff;
  margin:0 0 1rem 0;
  letter-spacing:-0.02em;
}
.hero p{
  color: rgba(219,234,254,.95);
  margin: 0 auto;
  max-width: 860px;
  font-size: 1.08rem;
  line-height:1.6;
}
.hero .hero-actions{
  display:flex;
  gap:.75rem;
  justify-content:center;
  margin-top: 1.5rem;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.85rem 1.2rem;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.9);
  color: var(--text);
  text-decoration:none;
  font-weight:700;
}
.btn.primary{
  background:#fff;
  box-shadow: var(--shadow);
}
.btn:hover{box-shadow: var(--shadow2)}
.btn.ghost{background: rgba(255,255,255,.8)}

/* Cards */
.grid{
  display:grid;
  gap:1.25rem;
}
.grid.cols-4{grid-template-columns: repeat(4, minmax(0, 1fr))}
.grid.cols-3{grid-template-columns: repeat(3, minmax(0, 1fr))}
.grid.cols-2{grid-template-columns: repeat(2, minmax(0, 1fr))}
@media (max-width: 1000px){
  .grid.cols-4{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .grid.cols-3{grid-template-columns: repeat(2, minmax(0, 1fr))}
}
@media (max-width: 640px){
  .grid.cols-4,.grid.cols-3,.grid.cols-2{grid-template-columns: 1fr}
}

.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
}
.card.pad{padding: 1.4rem}
.card.center{text-align:center}
.card h3{margin:.25rem 0 .5rem 0}
.card p{margin:0;color:var(--muted);line-height:1.55}
.icon{
  width:42px;height:42px;
  border-radius: 14px;
  background: rgba(11,42,102,.08);
  display:grid;
  place-items:center;
  margin: 0 auto .8rem auto;
  color: var(--blue);
  font-weight:900;
}

.value-list{
  max-width: 860px;
  margin: 0 auto;
  color:#374151;
  font-size: 1.05rem;
  line-height:1.8;
}

/* Associates */
.assoc-head{
  text-align:center;
  margin-bottom: 2rem;
}
.assoc-head h2{margin:0;font-size:2.2rem}
.assoc-head p{margin:.6rem auto 0 auto;max-width:900px;color:#374151;line-height:1.6}
.assoc-card{
  cursor:pointer;
  overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.assoc-card:hover{transform: translateY(-2px); box-shadow: var(--shadow2)}
.assoc-band{
  height: 108px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  position:relative;
}
.badge-pill{
  position:absolute;
  right: 14px;
  top: 14px;
  background: rgba(255,255,255,.16);
  color: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.18);
  border-radius:999px;
  padding: .35rem .6rem;
  font-size:.78rem;
  font-weight:700;
}
.assoc-avatar{
  position:absolute;
  left: 18px;
  bottom: -34px;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  border: 3px solid #fff;
  background: #f3f4f6;
  box-shadow: 0 10px 18px rgba(0,0,0,.16);
  object-fit: cover;
}
.assoc-body{padding: 2.6rem 1.4rem 1.4rem 1.4rem}
.assoc-name{font-size:1.05rem;font-weight:800;line-height:1.25;margin:0}
.assoc-role{margin:.35rem 0 0 0;color:#4b5563;font-size:.92rem}
.divider{height:1px;width:56px;background:var(--blue);margin: .9rem 0}
.assoc-excerpt{color:#374151;font-size:.92rem;line-height:1.55;margin:0}
.assoc-actions{margin-top:1rem}
.smallbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.7rem 1rem;
  border-radius: 999px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:800;
  text-decoration:none;
  color:var(--text);
}
.smallbtn:hover{box-shadow: var(--shadow)}

/* Bio detail */
.bio-wrap{padding: 3rem 0 4rem 0;background:#fff}
.bio-top{
  display:flex;
  justify-content:space-between;
  gap:.75rem;
  flex-wrap:wrap;
  margin-bottom: 1.2rem;
}
.bio-hero{
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
}
.bio-hero-band{
  padding: 2rem;
  background: linear-gradient(90deg, var(--blue), var(--red));
}
.bio-hero-inner{
  display:flex;
  gap:1.2rem;
  align-items:center;
  flex-wrap:wrap;
}
.bio-avatar{
  width: 96px;
  height: 96px;
  border-radius:999px;
  border: 3px solid rgba(255,255,255,.9);
  object-fit: cover;
  background:#f3f4f6;
  box-shadow: 0 10px 18px rgba(0,0,0,.18);
}
.bio-name{color:#fff;margin:0;font-size: clamp(1.6rem, 3vw, 2.2rem)}
.bio-role{color: rgba(255,255,255,.92); margin:.5rem 0 0 0}
.bio-content{padding: 2rem}
.bio-grid{display:grid;gap:1.5rem;grid-template-columns: 2fr 1fr}
@media (max-width: 920px){ .bio-grid{grid-template-columns: 1fr} }
.bio h3{margin:0 0 .6rem 0}
.bio p{margin:0;color:#374151;line-height:1.7}
.list{margin:.5rem 0 0 0;padding-left:1.1rem}
.list li{margin:.35rem 0;color:#374151;line-height:1.6}

/* Footer */
.footer{
  background: var(--blue);
  color:#fff;
  padding: 2rem 0;
}
.footer-inner{text-align:center}
.footer-title{font-weight:800}
.footer-meta{opacity:.92;margin-top:.25rem}
.footer-meta.small{opacity:.75;font-size:.8rem}

/* Accessibility */
:focus-visible{outline:3px solid rgba(11,42,102,.35); outline-offset:3px}


/* Hero image */
.hero{
  position: relative;
  background: url('../img/hero.jpg') center/cover no-repeat;
}
.hero::before{
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(
    rgba(11,42,102,.78),
    rgba(11,42,102,.55),
    rgba(177,27,44,.65)
  );
}
.hero > .container{
  position: relative;
  z-index: 2;
}


/* Alternate hero images */
.hero-associates{
  position: relative;
  background: url('../img/hero-associates.jpg') center/cover no-repeat;
}
.hero-bio{
  position: relative;
  background: url('../img/hero-bio.jpg') center/cover no-repeat;
}
.hero-associates::before,
.hero-bio::before{
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(
    rgba(11,42,102,.8),
    rgba(11,42,102,.6),
    rgba(177,27,44,.65)
  );
}
.hero-associates > .container,
.hero-bio > .container{
  position: relative;
  z-index: 2;
}


/* Subtle parallax (JS-driven) */
.hero{
  background-position: center 50%;
  will-change: background-position;
}
@media (prefers-reduced-motion: reduce){
  .hero{ background-position: center 50% !important; }
}


/* American Flag Logo */
.brand-flag{
  width:42px;
  height:42px;
  border-radius:999px;
  object-fit:cover;
  border:2px solid #ffffff;
  box-shadow: 0 8px 18px rgba(11,42,102,.25);
  transition: transform .25s ease, box-shadow .25s ease;
}
.brand-flag:hover{
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(11,42,102,.35);
}
