/*
Theme Name: Selah Duval
Theme URI: https://seladuval.com
Description: Custom author theme for Selah Duval — minimalist literary horror.
Author: Selah Duval
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: selah-duval
*/

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #e8e4de;
  background-color: #0d0d0d;
}

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

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.site-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-header {
  border-bottom: 0.5px solid rgba(232, 228, 222, 0.08);
  padding: 1.75rem 2rem;
  width: 100%;
}

.site-header-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 2rem;
  width: 100%;
}

.site-logo {
  flex-shrink: 0;
  flex-grow: 0;
}

.site-logo a {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8e4de;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}

.header-ghost {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #4a4640;
  font-style: italic;
  white-space: nowrap;
  cursor: default;
  user-select: none;
  flex: 1 1 0;
  display: block;
}

.header-ghost--left {
  text-align: right;
}

.header-ghost--right {
  text-align: left;
}

@media (max-width: 500px) {
  .header-ghost { display: none !important; }
  .site-header-inner { justify-content: center !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 5.5rem 0 5rem;
  border-bottom: 0.5px solid rgba(26, 26, 26, 0.1);
}

.hero-name {
  font-size: clamp(80px, 16vw, 148px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 3.5rem;
}

.hero-statement {
  font-size: 17px;
  line-height: 1.85;
  color: #7a7570;
  max-width: 500px;
  margin-bottom: 3rem;
  font-style: italic;
}

.hero-statement strong {
  font-style: normal;
  font-weight: 400;
  color: #e8e4de;
}

.hero-actions {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 0.5px solid rgba(232, 228, 222, 0.35);
  color: #e8e4de;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: #e8e4de;
  color: #0d0d0d;
}

.btn-ghost {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a7570;
  text-decoration: none;
  transition: color 0.15s ease;
}

.btn-ghost:hover {
  color: #e8e4de;
}

/* ============================================================
   SECTION RULES
   ============================================================ */
.section-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 3.5rem;
  margin-bottom: 2.5rem;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4a4640;
  white-space: nowrap;
}

.section-line {
  flex: 1;
  height: 0.5px;
  background: rgba(232, 228, 222, 0.1);
}

/* ============================================================
   FEATURED POST
   ============================================================ */
.featured-post {
  padding-bottom: 2.5rem;
  border-bottom: 0.5px solid rgba(26, 26, 26, 0.1);
}

.post-meta-line {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #4a4640;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.featured-post .post-title {
  font-size: 34px;
  margin-bottom: 1rem;
}

.featured-post .post-excerpt {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #7a7570;
  max-width: 560px;
  margin-bottom: 1.25rem;
}

.read-more {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a7570;
  transition: color 0.15s ease;
}

.read-more:hover {
  color: #e8e4de;
}

/* ============================================================
   POST LIST
   ============================================================ */
.post-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.post-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-bottom: 0.5px solid rgba(232, 228, 222, 0.08);
}

.post-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #4a4640;
  letter-spacing: 0.03em;
}

.post-row .post-title {
  font-size: 18px;
  line-height: 1.25;
}

.post-row .post-title .post-aside {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #4a4640;
  font-style: normal;
}

.post-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a4640;
}

.view-all-wrap {
  padding-top: 2rem;
  padding-bottom: 0.5rem;
}

.view-all {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a7570;
  transition: color 0.15s ease;
}

.view-all:hover {
  color: #e8e4de;
}

/* ============================================================
   ABOUT STRIP
   ============================================================ */
.about-strip {
  padding: 3.5rem 0;
  border-bottom: 0.5px solid rgba(232, 228, 222, 0.08);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 3rem;
  align-items: start;
}

.about-head {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4a4640;
  padding-top: 3px;
}

.about-body {
  font-size: 16px;
  line-height: 1.85;
  color: #7a7570;
}

/* ============================================================
   NEWSLETTER / SUBSCRIBE
   ============================================================ */
.subscribe-section {
  padding: 4rem 0;
  border-bottom: 0.5px solid rgba(232, 228, 222, 0.08);
}

.subscribe-heading {
  font-size: 28px;
  margin-bottom: 0.6rem;
}

.subscribe-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #7a7570;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 420px;
}

.subscribe-form {
  display: flex;
  max-width: 400px;
}

