/* JeffreyLong.com — luxurious landing page (deep purple & black) */
:root {
  --jl-bg: #060309;
  --jl-bg-elev: #110823;
  --jl-bg-card: rgba(28, 16, 52, 0.62);
  --jl-line: rgba(192, 132, 252, 0.10);
  --jl-line-strong: rgba(192, 132, 252, 0.26);
  --jl-text: #f3ecff;
  --jl-text-mute: rgba(243, 236, 255, 0.6);
  --jl-text-soft: rgba(243, 236, 255, 0.78);
  /* "gold" tokens are kept as variable names but map to luxe lavender-purples */
  --jl-gold: #c084fc;
  --jl-gold-bright: #e9d5ff;
  --jl-gold-deep: #6b21a8;
  --jl-violet: #7c3aed;
  --jl-magenta: #d946ef;
  --jl-plum: #2a0f4d;
  --jl-radius: 18px;
  --jl-radius-lg: 28px;
  --jl-shadow-card: 0 30px 80px -30px rgba(40, 8, 80, 0.65), 0 0 0 1px rgba(192, 132, 252, 0.06) inset;
  --jl-shadow-deep: 0 50px 120px -40px rgba(0, 0, 0, 0.9);
  --jl-display: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --jl-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: #040110;
  background-color: #040110;
}

body.jl {
  margin: 0;
  font-family: var(--jl-sans);
  font-weight: 400;
  color: var(--jl-text);
  background-color: #040110;
  /* Static gradient — no background-attachment:fixed (kills scroll perf) */
  background:
    radial-gradient(ellipse 120% 60% at 70% 0%, rgba(109, 40, 217, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 0% 30%, rgba(76, 29, 149, 0.4) 0%, transparent 55%),
    linear-gradient(170deg, #0d0418 0%, #07020f 50%, #040110 100%) #040110;
  background-attachment: scroll;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overscroll-behavior: none;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--jl-gold-bright); }

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

/* Aurora removed — blur+blend-mode+animation was killing the GPU */

/* NAV */
.jl-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px clamp(20px, 5vw, 56px);
  background: rgba(6, 3, 9, 0.88);
  border-bottom: 1px solid var(--jl-line);
}
.jl-nav__brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.jl-nav__mark {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--jl-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #1a0530;
  background: linear-gradient(135deg, var(--jl-gold-bright), var(--jl-gold) 60%, var(--jl-gold-deep));
  box-shadow: 0 6px 20px -4px rgba(192, 132, 252, 0.55);
}
.jl-nav__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-block;
  background: var(--jl-bg-elev);
  border: 1px solid var(--jl-line-strong);
  box-shadow: 0 6px 20px -4px rgba(192, 132, 252, 0.45), 0 0 0 2px rgba(192, 132, 252, 0.08);
  flex-shrink: 0;
}
.jl-nav__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.jl-nav__name { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jl-text-soft); }

.jl-nav__links {
  display: flex; gap: 28px;
  font-size: 14px;
  color: var(--jl-text-soft);
}
.jl-nav__links a { position: relative; padding: 6px 2px; }
.jl-nav__links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--jl-gold);
  transition: width .25s ease;
}
.jl-nav__links a:hover::after { width: 100%; }

/* Top-right "Update Me" CTA — deep, sleek purple gradient with a quiet
   silver shimmer sweep. Stays visually distinct without screaming. */
.jl-nav__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 999px;
  color: #f3ecff;
  background: linear-gradient(135deg, #1a0a3a 0%, #3b1d6e 45%, #5b2eaf 100%);
  background-size: 180% 180%;
  background-position: 0% 50%;
  border: 1px solid rgba(168, 85, 247, 0.32);
  box-shadow:
    0 8px 24px -8px rgba(91, 46, 175, 0.55),
    0 0 0 0 rgba(124, 58, 237, 0.35),
    inset 0 1px 0 rgba(192, 132, 252, 0.20);
  transition: transform .25s ease, box-shadow .35s ease, background-position .6s ease;
  overflow: hidden;
  isolation: isolate;
  animation: jl-nav-cta-pulse 2.8s ease-in-out infinite;
}
.jl-nav__cta::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -75%;
  width: 45%;
  background: linear-gradient(115deg,
    transparent 0%,
    rgba(233, 213, 255, 0.0) 35%,
    rgba(233, 213, 255, 0.30) 50%,
    rgba(233, 213, 255, 0.0) 65%,
    transparent 100%);
  transform: skewX(-22deg);
  animation: jl-nav-cta-shimmer 3.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.jl-nav__cta > * { position: relative; z-index: 1; }
.jl-nav__cta:hover {
  transform: translateY(-1px);
  background-position: 100% 50%;
  color: #fff;
  border-color: rgba(192, 132, 252, 0.55);
  box-shadow:
    0 14px 36px -8px rgba(124, 58, 237, 0.7),
    0 0 0 4px rgba(124, 58, 237, 0.16),
    inset 0 1px 0 rgba(233, 213, 255, 0.30);
}
@keyframes jl-nav-cta-pulse {
  0%, 100% { box-shadow: 0 8px 24px -8px rgba(91, 46, 175, 0.55), 0 0 0 0 rgba(124, 58, 237, 0.35), inset 0 1px 0 rgba(192, 132, 252, 0.20); }
  50%      { box-shadow: 0 8px 24px -8px rgba(91, 46, 175, 0.55), 0 0 0 6px rgba(124, 58, 237, 0.0),  inset 0 1px 0 rgba(192, 132, 252, 0.20); }
}
@keyframes jl-nav-cta-shimmer {
  0%   { left: -75%; }
  60%  { left: 130%; }
  100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .jl-nav__cta { animation: none; }
  .jl-nav__cta::before { display: none; }
}

