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

:root {
  --ink:      #181410;
  --ink2:     #211D19;
  --ink3:     #2A2520;
  --rust:     #C4501A;
  --rust2:    #D4622A;
  --warm:     #EDE8DF;
  --warm2:    #D8D0C4;
  --muted:    #9A9186;
  --faint:    #6A6258;
  --rule:     rgba(237,232,223,0.07);
  --tag-bg:   rgba(196,80,26,0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--ink);
  color: var(--warm);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── TOP BAR ── */
.topbar {
  border-bottom: 1px solid var(--rule);
  padding: 10px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.topbar-tagline { color: var(--rust); font-weight: 600; }

/* ── NAV ── */
.nav {
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.nav-links-left, .nav-links-right {
  display: flex; gap: 32px; list-style: none; padding: 20px 0;
}
.nav-links-right { justify-content: flex-end; }
.nav-links-left a, .nav-links-right a {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; font-weight: 500;
  transition: color 0.2s; cursor: pointer;
}
.nav-links-left a:hover, .nav-links-right a:hover { color: var(--warm); }
.nav-logo-block {
  text-align: center; padding: 24px 48px;
  border-left: 1px solid var(--rule); border-right: 1px solid var(--rule);
}
.nav-logo {
  font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 900;
  color: var(--warm); line-height: 1; cursor: pointer; text-decoration: none; display: block;
}
.nav-logo span { color: var(--rust); }
.nav-sub { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-top: 5px; }

/* ── CATEGORY BAR ── */
.cat-bar {
  padding: 0 48px; display: flex; border-bottom: 1px solid var(--rule);
  overflow-x: auto; scrollbar-width: none;
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-btn {
  padding: 16px 22px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--faint); background: none; border: none; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  font-family: 'Barlow', sans-serif; transition: all 0.2s; white-space: nowrap;
}
.cat-btn:hover { color: var(--warm2); }
.cat-btn.active { color: var(--rust); border-bottom-color: var(--rust); }

/* ── HERO ── */
.hero {
  display: grid; grid-template-columns: 1fr 380px;
  border-bottom: 1px solid var(--rule); min-height: 540px;
}
.hero-main {
  padding: 72px 56px; border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #201A15 0%, var(--ink) 60%);
}
.hero-bg-text {
  position: absolute; top: -10px; right: -10px;
  font-family: 'Playfair Display', serif; font-size: 240px; font-weight: 900;
  color: rgba(196,80,26,0.03); line-height: 1; pointer-events: none; user-select: none;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 12px; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--rust);
  font-weight: 600; margin-bottom: 24px; animation: fadeUp 0.6s ease both;
}
.hero-label::before { content: ''; width: 28px; height: 1px; background: var(--rust); }
.hero-title {
  font-family: 'Playfair Display', serif; font-size: clamp(34px, 4vw, 54px);
  font-weight: 700; line-height: 1.15; color: var(--warm); margin-bottom: 24px;
  max-width: 600px; animation: fadeUp 0.6s 0.1s ease both;
}
.hero-title em { font-style: italic; color: var(--rust2); }
.hero-excerpt {
  font-size: 16px; line-height: 1.9; color: var(--muted); max-width: 520px;
  margin-bottom: 40px; font-family: 'Barlow', sans-serif; font-style: normal; font-weight: 300; letter-spacing: 0.01em;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-meta { display: flex; align-items: center; gap: 20px; animation: fadeUp 0.6s 0.3s ease both; }
.hero-read-btn {
  background: var(--rust); color: var(--warm); padding: 15px 36px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  border: none; cursor: pointer; font-family: 'Barlow', sans-serif;
  transition: background 0.2s; border-radius: 2px;
}
.hero-read-btn:hover { background: var(--rust2); }
.hero-time { font-size: 13px; color: var(--faint); }

/* HERO SIDEBAR */
.hero-sidebar { display: flex; flex-direction: column; }
.hero-sidebar-title {
  padding: 20px 28px; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--faint); border-bottom: 1px solid var(--rule); font-weight: 600;
}
.sidebar-post {
  padding: 22px 28px; border-bottom: 1px solid var(--rule); cursor: pointer;
  transition: background 0.2s; display: flex; gap: 14px; align-items: flex-start;
  text-decoration: none;
}
.sidebar-post:hover { background: rgba(237,232,223,0.03); }
.sidebar-num {
  font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 900;
  color: rgba(196,80,26,0.18); line-height: 1; flex-shrink: 0; width: 28px;
}
.sidebar-tag {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rust); font-weight: 600; margin-bottom: 6px;
}
.sidebar-post-title {
  font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700;
  color: var(--warm2); line-height: 1.45; margin-bottom: 7px;
}
.sidebar-time { font-size: 11px; color: var(--faint); }

/* ── CATEGORY STRIP ── */
.cat-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--rule); }
.cat-strip-card {
  padding: 32px 28px; border-right: 1px solid var(--rule); cursor: pointer;
  transition: background 0.2s; position: relative; overflow: hidden;
}
.cat-strip-card:last-child { border-right: none; }
.cat-strip-card:hover { background: rgba(237,232,223,0.025); }
.cat-strip-bg {
  position: absolute; bottom: -16px; right: -6px;
  font-family: 'Playfair Display', serif; font-size: 90px; font-weight: 900;
  color: rgba(196,80,26,0.05); line-height: 1; pointer-events: none;
}
.cat-strip-icon { font-size: 20px; margin-bottom: 12px; }
.cat-strip-name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--warm); margin-bottom: 5px; }
.cat-strip-count { font-size: 12px; color: var(--faint); }

