/* ==========================================================================
   Sports Venture Capital — site stylesheet
   Colors, type and copy pulled directly from the SVC Investor Deck.
   Navy: #0E1D38 / #15294D / #1E3A63   Orange: #EA6A3D
   Cream: #FAF9F6 / #F1EFE8 / #E5E1D8   Gray: #6B7280 / #2A2A2A
   Light-on-navy: #D7DEEC   Divider on navy: rgba(215,222,236,.18)
   Headline face: Cambria   Body face: Calibri
   ========================================================================== */

:root {
  --navy-bg: #0E1D38;
  --navy: #15294D;
  --navy-circle: #1E3A63;
  --navy-divider: rgba(215,222,236,0.18);
  --orange: #EA6A3D;
  --cream: #FAF9F6;
  --cream-2: #F1EFE8;
  --cream-line: #E5E1D8;
  --gray: #6B7280;
  --gray-dark: #2A2A2A;
  --light-blue: #D7DEEC;
  --white: #FFFFFF;

  --font-headline: Cambria, Georgia, "Times New Roman", serif;
  --font-body: Calibri, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

/* ---------------------------------------------------------------- NAV --- */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14, 29, 56, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.nav-brand {
  font-family: var(--font-headline);
  font-weight: bold;
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.7rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--light-blue);
  font-size: 0.88rem;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  border: 1px solid var(--orange);
  color: var(--orange) !important;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
}
.nav-cta:hover { background: var(--orange); color: var(--white) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--white); display: block; }

/* -------------------------------------------------------------- SLIDES -- */

.slide {
  position: relative;
  min-height: 100vh;
  padding: 7rem 0 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-content {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.dark-slide { background: var(--navy-bg); }
.light-slide { background: var(--white); }
.cream-slide { background: var(--cream); }

.slide-footer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.6rem 2.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.light-footer { color: var(--gray); }
.dark-footer { color: var(--light-blue); opacity: 0.6; }

.eyebrow {
  color: var(--orange);
  font-weight: bold;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}
.center-eyebrow { text-align: center; }

.headline {
  font-family: var(--font-headline);
  font-weight: bold;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.25;
  margin: 0 0 1rem;
}
.headline.navy { color: var(--navy); }
.headline.white { color: var(--white); max-width: 24ch; }
.headline.large { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

.subhead {
  font-style: italic;
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0 0 2.4rem;
}
.dark-slide .subhead { color: var(--light-blue); }

.group-label {
  color: var(--orange);
  font-weight: bold;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 2.4rem 0 1.3rem;
}

/* --------------------------------------------------------------- HERO --- */

.hero-slide {
  background: var(--navy-bg);
  align-items: center;
  text-align: center;
}
.hero-content { max-width: 640px; }
.hero-logo { width: 200px; margin: 0 auto 2.2rem; }
.hero-tagline {
  font-family: var(--font-headline);
  font-style: italic;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.5;
  margin: 0 0 1.6rem;
}
.hero-eyebrow-bottom {
  color: var(--light-blue);
  opacity: 0.7;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin: 0;
}

/* --------------------------------------------------------------- PATH --- */

.path-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1.3fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}
.path-divider { background: var(--cream-line); width: 1px; height: 100%; }
.quote-mark { font-family: var(--font-headline); font-size: 4.2rem; color: var(--cream-2); line-height: 1; margin-bottom: -0.4rem; }
.quote-text { font-family: var(--font-headline); font-style: italic; color: var(--navy); font-size: 1.35rem; line-height: 1.45; margin: 0 0 1.4rem; }
.quote-attribution { border-top: 2px solid var(--orange); padding-top: 0.8rem; display: inline-block; }
.quote-name { font-weight: bold; color: var(--navy); margin: 0; }
.quote-title { color: var(--gray); font-size: 0.9rem; margin: 0.15rem 0 0; }
.path-story-col p { font-size: 0.98rem; line-height: 1.65; margin: 0 0 1.1rem; color: var(--gray-dark); }

/* --------------------------------------------------------------- TEAM --- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.8rem;
}
.advisory-team { grid-template-columns: repeat(4, 1fr); }

/* Flip card: hover/focus the card, its inner face rotates on the Y axis
   to reveal the bio printed on the reverse side. */
.team-card {
  perspective: 1200px;
  cursor: pointer;
}
.team-card-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  transition: transform 0.7s cubic-bezier(0.4, 0.15, 0.2, 1);
  transform-style: preserve-3d;
}
.team-card:hover .team-card-inner,
.team-card:focus-visible .team-card-inner,
.team-card.is-flipped .team-card-inner {
  transform: rotateY(180deg);
}

.team-card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

/* Front — the photo fills the card, name/role sit in a scrim at the base */
.team-card-front {
  background: var(--navy-circle);
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
}
.team-card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.85rem 0.75rem;
  background: linear-gradient(to top, rgba(14,29,56,0.92) 0%, rgba(14,29,56,0.55) 55%, rgba(14,29,56,0) 100%);
}
.team-card-caption .team-name { color: var(--white); margin: 0 0 0.1rem; }
.team-card-caption .team-role { margin: 0; }