@media (max-width: 720px) {
  .jl-nav__links { display: none; }
}

/* SHARED */
main { position: relative; z-index: 1; }

.jl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jl-text-mute);
  margin: 0 0 18px;
}
.jl-eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--jl-gold);
  box-shadow: 0 0 0 4px rgba(192, 132, 252, 0.18);
}
.jl-eyebrow__dot--live {
  background: #ff5b6c;
  box-shadow: 0 0 0 4px rgba(255, 91, 108, 0.16);
  animation: jl-live 1.6s ease-in-out infinite;
}
@keyframes jl-live {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 91, 108, 0.16); }
  50%      { box-shadow: 0 0 0 9px rgba(255, 91, 108, 0); }
}

.jl-h2 {
  font-family: var(--jl-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.jl-section {
  padding: clamp(80px, 12vw, 160px) clamp(20px, 6vw, 80px);
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}
.jl-section__head { max-width: 760px; margin-bottom: 56px; }
.jl-section__sub { color: var(--jl-text-mute); font-size: 17px; max-width: 56ch; }

.jl-empty {
  border: 1px dashed var(--jl-line-strong);
  border-radius: var(--jl-radius);
  padding: 48px;
  text-align: center;
  color: var(--jl-text-mute);
}
.jl-empty a { color: var(--jl-gold-bright); border-bottom: 1px solid currentColor; }

/* BUTTONS */
.jl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.jl-btn--primary {
  color: #14052b;
  background: linear-gradient(135deg, var(--jl-gold-bright), var(--jl-gold) 50%, var(--jl-violet));
  box-shadow: 0 14px 40px -10px rgba(192, 132, 252, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.jl-btn--primary:hover { transform: translateY(-2px); color: #14052b; box-shadow: 0 22px 50px -10px rgba(192, 132, 252, 0.8); }
.jl-btn--ghost {
  color: var(--jl-text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--jl-line-strong);
}
.jl-btn--ghost:hover { color: var(--jl-gold-bright); border-color: var(--jl-gold); }
.jl-btn__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff5b6c;
  box-shadow: 0 0 0 4px rgba(255, 91, 108, 0.18);
  animation: jl-live 1.6s ease-in-out infinite;
}

/* HERO */
.jl-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: clamp(60px, 10vw, 120px) clamp(20px, 6vw, 80px) clamp(80px, 12vw, 140px);
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 900px) {
  .jl-hero { grid-template-columns: 1fr; text-align: center; }
  .jl-hero__ctas { justify-content: center; }
  .jl-eyebrow { justify-content: center; }
  .jl-hero__stats { justify-content: center; }
}

.jl-hero__title {
  font-family: var(--jl-display);
  font-weight: 300;
  font-size: clamp(56px, 11vw, 148px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  background: linear-gradient(180deg, #ffffff 0%, #e9d5ff 55%, var(--jl-gold) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 80px rgba(192, 132, 252, 0.18);
}
.jl-hero__title-line { display: block; }

.jl-hero__subhead {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.6;
  color: var(--jl-text-soft);
  max-width: 56ch;
  margin: 0 0 36px;
}

.jl-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.jl-hero__stats {
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--jl-line);
  flex-wrap: wrap;
}
.jl-hero__stats div { display: flex; flex-direction: column; gap: 6px; }
.jl-hero__stats dt { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--jl-text-mute); margin: 0; }
.jl-hero__stats dd {
  margin: 0;
  font-family: var(--jl-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--jl-text);
}

/* PORTRAIT */
.jl-hero__portrait { display: flex; align-items: center; justify-content: center; }
.jl-portrait {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 4 / 5;
}
.jl-portrait__frame {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--jl-radius-lg);
  overflow: hidden;
  border: 1px solid var(--jl-line-strong);
  background: linear-gradient(160deg, #1a1622 0%, #0e0c14 100%);
  box-shadow: var(--jl-shadow-deep);
}
/* Slideshow slides */
.jl-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  overflow: hidden;
}
.jl-slide.is-active { opacity: 1; z-index: 2; }
.jl-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
}
/* Ken Burns directions cycle per child */
.jl-slide.is-active img            { animation: jl-kb-a 9s ease-out both; }
.jl-slide:nth-child(2n).is-active img { animation-name: jl-kb-b; }
.jl-slide:nth-child(3n).is-active img { animation-name: jl-kb-c; }
.jl-slide:nth-child(4n).is-active img { animation-name: jl-kb-d; }
@keyframes jl-kb-a { 0%{transform:scale(1.12) translate(-2%,1%)} 100%{transform:scale(1.0) translate(0,0)} }
@keyframes jl-kb-b { 0%{transform:scale(1.12) translate(2%,-1%)} 100%{transform:scale(1.0) translate(0,0)} }
@keyframes jl-kb-c { 0%{transform:scale(1.0) translate(0,0)} 100%{transform:scale(1.1) translate(-1.5%,-1.5%)} }
@keyframes jl-kb-d { 0%{transform:scale(1.0) translate(0,0)} 100%{transform:scale(1.1) translate(1.5%,1%)} }

/* Single static portrait (no slideshow) */
.jl-portrait__frame > img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s ease;
}
.jl-portrait:hover .jl-portrait__frame > img { transform: scale(1.04); }
.jl-portrait__frame > img.is-fallback { display: none; }
.jl-portrait__fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--jl-display);
  font-size: 180px;
  letter-spacing: -0.06em;
  color: var(--jl-gold);
  background:
    radial-gradient(80% 80% at 30% 20%, rgba(192, 132, 252, 0.28), transparent 70%),
    linear-gradient(160deg, #1a1622 0%, #0e0c14 100%);
  z-index: 1;
}
.jl-portrait__frame .jl-slide ~ .jl-portrait__fallback { display: none; }
.jl-portrait__frame > img:not(.is-fallback) ~ .jl-portrait__fallback { display: none; }

