/* TrueStoryPath — Ink & Thread */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=IBM+Plex+Mono:wght@500&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&display=swap');

:root {
  --ink: #171512;
  --espresso: #241F18;
  --paper: #F4EDE1;
  --thread: #D9482B;
  --jade: #5E7C6B;
  --measure: 42rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --shadow-ink: 0 12px 40px rgba(23, 21, 18, 0.18);
  --shadow-soft: 0 4px 20px rgba(23, 21, 18, 0.1);
  --radius: 4px;
  --transition: 0.35s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 1.1875rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

/* Surfaces */
.surface-ink {
  background-color: #171512;
  color: #F4EDE1;
}

.surface-paper {
  background-color: #F4EDE1;
  color: #171512;
}

.surface-espresso {
  background-color: #241F18;
  color: #F4EDE1;
}

.surface-thread {
  background-color: #D9482B;
  color: #F4EDE1;
}

.surface-paper-grain {
  position: relative;
}

.surface-paper-grain::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.35;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D9482B;
}

.surface-ink .eyebrow,
.surface-espresso .eyebrow {
  color: #D9482B;
}

.dateline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D9482B;
}

.caption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-top: 0.5rem;
}

.text-thread {
  color: #D9482B;
}

/* Layout */
.container {
  width: min(100%, 72rem);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 2.5rem);
}

.container-narrow {
  width: min(100%, calc(var(--measure) + 5rem));
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 2.5rem);
}

.section {
  padding: clamp(3.5rem, 8vw, 8rem) 0;
}

/* Header */
.site-header {
  position: relative;
  padding: var(--space-sm) 0;
}

.header-inner {
  width: min(92%, 72rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.main-nav a {
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.thread-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, #D9482B 20%, #D9482B 80%, transparent);
  transform-origin: left center;
}

.thread-header {
  width: min(92%, 72rem);
  margin: var(--space-sm) auto 0;
}

.js .thread-draw {
  transform: scaleX(0);
  animation: threadDraw 1.4s ease forwards;
}

@keyframes threadDraw {
  to { transform: scaleX(1); }
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(23, 21, 18, 0.92) 0%,
    rgba(23, 21, 18, 0.55) 45%,
    rgba(23, 21, 18, 0.25) 100%
  );
  z-index: 1;
}

.js .hero-bg img {
  animation: kenBurns 24s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(92%, 72rem);
  margin-inline: auto;
  padding: clamp(4rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: var(--space-md);
}

.hero-intro {
  max-width: 36ch;
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-md);
}

.hero .thread-line {
  position: absolute;
  bottom: 0;
  left: 4%;
  right: 4%;
  z-index: 3;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: filter var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background-color: #D9482B;
  color: #F4EDE1;
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  background: transparent;
  color: currentColor;
  border: 1px solid currentColor;
}

.btn-secondary:hover {
  filter: brightness(1.1);
  box-shadow: var(--shadow-soft);
}

.text-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

/* About strip */
.about-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
}

@media (min-width: 640px) {
  .about-strip {
    grid-template-columns: 140px 1fr;
  }
}

.about-strip-portrait {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-ink);
}

.about-strip-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Post cards */
.feed-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .feed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .feed-grid--journal {
    grid-template-columns: 1fr;
  }
}

.post-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition), transform var(--transition);
}

@media (min-width: 640px) {
  .post-card {
    grid-template-columns: 200px 1fr;
  }

  .feed-grid--journal .post-card {
    grid-template-columns: 280px 1fr;
  }
}

.post-card:hover {
  box-shadow: var(--shadow-ink);
  transform: translateY(-2px);
}

.post-card-image {
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}

.post-card-body {
  padding: var(--space-md);
  position: relative;
}

.card-num {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}

.post-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.post-card .dek {
  font-size: 0.95rem;
  opacity: 0.8;
  margin: 0;
}

/* Post article */
.post-header {
  margin-bottom: var(--space-lg);
}

