/* ============ Learn ============ */
.section--tight { padding-block: calc(var(--section-y) * .6); }
.crumbs { display: flex; gap: .6em; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-3); margin-bottom: var(--s-6); }
.crumbs a:hover { color: var(--moon); }

.lhero { padding-top: clamp(2rem, 1rem + 3vw, 4rem); padding-bottom: var(--s-7); position: relative; overflow: clip; }
.lhero__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .lhero__grid { grid-template-columns: 1fr auto; } }
.lhero h1 { font-size: var(--fs-hero); }
.lhero .lead { margin-top: var(--s-5); max-width: 32em; font-size: var(--fs-xl); line-height: 1.45; color: var(--text); }
.lhero__swatch {
  width: clamp(140px, 22vw, 280px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--sw) 70%, white), var(--sw) 55%, color-mix(in srgb, var(--sw) 55%, black));
  box-shadow: 0 0 0 12px color-mix(in srgb, var(--sw) 10%, transparent), 0 40px 90px -30px color-mix(in srgb, var(--sw) 60%, transparent);
  position: relative; overflow: hidden;
}
.lhero__swatch::after { content: ""; position: absolute; inset: 0; opacity: .25; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.facts { margin: var(--s-7) 0 0; display: grid; gap: var(--s-4); border-top: 1px solid var(--line); padding-top: var(--s-5); }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts dt { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--text-2); }

/* Article */
.article { display: grid; gap: var(--s-7); }
@media (min-width: 1000px) { .article { grid-template-columns: 220px minmax(0, 720px); gap: var(--s-9); } }
.toc { display: none; }
@media (min-width: 1000px) {
  .toc { display: grid; gap: 10px; align-content: start; position: sticky; top: 100px; font-size: var(--fs-sm); color: var(--text-3); }
  .toc a { transition: color var(--t-base); } .toc a:hover { color: var(--moon); }
  .toc .eyebrow { margin-bottom: 6px; }
}
.prose { display: grid; gap: var(--s-4); font-size: var(--fs-lg); color: var(--text-2); }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-2xl); color: var(--text); line-height: 1.1; margin-top: var(--s-6); scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 1.6em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7em; height: 2px; background: var(--sw, var(--moon)); border-radius: 2px; }
.note { margin-top: var(--s-4); padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--surface); border-left: 2px solid var(--sw, var(--moon)); font-size: var(--fs-sm); }
.note b { color: var(--text); font-weight: 500; }
.alts { display: grid; gap: var(--s-2); }
.alt-card { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-4); align-items: center; padding: var(--s-4); border-radius: var(--r-lg); border: 1px solid var(--line); font-size: var(--fs-md); transition: all var(--t-base) var(--ease-out); }
.alt-card:hover { border-color: var(--line-2); background: var(--surface); }
.alt-card b { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-xl); color: var(--text); }
.alt-card span span { font-size: var(--fs-sm); color: var(--text-3); }
.alt-card__sw { width: 34px; height: 34px; border-radius: 50%; background: var(--sw); }
.alt-card:hover > span:last-child { transform: translateX(4px); }
.alt-card > span:last-child { transition: transform var(--t-base) var(--ease-out); }

/* Sessions */
.rhythm-pick { margin-bottom: var(--s-5); }
.mini-gallery { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.lemail { display: grid; gap: var(--s-5); align-items: end; }
@media (min-width: 900px) { .lemail { grid-template-columns: 1fr 1fr; } }

/* Learn index */
.lindex-hero { padding-block: clamp(2rem, 1rem + 4vw, 5rem) var(--s-6); }
.lindex-hero h1 { font-size: var(--fs-hero); max-width: 12.5ch; }
.lindex-hero .lead { margin-top: var(--s-5); }
.lindex-nav { display: flex; gap: var(--s-2); margin-top: var(--s-6); flex-wrap: wrap; }
.sound-cards { margin-top: var(--s-7); display: grid; gap: var(--s-3); }
@media (min-width: 800px) { .sound-cards { grid-template-columns: repeat(3, 1fr); } }
.sound-card { display: grid; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-lg); border: 1px solid var(--line); transition: all var(--t-base) var(--ease-out); }
.sound-card:hover { border-color: var(--line-2); background: var(--surface); transform: translateY(-2px); }
.sound-card__sw { width: 44px; height: 44px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 6px color-mix(in srgb, var(--sw) 12%, transparent); }
.sound-card h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-2xl); line-height: 1; }
.sound-card p { font-size: var(--fs-sm); color: var(--text-2); }
.sound-card .link-arrow { justify-self: start; }
.soon-row { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center; font-size: var(--fs-sm); color: var(--text-3); }
.soon-row a { color: var(--text-2); border-bottom: 1px solid var(--line-2); }
.soon-row a:hover { color: var(--moon); }
