/*
Theme Name:  Human in the Loop
Theme URI:   https://blog.ikechua.com
Author:      Isaiah Chua
Author URI:  https://ikechua.com
Description: A writing-led personal brand magazine theme for Human in the Loop. Headlines lead, images support. Deep red accent on warm off-white. Playfair Display headers, Lora body, DM Mono metadata. Full JSON-LD schema, OG tags, reading progress bar, pull quotes, stat callouts, and drop caps built in.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hitl
Tags:        blog, custom-colors, custom-logo, featured-images, full-width-template, sticky-post, threaded-comments
*/

/* ─────────────────────────────────────────
   TOKENS
───────────────────────────────────────── */
:root {
  --red:        #A8200D;
  --red-light:  #C42510;
  --red-pale:   #F9EFED;
  --ink:        #141412;
  --ink-soft:   #3A3835;
  --ink-muted:  #7A7770;
  --off-white:  #FAF8F4;
  --warm:       #F2EEE6;
  --rule:       #E2DDD4;
  --max:        1180px;
  --body-w:     700px;
  --pad:        clamp(20px, 4vw, 48px);
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
  background: var(--off-white);
  color: var(--ink);
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ─────────────────────────────────────────
   LAYOUT
───────────────────────────────────────── */
.hitl-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.hitl-body-wrap {
  max-width: var(--body-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ─────────────────────────────────────────
   READING PROGRESS BAR
───────────────────────────────────────── */
.hitl-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--red);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ─────────────────────────────────────────
   TOP BAR
───────────────────────────────────────── */
.hitl-top-bar {
  background: var(--ink);
  padding: 8px 0;
}
.hitl-top-bar .hitl-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hitl-top-bar__date {
  font-family: 'DM Mono', monospace;
  font-size: 10.5px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
}
.hitl-top-bar__cats {
  display: flex;
  gap: 22px;
}
.hitl-top-bar__cats a {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  transition: color 0.15s;
}
.hitl-top-bar__cats a:hover { color: rgba(255,255,255,0.85); }

/* ─────────────────────────────────────────
   MASTHEAD (home/archive)
───────────────────────────────────────── */
.hitl-masthead {
  padding: 40px 0 32px;
  border-bottom: 1.5px solid var(--ink);
}
.hitl-masthead .hitl-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
}
.hitl-masthead__left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hitl-masthead__tagline {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hitl-masthead__sub {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}
.hitl-masthead__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  display: block;
}
.hitl-masthead__title em { font-style: italic; color: var(--red); }
.hitl-masthead__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.hitl-masthead__author {
  font-family: 'Lora', serif;
  font-size: 12px;
  font-style: italic;
  color: var(--ink-muted);
}

/* ─────────────────────────────────────────
   MASTHEAD (single/page — mini)
───────────────────────────────────────── */
.hitl-masthead--mini {
  border-bottom: 1.5px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,244,0.96);
  backdrop-filter: blur(6px);
}
.hitl-masthead--mini .hitl-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  gap: 24px;
}
.hitl-masthead__wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.hitl-masthead__wordmark em { font-style: italic; color: var(--red); }
.hitl-masthead__mini-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.hitl-masthead__mini-nav a:not(.hitl-btn) {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.15s;
}
.hitl-masthead__mini-nav a:not(.hitl-btn):hover { color: var(--red); }

/* ─────────────────────────────────────────
   SUBSCRIBE BUTTON
───────────────────────────────────────── */
.hitl-btn {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--red);
  color: #ffffff !important;
  padding: 9px 20px;
  display: inline-block;
  transition: background 0.15s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.hitl-btn:hover { background: var(--ink); color: #ffffff !important; }

/* ─────────────────────────────────────────
   ATOMS
───────────────────────────────────────── */
.hitl-cat-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1.5px solid var(--red);
  padding-bottom: 2px;
  text-decoration: none;
  display: inline-block;
}
.hitl-cat-tag:hover { opacity: 0.75; }
.hitl-meta {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
}
.hitl-read-link {
  font-family: 'DM Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: gap 0.2s;
}
.hitl-read-link:hover { gap: 12px; }