.subscribe-form input[type="email"] {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  padding: 10px 14px;
  border: 0.5px solid rgba(232, 228, 222, 0.25);
  border-right: none;
  background: #0d0d0d;
  color: #e8e4de;
  outline: none;
  appearance: none;
}

.subscribe-form input[type="email"]::placeholder {
  color: #4a4640;
}

.subscribe-form button[type="submit"] {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
  background: #e8e4de;
  color: #0d0d0d;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.subscribe-form button[type="submit"]:hover {
  background: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 2rem 0;
}

.site-footer .site-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #a0a0a0;
}

.footer-credit {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.03em;
  color: #c0c0c0;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #4a4640;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #e8e4de;
}

/* ============================================================
   SINGLE POST / PAGE
   ============================================================ */
.post-header {
  padding: 4rem 0 2.5rem;
  border-bottom: 0.5px solid rgba(232, 228, 222, 0.08);
  margin-bottom: 3rem;
}

.post-header .post-meta-line {
  margin-bottom: 1rem;
}

.post-header h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 1.25rem;
}

.post-content {
  font-size: 18px;
  line-height: 1.85;
  color: #c8c4be;
  max-width: 640px;
  padding-bottom: 4rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2 {
  font-size: 26px;
  margin: 2.5rem 0 1rem;
}

.post-content h3 {
  font-size: 20px;
  margin: 2rem 0 0.75rem;
}

.post-content em {
  font-style: italic;
}

.post-content blockquote {
  border-left: 1px solid rgba(232, 228, 222, 0.25);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #7a7570;
}

.post-content .order-ticket {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-style: italic;
  color: #4a4640;
  display: block;
  margin: 1.5rem 0;
}

/* ============================================================
   BLOG ARCHIVE
   ============================================================ */
.archive-header {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 0.5px solid rgba(232, 228, 222, 0.08);
  margin-bottom: 0;
}

.archive-header h1 {
  font-size: 40px;
}

.archive-list .post-row {
  grid-template-columns: 90px 1fr auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .site-container {
    padding: 0 1.25rem;
  }

  .hero-name {
    font-size: clamp(64px, 18vw, 96px);
    margin-bottom: 2.5rem;
  }

  .about-strip {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .post-row {
    grid-template-columns: 56px 1fr;
    gap: 1rem;
  }

  .post-tag {
    display: none;
  }

  .site-footer .site-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}


/* ============================================================
   SUBSTACK-STYLE FEED
   ============================================================ */
.sub-feed {
  display: flex;
  flex-direction: column;
}

.sub-post {
  padding: 2.75rem 0;
  border-bottom: 0.5px solid rgba(232, 228, 222, 0.08);
}

.sub-post:first-child {
  border-top: 0.5px solid rgba(232, 228, 222, 0.08);
}

.sub-post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.sub-post-type {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a4640;
}

.sub-post-date,
.sub-read-time {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #4a4640;
}

.sub-meta-dot {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #4a4640;
}

.sub-post-title {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.sub-post-title a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}

.sub-post-title a:hover {
  opacity: 0.7;
}

.sub-post-excerpt {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #7a7570;
  max-width: 600px;
  margin-bottom: 1.25rem;
}

.sub-continue {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a7570;
  text-decoration: none;
  transition: color 0.15s ease;
}

.sub-continue:hover {
  color: #e8e4de;
}

.pagination-wrap {
  padding: 2.5rem 0;
}

.no-posts {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #4a4640;
  padding: 3rem 0;
  font-style: italic;
}


/* ============================================================
   SINGLE POST — SUBSTACK STYLE
   ============================================================ */
.single-header {
  padding: 4rem 0 2rem;
}

.single-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
  margin-top: 0.75rem;
}

.single-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #7a7570;
  max-width: 600px;
  margin-bottom: 1.5rem;
}

.single-byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.byline-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #e8e4de;
  letter-spacing: 0.02em;
}

.single-divider {
  height: 0.5px;
  background: rgba(232, 228, 222, 0.08);
  margin: 1.5rem 0;
}

.post-content {
  font-size: 19px;
  line-height: 1.9;
  color: #c8c4be;
  max-width: 660px;
  padding: 1rem 0 3rem;
}

