/* ============================================================
   journal.css — shared styles for Podcast + Blog (Journal section)
   Inherits the conference's walnut/gilt/paper token vocabulary.
   ============================================================ */

:root {
  --void:       #F4ECDA;
  --night:      #EFE5CF;
  --night-2:    #E8DEC4;
  --copper:     #F0E1C0;
  --bohemia:    #C8A961;
  --bohemia-2:  #E5D5AE;
  --gilt:       #B68A3E;
  --rule:       rgba(40,28,12,0.10);
  --rule-2:     rgba(40,28,12,0.22);
  --ink:        #1A1208;
  --paper-warm: #2A1B0A;
  --muted:      rgba(26,18,8,0.62);
  --muted-2:    rgba(26,18,8,0.42);
  --muted-3:    rgba(26,18,8,0.30);
  --filament:   #B68A3E;
  --filament-d: #8A6620;
  --verdigris:  #4A6B5F;
  --coral-op:   #C0533A;       /* operational/live — borrowed from filament family, warmer */
}

/* === Journal-specific cream footer override (replaces site footer.css dark walnut for journal pages) === */
body footer {
  background: var(--void) !important;
  color: var(--ink) !important;
  border-top: 1px solid var(--rule-2);
}
body footer .h,
body footer .foot-community-h { color: var(--ink) !important; }
body footer .foot-brand .h .roman { color: var(--ink) !important; }
body footer .foot-brand p,
body footer .foot-community-sub,
body footer .foot-socials-label { color: var(--muted) !important; }
body footer .foot-col h5 { color: var(--filament-d) !important; }
body footer .foot-col a { color: var(--muted) !important; }
body footer .foot-col a:hover { color: var(--ink) !important; }
body footer .foot-community-stamp { color: var(--filament-d) !important; }
body footer .foot-community-stamp::before,
body footer .foot-community-stamp::after { background: var(--filament-d) !important; }
body footer .foot-community-h em { color: var(--filament-d) !important; }
body footer .foot-community-cta {
  border-color: var(--filament-d) !important;
  color: var(--filament-d) !important;
  background: rgba(229,199,122,0.06) !important;
}
body footer .foot-community-cta:hover {
  background: var(--filament-d) !important;
  color: var(--void) !important;
}
body footer .foot-flourish .rule {
  background: linear-gradient(90deg, transparent, var(--filament-d), transparent) !important;
  opacity: 0.5;
}
body footer .foot-flourish .mark { color: var(--filament-d) !important; }
body footer .foot-bot { color: var(--muted-2) !important; }
body footer .foot-brand .btn {
  border-color: var(--filament-d) !important;
  color: var(--filament-d) !important;
}
body footer .foot-brand .btn:hover {
  background: var(--filament-d) !important;
  color: var(--void) !important;
}
body footer .foot-social {
  color: var(--muted) !important;
  border-color: var(--rule-2) !important;
}
body footer .foot-social:hover {
  border-color: var(--filament-d) !important;
  color: var(--filament-d) !important;
}

/* === Podcast block — cream override for journal pages === */
body footer .foot-podcast-h { color: var(--ink) !important; }
body footer .foot-podcast-h em { color: var(--filament-d) !important; }
body footer .foot-podcast-stamp { color: var(--filament-d) !important; }
body footer .foot-podcast-sub { color: var(--muted) !important; }
body footer .foot-podcast-sub em { color: var(--filament-d) !important; }
body footer .foot-podcast-chip {
  background: rgba(229,199,122,0.06) !important;
  border-color: var(--rule-2) !important;
  color: var(--ink) !important;
}
body footer .foot-podcast-chip:hover {
  background: rgba(229,199,122,0.16) !important;
  border-color: var(--filament-d) !important;
  color: var(--ink) !important;
}
body footer .fpc-glyph { color: var(--filament-d) !important; }
body footer .fpc-aux { color: var(--muted-2) !important; }

/* === Metallic glint on cards (gilt sheen sweeping on hover) === */
.j-card .art,
.j-format-card .art { position: relative; overflow: hidden; }

