/* ═══════════════════════════════════════════════════════
   MAPLE VC — Shared Stylesheet
   To edit colors/fonts change the :root variables below
═══════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --yellow:  #FFD100;
  --black:   #0A0A0A;
  --cream:   #FFF9ED;
  --cream2:  #F5EDD6;
  --muted:   rgba(10, 10, 10, 0.45);

  --font-display: 'Newsreader', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-logo:    'Nunito', var(--font-body);

  --max-w: 1240px;
  --pad:   clamp(24px, 5.5vw, 88px);
  --nav-h: 68px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--cream); color: var(--black); overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { color: inherit; }
button, input, textarea { font-family: inherit; }

/* ── Scroll Reveal (JS adds .visible) ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.10s; }
.d2 { transition-delay: 0.20s; }
.d3 { transition-delay: 0.30s; }
.d4 { transition-delay: 0.40s; }
.d5 { transition-delay: 0.50s; }

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 249, 237, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(10,10,10,0.07);
}
.nav-logo {
  text-decoration: none;
  display: flex; align-items: center;
  line-height: 1;
}
.nav-logo img {
  height: 32px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  text-decoration: none; color: var(--black);
  opacity: 0.4; transition: opacity 0.2s;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; }

/* ── Mobile hamburger button ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  z-index: 201; flex-shrink: 0;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--black); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════
   NEWS TICKER
════════════════════════════════════════ */
.ticker-wrap {
  background: var(--black);
  overflow: hidden; white-space: nowrap;
  padding: 11px 0;
  margin-top: var(--nav-h);
}
.ticker-track {
  display: inline-flex; gap: 72px;
  animation: marquee 35s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { font-size: 12px; color: var(--yellow); letter-spacing: 0.03em; flex-shrink: 0; }
.ticker-item a { color: var(--yellow); text-decoration: none; border-bottom: 1px solid rgba(255,209,0,0.35); padding-bottom: 1px; transition: border-color 0.2s; }
.ticker-item a:hover { border-color: var(--yellow); }
.ticker-dot { color: rgba(255,209,0,0.3); padding: 0 4px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  background: var(--yellow);
  padding: clamp(60px, 8vh, 110px) var(--pad) clamp(48px, 7vh, 88px);
  min-height: 68vh;
  display: flex; align-items: flex-end;
}
.hero-inner { max-width: 1100px; }
.hero-eyebrow {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
  margin-bottom: 36px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 400; line-height: 1.02;
  letter-spacing: -0.025em; color: var(--black);
}
.hero h1 em { font-style: italic; }
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 76px);
  font-weight: 400; line-height: 1.02;
  letter-spacing: -0.025em; color: var(--black);
  margin-top: 0.35em;
}
.hero-sub em { font-style: italic; color: #fff; }
.hero-meta {
  margin-top: 52px;
  display: flex; align-items: center; gap: 28px;
  flex-wrap: wrap;
}
.hero-meta-item {
  font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(10,10,10,0.45); font-weight: 500;
}
.hero-meta-line { width: 1px; height: 18px; background: rgba(10,10,10,0.2); }

/* ════════════════════════════════════════
   SECTION UTILITIES
════════════════════════════════════════ */
.section-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 40px;
}
.section-label {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.link-arrow {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--black); font-weight: 500;
  border-bottom: 1px solid rgba(10,10,10,0.3); padding-bottom: 2px;
  opacity: 0.5; transition: opacity 0.2s;
}
.link-arrow:hover { opacity: 1; }

/* ════════════════════════════════════════
   FOUNDERS SCROLL
════════════════════════════════════════ */
.founders { background: var(--yellow); padding: 0 0 clamp(60px, 8vh, 100px); }
.founders .section-header { padding: 0 var(--pad) 40px; }

.founders-scroll {
  display: flex; gap: 1px; overflow-x: auto;
  padding: 0 var(--pad) 2px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none; scrollbar-width: none;
}
.founders-scroll::-webkit-scrollbar { display: none; }

.founder-card {
  flex: 0 0 268px; scroll-snap-align: start;
  background: rgba(10,10,10,0.07);
  padding: 28px 24px;
  cursor: default; transition: background 0.2s;
}
.founder-card:hover { background: rgba(10,10,10,0.12); }
.founder-name { font-family: var(--font-display); font-size: 21px; font-weight: 400; margin-bottom: 4px; }
.founder-co   { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(10,10,10,0.5); margin-bottom: 16px; }
.founder-tag  { font-size: 13px; line-height: 1.55; color: rgba(10,10,10,0.65); }
.founder-uni  { margin-top: 20px; font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(10,10,10,0.35); font-weight: 600; }

/* ════════════════════════════════════════
   APPROACH (Why Canada)
════════════════════════════════════════ */
.approach {
  background: var(--cream);
  padding: clamp(80px, 11vh, 140px) var(--pad);
  border-top: 1px solid rgba(10,10,10,0.07);
}
.approach-inner { max-width: var(--max-w); margin: 0 auto; }
.approach-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px); align-items: start;
  margin-top: 56px;
}
.approach h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 400; line-height: 1.05; letter-spacing: -0.02em;
}
.approach h2 em { font-style: italic; color: rgba(10,10,10,0.35); }
.approach-stat {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 100px); font-weight: 400; line-height: 1;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--black);
  text-stroke: 2px var(--black);
  margin-bottom: 16px;
}
.approach-copy { font-size: clamp(15px, 1.6vw, 18px); line-height: 1.75; color: rgba(10,10,10,0.6); }
.approach-companies {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.co-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px;
  border: 1.5px solid rgba(10,10,10,0.15);
  color: rgba(10,10,10,0.55);
}

