/* ============================================================
   HAWKS & EAGLES — Main Stylesheet
   File: css/styles.css
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --navy:        #0B1B2E;
  --navy-mid:    #112238;
  --navy-light:  #1A3356;
  --gold:        #C5973A;
  --gold-light:  #D4A84B;
  --gold-pale:   #F0E4C4;
  --cream:       #F7F4ED;
  --white:       #FFFFFF;
  --text:        #1A1A1A;
  --text-muted:  #5A5A5A;
  --text-light:  #8A8A8A;
  --border:      #E0D9CE;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Outfit', system-ui, sans-serif;

  --radius:    4px;
  --radius-lg: 8px;

  --shadow-sm: 0 2px 12px rgba(11, 27, 46, 0.08);
  --shadow-md: 0 8px 32px rgba(11, 27, 46, 0.12);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem);   font-weight: 600; }
h2 { font-size: clamp(2rem,   4vw, 3rem);   font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; }
p  { font-size: 1rem; color: var(--text-muted); }

.label {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: 6rem 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

.gold-divider { width: 48px; height: 2px; background: var(--gold); margin-bottom: 1.5rem; }
.gold-divider.centered { margin-left: auto; margin-right: auto; }

.section-header { margin-bottom: 4rem; }
.section-header p { max-width: 560px; margin-top: 1rem; font-size: 1.05rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin-left: auto; margin-right: auto; }

/* ── Fade-up animation (JS-enhanced) ── */
.fade-up { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.js-ready .fade-up { opacity: 0; transform: translateY(24px); }
.js-ready .fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #B8891E;
  border-color: #B8891E;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 151, 58, .3);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .5);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, .1);
  border-color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 27, 46, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 151, 58, .15);
  transition: var(--transition);
}
nav.scrolled { box-shadow: 0 4px 24px rgba(11, 27, 46, .3); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-logo img { height: 44px; width: auto; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--white); letter-spacing: .02em; }
.nav-logo-tagline { font-family: var(--sans); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-family: var(--sans);
  font-size: .85rem;
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  transition: color .2s;
  position: relative;
  letter-spacing: .05em;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 1rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--white); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  z-index: 99;
  background: var(--navy);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; color: var(--white); text-decoration: none; }
.mobile-menu a:hover { color: var(--gold-light); }
.mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--white); cursor: pointer; font-size: 1.5rem; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 40%, rgba(30, 58, 95, .6) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 70%, rgba(197, 151, 58, .08) 0%, transparent 50%),
    linear-gradient(135deg, #0B1B2E 0%, #162944 50%, #0B1B2E 100%);
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(197, 151, 58, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 151, 58, .04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-accent-line {
  position: absolute;
  right: 33%; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(197, 151, 58, .4), transparent);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
  width: 100%;
}
.hero-eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; animation: fadeUp .8s .3s both; }
.hero-eyebrow-line { width: 40px; height: 1px; background: var(--gold); }
.hero-title { color: var(--white); max-width: 700px; margin-bottom: 1.5rem; animation: fadeUp .8s .5s both; }
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-subtitle { font-size: 1.1rem; color: rgba(255, 255, 255, .65); max-width: 540px; line-height: 1.8; margin-bottom: 2.5rem; animation: fadeUp .8s .7s both; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp .8s .9s both; }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255, 255, 255, .4); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  animation: fadeIn 1.2s 1.4s both;
}
.hero-scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, rgba(197, 151, 58, .6), transparent); animation: scrollPulse 2s infinite; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--navy-mid); border-top: 1px solid rgba(197, 151, 58, .2); border-bottom: 1px solid rgba(197, 151, 58, .2); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1200px; margin: 0 auto; }
.stat-item { padding: 2.5rem 2rem; text-align: center; border-right: 1px solid rgba(197, 151, 58, .15); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--serif); font-size: 2.8rem; font-weight: 600; color: var(--gold-light); line-height: 1; display: block; }
.stat-label  { font-family: var(--sans); font-size: .78rem; color: rgba(255, 255, 255, .5); letter-spacing: .08em; margin-top: .5rem; display: block; }

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: var(--white); }
.about-text h2 { color: var(--navy); margin-bottom: 1.5rem; }
.about-text p  { margin-bottom: 1.2rem; line-height: 1.9; }

.value-card {
  padding: 1.8rem 2rem;
  border-left: 3px solid transparent;
  background: var(--cream);
  margin-bottom: 1rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  transition: var(--transition);
}
.value-card:hover,
.value-card.active {
  border-left-color: var(--gold);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.value-card h4 { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); margin-bottom: .5rem; }
.value-card p  { font-size: .92rem; margin: 0; }

