/*
Theme Name: Deepak Pachiannan
Theme URI: https://deepakpachiannan.com
Author: Deepak Pachiannan
Description: Minimalist black, white and red editorial platform for Deepak Pachiannan — tech consultant, writer, and creator.
Version: 4.1.0
License: GNU General Public License v2 or later
Text Domain: deepak-theme
*/

/* ── FULL WIDTH OVERRIDE ──────────────────────────────────────────── */
html {
  background: #f7f6f3 !important;
}
body {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  border: none !important;
  padding: 0 !important;
  background: var(--white) !important;
  box-shadow: none !important;
}
/* ──────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────── */
:root {
  --black:  #0a0a0a;
  --white:  #ffffff;
  --off:    #f5f4f1;
  --muted:  #6b6b6b;
  --rule:   #dcdcdc;
  --red:    #d62b2b;

  /* Fonts */
  --logo:    'Space Grotesk', sans-serif;
  --display: 'Fraunces', Georgia, serif;
  --ui:      'Space Grotesk', sans-serif;
  --body:    'DM Sans', sans-serif;
}

/* ─────────────────────────────────────────
   RESET
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body  { background: var(--white); color: var(--black); font-family: var(--body); line-height: 1.65; overflow-x: hidden; }
a     { color: inherit; text-decoration: none; }
img   { max-width: 100%; height: auto; display: block; }
ul,ol { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; padding: 0; }

/* ─────────────────────────────────────────
   LAYOUT
───────────────────────────────────────── */
.wrap        { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.wrap--mid   { max-width: 960px;  margin: 0 auto; padding: 0 48px; }
.wrap--tight { max-width: 740px;  margin: 0 auto; padding: 0 48px; }

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  border-bottom: 1.5px solid var(--black);
  height: 58px;
}
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 48px;
  height: 58px;
  display: flex; align-items: center; justify-content: space-between;
}

/* LOGO */
.site-logo {
  color: var(--black);
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; line-height: 1;
}
.logo-mark {
  width: 32px; height: 32px;
  background: var(--black); color: var(--white);
  font-family: var(--logo);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.04em;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-text-wrap {
  display: flex; flex-direction: column; gap: 2px;
}
.logo-text-main {
  font-family: var(--logo);
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: -0.03em; color: var(--black);
  line-height: 1;
}
.logo-text-sub {
  font-family: var(--ui);
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.04em; color: var(--muted);
  line-height: 1;
}
.logo-text-sep { display: none; }

/* NAV */
.site-nav {
  display: flex; align-items: center; gap: 2px;
}
.nav-link {
  font-family: var(--ui);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 6px 14px;
  transition: color 0.18s;
}
.nav-link:hover, .nav-link.is-active { color: var(--black); }
.nav-link.is-active {
  border-bottom: 2px solid var(--red);
  color: var(--black);
}
.nav-sub {
  font-family: var(--ui);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  border: 1.5px solid var(--black);
  color: var(--black);
  margin-left: 8px;
  transition: background 0.18s, color 0.18s;
}
.nav-sub:hover { background: var(--black); color: var(--white); }

/* MOBILE TOGGLE */
.nav-toggle {
  display: none; flex-direction: column;
  gap: 5px; padding: 4px;
}
.nav-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: var(--black); transition: 0.22s;
}

/* MOBILE DRAWER */
.mobile-drawer {
  display: none; position: fixed;
  top: 58px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 190;
  border-top: 1.5px solid var(--black);
  flex-direction: column; padding: 32px 48px; gap: 0;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  font-family: var(--display);
  font-size: 2.4rem; font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black); padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.18s;
}
.mobile-drawer a:hover { color: var(--red); }

/* ─────────────────────────────────────────
   READING PROGRESS
───────────────────────────────────────── */
#read-bar {
  position: fixed; top: 58px; left: 0;
  height: 2px; width: 0;
  background: var(--red); z-index: 300;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ─────────────────────────────────────────
   TICKER