/* Static glow ring — no blur filter, no animation */
.jl-portrait__halo {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--jl-radius-lg) + 2px);
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.6), rgba(124, 58, 237, 0.5), rgba(217, 70, 239, 0.5));
  z-index: -1;
}

.jl-portrait__caption {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(6, 3, 9, 0.82);
  border-radius: 12px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--jl-text-soft);
  border: 1px solid var(--jl-line);
}
.jl-portrait__caption-line { width: 24px; height: 1px; background: var(--jl-gold); }

/* ABOUT */
.jl-about { display: grid; grid-template-columns: 1fr; gap: 56px; }
.jl-about__lead {
  font-family: var(--jl-display);
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  color: var(--jl-text);
  max-width: 30ch;
  margin: 0;
  letter-spacing: -0.01em;
}
.jl-about__pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.jl-about__pillars li {
  background: var(--jl-bg-card);
  border: 1px solid var(--jl-line);
  border-radius: var(--jl-radius);
  padding: 28px 28px 32px;
  transition: transform .3s ease, border-color .3s ease;
}
.jl-about__pillars li:hover { transform: translateY(-4px); border-color: var(--jl-line-strong); }
.jl-pillar__num {
  display: inline-block;
  font-family: var(--jl-display);
  font-size: 20px;
  color: var(--jl-gold);
  margin-bottom: 16px;
}
.jl-about__pillars h3 {
  margin: 0 0 8px;
  font-family: var(--jl-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.jl-about__pillars p { margin: 0; color: var(--jl-text-mute); font-size: 15px; line-height: 1.55; }

/* PROJECTS */
.jl-projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Card base */
.jl-project {
  background: var(--jl-bg-card);
  border: 1px solid var(--jl-line);
  border-radius: var(--jl-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  contain: layout paint;
}

/* Scroll-reveal entrance */
@keyframes jl-proj-in {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: translateY(0); }
}
.jl-project.is-proj-hidden { opacity: 0; }
.jl-project.is-proj-in {
  animation: jl-proj-in .75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Post-animation hover transitions */
.jl-project.is-proj-done {
  opacity: 1;
  transform: none;
  animation: none;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.jl-project.is-proj-done:hover {
  transform: translateY(-6px);
  border-color: var(--accent, var(--jl-gold));
  box-shadow: var(--jl-shadow-card);
}
.jl-project.is-proj-done:hover .jl-project__media img { transform: scale(1.06); }
.jl-project.is-proj-done:hover .jl-project__shine { transform: translateX(100%); }

/* Media */
.jl-project__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #161320, #0a0810);
  overflow: hidden;
}
.jl-project__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.jl-project__placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--jl-display);
  font-size: 80px;
  font-weight: 300;
  color: var(--accent, var(--jl-gold));
  letter-spacing: -0.04em;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(192, 132, 252, 0.18), transparent 70%),
    linear-gradient(160deg, #1a1424 0%, #0a0810 100%);
}
.jl-project__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .9s ease;
  pointer-events: none;
}

/* Body */
.jl-project__body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.jl-project__index {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent, var(--jl-gold));
  margin: 0;
}
.jl-project__title {
  margin: 0;
  font-family: var(--jl-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
}
.jl-project__tagline { margin: 0; font-size: 15px; color: var(--jl-text-soft); font-style: italic; }
.jl-project__desc { margin: 0; color: var(--jl-text-mute); font-size: 14.5px; line-height: 1.6; }
.jl-project__bullets { margin: 4px 0 0; padding-left: 18px; color: var(--jl-text-soft); font-size: 14px; line-height: 1.65; }
.jl-project__bullets li::marker { color: var(--accent, var(--jl-gold)); }
.jl-project__cta {
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent, var(--jl-gold-bright));
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.jl-project__cta:hover { color: var(--jl-gold-bright); }

/* Mobile: single column, all cards stack */
@media (max-width: 680px) {
  .jl-projects { grid-template-columns: 1fr; gap: 20px; }
}

/* MUSIC */
.jl-music {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.jl-track {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  background: var(--jl-bg-card);
  border: 1px solid var(--jl-line);
  border-radius: var(--jl-radius);
  padding: 18px;
  transition: transform .25s ease, border-color .25s ease;
  contain: layout paint;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
.jl-track.is-playing { border-color: var(--jl-gold); }
.jl-track:hover { transform: translateY(-2px); border-color: var(--jl-line-strong); }
.jl-track__cover {
  position: relative;
  width: 120px; height: 120px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1424, #0a0810);
}
.jl-track__cover img { width: 100%; height: 100%; object-fit: cover; }
.jl-track__cover-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 56px;
  color: var(--jl-gold);
}
.jl-track__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(7, 6, 10, 0.55);
  border: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s ease;
  color: var(--jl-text);
}
.jl-track__play:focus-visible,
.jl-track:hover .jl-track__play,
.jl-track.is-playing .jl-track__play {
  opacity: 1;
}
.jl-track__play svg { width: 38px; height: 38px; fill: currentColor; }
.jl-track__play .jl-icon-pause { display: none; }
.jl-track.is-playing .jl-track__play .jl-icon-play { display: none; }
.jl-track.is-playing .jl-track__play .jl-icon-pause { display: block; }

.jl-track__meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.jl-track__title { margin: 0; font-family: var(--jl-display); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.jl-track__sub { margin: 0; display: flex; gap: 12px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--jl-text-mute); }
.jl-track__desc { margin: 4px 0 0; font-size: 14px; color: var(--jl-text-soft); line-height: 1.5; }
.jl-track__progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin-top: 10px;
  overflow: hidden;
}
.jl-track__progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--jl-gold-bright), var(--jl-gold));
  transition: width .15s linear;
}
.jl-track__link { font-size: 13px; color: var(--jl-gold-bright); margin-top: 6px; }