/* ─────────────────────────────────────────
   BREADCRUMB
───────────────────────────────────────── */
.hitl-breadcrumb {
  max-width: var(--body-w);
  margin: 28px auto 0;
  padding: 0 var(--pad);
  font-family: 'DM Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hitl-breadcrumb a { color: var(--ink-muted); }
.hitl-breadcrumb a:hover { color: var(--red); }
.hitl-breadcrumb__sep { color: var(--rule); }

/* ─────────────────────────────────────────
   FEATURED POST (homepage)
───────────────────────────────────────── */
.hitl-featured {
  border-bottom: 1.5px solid var(--rule);
}
.hitl-featured .hitl-wrap {
  display: grid;
  grid-template-columns: 1fr 460px;
  min-height: 480px;
  gap: 0;
}

/* Text — left, primary */
.hitl-featured__text {
  padding: 52px 52px 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1.5px solid var(--rule);
}
.hitl-featured__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.hitl-featured__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 20px;
  text-decoration: none;
  display: block;
  transition: color 0.15s;
}
.hitl-featured__title:hover { color: var(--red); }
.hitl-featured__hook {
  font-family: 'Lora', serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 32px;
  padding-left: 18px;
  border-left: 2px solid var(--rule);
}
.hitl-featured__hook strong { color: var(--ink); font-style: normal; }
.hitl-featured__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hitl-featured__words {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--ink-muted);
}

/* Image — right, supporting */
.hitl-featured__image {
  position: relative;
  overflow: hidden;
  background: var(--warm);
}
.hitl-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(0.88);
  transition: transform 0.5s ease;
}
.hitl-featured__image:hover img { transform: scale(1.03); }

/* ─────────────────────────────────────────
   POST GRID (2-col)
───────────────────────────────────────── */
.hitl-posts-section {
  padding: 48px 0 64px;
}
.hitl-grid-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}
.hitl-grid-label {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-muted);
}
.hitl-grid-label strong {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}
.hitl-all-link {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  transition: opacity 0.15s;
}
.hitl-all-link:hover { opacity: 0.7; }

.hitl-post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.hitl-post-card {
  padding: 32px;
  border: 1px solid var(--rule);
  margin: -1px 0 0 -1px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: var(--off-white);
  transition: background 0.2s;
  position: relative;
}
.hitl-post-card:hover { background: white; z-index: 1; }
.hitl-post-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--warm);
  margin-bottom: 20px;
}
.hitl-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.88);
  transition: transform 0.4s ease;
  display: block;
}
.hitl-post-card:hover .hitl-post-card__image img { transform: scale(1.04); }
.hitl-post-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.hitl-post-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.hitl-post-card__excerpt {
  font-family: 'Lora', serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 20px;
  flex: 1;
}
.hitl-post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  margin-top: auto;
}
.hitl-post-card__date {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--ink-muted);
}
.hitl-post-card__cta {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  opacity: 0;
  transition: opacity 0.2s;
}
.hitl-post-card:hover .hitl-post-card__cta { opacity: 1; }

