.mast { position: relative; inset: auto; }
.skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.hero-copy .lead { max-width: 36ch; }
.index { padding-bottom: 3rem; }
.chapter-index, .path-intros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.chapter-index > a { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: .9rem; background: #faf4e8; color: inherit; text-decoration: none; }
.chapter-index > a:first-child { border-color: #344637; }
.chapter-index > a:hover { border-color: #a6583f; }
.chapter-index img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.chapter-index > a > div { padding: 1rem; }
.chapter-index strong { display: block; margin: .35rem 0; font-size: 1.08rem; }
.chapter-index p { margin: 0; }
.chapter { --editorial-width: 52rem; }
.chapter .chapter-head, .chapter .chapter-opening, .chapter .prose, .chapter .demo,
#capitolo-3 > :is(.reveal, .section-head, .editorial-section, .materials, .path-intros, .workshop-index, .bonus, .offer, .faq, .closing, .turn) {
  width: min(100%, var(--editorial-width));
  max-width: var(--editorial-width);
  margin-inline: auto;
}
.chapter .prose { line-height: 1.75; }
.chapter-title { font-family: Georgia, serif; }
.chapter-opening { margin-bottom: 2rem; }
.chapter .demo { background: #263a2f; }
#risultato { border-top: 1px solid #eecca675; margin-top: 1.5rem; padding-top: 1.5rem; }
#risultato h2 { margin-top: 0; }
.editorial-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 4vw, 3rem); margin-block: 2.75rem; }
.workshop-sample { margin: 0; }
.workshop-sample img { width: 100%; max-height: 480px; object-fit: contain; }
.path-intros article { border-top: 1px solid var(--line); padding: 1rem 0; }
.workshop-index { margin-block: 0 2.5rem; }
.workshop-index > summary { cursor: pointer; padding: 1rem; border: 1px solid var(--line); border-radius: .5rem; font-weight: 600; }
#capitolo-3 .materials, #capitolo-3 .bonus { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
#capitolo-3 .product-preview-grid img { aspect-ratio: 3 / 4; object-fit: contain; }
#capitolo-3 .offer { margin-block: 2.5rem; }
#capitolo-3 .faq details { margin-bottom: .55rem; }
#capitolo-3 .faq p { overflow-wrap: anywhere; }
#capitolo-3 .closing { margin-block: 2.5rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
#shortcut { position: static; width: fit-content; max-width: calc(100% - 2rem); margin: .65rem auto 0; padding: .3rem .55rem; background: transparent; color: inherit; }
#shortcut .button { min-height: 0; padding: .4rem .65rem; }
body.has-shortcut { padding-bottom: 0; }
@media (max-width: 680px) {
  .chapter-index, .path-intros, .editorial-section,
  #capitolo-3 .materials, #capitolo-3 .bonus, #capitolo-3 .groups { grid-template-columns: minmax(0, 1fr); }
  .chapter-index > a { grid-template-columns: minmax(5rem, 30%) minmax(0, 1fr); grid-template-rows: auto; }
  .chapter-index img { height: 100%; aspect-ratio: auto; }
  .chapter-index > a > div { padding: .75rem; }
}
