@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Lora:ital,wght@0,400;0,500;1,400;1,500&family=EB+Garamond:ital,wght@0,400;1,400&display=swap');

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

:root {
  --bg: #2B2F36; --surface: #343840; --surface2: #3D4149;
  --accent: #D95F3B; --accent-dk: #B84E2E;
  --text: #F2EDE6; --muted: #9A9590; --subtle: #5A5750; --rule: #44484F;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Lora', Georgia, serif; font-size: 18px; line-height: 1.75; }

/* NAV */
.site-nav { background: var(--surface); padding: 0.85rem 2.5rem; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--rule); }
.nav-brand { font-family: 'Playfair Display', serif; font-size: 1rem; font-style: italic; color: var(--text); text-decoration: none; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { font-family: 'EB Garamond', serif; font-size: 0.85rem; color: var(--muted); text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--accent); color: var(--text) !important; padding: 0.38rem 1.1rem; font-weight: bold; }
.nav-cta:hover { background: var(--accent-dk) !important; }

/* HERO */
.site-hero { background: var(--surface); min-height: 90vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 5rem 2rem; position: relative; overflow: hidden; }
.site-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 90%, rgba(217,95,59,0.08) 0%, transparent 65%); pointer-events: none; }
.hero-chair { width: 110px; margin-bottom: 2rem; position: relative; z-index: 1; }
.hero-eyebrow { font-family: 'EB Garamond', serif; font-size: 0.82rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; position: relative; z-index: 1; }
.site-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(3rem, 9vw, 7rem); font-weight: 900; font-style: italic; line-height: 0.94; color: var(--text); letter-spacing: -0.02em; position: relative; z-index: 1; margin-bottom: 1.75rem; }
.hero-rule { width: 44px; height: 2px; background: var(--accent); margin: 0 auto 1.5rem; position: relative; z-index: 1; }
.hero-strap { font-family: 'Lora', serif; font-style: italic; font-size: clamp(1rem, 2.5vw, 1.25rem); color: var(--muted); max-width: 480px; line-height: 1.6; position: relative; z-index: 1; margin-bottom: 2.5rem; }
.hero-cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-primary { background: var(--accent); color: var(--text); font-family: 'EB Garamond', serif; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: bold; text-decoration: none; padding: 0.8rem 2.2rem; transition: background 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--accent-dk); }
.btn-outline { border: 1px solid var(--subtle); color: var(--muted); font-family: 'EB Garamond', serif; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; padding: 0.8rem 2.2rem; transition: border-color 0.2s, color 0.2s; display: inline-block; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* POST FEED */
.post-feed { max-width: 1100px; margin: 0 auto; padding: 5rem 1.5rem; }
.feed-eyebrow { font-family: 'EB Garamond', serif; font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.75rem; }
.feed-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--text); margin-bottom: 2.5rem; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.post-card { background: var(--surface); display: flex; flex-direction: column; text-decoration: none; transition: background 0.2s; }
.post-card:hover { background: var(--surface2); }
.post-card-image { width: 100%; height: 220px; object-fit: cover; display: block; }
.post-card-no-image { width: 100%; height: 220px; background: var(--surface2); display: flex; align-items: center; justify-content: center; }
.post-card-no-image svg { width: 80px; opacity: 0.4; }
.post-card-content { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.post-card-tag { font-family: 'EB Garamond', serif; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.5rem; }
.post-card-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--text); line-height: 1.2; margin-bottom: 0.5rem; }
.post-card-excerpt { font-family: 'Lora', serif; font-size: 0.9rem; color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 1rem; }
.post-card-meta { font-family: 'EB Garamond', serif; font-size: 0.78rem; color: var(--subtle); letter-spacing: 0.05em; }

/* POST HEADER */
.post-header { background: var(--surface); padding: 5rem 2rem 4rem; text-align: center; border-bottom: 1px solid var(--rule); }
.post-tag { display: inline-block; background: var(--accent); color: var(--text); font-family: 'EB Garamond', serif; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: bold; padding: 0.22rem 0.65rem; margin-bottom: 1.25rem; }
.post-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 6vw, 4.5rem); font-weight: 900; font-style: italic; line-height: 1.05; color: var(--text); max-width: 800px; margin: 0 auto 1rem; }
.post-subtitle { font-family: 'Lora', serif; font-style: italic; font-size: 1.15rem; color: var(--muted); max-width: 600px; margin: 0 auto 1.5rem; }
.post-byline { font-family: 'EB Garamond', serif; font-size: 0.85rem; color: var(--accent); letter-spacing: 0.08em; }
.post-feature-image { width: 100%; max-height: 340px; object-fit: cover; display: block; }

