/* =========================================================
   jacobbsinger.com — editorial hybrid v2
   cooler graphite-cream + deep rust
   ========================================================= */

:root,
html[data-theme="light"] {
  color-scheme: light;
  --bg: #e9e5dc;
  --paper: #f1ede4;
  --paper-2: #ddd8cd;
  --ink: #15140f;
  --graphite: #2d2a26;
  --mute: #4f4a42;
  --soft: #7f786c;
  --accent: #6e2310;
  --accent-2: #8b3018;
  --line: #15140f;
  --line-soft: #c4bdac;
  --shadow-md: 0 4px 16px rgba(21,20,15,0.10);
  --shadow-lg: 0 16px 48px rgba(21,20,15,0.14);

  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #161512;
  --paper: #1d1c18;
  --paper-2: #252320;
  --ink: #ece8de;
  --graphite: #d6d1c4;
  --mute: #9a9387;
  --soft: #6b6459;
  --accent: #c8633a;
  --accent-2: #dc7549;
  --line: #ece8de;
  --line-soft: #3a3631;
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.25s ease, color 0.25s ease;
}
a { color: inherit; text-decoration: none; transition: color 0.18s ease; }
img { max-width: 100%; display: block; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 0;
  font-weight: 500;
  transition: background 0.25s, color 0.25s;
}
.topbar .inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  opacity: 0.88;
}
.topbar .dot {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  margin: 0 8px;
}

/* ============================================================
   NAV
   ============================================================ */
.topnav {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.25s, border-color 0.25s;
}
.topnav .inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.masthead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.masthead .j {
  color: var(--accent);
  font-weight: 700;
}
.masthead .name {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  border-left: 1px solid var(--line-soft);
  padding-left: 12px;
  margin-left: 2px;
}
.blades {
  display: flex;
  gap: 36px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.blades a {
  color: var(--graphite);
  transition: color 0.15s;
}
.blades a:hover,
.blades a.is-active {
  color: var(--accent);
}
.theme-toggle {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-toggle:hover {
  background: var(--ink);
  color: var(--bg);
}
.theme-toggle .icon {
  font-size: 13px;
  line-height: 1;
}
html[data-theme="light"] .theme-toggle .moon { display: inline; }
html[data-theme="light"] .theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: inline; }
html[data-theme="dark"] .theme-toggle .moon { display: none; }

/* ============================================================
   FRAME + SECTION LABELS
   ============================================================ */
.frame {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 28px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.section-label .num {
  color: var(--graphite);
  font-weight: 700;
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
  max-width: 280px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 36px 0 16px;
  border-bottom: 2px solid var(--ink);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 64px;
  align-items: start;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 6.8vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
  color: var(--ink);
}
.hero h1.tagline {
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  max-width: 640px;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
}
.hero h1 .period {
  color: var(--accent);
  font-weight: 700;
  font-style: normal;
}
.hero .deck {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--mute);
  max-width: 620px;
  margin-bottom: 0;
}
.hero .deck em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.hero .cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero .byline {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--soft);
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  gap: 32px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  flex-wrap: wrap;
  font-weight: 500;
}
.hero .byline strong {
  color: var(--ink);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn:hover {
  background: var(--accent);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

/* hero card */
.hero-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 32px 28px;
  position: relative;
}
.hero-card::before {
  content: "Latest";
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--bg);
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.hero-card .card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}
.hero-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--ink);
}
.hero-card h3 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}
.hero-card .card-teaser {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--mute);
  margin-bottom: 24px;
}
.hero-card .card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 500;
}
.hero-card .card-foot .read {
  color: var(--accent);
  font-weight: 700;
}

