* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #ffffff;
  color: #181d26;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

a {
  text-decoration: none;
}

/* Top nav */

.top-nav {
  border-bottom: 1px solid #dddddd;
}

.top-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 64px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 16px;
  font-weight: 500;
  color: #181d26;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-text-link {
  color: #333840;
  font-size: 14px;
  margin-right: 8px;
}

/* Buttons */

.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  padding: 12px 20px;
  border-radius: 12px;
}

.btn-primary {
  background: #181d26;
  color: #ffffff;
}

.btn-primary:hover {
  background: #0d1218;
}

.btn-secondary {
  background: #ffffff;
  color: #181d26;
  border: 1px solid #dddddd;
}

.btn-secondary:hover {
  border-color: #9297a0;
}

/* Hero */

.hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 96px 48px;
  text-align: left;
}

.hero-title {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: #181d26;
  max-width: 600px;
}

.hero-sub {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #333840;
  max-width: 480px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
}

/* Work */

.work {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.work-eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: #41454d;
  margin-bottom: 8px;
}

.work-card {
  display: flex;
  align-items: center;
  gap: 40px;
  border-radius: 12px;
  padding: 48px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.work-card:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

.work-card-coral {
  background: #aa2d00;
  color: #ffffff;
}

.work-card-forest {
  background: #0a2e0e;
  color: #ffffff;
}

.work-card-cream {
  background: #f5e9d4;
  color: #181d26;
}

.work-card-dark {
  background: #181d26;
  color: #ffffff;
}

.work-card-text {
  flex: 0 0 40%;
}

.work-card-tag {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16px;
  opacity: 0.75;
  margin-bottom: 12px;
}

.work-card-title {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.work-card-desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.9;
}

.work-card-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #ffffff;
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Project detail page */

.project-header {
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px 48px 32px;
}

.project-back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  color: #41454d;
}

.project-back:hover {
  color: #181d26;
}

.project-tag {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: #41454d;
  margin-bottom: 12px;
}

.project-title {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: #181d26;
}

.project-desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #333840;
  max-width: 600px;
}

.slide-deck {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 48px 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.slide {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #dddddd;
  background: #f8fafc;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 800px) {
  .project-header {
    padding: 40px 24px 24px;
  }

  .slide-deck {
    padding: 24px 24px 56px;
  }
}

/* About page */

.about-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px 48px;
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.about-photo {
  flex: 0 0 280px;
  border-radius: 12px;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  flex: 1;
  max-width: 560px;
}

.about-hook {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  color: #181d26;
  margin-bottom: 32px;
}

.about-para {
  font-size: 14px;
  line-height: 1.6;
  color: #333840;
  margin-bottom: 16px;
}

.about-cta {
  font-size: 14px;
  line-height: 1.6;
  color: #333840;
  margin-top: 24px;
}

.about-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.stats-bar {
  background: #e0e2e6;
  border-radius: 12px;
  max-width: 1000px;
  margin: 0 auto 96px;
  padding: 32px 48px;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 28px;
  font-weight: 500;
  color: #181d26;
}

.stat-label {
  font-size: 13px;
  color: #41454d;
}

.highlights {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px 96px;
}

.highlight-item {
  padding: 24px 0;
  border-top: 1px solid #dddddd;
}

.highlight-item:last-child {
  border-bottom: 1px solid #dddddd;
}

.highlight-title {
  font-size: 18px;
  font-weight: 500;
  color: #181d26;
  line-height: 1.3;
}

.highlight-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #333840;
  max-width: 640px;
}

.text-link {
  color: #1b61c9;
}

.certifications {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px 96px;
}

.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.cert-pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #181d26;
  background: #f8fafc;
  border: 1px solid #dddddd;
  border-radius: 9999px;
  padding: 8px 16px;
}

.cert-note {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #41454d;
  max-width: 640px;
}

@media (max-width: 800px) {
  .about-hero {
    flex-direction: column;
    padding: 40px 24px;
    gap: 32px;
  }

  .about-photo {
    flex: none;
    max-width: 220px;
  }

  .about-hook {
    font-size: 20px;
  }

  .stats-bar {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    margin-bottom: 56px;
  }

  .highlights {
    padding: 0 24px 56px;
  }

  .certifications {
    padding: 0 24px 56px;
  }
}

/* Footer */

.footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 48px;
  border-top: 1px solid #dddddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #41454d;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #1b61c9;
}

/* Responsive */

@media (max-width: 800px) {
  .top-nav-inner {
    padding: 0 24px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-text-link {
    font-size: 13px;
    margin-right: 0;
  }

  .btn {
    font-size: 14px;
    padding: 10px 14px;
  }

  .hero {
    padding: 56px 24px;
  }

  .hero-title {
    font-size: 30px;
  }

  .work {
    padding: 0 24px 56px;
  }

  .work-card {
    flex-direction: column;
    align-items: stretch;
    padding: 32px;
  }

  .work-card-text {
    flex: none;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 24px;
  }
}