/* Back — bio on navy, revealed after the flip */
.team-card-back {
  transform: rotateY(180deg);
  background: var(--navy);
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.team-card-back .team-name { color: var(--white); }
.team-card-back .team-bio { color: var(--light-blue); }

.team-name { font-family: var(--font-headline); font-weight: bold; color: var(--navy); font-size: 0.98rem; margin: 0 0 0.1rem; }
.team-role { color: var(--orange); font-weight: bold; font-size: 0.74rem; margin: 0 0 0.6rem; }
.team-bio { font-size: 0.82rem; line-height: 1.5; color: var(--gray-dark); margin: 0; }

.network-note {
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--cream-line);
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 2rem;
  align-items: start;
}
.network-label { color: var(--orange); font-weight: bold; font-size: 0.85rem; letter-spacing: 0.04em; margin: 0; }
.network-text { color: var(--gray-dark); font-size: 0.95rem; line-height: 1.55; margin: 0; }

/* ---------------------------------------------------- WHAT WE DO ------- */

.wwd-rule {
  width: 46px;
  height: 2px;
  background: var(--orange);
  margin: 0.9rem auto 3rem;
}

.wwd-row {
  display: grid;
  grid-template-columns: 1fr 1px 1.6fr;
  gap: 2.6rem;
  align-items: start;
  padding: 2.2rem 0;
}
.wwd-row + .wwd-row { border-top: 1px solid var(--navy-divider); }

.wwd-headline {
  font-family: var(--font-headline);
  font-weight: bold;
  color: var(--white);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.35;
  margin: 0;
}

.wwd-divider { width: 1px; background: var(--navy-divider); height: 100%; }

.wwd-icons { display: flex; }
.wwd-icon-item { flex: 1; text-align: center; padding: 0 1.1rem; }
.wwd-icon-item + .wwd-icon-item { border-left: 1px solid var(--navy-divider); }
.wwd-icon-item img { width: 44px; height: 44px; object-fit: contain; margin: 0 auto 0.9rem; }
.wwd-icon-label { color: var(--orange); font-weight: bold; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }

.wwd-paragraph {
  color: var(--orange);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 32ch;
  margin: 0;
}

/* -------------------------------------------------------------- MARKET - */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.6rem 0 2.2rem;
}
.stat-number { font-family: var(--font-headline); font-weight: bold; color: var(--orange); font-size: clamp(2rem, 3.6vw, 2.7rem); margin: 0 0 0.5rem; }
.stat-label { color: var(--light-blue); font-size: 0.9rem; margin: 0; }

.market-line { font-family: var(--font-headline); font-style: italic; font-weight: bold; color: var(--white); font-size: 1.25rem; margin: 0 0 1rem; }
.market-body { color: var(--light-blue); font-size: 1rem; line-height: 1.6; max-width: 70ch; margin: 0 0 2.2rem; }
.market-body strong { color: var(--white); }
.source-note { color: var(--light-blue); opacity: 0.55; font-style: italic; font-size: 0.78rem; margin: 0; }

/* ------------------------------------------------------------ PROJECTS - */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
}
.project-card { background: var(--cream-2); border-radius: 10px; padding: 1.6rem 1.8rem; }
.project-tag { color: var(--orange); font-weight: bold; font-size: 0.72rem; letter-spacing: 0.08em; margin: 0 0 0.4rem; }
.project-name { font-family: var(--font-headline); font-weight: bold; color: var(--navy); font-size: 1.15rem; margin: 0 0 0.6rem; }
.project-desc { font-size: 0.88rem; line-height: 1.5; color: var(--gray-dark); margin: 0 0 0.7rem; }
.project-meta { font-style: italic; color: var(--gray); font-size: 0.78rem; margin: 0; }
.project-meta-group { display: flex; flex-direction: column; gap: 0.3rem; }
.project-meta-group .project-meta { margin: 0; }

.closing-note { margin-top: 2.6rem; }
.closing-title { font-family: var(--font-headline); font-weight: bold; font-style: italic; color: var(--navy); font-size: 1.25rem; margin: 0 0 0.6rem; }
.closing-body { color: var(--gray); font-size: 0.95rem; margin: 0; }

/* -------------------------------------------------------------- WHY SVC- */

.why-intro { font-style: italic; color: var(--light-blue); font-size: 1rem; line-height: 1.6; max-width: 75ch; margin: 0 0 3rem; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.4rem; }
.why-item { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.9rem; }
.why-icon { width: 34px; height: 34px; flex-shrink: 0; object-fit: contain; margin-top: 0.15rem; }
.why-item-title { color: var(--white); font-weight: bold; font-size: 1.02rem; margin: 0 0 0.35rem; }
.why-item-body { color: var(--light-blue); font-size: 0.88rem; line-height: 1.5; margin: 0; }

/* --------------------------------------------------------------- VALUES */

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem 2rem; margin-top: 3rem; }
.value-title { font-family: var(--font-headline); font-weight: bold; color: var(--navy); font-size: 1.15rem; margin: 0 0 0.5rem; }
.value-body { color: var(--gray-dark); font-size: 0.9rem; line-height: 1.55; margin: 0; }