/* SPOTIFY WIDGET */
.jl-spotify-wrap {
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--jl-radius);
  overflow: hidden;
  box-shadow: var(--jl-shadow-card);
}
.jl-spotify-wrap iframe {
  display: block;
  border: 0;
  border-radius: var(--jl-radius);
  height: 652px;
}

/* SOCIALS */
.jl-socials {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.jl-social {
  --social-color: var(--jl-gold);
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(28, 16, 52, 0.7), rgba(13, 8, 24, 0.55));
  border: 1px solid var(--jl-line);
  border-radius: 14px;
  color: var(--jl-text);
  transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease;
  overflow: hidden;
  isolation: isolate;
}
.jl-social::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 0% 0%, rgba(255, 255, 255, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: -1;
}
.jl-social:hover {
  transform: translateY(-2px);
  border-color: var(--social-color);
  box-shadow: 0 18px 38px -16px color-mix(in srgb, var(--social-color) 55%, transparent), 0 0 0 1px color-mix(in srgb, var(--social-color) 30%, transparent) inset;
  color: var(--jl-text);
}
.jl-social:hover::before { opacity: 1; }
.jl-social__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--social-color) 14%, transparent);
  color: var(--social-color);
  transition: background .2s ease, color .2s ease;
}
.jl-social:hover .jl-social__icon {
  background: color-mix(in srgb, var(--social-color) 22%, transparent);
}
.jl-social__icon svg { display: block; }
.jl-social__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jl-social__label {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.jl-social__handle {
  font-size: 12px;
  color: var(--jl-text-mute);
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jl-social__arrow {
  font-size: 16px;
  color: var(--jl-text-mute);
  transition: transform .2s ease, color .2s ease;
}
.jl-social:hover .jl-social__arrow {
  transform: translateX(3px);
  color: var(--social-color);
}

/* VOICE FEED */
.jl-voice-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.jl-voice {
  background: linear-gradient(180deg, rgba(20, 18, 28, 0.85), rgba(13, 12, 18, 0.7));
  border: 1px solid var(--jl-line);
  border-radius: var(--jl-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.jl-voice--latest {
  border-color: rgba(192, 132, 252, 0.45);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(192, 132, 252, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(28, 22, 18, 0.95), rgba(13, 12, 18, 0.7));
  grid-column: span 2;
}
@media (max-width: 900px) {
  .jl-voice--latest { grid-column: auto; }
}
.jl-voice--latest::after {
  content: 'Latest';
  position: absolute;
  top: 18px; right: 18px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jl-gold);
  padding: 4px 10px;
  border: 1px solid rgba(192, 132, 252, 0.4);
  border-radius: 999px;
}

.jl-voice__head { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--jl-text-mute); letter-spacing: 0.08em; text-transform: uppercase; }
.jl-voice__index { color: var(--jl-gold); font-family: var(--jl-display); letter-spacing: 0.04em; }
.jl-voice__title { margin: 0; font-family: var(--jl-display); font-weight: 500; font-size: 24px; letter-spacing: -0.01em; }
.jl-voice__summary { margin: 0; color: var(--jl-text-soft); font-size: 14.5px; line-height: 1.55; }
.jl-voice__player { width: 100%; margin-top: 6px; border-radius: 8px; opacity: 0.9; }
audio.jl-voice__player::-webkit-media-controls-panel { background: #efe7d8; }

/* VOICE PLAYER (custom) */
.jl-vp {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
  margin-top: 4px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(192, 132, 252, 0.10), transparent 55%),
    linear-gradient(180deg, rgba(28, 16, 52, 0.55), rgba(13, 8, 24, 0.55));
  border: 1px solid var(--jl-line-strong);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.jl-vp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(192, 132, 252, 0.05) 50%, transparent 70%);
  pointer-events: none;
}
.jl-vp__row {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}
.jl-vp__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.jl-vp__main .jl-voice__title { margin: 0; }
.jl-vp__main .jl-voice__summary { margin: 0; }

/* Big shimmering play button */
.jl-vp__btn {
  flex-shrink: 0;
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #1a0530;
  background: linear-gradient(135deg, var(--jl-gold-bright) 0%, var(--jl-gold) 55%, var(--jl-gold-deep) 100%);
  box-shadow:
    0 12px 30px -8px rgba(192, 132, 252, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 0 0 6px rgba(192, 132, 252, 0.08);
  transition: transform .2s ease, box-shadow .25s ease;
  isolation: isolate;
  overflow: hidden;
}
.jl-vp__btn:hover {
  transform: scale(1.05);
  box-shadow:
    0 16px 40px -8px rgba(192, 132, 252, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 0 0 8px rgba(192, 132, 252, 0.14);
}
.jl-vp__btn:active { transform: scale(0.97); }
.jl-vp__btn:focus-visible {
  outline: 2px solid var(--jl-gold-bright);
  outline-offset: 4px;
}
.jl-vp__btn-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(192, 132, 252, 0.6), transparent 70%);
  filter: blur(8px);
  z-index: -1;
  opacity: 0.5;
  animation: jlVpPulse 2.6s ease-in-out infinite;
}
.jl-vp__btn-shimmer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 48%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0.55) 52%,
    transparent 70%);
  background-size: 220% 220%;
  background-position: 200% 50%;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: jlVpShimmer 3.2s linear infinite;
}
@keyframes jlVpShimmer {
  0%   { background-position: 200% 50%; }
  100% { background-position: -100% 50%; }
}
@keyframes jlVpPulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 0.8;  transform: scale(1.08); }
}
.jl-voice--latest .jl-vp__btn { width: 88px; height: 88px; }

