/* ============================================================
   THESCIVERSE — CORE STYLES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

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

:root {
  --black:        #111111;
  --white:        #ffffff;
  --gray-50:      #fafafa;
  --gray-100:     #f5f5f5;
  --gray-200:     #ebebeb;
  --gray-300:     #e0e0e0;
  --gray-400:     #cccccc;
  --gray-500:     #bbbbbb;
  --gray-600:     #999999;
  --gray-700:     #777777;
  --gray-800:     #555555;
  --border:       1px solid #ebebeb;
  --border-light: 1px solid #f5f5f5;
  --font-sans:    'Space Grotesk', system-ui, sans-serif;
  --font-mono:    'Space Mono', monospace;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── SITE WRAPPER ─────────────────────────────────────────── */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: var(--border);
}

.nav-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 60px;
}

.site-logo {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--black);
}
.site-logo strong { font-weight: 700; }
.site-logo img { max-height: 36px; width: auto; }
.site-logo:hover { opacity: 0.8; }

.nav-actions { display: flex; align-items: center; gap: 20px; }

.nav-search-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: color 0.2s;
  background: none;
  border: none;
}
.nav-search-btn:hover { color: var(--black); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gray-500);
  transition: transform 0.25s;
}

/* Category bar */
.cat-bar {
  display: flex;
  overflow-x: auto;
  border-bottom: var(--border);
  scrollbar-width: none;
}
.cat-bar::-webkit-scrollbar { display: none; }

.cat-bar__item {
  flex-shrink: 0;
  padding: 12px 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  border-right: var(--border);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.cat-bar__item:hover { color: var(--black); background: var(--gray-50); }
.cat-bar__item.is-active { color: var(--white); background: var(--black); }

/* Search overlay */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.search-overlay.is-open { display: flex; }
.search-overlay__form {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--black);
  width: 100%;
  max-width: 600px;
}
.search-overlay__input {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 300;
  border: none;
  outline: none;
  padding: 12px 0;
  background: transparent;
}
.search-overlay__submit {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 0 8px 20px;
  color: var(--black);
}
.search-overlay__close {
  position: absolute;
  top: 24px;
  right: 40px;
  font-size: 28px;
  line-height: 1;
  background: none;
  border: none;
  opacity: 0.3;
  transition: opacity 0.2s;
}
.search-overlay__close:hover { opacity: 1; }

/* Mobile nav menu */
.nav-menu-mobile {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: var(--border);
  padding: 16px 20px;
  gap: 14px;
  z-index: 99;
}
.nav-menu-mobile a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.nav-menu-open .nav-menu-mobile { display: flex; }

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--gray-300);
  padding: 4px 10px;
  color: var(--gray-600);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.tag:hover { border-color: var(--black); color: var(--black); }

.read-more {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  transition: opacity 0.2s;
}
.read-more:hover { opacity: 0.5; }

.cat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.cat-label a:hover { color: var(--black); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  border-bottom: var(--border);
}
.hero__image {
  display: block;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero__image:hover img { transform: scale(1.03); }
.hero__image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gray-100);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.hero__image-placeholder span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-left: var(--border);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.hero__badge-line { width: 24px; height: 1px; background: var(--black); }
.hero__badge-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.hero__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.hero__title a:hover { opacity: 0.7; }

.hero__excerpt {
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 22px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

/* ── DATE STRIP ─────────────────────────────────────────── */
.date-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 40px;
  border-bottom: var(--border);
  background: var(--gray-50);
}
.date-strip__date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.04em;
}
.date-strip__count {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ============================================================
   TOP GRID — 3 cards
   ============================================================ */
.top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: var(--border);
}
.article-card {
  padding: 24px;
  border-right: var(--border);
  cursor: pointer;
  transition: background 0.15s;
}
.article-card:last-child { border-right: none; }
.article-card:hover { background: var(--gray-50); }

.article-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 16px;
}
.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.article-card:hover .article-card__image img { transform: scale(1.04); }

.article-card__cat { margin-bottom: 8px; }
.article-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}
.article-card__title a:hover { opacity: 0.7; }
.article-card__excerpt {
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray-700);
  margin-bottom: 14px;
}
.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--gray-400);
  padding-top: 14px;
  border-top: var(--border-light);
  font-family: var(--font-mono);
}

/* ============================================================
   SECONDARY — wide + sidebar
   ============================================================ */
.secondary-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  border-bottom: var(--border);
}
.secondary-main { padding: 32px 40px; border-right: var(--border); }
.secondary-main__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 20px;
}
.secondary-main__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.secondary-main__image:hover img { transform: scale(1.03); }
.secondary-main__cat { margin-bottom: 9px; }
.secondary-main__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.secondary-main__title a:hover { opacity: 0.7; }
.secondary-main__excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 16px;
}
.secondary-main__tags { display: flex; flex-wrap: wrap; gap: 6px; }