/* ------------------------------------------------------------- PROGRAM - */

.program-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem 3rem; margin-top: 2.8rem; }
.program-icon { width: 40px; height: 40px; object-fit: contain; margin-bottom: 0.9rem; }
.program-title { font-family: var(--font-headline); font-weight: bold; color: var(--navy); font-size: 1.1rem; margin: 0 0 0.5rem; }
.program-body { color: var(--gray-dark); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* -------------------------------------------------------------- ELEVATE */

.elevate-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  margin-top: 2.6rem;
  align-items: start;
}

.elevate-item { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 2.2rem; }
.elevate-icon { width: 40px; height: 40px; flex-shrink: 0; object-fit: contain; }
.elevate-title { color: var(--white); font-weight: bold; font-size: 1.1rem; margin: 0 0 0.4rem; }
.elevate-body { color: var(--light-blue); font-size: 0.92rem; line-height: 1.5; margin: 0; }

.highlight-card { background: var(--cream); border-radius: 20px; padding: 2.2rem 2.4rem; }
.highlight-row { margin: 0.6rem 0; }
.highlight-number { font-family: var(--font-headline); font-weight: bold; color: var(--navy); font-size: 2.6rem; margin: 0; }
.highlight-number-sm { font-size: 2rem; }
.highlight-label { color: var(--gray); font-size: 0.85rem; margin: 0.2rem 0 0; }
.highlight-divider { height: 1px; background: var(--cream-line); margin: 1.1rem 0; }
.highlight-footnote { color: var(--gray); font-size: 0.82rem; margin: 1.3rem 0 0; }

.elevate-closing { color: var(--light-blue); font-style: italic; font-size: 0.98rem; line-height: 1.6; max-width: 75ch; margin: 1rem 0 0; }

/* --------------------------------------------------------------- LEGACY */

.legacy-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.6rem;
  align-items: flex-start;
  margin-top: 2.6rem;
}
.legacy-icon-wrap {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.legacy-icon { width: 42px; height: 42px; object-fit: contain; }
.legacy-body { color: var(--gray-dark); font-size: 1.08rem; line-height: 1.55; max-width: 68ch; margin: 0 0 1.6rem; }
.legacy-title { font-family: var(--font-headline); font-weight: bold; color: var(--navy); font-size: 1.3rem; margin: 0 0 0.4rem; }
.legacy-sub { color: var(--gray-dark); font-size: 1rem; margin: 0; }

.legacy-photo-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.9rem;
  margin-top: 2.8rem;
}
.legacy-photo-row img {
  width: 100%;
  aspect-ratio: 0.7364;
  object-fit: cover;
  border-radius: 10px;
}

/* --------------------------------------------------------------- CONTACT */

.center-slide { align-items: center; text-align: center; }
.closing-headline { font-family: var(--font-headline); font-weight: bold; color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 0 0 0.8rem; }
.closing-sub { font-family: var(--font-headline); font-style: italic; color: var(--light-blue); font-size: 1.1rem; margin: 0 0 1.6rem; }
.contact-divider { width: 140px; height: 1px; background: rgba(255,255,255,0.2); margin: 0 auto 1.6rem; }
.contact-name { font-family: var(--font-headline); font-weight: bold; color: var(--white); font-size: 1.05rem; margin: 0 0 0.3rem; }
.contact-email { margin: 0 0 0.3rem; }
.contact-email a { color: var(--orange); text-decoration: none; font-size: 0.92rem; }
.contact-address { color: var(--light-blue); opacity: 0.75; font-size: 0.88rem; margin: 0; }

.disclaimer {
  position: absolute;
  bottom: 1.8rem; left: 0; right: 0;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2.5rem;
  color: var(--light-blue);
  opacity: 0.4;
  font-size: 0.68rem;
  line-height: 1.6;
  text-align: center;
}

/* ============================================================ RESPONSIVE */

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 58px; left: 0; right: 0;
    background: var(--navy-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 2rem 1.8rem;
    gap: 1rem;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .path-grid { grid-template-columns: 1fr; }
  .path-divider { display: none; }

  .team-grid, .advisory-team { grid-template-columns: repeat(2, 1fr); }
  .network-note { grid-template-columns: 1fr; }

  .wwd-row { grid-template-columns: 1fr; }
  .wwd-row .wwd-divider { display: none; }

  .stat-grid { grid-template-columns: 1fr; gap: 1.4rem; }

  .project-grid { grid-template-columns: 1fr; }

  .why-grid { grid-template-columns: 1fr; gap: 0.5rem; }

  .values-grid { grid-template-columns: repeat(2, 1fr); }

  .program-grid { grid-template-columns: 1fr; }

  .elevate-grid { grid-template-columns: 1fr; }

  .legacy-row { grid-template-columns: 1fr; }
  .legacy-icon-wrap { margin-bottom: 0.5rem; }
  .legacy-photo-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .slide-content { padding: 0 1.4rem; }
  .slide-footer { padding: 1.4rem; }
  .team-grid, .advisory-team { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .legacy-photo-row { grid-template-columns: repeat(2, 1fr); }
}