.jl-vp__icon {
  position: relative;
  width: 28px; height: 28px;
  z-index: 1;
}
.jl-voice--latest .jl-vp__btn .jl-vp__icon { width: 34px; height: 34px; }
.jl-vp__icon--play  { display: block; transform: translateX(2px); }
.jl-vp__icon--pause { display: none; }
.jl-vp.is-playing .jl-vp__icon--play  { display: none; }
.jl-vp.is-playing .jl-vp__icon--pause { display: block; }

.jl-vp__btn-loading {
  display: none;
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid rgba(26, 5, 48, 0.25);
  border-top-color: rgba(26, 5, 48, 0.85);
  animation: jlVpSpin 0.9s linear infinite;
}
.jl-vp.is-loading .jl-vp__btn-loading { display: block; }
.jl-vp.is-loading .jl-vp__icon--play,
.jl-vp.is-loading .jl-vp__icon--pause { opacity: 0.25; }
@keyframes jlVpSpin { to { transform: rotate(360deg); } }

/* When playing, slow the pulse and intensify */
.jl-vp.is-playing .jl-vp__btn-glow {
  animation-duration: 1.6s;
  opacity: 0.85;
}

/* Seek bar */
.jl-vp__seek { display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.jl-vp__seek:focus-visible { outline: none; }
.jl-vp__seek:focus-visible .jl-vp__seek-track {
  box-shadow: 0 0 0 2px rgba(192, 132, 252, 0.45);
}
.jl-vp__seek-track {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: visible;
  transition: height .15s ease;
}
.jl-vp__seek:hover .jl-vp__seek-track { height: 8px; }
.jl-vp__seek-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--jl-gold) 0%, var(--jl-gold-bright) 100%);
  border-radius: inherit;
  box-shadow: 0 0 12px rgba(192, 132, 252, 0.55);
  transition: width .12s linear;
}
.jl-vp__seek-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px; height: 14px;
  background: var(--jl-gold-bright);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.25), 0 4px 10px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity .15s ease, left .12s linear;
  pointer-events: none;
}
.jl-vp__seek:hover .jl-vp__seek-thumb,
.jl-vp.is-playing .jl-vp__seek-thumb { opacity: 1; }

.jl-vp__times {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jl-text-mute);
  font-variant-numeric: tabular-nums;
}
.jl-vp__times-right { display: flex; align-items: center; gap: 10px; }
.jl-vp__time-cur { color: var(--jl-gold); }

.jl-vp__speed {
  appearance: none;
  background: rgba(192, 132, 252, 0.10);
  color: var(--jl-gold-bright);
  border: 1px solid rgba(192, 132, 252, 0.32);
  border-radius: 999px;
  padding: 4px 10px;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
  font-variant-numeric: tabular-nums;
  min-width: 44px;
  text-align: center;
}
.jl-vp__speed:hover {
  background: rgba(192, 132, 252, 0.22);
  border-color: rgba(192, 132, 252, 0.55);
  color: #fff;
}
.jl-vp__speed:active { transform: scale(0.94); }
.jl-vp__speed:focus-visible {
  outline: 2px solid var(--jl-gold-bright);
  outline-offset: 2px;
}
.jl-vp__speed.is-fast {
  background: linear-gradient(135deg, var(--jl-gold) 0%, var(--jl-gold-bright) 100%);
  color: #1a0530;
  border-color: transparent;
  box-shadow: 0 4px 14px -4px rgba(192, 132, 252, 0.7);
}

@media (max-width: 560px) {
  .jl-vp { padding: 14px; gap: 14px; }
  .jl-vp__row { gap: 14px; }
  .jl-vp__btn { width: 60px; height: 60px; }
  .jl-vp__icon { width: 24px; height: 24px; }
  .jl-voice--latest .jl-vp__btn { width: 68px; height: 68px; }
  .jl-voice--latest .jl-vp__btn .jl-vp__icon { width: 26px; height: 26px; }
}