───────────────────────────────────────── */
.ticker {
  background: var(--black);
  height: 34px; display: flex; align-items: center;
  overflow: hidden;
}
.ticker-label {
  font-family: var(--ui); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); padding: 0 20px; white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.1); flex-shrink: 0;
}
.ticker-scroll { flex: 1; overflow: hidden; }
.ticker-inner {
  display: flex; animation: ticker-anim 30s linear infinite;
  white-space: nowrap;
}
.ticker-inner span {
  font-family: var(--body); font-size: 0.72rem; font-weight: 300;
  color: rgba(255,255,255,0.5); padding: 0 36px;
}
.ticker-inner span::before { content: "—"; margin-right: 36px; color: rgba(255,255,255,0.15); }
@keyframes ticker-anim { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─────────────────────────────────────────
   PAGE HERO (reused across all pages)
───────────────────────────────────────── */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1.5px solid var(--black);
}
.page-hero-kicker {
  font-family: var(--ui); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.page-hero-kicker::after {
  content: ''; width: 32px; height: 1px; background: var(--red);
}
.page-hero-title {
  font-family: var(--display);
  font-size: clamp(3.2rem, 6.5vw, 6.5rem);
  font-weight: 900; line-height: 0.94;
  letter-spacing: -0.04em; color: var(--black);
}
.page-hero-title em {
  font-style: italic; font-weight: 300;
}

/* ─────────────────────────────────────────
   SECTION LABEL (reused everywhere)
───────────────────────────────────────── */
.sec-label {
  font-family: var(--ui); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--black);
  margin-bottom: 0;
}
.sec-label a {
  font-size: 0.65rem; font-weight: 700; color: var(--red);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.sec-label a:hover { text-decoration: underline; }

/* ─────────────────────────────────────────
   POST META PILL
───────────────────────────────────────── */
.post-tag {
  display: inline-block;
  font-family: var(--ui); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0;
}
.post-info {
  font-family: var(--ui); font-size: 0.68rem; font-weight: 500;
  color: var(--muted); display: flex; gap: 16px; align-items: center;
}
.post-info-row {
  display: flex; align-items: center; gap: 16px; margin-bottom: 10px;
}

/* ─────────────────────────────────────────
   FEATURED POST
───────────────────────────────────────── */
.featured-wrap { padding: 64px 0; border-bottom: 1px solid var(--rule); }
.featured-grid {
  display: grid; grid-template-columns: 5fr 4fr;
  gap: 72px; align-items: center;
}
.featured-thumb {
  overflow: hidden; aspect-ratio: 4/3;
  background: var(--off);
}
.featured-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1);
  display: block;
}
.featured-thumb:hover img { transform: scale(1.04); }
.featured-thumb-blank {
  width: 100%; height: 100%;
  background: var(--off); display: flex;
  align-items: center; justify-content: center;
}
.featured-thumb-blank span {
  font-family: var(--display); font-size: 7rem;
  font-weight: 900; color: var(--rule);
  letter-spacing: -0.05em; line-height: 1;
  user-select: none;
}
.featured-body {}
.featured-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--black); margin: 12px 0 16px;
  transition: color 0.18s;
}
.featured-title:hover { color: var(--red); }
.featured-excerpt {
  font-size: 0.96rem; line-height: 1.78;
  color: var(--muted); margin-bottom: 24px;
}
.featured-byline {
  font-family: var(--ui); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); display: flex; gap: 18px;
  padding-top: 20px; border-top: 1px solid var(--rule);
}

/* ─────────────────────────────────────────
   ARTICLE LIST ROWS (used on ALL list pages)
───────────────────────────────────────── */
.post-list { display: flex; flex-direction: column; }
.post-row {
  display: grid;
  grid-template-columns: 60px 1fr 160px;
  gap: 28px; align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.15s;
  cursor: pointer;
}
.post-row:first-child { border-top: 1px solid var(--rule); }
.post-row:hover { background: var(--off); margin: 0 -24px; padding: 28px 24px; }

.post-num {
  font-family: var(--display); font-size: 2.2rem;
  font-weight: 900; line-height: 1;
  color: var(--rule); letter-spacing: -0.04em;
  padding-top: 3px; transition: color 0.18s;
}
.post-row:hover .post-num { color: var(--red); }

.post-body {}
.post-title {
  font-family: var(--display); font-size: 1.25rem;
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.2;
  color: var(--black); margin-bottom: 7px;
  transition: color 0.18s;
}
.post-row:hover .post-title { color: var(--red); }
.post-excerpt {
  font-size: 0.85rem; color: var(--muted);
  line-height: 1.65; max-width: 560px;
}

.post-aside {
  text-align: right; padding-top: 3px;
}
.post-aside .post-tag  { display: block; margin-bottom: 6px; }
.post-aside .post-date {
  font-family: var(--ui); font-size: 0.66rem; font-weight: 500;
  color: var(--rule); display: block;
}
.post-aside .post-read {
  font-family: var(--ui); font-size: 0.66rem; font-weight: 500;
  color: var(--muted); display: block; margin-top: 3px;
}

/* ─────────────────────────────────────────
   GRID CARDS (secondary list)
───────────────────────────────────────── */
.card-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--rule);
  margin-top: 1px;
}
.card-item {
  background: var(--white); padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: background 0.18s;
}
.card-item:hover { background: var(--off); }
.card-n {
  font-family: var(--display); font-size: 2.8rem;
  font-weight: 900; color: var(--off);
  letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 16px; transition: color 0.18s;
}
.card-item:hover .card-n { color: var(--rule); }
.card-title {
  font-family: var(--display); font-size: 1.05rem;
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.25;
  color: var(--black); flex: 1; margin-bottom: 16px;
  transition: color 0.18s;
}
.card-item:hover .card-title { color: var(--red); }
.card-foot {
  font-family: var(--ui); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); padding-top: 16px;
  border-top: 1px solid var(--rule);
}

