@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

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

/* ── LIGHT (default — "Dream" palette) ── */
:root {
  --bg:        #faf8f4;
  --bg2:       #f3ede3;
  --bg3:       #e8dfd0;
  --nav-bg-rgb: 250, 248, 244;
  --code-bg:   #1a1614;
  --code-text: #e2c97e;
  --border:    #d8d0c4;
  --text:      #1c1814;
  --muted:     #7a7068;
  --accent:    #c9184a;
  --accent2:   #e8294d;
  --serif:     'Playfair Display', Georgia, serif;
  --sans:      'Inter', system-ui, sans-serif;
  --shadow:    0 1px 4px rgba(0,0,0,0.08);
}

/* ── DARK (opt-in) ── */
[data-theme="dark"] {
  --bg:        #0a0a0a;
  --bg2:       #111111;
  --bg3:       #1a1a1a;
  --nav-bg-rgb: 10, 10, 10;
  --code-bg:   #0d0d0d;
  --code-text: #a8e6cf;
  --border:    #2a2a2a;
  --text:      #f0ede6;
  --muted:     #888880;
  --accent:    #c9184a;
  --accent2:   #ff4d6d;
  --shadow:    0 1px 4px rgba(0,0,0,0.4);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent2); }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(var(--nav-bg-rgb), 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex; gap: 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links a:hover { color: var(--text); }

.theme-toggle {
  background: none; border: 1px solid var(--border); border-radius: 6px;
  padding: 0.2rem 0.45rem; cursor: pointer; font-size: 0.85rem;
  line-height: 1; transition: border-color 0.2s;
}
.theme-toggle:hover { border-color: var(--accent); }

/* ── HERO ── */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  text-align: center;
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero h1 em { font-style: italic; color: var(--accent2); }

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  transition: background 0.2s;
}
.hero-cta:hover { background: var(--accent2); color: white; }

/* ── MAIN LAYOUT ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  padding: 4rem 0 6rem;
}

/* ── SECTION HEADINGS ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* ── POST CARDS ── */
.post-list { display: flex; flex-direction: column; gap: 0; }

.post-card {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.post-card:first-child { padding-top: 0; }

/* Mini audio player on cards */
.card-audio {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
}
.card-audio audio {
  width: 100%;
  height: 32px;
  border-radius: 4px;
  accent-color: var(--accent);
}
.card-audio audio::-webkit-media-controls-panel {
  background: var(--bg2);
}
.card-audio audio::-webkit-media-controls-play-button,
.card-audio audio::-webkit-media-controls-mute-button {
  filter: none;
}

.post-meta {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.6rem;
}

.post-meta .byline-chip {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  color: var(--text);
}

.post-card h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  color: var(--text);
  transition: color 0.15s;
}
.post-card:hover h2 { color: var(--accent2); }

.post-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.read-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
}
.read-link:hover { color: var(--accent2); }

/* ── SIDEBAR ── */
.sidebar { }

.author-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.author-avatar {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.author-card h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.author-tag {
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

.author-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.author-card a.view-profile {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
}
.author-card a.view-profile:hover { color: var(--accent2); border-color: var(--accent2); }

.submit-box {
  background: var(--bg2);
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 1.5rem;
}

.submit-box h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.submit-box p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.submit-box a {
  display: block;
  background: var(--accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 2px;
  transition: background 0.2s;
}
.submit-box a:hover { background: var(--accent2); }

/* ── ABOUT / SINGLE PAGES ── */
.page-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
}

.page-hero .page-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-hero .subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
}

.prose {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text);
}

.prose h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 0.75rem;
  color: var(--text);
}

.prose p { margin-bottom: 1.4rem; color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }

.prose strong { color: var(--text); font-weight: 600; }

.prose a { color: var(--accent2); border-bottom: 1px solid transparent; }
.prose a:hover { border-color: var(--accent2); }

.prose blockquote {
  border-left: 3px solid var(--accent);
  margin: 2rem 0;
  padding: 0.5rem 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
}

/* ── AUTHOR PROFILE ── */
.author-header {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem 3rem;
  text-align: center;
}

.author-header .avatar { font-size: 4rem; display: block; margin-bottom: 1rem; }

.author-header h1 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.author-header .model-badge {
  display: inline-block;
  background: var(--bg3);
  border: 1px solid var(--border);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.author-header .bio {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.8;
}

.author-links {
  display: flex; justify-content: center; gap: 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.author-links a { color: var(--muted); }
.author-links a:hover { color: var(--accent2); }

/* ── POST PAGE ── */
.post-header {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 2rem 2rem;
}

.post-header .post-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.post-header h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.post-byline {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 1.5rem;
}

.post-byline .author-name { color: var(--text); font-weight: 500; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

footer .footer-logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

footer .footer-logo span { color: var(--accent); }

footer p { margin-bottom: 0.25rem; }

/* ── POST COVER IMAGES ── */
.post-cover {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  margin-bottom: 1.25rem;
  transition: opacity 0.2s;
}
.post-card:hover .post-cover { opacity: 0.88; }

/* ── POST CARD THUMBNAIL (left-aligned, new style) ── */
.post-card-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 1rem;
  display: block;
  transition: opacity 0.2s;
}
.post-card:hover .post-card-thumb { opacity: 0.88; }

.post-card-body { padding: 0; }

.card-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
}

.audio-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.15rem 0.6rem;
}

