/* ═══════════════════════════════════════════════════════
   Coffee With Ken — Site Redesign
   Design system derived from brand guide
   ═══════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ───────────────────────────── */
:root {
  /* Signature palette */
  --yellow:        #FFE001;
  --yellow-soft:   #FFD60A;
  --yellow-deep:   #E8C800;

  /* Dark family */
  --espresso:      #0E0E0E;
  --ink:           #1A1A1A;
  --char:          #2A2A2A;

  /* Light & warm */
  --bone:          #F5F1E8;
  --cream:         #EDE7D7;
  --grain:         #FCFAF4;
  --paper:         #FAF6EB;

  /* Neutrals */
  --stone:         #7A7368;
  --stone-soft:    #A8A095;

  /* Accent */
  --coffee:        #4A2F1F;

  /* Typography */
  --display: "Archivo", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --serif:   "Fraunces", "Times New Roman", serif;
  --sans:    "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono:    "Archivo", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Rhythm */
  --gutter: clamp(20px, 5vw, 72px);
  --max-w: 1280px;

  /* Transitions */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --transition-fast: 200ms;
  --transition-reveal: 700ms;
}

/* ─── RESET / BASE ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle paper grain */

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
::selection { background: var(--yellow); color: var(--espresso); }
ul, ol { padding-left: 1.5em; }

/* ─── TYPOGRAPHY ──────────────────────────────── */
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; color: var(--espresso); }

h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 10vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

p { margin: 0 0 1.1em; max-width: 65ch; }
strong { font-weight: 600; color: var(--espresso); }

.serif-it {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 100;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

.lede {
  font-family: var(--serif);
  font-variation-settings: "opsz" 36, "SOFT" 50;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.4;
  font-weight: 360;
  color: var(--ink);
  max-width: 38ch;
}

/* ─── LAYOUT ──────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0;
  z-index: 2;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 56px);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--espresso);
  position: relative;
}
.section-head .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.cols-2 { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 800px) { .cols-2 { grid-template-columns: 1fr 1fr; } }

.cols-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 700px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } }

hr.rule { height: 1px; border: none; background: var(--espresso); opacity: 0.18; margin: 0; }

/* ─── STICKY HEADER ───────────────────────────── */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 235, 0.88);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid rgba(14,14,14,0.1);
}
.site-head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 16px;
}
.site-head .logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--espresso);
  text-decoration: none;
  flex-shrink: 0;
}
.site-head .logo .with {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 320;
  text-transform: lowercase;
  font-variation-settings: "opsz" 36, "SOFT" 100;
  letter-spacing: -0.02em;
  color: var(--stone);
}

/* Desktop nav */
.site-head nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.site-head nav a {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 8px 14px;
  transition: color var(--transition-fast) ease;
}
.site-head nav a:hover { color: var(--espresso); }
.site-head nav a.cta {
  background: var(--yellow);
  color: var(--espresso);
  font-weight: 600;
  padding: 8px 16px;
  margin-left: 8px;
}
.site-head nav a.cta:hover { background: var(--yellow-soft); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  position: relative;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--espresso);
  margin: 0 auto;
  transition: all 300ms var(--ease-out);
}
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(3px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(3px, -6px); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-head nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 85vw);
    height: 100vh;
    background: var(--espresso);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 40px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 400ms var(--ease-out);
    z-index: 105;
    overflow-y: auto;
  }
  .site-head nav.open { transform: translateX(0); }
  .site-head nav a {
    color: var(--bone);
    padding: 14px 0;
    font-size: 13px;
    letter-spacing: 0.14em;
    width: 100%;
    border-bottom: 1px solid rgba(245,241,232,0.1);
  }
  .site-head nav a:hover { color: var(--yellow); }
  .site-head nav a.cta {
    margin-left: 0;
    margin-top: 16px;
    text-align: center;
    display: block;
    width: auto;
  }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14,14,14,0.5);
    z-index: 99;
  }
  .nav-overlay.active { display: block; }
  body.nav-open { overflow: hidden; }
}

/* ─── PAGE HERO (home) ────────────────────────── */
.hero-home {
  padding: clamp(80px, 14vw, 180px) 0 clamp(60px, 10vw, 120px);
  position: relative;
  z-index: 2;
}
.hero-home h1 {
  font-size: clamp(48px, 12vw, 180px);
  margin-bottom: clamp(24px, 4vw, 48px);
}
.hero-home h1 .hero-line {
  display: block;
  overflow: hidden;
}

