/*
Theme Name: Seduction Junction Minimal
Theme URI: https://seductionjunction.com
Author: Seduction Junction
Author URI: https://seductionjunction.com
Description: A light, quiet luxury theme for SeductionJunction.com. Warm cream paper ground, single crimson accent, generous whitespace, and oversized Libre Baskerville editorial typography. Inspired by the best print magazines — The New Yorker, Monocle, Kinfolk. Designed for readers, not scrollers. Fully compatible with all SJ plugins.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sj-minimal
Tags: blog, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready, light, minimal, editorial, luxury, magazine
*/

/* ════════════════════════════════════════════════════════════
   DESIGN SYSTEM
   ════════════════════════════════════════════════════════════ */
:root {
  /* Palette — warm paper ground, single accent */
  --paper:    #faf7f2;
  --paper-2:  #f3ede4;
  --paper-3:  #ece4d8;
  --ink:      #1c1410;
  --ink-2:    #4a3f35;
  --ink-3:    #8a7a6e;
  --ink-4:    #b8a898;
  --rule:     rgba(28,20,16,0.1);
  --rule-hi:  rgba(28,20,16,0.2);
  --crimson:  #8b1a2e;
  --crimson-2:#6e1424;
  --crimson-3:rgba(139,26,46,0.08);

  /* Typography */
  --serif:  'Libre Baskerville', 'Georgia', serif;
  --sans:   'DM Sans', 'Helvetica Neue', system-ui, sans-serif;

  /* Spacing */
  --gap:    clamp(20px, 3vw, 36px);
  --gutter: clamp(24px, 6vw, 96px);
  --wide:   1280px;
  --prose:  680px;

  /* Motion — restrained */
  --ease: cubic-bezier(0.25, 0, 0.25, 1);
}

/* ════════════════════════════════════════════════════════════
   RESET & BASE
   ════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* Page fade-in — only animation */
body { animation: pageFade 0.5s ease; }
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1.5em; color: var(--ink-2); }
a { color: var(--crimson); text-decoration: none; transition: opacity 0.15s; }
a:hover { opacity: 0.7; }
img { max-width: 100%; height: auto; display: block; }
strong { color: var(--ink); font-weight: 700; }
em { font-style: italic; }

::selection { background: var(--crimson); color: #fff; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--ink-4); }

/* ════════════════════════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════════════════════════ */
.wrap    { max-width: var(--wide);  margin: 0 auto; padding: 0 var(--gutter); }
.wrap-sm { max-width: var(--prose); margin: 0 auto; padding: 0 var(--gutter); }

.rule { border: none; border-top: 1px solid var(--rule); margin: 0; }
.rule-heavy { border-top: 2px solid var(--ink); }
.rule-crimson { border-top: 2px solid var(--crimson); }

/* Label style used throughout */
.label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.label-crimson { color: var(--crimson); }

/* ════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════ */
#site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.2s var(--ease);
}
#site-header.scrolled { box-shadow: 0 1px 20px rgba(28,20,16,0.07); }

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo — pure typographic */
.site-logo a {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.15s;
}
.site-logo a:hover { opacity: 0.7; }

/* Crimson dot accent */
.logo-dot {
  width: 6px;
  height: 6px;
  background: var(--crimson);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Nav */
#primary-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
#primary-menu li a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 14px;
  transition: color 0.15s;
}
#primary-menu li a:hover { color: var(--ink); }

.nav-subscribe {
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  color: var(--crimson) !important;
  border: 1px solid var(--crimson) !important;
  border-radius: 1px !important;
  padding: 6px 16px !important;
  margin-left: 8px !important;
  transition: all 0.15s !important;
}
.nav-subscribe:hover {
  background: var(--crimson) !important;
  color: #fff !important;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.25s var(--ease);
}

/* ════════════════════════════════════════════════════════════
   MASTHEAD / HERO
   The hero is purely typographic — no background effects
   ════════════════════════════════════════════════════════════ */
.masthead {
  padding: clamp(64px, 10vw, 120px) var(--gutter) clamp(48px, 8vw, 96px);
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
}

.masthead-left { }

.masthead-issue {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.masthead-issue::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--crimson);
}

.masthead-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 0;
}
.masthead-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--crimson);
}

.masthead-right {
  padding-bottom: 8px;
}

.masthead-desc {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 28px;
  border-left: 2px solid var(--crimson);
  padding-left: 20px;
}

.masthead-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.15s var(--ease);
  border-radius: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
}
.btn-ink {
  background: var(--ink);
  color: var(--paper);
}
.btn-ink:hover { background: var(--crimson); color: #fff; opacity: 1; }

.btn-outline {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--rule-hi);
}
.btn-outline:hover { border-color: var(--ink); color: var(--ink); opacity: 1; }

/* ════════════════════════════════════════════════════════════
   DIVIDER BAND — between hero and content
   ════════════════════════════════════════════════════════════ */
.divider-band {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  padding: 14px var(--gutter);
  overflow: hidden;
}
.divider-band-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.divider-band-inner::-webkit-scrollbar { display: none; }