/* ════════════════════════════════════════
   NETWORK (dark section)
════════════════════════════════════════ */
.network {
  background: var(--black);
  padding: clamp(80px, 11vh, 140px) var(--pad);
  color: var(--cream);
}
.network-inner { max-width: var(--max-w); margin: 0 auto; }
.network-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.network h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 400; line-height: 1.05; letter-spacing: -0.02em;
  max-width: 520px;
}
.network h2 em { color: var(--yellow); font-style: italic; }
.network-desc { font-size: 15px; line-height: 1.7; color: rgba(255,249,237,0.45); max-width: 300px; }

.network-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px; background: rgba(255,249,237,0.05);
}
.network-card { background: var(--black); padding: 24px 22px; transition: background 0.2s; }
.network-card:hover { background: rgba(255,249,237,0.04); }
.network-rank { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); font-weight: 600; margin-bottom: 6px; }
.network-co   { font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,249,237,0.3); font-weight: 600; margin-bottom: 10px; }
.network-name { font-family: var(--font-display); font-size: 19px; font-weight: 400; color: var(--cream); }

/* ════════════════════════════════════════
   THESIS ("We look for builders")
════════════════════════════════════════ */
.thesis {
  background: var(--yellow);
  padding: clamp(80px, 11vh, 140px) var(--pad);
}
.thesis-inner { max-width: var(--max-w); margin: 0 auto; }
.thesis h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 400; line-height: 1.0; letter-spacing: -0.025em;
  margin-bottom: 56px; max-width: 760px;
}
.thesis-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2px; background: rgba(10,10,10,0.08); }
.thesis-item { background: var(--yellow); padding: 28px 28px; }
.thesis-num  { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(10,10,10,0.35); font-weight: 600; margin-bottom: 10px; }
.thesis-text { font-family: var(--font-display); font-size: 21px; font-weight: 400; line-height: 1.3; }
.thesis-cta  { margin-top: 52px; }
.thesis-cta a {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase;
  text-decoration: none; color: var(--black); font-weight: 600;
  border-bottom: 1.5px solid var(--black); padding-bottom: 4px;
  transition: gap 0.2s;
}
.thesis-cta a:hover { gap: 18px; }

/* ════════════════════════════════════════
   PRESS
════════════════════════════════════════ */
.press {
  background: var(--cream);
  padding: clamp(80px, 11vh, 140px) var(--pad);
  border-top: 1px solid rgba(10,10,10,0.07);
}
.press-inner  { max-width: var(--max-w); margin: 0 auto; }
.press-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px; margin-top: 44px; background: rgba(10,10,10,0.06);
}
.press-card {
  background: var(--cream); padding: 32px 28px;
  text-decoration: none; color: var(--black);
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.25s;
}
.press-card:hover { background: var(--yellow); }
.press-tag    { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.press-title  { font-family: var(--font-display); font-size: clamp(17px, 1.8vw, 21px); font-weight: 400; line-height: 1.35; }
.press-blurb  { font-size: 13px; color: rgba(10,10,10,0.5); line-height: 1.55; }
.press-arrow  { font-size: 16px; margin-top: auto; opacity: 0.25; transition: opacity 0.2s, transform 0.2s; }
.press-card:hover .press-arrow { opacity: 1; transform: translateX(5px); }

/* ════════════════════════════════════════
   NEWSLETTER
════════════════════════════════════════ */
.newsletter { background: var(--black); padding: clamp(60px, 8vh, 96px) var(--pad); }
.newsletter-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap; }
.newsletter h2 { font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 48px); font-weight: 400; line-height: 1.1; color: var(--cream); letter-spacing: -0.02em; }
.newsletter h2 em { color: var(--yellow); font-style: italic; }
.newsletter-form { display: flex; gap: 0; flex: 0 0 min(420px, 100%); }
.nl-input {
  flex: 1; padding: 14px 18px;
  background: transparent; border: 1.5px solid rgba(255,249,237,0.2); border-right: none;
  color: var(--cream); font-size: 14px; outline: none;
  transition: border-color 0.2s;
}
.nl-input::placeholder { color: rgba(255,249,237,0.3); }
.nl-input:focus { border-color: var(--yellow); }
.nl-btn {
  padding: 14px 22px; background: var(--yellow); border: 1.5px solid var(--yellow);
  color: var(--black); font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase;
  font-weight: 700; cursor: pointer; transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nl-btn:hover { background: transparent; color: var(--yellow); }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: var(--black); color: var(--cream);
  padding: clamp(44px, 6vh, 72px) var(--pad);
  border-top: 1px solid rgba(255,249,237,0.07);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.footer-logo { font-family: var(--font-display); font-size: 28px; color: var(--yellow); text-decoration: none; }
.footer-address { font-size: 12px; line-height: 1.8; color: rgba(255,249,237,0.35); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: rgba(255,249,237,0.35); font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { max-width: var(--max-w); margin: 32px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,249,237,0.06); font-size: 11px; color: rgba(255,249,237,0.2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 768px) {
  .approach-grid { grid-template-columns: 1fr; }
  .network-header { flex-direction: column; }
  .network-desc { text-align: left; max-width: 100%; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .nav-links { gap: 20px; }
}
@media (max-width: 520px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,249,237,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(10,10,10,0.08);
    padding: 12px var(--pad) 24px;
    flex-direction: column;
    gap: 0;
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links li { display: block !important; }
  .nav-links a {
    display: block;
    font-size: 13px; padding: 12px 0;
    border-bottom: 1px solid rgba(10,10,10,0.06);
    opacity: 0.55;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links a:hover, .nav-links a.active { opacity: 1; }
}
