/* ═══════════════════════════════════════════════════════════
   ASF BRAND — Light Theme
   Aviation Sustainability Forum · August 2026
   Brand colors extracted from aviationsustainabilityforum.com:
     #28303D  dark charcoal text
     #39414D  secondary charcoal
     #00d084  vivid green
     #7bdcb5  medium green
     #D1E4DD  sage green (light)
     #FFFFFF  white
   ═══════════════════════════════════════════════════════════ */

/* ── GLOBAL ── */
body {
  background: #FFFFFF !important;
  color: #28303D !important;
}

/* ── NAV — shared link styles ── */
.nav-link {
  border-color: #39414D !important;
  color: #7bdcb5 !important;
  background: transparent !important;
}
.nav-link:hover {
  border-color: #7bdcb5 !important;
  color: #FFFFFF !important;
  background: rgba(0,208,132,0.15) !important;
}
.nav-link.active {
  border-color: #00d084 !important;
  color: #FFFFFF !important;
  background: #00d084 !important;
}
.nav-sep { display: none !important; }


/* ── HAMBURGER NAV (all non-investor pages) ── */
.site-nav {
  display: flex !important;
  align-items: center !important;
  background: #28303D !important;
  padding: 0 16px !important;
  height: 48px !important;
  border-radius: 8px !important;
  margin-bottom: 28px !important;
  position: relative !important;
  gap: 8px !important;
}
.nav-brand {
  font-size: 10px !important;
  letter-spacing: 3px !important;
  color: #7bdcb5 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
  margin-right: 4px !important;
}
.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-left: auto !important;
  flex-wrap: nowrap !important;
}
.site-nav .nav-link {
  font-size: 8.5px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 5px 10px !important;
  border-radius: 6px !important;
  border: 1px solid #39414D !important;
  color: #7bdcb5 !important;
  background: transparent !important;
  white-space: nowrap !important;
  transition: all 0.2s !important;
}
.site-nav .nav-link:hover {
  border-color: #7bdcb5 !important;
  color: #FFFFFF !important;
  background: rgba(0,208,132,0.15) !important;
}
.site-nav .nav-link.active {
  border-color: #00d084 !important;
  color: #FFFFFF !important;
  background: #00d084 !important;
}
.nav-toggle {
  display: flex !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 8px !important;
  flex-direction: column !important;
  gap: 5px !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}
.nav-toggle span {
  display: block !important;
  width: 20px !important;
  height: 2px !important;
  background: #7bdcb5 !important;
  border-radius: 2px !important;
}
.nav-links {
  display: none !important;
  position: fixed !important;
  top: 48px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: #28303D !important;
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 10px 16px 16px !important;
  z-index: 9998 !important;
  gap: 4px !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2) !important;
  box-sizing: border-box !important;
}
.site-nav.open .nav-links { display: flex !important; }
.site-nav .nav-link {
  font-size: 13px !important;
  padding: 11px 14px !important;
  letter-spacing: 0.5px !important;
  border-radius: 6px !important;
  display: block !important;
  text-align: left !important;
  white-space: normal !important;
  min-height: auto !important;
}

/* ── INVESTOR TOPBAR HAMBURGER ── */
.nav-toggle-inv {
  display: flex !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 6px !important;
  flex-direction: column !important;
  gap: 4px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.nav-toggle-inv span {
  display: block !important;
  width: 18px !important;
  height: 2px !important;
  background: #7bdcb5 !important;
  border-radius: 2px !important;
}
.inv-nav-links {
  display: none !important;
  position: fixed !important;
  top: 51px !important;
  left: 0 !important;
  width: 220px !important;
  background: #28303D !important;
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 10px 12px 14px !important;
  z-index: 9998 !important;
  gap: 4px !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2) !important;
  box-sizing: border-box !important;
}
.topbar-nav.open .inv-nav-links { display: flex !important; }
.inv-nav-links .nav-link {
  font-size: 13px !important;
  padding: 10px 12px !important;
  letter-spacing: 0.5px !important;
  border-radius: 6px !important;
  display: block !important;
  text-align: left !important;
  white-space: normal !important;
  min-height: auto !important;
}