/* ── MAIN GRID ── */
.main-grid { display: grid; grid-template-columns: 1fr 300px; border-bottom: 1px solid var(--rule); }
.posts-col { border-right: 1px solid var(--rule); }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px; border-bottom: 1px solid var(--rule);
}
.section-header-label {
  display: flex; align-items: center; gap: 12px; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--warm2);
}
.section-header-label::before { content: ''; width: 20px; height: 2px; background: var(--rust); }
.section-header-more {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rust); cursor: pointer; font-weight: 600;
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.section-header-more:hover { border-bottom-color: var(--rust); }

/* Post Cards */
.post-card {
  display: grid; grid-template-columns: 1fr 148px; border-bottom: 1px solid var(--rule);
  cursor: pointer; transition: background 0.2s; text-decoration: none; display: grid;
}
.post-card:hover { background: rgba(237,232,223,0.02); }
.post-card-body { padding: 32px 48px; }
.post-tag { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--rust); margin-bottom: 12px; }
.post-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--warm); line-height: 1.4; margin-bottom: 12px; }
.post-excerpt { font-size: 14px; line-height: 1.85; color: var(--muted); margin-bottom: 20px; font-family: 'Libre Baskerville', serif; font-style: italic; }
.post-footer { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--faint); }
.post-footer-dot { width: 3px; height: 3px; background: var(--faint); border-radius: 50%; }
.post-img-block {
  background: var(--ink2); display: flex; align-items: center; justify-content: center;
  border-left: 1px solid var(--rule); position: relative; overflow: hidden;
}
.post-img-glyph { font-family: 'Playfair Display', serif; font-size: 64px; font-weight: 900; color: rgba(196,80,26,0.08); line-height: 1; }
.post-img-tag {
  position: absolute; bottom: 12px; left: 12px; background: var(--rust); color: var(--warm);
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; padding: 4px 8px;
}

/* Wide Post */
.post-card-wide {
  border-bottom: 1px solid var(--rule); cursor: pointer; padding: 36px 48px;
  transition: background 0.2s; display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center; text-decoration: none;
}
.post-card-wide:hover { background: rgba(237,232,223,0.02); }
.wide-quote {
  font-family: 'Playfair Display', serif; font-size: 21px; font-style: italic;
  color: rgba(237,232,223,0.12); line-height: 1.55;
  border-left: 2px solid var(--rust); padding-left: 24px;
}

/* ── SIDEBAR ── */
.sidebar-widget { border-bottom: 1px solid var(--rule); }
.sidebar-widget-header {
  padding: 18px 24px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--faint); font-weight: 600; border-bottom: 1px solid var(--rule);
}
.about-widget { padding: 28px 24px; }
.about-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rust) 0%, #7A2000 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 900;
  color: var(--warm); margin-bottom: 14px;
}
.about-name { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--warm); margin-bottom: 4px; }
.about-role { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rust); font-weight: 600; margin-bottom: 12px; }
.about-bio { font-size: 13px; line-height: 1.85; color: var(--muted); font-family: 'Barlow', sans-serif; font-style: normal; font-weight: 300; letter-spacing: 0.01em; }