.hero-home h1 .with {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 320;
  font-weight: 320;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  font-size: 0.78em;
}
.hero-home h1 .yellow-bar {
  display: inline-block;
  background: var(--yellow);
  height: 0.65em;
  width: clamp(50px, 10vw, 160px);
  vertical-align: middle;
  transform: translateY(-0.08em);
}
.hero-home .hero-desc {
  font-family: var(--serif);
  font-variation-settings: "opsz" 36, "SOFT" 50;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.4;
  font-weight: 360;
  color: var(--ink);
  max-width: 36ch;
  margin-bottom: 32px;
}
.hero-home .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--espresso);
  color: var(--bone);
  padding: 14px 28px;
  transition: background var(--transition-fast) ease;
}
.hero-home .hero-cta:hover { background: var(--char); }

/* ─── INTERIOR PAGE HERO ──────────────────────── */
.page-hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px);
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-size: clamp(36px, 7vw, 80px);
  margin-bottom: 16px;
}
.page-hero .breadcrumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 24px;
}
.page-hero .breadcrumb a { color: var(--espresso); }
.page-hero .breadcrumb a:hover { color: var(--yellow-deep); }
.hero-bar {
  display: block;
  width: clamp(50px, 10vw, 120px);
  height: 5px;
  background: var(--yellow);
  margin: 20px 0 24px;
}
.listing-hero h1 {
  font-size: clamp(40px, 9vw, 100px);
}
.hero-lede {
  opacity: 0;
}

.page-hero .page-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 8px;
}

/* ─── CONTENT BLOCK / PROSE ───────────────────── */
.prose {
  max-width: 720px;
  position: relative;
  z-index: 2;
}
.prose p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 1.3em;
  max-width: 65ch;
}
.prose h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  margin-top: 2em;
  margin-bottom: 0.6em;
}
.prose h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}
.prose h4, .prose h5, .prose h6 {
  font-size: clamp(16px, 1.8vw, 20px);
  margin-top: 1.4em;
  margin-bottom: 0.4em;
}
.prose ul, .prose ol {
  margin-bottom: 1.3em;
  line-height: 1.7;
}
.prose li { margin-bottom: 0.4em; }
.prose a {
  color: var(--espresso);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  transition: text-decoration-color var(--transition-fast) ease;
}
.prose a:hover { text-decoration-color: var(--espresso); }
.prose blockquote {
  margin: 2em 0;
  padding: 0 0 0 24px;
  border-left: 3px solid var(--yellow);
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--coffee);
}
.prose img {
  width: 100%;
  height: auto;
  margin: 2em 0;
}
.prose hr {
  height: 1px;
  border: none;
  background: var(--espresso);
  opacity: 0.18;
  margin: 2.5em 0;
}

/* ─── FEATURED IMAGE ──────────────────────────── */
.featured-image {
  margin-bottom: clamp(32px, 5vw, 56px);
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.featured-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.04) saturate(1.05);
}

/* ─── CARD GRID ───────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  z-index: 2;
  position: relative;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--paper);
  border: 1px solid rgba(14,14,14,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
  overflow: hidden;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(14,14,14,0.08); }
}
.card .card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper);
}
.card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-out);
}
.card:hover .card-img img { transform: scale(1.03); }
.card .card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card .card-date {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 10px;
}
.card .card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--espresso);
  margin: 0 0 10px;
}
.card .card-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card .card-link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--espresso);
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card .card-link::after { content: "→"; }

/* Dark conversation card variant */
.card.card-dark {
  background: var(--espresso);
  border-color: transparent;
}
.card.card-dark .card-date { color: var(--stone-soft); }
.card.card-dark .card-title { color: var(--bone); }
.card.card-dark .card-excerpt { color: var(--cream); }
.card.card-dark .card-link { color: var(--yellow); }
.card.card-dark .card-body {
  border-top: 3px solid var(--yellow);
}

/* ─── TAG / PILL ──────────────────────────────── */
.tag-pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 12px;
  border: 1.5px solid var(--espresso);
  color: var(--espresso);
  transition: all var(--transition-fast) ease;
}
.tag-pill:hover { background: var(--yellow); border-color: var(--yellow); }
.tag-pill.active { background: var(--yellow); border-color: var(--yellow); }

