:root {
  --sage: #7C9885;
  --sage-dark: #5C7A66;
  --cream: #FBF6EF;
  --cream-deep: #F3EBDD;
  --ink: #2E2A24;
  --ink-soft: #6B6459;
  --terracotta: #C97B5C;
  --line: #E5DCCB;
  --radius: 18px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }

p { color: var(--ink-soft); }

a { color: var(--sage-dark); text-decoration: none; }

.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }

.todo {
  color: var(--terracotta);
  font-style: italic;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 239, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.logo span { color: var(--sage-dark); }

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav a:hover { color: var(--sage-dark); }
.nav-cta {
  background: var(--sage);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--sage-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* Hero */
.hero {
  position: relative;
  padding: 100px 0 90px;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sage-dark);
  margin-bottom: 18px;
}
.hero-lead {
  font-size: 1.15rem;
  margin: 22px 0 36px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-blob {
  position: absolute;
  top: -120px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--sage) 0%, transparent 70%);
  opacity: 0.35;
  z-index: 1;
}

/* Cover banner */
.cover-banner {
  padding: 0 0 90px;
}
.cover-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -20px rgba(46, 42, 36, 0.25);
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--sage);
  color: #fff !important;
}
.btn-primary:hover { background: var(--sage-dark); }
.btn-ghost {
  border-color: var(--ink);
  color: var(--ink) !important;
}
.btn-ghost:hover { background: var(--ink); color: var(--cream) !important; }

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--cream-deep); }
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 10px;
}

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.story-text p { margin-bottom: 16px; }

.img-placeholder {
  background: linear-gradient(145deg, var(--cream-deep), var(--sage));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px dashed rgba(255,255,255,0.6);
}
.portrait { aspect-ratio: 3/4; }

.portrait-frame {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(46, 42, 36, 0.3);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Philosophy */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.philosophy-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--line);
}
.philosophy-card p { margin-bottom: 14px; }
.question-list {
  list-style: none;
  margin-top: 16px;
}
.question-list li {
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--line);
  position: relative;
  color: var(--ink-soft);
  font-style: italic;
}
.question-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--sage-dark);
}

/* Timeline */
.timeline {
  max-width: 720px;
  margin: 50px auto 0;
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--line);
}
.timeline-item {
  position: relative;
  padding-bottom: 42px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -37px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sage);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--sage);
}
.timeline-content p { margin-top: 4px; }

/* Testimonial */
.testimonial-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
blockquote p {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}
blockquote footer {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Pillars */
.lead-text { max-width: 640px; margin-top: 0; margin-bottom: 40px; }
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.pillar {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 20px;
}
.pillar-icon {
  font-size: 1.8rem;
  color: var(--sage-dark);
  margin-bottom: 10px;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 40px 0 48px;
}
.blog-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -20px rgba(46, 42, 36, 0.3);
}
.blog-tag {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 10px;
}
.blog-card h3 { margin-bottom: 10px; }
.blog-card p:not(.blog-tag) { margin-bottom: 16px; }
.blog-link {
  color: var(--sage-dark);
  font-weight: 600;
  font-size: 0.9rem;
}
.fb-feed-embed {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-list { margin-top: 24px; list-style: none; }
.contact-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: 0.95rem;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sage);
}
.form-note {
  font-size: 0.85rem;
  color: var(--sage-dark);
  min-height: 1.2em;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding: 18px 0 0;
}
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--sage-dark); }

/* Sub-page hero */
.page-hero {
  padding: 40px 0 60px;
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { max-width: 760px; }
.page-hero p.lead-text { margin-top: 18px; }

/* Topic grid (pillar page linking to articles) */
.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.topic-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.topic-card h3 { margin-bottom: 8px; }
.topic-card h3 a { color: var(--ink); }
.topic-card h3 a:hover { color: var(--sage-dark); }
.topic-card.coming-soon { opacity: 0.6; }
.badge-soon {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

/* Pillars-nav grid on homepage (5 cards, clickable) */
.pillars a.pillar { color: inherit; display: block; }
.pillars a.pillar:hover { border-color: var(--sage); transform: translateY(-2px); transition: all 0.15s ease; }

/* Long-form article */
.article-wrap { max-width: 720px; margin: 0 auto; }
.article-wrap h2 { margin-top: 2.4em; }
.article-wrap h3 { margin-top: 1.6em; }
.article-wrap p { margin-bottom: 1.1em; }
.article-wrap ul, .article-wrap ol { color: var(--ink-soft); margin: 0 0 1.1em 1.4em; }
.article-wrap li { margin-bottom: 0.4em; }
.article-meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.article-cta {
  margin-top: 48px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

/* Footer sitemap */
.footer-sitemap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  font-size: 0.85rem;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.footer-sitemap a { color: var(--ink-soft); }
.footer-sitemap a:hover { color: var(--sage-dark); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.footer-links { display: flex; gap: 18px; }

/* Responsive */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .story-grid, .philosophy-grid, .contact-grid, .blog-grid, .topic-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; margin: 0 auto; }
  .hero { padding: 70px 0 60px; }
  .section { padding: 60px 0; }
}

@media (max-width: 860px) {
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
}
