/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;1,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* === Design Tokens === */
:root {
  --bg: #FAFAF8;
  --text: #1C1B18;
  --text-muted: #6B6860;
  --border: #E8E4DC;
  --accent: #C97A1E;
  --accent-hover: #A8641A;
  --accent-light: #FBF0E0;
  --surface: #F3F1EC;
}

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

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* === Container === */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Navigation === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 150ms;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}

.nav-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
  margin-left: auto;
}

.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 150ms;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link.active {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
}

.btn-nav {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 150ms;
  white-space: nowrap;
}

.btn-nav:hover {
  background: var(--accent-hover);
  color: var(--bg);
}

/* === Hamburger (mobile) === */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* === Mobile Overlay === */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.nav-mobile-overlay.open {
  display: flex;
}

.nav-mobile-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text);
  align-self: flex-end;
  margin-bottom: 32px;
  line-height: 1;
}

.nav-mobile-links {
  list-style: none;
  width: 100%;
}

.nav-mobile-links li {
  border-bottom: 1px solid var(--border);
}

.nav-mobile-links a {
  display: block;
  padding: 16px 0;
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

.nav-mobile-links .btn-nav {
  display: inline-block;
  margin-top: 24px;
  font-size: 16px;
}

/* === Buttons === */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 150ms;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--bg);
}

.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 150ms;
}

.btn-cta:hover {
  background: var(--accent-hover);
  color: var(--bg);
}

/* === Hero === */
.hero {
  padding: 100px 0 80px;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  max-width: 780px;
  margin-bottom: 24px;
}

.hero-subhead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.hero-cred {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* === Proof Strip === */
.proof-strip {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 80px;
}

.proof-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--border);
}

.proof-number {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}

.proof-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
}

/* === Services Cards (Home) === */
.services-section {
  padding: 0 0 80px;
}

.services-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}

.services-intro {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
  transition: border-color 150ms;
}

.card:hover {
  border-color: var(--accent);
}

.card-pain {
  font-family: 'DM Sans', sans-serif;
  font-style: italic;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.6;
}

.card-cta {
  display: inline-block;
  margin-top: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.card-cta:hover {
  color: var(--accent-hover);
}

/* Fifth card — centered */
.card-fifth {
  grid-column: 1 / -1;
  max-width: 50%;
  margin: 0 auto;
  width: 100%;
}

/* === How I Work (Home) === */
.how-i-work {
  padding: 0 0 80px;
  border-top: 1px solid var(--border);
  padding-top: 60px;
}

.how-i-work h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 20px;
}

.how-i-work p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 680px;
  line-height: 1.7;
}

.story-links {
  list-style: none;
  margin-top: 8px;
}

.story-links li {
  margin-bottom: 10px;
}

.story-links a {
  font-size: 15px;
  color: var(--accent);
}

.story-links a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* === Page Content (Services, About, Contact, Blog) === */
.page-content {
  padding: 64px 0 80px;
}

.page-content h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 32px;
  line-height: 1.2;
}

.page-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--text);
  margin-top: 56px;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.page-content h2.no-border {
  border-bottom: none;
  padding-bottom: 0;
}

.page-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 40px;
  margin-bottom: 8px;
}

/* === Lane Nav (Services page) === */
.lane-nav {
  display: flex;
  gap: 32px;
  margin: 0 0 48px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lane-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 150ms;
}

.lane-nav a:hover {
  color: var(--accent);
}

.page-content p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.7;
  max-width: 680px;
}

.page-content em {
  color: var(--text-muted);
}

/* === Services Page === */
.page-intro {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 16px;
  max-width: 680px;
  line-height: 1.7;
}

.lane-intro {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 15px;
}

.offering-tagline {
  font-style: italic;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.what-you-get {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 20px 0;
}

.what-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px !important;
}

.what-you-get ol {
  padding-left: 20px;
  margin: 0;
}

.what-you-get li {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.6;
}

.meta-line {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 8px;
}

.meta-line strong {
  font-weight: 600;
}