/* ─── SUBSCRIBE / NEWSLETTER CTA ──────────────── */
.subscribe-section {
  background: var(--espresso);
  padding: clamp(60px, 10vw, 120px) 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.subscribe-section h2 { color: var(--bone); margin-bottom: 16px; }
.subscribe-section .subscribe-desc {
  font-family: var(--serif);
  font-variation-settings: "opsz" 24, "SOFT" 50;
  font-size: 18px;
  line-height: 1.5;
  color: var(--cream);
  max-width: 38ch;
  margin-bottom: 32px;
}
.subscribe-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  position: relative;
  z-index: 2;
}
.subscribe-form input[type="email"] {
  flex: 1;
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 18px;
  border: 2px solid rgba(245,241,232,0.2);
  background: transparent;
  color: var(--bone);
  outline: none;
  transition: border-color var(--transition-fast) ease;
}
.subscribe-form input[type="email"]::placeholder { color: var(--stone); }
.subscribe-form input[type="email"]:focus { border-color: var(--yellow); }
.subscribe-form button {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--espresso);
  padding: 14px 24px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast) ease;
  white-space: nowrap;
}
.subscribe-form button:hover { background: var(--yellow-soft); }

/* ─── FORM STYLES ─────────────────────────────── */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 18px;
  border: 2px solid rgba(14,14,14,0.15);
  background: var(--paper);
  color: var(--espresso);
  outline: none;
  transition: border-color var(--transition-fast) ease;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--yellow); }
.form-group textarea { resize: vertical; min-height: 120px; }

.btn-primary {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--espresso);
  color: var(--bone);
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast) ease;
}
.btn-primary:hover { background: var(--char); }

/* ─── FOOTER ──────────────────────────────────── */
.site-foot {
  background: var(--espresso);
  color: var(--bone);
  padding: clamp(60px, 10vw, 120px) 0 clamp(32px, 5vw, 48px);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.foot-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}
.foot-brand {
  font-family: var(--display);
  font-size: clamp(36px, 7vw, 80px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--bone);
}
.foot-brand .it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 320;
  text-transform: lowercase;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--yellow);
}
.foot-tagline {
  font-family: var(--serif);
  font-variation-settings: "opsz" 24, "SOFT" 50;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 380;
  line-height: 1.4;
  color: var(--cream);
  max-width: 38ch;
  margin-bottom: 48px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  border-top: 1px solid rgba(245,241,232,0.18);
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.55);
}
@media (min-width: 700px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }
.foot-grid b {
  color: var(--yellow);
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
}
.foot-grid a {
  color: var(--bone);
  display: block;
  margin-bottom: 6px;
  transition: color var(--transition-fast) ease;
}
.foot-grid a:hover { color: var(--yellow); }

.foot-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(245,241,232,0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.4);
}
.foot-bottom a { color: rgba(245,241,232,0.4); }
.foot-bottom a:hover { color: var(--yellow); }

/* Social links row */
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.social-links a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  transition: color var(--transition-fast) ease;
}
.social-links a:hover { color: var(--yellow); }

/* ─── PULL QUOTE / CALLOUT ────────────────────── */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 96, "SOFT" 50;
  font-weight: 320;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--espresso);
  max-width: 18ch;
  padding: clamp(60px, 10vw, 100px) 0;
  position: relative;
  z-index: 2;
}
.pull-quote .qm { color: var(--yellow-deep); }
.pull-quote .hl {
  background: linear-gradient(180deg, transparent 60%, var(--yellow) 60%);
  padding: 0 0.05em;
}

/* ─── BACK LINK ───────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 24px;
  transition: color var(--transition-fast) ease;
}
.back-link::before { content: "←"; }
.back-link:hover { color: var(--espresso); }

/* ─── VIDEO EMBED ─────────────────────────────── */
.video-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--espresso);
  padding: 12px 24px;
  margin-top: 16px;
  margin-bottom: 24px;
  transition: background var(--transition-fast) ease;
}
.video-link:hover { background: var(--yellow-soft); }

/* ─── POST NAV ────────────────────────────────── */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(14,14,14,0.18);
  margin-top: 48px;
}
.post-nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color var(--transition-fast) ease;
}
.post-nav a:hover { color: var(--espresso); }

/* ─── LOAD MORE ───────────────────────────────── */
.load-more-wrap {
  text-align: center;
  margin-top: 48px;
  position: relative;
  z-index: 2;
}
.load-more-btn {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--espresso);
  color: var(--bone);
  padding: 14px 36px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast) ease;
}
.load-more-btn:hover { background: var(--char); }