.post-content p { margin-bottom: 1.6rem; }
.post-content h2 { font-size: 28px; margin: 2.5rem 0 1rem; color: #e8e4de; }
.post-content h3 { font-size: 22px; margin: 2rem 0 0.75rem; color: #e8e4de; }
.post-content em { font-style: italic; }
.post-content strong { font-weight: 500; color: #e8e4de; }

.post-content blockquote {
  border-left: 1px solid rgba(232, 228, 222, 0.2);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #7a7570;
}

.post-content .order-ticket {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-style: italic;
  color: #4a4640;
  display: block;
  margin: 1.5rem 0;
}

.single-nav {
  display: flex;
  justify-content: space-between;
  padding: 2rem 0 3rem;
  gap: 2rem;
  max-width: 640px;
}

.single-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
  max-width: 280px;
}

.single-nav-link--right {
  text-align: right;
  margin-left: auto;
}

.single-nav-dir {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a4640;
}

.single-nav-title {
  font-size: 16px;
  color: #7a7570;
  line-height: 1.3;
  transition: color 0.15s ease;
}

.single-nav-link:hover .single-nav-title {
  color: #e8e4de;
}

.subscribe-section--post {
  border-top: 0.5px solid rgba(232, 228, 222, 0.08);
  border-bottom: none;
  margin-bottom: 3rem;
}


/* ============================================================
   BOOKS SECTION
   ============================================================ */
.books-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 1rem;
}

.book-entry {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 0.5px solid rgba(232, 228, 222, 0.08);
  align-items: start;
}

.book-entry:first-child {
  border-top: 0.5px solid rgba(232, 228, 222, 0.08);
}

.book-cover-wrap {
  width: 140px;
  aspect-ratio: 2/3;
  flex-shrink: 0;
}

.book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-cover-placeholder {
  background: rgba(232, 228, 222, 0.05);
  border: 0.5px solid rgba(232, 228, 222, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.book-cover-placeholder span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13px;
  font-style: italic;
  color: #4a4640;
  text-align: center;
  line-height: 1.4;
}

.book-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.book-status {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4a4640;
}

.book-title {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.book-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #7a7570;
  line-height: 1.6;
  margin: 0;
}

.book-buy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.book-btn-ghost {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 0.5px solid rgba(232, 228, 222, 0.25);
  color: #e8e4de;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
  display: inline-block;
}

.book-btn-ghost:hover {
  border-color: rgba(232, 228, 222, 0.6);
  color: #fff;
}

.book-buy-links .btn-primary {
  font-size: 11px;
  padding: 8px 16px;
  display: inline-block;
}

@media (max-width: 640px) {
  .book-entry {
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
  }
  .book-cover-wrap { width: 100px; }
  .book-title { font-size: 20px; }

  .single-title { font-size: clamp(28px, 8vw, 40px); }
  .sub-post-title { font-size: 22px; }

  .single-nav {
    flex-direction: column;
    gap: 1.5rem;
  }
  .single-nav-link { max-width: 100%; }
  .single-nav-link--right { text-align: left; margin-left: 0; }
}

/* ── Kill Jetpack leftovers ─────────────────────────────────── */
.sharedaddy,
.sd-sharing,
.jp-relatedposts,
.jp-relatedposts-headline,
.wpl-button,
.like-post-wrapper,
#likes-other-gravatars,
.sd-like-enabled,
.jetpack-likes-widget-wrapper { display: none !important; }

/* ── Content protection ─────────────────────────────────────── */
.post-content,
.single-post {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ============================================================
   WORK ARCHIVE
   ============================================================ */
.work-archive { padding-bottom: 4rem; }

.work-section { margin-bottom: 1rem; }

.work-list { display: flex; flex-direction: column; }

.work-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 1.4rem 0;
  border-bottom: 0.5px solid rgba(232,228,222,0.08);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.work-item:first-child { border-top: 0.5px solid rgba(232,228,222,0.08); }
.work-item:hover { opacity: 0.7; }

.work-item-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.work-item-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #e8e4de;
  line-height: 1.2;
}

.work-item-tease {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #4a4640;
  font-style: italic;
  line-height: 1.5;
}

.work-item-year {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #4a4640;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Fire distinction */
.section-label--fire { color: #8b3a3a; }

.work-section--fire .work-item-title { color: #c8c4be; }

.work-section--fire .work-item:hover { opacity: 0.8; }


/* ============================================================
   404
   ============================================================ */
.error-404 {
  padding: 6rem 0 4rem;
  max-width: 480px;
}

.error-404-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4a4640;
  margin-bottom: 1.5rem;
}

.error-404-heading {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: #e8e4de;
}

.error-404-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #7a7570;
  margin-bottom: 2.5rem;
}


/* ============================================================
   SUBSCRIBE NUDGE — hidden until 80% read
   ============================================================ */
.subscribe-section--post {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* ============================================================
   WORK ARCHIVE
   ============================================================ */
.arch-header {
  padding: 4rem 0 3rem;
  border-bottom: 0.5px solid rgba(232, 228, 222, 0.08);
}

.arch-title {
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #e8e4de;
}

.type-block {
  padding-top: 3rem;
}

.type-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4a4640;
  margin-bottom: 0;
}

.arch-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 0.5px solid rgba(232, 228, 222, 0.06);
}

.arch-entry:first-of-type {
  border-top: 0.5px solid rgba(232, 228, 222, 0.06);
  margin-top: 1.5rem;
}

.arch-entry-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.arch-entry-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #e8e4de;
  line-height: 1.2;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.arch-entry-title:hover {
  opacity: 0.6;
}

.arch-entry-tease {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #4a4640;
  font-style: italic;
  line-height: 1.5;
}

.arch-entry-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.arch-entry-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #2e2b27;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.arch-empty {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #2e2b27;
  font-style: italic;
  padding: 1.5rem 0 0;
}

/* Fire section — rust accent */
.fire-block .type-label {
  color: #7a3a2a;
}

.fire-block .arch-entry {
  border-bottom-color: rgba(180, 80, 40, 0.1);
}

.fire-block .arch-entry:first-of-type {
  border-top-color: rgba(180, 80, 40, 0.1);
}

.fire-block .arch-entry-left {
  border-left: 1px solid #7a3a2a;
  padding-left: 1rem;
}

@media (max-width: 640px) {
  .arch-entry {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .arch-entry-right { display: none; }
}

/* ── MailerLite overrides — force site styling ──────────────── */
.ml-subscribe-form-39086619 { all: unset; display: block; }
.ml-subscribe-form-39086619 .ml-block-form { margin: 0; width: 100%; }
.ml-subscribe-form-39086619 .subscribe-form { display: flex; max-width: 400px; }
.ml-subscribe-form-39086619 input[type="email"] {
  flex: 1;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  padding: 10px 14px !important;
  border: 0.5px solid rgba(232,228,222,0.25) !important;
  border-right: none !important;
  background: #0d0d0d !important;
  color: #e8e4de !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  height: auto !important;
  width: auto !important;
}
.ml-subscribe-form-39086619 input[type="email"]::placeholder { color: #4a4640 !important; }
.ml-subscribe-form-39086619 button.ml-submit-btn,
.ml-subscribe-form-39086619 button[type="submit"] {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 10px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 10px 16px !important;
  background: #e8e4de !important;
  color: #0d0d0d !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  font-weight: 400 !important;
  line-height: normal !important;
  height: auto !important;
  width: auto !important;
}
.ml-subscribe-form-39086619 button.ml-submit-btn:hover { background: #fff !important; }
.ml-subscribe-form-39086619 .ml-success { 
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #7a7570;
  font-style: italic;
  padding: 0.5rem 0;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 {
  padding: 6rem 0;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.error-404-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4a4640;
  margin-bottom: 1.5rem;
}

.error-404-heading {
  font-size: clamp(52px, 8vw, 80px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: #e8e4de;
  margin-bottom: 1.5rem;
}

.error-404-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #7a7570;
  margin-bottom: 2.5rem;
}

/* ── Work archive spacing fixes ─────────────────────────────── */
.arch-header {
  padding-top: 4rem !important;
  padding-bottom: 3rem !important;
  margin-bottom: 0 !important;
}

.type-block + .type-block {
  padding-top: 2.5rem;
}

.type-label {
  text-transform: uppercase !important;
  letter-spacing: 0.18em !important;
  font-size: 11px !important;
}

.arch-empty {
  display: none;
}