/* Variant B Cover Story: enlarged Latest panel + "In this issue" lead-in */
.lead-into-latest {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  font-weight: 600;
}
.hero-card.is-featured {
  padding: 36px 32px;
}
.hero-card.is-featured::before {
  content: "Featured";
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  top: -11px;
}
.hero-card.is-featured h3 {
  font-size: 32px;
  line-height: 1.1;
}
.hero-card.is-featured .card-teaser {
  font-size: 16px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section {
  padding: 64px 0;
  border-bottom: 2px solid var(--ink);
}
h2.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 40px;
  max-width: 980px;
  color: var(--ink);
}
h2.section-title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head .section-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 6px;
}
.section-head h2.section-title { margin-bottom: 0; }

/* ============================================================
   MUSINGS (BLOG)
   ============================================================ */
.articles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}
.article-card {
  border-top: 2px solid var(--ink);
  padding-top: 28px;
  position: relative;
  transition: transform 0.2s;
}
.article-card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 44px;
  display: flex;
  justify-content: space-between;
}
.article-card .tag .num {
  color: var(--graphite);
  font-weight: 700;
}
.article-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.article-card h3 a { color: var(--ink); }
.article-card p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--mute);
  margin-bottom: 28px;
}
.article-card .read {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-card .read a {
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.article-card.is-published .tag span:first-child {
  color: var(--accent);
}
.article-card.is-published:hover .read a { text-decoration: underline; }
.article-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -16px;
  margin-bottom: 24px;
}
.article-card-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: transparent;
}
.section-meta-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.18s;
}
.section-meta-link:hover { border-bottom-color: var(--accent); }
.articles-more {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: center;
}
.articles-more-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--paper);
  font-weight: 700;
  padding: 14px 24px;
  border: 1.5px solid var(--accent);
  transition: transform 0.18s, filter 0.18s, background 0.18s, color 0.18s;
}
.articles-more-link:hover {
  background: var(--accent);
  color: var(--paper);
  filter: brightness(0.92);
  transform: translateY(-1px);
}
.hero-card h3 a { color: inherit; text-decoration: none; }
.hero-card h3 a:hover em { color: var(--ink); }
.hero-card .card-foot a.read { text-decoration: none; }
.hero-card .card-foot a.read:hover { text-decoration: underline; }
.article-card:hover { transform: translateY(-2px); }
.article-card:hover h3 a { color: var(--accent); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 72px;
  align-items: start;
}
.bio {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}
.bio p + p { margin-top: 18px; }
.bio p:first-child::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4.4em;
  float: left;
  line-height: 0.85;
  margin: 6px 12px 0 -2px;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.bio em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.bio-disclaimer {
  margin-top: 24px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px !important;
  letter-spacing: 0.04em;
  line-height: 1.5 !important;
  color: var(--soft) !important;
  font-style: normal;
}
#about { padding-bottom: 32px; }
.about-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.headshot {
  aspect-ratio: 4/5;
  max-width: 260px;
  background: var(--ink);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  margin: 0;
}
.headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) contrast(1.02);
}
.pull {
  padding: 24px 0 0;
  border-top: 2px solid var(--ink);
}
.pull blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.pull blockquote::before {
  content: "\201C";
  font-size: 60px;
  line-height: 0;
  display: block;
  color: var(--accent);
  margin-bottom: 22px;
  font-weight: 700;
  font-style: italic;
}
.pull cite {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--soft);
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-weight: 500;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact h2.section-title { margin-bottom: 40px; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
.contact-card {
  display: block;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 32px 28px;
  position: relative;
  transition: all 0.2s;
}
.contact-card:hover {
  background: var(--ink);
  color: var(--bg);
}
.contact-card:hover .contact-arrow {
  transform: translateX(6px);
  color: var(--accent);
}
.contact-card .contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.contact-card .contact-handle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  word-break: break-word;
}
.contact-card .contact-arrow {
  position: absolute;
  top: 32px;
  right: 28px;
  font-size: 18px;
  color: var(--graphite);
  transition: all 0.2s;
}