/* ─────────────────────────────────────────
   ABOUT STRIP
───────────────────────────────────────── */
.hitl-about {
  background: var(--ink);
  padding: 52px 0;
}
.hitl-about .hitl-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 48px;
  align-items: center;
}
.hitl-about__name {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.hitl-about__role {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.hitl-about__bio {
  font-family: 'Lora', serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.72;
  color: rgba(255,255,255,0.55);
  text-align: center;
}
.hitl-about__bio strong { color: white; font-style: normal; }
.hitl-about__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.hitl-about__link {
  font-family: 'DM Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color 0.15s;
}
.hitl-about__link:hover { color: var(--red-light); }

/* ─────────────────────────────────────────
   NEWSLETTER MODULE
───────────────────────────────────────── */
.hitl-newsletter {
  background: var(--red);
  padding: 56px 0;
}
.hitl-newsletter .hitl-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hitl-newsletter__heading {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 10px;
}
.hitl-newsletter__heading em { font-style: italic; opacity: 0.65; }
.hitl-newsletter__copy {
  font-family: 'Lora', serif;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}
.hitl-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hitl-newsletter__input {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: white;
  padding: 14px 18px;
  font-family: 'Lora', serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s;
}
.hitl-newsletter__input::placeholder { color: rgba(255,255,255,0.38); }
.hitl-newsletter__input:focus { border-color: rgba(255,255,255,0.7); }
.hitl-newsletter__btn {
  background: white;
  color: var(--red);
  border: none;
  padding: 14px 24px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.hitl-newsletter__btn:hover { background: var(--ink); color: white; }
.hitl-newsletter__note {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.06em;
}

/* ─────────────────────────────────────────
   SINGLE POST — ARTICLE HEADER
───────────────────────────────────────── */
.hitl-article-header {
  max-width: var(--body-w);
  margin: 24px auto 0;
  padding: 0 var(--pad);
}
.hitl-article-header__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 22px;
  margin-top: 18px;
}
.hitl-article-header__deck {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  padding-left: 18px;
  border-left: 2px solid var(--rule);
}

/* ─────────────────────────────────────────
   SINGLE POST — META BAR
───────────────────────────────────────── */
.hitl-article-meta {
  max-width: var(--body-w);
  margin: 24px auto 0;
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.hitl-article-meta__author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hitl-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.hitl-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hitl-author-name {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.hitl-author-date {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--ink-muted);
}
.hitl-share-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.hitl-share-btn {
  font-family: 'DM Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  color: var(--ink-muted);
  cursor: pointer;
  background: transparent;
  transition: all 0.15s;
}
.hitl-share-btn:hover { border-color: var(--ink); color: var(--ink); }
.hitl-share-btn--li { background: var(--red); color: white; border-color: var(--red); }
.hitl-share-btn--li:hover { background: var(--ink); border-color: var(--ink); }
.hitl-share-btn--x { background: #000; color: white; border-color: #000; }
.hitl-share-btn--x:hover { background: #333; border-color: #333; }
.hitl-share-btn--fb { background: #1877F2; color: white; border-color: #1877F2; }
.hitl-share-btn--fb:hover { background: #0d65d9; border-color: #0d65d9; }

/* ─────────────────────────────────────────
   SINGLE POST — HERO IMAGE
───────────────────────────────────────── */
.hitl-post-hero {
  width: 100%;
  max-height: 580px;
  overflow: hidden;
  margin: 36px 0;
}
.hitl-post-hero img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(0.9);
}

/* ─────────────────────────────────────────
   ARTICLE BODY
───────────────────────────────────────── */
.hitl-article-body {
  max-width: var(--body-w);
  margin: 0 auto;
  padding: 0 var(--pad) 72px;
}
.hitl-article-body p {
  margin-bottom: 28px;
  font-size: 20px;
  line-height: 1.82;
  color: var(--ink-soft);
}
/* Drop cap */
.hitl-article-body > p:first-of-type::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 700;
  float: left;
  line-height: 0.78;
  margin: 10px 12px 0 0;
  color: var(--red);
}
.hitl-article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 52px 0 16px;
  line-height: 1.2;
}
.hitl-article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin: 36px 0 12px;
  line-height: 1.3;
}
.hitl-article-body ul,
.hitl-article-body ol { margin: 0 0 28px 24px; list-style: initial; }
.hitl-article-body ol { list-style: decimal; }
.hitl-article-body li { font-size: 20px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 6px; }
.hitl-article-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.hitl-article-body a:hover { opacity: 0.8; }
.hitl-article-body strong { font-weight: 600; color: var(--ink); }
.hitl-article-body em { font-style: italic; }
.hitl-article-body hr { border: none; border-top: 1px solid var(--rule); margin: 52px 0; }

/* Pull quotes */
.pull-wrap { overflow: hidden; margin-bottom: 28px; }
.pull-wrap p { margin-bottom: 0; }
.hitl-article-body blockquote {
  float: right;
  clear: right;
  width: 42%;
  margin: 6px 0 24px 38px;
  padding: 20px 0 20px 24px;
  border-left: 3px solid var(--red);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
}
.hitl-article-body blockquote p {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.5;
}

/* Stat callout */
.hitl-stat {
  background: var(--ink);
  color: white;
  padding: 28px 32px;
  margin: 44px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  clear: both;
}
.hitl-stat__num {
  font-family: 'Playfair Display', serif;
  font-size: 58px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.03em;
}
.hitl-stat__label {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  font-family: 'Lora', serif;
}

/* Key takeaway */
.hitl-takeaway {
  background: var(--red-pale);
  border-left: 3px solid var(--red);
  padding: 22px 26px;
  margin: 44px 0;
  clear: both;
}
.hitl-takeaway__label {
  font-family: 'DM Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.hitl-takeaway p {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.65;
  font-family: 'Lora', serif;
}

/* ─────────────────────────────────────────
   ENGAGE STRIP
───────────────────────────────────────── */
.hitl-engage {
  max-width: var(--body-w);
  margin: 0 auto 36px;
  background: var(--warm);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.hitl-engage__label {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
}
.hitl-engage__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hitl-engage-btn {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid var(--rule);
  color: var(--ink-muted);
  cursor: pointer;
  background: transparent;
  transition: all 0.15s;
}
.hitl-engage-btn:hover { border-color: var(--ink); color: var(--ink); }
.hitl-engage-btn--primary { background: var(--red); color: white; border-color: var(--red); }
.hitl-engage-btn--primary:hover { background: var(--ink); border-color: var(--ink); }
.hitl-engage-btn--x { background: #000; color: white; border-color: #000; }
.hitl-engage-btn--fb { background: #1877F2; color: white; border-color: #1877F2; }

/* ─────────────────────────────────────────
   INLINE NEWSLETTER (single post)
───────────────────────────────────────── */
.hitl-nl-inline {
  max-width: var(--body-w);
  margin: 0 auto 48px;
  background: var(--red);
  padding: 40px 40px;
  color: white;
}
.hitl-nl-inline__title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.hitl-nl-inline__title em { font-style: italic; opacity: 0.65; }
.hitl-nl-inline__copy {
  font-family: 'Lora', serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  line-height: 1.6;
}
.hitl-nl-inline__form { display: flex; gap: 8px; }
.hitl-nl-inline__input {
  flex: 1;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  padding: 12px 16px;
  font-family: 'Lora', serif;
  font-size: 15px;
  outline: none;
}
.hitl-nl-inline__input::placeholder { color: rgba(255,255,255,0.38); }
.hitl-nl-inline__input:focus { border-color: rgba(255,255,255,0.65); }
.hitl-nl-inline__btn {
  background: white;
  color: var(--red);
  border: none;
  padding: 12px 22px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
}
.hitl-nl-inline__btn:hover { background: var(--ink); color: white; }

/* ─────────────────────────────────────────
   COMMENTS
───────────────────────────────────────── */
.hitl-comments {
  max-width: var(--body-w);
  margin: 0 auto;
  padding: 40px var(--pad);
}
.hitl-comments__title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--ink);
}
.comment-list { list-style: none; margin: 0 0 40px; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.comment-list .comment:last-child { border-bottom: none; }
.comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.comment-author .fn { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink); }
.comment-metadata { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--ink-muted); margin-bottom: 8px; }
.comment-body p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 8px; font-family: 'Lora', serif; }
.reply a { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); text-decoration: none; }
.comment-respond .comment-reply-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.comment-form label { display: block; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea { width: 100%; border: 1px solid var(--rule); background: white; padding: 12px 14px; font-family: 'Lora', serif; font-size: 16px; color: var(--ink); outline: none; transition: border-color 0.15s; margin-bottom: 16px; display: block; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--red); }
.comment-form textarea { resize: vertical; min-height: 120px; }
.comment-form input[type="submit"] { background: var(--red); color: white; border: none; padding: 12px 28px; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: background 0.15s; }
.comment-form input[type="submit"]:hover { background: var(--ink); }

/* ─────────────────────────────────────────
   POST NAV (prev/next)
───────────────────────────────────────── */
.hitl-post-nav {
  border-top: 1.5px solid var(--ink);
}
.hitl-post-nav .hitl-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-left: 0;
  padding-right: 0;
}
.hitl-post-nav__item {
  padding: 28px var(--pad);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}
