* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: clamp(15px, 1.1vw, 18px); }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

/* CURRENTLY BADGE */
.currently-badge {
  display: block;
  padding: 10px 48px;
  background: #fdf8e8;
  border-bottom: 1px solid #e8d88a;
  font-size: 13px;
  color: #6b5a0a;
  text-decoration: none;
}
.currently-badge:hover {
  background: #faf0d0;
}

/* BANNER */
.banner {
  background: #000;
  color: #FFC904;
  text-align: center;
  padding: 14px 48px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  border-bottom: 1px solid #eee;
}
.nav-name {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}
.nav-links a {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  margin-left: 32px;
}
.nav-links a:hover, .nav-links a.active { color: #000; }

/* HERO */
.hero {
  padding: 80px 48px 60px;
  background: #000;
  color: #fff;
  border-bottom: 3px solid #FFC904;
}
.hero h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}
.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.hero-blurb p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
}
.hero-blurb-text {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-photo {
  width: 180px;
  height: 180px;
  min-width: 180px;
  border-radius: 50%;
  background: #222;
  border: 3px solid #FFC904;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #555;
}

/* EXPERIENCE */
.experience {
  padding: 48px 48px;
  border-top: 1px solid #f0f0f0;
  max-width: 1400px;
  margin: 0 auto;
}
.section-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #BA9B37;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e8e0c8;
  transform: translateX(-50%);
}
.exp-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 24px 0;
  position: relative;
}
.exp-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  background: #FFC904;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.exp-image {
  width: 100%;
  height: 200px;
  background: #f4f4f4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  overflow: hidden;
}
.exp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.exp-content {
  padding-left: 20px;
}
.exp-date {
  font-size: 14px;
  color: #999;
  margin-bottom: 4px;
}
.exp-company { font-size: 17px; font-weight: 600; }
.exp-role { font-size: 14px; color: #666; }
.exp-desc { font-size: 13px; color: #999; margin-top: 4px; }

/* PROJECT CARDS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 48px;
  border-top: 1px solid #f0f0f0;
  max-width: 1400px;
  margin: 0 auto;
}
.project-card {
  text-decoration: none;
  color: #222;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #e8e0c8;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(186, 155, 55, 0.15);
}
.project-card.coming-soon { opacity: 0.5; pointer-events: none; }
.card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.card-placeholder { font-size: 32px; opacity: 0.5; }
.card-info { padding: 16px 20px; }
.card-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.card-info p { font-size: 13px; color: #888; }

/* === PROJECT PAGE STYLES === */

/* Project Hero */
.project-hero {
  background: #1a1a2e;
  color: white;
  padding: 80px 48px 60px;
  border-bottom: 3px solid #FFC904;
}
.project-hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 8px; }
.project-hero .context { font-size: 15px; color: rgba(255,255,255,0.6); }

/* Project Content */
.project-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.project-content h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #BA9B37;
  margin-top: 48px;
  margin-bottom: 12px;
}
.project-content h2:first-child { margin-top: 0; }
.project-content p {
  font-size: 16px;
  color: #333;
  margin-bottom: 16px;
}
.project-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}
.project-content ul li {
  font-size: 15px;
  color: #444;
  padding: 3px 0;
}

/* Full-width image */
.full-image {
  width: 100%;
  background: #f4f4f4;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 14px;
  margin: 0;
}

/* Image row (side by side) */
.image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.image-row .img-slot {
  background: #f4f4f4;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 13px;
  text-align: center;
  padding: 0;
  border-radius: 4px;
  overflow: hidden;
  flex-direction: column;
}
.image-row .img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  flex: 1;
  min-height: 0;
}

/* Text + Image side by side */
.content-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  margin: 32px 0;
}
.content-row .text-side h2 {
  margin-top: 0;
}
.content-row .img-side {
  background: #f4f4f4;
  min-height: 320px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 13px;
  text-align: center;
  padding: 20px;
}
.content-row.reverse {
  direction: rtl;
}
.content-row.reverse > * {
  direction: ltr;
}

/* Analysis table */
.analysis-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 16px 0 32px;
}
.analysis-table th {
  text-align: left;
  padding: 10px 12px;
  background: #f8f8f8;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  font-size: 13px;
}
.analysis-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
}
.pass { color: #2e7d32; font-weight: 600; }
.fail { color: #b71c1c; }

/* Skills pills */
.skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 32px;
}
.skill-pill {
  background: #fdf8e8;
  border: 1px solid #e8d88a;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: #6b5a0a;
}

/* Other projects section at bottom */
.other-projects {
  padding: 48px;
  border-top: 1px solid #f0f0f0;
  max-width: 1400px;
  margin: 0 auto;
}
.other-projects h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
}
.other-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

/* === RESPONSIVE === */

/* Tablets and smaller */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 12px;
    padding: 16px 24px;
  }
  .nav-links a { margin-left: 16px; }
  .hero { padding: 48px 24px 40px; }
  .hero h1 { font-size: 28px; }
  .hero-inner { flex-direction: column; gap: 24px; }
  .experience { padding: 32px 24px; }
  .projects-grid { padding: 32px 24px; }
  .project-content { padding: 32px 24px; }
  .other-projects { padding: 32px 24px; }
  .content-row { grid-template-columns: 1fr; gap: 20px; }
  .content-row.reverse { direction: ltr; }
  .image-row { grid-template-columns: 1fr; }
  .exp-item { grid-template-columns: 1fr; gap: 16px; }
  .timeline::before { display: none; }
  .exp-item::before { display: none; }
  .banner { padding: 10px 24px; font-size: 12px; }
  .project-hero { padding: 48px 24px 40px; }
}

/* Large screens — prevent content from stretching too wide */
@media (min-width: 1400px) {
  .hero-inner { max-width: 1400px; margin: 0 auto; }
  .banner { font-size: 15px; }
  nav { padding: 20px 80px; }
  .hero { padding: 80px 80px 60px; }
  .project-hero { padding: 80px 80px 60px; }
  .image-row .img-slot { min-height: 550px; }
}

/* Very small screens */
@media (max-width: 480px) {
  .nav-links a { margin-left: 8px; font-size: 12px; }
  .hero h1 { font-size: 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  .setup-grid { grid-template-columns: 1fr; }
}