.contact-form-wrap {
  padding-top: 0;
  margin-bottom: 56px;
}
.contact-elsewhere {
  padding-top: 48px;
  border-top: 2px solid var(--ink);
}
.contact-elsewhere-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}
.contact-form-head h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--ink);
}
.contact-form-head h3 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}
.contact-form-head p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 380px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.cf-field--full { grid-column: 1 / -1; }
.cf-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cf-counter {
  color: var(--soft);
  font-weight: 500;
  letter-spacing: 0.08em;
}
.cf-counter.over {
  color: var(--accent);
  font-weight: 600;
}
.cf-req {
  color: var(--accent);
  font-weight: 700;
  margin-left: 2px;
}
.cf-opt {
  color: var(--soft);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  margin-left: 8px;
  text-transform: uppercase;
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--paper);
  border: 1.5px solid var(--line-soft);
  padding: 14px 16px;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.15s;
  border-radius: 0;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.cf-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: var(--soft);
  opacity: 0.7;
}
.cf-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--soft) 50%),
    linear-gradient(135deg, var(--soft) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.cf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cf-turnstile-wrap {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}
.cf-turnstile-wrap .cf-turnstile { min-height: 65px; }
.cf-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.cf-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cf-submit:hover:not(:disabled) {
  background: var(--accent);
  color: #fff;
}
.cf-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.cf-status {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mute);
}
.cf-status.success { color: var(--accent); font-weight: 600; }
.cf-status.error { color: #b91c1c; }
html[data-theme="dark"] .cf-status.error { color: #fca5a5; }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-page {
  padding: 56px 0 24px;
  border-bottom: 2px solid var(--ink);
}
.article-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft);
  text-decoration: none;
  margin-bottom: 32px;
  font-weight: 600;
  transition: color 0.15s;
}
.article-page .back-link:hover { color: var(--accent); }
.article-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 600;
}
.article-eyebrow .num { color: var(--ink); font-weight: 700; margin-right: 6px; }
.article-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: var(--ink);
  max-width: 880px;
}
.article-title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}
.article-subhead {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--mute);
  max-width: 760px;
  margin: -8px 0 28px;
}
.article-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-weight: 500;
}
.article-meta .dot { color: var(--line-soft); }
.article-body {
  max-width: 720px;
  margin: 0;
  padding: 48px 0 80px;
}
.article-body p {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.7;
  color: var(--mute);
  margin: 0 0 24px;
}
.article-body p.preface {
  font-style: italic;
  font-size: 17px;
  color: var(--soft);
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  margin-bottom: 36px;
}
.article-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 48px 0 20px;
}
.article-body ul {
  margin: 0 0 28px;
  padding-left: 0;
  list-style: none;
}
.article-body ul li {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--mute);
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}
.article-body ul li::before {
  content: "·";
  position: absolute;
  left: 6px;
  top: -2px;
  color: var(--accent);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}