/* ── HEADER ── */
header h1 { color: #00d084 !important; }
header p   { color: #6b8f84 !important; }

/* ── SECTIONS ── */
.section-label { color: #6b8f84 !important; }
.section-label::after { background: #D1E4DD !important; }
.section-title { color: #28303D !important; }
.section-num { color: #D1E4DD !important; }
.section-header { border-bottom-color: #D1E4DD !important; }

/* ── BODY TEXT ── */
.body { color: #39414D !important; }
.body strong { color: #28303D !important; }
.body em { color: #00d084 !important; font-style: normal !important; }

/* ── CARDS (used on index, workshop, investor) ── */
.card {
  background: #FFFFFF !important;
  border-color: #D1E4DD !important;
}
.card-label { border-bottom-color: #D1E4DD !important; }
.card-body { color: #39414D !important; }
.card-body strong { color: #28303D !important; }
.card-body li::before { color: #7bdcb5 !important; }
.card-body .row .val { color: #00d084 !important; }
.card-body .row .val.green { color: #059669 !important; }
.card-body .row .val.amber { color: #d97706 !important; }
.card-body .row .val.red { color: #dc2626 !important; }
.card-body .row .val.purple { color: #7c3aed !important; }

/* ── INDEX CARDS (different class structure) ── */
.card-title { color: #00d084 !important; border-bottom-color: #D1E4DD !important; }
.step-label   { color: #6b8f84 !important; }
.step-content { color: #28303D !important; }
.hl   { color: #00d084 !important; }
.hlg  { color: #059669 !important; }
.hlp  { color: #0f766e !important; }
hr.divider { border-top-color: #D1E4DD !important; }
.leg-item { color: #28303D !important; }
.hyp { background: #e8f8f2 !important; border-color: #00d084 !important; color: #28303D !important; }
.hyp-label { color: #00d084 !important; }

/* ── CALLOUTS ── */
.callout-blue   { background: #e8f4fd !important; border-color: #238376 !important; color: #28303D !important; }
.callout-green  { background: #e6f9f2 !important; border-color: #00d084 !important; color: #14532D !important; }
.callout-amber  { background: #fefce8 !important; border-color: #d97706 !important; color: #7c600a !important; }
.callout-red    { background: #fef2f2 !important; border-color: #dc2626 !important; color: #7f1d1d !important; }
.callout-purple { background: #f5f0fe !important; border-color: #7c3aed !important; color: #4c1d95 !important; }
.callout-slate  { background: #f0f8f5 !important; border-color: #D1E4DD !important; color: #28303D !important; }
.callout strong { filter: none !important; color: inherit !important; }

/* ── TAGS ── */
.tag-green  { background: #d1fae5 !important; color: #14532D !important; }
.tag-amber  { background: #fef3c7 !important; color: #92400e !important; }
.tag-red    { background: #fee2e2 !important; color: #7f1d1d !important; }
.tag-blue   { background: #dbeafe !important; color: #1e3a8a !important; }
.tag-purple { background: #ede9fe !important; color: #4c1d95 !important; }

/* ── STAT ROW ── */
.stat {
  background: #FFFFFF !important;
  border-color: #D1E4DD !important;
}
.stat-label { color: #6b8f84 !important; }

/* ── TABLE ── */
.tbl-wrap { background: #FFFFFF !important; border-color: #D1E4DD !important; }
.tbl th { color: #6b8f84 !important; border-bottom-color: #D1E4DD !important; background: #f0f8f5 !important; }
.tbl td { color: #39414D !important; border-bottom-color: #D1E4DD !important; }
.tbl td strong { color: #28303D !important; }
.tbl tr:hover td { background: #f8fdfb !important; }

/* ── EQUATION ── */
.equation { background: #f0f8f5 !important; border-color: #D1E4DD !important; }
.eq-row { color: #6b8f84 !important; }
.eq-row .n { color: #00d084 !important; }
.eq-row .op { color: #D1E4DD !important; }
.eq-row .result { color: #059669 !important; }
.eq-gate { color: #6b8f84 !important; border-top-color: #D1E4DD !important; }
.eq-gate strong { color: #059669 !important; }
/* Workshop equation variant */
.eq-line { color: #39414D !important; }
.eq-line .hl { color: #00d084 !important; }
.eq-line .op { color: #D1E4DD !important; }

/* ── CAPABILITY LADDER ── */
.ladder { border-color: #D1E4DD !important; }
.ladder-rung { border-bottom-color: #D1E4DD !important; }
.rung-1 { background: #FFFFFF !important; }
.rung-2 { background: #f8fdfb !important; }
.rung-3 { background: #e6f9f2 !important; color: #28303D !important; border-left-color: #00d084 !important; }
.rung-4 { background: #FFFFFF !important; }
.rung-5 { background: #FFFFFF !important; }
.rung-desc { color: #6b8f84 !important; }

/* ── TIMELINE (workshop + investor) ── */
.timeline::before {
  background: linear-gradient(to bottom, #00d084, #7bdcb5, #059669, #d97706) !important;
}
.tl-dot { background: #FFFFFF !important; }
.tl-what { color: #28303D !important; }
.tl-detail { color: #6b8f84 !important; }
/* Color variants */
.tl-sep .tl-when, .tl-blue .tl-when { color: #00d084 !important; }
.tl-sep .tl-dot, .tl-blue .tl-dot { border-color: #00d084 !important; }
.tl-purple .tl-when { color: #059669 !important; }
.tl-purple .tl-dot { border-color: #059669 !important; }
.tl-cyan .tl-when { color: #0f766e !important; }
.tl-cyan .tl-dot { border-color: #0f766e !important; }
.tl-amber .tl-when { color: #d97706 !important; }
.tl-amber .tl-dot { border-color: #d97706 !important; }
.tl-gate { background: #e6f9f2 !important; border-color: #00d084 !important; }
.tl-gate .gate-label { color: #00d084 !important; }
.tl-gate .gate-text { color: #28303D !important; }

/* ── RISK ROWS ── */
.risk-row { background: #FFFFFF !important; border-color: #D1E4DD !important; }
.risk-high { background: #fee2e2 !important; color: #7f1d1d !important; }
.risk-med  { background: #fef3c7 !important; color: #92400e !important; }
.risk-low  { background: #d1fae5 !important; color: #14532D !important; }
.risk-body { color: #39414D !important; }
.risk-body strong { color: #28303D !important; display: block !important; margin-bottom: 2px !important; }

/* ── ASSUMPTION CONFIDENCE ── */
.assumption { background: #FFFFFF !important; border-color: #D1E4DD !important; }
.conf-high { background: #d1fae5 !important; color: #14532D !important; }
.conf-med  { background: #fef3c7 !important; color: #92400e !important; }
.conf-low  { background: #fee2e2 !important; color: #7f1d1d !important; }
.conf-unk  { background: #ede9fe !important; color: #4c1d95 !important; }
.ass-body  { color: #39414D !important; }

/* ── DIVIDERS ── */
.divider { border-top-color: #D1E4DD !important; }

/* ── TOC (investor) ── */
.toc { background: #f0f8f5 !important; border-color: #D1E4DD !important; }
.toc-title { color: #6b8f84 !important; }
.toc-item { color: #28303D !important; border-bottom-color: #D1E4DD !important; }
.toc-item:hover { color: #00d084 !important; }
.toc-item .toc-num { color: #9dc4bb !important; }

/* ── INVESTOR COVER ── */
.cover {
  background: linear-gradient(135deg, #0f2218 0%, #1a2332 60%, #0a1a10 100%) !important;
  border-color: #1e3020 !important;
}
.cover-tag { color: #7bdcb5 !important; }
.cover-name { color: #FFFFFF !important; }
.cover-sub { color: #9dc4bb !important; }
.cover-meta-item { color: #7bdcb5 !important; }
.cover-meta-item strong { color: #00d084 !important; }
.confidential {
  background: rgba(0,0,0,0.3) !important;
  border-color: #1e3020 !important;
  color: #7bdcb5 !important;
}

/* ── SAAS FORECAST ── */
.forecast-grid { border-color: #D1E4DD !important; }
.forecast-col { border-right-color: #D1E4DD !important; background: #FFFFFF !important; }
.fc-year { color: #6b8f84 !important; }
.fc-row { border-bottom-color: #D1E4DD !important; }
.fc-key { color: #6b8f84 !important; }
.metric { background: #f0f8f5 !important; border-color: #D1E4DD !important; }
.metric-lbl { color: #6b8f84 !important; }

/* ── ROADMAP ── */
.roadmap { border-color: #D1E4DD !important; }
.s1 { background: #f8fdfb !important; }
.s2 { background: #f0f8f5 !important; }
.s3 { background: #f5fbf8 !important; }
.s4 { background: #fafaf5 !important; }
.s1 .stage-title { color: #00d084 !important; }
.s1 .stage-num::after { background: #00d084 !important; }
.s2 .stage-title { color: #059669 !important; }
.s2 .stage-num::after { background: #059669 !important; }
.s3 .stage-title { color: #0f766e !important; }
.s3 .stage-num::after { background: #0f766e !important; }
.s4 .stage-title { color: #92710a !important; }
.s4 .stage-num::after { background: #a08020 !important; }
.stage-num { color: #6b8f84 !important; }
.stage-body { color: #28303D !important; }
.stage-body strong { color: #28303D !important; }
.stage-body .sub { color: #6b8f84 !important; }
.stage-body .action { color: #00d084 !important; }
.stage-body .arrow-item { color: #059669 !important; }

.clubcard-badge { background: #e6f9f2 !important; border-color: #00d084 !important; color: #00d084 !important; }
.cloud-bubble { background: #fafaf0 !important; border-color: #92710a !important; color: #7c600a !important; }
.date-box { background: #e6f9f2 !important; border-color: #00d084 !important; color: #059669 !important; }
.date-box small { color: #6b8f84 !important; }

/* ── PROOF TIMELINE ── */
.proof-row { background: #e6f9f2 !important; border-color: #D1E4DD !important; }
.proof-label { color: #00d084 !important; }
.proof-line { background: linear-gradient(to right, #00d084, #7bdcb5, #059669, #d97706) !important; }
.proof-arrow { border-left-color: #d97706 !important; }
.sats-row { background: #f0f8f5 !important; border-color: #D1E4DD !important; }
.sats-label { color: #6b8f84 !important; }
.sats-arrow-start { border-right-color: #9dc4bb !important; }
.sats-arrow-end   { border-left-color: #9dc4bb !important; }
.sats-line { background: repeating-linear-gradient(to right, #9dc4bb 0, #9dc4bb 8px, transparent 8px, transparent 14px) !important; }

/* ── INSIGHT BAR ── */
.insight-bar { background: #e6f9f2 !important; border-color: #00d084 !important; color: #28303D !important; }
.insight-bar strong { color: #00d084 !important; }

/* ── FOOTER ── */
footer { color: #6b8f84 !important; border-top-color: #D1E4DD !important; }
footer a { color: #6b8f84 !important; }

/* ══════════════════════════════════════════
   MOBILE RESPONSIVE — max-width: 768px
   ══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── BODY ── */
  body { padding: 14px 12px 60px !important; }

  /* ── NAV — mobile sizing ── */
  .site-nav { width: 100% !important; box-sizing: border-box !important; }
  .topbar { height: auto !important; min-height: 48px !important; flex-wrap: nowrap !important; padding: 0 14px !important; }
  .topbar-counter { font-size: 9px !important; }

  /* ── HEADERS ── */
  header { margin-bottom: 16px !important; }
  header h1 { font-size: 10px !important; }

  /* ── INDEX — SVG diagram ── */
  .layout { flex-direction: column !important; align-items: stretch !important; gap: 16px !important; }
  .panel { width: 100% !important; }
  #d { width: 100% !important; height: auto !important; max-width: 100% !important; }

  /* ── ROADMAP grid → single column ── */
  .roadmap { grid-template-columns: 1fr !important; border-radius: 10px !important; }
  .stage { min-height: auto !important; border-right: none !important; border-bottom: 1px solid #D1E4DD !important; padding: 20px 16px 24px !important; }
  .stage:last-child { border-bottom: none !important; }
  .timeline-wrap .proof-row,
  .timeline-wrap .sats-row { padding: 10px 12px !important; }

  /* ── GRIDS → single column ── */
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr !important; gap: 10px !important; }

  /* ── TABLES → horizontal scroll ── */
  .tbl { display: block !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; white-space: nowrap !important; }
  .tbl td, .tbl th { white-space: normal !important; min-width: 100px !important; }
  .tbl-wrap { overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }

  /* ── STAT ROW → 2 columns ── */
  .stat-row { grid-template-columns: 1fr 1fr !important; }

  /* ── FORECAST ── */
  .forecast-grid { grid-template-columns: 1fr !important; }
  .forecast-col { border-right: none !important; border-bottom: 1px solid #D1E4DD !important; }
  .forecast-col:last-child { border-bottom: none !important; }
  .metric-strip { grid-template-columns: 1fr 1fr !important; }

  /* ── INVESTOR COVER ── */
  .cover { padding: 28px 18px !important; }
  .cover-name { font-size: 28px !important; }
  .cover-meta { flex-direction: column !important; gap: 10px !important; }
  .toc-grid { grid-template-columns: 1fr !important; }

  /* ── INVESTOR SLIDESHOW ── */
  .slide { padding: 18px 14px 36px !important; }
  .slide-dots { display: none !important; }
  .bottombar { padding: 0 12px !important; }
  .slide-btn { padding: 7px 14px !important; font-size: 10px !important; }

  /* ── OUTPUTS — deliverables ── */
  .del-header { flex-wrap: wrap !important; gap: 8px !important; padding: 12px 16px !important; }
  .del-num { width: auto !important; }
  .del-status { margin-top: 0 !important; }
  .del-body { padding: 16px !important; }
  .eq-strip { flex-direction: column !important; align-items: flex-start !important; gap: 4px !important; }

  /* ── RISK ROWS ── */
  .risk-row { flex-direction: column !important; gap: 8px !important; padding: 12px !important; }

  /* ── ASSUMPTION ROWS ── */
  .assumption { flex-direction: column !important; gap: 8px !important; }
  .conf { align-self: flex-start !important; }

  /* ── SECTION HEADER ── */
  .section-header { flex-direction: column !important; align-items: flex-start !important; gap: 4px !important; }
  .section-num { font-size: 24px !important; }
  .section-title { font-size: 16px !important; }

  /* ── WORKSHOP LADDER ── */
  .ladder-rung { flex-wrap: wrap !important; gap: 8px !important; }
  .badge { margin-left: 0 !important; }

  /* ── TIMELINE ── */
  .timeline { padding-left: 20px !important; }

  /* ── TOUCH TARGETS ── */
  .nav-link, .slide-btn, .dot { min-height: 36px !important; display: inline-flex !important; align-items: center !important; }
  .dot { min-height: 20px !important; min-width: 20px !important; }
}

/* ── EXTRA SMALL (phone portrait) ── */
@media (max-width: 420px) {
  .stat-row { grid-template-columns: 1fr !important; }
  .metric-strip { grid-template-columns: 1fr !important; }
  .cover-name { font-size: 22px !important; }
  .section-title { font-size: 14px !important; }
  body { padding: 10px 10px 60px !important; }
}

/* ── DESKTOP: inline nav, no hamburger ── */
@media (min-width: 769px) {
  .nav-toggle { display: none !important; }
  .nav-links {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    width: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-left: auto !important;
    border-radius: 0 !important;
  }
  .site-nav .nav-link {
    font-size: 8.5px !important;
    padding: 5px 10px !important;
    letter-spacing: 1px !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
  }
  .nav-toggle-inv { display: none !important; }
  .inv-nav-links {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    width: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
}