.about-image-block { position: sticky; top: 7rem; }
.about-img-container {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-img-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(197, 151, 58, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 151, 58, .06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.about-img-text { position: relative; z-index: 2; text-align: center; padding: 2rem; }
.about-img-quote { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--white); line-height: 1.4; margin-bottom: 1rem; }
.about-img-quote em { color: var(--gold-light); font-style: italic; }

.areas-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.area-tag { background: var(--cream); border: 1px solid var(--border); color: var(--navy); font-size: .78rem; font-weight: 500; padding: .4rem .9rem; border-radius: 2rem; letter-spacing: .02em; }

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover                    { background: var(--navy); }
.service-card:hover::before            { transform: scaleX(1); }
.service-card:hover .service-icon      { background: rgba(197, 151, 58, .15); color: var(--gold-light); }
.service-card:hover h3                 { color: var(--white); }
.service-card:hover > p                { color: rgba(255, 255, 255, .6); }
.service-card:hover .service-items li  { color: rgba(255, 255, 255, .55); }
.service-card:hover .service-items li::before { color: var(--gold); }

.service-number {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-family: var(--serif); font-size: 3.5rem; font-weight: 700;
  color: rgba(0, 0, 0, .04); line-height: 1;
  transition: var(--transition);
}
.service-card:hover .service-number { color: rgba(255, 255, 255, .04); }

.service-icon {
  width: 48px; height: 48px;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  color: var(--navy);
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: .8rem; transition: var(--transition); }
.service-card > p { font-size: .88rem; line-height: 1.8; margin-bottom: 1.5rem; color: var(--text-muted); transition: var(--transition); }

.service-items { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.service-items li { font-size: .82rem; color: var(--text-light); padding-left: 1rem; position: relative; transition: var(--transition); }
.service-items li::before { content: '—'; position: absolute; left: 0; color: var(--gold); font-size: .7rem; }

/* ============================================================
   WHY US
   ============================================================ */
#why { background: var(--navy); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.why-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(197, 151, 58, .15);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: var(--transition);
}
.why-card:hover { background: rgba(197, 151, 58, .06); border-color: rgba(197, 151, 58, .35); transform: translateY(-4px); }
.why-icon { width: 52px; height: 52px; background: rgba(197, 151, 58, .1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: var(--gold-light); }
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { color: var(--white); margin-bottom: .8rem; font-size: 1.25rem; }
.why-card p  { color: rgba(255, 255, 255, .55); font-size: .92rem; line-height: 1.8; margin: 0; }

/* ============================================================
   TEAM
   ============================================================ */
#team { background: var(--white); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card { text-align: center; }
.team-avatar {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  display: flex; align-items: flex-end; justify-content: center;
  position: relative; overflow: hidden;
  margin-bottom: 1.2rem;
}
.team-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-avatar-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 35%; background: linear-gradient(to top, rgba(11, 27, 46, .85), transparent); z-index: 2; }
.team-avatar-initials { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); font-family: var(--serif); font-size: 3rem; font-weight: 600; color: rgba(197, 151, 58, .3); z-index: 1; }
.team-role-badge { position: relative; z-index: 3; background: var(--gold); color: var(--white); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .4rem 1rem; border-radius: 2rem 2rem 0 0; }
.team-card h4    { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); margin-bottom: .25rem; }
.team-card > p   { font-size: .82rem; color: var(--gold); font-weight: 500; letter-spacing: .04em; margin: 0; }

/* ============================================================
   PUBLICATIONS
   ============================================================ */