.retainer-tiers {
  list-style: none;
  margin: 12px 0 20px;
}

.retainer-tiers li {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 8px;
  padding-left: 0;
  line-height: 1.6;
}

.services-cta-block {
  margin: 40px 0;
}

.how-to-start {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
  margin-top: 56px;
}

.how-to-start h2 {
  border-bottom: none;
  margin-top: 0;
  margin-bottom: 12px;
}

.how-to-start p {
  margin-bottom: 24px;
}

/* === About Page === */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  margin-bottom: 32px;
}

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  max-width: 320px;
}

.about-content h1 {
  margin-bottom: 24px;
}

.about-section {
  margin-top: 48px;
}

.about-section h2 {
  margin-top: 0;
}

/* === Blog Page === */
.blog-empty {
  padding: 48px 0;
  color: var(--text-muted);
  font-style: italic;
}

/* === Contact Page === */
.contact-content {
  max-width: 560px;
}

.contact-email {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-muted);
}

.contact-email a {
  color: var(--accent);
}

/* === Footer === */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
  margin-top: 80px;
}

.footer-cta h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-email {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-email a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-email a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 32px;
}

/* === Intake Form === */
.intake-intro {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.intake-form {
  max-width: 480px;
  margin-bottom: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-field label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.intake-form input[type="text"],
.intake-form input[type="email"],
.intake-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  transition: border-color 150ms, box-shadow 150ms;
  appearance: none;
}

.intake-form input[type="text"]:focus,
.intake-form input[type="email"]:focus,
.intake-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 122, 30, 0.12);
}

.intake-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-field--turnstile {
  margin-bottom: 16px;
}

.form-submit {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 150ms;
}

.form-submit:hover:not(:disabled) {
  background: var(--accent-hover);
}

.form-submit:disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
}

.form-hint {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.form-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 15px;
  color: #B91C1C;
  line-height: 1.5;
  margin-bottom: 16px;
}

.form-error a {
  color: #B91C1C;
  text-decoration: underline;
}

.form-success-wrap h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}

.form-success-wrap p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 4px;
  line-height: 1.6;
}

.honeypot-wrap {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* === Responsive === */
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 36px; }
  .hero-subhead, .hero-cred { font-size: 16px; }

  .proof-strip-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .proof-item + .proof-item {
    border-left: none;
  }
  .proof-item:nth-child(2) {
    border-left: 1px solid var(--border);
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
  .card-fifth {
    max-width: 100%;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
  }
  .about-photo-placeholder {
    max-width: 240px;
    aspect-ratio: 1/1;
  }

  .page-content h1 { font-size: 32px; }
  .page-content h2 { font-size: 26px; }

  .footer-nav { flex-direction: column; gap: 12px; }
}


/* === Blog List (blog.md) === */
.blog-list {
  list-style: none;
  margin-top: 32px;
}

.blog-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.blog-item:first-child {
  border-top: 1px solid var(--border);
}

.blog-item-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.blog-item-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-item-title:hover {
  color: var(--accent);
}

.blog-item-excerpt {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
}

/* === Post Meta (post.html) === */
.post-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.post-title {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}

.post-meta-line {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.post-tags-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.post-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 10px;
  text-transform: lowercase;
}

/* === Email Capture Form === */
.email-capture {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 40px;
  margin: 64px 0 48px;
  text-align: center;
}

.email-capture h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}

.email-capture p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.email-capture-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.email-capture-form input[type="email"] {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 16px;
  width: 280px;
  outline: none;
  transition: border-color 150ms;
}

.email-capture-form input[type="email"]:focus {
  border-color: var(--accent);
}

.email-capture-form button {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 150ms;
  white-space: nowrap;
}

.email-capture-form button:hover {
  background: var(--accent-hover);
}

@media (max-width: 700px) {
  .post-title { font-size: 32px; }
  .email-capture { padding: 28px 20px; }
  .email-capture-form { flex-direction: column; align-items: center; }
  .email-capture-form input[type="email"] { width: 100%; max-width: 320px; }
}
