/* ============================================================
   CONCORD SUMMIT CAPITAL — Global Stylesheet v3
   Mobile-first · Deep Navy · Manrope + Source Sans 3
   Style sheet CivSav 3/11/26.2
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --ink:           #16324F;   /* Global background */
  --surface:       #1C3D5E;   /* elevated surface */
  --surface-2:     #22486E;   /* hover / active surface */
  --hairline:      #1E4060;   /* borders/dividers */
  --text-primary:  #F0F4FA;
  --text-secondary:#C4CDD9;
  --text-muted:    #8A9AAD;
  --royal:         #16324F;   /* legacy alias */
  --royal-action:  #8FB8FF;   /* Powder Blue — primary action */
  --royal-hover:   #A9C9FF;   /* lighter powder hover */
  --powder:        #8FB8FF;
  --gold:          #D6B15A;   /* Soft Gold */
  --purple:        #8B7BBE;   /* Dusty Purple */

  /* Card & section dark surfaces — original dark, not navy-tinted */
  --card:          #121A24;   /* card background */
  --card-hover:    #162234;   /* card hover */
  --card-border:   #1E2D3D;   /* card border / grid gap */

  /* Typography */
  --font-display: 'Manrope', sans-serif;
  --font-body:    'Source Sans 3', sans-serif;

  /* Layout */
  --max-w:  1280px;
  --px:     16px;
  --nav-h:  60px;
  --radius: 0px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.25s var(--ease);
}

/* ── BASE ───────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; display: block; }
a    { -webkit-tap-highlight-color: transparent; }
button { -webkit-tap-highlight-color: transparent; font-family: var(--font-body); }

/* Scroll offset for sticky nav + section nav */
[id] { scroll-margin-top: calc(var(--nav-h) + 56px); }


/* ── NAVIGATION ─────────────────────────────────────────── */
nav#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--px);
  height: 78px;
  background: var(--ink);
  border-bottom: 1px solid var(--hairline);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
nav#main-nav.scrolled {
  background: rgba(22,50,79,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 30px; width: auto; display: block; }

.nav-links { display: none; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 17px; font-weight: 500;
  transition: color .2s; position: relative; padding-bottom: 3px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--royal-action);
  transition: width .25s var(--ease);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--text-primary); }

.nav-cta {
  display: none;
  background: var(--royal-action); color: var(--ink);
  padding: 9px 18px; font-size: 15px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  border: none; cursor: pointer;
  transition: background .2s;
}
.nav-cta:hover { background: var(--royal-hover); }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px; background: none; border: none;
  cursor: pointer; flex-shrink: 0;
}
.hamburger span {
  display: block; height: 1px; background: var(--text-secondary);
  transition: var(--transition); transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 999;
  background: var(--ink);
  display: flex; flex-direction: column; padding: 28px var(--px) 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .32s var(--ease);
  border-top: 1px solid var(--hairline);
  padding-bottom: env(safe-area-inset-bottom, 40px);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block; color: var(--text-secondary); text-decoration: none;
  font-family: var(--font-display); font-size: 24px; font-weight: 600;
  padding: 13px 0; border-bottom: 1px solid var(--hairline);
  transition: color .2s, padding-left .2s;
}
.mobile-menu a:hover { color: var(--text-primary); padding-left: 6px; }
.mobile-menu .mobile-cta {
  margin-top: 24px; background: var(--royal-action); color: var(--ink);
  text-align: center; padding: 15px; font-family: var(--font-body);
  font-size: 13px; font-weight: 600; border-bottom: none;
  letter-spacing: .03em;
}
.mobile-menu .mobile-cta:hover { background: var(--royal-hover); padding-left: 0; }


/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--royal-action); color: var(--ink);
  padding: 12px 24px; font-size: 15px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, box-shadow .2s;
  white-space: nowrap; min-height: 44px;
}
.btn-primary:hover { background: var(--royal-hover); box-shadow: 0 0 20px rgba(143,184,255,.18); }

.btn-secondary {
  display: none; /* Hidden — toggle via CMS when needed */
  align-items: center; gap: 8px;
  background: transparent; color: var(--text-primary);
  padding: 12px 24px; font-size: 14px; font-weight: 600;
  text-decoration: none; border: 1px solid var(--hairline); cursor: pointer;
  transition: background .2s, border-color .2s;
  white-space: nowrap; min-height: 44px;
}
.btn-secondary:hover { background: var(--surface-2); border-color: var(--powder); }

.btn-premium {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--gold);
  padding: 12px 24px; font-size: 14px; font-weight: 600;
  text-decoration: none; border: 1px solid rgba(214,177,90,.4); cursor: pointer;
  transition: background .2s; white-space: nowrap; min-height: 44px;
}
.btn-premium:hover { background: rgba(214,177,90,.05); }


/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }


