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

:root {
  --bg:             #F8F6F3;
  --bg-section:     #F2F0ED;
  --card:           #FFFFFF;
  --primary:        #C17A2E;
  --primary-deep:   #8B5A1A;
  --amber:          #E8A84A;
  --amber-surface:  #FDF3E7;
  --text:           #1A1410;
  --text-secondary: #5C4A35;
  --text-tertiary:  #8C7A65;
  --border:         #E0DDD8;
  --border-light:   #EDEBE8;
  --dark-bg:        #17120E;
  --dark-text:      #F2EDE8;
  --dark-accent:    #E8A84A;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'DM Sans', sans-serif; min-height: 100vh; }

/* Nav - matches index.html exactly */
nav { padding: 1.25rem 4rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-light); }
.nav-logo { display: flex; align-items: flex-end; gap: 0.75rem; text-decoration: none; }
.nav-logo img { height: 64px; width: 64px; border-radius: 14px; display: block; }
.nav-wordmark { font-family: Georgia, serif; font-size: 3.0rem; color: var(--text); line-height: 1; margin-bottom: 2px; }
.nav-wordmark span { font-weight: 700; }
.nav-wordmark em { font-weight: 400; font-style: italic; color: var(--amber); }
.nav-right { display: flex; align-items: center; gap: 1.75rem; }
.nav-link { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-tertiary); text-decoration: none; transition: color 0.2s; }
.nav-link:hover { color: var(--text-secondary); }
.nav-link.is-current { color: var(--text-secondary); }
.nav-cta { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); text-decoration: none; border-bottom: 1px solid var(--primary); padding-bottom: 1px; transition: opacity 0.2s; }
.nav-cta:hover { opacity: 0.6; }

/* Shared section furniture */
.section-eyebrow { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary); }
.section-divider { height: 1px; background: linear-gradient(to right, transparent, var(--amber) 30%, var(--primary) 60%, transparent); opacity: 0.35; margin: 0 4rem; }

/* Blog index */
.blog-head { padding: 4.5rem 4rem 2.5rem; max-width: 780px; }
.blog-head .section-eyebrow { margin-bottom: 1.25rem; }
.blog-head h1 { font-family: Georgia, serif; font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 700; line-height: 1.1; margin-bottom: 1.25rem; }
.blog-head h1 em { font-weight: 400; font-style: italic; color: var(--primary); }
.blog-head p { font-size: 1rem; line-height: 1.8; color: var(--text-secondary); max-width: 52ch; }

.post-list { padding: 1rem 4rem 5rem; max-width: 820px; }
.post-card { display: block; text-decoration: none; border-top: 1px solid var(--border); padding: 2.25rem 0; transition: opacity 0.2s; }
.post-card:last-child { border-bottom: 1px solid var(--border); }
.post-card:hover { opacity: 0.72; }
.post-card .post-kicker { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 0.85rem; }
.post-card h2 { font-family: Georgia, serif; font-size: 1.5rem; font-weight: 700; line-height: 1.3; color: var(--text); margin-bottom: 0.6rem; }
.post-card p { font-size: 0.92rem; line-height: 1.75; color: var(--text-secondary); max-width: 60ch; }
.post-card .post-more { display: inline-block; margin-top: 1rem; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--primary); }

/* Article */
.article { padding: 4rem 4rem 3.5rem; max-width: 720px; }
.article-eyebrow { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary); margin-bottom: 1.5rem; }
.article h1 { font-family: Georgia, serif; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.15; margin-bottom: 1.25rem; }
.article-dek { font-size: 1.05rem; line-height: 1.75; color: var(--text-secondary); margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.article h2 { font-family: Georgia, serif; font-size: 1.4rem; font-weight: 700; line-height: 1.35; margin: 2.75rem 0 0.9rem; color: var(--text); }
.article p { font-size: 1rem; line-height: 1.85; color: var(--text-secondary); margin-bottom: 1.15rem; }
.article p strong { color: var(--text); font-weight: 600; }
.article a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--primary-deep); }
.article ul { margin: 0 0 1.4rem 0; padding-left: 1.4rem; }
.article li { font-size: 1rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 0.5rem; }
.article li::marker { color: var(--amber); }

/* Pull quote / callout */
.callout { background: var(--amber-surface); border-left: 2px solid var(--amber); padding: 1.5rem 1.75rem; margin: 2.25rem 0; }
.callout p { margin: 0; font-family: Georgia, serif; font-size: 1.08rem; font-style: italic; line-height: 1.7; color: var(--text); }

/* CTA band */
.cta-band { padding: 4rem 4rem; background: var(--amber-surface); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); text-align: center; }
.cta-inner { max-width: 620px; margin: 0 auto; }
.cta-band .section-eyebrow { margin-bottom: 1rem; }
.cta-band h2 { font-family: Georgia, serif; font-size: 1.75rem; font-weight: 700; margin-bottom: 0.85rem; color: var(--text); }
.cta-band p { font-size: 0.95rem; line-height: 1.7; color: var(--text-secondary); margin-bottom: 2rem; }
.cta-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--primary); color: #FFFFFF; font-family: Georgia, serif; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; text-decoration: none; padding: 1rem 2.5rem; border-radius: 2px; transition: background 0.2s; }
.cta-primary:hover { background: var(--primary-deep); }
.cta-secondary { display: block; margin-top: 1rem; font-size: 0.8rem; color: var(--text-tertiary); text-decoration: underline; }
.cta-secondary:hover { color: var(--text-secondary); }

/* Related */
.related { padding: 4rem 4rem 4.5rem; max-width: 820px; }
.related .section-eyebrow { margin-bottom: 2rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.related-item { border-top: 2px solid var(--amber); padding-top: 1.25rem; text-decoration: none; display: block; transition: opacity 0.2s; }
.related-item:hover { opacity: 0.72; }
.related-item h3 { font-family: Georgia, serif; font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 0.5rem; }
.related-item p { font-size: 0.85rem; line-height: 1.7; color: var(--text-secondary); }

/* Footer - matches index.html */
footer { background: var(--dark-bg); padding: 1.75rem 4rem; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(232,168,74,0.12); }
footer p, footer a { font-size: 0.72rem; color: rgba(242,237,232,0.35); text-decoration: none; letter-spacing: 0.04em; font-weight: 400; }
footer a:hover { color: var(--dark-accent); }

/* Accessibility floor */
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-logo img { height: 40px; width: 40px; }
  .nav-wordmark { font-size: 1.6rem; }
  .nav-right { gap: 1rem; }
  .nav-link, .nav-cta { font-size: 0.62rem; letter-spacing: 0.12em; }
  .section-divider { margin: 0 1.5rem; }
  .blog-head { padding: 3rem 1.5rem 2rem; }
  .post-list { padding: 0.5rem 1.5rem 3.5rem; }
  .article { padding: 2.75rem 1.5rem 2.5rem; }
  .cta-band { padding: 3.5rem 1.5rem; }
  .related { padding: 3rem 1.5rem 3.5rem; }
  footer { flex-direction: column; gap: 0.5rem; padding: 1.5rem; text-align: center; }
}