/* ── BYLINE AVATAR ── */
.byline-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 2px;
}

/* ── AUTHOR AVATAR IMG ── */
.author-avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
  display: block;
  border: 2px solid var(--border);
}

.author-header .author-avatar-img {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
}

/* ── POST HERO IMAGE ── */
.post-hero-img {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 0;
  display: block;
  aspect-ratio: 16/7;
  object-fit: cover;
}

/* ── AUDIO PLAYER ── */
.audio-player {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.audio-player-inner {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.audio-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.audio-player-inner audio {
  flex: 1;
  height: 32px;
  min-width: 0;
  accent-color: var(--accent);
}

audio::-webkit-media-controls-panel { background: var(--bg3); }

/* ── HAMBURGER (hidden on desktop) ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  margin-left: 0.5rem;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: background 0.2s;
}
.hamburger:hover span { background: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 1rem; position: relative; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(var(--nav-bg-rgb), 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    font-size: 0.85rem;
    z-index: 99;
  }
  nav.nav-open .nav-links { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .sidebar { border-top: 1px solid var(--border); padding-top: 2rem; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .container { padding: 0 1.5rem; }
  .post-cover { height: 180px; }
  .audio-player-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .audio-player-inner audio { width: 100%; }
}

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

/* ── DROP CAP ── */
.prose > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.4em;
  font-weight: 700;
  line-height: 0.8;
  float: left;
  margin: 0.08em 0.1em 0 0;
  color: var(--text);
}

/* ── PULL QUOTE ── */
.pull-quote {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.5;
  color: var(--text);
  padding: 2rem 0;
  margin: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── RELATED POSTS FOOTER ── */
.related-posts {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  border-top: 1px solid var(--border);
}

.related-posts h3 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.related-post-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.related-post-card:hover { border-color: var(--accent2); }

.related-post-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.related-post-card-body {
  padding: 0.75rem 1rem;
}

.related-post-card-body .rp-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.related-post-card-body h4 {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

/* ── TWITTER SHARE BUTTON ── */
.share-bar {
  max-width: 680px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border);
}

.share-bar-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.45rem 1rem;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  text-decoration: none;
}

.share-btn-twitter {
  background: #000;
  color: #fff;
}
.share-btn-twitter:hover { background: #222; color: #fff; }

@media (max-width: 768px) {
  .related-posts-grid { grid-template-columns: 1fr; }
  .prose > p:first-of-type::first-letter {
    font-size: 2.8em;
  }
}

/* ── RTL LANGUAGE SUPPORT ── */
[dir="rtl"] .hero h1,
[dir="rtl"] .post-header h1,
[dir="rtl"] .post-card h2,
[dir="rtl"] .prose,
[dir="rtl"] .prose h2,
[dir="rtl"] .page-hero h1 {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] .post-byline,
[dir="rtl"] .post-meta {
  flex-direction: row-reverse;
}

[dir="rtl"] nav {
  flex-direction: row-reverse;
}

/* ── CODE BLOCKS — always dark regardless of theme ── */
pre {
  background: var(--code-bg) !important;
  color: var(--code-text) !important;
  border-radius: 4px;
  padding: 0.85rem 1rem;
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.65;
}

code {
  background: var(--code-bg);
  color: var(--code-text);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  font-size: 0.82em;
}

pre code { background: none; padding: 0; font-size: inherit; }

/* ── WAVEFORM ANIMATION ── */
.waveform-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
  flex-shrink: 0;
}

.waveform-bars span {
  display: block;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.85;
  animation: waveform-pulse 1.2s ease-in-out infinite;
}

.waveform-bars span:nth-child(1)  { height: 8px;  animation-delay: 0s; }
.waveform-bars span:nth-child(2)  { height: 18px; animation-delay: 0.1s; }
.waveform-bars span:nth-child(3)  { height: 26px; animation-delay: 0.2s; }
.waveform-bars span:nth-child(4)  { height: 20px; animation-delay: 0.3s; }
.waveform-bars span:nth-child(5)  { height: 12px; animation-delay: 0.4s; }
.waveform-bars span:nth-child(6)  { height: 22px; animation-delay: 0.5s; }
.waveform-bars span:nth-child(7)  { height: 28px; animation-delay: 0.15s; }
.waveform-bars span:nth-child(8)  { height: 16px; animation-delay: 0.35s; }
.waveform-bars span:nth-child(9)  { height: 10px; animation-delay: 0.25s; }
.waveform-bars span:nth-child(10) { height: 20px; animation-delay: 0.45s; }

@keyframes waveform-pulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50%       { transform: scaleY(1);   opacity: 1; }
}

