/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:         #ffffff;
  --surface:    #f5f7fa;
  --surface2:   #eef1f6;
  --accent:     #2563eb;
  --gold:       #b45309;
  --text:       #111827;
  --text-muted: #6b7280;
  --border:     rgba(0,0,0,0.1);
  --radius:     12px;
  --nav-h:      64px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* ============================================
   NAV
   ============================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  gap: 16px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ============================================
   SECTIONS — SHARED
   ============================================ */
section {
  padding: 96px 0;
}

section:nth-child(odd) {
  background: var(--bg);
}

section:nth-child(even) {
  background: var(--surface);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 56px;
  font-size: 1.05rem;
}

/* ============================================
   HERO
   ============================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background: var(--bg);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  align-items: flex-start;
  gap: 72px;
}

.hero-photo {
  flex-shrink: 0;
}

.hero-photo img {
  width: 460px;
  height: 580px;
  border-radius: 16px;
  object-fit: cover;
  object-position: top center;
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}

.hero-text {
  padding-top: 24px;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding: 0 0 40px;
}

/* Center vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(37,99,235,0.08));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding-bottom: 48px;
}

/* Right-side items */
.timeline-item[data-side="right"] {
  left: 50%;
  padding-left: 48px;
  padding-right: 0;
}

/* Left-side items */
.timeline-item[data-side="left"] {
  left: 0;
  padding-right: 48px;
  padding-left: 0;
  text-align: right;
}

/* The dot on the center line */
.timeline-marker {
  position: absolute;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-item[data-side="right"] .timeline-marker {
  left: -7px;
}

.timeline-item[data-side="left"] .timeline-marker {
  right: -7px;
}

.timeline-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.timeline-item[data-side="left"] .timeline-card ul {
  text-align: left;
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 4px;
}

.timeline-item[data-side="left"] .timeline-meta {
  flex-direction: row-reverse;
}

.timeline-company {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-dates {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.timeline-card ul {
  padding-left: 18px;
  list-style: disc;
  color: var(--text-muted);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Education callout */
.education-block {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 16px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.education-block h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.education-block p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.education-block strong {
  color: var(--text);
}

/* ============================================
   VALUES
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(37,99,235,0.1);
  border-color: var(--accent);
}

.value-number {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.value-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================
   VENTURES
   ============================================ */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.venture-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.venture-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.1);
}

.venture-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.venture-name {
  font-size: 1.15rem;
  font-weight: 700;
}

.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.badge-active {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.badge-lessons {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-ongoing {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.venture-desc {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.venture-highlights {
  font-size: 0.9rem;
}

.venture-highlights strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.venture-highlights ul {
  list-style: disc;
  padding-left: 18px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.venture-cta {
  margin-top: auto;
}

/* ============================================
   P&L CHART
   ============================================ */
.pnl-section {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.pnl-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.pnl-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 2px;
}

.legend-dot.revenue  { background: var(--accent); }
.legend-dot.expenses { background: #f59e0b; }
.legend-dot.net      { background: #16a34a; }

.pnl-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100px;
  padding: 0 2px;
}

.pnl-month {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.pnl-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 80px;
}

.pnl-bar {
  width: 6px;
  border-radius: 3px 3px 0 0;
  min-height: 2px;
  transition: opacity 0.2s;
}

.pnl-bar:hover { opacity: 0.7; }

.pnl-bar.rev  { background: var(--accent); }
.pnl-bar.exp  { background: #f59e0b; }
.pnl-bar.net  { background: #16a34a; }
.pnl-bar.net-neg { background: #dc2626; }

.pnl-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================
   COMMUNITY
   ============================================ */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.community-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.community-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.community-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.community-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.community-role {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.community-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.coaching-list {
  list-style: disc;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ============================================
   CONTACT
   ============================================ */
#contact {
  text-align: center;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 360px;
}

.contact-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.contact-location {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.95rem;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  transition: border-color 0.2s, background 0.2s;
}

.contact-link:hover {
  border-color: var(--accent);
  background: #eff6ff;
  color: var(--text);
}

.contact-icon {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.todo {
  color: #b45309;
  font-style: italic;
  font-size: 0.88rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — TABLET (< 900px)
   ============================================ */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    padding-top: 40px;
  }

  .hero-photo img {
    width: 100%;
    max-width: 460px;
    height: 460px;
  }

  .hero-text {
    padding-top: 0;
  }

  .hero-sub {
    margin: 0 auto 36px;
  }

  .hero-ctas {
    justify-content: center;
  }

  /* Collapse timeline to single column */
  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item[data-side="right"],
  .timeline-item[data-side="left"] {
    left: 0;
    width: 100%;
    padding-left: 52px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-item[data-side="left"] .timeline-card ul {
    text-align: left;
  }

  .timeline-item .timeline-marker,
  .timeline-item[data-side="right"] .timeline-marker,
  .timeline-item[data-side="left"] .timeline-marker {
    left: 13px;
    right: auto;
  }

  .timeline-item[data-side="left"] .timeline-meta {
    flex-direction: row;
  }

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

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

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

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (< 600px)
   ============================================ */
@media (max-width: 600px) {
  section {
    padding: 64px 0;
  }

  .hero-photo img {
    height: 320px;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

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

  .contact-card {
    min-width: 0;
    width: 100%;
    padding: 32px 24px;
  }
}