.post-header h1 {
  margin-bottom: var(--space-sm);
}

.drop-cap::first-letter {
  float: left;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 4.2rem;
  line-height: 0.78;
  padding-right: 0.12em;
  padding-top: 0.06em;
  color: #D9482B;
  font-weight: 700;
}

.post-body p {
  margin: 0 0 1.4em;
}

.post-body p:last-child {
  margin-bottom: 0;
}

.figure {
  margin: var(--space-lg) 0;
}

.figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-ink);
  width: 100%;
}

.pull-quote {
  margin: var(--space-lg) 0;
  padding: var(--space-md) 0 var(--space-md) var(--space-md);
  border-left: 2px solid #D9482B;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.45;
  font-style: italic;
}

/* Page header */
.page-header {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: var(--space-md);
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

/* About page */
.about-layout {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .about-layout {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

.about-portrait img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-ink);
}

.about-secondary-img {
  margin-top: var(--space-md);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* Contact form */
.contact-form {
  display: grid;
  gap: var(--space-md);
  max-width: 32rem;
}

.form-group label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  border: 1px solid rgba(23, 21, 18, 0.25);
  border-radius: var(--radius);
  background: #fff;
  color: #171512;
}

.form-group textarea {
  min-height: 10rem;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.35rem;
}

.checkbox-group label {
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 400;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Footer */
.site-footer {
  padding: var(--space-lg) 0 var(--space-md);
  position: relative;
}

.footer-inner {
  width: min(92%, 72rem);
  margin-inline: auto;
}

.footer-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.footer-meta {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.6;
}

.footer-meta p {
  margin: 0 0 0.5rem;
}

.footer-disclaimer {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: var(--space-sm);
  font-style: italic;
}

.footer-copy {
  margin-top: var(--space-md);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  opacity: 0.6;
}

.footer-thread {
  width: 60%;
  margin-bottom: var(--space-md);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md);
  box-shadow: 0 -4px 24px rgba(23, 21, 18, 0.2);
}

.cookie-inner {
  width: min(92%, 52rem);
  margin-inline: auto;
}

.cookie-banner h2 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.cookie-banner p {
  font-size: 0.9rem;
  margin: 0 0 var(--space-sm);
  opacity: 0.9;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-custom {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(244, 237, 225, 0.2);
}

.cookie-custom label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.cookie-banner[hidden] {
  display: none;
}

/* Reveal animations */
.js .reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.error-page .container-narrow {
  padding: var(--space-xl) 0;
}

/* Privacy lists */
.privacy-body ul {
  padding-left: 1.4em;
}

.privacy-body li {
  margin-bottom: 0.6em;
}

/* Thanks page */
.thanks-box {
  text-align: center;
  padding: var(--space-xl) 0;
}

/* Margin thread on scroll */
.margin-thread {
  position: fixed;
  left: max(1rem, calc((100vw - 72rem) / 2 - 2rem));
  top: 0;
  width: 1px;
  height: 0;
  background: #D9482B;
  z-index: 50;
  pointer-events: none;
  transition: height 0.1s linear;
}

@media (max-width: 900px) {
  .margin-thread {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js .thread-draw {
    animation: none;
    transform: scaleX(1);
  }

  .js .hero-bg img {
    animation: none;
  }

  .post-card {
    transition: none;
  }

  .entry-thumb img,
  .masthead-bg img,
  .post-masthead-bg img {
    animation: none;
  }

  .article-hero-play {
    transition: none;
  }

  .article-hero:hover .article-hero-play,
  .article-hero-play-wrap:hover .article-hero-play,
  .article-hero-play-wrap:focus-visible .article-hero-play {
    transform: none;
  }
}

/* ============================================================
   BLOG LAYOUT — masthead, feed, sidebar, article, post nav
   ============================================================ */

/* Masthead (compact blog header, replaces the tall landing hero) */
.masthead {
  position: relative;
  overflow: hidden;
}

.masthead-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.masthead-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
}

.js .masthead-bg img {
  animation: kenBurns 26s ease-in-out infinite alternate;
}

.masthead-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(23, 21, 18, 0.55), rgba(23, 21, 18, 0.82));
}

