/* Southern Capital Project — static site */

@font-face {
  font-family: 'BaseNine';
  src: url('BaseNine-I-Regular.woff2') format('woff2'),
       url('BaseNine-I-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BaseNine SmallCaps';
  src: url('BaseNineSmallCaps-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Belgium Catherine';
  src: url('Belgium-Catherine.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #006f77;
  --teal-dark: #00565c;
  --tan: #e3b98e;
  --tan-light: #f4e3d3;
  --script-color: #e3a974;
  --text: #333333;
  --bg: #ffffff;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'BaseNine', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'BaseNine', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
}

.script {
  font-family: 'Belgium Catherine', cursive;
  color: var(--script-color);
  font-weight: normal;
}

p { margin: 0 0 1em; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

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

/* Header / Nav */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo img { height: 56px; width: auto; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

nav.main-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

nav.main-nav a.current,
nav.main-nav a:hover { color: var(--teal); }

nav.main-nav a.give-btn {
  background: var(--teal);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
}
nav.main-nav a.give-btn:hover {
  background: var(--teal-dark);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--teal);
}

@media (max-width: 780px) {
  nav.main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 16px 0;
    gap: 16px;
  }
  nav.main-nav.open { display: flex; }
  header.site-header { flex-wrap: wrap; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 110px 24px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(227,185,142,0.55), rgba(227,185,142,0.75));
}
.hero-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.hero p.lede {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 20px auto 0;
  font-style: italic;
}

/* Sections */
section {
  padding: 72px 0;
}
section.alt { background: var(--tan-light); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px;
}

.grid {
  display: grid;
  gap: 32px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 780px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.stat {
  text-align: center;
}
.stat .num {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--teal);
}

.source {
  font-size: 0.8rem;
  color: #777;
  font-style: italic;
}

.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.btn:hover { background: var(--teal-dark); text-decoration: none; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: #fff; }

.center { text-align: center; }

/* Team */
.team-member {
  text-align: center;
}
.team-member img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 14px;
  border: 4px solid var(--tan-light);
}
.team-member h3 { font-size: 1.05rem; margin-bottom: 2px; }
.team-member .role { color: var(--teal); font-weight: 600; font-size: 0.9rem; }

.team-member.small img {
  width: 70px;
  height: 70px;
  border-width: 2px;
}
.team-member.small h3 { font-size: 0.9rem; }

/* Footer */
footer.site-footer {
  background: var(--teal);
  color: #fff;
  padding: 48px 24px 28px;
  margin-top: 40px;
}
footer.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
footer.site-footer a { color: #fff; }
footer.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-weight: 600;
}
footer .footer-bottom {
  text-align: center;
  margin-top: 32px;
  font-size: 0.8rem;
  opacity: 0.85;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 8px;
}

ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.card-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.ecosystem-item {
  text-align: center;
  padding: 20px 0;
}
.ecosystem-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 12px;
}
.ecosystem-item span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-with-photo,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.stat-with-photo img,
.split img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}
@media (max-width: 780px) {
  .stat-with-photo, .split { grid-template-columns: 1fr; }
}

.gender-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin: 8px 0 32px;
}
.gender-stats .gstat { text-align: center; }
.gender-stats img { width: 52px; height: 52px; margin: 0 auto 10px; }
.gender-stats .num { font-size: 2.6rem; font-weight: 700; color: var(--teal); }

.cutout-figure {
  text-align: center;
}
.cutout-figure img {
  max-width: 320px;
  margin: 0 auto;
}