/* SR-only */
.jl-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* AFFILIATES — stand-out callout */
.jl-affiliate {
  padding-top: clamp(60px, 9vw, 110px);
  padding-bottom: clamp(20px, 4vw, 40px);
}
.jl-affiliate__card {
  position: relative;
  border-radius: var(--jl-radius-lg);
  padding: clamp(34px, 5vw, 60px) clamp(28px, 5vw, 56px);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(217, 70, 239, 0.18), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(99, 102, 241, 0.18), transparent 55%),
    linear-gradient(160deg, rgba(42, 15, 77, 0.92), rgba(13, 4, 24, 0.92));
  border: 1px solid rgba(217, 70, 239, 0.35);
  box-shadow:
    0 24px 70px -20px rgba(217, 70, 239, 0.45),
    0 0 0 1px rgba(168, 85, 247, 0.18) inset;
  overflow: hidden;
}
/* Static gradient border via mask-composite — paint once, never repaints.
   Removed the previous animation that re-rasterised the gradient on every
   frame (the change that nuked the browser). */
.jl-affiliate__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #d946ef 0%, #a855f7 50%, #6366f1 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
/* Single shimmer band — animated via `transform` only so the browser keeps
   it on the GPU compositor (no layout, no paint per frame). `will-change`
   hints the browser to promote it to its own layer once. */
.jl-affiliate__shimmer {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 35%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.06) 45%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0.06) 55%, transparent 100%);
  transform: translate3d(-160%, 0, 0) skewX(-18deg);
  animation: jl-affiliate-shimmer 7s ease-in-out infinite;
  will-change: transform;
  pointer-events: none;
}
@keyframes jl-affiliate-shimmer {
  0%   { transform: translate3d(-160%, 0, 0) skewX(-18deg); }
  55%  { transform: translate3d(360%, 0, 0)  skewX(-18deg); }
  100% { transform: translate3d(360%, 0, 0)  skewX(-18deg); }
}
.jl-affiliate__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d946ef, #a855f7);
  color: #fff;
  box-shadow: 0 6px 18px -4px rgba(217, 70, 239, 0.55);
  margin-bottom: 16px;
  position: relative;
}
.jl-eyebrow__dot--magenta { background: #d946ef !important; box-shadow: 0 0 12px rgba(217, 70, 239, 0.7); }
.jl-affiliate__card h2 { margin: 6px 0 14px; }
.jl-affiliate__sub {
  color: var(--jl-text-mute);
  margin: 0 0 28px;
  max-width: 60ch;
  font-size: 16.5px;
  line-height: 1.6;
}
.jl-affiliate__steps {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 16px;
}
.jl-affiliate__steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--jl-text-soft);
  font-size: 15.5px;
  line-height: 1.55;
}
.jl-affiliate__steps li strong { color: var(--jl-text); font-weight: 600; }
.jl-affiliate__num {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-family: var(--jl-display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(135deg, #d946ef, #a855f7 60%, #6366f1);
  box-shadow: 0 6px 14px -4px rgba(217, 70, 239, 0.5);
}
.jl-affiliate__url {
  display: inline-block;
  margin-top: 8px;
  margin-right: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(7, 3, 14, 0.7);
  border: 1px solid rgba(217, 70, 239, 0.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  color: #f3ecff;
  white-space: nowrap;
  user-select: all;
}
.jl-affiliate__url em {
  color: #f0abfc;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.jl-affiliate__copy {
  display: inline-block;
  padding: 8px 14px;
  margin-top: 8px;
  border-radius: 8px;
  background: rgba(217, 70, 239, 0.15);
  border: 1px solid rgba(217, 70, 239, 0.45);
  color: #f3ecff;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.jl-affiliate__copy:hover { background: rgba(217, 70, 239, 0.28); transform: translateY(-1px); }
.jl-affiliate__copy.is-copied { background: rgba(74, 222, 128, 0.22); border-color: rgba(74, 222, 128, 0.55); }
.jl-affiliate__note {
  color: var(--jl-text-mute);
  font-size: 14px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(168, 85, 247, 0.18);
}
.jl-affiliate__note a { color: #e9d5ff; border-bottom: 1px dashed rgba(217, 70, 239, 0.5); }
.jl-affiliate__note a:hover { border-bottom-color: #d946ef; }
@media (prefers-reduced-motion: reduce) {
  .jl-affiliate__shimmer { display: none; }
}
@media (max-width: 640px) {
  .jl-affiliate__url { white-space: normal; word-break: break-all; }
  /* Mobile: drop the shimmer entirely. The background already pops without
     it and animating a 35vw-wide painted layer on a phone is the most
     expensive thing on this page. */
  .jl-affiliate__shimmer { display: none; }
}

/* SUBSCRIBE */
.jl-subscribe { padding-top: clamp(60px, 9vw, 110px); padding-bottom: clamp(60px, 9vw, 110px); }
.jl-subscribe__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(192, 132, 252, 0.18), transparent 60%),
    linear-gradient(160deg, rgba(42, 15, 77, 0.85), rgba(13, 4, 24, 0.85));
  border: 1px solid var(--jl-line-strong);
  border-radius: var(--jl-radius-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--jl-shadow-card);
  contain: layout paint;
}
@media (max-width: 820px) {
  .jl-subscribe__card { grid-template-columns: 1fr; gap: 24px; }
}
.jl-subscribe__copy h2 { margin: 0 0 12px; }
.jl-subscribe__sub { color: var(--jl-text-mute); margin: 0; max-width: 44ch; font-size: 16px; line-height: 1.55; }

.jl-subscribe__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.jl-subscribe__field {
  flex: 1 1 220px;
  display: flex;
  position: relative;
}
.jl-subscribe__field input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 999px;
  background: rgba(7, 3, 14, 0.6);
  border: 1px solid var(--jl-line-strong);
  color: var(--jl-text);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s ease, background .2s ease;
}
.jl-subscribe__field input::placeholder { color: rgba(243, 236, 255, 0.4); }
.jl-subscribe__field input:focus {
  outline: none;
  border-color: var(--jl-gold);
  background: rgba(7, 3, 14, 0.8);
  box-shadow: 0 0 0 4px rgba(192, 132, 252, 0.18);
}
.jl-subscribe__form .jl-btn { white-space: nowrap; }
.jl-subscribe__status {
  flex-basis: 100%;
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--jl-text-mute);
  min-height: 18px;
}
.jl-subscribe__status.is-ok  { color: #d8b4fe; }
.jl-subscribe__status.is-err { color: #ff8b96; }

/* CTA STRIP */
.jl-cta-strip {
  text-align: center;
  padding-top: clamp(60px, 10vw, 120px);
  padding-bottom: clamp(80px, 12vw, 140px);
}
.jl-cta-strip p { color: var(--jl-text-mute); margin: 0 auto 28px; font-size: 17px; max-width: 50ch; }

/* FOOTER */
.jl-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 40px clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--jl-line);
  font-size: 13px;
  color: var(--jl-text-mute);
}
.jl-foot a { margin-left: 20px; }

/* ============================================================
   BLOG / WRITING — long-form article surface
   ============================================================ */

.jl-h1 {
  font-family: var(--jl-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

/* Read article CTA inside a voice card */
.jl-voice__read {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--jl-line-strong);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.10), rgba(124, 58, 237, 0.04));
  color: var(--jl-text);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform .2s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.jl-voice__read:hover {
  transform: translateY(-1px);
  border-color: var(--jl-gold);
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.18), rgba(124, 58, 237, 0.10));
  color: var(--jl-gold-bright);
  box-shadow: 0 14px 30px -16px rgba(192, 132, 252, 0.45);
}