.article-body strong {
  color: var(--ink);
  font-weight: 600;
}
.article-body p strong:first-child:last-child,
.article-body p > strong:only-child {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 16px 22px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  margin: 8px 0 32px;
  font-weight: 600;
}
.article-body em {
  font-style: italic;
  color: var(--ink);
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.article-body a:hover { text-decoration-thickness: 2px; }
.article-foot {
  padding: 32px 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.article-foot a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.article-foot a:hover { text-decoration: underline; }

.article-disclaimer {
  margin: 0;
  padding: 18px 0 8px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-serif, var(--font-sans));
  font-style: italic;
  font-size: 13px;
  line-height: 1.5;
  color: var(--soft);
  text-align: center;
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  .article-page { padding: 32px 0 16px; }
  .article-body { padding: 32px 0 56px; }
  .article-body p, .article-body ul li { font-size: 17px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer {
  max-width: 1320px;
  margin: 0 auto;
  padding: 48px 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 500;
}
footer.site-footer .brand-foot {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  text-transform: none;
  letter-spacing: -0.025em;
  font-size: 18px;
}
footer.site-footer .brand-foot .j { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .articles { grid-template-columns: 1fr; gap: 32px; }
  .contact-cards { grid-template-columns: 1fr; gap: 16px; }
  .contact-form-wrap { gap: 32px; padding-top: 16px; margin-bottom: 56px; }
  .contact-elsewhere { padding-top: 40px; }
  .blades { display: none; }
  .hero h1 { font-size: 56px !important; }
  .hero h1.tagline { font-size: 42px !important; }
  h2.section-title { font-size: 40px; }
}

@media (max-width: 640px) {
  .topbar .inner { padding: 0 20px; gap: 12px; font-size: 10px; }
  .topbar .inner span:nth-child(3) { display: none; }
  .topnav .inner { padding: 16px 20px; gap: 16px; }
  .masthead { font-size: 26px; }
  .masthead .name { font-size: 18px; }
  .frame { padding: 0 20px; }
  .hero { padding: 48px 0 56px; }
  section { padding: 64px 0; }
  .cf-row { grid-template-columns: 1fr; }
  .contact-form-head h3 { font-size: 30px; }
  footer.site-footer { padding: 36px 20px; }
  .archive-head { padding-top: 56px; }
  .archive-head h1.section-title { font-size: 40px; }
  .archive-card { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .archive-card-meta { flex-direction: row; }
  .archive-foot { grid-column: 1; }
}

/* ============================================================
   MUSINGS ARCHIVE
   ============================================================ */
.archive-head {
  padding-top: 88px;
  padding-bottom: 16px;
}
.archive-head .back-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft);
  display: inline-block;
  margin-bottom: 32px;
  font-weight: 600;
  transition: color 0.18s;
}
.archive-head .back-link:hover { color: var(--accent); }
.archive-head .section-label { margin-bottom: 24px; }
.archive-head h1.section-title { font-size: 64px; margin-bottom: 24px; }
.archive-lede {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--mute);
  max-width: 640px;
  margin-bottom: 24px;
}

.filter-bar {
  padding: 40px 0 24px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 16px;
}
.filter-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
.filter-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 600;
}
.filter-clear {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.18s;
}
.filter-clear[hidden] { display: none; }
.filter-clear:hover { opacity: 0.7; }

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
  font-weight: 600;
  padding: 9px 16px;
  border: 1.5px solid var(--line-soft);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.tag-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.tag-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
.filter-count {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 600;
}

.archive-list {
  padding: 32px 0 96px;
  display: flex;
  flex-direction: column;
}
.archive-card {
  display: grid;
  grid-template-columns: 160px 1fr 200px;
  gap: 48px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: opacity 0.2s;
}
.archive-card[hidden] { display: none; }
.archive-card-body { min-width: 0; }
.archive-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}
.archive-status {
  color: var(--soft);
}
.archive-card.is-published .archive-status { color: var(--accent); }
.archive-status.soon { color: var(--soft); }
.archive-num { color: var(--graphite); font-weight: 700; }
.archive-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.archive-title a { color: var(--ink); transition: color 0.18s; }
.archive-card:hover .archive-title a { color: var(--accent); }
.archive-teaser {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--mute);
  margin-bottom: 16px;
}
.archive-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.archive-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
}
.archive-foot {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.archive-date {
  color: var(--soft);
  font-weight: 600;
  white-space: nowrap;
}
.archive-cta {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.archive-card.is-published:hover .archive-cta { text-decoration: underline; }
.archive-cta.muted { color: var(--soft); }

.archive-empty {
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--line-soft);
}
.archive-empty p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--mute);
  margin-bottom: 24px;
}
.filter-clear-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  padding: 12px 24px;
  border: 1.5px solid var(--accent);
  background: transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.filter-clear-cta:hover {
  background: var(--accent);
  color: var(--paper);
}

.archive-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0 12px;
  margin: 12px 0 4px;
}
.archive-divider[hidden] { display: none; }
.archive-divider-line {
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}
.archive-divider-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--soft);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .archive-divider { gap: 14px; padding: 20px 0 6px; }
  .archive-divider-label { font-size: 10px; letter-spacing: 0.22em; }
}

/* Article page tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 32px;
}
.article-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 600;
  padding: 5px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  transition: border-color 0.18s, color 0.18s;
}
.article-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}