/* ─── REVEAL ANIMATIONS ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--transition-reveal) var(--ease-out),
              transform var(--transition-reveal) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  .card-grid { grid-template-columns: 1fr; }
  .cols-2 { grid-template-columns: 1fr; }
  .cols-3 { grid-template-columns: 1fr; }
  .post-nav { flex-direction: column; }
}

@media (max-width: 480px) {
  .subscribe-form { flex-direction: column; }
  .subscribe-form button { width: 100%; }
}

/* ─── PINNED PULL-QUOTE SECTION ────────────────── */
.pin-quote-section {
  position: relative;
  z-index: 2;
  height: 200vh;
}
.pin-quote-inner {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--espresso);
  overflow: hidden;
  position: relative;
}
/* Mobile: no pinning, just a normal section */
@media (max-width: 768px) {
  .pin-quote-section {
    height: auto;
  }
  .pin-quote-inner {
    height: auto;
    padding: clamp(80px, 14vw, 140px) 0;
  }
  .pq-word {
    opacity: 1 !important;
  }
  .pin-quote-meta {
    opacity: 1 !important;
  }
}
.pin-quote-text {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 50, "wght" 320;
  font-size: clamp(36px, 7vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--bone);
  max-width: 14ch;
  margin: 0;
  position: relative;
  z-index: 1;
}
.pq-word {
  display: inline-block;
  opacity: 0.15;
  transition: opacity 0.01s;
}
.pq-word .qm { color: var(--yellow-deep); }
.pq-hl {
  background: linear-gradient(180deg, transparent 55%, var(--yellow) 55%);
  padding: 0 0.06em;
}
.pin-quote-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
  opacity: 0;
}
.pin-quote-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--yellow);
}
.pin-quote-meta .eyebrow { color: var(--stone-soft); }

/* ─── STATS SECTION ───────────────────────────── */
.stats-section {
  position: relative;
  z-index: 2;
  background: var(--yellow);
  padding: clamp(80px, 12vw, 160px) 0;
  overflow: hidden;
}
.pin-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}
@media (min-width: 700px) { .pin-stats-grid { grid-template-columns: repeat(3, 1fr); } }

.pin-stat { text-align: center; }
.pin-stat-num {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(64px, 12vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--espresso);
}
.pin-stat-label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-top: 12px;
  opacity: 0.7;
}
.pin-stat-sub {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 100;
  font-size: 15px;
  color: var(--coffee);
  margin-top: 6px;
}

.pin-stats-tagline {
  font-family: var(--serif);
  font-variation-settings: "opsz" 36, "SOFT" 50;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.4;
  font-weight: 360;
  color: var(--espresso);
  text-align: center;
  max-width: 42ch;
  margin: 56px auto 0;
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

/* ─── PRINT ───────────────────────────────────── */
@media print {
  .site-head, .site-foot, .subscribe-section, .nav-toggle, .nav-overlay { display: none; }
  
  .reveal { opacity: 1; transform: none; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a { text-decoration: underline; }
  .prose { max-width: 100%; }
}

/* ─── REDUCED MOTION ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ─── ABOUT PAGE TWO-COL ──────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  position: relative;
  z-index: 2;
}
@media (min-width: 800px) {
  .about-layout { grid-template-columns: 1fr 1.2fr; align-items: start; }
}
.about-photo {
  position: relative;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.04) saturate(1.05);
}

/* ─── LISTING HEADER ──────────────────────────── */
.listing-desc {
  font-family: var(--serif);
  font-variation-settings: "opsz" 24, "SOFT" 50;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 380;
  color: var(--ink);
  max-width: 50ch;
  margin-bottom: clamp(32px, 5vw, 56px);
}

/* ─── CONTENT WITH SIDEBAR LAYOUT ─────────────── */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  position: relative;
  z-index: 2;
}
@media (min-width: 900px) {
  .content-with-sidebar {
    grid-template-columns: 200px 1fr;
    gap: 48px;
  }
}
@media (min-width: 1100px) {
  .content-with-sidebar {
    grid-template-columns: 220px 1fr;
    gap: 64px;
  }
}
.content-main { min-width: 0; }

/* ─── STICKY SIDEBAR ──────────────────────────── */
.content-sidebar {
  display: none;
}
@media (min-width: 900px) {
  .content-sidebar {
    display: block;
  }
}
.sidebar-inner {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-bottom: 40px;
}
.sidebar-title {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--espresso);
}
.sidebar-link {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.35;
  color: var(--stone);
  padding: 8px 0;
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -12px;
  transition: color var(--transition-fast) ease, border-color var(--transition-fast) ease;
}
.sidebar-link:hover {
  color: var(--espresso);
}
.sidebar-link.active {
  color: var(--espresso);
  font-weight: 600;
  border-left-color: var(--yellow);
}
.sidebar-link--sub {
  font-size: 12px;
  padding-left: 24px;
  margin-left: -12px;
}

/* Guest info for conversation pages */
.guest-info {
  font-family: var(--serif);
  font-variation-settings: "opsz" 24, "SOFT" 50;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 380;
  color: var(--ink);
  margin-bottom: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(14,14,14,0.15);
}
.guest-info strong {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