.masthead-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 72rem);
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.5rem, 4vw, 2.5rem);
}

.masthead h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 18ch;
  margin: 0.5rem 0 1rem;
}

.masthead-intro {
  max-width: 48ch;
  font-size: 1.1rem;
  opacity: 0.92;
  margin: 0 0 1.25rem;
}

.masthead-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0;
}

.masthead .thread-line {
  position: absolute;
  bottom: 0;
  left: 4%;
  right: 4%;
  z-index: 3;
}

/* Two-column blog grid */
.blog-layout {
  width: min(100%, 72rem);
  margin-inline: auto;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 920px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr) 20rem;
    align-items: start;
  }
}

.blog-main {
  min-width: 0;
}

.blog-section-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D9482B;
  margin: 0 0 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(23, 21, 18, 0.15);
}

/* Post feed as blog entries */
.post-list {
  display: flex;
  flex-direction: column;
}

.entry {
  display: grid;
  gap: 1rem 1.75rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(23, 21, 18, 0.15);
}

.entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

@media (min-width: 560px) {
  .entry {
    grid-template-columns: 14rem 1fr;
    align-items: start;
  }
}

.entry-thumb {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.entry-thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform var(--transition);
}

.entry-thumb:hover img {
  transform: scale(1.04);
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.entry-meta .meta-date {
  color: #D9482B;
}

.entry-meta .meta-cat {
  opacity: 0.7;
}

.entry-meta .meta-cat::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 0.6rem;
  vertical-align: middle;
  opacity: 0.6;
}

.entry-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  line-height: 1.18;
  margin: 0.5rem 0 0.6rem;
}

.entry-title a {
  text-decoration: none;
  transition: color var(--transition);
}

.entry-title a:hover {
  color: #D9482B;
}

.entry-excerpt {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.65;
}

.read-more {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D9482B;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.byline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
  margin: 0.9rem 0 0;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 920px) {
  .sidebar {
    position: sticky;
    top: 1.5rem;
  }
}

.widget {
  font-size: 0.95rem;
}

.widget-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D9482B;
  margin: 0 0 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(23, 21, 18, 0.15);
}

.surface-ink .widget-title,
.surface-espresso .widget-title {
  border-bottom-color: rgba(244, 237, 225, 0.2);
}

.widget-about-portrait {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1rem;
}

.widget-about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.widget-about p {
  margin: 0 0 0.9rem;
  line-height: 1.6;
}

.recent-list,
.about-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recent-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(23, 21, 18, 0.12);
}

.recent-list li:last-child {
  border-bottom: none;
}

.recent-list a {
  text-decoration: none;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  display: block;
  transition: color var(--transition);
}

.recent-list a:hover {
  color: #D9482B;
}

.recent-list .r-date {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D9482B;
  margin-bottom: 0.3rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(23, 21, 18, 0.3);
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
}

.tag:hover {
  background: #D9482B;
  color: #F4EDE1;
  border-color: #D9482B;
}

.widget-photo {
  margin: 0;
}

.widget-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.widget-note {
  line-height: 1.6;
  opacity: 0.85;
}

.widget-note p {
  margin: 0 0 0.9rem;
}

/* Post article meta (byline) */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-top: 1.1rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-meta .avatar {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  object-fit: cover;
}

.post-meta .pm-author {
  font-weight: 500;
}

.post-meta .pm-sep {
  opacity: 0.4;
}

.post-meta .pm-cat {
  color: #D9482B;
}

/* Tags at end of post */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(23, 21, 18, 0.15);
}

.post-tags .pt-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-right: 0.4rem;
}

/* Author card at end of post */
.author-card {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 520px) {
  .author-card {
    grid-template-columns: 6rem 1fr;
  }
}