#publications { background: var(--cream); }
.pub-coming-soon { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 5rem 2rem; text-align: center; }
.pub-icon { width: 64px; height: 64px; background: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: var(--gold); }
.pub-icon svg { width: 28px; height: 28px; }
.pub-coming-soon h3    { color: var(--navy); margin-bottom: .75rem; }
.pub-coming-soon > p  { color: var(--text-muted); max-width: 420px; margin: 0 auto 2rem; }
.pub-notify { display: flex; max-width: 380px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.pub-notify input  { flex: 1; padding: .75rem 1rem; border: none; outline: none; font-family: var(--sans); font-size: .88rem; }
.pub-notify button { padding: .75rem 1.25rem; background: var(--navy); color: var(--white); border: none; font-family: var(--sans); font-size: .85rem; font-weight: 500; cursor: pointer; }
.pub-notify button:hover { background: var(--navy-light); }

/* ============================================================
   CAREERS
   ============================================================ */
#careers { background: var(--white); }
.careers-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.careers-values { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.careers-value-row { display: flex; align-items: flex-start; gap: 1rem; }
.careers-value-icon { width: 36px; height: 36px; min-width: 36px; background: rgba(197, 151, 58, .1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--gold); margin-top: 2px; }
.careers-value-icon svg { width: 18px; height: 18px; }
.careers-value-text h4 { font-family: var(--sans); font-size: .95rem; color: var(--navy); margin-bottom: .2rem; }
.careers-value-text p  { font-size: .88rem; margin: 0; }
.careers-cta-block { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); border-radius: var(--radius-lg); padding: 3rem; color: var(--white); position: relative; overflow: hidden; }
.careers-cta-block h3   { color: var(--white); margin-bottom: 1rem; font-size: 1.5rem; }
.careers-cta-block > p  { color: rgba(255, 255, 255, .6); margin-bottom: 2rem; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; }
.contact-detail-icon { width: 40px; height: 40px; min-width: 40px; background: rgba(197, 151, 58, .1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail-text .contact-label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light); margin-bottom: .2rem; }
.contact-detail-text span,
.contact-detail-text a { font-size: .95rem; color: var(--navy); text-decoration: none; font-weight: 500; }
.contact-detail-text a:hover { color: var(--gold); }

.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 3rem; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 500; color: var(--navy); margin-bottom: .5rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197, 151, 58, .1); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; justify-content: center; padding: 1rem; font-size: .95rem; }
.form-privacy { text-align: center; font-size: .78rem; color: var(--text-light); margin-top: 1rem; }
.form-success { display: none; text-align: center; padding: 3rem 1rem; }
.form-success a { color: var(--gold); text-decoration: none; font-weight: 500; }
.form-success a:hover { text-decoration: underline; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background: var(--gold); padding: 5rem 2rem; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner .cta-sub { color: rgba(255, 255, 255, .85); max-width: 480px; margin: 0 auto 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--navy); color: rgba(255, 255, 255, .6); padding: 5rem 0 2rem; border-top: 1px solid rgba(197, 151, 58, .15); }
.footer-inner { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-brand > p { font-size: .88rem; margin: 1.2rem 0 1.5rem; color: rgba(255, 255, 255, .45); line-height: 1.8; max-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: .75rem; }
.footer-logo img { height: 40px; width: auto; }
.footer-logo-name    { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--white); display: block; }
.footer-logo-tagline { font-family: var(--sans); font-size: .55rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: block; margin-top: 2px; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a { width: 36px; height: 36px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .5); text-decoration: none; transition: var(--transition); }
.footer-social a:hover { background: rgba(197, 151, 58, .15); border-color: rgba(197, 151, 58, .3); color: var(--gold-light); }
.footer-col h5 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.footer-col a { font-size: .88rem; color: rgba(255, 255, 255, .5); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .06); padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: rgba(255, 255, 255, .35); }
.footer-bottom a { color: rgba(255, 255, 255, .35); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255, 255, 255, .6); }
.footer-links { display: flex; gap: 1.5rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .team-grid       { grid-template-columns: repeat(2, 1fr); }
  .stats-inner     { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-inner    { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  section { padding: 4rem 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .grid-2, .why-grid, .careers-inner, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image-block { position: static; }
  .team-grid     { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .form-row      { grid-template-columns: 1fr; }
  .hero-actions  { flex-direction: column; align-items: flex-start; }
  .hero-content  { padding: 7rem 1.5rem 5rem; }
  .contact-form  { padding: 2rem 1.5rem; }
  .careers-inner { gap: 2.5rem; }
}

@media (max-width: 480px) {
  .team-grid   { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   TEAM BIO MODAL
   ============================================================ */
.bio-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 27, 46, .75);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.bio-overlay.open { display: flex; }

.bio-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 960px;
  height: 86vh;
  display: grid;
  grid-template-columns: 340px 1fr;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 80px rgba(11, 27, 46, .4);
  animation: bioModalIn .3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes bioModalIn {
  from { opacity: 0; transform: scale(.96) translateY(16px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}

.bio-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.bio-close:hover { background: #c0392b; }

/* ── Image panel ── */
.bio-image-panel {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bio-image-panel img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.bio-image-panel img[src=""] { display: none; }

.bio-initials-panel {
  display: none;
  position: absolute;
  top: 0; left: 0; right: 0;
  bottom: 140px;
  align-items: center;
  justify-content: center;
  background-image: radial-gradient(circle at 30% 30%, rgba(197,151,58,.1) 0%, transparent 55%);
}
.bio-initials-panel.show { display: flex; }
.bio-initials-panel span {
  font-family: var(--serif);
  font-size: 6rem;
  font-weight: 600;
  color: rgba(197, 151, 58, .25);
}

/* ── Name / role / LinkedIn overlay on image ── */
.bio-img-overlay {
  flex-shrink: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(11,27,46,1) 0%, rgba(11,27,46,.92) 60%, rgba(11,27,46,.6) 100%);
}
.bio-img-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 .2rem;
  line-height: 1.2;
}
.bio-img-role {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 1rem;
}
.bio-img-links { display: flex; gap: .5rem; }
.bio-img-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.bio-img-links a:hover { background: var(--gold); border-color: var(--gold); }
.bio-img-links a svg { width: 16px; height: 16px; }

/* ── Bio text panel ── */
.bio-content {
  padding: 2.5rem;
  overflow-y: auto;
}
.bio-text p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}
.bio-text p:last-child { margin-bottom: 0; }

/* ── Team cards: indicate clickability ── */
.team-card { cursor: pointer; }
.team-card:hover .team-avatar img { transform: scale(1.04); }
.team-avatar img { transition: transform .4s ease; }
.team-card:hover h4 { color: var(--gold); transition: color .2s; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .bio-overlay { padding: 0; align-items: flex-end; }
  .bio-modal {
    grid-template-columns: 1fr;
    grid-template-rows: 55vw 1fr;
    height: 90vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .bio-content { padding: 1.75rem 1.5rem; }
}

@media (max-width: 480px) {
  .bio-modal { grid-template-rows: 60vw 1fr; }
}