.topic-chip {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 4px 16px;
  white-space: nowrap;
  text-decoration: none;
  border-right: 1px solid var(--rule);
  transition: color 0.15s;
  flex-shrink: 0;
}
.topic-chip:first-child { padding-left: 0; }
.topic-chip:last-child { border-right: none; }
.topic-chip:hover { color: var(--crimson); opacity: 1; }
.topic-chip.active { color: var(--crimson); font-weight: 600; }

/* ════════════════════════════════════════════════════════════
   ARTICLE GRID — magazine-style layout
   ════════════════════════════════════════════════════════════ */
.articles-section {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) var(--gutter) clamp(64px, 10vw, 120px);
}

.articles-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}
.articles-heading {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.articles-all-link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.articles-all-link:hover { color: var(--crimson); opacity: 1; }

/* Featured article — full width, horizontal */
.card-featured {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(32px, 5vw, 64px);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.card-featured:hover { opacity: 0.85; }

.card-featured-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper-3);
  position: relative;
}
.card-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card-featured:hover .card-featured-image img { transform: scale(1.02); }

.card-featured-placeholder {
  width: 100%;
  height: 100%;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-3);
}
.card-featured-placeholder span {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--paper-2);
  letter-spacing: -0.04em;
  user-select: none;
}

.card-featured-body {
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--rule);
}

/* Standard post cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}

.card {
  padding: clamp(20px, 3vw, 36px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s;
}
.card:nth-child(3n) { border-right: none; }
.card:hover { background: var(--paper-2); }

.card-image {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--paper-3);
  margin: 0 0 4px;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.card:hover .card-image img { transform: scale(1.03); }

.card-placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-3);
}
.card-placeholder span {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--paper-2);
  user-select: none;
}

/* Card meta — category + date */
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-cat {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crimson);
  text-decoration: none;
}
.card-cat:hover { opacity: 0.7; }
.card-date {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.05em;
}
.card-sep { color: var(--ink-4); font-size: 10px; }

/* Card title */
.card-title {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.card-featured-body .card-title {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

/* Card excerpt */
.card-excerpt {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--ink-3);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read more link */
.card-read {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  transition: color 0.15s, gap 0.2s;
}
.card:hover .card-read,
.card-featured:hover .card-read { color: var(--crimson); gap: 10px; }

/* Read time */
.card-read-time {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.05em;
}

/* ════════════════════════════════════════════════════════════
   SINGLE ARTICLE
   ════════════════════════════════════════════════════════════ */
.single-wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.article-header {
  max-width: var(--prose);
  margin: clamp(40px, 7vw, 80px) auto clamp(32px, 5vw, 56px);
  padding: 0;
}

.article-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.article-kicker-line {
  width: 32px;
  height: 2px;
  background: var(--crimson);
  flex-shrink: 0;
}

.article-title {
  font-size: clamp(1.8rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.article-dek {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--ink-2);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 28px;
  font-weight: 400;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.article-byline strong { color: var(--ink); font-weight: 600; }
.article-byline-sep { color: var(--ink-4); }

/* Article hero image */
.article-image {
  max-width: calc(var(--prose) + 160px);
  margin: 0 auto clamp(40px, 6vw, 72px);
  aspect-ratio: 16/7;
  overflow: hidden;
  background: var(--paper-3);
}
.article-image img { width: 100%; height: 100%; object-fit: cover; }

/* Article content */
.entry-content {
  max-width: var(--prose);
  margin: 0 auto;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.85;
}

.entry-content p.intro {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-style: italic;
  color: var(--ink-2);
  line-height: 1.6;
  border-left: 3px solid var(--crimson);
  padding-left: 24px;
  margin-bottom: 36px;
  font-weight: 400;
}

.entry-content h2 {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  margin: 52px 0 16px;
  letter-spacing: -0.02em;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}
.entry-content h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  margin: 36px 0 12px;
  color: var(--ink);
}

.entry-content blockquote {
  margin: 36px 0;
  padding: 0 0 0 28px;
  border-left: 3px solid var(--crimson);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.entry-content .tip-box {
  background: var(--paper-2);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 0.95rem;
}
.entry-content .tip-box strong {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 8px;
}

.entry-content .affiliate-box {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-left: 3px solid var(--ink);
  padding: 20px 24px;
  margin: 36px 0;
}
.entry-content .affiliate-box h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  color: var(--ink);
}
.entry-content .affiliate-box p { font-size: 0.9rem; margin-bottom: 12px; }
.entry-content .aff-btn {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  padding: 8px 18px;
  text-decoration: none;
  transition: background 0.15s;
  display: inline-block;
}
.entry-content .aff-btn:hover { background: var(--crimson); opacity: 1; }

.entry-content .cta-section {
  background: var(--ink);
  color: var(--paper);
  padding: 40px;
  margin: 48px 0 32px;
  text-align: center;
}
.entry-content .cta-section h2 {
  color: var(--paper);
  border: none;
  padding: 0;
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}
.entry-content .cta-section p { color: rgba(250,247,242,0.7); margin-bottom: 20px; }
.entry-content .cta-section a {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--paper);
  border: 1px solid rgba(250,247,242,0.4);
  padding: 12px 28px;
  text-decoration: none;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.entry-content .cta-section a:hover { background: var(--crimson); border-color: var(--crimson); opacity: 1; }

/* Article tags */
.article-tags {
  max-width: var(--prose);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.tag-chip {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--rule-hi);
  padding: 5px 12px;
  text-decoration: none;
  transition: all 0.15s;
}
.tag-chip:hover { border-color: var(--ink); color: var(--ink); opacity: 1; }

/* Post nav */
.post-nav {
  max-width: var(--prose);
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--ink);
}
.post-nav-item {
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  border-right: 1px solid var(--rule);
}
.post-nav-item:last-child { border-right: none; text-align: right; }
.post-nav-item:hover { background: var(--paper-2); }
.post-nav-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-4);
  display: block;
  margin-bottom: 8px;
}
.post-nav-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

