/* Home routes and the practice map share the site's paper and sage palette. */
.hero-collage .hero-promise { color: #576551; font-size: 12px; line-height: 1.6; margin: 21px 0 0; }
.business-card .hero.hero-collage h1 { font-size: clamp(38px, 5.05vw, 67px); line-height: 1.03; letter-spacing: -.045em; margin-bottom: 20px; }
.hero-collage .hero-intro { line-height: 1.65; }
.home-section { padding-block: clamp(23px, 4.2vw, 52px); scroll-margin-top: 22px; }
.home-section-heading { max-width: 690px; margin-bottom: 24px; }
.home-section-heading .eyebrow, .skill-map-head .eyebrow { margin: 0 0 10px; }
.home-section-heading h2, .skill-map h2 { margin: 0; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.04em; }
.home-section-heading p:not(.eyebrow), .skill-map-head > p { color: var(--muted); margin: 11px 0 0; line-height: 1.55; }
.start-grid, .channel-grid, .watch-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.channel-grid, .watch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.start-card, .watch-card { display: flex; flex-direction: column; border-radius: 14px; border: 1px solid #dce0d2; background: #eef0e5; color: var(--ink); min-width: 0; text-decoration: none; }
.start-card { gap: 10px; padding: 19px; }
.start-card:nth-child(odd) { background: #f2eee2; }
.start-label { display: block; color: #53654e; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.start-card strong, .watch-copy strong { font: 600 clamp(20px, 2.2vw, 28px)/1.12 var(--serif); letter-spacing: -.035em; }
.start-description, .watch-copy p { color: #5a6557; font-size: 14px; line-height: 1.5; margin: 0; }
.start-action { display: block; margin-top: auto; padding-top: 6px; font-size: 13px; color: #33543c; font-weight: 650; }
.start-card:hover, .watch-card:hover, .skill-tile:hover { border-color: #899b80; background: #e7ebde; }
.start-card:focus-visible, .watch-card:focus-visible, .skill-tile:focus-visible, .lesson-exercise textarea:focus-visible, .exercise-actions button:focus-visible { outline: 2px solid #46664b; outline-offset: 3px; }
.watch-card { overflow: hidden; background: #fbfaf5; }
.watch-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #e1e7d7; }
.watch-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.watch-play { position: absolute; bottom: 11px; right: 11px; border-radius: 50%; background: #294838; color: white; display: grid; place-items: center; width: 36px; height: 36px; font-size: 12px; }
.watch-copy { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 17px; }
.reading-card { border: 1px solid #dedbcf; background: #f2eee2; border-radius: 14px; padding: clamp(18px, 3vw, 29px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; }
.reading-card h3 { font: 600 28px/1.12 var(--serif); margin: 10px 0; }
.reading-card p { color: #56634f; margin: 0; line-height: 1.6; font-size: 14px; }
.reading-try { align-self: center; border-left: 1px solid #bdc6ae; padding: 3px 0 3px 16px; }
.reading-try strong { display: block; margin-bottom: 7px; }
#support .support-copy { align-self: center; }
.skill-map { margin: 32px 0 42px; }
.skill-map-head { display: flex; justify-content: space-between; gap: 17px; align-items: end; margin-bottom: 20px; }
.skill-map-head > p { max-width: 320px; font-size: 14px; }
.skill-progress { padding: 16px 18px; margin-bottom: 14px; border: 1px solid #d8dfcf; border-radius: 12px; background: #edf0e6; }
.skill-progress-label { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; font-weight: 650; }
.skill-progress-label output { color: #52634d; font-size: 13px; font-weight: 500; }
.skill-progress progress { display: block; margin: 10px 0 7px; width: 100%; height: 9px; accent-color: #446c50; border-radius: 12px; }
.skill-progress p { color: #53644f; font-size: 12px; margin: 0; }
.skill-grid { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 0; margin: 0; gap: 10px; }
.skill-tile { display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 117px; padding: 13px 11px; border-radius: 12px; border: 1px solid #d9ded1; background: #fbfaf5; color: var(--ink); text-decoration: none; }
.skill-tile strong { font-size: 14px; line-height: 1.2; overflow-wrap: anywhere; }
.skill-tile span:last-child { color: #56674f; font-size: 11px; line-height: 1.35; }
.skill-number { color: #47664c; font: 24px/1.05 var(--serif); }
.skill-tile-done { background: #e1eadb; border-color: #a7b99d; }
.skill-tile-upcoming { border-style: dashed; background: #f1efe7; }
.lesson-exercise { padding: clamp(14px, 2.8vw, 24px); margin-top: 17px; background: #f1f0e6; border: 1px solid #dce0d2; border-radius: 12px; scroll-margin-top: 20px; }
.lesson-exercise .start-label { margin: 0 0 8px; }
.exercise-instruction { font-size: 15px; line-height: 1.55; color: #364b3c; margin: 0 0 13px; max-width: 700px; }
.exercise-note { display: block; margin-bottom: 6px; color: var(--ink); font-size: 13px; }
.exercise-note span { color: #596553; }
.lesson-exercise textarea { width: 100%; min-height: 62px; resize: vertical; padding: 10px 12px; border: 1px solid #b7c3ae; border-radius: 8px; background: #fffefa; color: var(--ink); font: 16px/1.5 var(--sans); }
.exercise-actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; margin-top: 9px; }
.exercise-actions button { font-family: inherit; min-height: 44px; cursor: pointer; }
.exercise-actions button[aria-pressed="true"] { background: #e1eadb; }
.exercise-reward { color: #39513e; padding: 6px 10px; border-radius: 20px; background: #e2e9d9; font-size: 12px; }
[data-complete][hidden], [data-reward][hidden], [data-progress-panel][hidden] { display: none; }

@media (max-width: 960px) {
  .start-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .business-card .hero.hero-collage h1 { font-size: clamp(31px, 9.6vw, 46px); }
  .hero-collage .hero-actions .button { max-width: 100%; white-space: normal; }
  .hero-collage .hero-promise { margin-top: 14px; }
  .hero-collage-art { width: min(100%, 168px); }
  .home-section-heading { margin-bottom: 16px; }
  .start-grid { gap: 10px; }
  .start-card { padding: 13px; gap: 8px; }
  .start-card strong { font-size: clamp(18px, 5.2vw, 23px); }
  .start-description, .start-action { font-size: 12px; }
  .watch-grid, .channel-grid, .reading-card { grid-template-columns: minmax(0, 1fr); }
  .skill-map { margin-block: 22px 30px; }
  .skill-map-head { align-items: start; flex-direction: column; gap: 0; margin-bottom: 14px; }
  .skill-grid { gap: 8px; }
  .skill-tile { padding: 10px 8px; min-height: 106px; }
  .skill-tile strong { font-size: 12px; }
  .exercise-actions .button { white-space: normal; }
}
@media (max-width: 360px) {
  .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The home page introduces the author and the skills library. */
.business-card .hero.hero-collage h1 { margin-bottom: 12px; }
.hero-collage .hero-tagline {
  max-width: 23ch;
  margin: 0 0 19px;
  color: var(--ink);
  font: 600 clamp(23px, 3vw, 36px)/1.13 var(--serif);
  letter-spacing: -.025em;
}
.hero-collage .hero-intro { max-width: 51ch; margin-bottom: 10px; }
.hero-collage .hero-intro + .hero-actions { margin-top: 20px; }
#library h3 { margin: 0; font: 600 clamp(20px, 2.4vw, 28px)/1.15 var(--serif); letter-spacing: -.035em; overflow-wrap: anywhere; }
#library .start-description { margin: 0; }
#library .library-available { background: #e7ebde; border-color: #a6b29c; }
#library .library-available:hover { background: #dce5d4; border-color: #899b80; }
#library .library-planned { background: #f2eee2; border-color: #ded8c9; }
@media (max-width: 600px) {
  .business-card .site-header nav, .practice-page .site-header nav { gap: clamp(9px, 3vw, 22px); }
}

.business-card .hero.hero-intro-only {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}
.hero-intro-only .hero-copy { max-width: 760px; }
.hero-intro-only .hero-intro { margin-inline: auto; }
.hero-intro-only .hero-actions { align-items: center; justify-content: center; }
.about-portrait { margin: 0; max-width: 390px; width: 100%; align-self: center; justify-self: center; }
.about-portrait img { display: block; width: 100%; height: auto; }
.about-copy .about-role { font-weight: 700; }
.site-data-note {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  color: var(--muted);
}
.site-data-note h2 { margin: 0 0 8px; font: 600 clamp(21px, 3vw, 30px)/1.2 var(--serif); }
.site-data-note p { margin: 0; max-width: 75ch; line-height: 1.65; }
@media (max-width: 600px) {
  .about-portrait { order: 2; max-width: 270px; }
}
