/* The craft (/faq): hero, sections, poems, the disclosures, the lists and
   the closing call. */

/* the gutter sits outside the measure: vw padding inside a ch max-width
   would shrink the text column as the screen widens */
.learn-scroll {
  position: relative; z-index: var(--z-panel);
  width: min(82ch, 100% - 12vw);
  margin: 0 auto;
  padding-block: 26vh 22vh;
}

/* hero */
.learn-hero { text-align: center; margin-bottom: 18vh; }
.learn-hero .eyebrow {
  font-family: var(--font-label); font-weight: 300; font-size: var(--type-1);
  text-transform: uppercase; letter-spacing: 0.52em; color: var(--accent-quiet);
  margin-bottom: 40px;
}
.learn-hero h1 {
  font-family: var(--font-verse); font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.5;
  color: var(--text); letter-spacing: 0.02em; max-width: 22ch;
  margin: 0 auto;
}
.learn-hero .glyph-big {
  display: block; font-family: var(--font-glyph);
  font-size: clamp(3rem, 9vw, 5.5rem); color: var(--accent);
  margin-bottom: 28px; line-height: 1;
}
.learn-hero .lede {
  margin-top: 44px; font-style: italic; font-size: 1.15rem;
  line-height: 1.85; color: var(--paper-dim); max-width: 46ch;
  margin-left: auto; margin-right: auto;
}

/* sections */
.learn-section { margin-bottom: 13vh; }
.learn-section .kicker {
  font-family: var(--font-label); font-weight: 300; font-size: var(--type-1);
  text-transform: uppercase; letter-spacing: 0.44em; color: var(--accent-quiet);
  margin-bottom: 22px;
}
.learn-section h2 {
  font-family: var(--font-verse); font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.3rem); line-height: 1.45;
  color: var(--text); margin-bottom: 30px; letter-spacing: 0.01em;
}
.learn-section h2 .kanji {
  font-family: var(--font-glyph); color: var(--accent);
  font-size: 0.82em; margin-left: 6px;
}
.learn-section p {
  font-family: var(--font-verse); font-size: 1.2rem;
  line-height: 1.85; color: var(--paper-soft);
  margin-bottom: 1.4em; letter-spacing: 0.005em;
}
.learn-section p:last-child { margin-bottom: 0; }
.learn-section em { color: var(--text); }
.learn-section .soft { color: var(--paper-dim); }

/* poem block */
.learn-poem {
  margin: 2.4em 0 2.4em 1.5em;
  padding-left: 26px;
  border-left: 1px solid var(--ink-soft);
}
.learn-poem.is-spaced { margin-top: 2em; }
.learn-poem .pline {
  font-family: var(--font-verse); font-style: italic;
  font-size: 1.3rem; line-height: 1.9; color: var(--text);
  letter-spacing: 0.02em;
}
.learn-poem .pby {
  margin-top: 16px; font-family: var(--font-label); font-weight: 300;
  font-size: var(--type-1); letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--paper-faint);
}

/* details / disclosure */
.learn-detail {
  border-top: 1px solid var(--ink-soft);
  transition: border-color var(--dur-state) var(--ease-breath);
}
.learn-detail:last-of-type { border-bottom: 1px solid var(--ink-soft); }
.learn-detail[open] { border-color: var(--accent); }
.learn-detail > summary {
  list-style: none; cursor: pointer;
  padding: 30px 0; display: flex; align-items: baseline; gap: 18px;
  transition: color var(--dur-hover) var(--ease-breath);
}
.learn-detail > summary::-webkit-details-marker { display: none; }
.learn-detail > summary .s-num {
  font-family: var(--font-label); font-weight: 300; font-size: var(--type-1);
  letter-spacing: 0.2em; color: var(--paper-faint); min-width: 2.4em;
  padding-top: 0.5em;
}
.learn-detail > summary .s-title {
  flex: 1; font-family: var(--font-verse); font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.4; color: var(--text);
}
.s-title .kanji {
  font-family: var(--font-glyph); color: var(--accent);
  font-size: 0.78em; margin-left: 8px;
}
.learn-detail > summary .s-mark {
  font-family: var(--font-glyph); font-size: 1.2rem;
  color: var(--paper-dim); transition: transform var(--dur-state) var(--ease-ink), color 0.5s;
  line-height: 1; padding-top: 0.2em;
}
.learn-detail[open] > summary .s-mark { transform: rotate(90deg); color: var(--accent); }
.learn-detail > summary:hover .s-title { color: var(--paper); }
.learn-detail .detail-body {
  padding: 4px 0 38px calc(2.4em + 18px);
}
.learn-detail .detail-body p {
  font-family: var(--font-verse); font-size: 1.18rem;
  line-height: 1.85; color: var(--paper-soft); margin-bottom: 1.3em;
}
.learn-detail .detail-body p:last-child { margin-bottom: 0; }
.learn-detail .detail-body em { color: var(--text); }
.detail-body .after-list { margin-top: 1.8em; }

/* season cue chips inside kigo */
.season-cues {
  display: flex; flex-wrap: wrap; gap: 14px 26px;
  margin: 1.6em 0; padding: 0;
}
.season-cues li {
  list-style: none; display: flex; align-items: baseline; gap: 10px;
  font-family: var(--font-verse); font-size: 1.08rem; color: var(--paper-dim);
}
.season-cues .sk {
  font-family: var(--font-glyph); font-size: 1.1rem; color: var(--accent);
}

/* masters list */
.masters { margin: 0; padding: 0; }
.masters li {
  list-style: none; padding: 22px 0; border-bottom: 1px solid var(--ink-soft);
  font-family: var(--font-verse); font-size: 1.18rem; line-height: 1.7;
  color: var(--paper-soft);
}
.masters li:first-child { border-top: 1px solid var(--ink-soft); }
.masters .mname {
  font-family: var(--font-glyph); color: var(--accent);
  margin-right: 8px;
}
.masters .mrole {
  font-style: italic; color: var(--paper-dim); font-size: 0.92em;
}

/* tips */
.tips { margin: 0; padding: 0; counter-reset: tip; }
.tips li {
  list-style: none; position: relative; padding: 0 0 1.6em 3em;
  font-family: var(--font-verse); font-size: 1.18rem; line-height: 1.8;
  color: var(--paper-soft);
}
.tips li:last-child { padding-bottom: 0; }
.tips li::before {
  counter-increment: tip; content: counter(tip);
  position: absolute; left: 0; top: 0.1em;
  font-family: var(--font-label); font-weight: 300; font-size: var(--type-1);
  letter-spacing: 0.1em; color: var(--accent-quiet);
  width: 2em; text-align: left;
}
.tips li b { font-weight: 500; color: var(--text); }

/* closing */
.learn-close { text-align: center; margin-top: 16vh; }
.learn-close .close-line {
  font-family: var(--font-verse); font-style: italic;
  font-size: 1.35rem; line-height: 1.8; color: var(--paper-dim);
  max-width: 38ch; margin: 0 auto 48px;
}
.learn-close .glyph-seal {
  font-family: var(--font-glyph); font-size: 1.6rem;
  color: var(--accent-quiet); display: block; margin-bottom: 40px;
}

@media (max-width: 640px) {
  .learn-scroll { width: min(82ch, 100% - 16vw); padding-block: 20vh 16vh; }
  .learn-detail .detail-body { padding-left: 0; }
  .learn-detail > summary { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .learn-detail[open] > summary .s-mark { transition: none; }
}
