/* ===========================
   Jake Vassello — style.css
   Palette: olive, sage, warm off-white
   =========================== */

:root {
  --olive:       #4a5640;
  --sage:        #6b7a5e;
  --sage-light:  #8a9980;
  --greige:      #c8c4b7;
  --warm-white:  #f5f2eb;
  --off-white:   #fdfaf5;
  --text-dark:   #2e3329;
  --text-mid:    #5a6350;
  --text-muted:  #9a9a8e;
  --border:      #dddad0;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===========================
   HEADER
   =========================== */

.site-header {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--olive);
  text-decoration: none;
  letter-spacing: -0.01em;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 0.85rem;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

nav a:hover { color: var(--olive); }

/* ===========================
   HERO
   =========================== */

.hero {
  padding: 5rem 0 4rem;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--olive);
  max-width: 640px;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--olive);
  color: var(--off-white);
  padding: 0.65rem 1.4rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-primary:hover { background: var(--text-dark); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--olive);
  padding: 0.65rem 1.4rem;
  border-radius: 4px;
  border: 1px solid var(--greige);
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.btn-ghost:hover { border-color: var(--sage); color: var(--sage); }

/* ===========================
   SECTION SHARED
   =========================== */

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* ===========================
   PILLARS
   =========================== */

.what-you-find {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pillar {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s, background 0.15s;
}

.pillar:hover {
  border-color: var(--sage);
  background: #eeebe2;
}

.pillar-icon {
  font-size: 1.1rem;
  color: var(--sage);
  margin-bottom: 0.75rem;
}

.pillar h3 {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--olive);
  margin-bottom: 0.5rem;
}

.pillar p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ===========================
   POST LIST
   =========================== */

.recent {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.post-card {
  display: block;
  background: var(--warm-white);
  padding: 1.75rem 1.75rem;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.post-card:last-child { border-bottom: none; }
.post-card:hover { background: #eeebe2; }
.post-card--muted { opacity: 0.6; pointer-events: none; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.post-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sage);
  background: #dde3d8;
  padding: 2px 8px;
  border-radius: 20px;
}

.post-topic {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.post-title {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--olive);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.post-excerpt {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 580px;
}

.post-read {
  font-size: 0.8rem;
  color: var(--sage);
  font-weight: 500;
}

/* ===========================
   ABOUT STRIP
   =========================== */

.about-strip {
  padding: 2.5rem 0;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
}

.about-strip-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--off-white);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-bio p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.about-bio strong { color: var(--olive); font-weight: 500; }

.about-link {
  font-size: 0.8rem;
  color: var(--sage);
  font-weight: 500;
  text-decoration: none;
}

.about-link:hover { color: var(--olive); }

/* ===========================
   FOOTER
   =========================== */

.site-footer {
  padding: 1.5rem 0;
  background: var(--off-white);
}

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

.footer-name {
  font-family: 'Lora', serif;
  font-size: 0.875rem;
  color: var(--olive);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===========================
   ABOUT PAGE
   =========================== */

.page-hero {
  padding: 4rem 0 3rem;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
}

.page-hero .eyebrow { margin-bottom: 0.75rem; }

.page-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--olive);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 540px;
  line-height: 1.75;
}

.about-content {
  padding: 3rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.about-sidebar .avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--off-white);
  font-size: 1.25rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.about-sidebar p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.about-sidebar strong {
  color: var(--text-mid);
  font-weight: 500;
}

.about-body h2 {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--olive);
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.about-body h2:first-child { margin-top: 0; }

.about-body p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.credentials {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.credential {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.875rem 1rem;
}

.credential strong {
  display: block;
  font-size: 0.875rem;
  color: var(--olive);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.credential span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===========================
   ARTICLE PAGE
   =========================== */

.article-hero {
  padding: 4rem 0 2.5rem;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
}

.article-hero .eyebrow { margin-bottom: 1rem; }

.article-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--olive);
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 680px;
  margin-bottom: 1rem;
}

.article-hero .subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.7;
  font-style: italic;
  font-family: 'Lora', serif;
}

.article-body {
  padding: 3rem 0 4rem;
  max-width: 680px;
}

.article-body h2 {
  font-family: 'Lora', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--olive);
  margin: 2.5rem 0 0.75rem;
}

.article-body h3 {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 2rem 0 0.75rem;
}

.article-body p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.article-body strong { color: var(--text-dark); font-weight: 500; }

.callout {
  background: var(--warm-white);
  border-left: 3px solid var(--sage);
  border-radius: 0 4px 4px 0;
  padding: 1.1rem 1.25rem;
  margin: 1.75rem 0;
}

.callout p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}

.callout strong { color: var(--olive); }

.action-list {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.action-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--off-white);
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.action-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
  color: var(--text-mid);
}

.action-item strong { color: var(--olive); }

.back-link {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--sage);
  text-decoration: none;
  margin-bottom: 2rem;
}

.back-link:hover { color: var(--olive); }

/* ===========================
   INDEX PAGES (Insights, Guides, Templates)
   =========================== */

.index-hero {
  padding: 3.5rem 0 2.5rem;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
}

.index-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--olive);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.index-hero p {
  font-size: 0.95rem;
  color: var(--text-mid);
  max-width: 480px;
  line-height: 1.7;
}

.index-body {
  padding: 2.5rem 0 4rem;
}

.coming-soon {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 640px) {
  nav { gap: 1.25rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pillars { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0; }
}