.newsletter-widget { padding: 28px 24px; }
.newsletter-headline { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--warm); margin-bottom: 10px; line-height: 1.4; }
.newsletter-sub { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.newsletter-input {
  width: 100%; background: rgba(237,232,223,0.05); border: 1px solid var(--rule);
  padding: 12px 14px; color: var(--warm); font-size: 13px; font-family: 'Barlow', sans-serif;
  outline: none; margin-bottom: 10px; transition: border-color 0.2s; border-radius: 2px;
}
.newsletter-input::placeholder { color: var(--faint); }
.newsletter-input:focus { border-color: rgba(196,80,26,0.4); }
.newsletter-btn {
  width: 100%; background: var(--rust); color: var(--warm); padding: 13px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  border: none; cursor: pointer; font-family: 'Barlow', sans-serif; transition: background 0.2s; border-radius: 2px;
}
.newsletter-btn:hover { background: var(--rust2); }
.newsletter-note { font-size: 11px; color: var(--faint); margin-top: 10px; line-height: 1.6; }

.topics-widget { padding: 20px 24px; }
.topics-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chip {
  padding: 6px 12px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; background: var(--tag-bg); color: var(--rust2); cursor: pointer;
  border: 1px solid rgba(196,80,26,0.12); transition: all 0.2s; border-radius: 2px;
}
.topic-chip:hover { background: var(--rust); color: var(--warm); }

/* ── FOOTER ── */
.footer { padding: 56px 48px 32px; border-top: 1px solid var(--rule); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 900; color: var(--warm); margin-bottom: 8px; }
.footer-logo span { color: var(--rust); }
.footer-brand-sub { font-size: 13px; color: var(--faint); line-height: 1.75; max-width: 260px; margin-top: 10px; }
.footer-col-title { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--faint); margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(237,232,223,0.3); text-decoration: none; cursor: pointer; transition: color 0.2s; }
.footer-links a:hover { color: var(--rust); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--faint);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .topbar { padding: 10px 20px; }
  .topbar-site { display: none; }
  .nav { padding: 0 20px; grid-template-columns: 1fr auto; }
  .nav-links-left, .nav-links-right { display: none; }
  .nav-logo-block { border: none; padding: 20px 0; }
  .cat-bar { padding: 0 20px; }
  .cat-btn { padding: 12px 14px; font-size: 10px; }
  .hero { grid-template-columns: 1fr; }
  .hero-sidebar { display: none; }
  .hero-main { padding: 40px 20px; }
  .cat-strip { grid-template-columns: 1fr 1fr; }
  .main-grid { grid-template-columns: 1fr; }
  .posts-col { border-right: none; }
  .section-header { padding: 18px 20px; }
  .post-card-body { padding: 24px 20px; }
  .post-img-block { display: none; }
  .post-card { grid-template-columns: 1fr; }
  .post-card-wide { grid-template-columns: 1fr; padding: 24px 20px; }
  .wide-quote { display: none; }
  .footer { padding: 40px 20px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── MOBILE NAV ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--warm);
  border-radius: 1px;
  transition: all 0.2s;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ink2);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--warm);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--rust); }
.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 28px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
}

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav { grid-template-columns: auto 1fr auto; padding: 0 20px; }
  .nav-links-left { display: none !important; }
  .nav-links-right { display: none !important; }
  .nav-logo-block { border: none; padding: 18px 0; text-align: center; }
}

/* ── SEARCH ── */
.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 8px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.search-btn:hover { color: var(--warm); }
.search-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 10, 0.96);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  padding-top: 120px;
}
.search-overlay.open { display: flex; }
.search-inner { width: 100%; max-width: 680px; padding: 0 24px; }
.search-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--warm2);
  margin-bottom: 40px;
  gap: 12px;
}
.search-input-wrap svg { width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
#search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--warm);
  padding: 12px 0;
  caret-color: var(--rust);
}
#search-input::placeholder { color: rgba(237,229,216,0.2); }
.search-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  font-family: 'Barlow', sans-serif;
  transition: color 0.2s;
}
.search-close:hover { color: var(--warm); }
#search-results { width: 100%; }
.search-result-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.search-result-item:hover .search-result-title { color: var(--rust); }
.search-result-cat {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
}
.search-result-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--warm);
  line-height: 1.3;
  transition: color 0.2s;
}
.search-result-excerpt {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  font-family: 'Libre Baskerville', serif;
}
.search-empty {
  font-family: 'Libre Baskerville', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--muted);
  padding: 20px 0;
}

/* ── CONTACT MODAL ── */
.contact-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,8,6,0.94);
  z-index: 2000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.contact-overlay.open { display: block; }
.contact-card {
  background: #221F1B;
  border-top: 3px solid #C4501A;
  border-left: 1px solid rgba(237,229,216,0.08);
  border-right: 1px solid rgba(237,229,216,0.08);
  border-bottom: 1px solid rgba(237,229,216,0.08);
  max-width: 520px;
  width: calc(100% - 40px);
  margin: 60px auto 60px;
  padding: 40px 36px;
  position: relative;
  box-sizing: border-box;
}
.contact-card-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(237,229,216,0.4);
  font-size: 20px;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}
.contact-card-close:hover { color: #EDE5D8; }
.contact-card-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C4501A;
  font-weight: 600;
  margin-bottom: 12px;
  font-family: 'Barlow', sans-serif;
}
.contact-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: #EDE5D8;
  margin-bottom: 10px;
  line-height: 1.2;
}
.contact-card-sub {
  font-size: 14px;
  color: rgba(237,229,216,0.5);
  line-height: 1.7;
  margin-bottom: 28px;
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
}
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(237,229,216,0.12);
  color: #EDE5D8;
  padding: 13px 16px;
  font-size: 14px;
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  border-radius: 0;
}
.contact-input::placeholder { color: rgba(237,229,216,0.25); }
.contact-input:focus { border-color: #C4501A; }
.contact-textarea { resize: vertical; min-height: 110px; }
.contact-submit {
  background: #C4501A;
  color: #EDE5D8;
  border: none;
  padding: 15px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  transition: opacity 0.2s;
  width: 100%;
  -webkit-appearance: none;
  border-radius: 0;
}
.contact-submit:hover { opacity: 0.85; }
.contact-confirm {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 17px;
  color: #C4501A;
  text-align: center;
  padding: 20px 0;
  display: none;
}