/* ── SHARED LAYOUT ──────────────────────────────────────── */
section { position: relative; }
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }
.section-inner2{position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    }
.section-header { margin-bottom: 40px; }
.eyebrow { margin-bottom: 12px; }
.eyebrow-text {
  font-family: var(--font-body); font-size: 17px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted);
}
.section-title {
  font-family: var(--font-display); font-size: clamp(24px, 5vw, 38px);
  font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
  color: var(--text-primary);
}
.section-subtitle {
  font-family: var(--font-body); font-size: 17px; font-weight: 400;
  color: var(--text-secondary); line-height: 1.75; margin-top: 12px;
}
.section-cta-row { display: flex; justify-content: center; margin-top: 44px; }


/* ── INTERIOR PAGE HERO ─────────────────────────────────── */
.page-hero {
  position: relative; height: 44vh; min-height: 280px;
  display: flex; align-items: flex-end; padding-bottom: 40px;
  overflow: hidden; margin-top: var(--nav-h);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(22,50,79,.35) 0%, rgba(22,50,79,.15) 100%);
}
.page-hero-content { position: relative; z-index: 2; width: 100%; }


/* ── WWA / WHO WE ARE (shared, used on index + about) ───── */
.wwa-grid{display:flex;flex-direction:column;gap:56px}
.wwa-label{font-family:var(--font-body);font-size:17px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin-bottom:14px}
.wwa-title{font-family:var(--font-display);font-size:clamp(30px,4vw,40px);font-weight:700;color:var(--text-primary);letter-spacing:-.02em;line-height:1.1;margin-bottom:28px}
.wwa-body p{font-family:var(--font-body);font-size:17px;color:var(--text-secondary);line-height:1.78;margin-bottom:18px}
.wwa-body p strong{color:var(--text-primary);font-weight:500}
.wwa-divider{width:80px;height:2px;background:var(--gold);margin:28px 0}
.wwa-right{display:flex;flex-direction:column;gap:0}
.wwa-img{aspect-ratio:4/3;overflow:hidden;position:relative}
.wwa-img img{width:100%;height:100%;object-fit:cover;filter:grayscale(20%);border:2px solid var(--gold)}
.wwa-quote{background:var(--card);border:1px solid var(--hairline);border-top:3px solid var(--gold);padding:28px 28px 24px}
.wwa-quote p{font-family:var(--font-display);font-size:17px;color:var(--text-primary);font-weight:400;line-height:1.55}
.wwa-quote cite{display:block;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin-top:14px;font-style:normal}

/* ── GOLD PHOTO BORDERS (sitewide) ──────────────────────── */
.svc-block-img img,
.modal-photo,
.about-aside img { border: 2px solid var(--gold); }


/* ── TEAM CARDS (shared base for team.html) ─────────────── */
/* Full styles in team.html <style> block for isolation */