/* ─────────────────────────────────────────
   TOPICS (fixed font)
───────────────────────────────────────── */
.topics-band { padding: 48px 0; border-bottom: 1px solid var(--rule); }
.topics-flex { display: flex; flex-wrap: wrap; gap: 0; }
.topic-btn {
  font-family: var(--ui);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0;
  color: var(--black);
  padding: 14px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.topic-btn:hover { background: var(--black); color: var(--white); }
.topic-btn span {
  display: block; font-size: 0.65rem; font-weight: 400;
  color: var(--muted); margin-top: 2px; letter-spacing: 0;
  transition: color 0.18s;
}
.topic-btn:hover span { color: rgba(255,255,255,0.5); }

/* ─────────────────────────────────────────
   NEWSLETTER
───────────────────────────────────────── */
.nl-section {
  background: var(--black); padding: 88px 0;
}
.nl-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 88px; align-items: center;
}
.nl-kicker {
  font-family: var(--ui); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.nl-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 0.95;
  color: var(--white); margin-bottom: 18px;
}
.nl-title em { font-style: italic; font-weight: 300; }
.nl-desc {
  font-size: 0.92rem; line-height: 1.75;
  color: rgba(255,255,255,0.4);
}
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-field {
  width: 100%; padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); font-family: var(--body); font-size: 0.9rem;
  outline: none; transition: border-color 0.2s;
}
.nl-field::placeholder { color: rgba(255,255,255,0.22); }
.nl-field:focus { border-color: rgba(255,255,255,0.35); }
.nl-submit {
  padding: 15px 22px;
  background: var(--white); color: var(--black);
  font-family: var(--ui); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.18s, color 0.18s;
}
.nl-submit:hover { background: var(--off); }
#nl-msg {
  display: none; font-size: 0.78rem;
  padding: 10px 0; color: rgba(255,255,255,0.5);
}
.nl-note {
  font-size: 0.68rem; color: rgba(255,255,255,0.18);
  text-align: center;
}

/* ─────────────────────────────────────────
   ABOUT STRIP
───────────────────────────────────────── */
.about-section { padding: 88px 0; border-bottom: 1px solid var(--rule); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-big {
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 0.95;
  color: var(--black);
}
.about-big em { font-style: italic; font-weight: 300; display: block; }
.about-role {
  font-family: var(--ui); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.about-text {
  font-size: 0.95rem; color: var(--muted);
  line-height: 1.82; margin-bottom: 14px;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0; }
.chip {
  font-family: var(--ui); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 13px; border: 1px solid var(--rule);
  color: var(--black); transition: all 0.18s;
}
.chip:hover { border-color: var(--red); color: var(--red); background: rgba(214,43,43,0.03); }
.about-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.about-cta {
  font-family: var(--ui); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1.5px solid var(--rule);
  padding-bottom: 2px; transition: color 0.18s, border-color 0.18s;
}
.about-cta:hover { color: var(--black); border-color: var(--black); }

/* ─────────────────────────────────────────
   SINGLE ARTICLE
───────────────────────────────────────── */
/* ── SINGLE POST HERO HEADER ── */

/* Tag / category label — red with trailing dash */
.single-tag {
  display: flex;
  align-items: center;
  font-family: var(--ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}
.single-tag::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: var(--red);
  margin-left: 12px;
  flex-shrink: 0;
}

/* Hero header wrapper */
.single-hero {
  padding: 56px 0 48px;
  border-bottom: 1.5px solid var(--black);
}

/* Title — line 1: bold Fraunces 900 */
.single-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--black);
  margin: 0 0 36px;
  max-width: 920px;
}

/* Title — line 2: italic Fraunces 300, on its own line */
.single-title em {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  color: var(--black);
  line-height: 1.05;
  margin-top: 2px;
}

.single-title-rule { display: none; }