.author-card-portrait {
  border-radius: var(--radius);
  overflow: hidden;
}

.author-card-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.author-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.author-card p {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Prev / next post navigation */
.post-nav {
  display: grid;
  gap: 1rem;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(23, 21, 18, 0.15);
}

@media (min-width: 560px) {
  .post-nav {
    grid-template-columns: 1fr 1fr;
  }
}

.post-nav a {
  display: block;
  text-decoration: none;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(23, 21, 18, 0.18);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.post-nav a:hover {
  border-color: #D9482B;
  box-shadow: var(--shadow-soft);
}

.post-nav .pn-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D9482B;
  margin-bottom: 0.4rem;
}

.post-nav .pn-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.25;
}

.post-nav .pn-older {
  text-align: right;
}

.post-nav .pn-empty {
  border: 1px dashed rgba(23, 21, 18, 0.15);
  opacity: 0.5;
  cursor: default;
  display: flex;
  align-items: center;
}

.post-nav .pn-empty:hover {
  border-color: rgba(23, 21, 18, 0.15);
  box-shadow: none;
}

/* Article inside blog-main keeps a comfortable reading measure */
.blog-main .post-body,
.blog-main .post-header,
.blog-main .post-meta {
  max-width: 40rem;
}

/* Post hero banner — full-width header with a background photo */
.post-masthead {
  position: relative;
  overflow: hidden;
}

.post-masthead-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.post-masthead-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.js .post-masthead-bg img {
  animation: kenBurns 26s ease-in-out infinite alternate;
}

.post-masthead-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(23, 21, 18, 0.5) 0%, rgba(23, 21, 18, 0.72) 55%, rgba(23, 21, 18, 0.9) 100%);
}

.post-masthead-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 72rem);
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1.5rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 4rem);
}

.post-masthead .dateline {
  color: #D9482B;
}

.post-masthead h1 {
  max-width: 22ch;
  margin: 0.4rem 0 0;
}

.post-masthead .post-meta {
  margin-top: 1.3rem;
  max-width: none;
}

.post-masthead .thread-line {
  position: absolute;
  bottom: 0;
  left: 4%;
  right: 4%;
  z-index: 3;
}

/* ============================================================
   ARTICLE TEMPLATE — matches the "StreetWitness" reference:
   light header · breadcrumbs · red eyebrow · bold title ·
   avatar byline · hero card with caption
   ============================================================ */

/* Override site header to a clean light variant (globally) */
.site-header.surface-ink {
  background: #ffffff;
  color: #171512;
  border-bottom: 1px solid rgba(23, 21, 18, 0.10);
  padding: 1.1rem 0;
}

.site-header .logo {
  color: #171512;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.site-header .logo b {
  color: #D9482B;
  font-weight: 700;
}

.site-header .logo-mark {
  display: none;
}

.site-header .main-nav a {
  color: #171512;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
}

.site-header .main-nav a:hover,
.site-header .main-nav a[aria-current="page"] {
  color: #D9482B;
  text-decoration: none;
}

.site-header .thread-header,
.site-header + .margin-thread,
.article .margin-thread {
  display: none;
}

/* Article wrapper */
.article {
  padding: clamp(2rem, 4.5vw, 3.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  background: #ffffff;
  color: #171512;
}

.article-wrap {
  width: min(100%, 58rem);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 1rem;
  color: #857c6f;
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  font-family: 'Source Serif 4', Georgia, serif;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #D9482B;
}

.breadcrumbs .sep {
  margin: 0 0.5em;
  color: #b8ab99;
}

.breadcrumbs .current {
  color: #857c6f;
}

/* Red eyebrow */
.article-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D9482B;
  margin: 0 0 1.25rem;
}

/* Bold left-aligned title */
.article-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1.75rem;
  color: #171512;
  max-width: 22ch;
}

/* Byline row: avatar + name/location + date/read time */
.article-byline {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 clamp(2rem, 5vw, 3rem);
}

.byline-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #e9e2d4;
}