.secondary-sidebar { padding: 24px; background: var(--gray-50); }
.secondary-sidebar__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 14px;
}
.sidebar-item { padding: 14px 0; border-bottom: var(--border); cursor: pointer; }
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item__num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-300);
  line-height: 1;
  margin-bottom: 4px;
}
.sidebar-item__cat { margin-bottom: 4px; }
.sidebar-item__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.3;
}
.sidebar-item__title a:hover { color: var(--black); }

/* ============================================================
   MORE ARTICLES
   ============================================================ */
.more-articles { border-bottom: var(--border); }
.more-articles__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 24px 40px 0;
}
.more-articles__heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.more-articles__count {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-300);
}
.more-articles__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 40px;
}
.more-articles__col { border-right: var(--border-light); padding-right: 20px; }
.more-articles__col:last-child { border-right: none; padding-right: 0; padding-left: 20px; }
.more-articles__col:nth-child(2) { padding: 0 20px; }

.more-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px 0;
  border-bottom: var(--border-light);
  cursor: pointer;
}
.more-item:last-child { border-bottom: none; }
.more-item__image {
  display: block;
  width: 80px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
  flex-shrink: 0;
}
.more-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.more-item:hover .more-item__image img { transform: scale(1.06); }
.more-item__cat { margin-bottom: 4px; }
.more-item__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
  transition: color 0.15s;
  margin-bottom: 5px;
}
.more-item:hover .more-item__title { color: var(--black); }
.more-item__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-400);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
  border-bottom: var(--border);
}
.pagination-info {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-400);
}
.pagination { display: flex; }
.pagination__btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-300);
  border-right: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  background: var(--white);
  font-family: var(--font-sans);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.pagination__btn:last-child { border-right: 1px solid var(--gray-300); }
.pagination__btn:hover:not(.is-active):not(.is-dots) { background: var(--gray-50); color: var(--black); }
.pagination__btn.is-active { background: var(--black); color: var(--white); border-color: var(--black); }
.pagination__btn.is-dots { color: var(--gray-300); cursor: default; }
.pagination__btn.is-arrow { font-size: 18px; color: var(--gray-400); }
.pagination-total {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-300);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.breadcrumb {
  padding: 12px 40px;
  border-bottom: var(--border);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  display: flex;
  gap: 10px;
  align-items: center;
}
.breadcrumb a:hover { color: var(--black); }
.breadcrumb__sep { color: var(--gray-300); }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  border-bottom: var(--border);
}
.article-body { padding: 48px 40px; border-right: var(--border); }

.article__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.article__badge-line { width: 24px; height: 1px; background: var(--black); }
.article__badge-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.article__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.article__deck {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--gray-700);
  margin-bottom: 28px;
  padding-left: 20px;
  border-left: 2px solid var(--black);
}
.article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--gray-500);
  padding: 18px 0;
  border-top: var(--border-light);
  border-bottom: var(--border-light);
  margin-bottom: 36px;
}
.article__meta-cat {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
}
.article__meta-dot { color: var(--gray-300); }

.article__hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 36px;
}
.article__hero-image img { width: 100%; height: 100%; object-fit: cover; }
.article__hero-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
  margin-top: -28px;
  margin-bottom: 36px;
}

.article__content { font-size: 17px; line-height: 1.85; color: #222; font-weight: 400; }
.article__content p { margin-bottom: 24px; }
.article__content h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 40px 0 16px;
}
.article__content h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin: 36px 0 14px;
}
.article__content blockquote {
  border-left: 2px solid var(--black);
  padding-left: 24px;
  margin: 36px 0;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--gray-700);
}
.article__content ul { list-style: disc; padding-left: 24px; margin-bottom: 24px; }
.article__content ol { list-style: decimal; padding-left: 24px; margin-bottom: 24px; }
.article__content li { margin-bottom: 8px; }
.article__content a { border-bottom: 1px solid var(--gray-300); transition: border-color 0.2s; }
.article__content a:hover { border-color: var(--black); }
.article__content figure { margin: 36px 0; }
.article__content figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 10px;
}

.fact-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--black);
  padding: 20px 24px;
  margin: 36px 0;
  font-size: 14px;
  line-height: 1.7;
}
.fact-box strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.article__tags { margin-top: 44px; padding-top: 28px; border-top: var(--border-light); }
.article__tags-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
}
.article__tags-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* Article sidebar */
.article-sidebar { padding: 36px 24px; }
.article-sidebar__section { margin-bottom: 32px; padding-bottom: 32px; border-bottom: var(--border-light); }
.article-sidebar__section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.article-sidebar__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 14px;
}
.sidebar-source {
  font-size: 13px;
  color: var(--gray-700);
  padding: 8px 0;
  border-bottom: var(--border-light);
  line-height: 1.4;
}
.sidebar-source:last-child { border-bottom: none; }
.sidebar-source__journal {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-400);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sidebar-toc { position: sticky; top: 76px; }
.sidebar-toc__list { display: flex; flex-direction: column; gap: 10px; }
.sidebar-toc__link {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-500);
  border-left: 2px solid var(--gray-200);
  padding-left: 12px;
  line-height: 1.35;
  transition: color 0.2s, border-color 0.2s;
}
.sidebar-toc__link:hover,
.sidebar-toc__link.is-active { color: var(--black); border-left-color: var(--black); }

