body {
  font-family: 'Roboto Mono', monospace;
  background-color: #fafafa;
  color: #333;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: #1a1a2e;
}

a {
  color: #2e7d32;
  text-decoration: none;
}

a:hover {
  color: #43a047;
  text-decoration: underline;
}

/* Nav */
.w3-bar {
  font-family: 'Roboto Mono', monospace;
  position: sticky;
  top: 0;
  z-index: 100;
}

.w3-bar a {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
}

/* Main */
.main-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */
.hero-section {
  padding: 4rem 0 2rem;
}

.hero-grid {
  display: flex;
  align-items: center;
  gap: 3rem;
}

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

.logo {
  width: 200px;
  height: 200px;
  border-radius: 12px;
}

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

.tagline {
  font-size: 1.2rem;
  color: #2e7d32;
  font-weight: 600;
  margin-top: 0;
}

.subtitle {
  font-size: 0.95rem;
  max-width: 560px;
  color: #555;
}

/* Sections */
.content-section {
  padding: 2.5rem 0;
}

.content-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #2e7d32;
  display: inline-block;
}

hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0;
}

/* Story */
.story-block p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Current Role */
.current-role h3 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.role-meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 1rem;
}

.current-role p {
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-tags span {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: 'Roboto Mono', monospace;
}

/* Founder Section */
.founder-section {
  margin-top: 3rem;
}

.founder-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #2e7d32;
  display: inline-block;
}

.section-intro {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.project-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.project-card h3 a {
  color: #1a1a2e;
}

.project-card h3 a:hover {
  color: #2e7d32;
}

.project-card p {
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  color: #444;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid #e0e0e0;
}

.timeline-item {
  position: relative;
  padding: 0 0 2rem 1.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.85rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2e7d32;
  border: 2px solid #fafafa;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-header h4 {
  font-size: 1.05rem;
  margin: 0;
}

.timeline-date {
  font-size: 0.8rem;
  color: #888;
  font-family: 'Roboto Mono', monospace;
}

.timeline-role {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.2rem;
}

/* Philosophy */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.philosophy-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.philosophy-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.philosophy-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: #2e7d32;
}

.philosophy-card p {
  font-size: 0.88rem;
  color: #555;
  margin: 0;
}

/* Contact */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.contact-item i {
  font-size: 1.3rem;
  color: #2e7d32;
  width: 1.5rem;
  text-align: center;
}

/* Footer */
footer p {
  color: #aaa;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }

  .logo {
    width: 160px;
    height: 160px;
  }

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

  .subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .timeline-header {
    flex-direction: column;
  }

  .w3-bar a {
    font-size: 0.75rem;
    padding: 0.6rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }

  .content-section h2 {
    font-size: 1.4rem;
  }

  .tech-tags span {
    font-size: 0.72rem;
  }
}