.hitl-post-nav__item:first-child { border-right: 1px solid var(--rule); }
.hitl-post-nav__item:last-child { text-align: right; }
.hitl-post-nav__item:hover { opacity: 0.65; }
.hitl-post-nav__dir { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.hitl-post-nav__title { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.hitl-footer { background: var(--ink); padding: 52px 0 24px; }
.hitl-footer .hitl-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.hitl-footer__name { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: white; margin-bottom: 6px; letter-spacing: -0.02em; }
.hitl-footer__name em { font-style: italic; color: var(--red-light); }
.hitl-footer__tag { font-family: 'DM Mono', monospace; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.2); margin-bottom: 14px; }
.hitl-footer__copy { font-family: 'Lora', serif; font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.65; }
.hitl-footer__col-title { font-family: 'DM Mono', monospace; font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.22); margin-bottom: 14px; }
.hitl-footer__links { display: flex; flex-direction: column; gap: 9px; }
.hitl-footer__links a { font-family: 'Lora', serif; font-size: 14px; color: rgba(255,255,255,0.42); transition: color 0.15s; }
.hitl-footer__links a:hover { color: var(--red-light); }
.hitl-footer__bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; display: flex; justify-content: space-between; }
.hitl-footer__bottom span { font-family: 'DM Mono', monospace; font-size: 10px; color: rgba(255,255,255,0.18); letter-spacing: 0.06em; }