.byline-text {
  min-width: 0;
}

.byline-primary {
  margin: 0 0 0.15rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  color: #171512;
  line-height: 1.35;
}

.byline-primary strong {
  font-weight: 700;
}

.byline-secondary {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  color: #9c9285;
  line-height: 1.35;
}

/* Hero card with caption overlay */
.article-hero {
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #f4ede1;
  box-shadow: 0 6px 24px rgba(23, 21, 18, 0.08);
}

.article-hero-dim::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(23, 21, 18, 0.38);
  pointer-events: none;
  z-index: 1;
}

.article-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-hero-play-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 2;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.article-hero-play-wrap:hover,
.article-hero-play-wrap:focus-visible {
  text-decoration: none;
  color: inherit;
}

.article-hero-play-wrap:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 6px;
  border-radius: 4px;
}

.article-hero-play {
  width: clamp(4rem, 10vw, 5.5rem);
  height: clamp(4rem, 10vw, 5.5rem);
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-hero:hover .article-hero-play,
.article-hero-play-wrap:hover .article-hero-play,
.article-hero-play-wrap:focus-visible .article-hero-play {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.34);
}

.article-hero-play svg {
  width: 38%;
  height: 38%;
  margin-left: 6%;
  fill: #171512;
}

.article-hero-play-label {
  color: #ffffff;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 0, 0, 0.35);
}

.article-hero figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  text-align: center;
  color: #ffffff;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0 1.5rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

/* Body copy */
.article-body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.78;
  color: #2b2620;
  max-width: 42rem;
}

.article-body p {
  margin: 0 0 1.4em;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body .figure {
  margin: clamp(2rem, 4vw, 3rem) 0;
  border-radius: 10px;
  overflow: hidden;
}

.article-body .figure img {
  border-radius: 10px;
  display: block;
  width: 100%;
  height: auto;
}

.article-body .figure figcaption,
.article-body .caption {
  margin-top: 0.75rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  color: #857c6f;
  text-align: center;
}

.article-body .pull-quote {
  margin: clamp(2rem, 5vw, 3rem) 0;
  padding: 0.1rem 0 0.1rem 1.5rem;
  border-left: 3px solid #D9482B;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.5;
  color: #171512;
}

/* Tag pills row (below article body) */
.article-tags {
  max-width: 42rem;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(23, 21, 18, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.55rem;
}

.tag-pill {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #f0eeea;
  color: #4a423a;
  border-radius: 999px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.9rem;
  cursor: default;
  user-select: none;
}

/* MORE FROM THE JOURNAL section */
.more-from-journal {
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding-top: clamp(1.5rem, 3.5vw, 2rem);
  border-top: 1.5px solid #171512;
}

.more-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #171512;
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}

.more-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.more-thumb {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: #f4ede1;
}

.more-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.more-thumb:hover img {
  transform: scale(1.03);
}

.more-card-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0;
}

.more-card-title a {
  color: #171512;
  text-decoration: none;
}

.more-card-title a:hover {
  color: #D9482B;
}

.more-card-date {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.9rem;
  color: #9c9285;
}

@media (max-width: 720px) {
  .more-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Gradient pill CTA at end of article */
.gradient-cta-wrap {
  max-width: 42rem;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  text-align: center;
}

.gradient-cta {
  display: inline-block;
  padding: 1.05rem 2.5rem;
  background: linear-gradient(135deg, #6b7ee5 0%, #8b5cf6 55%, #a855d1 100%);
  color: #ffffff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 10px 28px rgba(107, 92, 200, 0.35);
}

.gradient-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(107, 92, 200, 0.45);
  filter: brightness(1.05);
}

/* ============================================================
   HOME — editorial "featured + also on the blog" layout
   ============================================================ */
.home-page {
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 3rem) clamp(3rem, 6vw, 5rem);
  background: #ffffff;
}

.home-section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #171512;
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
  padding-top: clamp(1.5rem, 3.5vw, 2rem);
  border-top: 1.5px solid #171512;
}

