/* ============================================
   unpackleadership.com - Main Stylesheet
   Inspired by leadhuman.ai | Matt Gates
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #F5F4F0;
  color: #2c2a26;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: #4B57DB;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #3a44b5;
}

/* --- Layout --- */
.container {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
nav {
  background: #F5F4F0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 20px;
  font-weight: 700;
  color: #4B57DB;
  letter-spacing: -0.3px;
}

.nav-brand:hover {
  color: #3a44b5;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: #4a4843;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #4B57DB;
}

/* --- Hero Section --- */
.hero {
  padding: 64px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  color: #1e1c16;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.hero-content .subtitle {
  font-size: 16px;
  color: #6b6862;
  margin-bottom: 20px;
  line-height: 1.5;
}

.hero-content .bio {
  font-size: 15px;
  color: #4a4843;
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-content .location {
  font-size: 12px;
  color: #8a8780;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  background: #4B57DB;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn:hover {
  background: #3a44b5;
  color: #fff;
}

/* --- Image Carousel (placeholder) --- */
.hero-images {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #e8e6e0;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-images .placeholder {
  color: #8a8780;
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

/* --- Section Divider --- */
.section-divider {
  border: none;
  height: 1px;
  background: rgba(0,0,0,0.06);
  margin: 0;
}

/* --- Section Headers --- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1e1c16;
}

.section-header .view-all {
  font-size: 14px;
  font-weight: 500;
  color: #4B57DB;
}

/* --- Blog Cards --- */
.blog-section {
  padding: 48px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(0,0,0,0.04);
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: #e8e6e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8780;
  font-size: 13px;
}

.blog-card-body {
  padding: 20px;
}

.blog-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #4B57DB;
  margin-bottom: 8px;
}

.blog-card-meta {
  font-size: 12px;
  color: #8a8780;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1e1c16;
  line-height: 1.4;
  margin-bottom: 8px;
}

.blog-card p {
  font-size: 13px;
  color: #6b6862;
  line-height: 1.5;
}

/* --- Topic Categories --- */
.topics-section {
  padding: 48px 0;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.topic-card {
  background: #fff;
  border-radius: 10px;
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.topic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.topic-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1e1c16;
  margin-bottom: 10px;
}

.topic-card p {
  font-size: 13px;
  color: #6b6862;
  line-height: 1.6;
  margin-bottom: 16px;
}

.topic-card .read-link {
  font-size: 13px;
  font-weight: 600;
  color: #4B57DB;
}

/* --- About Section --- */
.about-section {
  padding: 48px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}

.about-image {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  background: #e8e6e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8780;
  font-size: 13px;
}

.about-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1e1c16;
  margin-bottom: 16px;
}

.about-content p {
  font-size: 15px;
  color: #4a4843;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* --- Footer --- */
footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: #6b6862;
}

.footer-links a:hover {
  color: #4B57DB;
}

.footer-copy {
  font-size: 13px;
  color: #8a8780;
}

/* --- Blog Listing Page --- */
.page-header {
  padding: 48px 0 24px;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: #1e1c16;
}

.page-header p {
  font-size: 15px;
  color: #6b6862;
  margin-top: 8px;
}

.blog-list {
  padding: 0 0 48px;
}

.blog-list-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.blog-list-item:last-child {
  border-bottom: none;
}

.blog-list-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: #e8e6e0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8780;
  font-size: 12px;
}

.blog-list-content .tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #4B57DB;
}

.blog-list-content .meta {
  font-size: 12px;
  color: #8a8780;
  margin: 4px 0 8px;
}

.blog-list-content h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1e1c16;
  margin-bottom: 8px;
}

.blog-list-content h2 a {
  color: #1e1c16;
}

.blog-list-content h2 a:hover {
  color: #4B57DB;
}

.blog-list-content p {
  font-size: 14px;
  color: #6b6862;
  line-height: 1.6;
}

/* --- Blog Post Page --- */
.post-header {
  padding: 48px 0 24px;
}

.post-header .tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #4B57DB;
  margin-bottom: 12px;
}

.post-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: #1e1c16;
  line-height: 1.2;
  margin-bottom: 12px;
}

.post-header .meta {
  font-size: 14px;
  color: #8a8780;
}

.post-featured-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: #e8e6e0;
  border-radius: 10px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8780;
}

.post-content {
  font-size: 16px;
  color: #2c2a26;
  line-height: 1.8;
  padding-bottom: 48px;
}

.post-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1e1c16;
  margin: 32px 0 16px;
}

.post-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1e1c16;
  margin: 24px 0 12px;
}

.post-content p {
  margin-bottom: 16px;
}

.post-content ul, .post-content ol {
  margin: 0 0 16px 24px;
}

.post-content li {
  margin-bottom: 8px;
}

.post-content blockquote {
  border-left: 3px solid #4B57DB;
  padding: 12px 20px;
  margin: 24px 0;
  background: rgba(75, 87, 219, 0.04);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #4a4843;
}

.post-content code {
  background: #e8e6e0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}

.post-content pre {
  background: #1e1c16;
  color: #e8e6e0;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.5;
}

/* --- About Page --- */
.about-page {
  padding: 48px 0;
}

.about-page h1 {
  font-size: 36px;
  font-weight: 700;
  color: #1e1c16;
  margin-bottom: 24px;
}

.about-page .about-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 48px;
}

.about-page .about-photo {
  width: 250px;
  height: 250px;
  border-radius: 12px;
  background: #e8e6e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8780;
}

.about-page .about-text p {
  font-size: 16px;
  color: #4a4843;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    margin: 0 auto;
  }

  .blog-list-item {
    grid-template-columns: 1fr;
  }

  .about-page .about-layout {
    grid-template-columns: 1fr;
  }

  .about-page .about-photo {
    margin: 0 auto;
  }

  .nav-links {
    gap: 16px;
  }

  .footer-grid {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 12px;
  }
}