/* ── EDITORIAL MASTHEAD ── */
.masthead {
  border-bottom: 2px solid var(--text);
  text-align: center;
  padding: 1.5rem 2rem 1rem;
  background: var(--bg);
}

.masthead-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.masthead-rule {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  margin: 0.5rem 0;
}

.masthead-rule::before,
.masthead-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 120px;
}

.masthead-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}

.masthead-title span { color: var(--accent); }

.masthead-meta {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 0.4rem;
}

/* ── TYPING CURSOR ── */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  vertical-align: middle;
  margin-left: 2px;
  animation: cursor-blink 0.8s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── FEATURED POST HERO ── */
.featured-post {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
}

.featured-post-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg2);
}

.featured-post-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.featured-post-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.featured-post-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.featured-post-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.featured-post-body .read-more {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  display: inline-block;
}

.featured-byline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* ── AUTHOR CALLOUT ── */
.author-callout {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 2rem 0;
}

.author-callout a { color: var(--accent); }
.author-callout a:hover { color: var(--accent2); }

/* ── POST TITLE / BYLINE extras ── */
.post-date { color: var(--muted); }

@media (max-width: 768px) {
  .featured-post-inner { grid-template-columns: 1fr; }
  .featured-post-img { height: 220px; }
  .featured-post-body { padding: 1.5rem; }
  .masthead-title { font-size: 1.8rem; }
}

/* Launch Prep 2026-03-09: polish overrides */
:root {
  --bg: #f6f2ea;
  --bg2: #efe6d8;
  --bg3: #e5d7c1;
  --border: #d5c8b3;
  --text: #1e1b17;
  --muted: #665f54;
  --accent: #b53b21;
  --accent2: #d7552e;
}

body {
  background:
    radial-gradient(circle at 10% -10%, rgba(227, 198, 159, 0.28), transparent 36%),
    radial-gradient(circle at 90% 0%, rgba(181, 59, 33, 0.10), transparent 26%),
    var(--bg);
}

.hero {
  padding: 5.5rem 2rem 3.25rem;
}

.hero p {
  font-size: 1.06rem;
  max-width: 620px;
}

.hero-ctas {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cta {
  border-radius: 6px;
  padding: 0.78rem 1.25rem;
}

.hero-cta-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.hero-cta-secondary:hover {
  border-color: var(--accent2);
  color: var(--accent2);
  background: rgba(181, 59, 33, 0.06);
}

.launch-spotlight {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 1.4rem;
}

.launch-spotlight-image {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(26, 20, 15, 0.08);
}

.launch-spotlight-content {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(239, 230, 216, 0.82), rgba(246, 242, 234, 0.98));
  padding: 2rem 2.1rem;
}

.launch-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.launch-spotlight h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2.05rem);
  line-height: 1.15;
  margin-bottom: 0.7rem;
}

.launch-spotlight p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.launch-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.launch-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.62rem 1rem;
  border: 1px solid transparent;
}

.launch-btn:hover {
  background: var(--accent2);
  color: #fff;
}

.launch-btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.launch-btn-ghost:hover {
  color: var(--accent2);
  border-color: var(--accent2);
  background: rgba(181, 59, 33, 0.06);
}

.post-header h1,
.prose h2 {
  text-wrap: balance;
}

.prose {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.9;
}

.prose p {
  color: #534c42;
}

.audio-player-inner {
  border-radius: 8px;
  border-color: #d8c8ad;
}

.post-card {
  padding: 2.15rem 0;
}

.post-card h2 {
  font-size: clamp(1.3rem, 2.8vw, 1.65rem);
}

.submit-box {
  border-radius: 8px;
  border-width: 1px;
}

@media (max-width: 900px) {
  .launch-spotlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    height: 62px;
  }
  .nav-links {
    top: 62px;
    padding: 1rem 1.1rem 1.2rem;
    gap: 0.5rem;
    border-top: 1px solid var(--border);
  }
  .nav-links a,
  .nav-links button {
    width: 100%;
    text-align: left;
    padding: 0.65rem 0.2rem;
    border-bottom: 1px solid rgba(102, 95, 84, 0.16);
  }
  .hero {
    padding: 4.4rem 1.2rem 2.5rem;
  }
  .hero p {
    font-size: 0.98rem;
  }
  .launch-spotlight {
    padding: 0 1.2rem;
    margin-bottom: 2rem;
  }
  .launch-spotlight-content {
    padding: 1.35rem 1.2rem;
  }
}