/* Compact icon for the no-thumbnail fallback */
.jl-voice__read-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px;
  background: linear-gradient(135deg, var(--jl-gold-bright), var(--jl-gold));
  color: #1a0530;
}

/* Thumbnail variant — pulls in the article's hero image as the visual hook */
.jl-voice__read--has-thumb { padding: 10px 14px 10px 10px; }
.jl-voice__read-thumb {
  flex-shrink: 0;
  width: 88px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--jl-bg-elev);
  border: 1px solid rgba(192, 132, 252, 0.20);
}
.jl-voice__read-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.jl-voice__read--has-thumb:hover .jl-voice__read-thumb img { transform: scale(1.05); }

.jl-voice__read-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jl-voice__read-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jl-text-mute);
  font-weight: 500;
}
.jl-voice__read-title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jl-voice__read-arrow {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--jl-text-mute);
  transition: transform .2s ease, color .2s ease;
}
.jl-voice__read:hover .jl-voice__read-arrow {
  color: var(--jl-gold-bright);
  transform: translateX(3px);
}

/* Legacy class (in case any old markup still emits it) */
.jl-voice__read-sub {
  font-size: 12px;
  color: var(--jl-text-mute);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Writing section on landing */
.jl-section--writing { padding-top: 0; }

/* Blog grid */
.jl-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.jl-blog-grid--small { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.jl-blog-card {
  background: var(--jl-bg-card);
  border: 1px solid var(--jl-line);
  border-radius: var(--jl-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
  backdrop-filter: blur(12px);
}
.jl-blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--jl-line-strong);
}
.jl-blog-card--lead { grid-column: 1 / -1; }
.jl-blog-card--lead .jl-blog-card__media { aspect-ratio: 21 / 9; }
.jl-blog-card--lead .jl-blog-card__title { font-size: clamp(28px, 3.5vw, 44px); }

.jl-blog-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1a0a30, #0a0418);
  overflow: hidden;
}
.jl-blog-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.jl-blog-card:hover .jl-blog-card__media img { transform: scale(1.04); }
.jl-blog-card__placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--jl-display);
  font-size: 64px;
  color: var(--jl-gold);
  opacity: 0.7;
}

.jl-blog-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.jl-blog-card__meta {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jl-text-mute);
}
.jl-blog-card__title {
  font-family: var(--jl-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
}
.jl-blog-card__title a { color: inherit; }
.jl-blog-card__title a:hover { color: var(--jl-gold-bright); }
.jl-blog-card__excerpt {
  margin: 0;
  color: var(--jl-text-soft);
  font-size: 15px;
  line-height: 1.55;
}
.jl-blog-card__cta {
  margin-top: auto;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jl-gold);
}
.jl-blog-card__cta:hover { color: var(--jl-gold-bright); }

/* BLOG INDEX HERO */
.jl-blog-hero {
  padding-top: clamp(60px, 10vw, 120px);
  padding-bottom: clamp(40px, 8vw, 80px);
  text-align: left;
  max-width: 880px;
}

/* SINGLE ARTICLE */
.jl-article {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 80px) clamp(20px, 6vw, 40px) clamp(80px, 12vw, 120px);
}
.jl-article__head { margin-bottom: 36px; }
.jl-article__title {
  font-family: var(--jl-display);
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.jl-article__excerpt {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--jl-text-soft);
  margin: 0 0 24px;
  font-weight: 400;
}
.jl-article__meta {
  display: flex; gap: 6px; flex-wrap: wrap;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--jl-text-mute);
  margin: 0;
}
.jl-article__meta a { color: var(--jl-gold); }