/* ── CAREERS BANNER (Home, About, Team) ─────────────────── */
.careers-banner {
  position: relative; overflow: hidden;
  min-height: 320px; display: flex; align-items: center;
  padding: 64px 0;
}
.careers-banner-bg {
  position: absolute; inset: 0;
  background-image: url('../images/lets-talk.jpg');
  background-size: cover; background-position: center;
}
.careers-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,14,20,.88) 0%, rgba(10,14,20,.6) 60%, rgba(10,14,20,.3) 100%);
}
.careers-banner-content {
  position: relative; z-index: 2; max-width: 600px;
}
.careers-banner-eyebrow {
  font-size: 17px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.careers-banner-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; color: var(--text-primary);
  letter-spacing: -.02em; line-height: 1.1; margin-bottom: 14px;
}
.careers-banner-sub {
  font-size: 17px; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 32px;
}
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--ink);
  padding: 12px 28px; font-size: 14px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: background .2s; white-space: nowrap; min-height: 44px;
}
.btn-gold:hover { background: #e8c46a; }

/* ── FEATURED CAROUSEL ───────────────────────────────────── */
.featured-carousel { padding: 48px 0; background: var(--ink); border-bottom: 1px solid var(--hairline); }
.featured-carousel-track-wrap {
  overflow: hidden; position: relative; margin-top: 36px;
}
.featured-carousel-track {
  display: flex; gap: 1px;
  transition: transform .4s var(--ease);
  cursor: grab; user-select: none;
}
.featured-carousel-track:active { cursor: grabbing; }
.featured-card {
  flex: 0 0 calc(66.666% - 1px);
  min-width: 0; position: relative; overflow: hidden;
  background: var(--ink);
}
.featured-card .tx-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.featured-card:hover .tx-bg { transform: scale(1.03); }
.featured-card-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,20,.92) 0%, rgba(10,14,20,.4) 60%, transparent 100%);
}
.featured-card-body {
  position: relative; z-index: 2;
  padding: 200px 32px 32px;
}
.featured-card-amount {
  font-family: var(--font-display); font-size: 42px; font-weight: 700;
  color: var(--gold); line-height: 1; letter-spacing: -.03em; margin-bottom: 8px;
}
.featured-card-name {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  color: var(--text-primary); margin-bottom: 8px; letter-spacing: -.01em;
}
.featured-card-detail { font-size: 17px; color: var(--text-muted); line-height: 1.6; }
.featured-card-tag {
  display: inline-block; margin-top: 14px;
  font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(214,177,90,.35); padding: 4px 12px;
}
.carousel-controls {
  display: flex; align-items: center; justify-content: space-between; margin-top: 20px;
}
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.carousel-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(195,208,221,.3); border: none; cursor: pointer;
  transition: var(--transition); padding: 0;
}
.carousel-dot.active { background: var(--gold); width: 20px; border-radius: 3px; }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrow {
  width: 40px; height: 40px; border: 1px solid var(--hairline);
  background: var(--ink); color: var(--text-secondary); font-size: 16px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.carousel-arrow:hover { border-color: var(--gold); color: var(--gold); }

/* Featured carousel — phones */
@media (max-width: 639px) {
  .featured-carousel { padding: 40px 0 48px; }
  .featured-carousel-track-wrap {
    margin-top: 24px;
    margin-left: calc(-1 * var(--px));
    margin-right: calc(-1 * var(--px));
    width: calc(100% + 2 * var(--px));
  }
  .featured-carousel-track { gap: 0; }
  .featured-card {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    min-height: min(380px, 72vh);
    border-radius: 0;
  }
  .featured-card-body {
    flex: 1;
    padding: 72px 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
  }
  .featured-card-amount { font-size: clamp(28px, 9vw, 36px); margin-bottom: 6px; }
  .featured-card-name { font-size: clamp(16px, 4.5vw, 18px); }
  .featured-card-detail { font-size: 15px; line-height: 1.55; }
  .featured-card-tag { margin-top: 12px; font-size: 9px; padding: 4px 10px; width: fit-content;}
  .carousel-controls {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 0 var(--px);
  }
  .featured-carousel .carousel-dots {
    display: none;
  }
}

@media (min-width: 640px) {
  .featured-card { flex: 0 0 calc(50% - 1px); }
}
@media (min-width: 1024px) {
  .featured-card { flex: 0 0 calc(40% - 1px); }
  .featured-carousel { padding: 72px 0; }
}


/* ── CONTACT STRIP ──────────────────────────────────────── */
.contact-strip {
  background: var(--ink);
  padding: 48px 0;
  border-top: 1px solid #1e4161;
}
.contact-strip-inner {
  display: flex; flex-direction: column; gap: 44px;
}
.contact-offices {
  display: flex; flex-direction: column; gap: 20px;
}
.contact-office h4 {
  font-size: 10px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 5px;
}
.contact-office p, .contact-office a {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.7; text-decoration: none; display: block;
  transition: color .2s;
}
.contact-office a:hover { color: var(--text-primary); }


/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--ink); padding: 48px 0 28px;
  border-top: 1px solid var(--hairline);
  padding-bottom: env(safe-area-inset-bottom, 28px);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }
.footer-top {
  display: flex; flex-direction: column; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid var(--hairline);
}
.footer-logo img { height: 28px; }
.footer-brand p {
  font-size: 17px; color: var(--text-muted); line-height: 1.75;
  margin-top: 14px; max-width: 300px;
}
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.footer-col h5 {
  font-size: 15px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color:var(--gold); margin-bottom: 12px;
}
.footer-col a {
  display: block;  color: var(--text-muted);
  text-decoration: none; margin-bottom: 8px; transition: color .2s;
    font-size: 17px;
    font-weight: 500;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex; flex-direction: column; gap: 8px; padding-top: 24px;
}
.footer-bottom p { font-size: 17px; color: var(--text-muted); opacity: .5; }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a {
  font-size: 11px; color: var(--text-muted); opacity: .5;
  text-decoration: none; transition: opacity .2s, color .2s;
}
.footer-bottom-links a:hover { opacity: 1; color: var(--text-primary); }


/* ════════════════════════════════════════════════════════
   TABLET  ≥ 640px
════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  :root { --px: 32px; --nav-h: 68px; }
  .nav-logo img { height: 34px; }

  .page-hero { height: 48vh; min-height: 320px; padding-bottom: 52px; }

  .contact-strip { padding: 64px 0; }
  .contact-offices { flex-direction: row; flex-wrap: wrap; gap: 24px 44px; }
  .wwa-grid { flex-direction: row; gap: 64px; }
  .wwa-grid > * { flex: 1; }
  .wwa-img { aspect-ratio: 3/4; }

  .footer-top { gap: 40px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}


/* ════════════════════════════════════════════════════════
   DESKTOP  ≥ 1024px
════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  :root { --px: 56px; --nav-h: 72px; }
  .nav-logo img { height: 36px; }
  .hamburger { display: none; }
  .nav-links  { display: flex; }
  .nav-cta    { display: inline-flex; }

  .page-hero { height: 52vh; min-height: 360px; padding-bottom: 36px; }
  .section-title { font-size: clamp(28px, 3vw, 38px); }

  .contact-strip { padding: 72px 0; }
  .contact-strip-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 80px; }
  .wwa-grid { gap: 96px; }

  .footer-top { flex-direction: row; gap: 64px; }
  .footer-brand { flex: 2; }
  .footer-cols  { flex: 3; grid-template-columns: repeat(3, 1fr); }
}