/* Plate sheen + brass corner pips — lives on ::before so it survives inline `background:` overrides on .art */
.j-card .art::before,
.j-format-card .art::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 11px 11px, rgba(245,222,160,0.95) 0 1.6px, rgba(160,124,57,0.55) 1.7px 3px, transparent 3.2px),
    radial-gradient(circle at calc(100% - 11px) 11px, rgba(245,222,160,0.95) 0 1.6px, rgba(160,124,57,0.55) 1.7px 3px, transparent 3.2px),
    radial-gradient(circle at 11px calc(100% - 11px), rgba(245,222,160,0.95) 0 1.6px, rgba(160,124,57,0.55) 1.7px 3px, transparent 3.2px),
    radial-gradient(circle at calc(100% - 11px) calc(100% - 11px), rgba(245,222,160,0.95) 0 1.6px, rgba(160,124,57,0.55) 1.7px 3px, transparent 3.2px),
    radial-gradient(80% 60% at 20% 15%, rgba(229,199,122,0.14), transparent 60%);
  box-shadow:
    inset 0 1px 0 rgba(245,222,160,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.45),
    inset 0 0 0 2px rgba(0,0,0,0.12);
  z-index: 1;
}
/* keep text/glyphs above the pip layer */
.j-card .art > *,
.j-format-card .art > * { position: relative; z-index: 2; }

/* Hover: pips brighten + inner highlight intensifies. No movement. */
.j-card:hover .art::before,
.j-format-card:hover .art::before {
  background:
    radial-gradient(circle at 11px 11px, rgba(255,243,205,1) 0 1.8px, rgba(200,160,80,0.7) 1.9px 3.4px, transparent 3.6px),
    radial-gradient(circle at calc(100% - 11px) 11px, rgba(255,243,205,1) 0 1.8px, rgba(200,160,80,0.7) 1.9px 3.4px, transparent 3.6px),
    radial-gradient(circle at 11px calc(100% - 11px), rgba(255,243,205,1) 0 1.8px, rgba(200,160,80,0.7) 1.9px 3.4px, transparent 3.6px),
    radial-gradient(circle at calc(100% - 11px) calc(100% - 11px), rgba(255,243,205,1) 0 1.8px, rgba(200,160,80,0.7) 1.9px 3.4px, transparent 3.6px),
    radial-gradient(80% 60% at 20% 15%, rgba(245,222,160,0.28), transparent 60%);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--void); color: var(--ink);
  font-family: 'Inter Tight', system-ui, sans-serif; font-weight: 300; line-height: 1.55; }
a { color: inherit; }

/* === Topnav === Canonical styles live in topnav.css; nothing to override here. */

/* === Page wrap === */
.j-wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* === Eyebrow === */
.j-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; gap: 14px; align-items: baseline; }
.j-eyebrow .pip { width: 4px; height: 4px; border-radius: 50%; background: var(--filament);
  display: inline-block; align-self: center; }

/* === Display headline === */
.j-headline { font-family: 'Newsreader', Georgia, serif; font-weight: 200;
  font-size: clamp(48px, 7vw, 88px); line-height: 0.98; letter-spacing: -0.02em;
  margin: 24px 0 28px; max-width: 16ch; text-wrap: balance; }
.j-headline em { font-style: italic; font-weight: 300; /* gold-sheen.css applies metallic fill */ }

/* Standfirst — darker for readability */
.j-standfirst { color: var(--ink); font-weight: 400; }
.j-standfirst strong { font-weight: 600; color: var(--ink); }