/* ============================================================
   RELATED ARTICLES
   ============================================================ */
.related { padding: 40px; border-bottom: var(--border); }
.related__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 24px;
}
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.related-card { padding-right: 24px; border-right: var(--border-light); cursor: pointer; }
.related-card:last-child { border-right: none; padding-right: 0; }
.related-card:not(:first-child) { padding-left: 24px; }
.related-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 14px;
}
.related-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.related-card:hover .related-card__image img { transform: scale(1.05); }
.related-card__cat { margin-bottom: 8px; }
.related-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.2px;
}
.related-card__title a:hover { opacity: 0.7; }

/* ============================================================
   ARCHIVE PAGE
   ============================================================ */
.archive-header {
  padding: 36px 40px;
  border-bottom: var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.archive-header__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.archive-header__title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.archive-header__count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-400);
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-header { padding: 40px; border-bottom: var(--border); }
.search-header__query {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.search-header__count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 8px;
}
.search-results { padding: 0 40px; }
.search-result-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: var(--border-light);
  align-items: start;
}
.search-result-item:last-child { border-bottom: none; }
.search-result__image {
  width: 120px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
}
.search-result__image img { width: 100%; height: 100%; object-fit: cover; }
.search-result__cat { margin-bottom: 8px; }
.search-result__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.search-result__title a:hover { opacity: 0.7; }
.search-result__excerpt { font-size: 14px; color: var(--gray-700); line-height: 1.65; }

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 40px;
  text-align: center;
}
.not-found__num {
  font-family: var(--font-mono);
  font-size: 100px;
  font-weight: 700;
  line-height: 1;
  color: var(--gray-200);
  margin-bottom: 16px;
}
.not-found__title { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.not-found__text { color: var(--gray-600); margin-bottom: 32px; }
.not-found__btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  padding: 12px 28px;
  transition: background 0.2s, color 0.2s;
}
.not-found__btn:hover { background: var(--black); color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: var(--border);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo { font-size: 14px; font-weight: 300; color: var(--black); }
.footer-logo strong { font-weight: 700; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--black); }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-400);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero__image { min-height: 300px; }
  .hero__content { border-left: none; border-top: var(--border); }
  .top-grid { grid-template-columns: 1fr 1fr; }
  .top-grid .article-card:last-child { grid-column: span 2; border-right: none; border-top: var(--border); }
  .secondary-section { grid-template-columns: 1fr; }
  .secondary-sidebar { border-top: var(--border); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { border-top: var(--border); }
  .more-articles__cols { grid-template-columns: 1fr 1fr; }
  .more-articles__col:last-child { display: none; }
}

@media (max-width: 768px) {
  .nav-primary { padding: 0 20px; }
  .nav-hamburger { display: flex; }

  .hero { grid-template-columns: 1fr !important; }
  .hero__content { padding: 24px 20px; border-left: none; border-top: var(--border); }
  .hero__title { font-size: 24px; }
  .date-strip { padding: 10px 20px; }

  .top-grid { grid-template-columns: 1fr !important; display: flex !important; flex-direction: column !important; }
  .article-card { border-right: none !important; border-bottom: var(--border); }
  .article-card:last-child { border-bottom: none; }
  .article-card__image { aspect-ratio: 16 / 9; }

  .secondary-section { grid-template-columns: 1fr !important; display: flex !important; flex-direction: column !important; }
  .secondary-main { padding: 24px 20px; border-right: none; border-bottom: var(--border); }
  .secondary-sidebar { border-top: none; }

  .article-body { padding: 28px 20px; }
  .article__title { font-size: 28px; }
  .article__deck { font-size: 16px; }
  .article__content { font-size: 16px; }

  .more-articles__cols { grid-template-columns: 1fr; padding: 0 20px; }
  .more-articles__col { border-right: none; padding: 0; }
  .more-articles__col:nth-child(2), .more-articles__col:last-child { display: none; }
  .more-articles__header { padding: 20px 20px 0; }

  .related__grid { grid-template-columns: 1fr; gap: 24px; }
  .related-card { border-right: none; padding: 0; }
  .related { padding: 28px 20px; }

  .pagination-wrap { padding: 24px 20px; flex-direction: column; gap: 16px; }
  .site-footer { flex-direction: column; gap: 14px; padding: 20px; text-align: center; }
  .archive-header { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .search-header, .search-results { padding-left: 20px; padding-right: 20px; }
}