.featured-story {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.featured-thumb {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #f4ede1;
  box-shadow: 0 8px 30px rgba(23, 21, 18, 0.09);
}

.featured-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-thumb:hover img {
  transform: scale(1.03);
}

.featured-body {
  min-width: 0;
}

.featured-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D9482B;
  margin: 0 0 0.9rem;
}

.featured-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}

.featured-title a {
  color: #171512;
  text-decoration: none;
}

.featured-title a:hover {
  color: #D9482B;
}

.featured-excerpt {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #4a423a;
  margin: 0 0 1.25rem;
}

.featured-meta {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  color: #9c9285;
  margin: 0 0 1.5rem;
}

.featured-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #171512;
  color: #ffffff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.featured-cta:hover {
  background: #D9482B;
}

.also-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.also-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.also-thumb {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: #f4ede1;
}

.also-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.also-thumb:hover img {
  transform: scale(1.04);
}

.also-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D9482B;
  margin: 0 0 0.5rem;
}

.also-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.28;
  margin: 0 0 0.55rem;
}

.also-title a {
  color: #171512;
  text-decoration: none;
}

.also-title a:hover {
  color: #D9482B;
}

.also-meta {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.88rem;
  color: #9c9285;
  margin: 0;
}

.home-cta {
  background: #171512;
  color: #ffffff;
  border-radius: 14px;
  padding: clamp(2rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.home-cta h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: #ffffff;
}

.home-cta p {
  margin: 0;
  color: #d4cdbf;
  font-family: 'Source Serif 4', Georgia, serif;
  line-height: 1.6;
}

.home-cta-actions {
  justify-self: end;
}

.home-cta-actions a {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: #D9482B;
  color: #ffffff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.home-cta-actions a:hover {
  background: #ffffff;
  color: #171512;
}

@media (max-width: 780px) {
  .featured-story { grid-template-columns: 1fr; }
  .also-grid { grid-template-columns: 1fr; }
  .also-card { grid-template-columns: 100px 1fr; }
  .home-cta { grid-template-columns: 1fr; text-align: left; }
  .home-cta-actions { justify-self: start; }
}

/* ============================================================
   JOURNAL — compact archive/index layout
   ============================================================ */
.archive-page {
  width: min(100%, 60rem);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 3rem) clamp(3rem, 6vw, 5rem);
  background: #ffffff;
}

.archive-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: clamp(1rem, 2.5vw, 1.5rem) 0 clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(23, 21, 18, 0.1);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  align-items: center;
}

.archive-topics-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #857c6f;
  margin: 0 0.75rem 0 0;
}

.archive-topic {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: transparent;
  border: 1px solid rgba(23, 21, 18, 0.15);
  color: #4a423a;
  border-radius: 999px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.85rem;
  cursor: default;
  user-select: none;
}

.archive-topic.is-active {
  background: #171512;
  color: #ffffff;
  border-color: #171512;
}

.archive-year {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #e5e2dc;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(0.5rem, 1.5vw, 1rem);
  padding: 0;
}

.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-row {
  display: grid;
  grid-template-columns: 110px 120px 1fr auto;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: baseline;
  padding: clamp(0.9rem, 2vw, 1.25rem) 0;
  border-bottom: 1px solid rgba(23, 21, 18, 0.08);
}

.archive-row:last-child {
  border-bottom: none;
}

.archive-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: #857c6f;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.archive-cat {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D9482B;
  white-space: nowrap;
}

.archive-title {
  min-width: 0;
}

.archive-title a {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.3;
  color: #171512;
  text-decoration: none;
  display: block;
  margin-bottom: 0.15rem;
  transition: color 0.2s ease;
}

.archive-title a:hover {
  color: #D9482B;
}

.archive-dek {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  color: #6b6255;
  line-height: 1.5;
  margin: 0;
}

.archive-read {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: #9c9285;
  white-space: nowrap;
  align-self: baseline;
}

