/* ===================================================
   STEMBASSADORS CAPITAL — Shared Stylesheet
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --black:    #07090d;
  --dark:     #0c0f16;
  --dark2:    #111520;
  --dark3:    #181d2a;
  --gold:     #b8956a;
  --gold-lt:  #d4b48a;
  --cream:    #f0ece2;
  --muted:    #8a8d96;
  --border:   rgba(184,149,106,0.18);
  --nav-h:    76px;
  --radius:   2px;
  --trans:    0.35s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--dark);
  color: var(--cream);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; font-weight: 400; }

p { color: rgba(240,236,226,0.75); max-width: 660px; }

a { color: inherit; text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--gold); }

.label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.gold { color: var(--gold); }
.em { font-style: italic; }

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
@media(max-width:768px){ .container { padding: 0 24px; } }

section { position: relative; }

.section-pad { padding: 120px 0; }
.section-pad-sm { padding: 80px 0; }

hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ---- NAV ---- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(7,9,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--trans);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
}
.nav-logo .wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.nav-logo .tagline-nav {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 36px;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,236,226,0.7);
  transition: color var(--trans);
  padding: 4px 0;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--cream); }
.nav-links > li > a.active::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--gold);
  margin-top: 3px;
}

/* Dropdown */
.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 20px);
  left: -24px;
  background: var(--dark2);
  border: 1px solid var(--border);
  min-width: 220px;
  list-style: none;
  padding: 12px 0;
}
.nav-links li:hover .dropdown-menu { display: block; }
.nav-links .dropdown-menu li a {
  display: block;
  padding: 10px 24px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240,236,226,0.65);
}
.nav-links .dropdown-menu li a:hover { color: var(--gold); background: rgba(184,149,106,0.06); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-nav {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid var(--border);
  color: var(--cream);
  transition: all var(--trans);
}
.btn-nav:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: all var(--trans);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--dark);
  z-index: 999;
  padding: 40px 24px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--cream);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--gold); }

@media(max-width:900px) {
  .nav-links, .nav-right { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { padding: 0 24px; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 15px 32px;
  transition: all var(--trans);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover { background: var(--gold-lt); color: var(--black); }

.btn-outline {
  border: 1px solid var(--border);
  color: var(--cream);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-arrow::after {
  content: '→';
  transition: transform var(--trans);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 70% 50%, rgba(184,149,106,0.06) 0%, transparent 60%),
    linear-gradient(160deg, #07090d 0%, #0e1320 50%, #07090d 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,149,106,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,149,106,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.hero-content { position: relative; z-index: 1; }

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 0 40px;
  border-right: 1px solid var(--border);
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-number span { color: var(--gold); }
.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

@media(max-width:768px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item { padding: 24px 20px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
}

/* ---- CARDS ---- */
.card {
  background: var(--dark2);
  border: 1px solid var(--border);
  padding: 40px;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 0;
  background: var(--gold);
  transition: height var(--trans);
}
.card:hover::before { height: 100%; }
.card:hover { border-color: rgba(184,149,106,0.35); }

.card-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: rgba(184,149,106,0.15);
  line-height: 1;
  margin-bottom: 20px;
}

/* ---- GRID LAYOUTS ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }

@media(max-width:900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:600px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* ---- SPLIT SECTION ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media(max-width:900px) { .split { grid-template-columns: 1fr; gap: 48px; } }

/* ---- QUOTE / PULL ---- */
.pull-quote {
  border-left: 2px solid var(--gold);
  padding-left: 32px;
  margin: 40px 0;
}
.pull-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem,2.5vw,2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  max-width: 100%;
  line-height: 1.4;
}

/* ---- NEWS CARD ---- */
.news-card {
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: start;
  transition: all var(--trans);
}
.news-card:hover .news-title { color: var(--gold); }
.news-date {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 6px;
}
.news-tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 3px 10px;
  margin-bottom: 10px;
}
.news-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 8px;
  transition: color var(--trans);
}
.news-excerpt { font-size: 0.85rem; color: var(--muted); max-width: 100%; }

/* ---- PEOPLE CARD ---- */
.person-card {
  text-align: center;
}
.person-avatar {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--dark3);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.person-avatar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--trans);
}
.person-card:hover .person-avatar::after { transform: scaleX(1); }
.person-initial {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: rgba(184,149,106,0.3);
}
.person-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 4px;
}
.person-title {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- FORM ---- */
.form-group {
  margin-bottom: 28px;
}
.form-group label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--dark2);
  border: 1px solid var(--border);
  color: var(--cream);
  padding: 14px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--trans);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media(max-width:900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media(max-width:600px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 16px;
  display: block;
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.82rem;
  color: var(--muted);
  transition: color var(--trans);
}
.footer-col ul li a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.72rem;
  color: var(--muted);
}
.footer-legal {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-legal a {
  font-size: 0.72rem;
  color: var(--muted);
}
.footer-legal a:hover { color: var(--gold); }

/* ---- SECTION HEADERS ---- */
.section-header {
  margin-bottom: 64px;
}
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding-top: calc(var(--nav-h) + 100px);
  padding-bottom: 80px;
  background: linear-gradient(160deg, #07090d 0%, #0e1320 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(184,149,106,0.05) 0%, transparent 70%);
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- MISC UTILITIES ---- */
.bg-dark2 { background: var(--dark2); }
.bg-dark3 { background: var(--dark3); }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.flex { display: flex; }
.gap-3 { gap: 24px; }
.items-center { align-items: center; }

/* --- Accordion (careers) --- */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  text-align: left;
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-trigger .acc-icon {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform var(--trans);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
}
.accordion-trigger.open .acc-icon { transform: rotate(45deg); }
.accordion-body {
  display: none;
  padding: 0 0 28px;
}
.accordion-body.open { display: block; }
.accordion-body p { font-size: 0.88rem; color: var(--muted); max-width: 700px; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 8px; opacity: 0.4; }