/* Editorial cadence list */
.j-cadence {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
  max-width: 1100px;
}
.j-cadence li {
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; gap: 8px;
  border-right: 1px solid var(--rule);
}
.j-cadence li:last-child { border-right: 0; }
.j-cad-when {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--filament-d); font-weight: 700;
}
.j-cad-what {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 16px; line-height: 1.45; color: var(--ink); font-weight: 400;
}
@media (max-width: 800px) {
  .j-cadence { grid-template-columns: 1fr 1fr; }
  .j-cadence li { border-right: 0; border-bottom: 1px solid var(--rule); }
  .j-cadence li:nth-child(odd) { border-right: 1px solid var(--rule); }
  .j-cadence li:nth-last-child(-n+2) { border-bottom: 0; }
}
.j-standfirst { font-family: 'Newsreader', Georgia, serif; font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; max-width: 64ch;
  color: var(--ink) !important; }
.j-standfirst em { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 400; color: var(--filament-d); }
.j-standfirst strong { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 400; color: var(--filament-d); }

/* === Hero band === */
.j-hero { padding: 100px 0 80px; border-bottom: 1px solid var(--rule); }

/* Pin the JS-injected curl ribbon (animations.js initFilamentCurl) BELOW the
   headline — start at H1's bottom edge and extend down, clear of the text. */
.j-hero h1.j-headline > svg[viewBox="0 0 800 200"] {
  top: 100% !important;
  bottom: auto !important;
  height: 120px !important;
  left: 0 !important;
  right: auto !important;
  width: min(480px, 65%) !important;
}
.j-hero .j-standfirst { margin-top: 132px !important; }

/* === Type badge === */
.j-badge { display: inline-block; font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase;
  padding: 5px 10px; border: 1px solid currentColor; }
.j-badge.preview     { color: var(--filament-d); }
.j-badge.dispatch    { color: var(--coral-op); }
.j-badge.interview   { color: var(--verdigris); }
.j-badge.post        { color: var(--muted); }
.j-badge.standard    { color: var(--verdigris); }
.j-badge.announcement { color: var(--filament-d); }
.j-badge.recap        { color: var(--verdigris); }

/* === Subscribe bar === */
.j-subscribe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-top: 24px; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.j-subscribe .lbl { font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-right: 10px; }
.j-subscribe a { font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; padding: 8px 12px;
  border: 1px solid var(--rule-2); color: var(--ink); text-decoration: none; }
.j-subscribe a:hover { border-color: var(--filament-d); color: var(--filament-d); }

/* === Episode card grid === */
.j-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  padding: 60px 0 100px; }
@media (max-width: 980px) { .j-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .j-grid { grid-template-columns: 1fr; } }

.j-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.j-card .art { aspect-ratio: 1/1; background:
  radial-gradient(60% 40% at 22% 14%, rgba(245,222,160,0.22), transparent 55%),
  radial-gradient(120% 120% at 30% 20%, rgba(229,199,122,0.3), transparent 60%),
  linear-gradient(160deg, #2A1B0A 0%, #1F1408 100%);
  display: grid; place-items: center; position: relative; overflow: hidden;
  border: 1px solid rgba(229,199,122,0.42);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.j-card .art .num { font-family: 'JetBrains Mono', monospace; font-size: 13px;
  letter-spacing: 0.28em; color: rgba(229,199,122,0.85); }
.j-card .art .glyph { position: absolute; bottom: 16px; right: 18px;
  font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 300;
  font-size: 28px; color: rgba(229,199,122,0.5); }
.j-card .meta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.j-card .meta-row .num { font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.22em; color: var(--muted); }
.j-card h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 300;
  font-size: 22px; line-height: 1.18; margin: 0; letter-spacing: -0.01em; }
.j-card h3 em { font-style: italic; color: var(--filament-d); }
.j-card .who { font-family: 'Inter Tight', sans-serif; font-size: 13px;
  color: var(--ink); opacity: 0.78; margin: 0; }
.j-card .who b { font-weight: 500; }
.j-card .desc { font-family: 'Newsreader', Georgia, serif; font-style: italic;
  font-weight: 300; font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }
.j-card .foot { display: flex; gap: 14px; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.22em; color: var(--muted); margin-top: auto; padding-top: 8px;
  border-top: 1px solid rgba(229,199,122,0.32); }
.j-card h3 .arr { display: inline-block; margin-left: 6px; opacity: 0;
  transform: translate(-4px,4px); transition: opacity 220ms ease, transform 220ms ease;
  color: var(--filament-d); font-style: normal; font-size: 0.7em; vertical-align: 0.15em; }
.j-card:hover .art {
  border-color: rgba(245,222,160,0.85);
  box-shadow:
    inset 0 1px 0 rgba(245,222,160,0.32),
    inset 0 -1px 0 rgba(0,0,0,0.45),
    inset 0 0 0 2px rgba(0,0,0,0.10),
    0 0 0 1px rgba(229,199,122,0.25);
}
.j-card:hover h3 { color: var(--filament-d); }
.j-card:hover h3 .arr { opacity: 1; transform: translate(0,0); }

/* === Format cards (umbrella journal page — Podcast / Video / Blog) === */
.j-formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  padding: 40px 0 80px; }
@media (max-width: 1080px) { .j-formats { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; } }
.j-format-card { display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: var(--ink);
  padding: 28px; border: 1px solid var(--rule-2); background: rgba(229,199,122,0.04);
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease; }
.j-format-card:hover { border-color: var(--filament); background: rgba(229,199,122,0.07); transform: translateY(-2px); }
.j-format-stamp { display: flex; align-items: center; gap: 12px; padding-bottom: 16px;
  border-bottom: 1px solid var(--rule); }