.jl-article__hero {
  margin: 36px -20px 40px;
  border-radius: var(--jl-radius-lg);
  overflow: hidden;
  border: 1px solid var(--jl-line);
  box-shadow: var(--jl-shadow-card);
}
.jl-article__hero img { width: 100%; height: auto; display: block; }

/* Listen-to-original block */
.jl-article__listen {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 24px 26px;
  margin: 36px 0 44px;
  border-radius: var(--jl-radius);
  border: 1px solid var(--jl-line-strong);
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.10), rgba(124, 58, 237, 0.04));
}
@media (min-width: 720px) {
  .jl-article__listen { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 32px; }
}
.jl-article__listen-copy h3 {
  font-family: var(--jl-display);
  font-weight: 500;
  font-size: 22px;
  margin: 8px 0 8px;
}
.jl-article__listen-copy p { color: var(--jl-text-soft); font-size: 14.5px; line-height: 1.55; margin: 0; }
.jl-article__player { width: 100%; }

/* Article body typography */
.jl-article__body {
  color: var(--jl-text-soft);
  font-size: 18px;
  line-height: 1.78;
  font-weight: 400;
}
.jl-article__body > * + * { margin-top: 1.4em; }
.jl-article__body h2 {
  font-family: var(--jl-display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: var(--jl-text);
  margin: 2.2em 0 0.6em;
}
.jl-article__body h3 {
  font-family: var(--jl-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--jl-text);
  margin: 1.8em 0 0.6em;
}
.jl-article__body p { margin: 0; }
.jl-article__body strong { color: var(--jl-text); font-weight: 600; }
.jl-article__body em { color: var(--jl-gold-bright); font-style: normal; }
.jl-article__body a { color: var(--jl-gold); border-bottom: 1px solid rgba(192, 132, 252, 0.3); }
.jl-article__body a:hover { color: var(--jl-gold-bright); border-color: var(--jl-gold); }
.jl-article__body ul,
.jl-article__body ol { padding-left: 1.4em; margin: 0; }
.jl-article__body li + li { margin-top: 0.5em; }
.jl-article__body blockquote {
  margin: 2em 0;
  padding: 18px 24px;
  border-left: 3px solid var(--jl-gold);
  background: rgba(192, 132, 252, 0.06);
  border-radius: 0 12px 12px 0;
  font-family: var(--jl-display);
  font-style: italic;
  color: var(--jl-text);
  font-size: 22px;
  line-height: 1.4;
}
.jl-article__body code {
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 0.92em;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(192, 132, 252, 0.12);
  color: var(--jl-gold-bright);
}
.jl-article__inline-image {
  margin: 2.6em 0;
  padding: 0;
  border-radius: var(--jl-radius);
  overflow: hidden;
  border: 1px solid var(--jl-line);
  box-shadow: 0 28px 60px -32px rgba(20, 5, 50, 0.7);
  background: rgba(13, 4, 24, 0.6);
}
.jl-article__inline-image img { width: 100%; height: auto; display: block; }
.jl-article__inline-image figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--jl-text-mute);
  background: rgba(15, 5, 30, 0.6);
}

/* Magazine-style placement variants. The article body is text-flow so we can
   float images and let surrounding paragraphs wrap them. On narrow screens the
   modifiers all collapse to full-width for readability. */
.jl-article__inline-image--bleed {
  margin: 2.8em -32px;
  border-radius: 22px;
}
.jl-article__inline-image--right,
.jl-article__inline-image--left {
  width: 46%;
  max-width: 380px;
  margin-top: 0.4em;
  margin-bottom: 1.4em;
}
.jl-article__inline-image--right {
  float: right;
  margin-left: 28px;
  margin-right: -8px;
  shape-outside: inset(0 round var(--jl-radius));
  transform: rotate(0.4deg);
}
.jl-article__inline-image--left {
  float: left;
  margin-right: 28px;
  margin-left: -8px;
  shape-outside: inset(0 round var(--jl-radius));
  transform: rotate(-0.4deg);
}
.jl-article__inline-image--right:hover,
.jl-article__inline-image--left:hover { transform: rotate(0); transition: transform .25s ease; }

@media (max-width: 720px) {
  .jl-article__inline-image,
  .jl-article__inline-image--bleed,
  .jl-article__inline-image--right,
  .jl-article__inline-image--left {
    width: auto;
    max-width: none;
    float: none;
    margin: 2em 0;
    transform: none;
    border-radius: var(--jl-radius);
  }
}

.jl-article__foot {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--jl-line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--jl-text-mute);
  font-size: 14px;
}
.jl-article__foot a + a { margin-left: 12px; }

.jl-article__related { margin-top: 64px; }
.jl-article__related h3 {
  font-family: var(--jl-display);
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 24px;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .jl-article__hero { margin-left: -20px; margin-right: -20px; border-radius: var(--jl-radius); }
  .jl-article__inline-image { margin-left: 0; margin-right: 0; }
}

/* ============================================================
   ADMIN extras for the voice-to-blog UI (live in admin.css too,
   but harmless on the public side and lets the badge color survive
   if the same class is reused on the dashboard preview cards).
   ============================================================ */