.archive-footer-note {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(23, 21, 18, 0.1);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  color: #857c6f;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .archive-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 1rem 0;
  }
  .archive-read { display: none; }
  .archive-year { font-size: clamp(2.5rem, 12vw, 3.5rem); }
}

@media (max-width: 560px) {
  .article-title { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .byline-avatar { width: 42px; height: 42px; }
  .article-hero img { aspect-ratio: 4 / 3; }
}

/* ============================================================
   GLOBAL LIGHT THEME — align every page with the article template
   ============================================================ */
body {
  background: #ffffff;
  color: #171512;
}

/* Body-side vermilion scroll indicator — hide site-wide for a clean look */
.margin-thread {
  display: none !important;
}

/* Home & Journal masthead → light hero (no dark overlay, no photo bg) */
.masthead.surface-ink {
  background: #ffffff;
  color: #171512;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(23, 21, 18, 0.08);
}

.masthead.surface-ink .masthead-bg,
.masthead.surface-ink .masthead-overlay,
.masthead.surface-ink .thread-line {
  display: none;
}

.masthead.surface-ink .masthead-inner {
  width: min(100%, 58rem);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
  text-align: left;
  position: relative;
  z-index: auto;
}

.masthead.surface-ink .eyebrow {
  color: #D9482B;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

.masthead.surface-ink h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: #171512;
  max-width: 22ch;
}

.masthead.surface-ink .masthead-intro {
  color: #4a423a;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 44rem;
  margin: 0 0 1rem;
}

.masthead.surface-ink .masthead-meta {
  color: #9c9285;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.masthead.surface-ink .masthead-meta a,
.masthead.surface-ink .masthead-intro a {
  color: #D9482B;
}

/* Section body + blog layout — pure white, no paper grain */
.section.surface-paper,
.blog-layout.surface-paper {
  background: #ffffff !important;
  color: #171512 !important;
}

.surface-paper-grain::before,
.surface-paper-grain::after {
  display: none !important;
}

/* Sidebar, entries, widgets — keep readable on white */
.blog-layout .entry-title,
.blog-layout .widget-title,
.blog-layout .blog-section-title {
  color: #171512;
}

.blog-layout .entry-meta,
.blog-layout .byline,
.blog-layout .r-date,
.blog-layout .entry-excerpt {
  color: #6b6255;
}

.blog-layout .entry {
  border-bottom: 1px solid rgba(23, 21, 18, 0.08);
}

.blog-layout .widget {
  border: 1px solid rgba(23, 21, 18, 0.08);
  background: #fafaf7;
}

.blog-layout .tag,
.blog-layout .read-more {
  color: #D9482B;
}

/* About / Contact / Privacy / 404 hero areas within .section */
.section.surface-paper h1,
.section.surface-paper h2 {
  color: #171512;
}

/* Footer → light with dark text */
.site-footer.surface-espresso {
  background: #fafaf7;
  color: #4a423a;
  border-top: 1px solid rgba(23, 21, 18, 0.08);
}

.site-footer .footer-brand {
  color: #171512;
}

.site-footer a {
  color: #D9482B;
}

.site-footer .footer-thread {
  display: none;
}

.site-footer .footer-disclaimer,
.site-footer .footer-copy {
  color: #857c6f;
}

/* Cookie banner → light card */
.cookie-banner.surface-espresso {
  background: #ffffff;
  color: #171512;
  border: 1px solid rgba(23, 21, 18, 0.1);
  box-shadow: 0 12px 40px rgba(23, 21, 18, 0.14);
}

.cookie-banner.surface-espresso h2 {
  color: #171512;
}

.cookie-banner.surface-espresso .btn-secondary {
  border-color: #171512;
  color: #171512;
}

.cookie-banner.surface-espresso .btn-primary {
  background: #D9482B;
  color: #ffffff;
  border-color: #D9482B;
}

/* Error page → keep white background too */
.error-page.surface-paper {
  background: #ffffff !important;
}