.j-format-stamp .j-format-mark {
  width: 32px; height: 32px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--filament-d); color: var(--filament-d);
  font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 400;
  font-size: 18px;
}
.j-format-stamp .j-format-label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink); font-weight: 600;
  flex: 1;
}
.j-format-stamp .j-format-meta {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.j-format-card .art { aspect-ratio: 16/10; background:
  radial-gradient(60% 40% at 22% 14%, rgba(245,222,160,0.22), transparent 55%),
  radial-gradient(120% 120% at 30% 20%, rgba(229,199,122,0.30), transparent 60%),
  linear-gradient(160deg, #2A1B0A 0%, #1F1408 100%);
  display: grid; place-items: center; position: relative; overflow: hidden;
  border: 1px solid rgba(229,199,122,0.42);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.j-format-card:hover .art {
  border-color: rgba(245,222,160,0.85);
  box-shadow:
    inset 0 1px 0 rgba(245,222,160,0.32),
    inset 0 -1px 0 rgba(0,0,0,0.45),
    inset 0 0 0 2px rgba(0,0,0,0.10),
    0 0 0 1px rgba(229,199,122,0.25);
}
.j-format-card .art .num { font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.28em; color: rgba(229,199,122,0.85); text-align: center; padding: 0 16px; }
.j-format-card .art .glyph { position: absolute; bottom: 14px; right: 18px;
  font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 300;
  font-size: 32px; color: rgba(229,199,122,0.55); }
.j-format-card h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 300;
  font-size: 24px; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
.j-format-card h3 em { font-style: italic; color: var(--filament-d); }
.j-format-card .desc { font-family: 'Newsreader', Georgia, serif; font-style: italic;
  font-weight: 300; font-size: 14.5px; color: var(--ink); opacity: 0.78; margin: 0; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.55em * 3); }
.j-format-card h3 { min-height: 2.4em; }
.j-format-card .foot { display: flex; gap: 14px; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--rule); }
.j-format-card .foot span:last-child { color: var(--filament-d); font-weight: 600; }

/* === Section title === */
.j-sect { padding: 60px 0 24px; }
.j-sect-rule { display: flex; justify-content: center; align-items: center; gap: 18px; margin-bottom: 28px; }
.j-sect-rule .lbl { font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.j-sect h2 { font-family: 'Newsreader', Georgia, serif; font-weight: 200;
  font-size: clamp(32px, 4vw, 48px); margin: 0; letter-spacing: -0.015em; }
.j-sect h2 em { font-style: italic; color: var(--filament-d); }

/* === Audio player (native HTML5, styled wrapper) === */
.j-player { padding: 28px 32px; margin: 32px 0; background: var(--night-2);
  border: 1px solid var(--rule-2); display: flex; flex-direction: column; gap: 14px; }
.j-player .ph-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.j-player .ph-row .ph-label { font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.j-player audio { width: 100%; max-width: 720px; }
.j-player .ph-todo { font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; color: var(--muted-2); border-top: 1px dashed var(--rule-2); padding-top: 10px; }

/* === Show notes === */
.j-shownotes { padding: 32px 0; }
.j-shownotes ol { list-style: none; padding: 0; margin: 0; }
.j-shownotes li { display: grid; grid-template-columns: 80px 1fr; gap: 18px;
  padding: 14px 0; border-bottom: 1px solid var(--rule); }
.j-shownotes .ts { font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--filament-d); letter-spacing: 0.06em; }
.j-shownotes .note { font-family: 'Inter Tight', sans-serif; font-size: 15px; color: var(--ink); }

/* === Transcript === */
.j-transcript { padding: 32px 0; max-width: 760px; }
.j-transcript p { font-family: 'Newsreader', Georgia, serif; font-weight: 300;
  font-size: 17px; line-height: 1.7; margin: 0 0 14px; }
.j-transcript .speaker { font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--filament-d); display: block; margin-bottom: 4px; }

/* === Long-form post body === */
.j-body { max-width: 720px; padding: 60px 0; font-family: 'Newsreader', Georgia, serif; }
.j-body p { font-weight: 300; font-size: 19px; line-height: 1.7; margin: 0 0 22px; color: var(--ink); }
.j-body p:first-of-type::first-letter {
  font-family: 'Newsreader', Georgia, serif; font-weight: 300; font-style: italic;
  font-size: 5.4em; line-height: 0.85; float: left; padding: 6px 12px 0 0; color: var(--filament-d); }
.j-body h2 { font-weight: 300; font-size: 32px; margin: 48px 0 18px; letter-spacing: -0.01em; }
.j-body em { font-style: italic; color: var(--filament-d); }
.j-pull { border-left: 3px solid var(--coral-op); padding: 8px 0 8px 24px; margin: 32px 0;
  font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 300;
  font-size: 24px; line-height: 1.4; color: var(--ink); }

/* === Foot === */
.j-foot { border-top: 1px solid var(--rule-2); padding: 60px 0;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.j-foot a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--rule); }
.j-foot a:hover { color: var(--filament-d); }