/* POST CONTENT */
.post-content { max-width: 720px; margin: 0 auto; padding: 4rem 1.5rem; }
.post-content p { font-size: 1.05rem; line-height: 1.82; color: var(--muted); margin-bottom: 1.25rem; text-indent: 0; }
.post-content.essay-body p:first-of-type::first-letter { font-family: 'Playfair Display', serif; float: left; font-size: 4rem; line-height: 0.78; margin: 0.06em 0.12em 0 0; color: var(--accent); font-weight: 900; }
.post-content h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--text); margin: 2.5rem 0 0.75rem; }
.post-content h3 { font-family: 'EB Garamond', serif; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin: 2rem 0 0.5rem; }
.post-content blockquote { border-left: 3px solid var(--accent); padding: 0.5rem 0 0.5rem 1.5rem; margin: 1.75rem 0; }
.post-content blockquote p { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-style: italic; color: var(--text); line-height: 1.45; }
.post-content hr { border: none; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
.post-content a { color: var(--accent); }
.post-content a:hover { color: var(--text); }
.post-content figure { margin: 2rem 0; }
.post-content figure img { width: 100%; }
.post-content figure figcaption { font-family: 'EB Garamond', serif; font-size: 0.82rem; color: var(--subtle); text-align: center; margin-top: 0.5rem; font-style: italic; }

/* KOENIG EDITOR CLASSES */
.kg-width-wide { margin-left: calc(50% - 50vw + 2rem); margin-right: calc(50% - 50vw + 2rem); max-width: 1000px; }
.kg-width-full { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.kg-width-wide img, .kg-width-full img { width: 100%; height: auto; display: block; }

/* PAGE */
.page-content { max-width: 720px; margin: 0 auto; padding: 5rem 1.5rem; }
.page-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; font-style: italic; color: var(--text); margin-bottom: 2rem; text-align: center; }
.page-content p { font-size: 1.05rem; line-height: 1.82; color: var(--muted); margin-bottom: 1.25rem; }
.page-content h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--text); margin: 2.5rem 0 0.75rem; }
.page-content ul { list-style: none; margin-bottom: 1.25rem; }
.page-content ul li { font-family: 'Lora', serif; font-size: 1rem; color: var(--muted); padding: 0.4rem 0 0.4rem 1.5rem; position: relative; line-height: 1.65; }
.page-content ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }
.page-content hr { border: none; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
.page-content a { color: var(--accent); }
.page-content strong { color: var(--text); font-weight: 600; }

/* SUBSCRIBE */
.subscribe-section { background: var(--accent); padding: 5rem 2rem; text-align: center; }
.subscribe-section h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 3rem); font-style: italic; color: var(--text); margin-bottom: 1rem; }
.subscribe-section p { font-size: 1rem; color: rgba(242,237,230,0.8); max-width: 460px; margin: 0 auto 2rem; line-height: 1.7; }
.gh-subscribe-form { display: flex; max-width: 400px; margin: 0 auto; }
.gh-subscribe-form input[type="email"] { flex: 1; padding: 0.9rem 1rem; font-family: 'Lora', serif; font-size: 0.95rem; border: none; background: rgba(0,0,0,0.18); color: var(--text); outline: none; }
.gh-subscribe-form input::placeholder { color: rgba(242,237,230,0.4); }
.gh-subscribe-form button { background: var(--bg); color: var(--text); border: none; padding: 0.9rem 1.6rem; font-family: 'EB Garamond', serif; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: bold; cursor: pointer; transition: background 0.2s; white-space: nowrap; }
.gh-subscribe-form button:hover { background: var(--surface); }

/* FOOTER */
.site-footer { background: #1E2128; padding: 3rem 2rem; text-align: center; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-style: italic; color: var(--text); margin-bottom: 0.4rem; }
.footer-strap { font-family: 'EB Garamond', serif; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--subtle); margin-bottom: 1.5rem; }
.footer-nav { display: flex; gap: 1.5rem; justify-content: center; list-style: none; margin-bottom: 1.5rem; flex-wrap: wrap; }
.footer-nav a { font-family: 'EB Garamond', serif; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { font-family: 'EB Garamond', serif; font-size: 0.78rem; color: #3A3E45; }

/* RESPONSIVE */
@media (max-width: 720px) {
  .site-nav { padding: 0.7rem 1rem; flex-direction: column; gap: 0.75rem; }
  .nav-links { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .post-grid { grid-template-columns: 1fr; }
  .gh-subscribe-form { flex-direction: column; }
  .featured-inner { grid-template-columns: 1fr; }
}