/* ─────────────────────────────────────────
   PAGINATION
───────────────────────────────────────── */
.hitl-pagination { padding: 32px 0; display: flex; justify-content: center; gap: 6px; }
.hitl-pagination .page-numbers { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.1em; padding: 8px 16px; border: 1px solid var(--rule); color: var(--ink-soft); text-decoration: none; transition: all 0.15s; }
.hitl-pagination .page-numbers:hover, .hitl-pagination .page-numbers.current { background: var(--ink); color: white; border-color: var(--ink); }

/* ─────────────────────────────────────────
   WP HELPERS
───────────────────────────────────────── */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.wp-caption-text { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--ink-muted); text-align: center; margin-top: 6px; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.skip-link { background: var(--red); color: white; font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 16px; position: absolute; left: -9999px; top: 6px; text-decoration: none; z-index: 999; }
.skip-link:focus { left: 6px; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1000px) {
  .hitl-masthead .hitl-wrap { grid-template-columns: 1fr; text-align: center; }
  .hitl-masthead__left, .hitl-masthead__right { align-items: center; }
  .hitl-featured .hitl-wrap { grid-template-columns: 1fr; }
  .hitl-featured__text { padding: 36px 0 28px; border-right: none; border-bottom: 1px solid var(--rule); }
  .hitl-featured__image { min-height: 320px; }
  .hitl-about .hitl-wrap { grid-template-columns: 1fr; text-align: center; }
  .hitl-about__links { align-items: center; }
  .hitl-newsletter .hitl-wrap { grid-template-columns: 1fr; gap: 28px; }
  .hitl-footer .hitl-wrap { grid-template-columns: 1fr; gap: 32px; }
  .hitl-post-nav .hitl-wrap { grid-template-columns: 1fr; }
  .hitl-post-nav__item:first-child { border-right: none; border-bottom: 1px solid var(--rule); }
  .hitl-post-nav__item:last-child { text-align: left; }
  .hitl-top-bar__cats { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .hitl-post-grid { grid-template-columns: 1fr; }
  .hitl-masthead__title { font-size: 32px; }
  .hitl-article-header__title { font-size: 28px; }
  .hitl-article-body blockquote { float: none; width: 100%; margin: 0 0 28px; }
  .hitl-engage { flex-direction: column; align-items: flex-start; }
  .hitl-article-meta { flex-direction: column; align-items: flex-start; }
  .hitl-nl-inline__form { flex-direction: column; }
  .hitl-masthead__mini-nav { gap: 14px; }
}

/* ── SUBSCRIBE BUTTON — forced visibility fix ── */
a.hitl-btn,
button.hitl-btn,
.hitl-masthead__mini-nav a.hitl-btn,
.hitl-masthead__right a.hitl-btn {
  background: var(--red) !important;
  color: #ffffff !important;
  font-family: 'DM Mono', monospace !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 9px 20px !important;
  display: inline-block !important;
  text-decoration: none !important;
  border: none !important;
  transition: background 0.15s !important;
  -webkit-font-smoothing: antialiased !important;
}
a.hitl-btn:hover,
button.hitl-btn:hover,
.hitl-masthead__mini-nav a.hitl-btn:hover,
.hitl-masthead__right a.hitl-btn:hover {
  background: var(--ink) !important;
  color: #ffffff !important;
}