/* === Compass rose decorative === */
.j-compass { width: 64px; height: 64px; opacity: 0.45; margin: 0 auto; display: block; }

/* === Listing list (blog) === */
.j-list { display: flex; flex-direction: column; gap: 0; padding: 40px 0 100px; }
.j-list .row { display: grid; grid-template-columns: 200px 1fr 220px; gap: 36px;
  padding: 32px 0; border-bottom: 1px solid var(--rule); align-items: start; text-decoration: none; color: var(--ink); }
.j-list .row:hover h3 { color: var(--filament-d); }
.j-list .row .when { font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.22em; color: var(--muted); padding-top: 6px; }
.j-list .row h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 300;
  font-size: 30px; line-height: 1.15; margin: 8px 0 12px; letter-spacing: -0.012em; }
.j-list .row h3 em { font-style: italic; color: var(--filament-d); }
.j-list .row .standfirst { font-family: 'Newsreader', Georgia, serif; font-weight: 300;
  font-style: italic; font-size: 16px; line-height: 1.5; color: var(--ink); opacity: 0.78; margin: 0 0 12px; }
.j-list .row .by { font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.22em; color: var(--muted); }
.j-list .row .meta { display: flex; flex-direction: column; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.22em; color: var(--muted); padding-top: 6px; }
.j-list .row .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.j-list .row .tags span { padding: 4px 8px; border: 1px solid var(--rule-2); font-size: 9px; }
@media (max-width: 880px) {
  .j-list .row { grid-template-columns: 1fr; gap: 12px; }
  .j-list .row .meta { padding-top: 0; }
}
