@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&family=DM+Mono:wght@300;400&display=swap');

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

:root {
  --black:  #2e2e2e;
  --border: #333333;
  --muted:  #888888;
  --body:   #e0e0e0;
  --light:  #ffffff;
  --white:  #ffffff;
  --gold:   #F26522;
  --serif:  'Cormorant Garamond', Georgia, serif;
  --mono:   'DM Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--body);
  font-family: var(--mono);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

/* ── Header ── */
header {
  padding: 48px 0 32px;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.logo {
  display: block;
  text-decoration: none;
  line-height: 1;
}

.logo-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--gold);
  text-decoration: none;
}

.nav-right {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-right a {
  color: inherit;
  text-decoration: none;
  margin-right: 1.5rem;
  transition: color 0.2s;
}

.nav-right a:hover {
  color: var(--body);
}

/* ── Post list (homepage) ── */
.blog-header {
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.blog-header-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.blog-header h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.post-list {
  list-style: none;
}

.post-card {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  align-items: start;
}

.post-card:last-child {
  border-bottom: none;
}

.post-date {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}

.post-content {}

.post-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}

.post-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.post-title a:hover {
  color: var(--gold);
}

.post-excerpt {
  font-size: 0.85rem;
  color: var(--body);
  line-height: 1.85;
  margin-bottom: 14px;
}

.post-read-more {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s;
}

.post-read-more:hover {
  opacity: 0.7;
}

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: space-between;
  padding: 40px 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pagination a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s;
}

.pagination a:hover {
  opacity: 0.7;
}

.pagination .page-number {
  color: var(--muted);
}

/* ── Single post ── */
.post-hero {
  padding: 60px 0 40px;
}

.post-hero-tags {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.post-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.post-meta {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.post-body {
  max-width: 680px;
  font-size: 0.92rem;
  color: var(--body);
  line-height: 2;
  padding-bottom: 80px;
}

.post-body p {
  margin-bottom: 22px;
}

.post-body p:last-child {
  margin-bottom: 0;
}

.post-body h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
  margin: 40px 0 16px;
  line-height: 1.2;
}

.post-body h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--white);
  margin: 32px 0 12px;
}

.post-body a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s;
}

.post-body a:hover {
  opacity: 0.7;
}

.post-body strong {
  color: var(--light);
  font-weight: 400;
}

.post-body em {
  font-style: italic;
  color: var(--body);
}

.post-body blockquote {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin: 32px 0;
  color: var(--light);
  font-style: italic;
}

.post-body ul, .post-body ol {
  padding-left: 24px;
  margin-bottom: 22px;
}

.post-body li {
  margin-bottom: 6px;
}

.post-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ── Back link ── */
.post-back {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.post-back a {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.post-back a:hover {
  color: var(--body);
}

/* ── Footer ── */
footer {
  margin-top: auto;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ── Koenig editor image widths ── */
.kg-width-wide {
  margin-left: -60px;
  margin-right: -60px;
}

.kg-width-full {
  margin-left: calc(50% - 50vw + 40px);
  margin-right: calc(50% - 50vw + 40px);
}

.kg-image { max-width: 100%; height: auto; display: block; }

/* ── Mobile ── */
@media (max-width: 600px) {
  .page { padding: 0 24px; }
  .post-card { grid-template-columns: 1fr; gap: 8px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}