/* ════════════════════════════════════════════════════════════
   ARCHIVE / CATEGORY
   ════════════════════════════════════════════════════════════ */
.archive-banner {
  border-bottom: 1px solid var(--rule);
  padding: clamp(40px, 7vw, 80px) var(--gutter) clamp(32px, 5vw, 56px);
  max-width: var(--wide);
  margin: 0 auto;
}
.archive-banner .label { margin-bottom: 10px; display: block; }
.archive-title { font-size: clamp(2rem, 5vw, 4rem); }
.archive-desc { color: var(--ink-2); font-size: 1.05rem; max-width: 540px; margin-top: 12px; }

/* ════════════════════════════════════════════════════════════
   PAGE
   ════════════════════════════════════════════════════════════ */
.page-header {
  max-width: var(--prose);
  margin: clamp(40px,7vw,80px) auto clamp(32px,5vw,56px);
  padding: 0 var(--gutter);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 20px;
}
.page-content { max-width: var(--prose); margin: 0 auto; padding: 0 var(--gutter) clamp(64px,10vw,120px); }
.page-content p { font-size: 1.05rem; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
#site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(32px, 5vw, 48px);
}

.footer-inner { max-width: var(--wide); margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid rgba(250,247,242,0.12);
  margin-bottom: 32px;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo .logo-dot { background: var(--crimson); }

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(250,247,242,0.45);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

/* Footer mini signup */
.footer-form { display: flex; gap: 0; max-width: 280px; }
.footer-form input {
  flex: 1;
  background: rgba(250,247,242,0.06);
  border: 1px solid rgba(250,247,242,0.15);
  border-right: none;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--paper);
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.15s;
}
.footer-form input::placeholder { color: rgba(250,247,242,0.3); }
.footer-form input:focus { border-color: rgba(250,247,242,0.4); }
.footer-form button {
  background: var(--crimson);
  border: none;
  color: #fff;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.footer-form button:hover { background: #6e1424; }

.footer-col-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.35);
  margin-bottom: 16px;
  display: block;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(250,247,242,0.55);
  text-decoration: none;
  transition: color 0.15s;
  font-family: var(--serif);
}
.footer-links a:hover { color: var(--paper); opacity: 1; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(250,247,242,0.25);
  letter-spacing: 0.05em;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  font-size: 12px;
  color: rgba(250,247,242,0.35);
  text-decoration: none;
  font-family: var(--sans);
  letter-spacing: 0.08em;
  transition: color 0.15s;
}
.footer-social a:hover { color: var(--paper); opacity: 1; }

.footer-affiliate {
  font-size: 10px;
  color: rgba(250,247,242,0.18);
  margin-top: 20px;
  font-family: var(--sans);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════
   WIDGETS
   ════════════════════════════════════════════════════════════ */
.widget { margin-bottom: 36px; }
.widget-title {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}

/* ════════════════════════════════════════════════════════════
   PAGINATION
   ════════════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
  margin-top: 0;
}
.page-numbers {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule);
  margin-left: -1px;
  color: var(--ink-3);
  text-decoration: none;
  transition: all 0.15s;
  letter-spacing: 0.05em;
}
.page-numbers:hover { background: var(--paper-2); color: var(--ink); opacity: 1; }
.page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .masthead { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .card-featured { grid-template-columns: 1fr; }
  .card-featured-body { border-left: none; border-top: 1px solid var(--rule); }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .post-nav-item:last-child { text-align: left; border-bottom: none; }
}

@media (max-width: 700px) {
  #primary-menu { display: none; }
  #primary-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 64px 0 0;
    background: var(--paper);
    padding: 32px var(--gutter);
    z-index: 200;
    gap: 0;
    overflow-y: auto;
    border-top: 2px solid var(--ink);
  }
  #primary-menu.open li { border-bottom: 1px solid var(--rule); }
  #primary-menu.open li a { font-size: 1.1rem; letter-spacing: 0; padding: 14px 0; display: block; }
  .menu-toggle { display: flex; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid .card:nth-child(3n) { border-right: 1px solid var(--rule); }
  .cards-grid .card:nth-child(2n) { border-right: none; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid .card { border-right: none; }
}

.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #site-header { top: 46px; } }