/* Meta row */
.single-meta {
  display: flex;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-family: var(--ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.single-meta > span {
  padding-right: 22px;
  margin-right: 22px;
  border-right: 1px solid var(--rule);
  line-height: 1;
}
.single-meta > span:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
.single-meta strong { color: var(--black); font-weight: 700; }
.single-meta-scroll {
  margin-left: auto !important;
  border-right: none !important;
  padding-right: 0 !important;
  margin-right: 0 !important;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  opacity: 0.6;
}
.single-meta-scroll::after { content: ' ↓'; }

/* ── POST TAG PILLS ── */
.single-tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
}
.single-tag-pill {
  font-family: var(--ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 14px;
  border: 1px solid var(--rule);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transition: color 0.18s, border-color 0.18s;
}
.single-tag-pill:hover {
  color: var(--black);
  border-color: var(--black);
}

.single-body {
  padding: 64px 0 80px;
  font-size: 1.08rem; line-height: 1.88; color: #2a2a2a;
}
/* ── SECTION HEADING TYPOGRAPHY ── */
.single-body h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.8vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--black);
  margin: 0 0 0.65em;
  padding-top: 2.8em;
  border-top: 1.5px solid var(--rule);
}
.single-body h2:first-child,
.single-body > :first-child h2 {
  padding-top: 0;
  border-top: none;
}
.single-body h3 {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--black);
  margin: 2.2em 0 0.5em;
}
.single-body h4 {
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--red);
  margin: 1.8em 0 0.4em;
}
.single-body p  { margin-bottom: 1.45em; }
.single-body a  { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.single-body blockquote {
  border-left: 3px solid var(--red); padding: 4px 28px;
  margin: 2.2em 0;
}
.single-body blockquote p {
  color: var(--black); font-size: 1.12rem;
  font-style: italic; margin: 0;
}
.single-body img   { margin: 2.2em 0; }
.single-body code  {
  font-family: monospace; font-size: 0.86em;
  background: var(--off); padding: 2px 7px;
  color: var(--black);
}
.single-body pre {
  background: var(--black); border-radius: 4px;
  padding: 24px; overflow-x: auto; margin: 2em 0;
}
.single-body pre code {
  background: none; color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}
.single-body ul, .single-body ol {
  padding-left: 1.5em; margin-bottom: 1.4em;
}
.single-body ul { list-style: disc; }
.single-body ol { list-style: decimal; }
.single-body li { margin-bottom: 0.5em; }

/* related posts bar */
.related-section {
  border-top: 1.5px solid var(--black);
  padding: 64px 0;
  background: var(--off);
}

/* ─────────────────────────────────────────
   ARCHIVE / TAG PAGE HEADER
───────────────────────────────────────── */
.archive-hero {
  padding: 64px 0 48px;
  border-bottom: 1.5px solid var(--black);
}
.archive-hero-pre {
  font-family: var(--ui); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.archive-hero-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 0.96;
  color: var(--black);
}
.archive-count {
  font-family: var(--ui); font-size: 0.72rem; font-weight: 600;
  color: var(--muted); margin-top: 16px;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer { border-top: 1.5px solid var(--black); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 64px; padding: 60px 0;
  border-bottom: 1px solid var(--rule);
}
.footer-brand {
  font-family: var(--display); font-size: 2rem;
  font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  color: var(--black); margin-bottom: 14px;
}
.footer-desc {
  font-size: 0.83rem; color: var(--muted);
  line-height: 1.72; max-width: 300px;
}
.footer-col-head {
  font-family: var(--ui); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--black); margin-bottom: 16px;
}
.footer-lnk {
  display: block; font-size: 0.84rem; color: var(--muted);
  margin-bottom: 10px; transition: color 0.18s;
}
.footer-lnk:hover { color: var(--black); }
.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  font-family: var(--ui); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { color: var(--muted); transition: color 0.18s; }
.footer-socials a:hover { color: var(--black); }

/* ─────────────────────────────────────────
   PAGINATION
───────────────────────────────────────── */
.nav-links {
  display: flex; gap: 6px; padding: 48px 0 0;
  flex-wrap: wrap;
}
.nav-links .page-numbers {
  font-family: var(--ui); font-size: 0.72rem; font-weight: 700;
  padding: 8px 14px; border: 1px solid var(--rule);
  color: var(--muted); transition: all 0.18s;
}
.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
  background: var(--black); color: var(--white); border-color: var(--black);
}

/* ─────────────────────────────────────────
   REVEAL ANIMATION
───────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1),
              transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.reveal.up { opacity: 1; transform: none; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: 1fr; gap: 36px; }
  .nl-grid        { grid-template-columns: 1fr; gap: 48px; }
  .about-grid     { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .wrap, .wrap--mid, .wrap--tight { padding: 0 24px; }
  .header-inner { padding: 0 24px; }
  .site-nav     { display: none; }
  .nav-toggle   { display: flex; }
  .mobile-drawer { padding: 32px 24px; }
  .post-row {
    grid-template-columns: 44px 1fr;
  }
  .post-aside   { display: none; }
  .card-grid    { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 36px; }
  .post-row:hover { margin: 0 -8px; padding: 28px 8px; }
  .single-body  { padding: 48px 0 60px; }
  .topics-flex  { flex-direction: column; }
  .topic-btn    { border-right: none; }
}
