:root {
  --ink: #102f3a;
  --ink-deep: #09232c;
  --ink-soft: #34515b;
  --sky: #62c6dc;
  --sky-light: #dff4f7;
  --coral: #f27c62;
  --cream: #f5f1e8;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: #d9ded9;
  --line-dark: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 8px 20px rgba(9, 35, 44, 0.08);
  --shadow-lg: 0 24px 70px rgba(9, 35, 44, 0.22);
  --page: 1120px;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
a {
  font: inherit;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  color: var(--white);
  background: rgba(9, 35, 44, 0.97);
  box-shadow: none;
  backdrop-filter: blur(18px);
  transition: none;
}

.header.scrolled {
  transform: none;
}

.header-inner {
  width: min(calc(100% - 40px), var(--page));
  max-width: none;
  min-height: 72px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.header-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 14px;
}

.satchel-logo {
  position: static;
  inset: auto;
  z-index: auto;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 10px;
  background: var(--white);
  filter: none;
  transition: transform 160ms ease;
}

.satchel-logo:hover {
  transform: translateY(-1px);
}

.satchel-logo img {
  display: block;
  width: 34px;
  height: 28px;
  object-fit: contain;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-decoration: none;
}

.brand-kicker {
  color: var(--sky);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-name {
  margin-top: 4px;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--white);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 440px;
  height: 440px;
  top: -250px;
  right: -80px;
  border: 74px solid rgba(98, 198, 220, 0.13);
}

.hero::after {
  width: 260px;
  height: 260px;
  left: -190px;
  bottom: -180px;
  border: 50px solid rgba(242, 124, 98, 0.13);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 90px;
  align-items: end;
  width: min(calc(100% - 40px), var(--page));
  min-height: 540px;
  margin: 0 auto;
  padding: 92px 0 86px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #23798d;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sky);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  font-weight: 720;
  line-height: 0.93;
  letter-spacing: -0.065em;
  text-wrap: balance;
  text-shadow: none;
}

.hero-lede {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 1.16rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink-deep);
  background: var(--sky);
}

.button-primary:hover {
  background: #83d7e8;
}

.button-quiet {
  color: var(--white);
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.05);
}

.button-quiet:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.09);
}

.hero-note {
  padding: 26px 0 4px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-note-number {
  display: block;
  color: var(--white);
  font-size: 4.7rem;
  font-weight: 750;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.hero-note-label {
  display: block;
  margin-top: 9px;
  color: var(--sky);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-note-rule {
  display: block;
  width: 42px;
  height: 3px;
  margin: 24px 0 17px;
  background: var(--coral);
}

.hero-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  line-height: 1.65;
}

.content-section {
  width: min(calc(100% - 40px), var(--page));
  max-width: none;
  margin: 0 auto;
  padding: 100px 0;
}

.lessons-section {
  padding-bottom: 70px;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  gap: 70px;
  align-items: end;
  margin-bottom: 46px;
}

.section-intro h2 {
  max-width: 680px;
  margin: 0;
  color: var(--ink-deep);
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  font-weight: 720;
  line-height: 1.03;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-intro > p {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.lessons-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #c8d0cc;
  border-bottom: 1px solid #c8d0cc;
}

.lesson-card {
  min-width: 0;
  border-right: 1px solid #c8d0cc;
}

.lesson-card:last-child {
  border-right: 0;
}

.lesson-button {
  width: 100%;
  height: 100%;
  padding: 18px;
  border: 0;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  background: transparent;
  box-shadow: none;
  transition: background 160ms ease;
}

.lesson-button:hover {
  background: rgba(255, 255, 255, 0.6);
}

.lesson-thumbnail {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
}

.lesson-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.03);
  transition: transform 240ms ease, filter 240ms ease;
}

.lesson-button:hover .lesson-thumbnail img {
  transform: scale(1.03);
  filter: saturate(1) contrast(1);
}

.play-mark {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-deep);
  background: var(--sky);
  box-shadow: 0 8px 20px rgba(9, 35, 44, 0.26);
}

.play-mark::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}

.lesson-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
  padding: 18px 2px 12px;
}

.lesson-number {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.lesson-title {
  display: block;
  color: var(--ink-deep);
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.35;
}

.lesson-action {
  display: block;
  margin-top: 7px;
  color: #23798d;
  font-size: 0.78rem;
  font-weight: 750;
}

.guide-section {
  padding-top: 60px;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-card {
  min-height: 210px;
  padding: 30px;
  border: 1px solid #ccd3cf;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  color: var(--ink);
  background: var(--paper);
  box-shadow: none;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  border-color: #9eb4b5;
  box-shadow: var(--shadow-sm);
}

.guide-label {
  display: block;
  margin-bottom: 38px;
  color: #23798d;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.guide-card h3 {
  margin: 0;
  color: var(--ink-deep);
  font-size: 2.05rem;
  font-weight: 720;
  line-height: 1;
  letter-spacing: -0.045em;
}

.guide-card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.guide-arrow {
  width: 50px;
  height: 50px;
  border: 1px solid #b9c7c6;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 1.35rem;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.guide-card:hover .guide-arrow {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.song-library {
  background: var(--paper);
}

.song-library .content-section {
  padding-top: 110px;
}

.library-intro {
  margin-bottom: 38px;
}

.library-tools {
  position: sticky;
  top: 71px;
  z-index: 40;
  margin: 0 0 42px;
  padding: 18px;
  border: 1px solid #d4dad7;
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 28px rgba(9, 35, 44, 0.07);
  backdrop-filter: blur(16px);
}

.search-container {
  position: relative;
  display: block;
  max-width: none;
  margin: 0;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 17px;
  color: #48636b;
  font-size: 1.55rem;
  line-height: 1;
  transform: translateY(-54%) rotate(-18deg);
  pointer-events: none;
}

.search-input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px 0 51px;
  border: 1px solid #c7cfcb;
  border-radius: 8px;
  color: var(--ink);
  font-size: 1rem;
  background: var(--white);
  box-shadow: none;
  appearance: none;
}

.search-input::placeholder {
  color: #72858a;
}

.search-input:focus {
  border-color: #3997aa;
  outline: 3px solid rgba(98, 198, 220, 0.25);
  box-shadow: none;
}

.filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}

.alphabet-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 7px;
  margin: 0;
}

.alphabet-btn,
.favorites-btn {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cbd3cf;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 760;
  cursor: pointer;
  background: var(--white);
  box-shadow: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.alphabet-btn:hover,
.favorites-btn:hover {
  color: var(--ink);
  border-color: #91aaac;
  background: var(--sky-light);
  box-shadow: none;
  transform: none;
}

.alphabet-btn.active,
.favorites-btn.active {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.favorites-toggle {
  margin: 0;
  text-align: right;
}

.results-count {
  margin: 12px 2px 0;
  color: #6d8186;
  font-size: 0.75rem;
  font-weight: 650;
}

.song-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.section-header {
  grid-column: 1 / -1;
  margin: 34px 0 3px;
  padding: 0 0 11px;
  border-bottom: 1px solid #ccd3cf;
  border-radius: 0;
  color: #23798d;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  box-shadow: none;
}

.section-header:first-child {
  margin-top: 0;
}

.song-item {
  position: relative;
  min-width: 0;
  min-height: 98px;
  padding: 18px;
  border: 1px solid #d8ddda;
  border-radius: 10px;
  overflow: visible;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.song-item::before {
  display: none;
}

.song-item:hover {
  transform: translateY(-2px);
  border-color: #a9b9b7;
  box-shadow: var(--shadow-sm);
}

.song-item.favorite {
  border-color: #f0c6bd;
  background: #fff9f5;
}

.song-info {
  min-width: 0;
}

.song-title {
  margin: 0;
  overflow: hidden;
  color: var(--ink-deep);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-key {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: #6b7d81;
  font-size: 0.75rem;
}

.key-badge {
  min-width: 25px;
  padding: 2px 7px;
  border: 1px solid #bad7dc;
  border-radius: 999px;
  color: #176e81;
  font-size: 0.7rem;
  font-weight: 820;
  text-align: center;
  background: var(--sky-light);
}

.song-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}

.action-btn {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 780;
  cursor: pointer;
  background: var(--ink);
  box-shadow: none;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.action-btn:hover {
  color: var(--ink);
  background: var(--sky);
  box-shadow: none;
  transform: none;
}

.action-icon {
  font-size: 0.64rem;
}

.favorite-toggle {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #c8d0cc;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #50686e;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  background: var(--white);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.favorite-toggle:hover {
  color: var(--coral);
  border-color: #efb4a7;
  background: #fff3ee;
  transform: none;
}

.favorite-toggle.active {
  color: var(--white);
  border-color: var(--coral);
  background: var(--coral);
}

.no-results {
  padding: 70px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink-soft);
  text-align: center;
}

.no-results strong {
  color: var(--ink);
  font-size: 1.15rem;
}

.no-results span {
  margin-top: 6px;
  font-size: 0.9rem;
}

.site-footer {
  min-height: 160px;
  padding: 42px max(20px, calc((100vw - var(--page)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
  background: var(--ink-deep);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--sky);
  font-weight: 760;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.modal {
  position: fixed;
  inset: 0;
  width: min(100% - 32px, 960px);
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.modal[open] {
  display: block;
}

.modal::backdrop {
  background: rgba(4, 22, 28, 0.82);
  backdrop-filter: blur(6px);
}

.modal-content {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 3;
  min-height: 95px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--white);
  background: rgba(9, 35, 44, 0.98);
}

.modal-header h2 {
  margin: 2px 0 0;
  color: var(--white);
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  font-weight: 730;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.modal-eyebrow {
  margin: 0;
  color: var(--sky);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.modal-meta {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
}

.modal-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0 0 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  background: transparent;
  transition: background 160ms ease, transform 160ms ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: none;
}

.modal-body {
  padding: 32px;
}

.viewer-section-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.step-number {
  width: 38px;
  height: 38px;
  border: 1px solid #bdd4d5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #23798d;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  background: var(--sky-light);
}

.viewer-kicker {
  margin: 0 0 2px;
  color: var(--coral);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.viewer-section-heading h3 {
  margin: 0;
  color: var(--ink-deep);
  font-size: 1.1rem;
  font-weight: 750;
}

.youtube-container {
  position: relative;
  width: 100%;
  height: auto;
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #06161b;
  box-shadow: none;
}

.youtube-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

.sheet-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #d5dbd8;
}

.sheet-section.is-hidden {
  display: none;
}

.viewer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: -3px 0 15px 52px;
}

.viewer-link {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #bfd0cf;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 760;
  background: var(--white);
  text-decoration: none;
}

.viewer-link:hover {
  border-color: var(--ink);
  background: var(--sky-light);
}

.chords-pdf-container {
  min-height: 620px;
  overflow: hidden;
  border: 1px solid #cdd5d1;
  border-radius: 10px;
  background: var(--white);
}

.chords-pdf-container iframe {
  display: block;
  width: 100%;
  height: 72vh;
  min-height: 620px;
  border: 0;
}

.chords-pdf-container.resource-mode {
  min-height: 0;
  border: 0;
  background: transparent;
}

.lesson-resources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lesson-resource {
  min-height: 108px;
  padding: 18px;
  border: 1px solid #cdd5d1;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.lesson-resource:hover {
  border-color: #92adae;
  background: var(--sky-light);
}

.lesson-resource span {
  color: #23798d;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lesson-resource strong {
  font-size: 1rem;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 52px;
    min-height: 0;
    padding: 84px 0 72px;
  }

  .hero-note {
    max-width: 460px;
  }

  .lessons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lesson-card:nth-child(2) {
    border-right: 0;
  }

  .lesson-card:nth-child(-n + 2) {
    border-bottom: 1px solid #c8d0cc;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 69px;
  }

  .header-inner {
    width: min(calc(100% - 28px), var(--page));
    min-height: 64px;
  }

  .header-title-row {
    gap: 10px;
  }

  .satchel-logo {
    width: 38px;
    height: 38px;
  }

  .satchel-logo img {
    width: 30px;
    height: 25px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-kicker {
    font-size: 0.58rem;
  }

  .site-nav {
    gap: 15px;
  }

  .site-nav a {
    font-size: 0.75rem;
  }

  .site-nav a:nth-child(2) {
    display: none;
  }

  .hero-inner,
  .content-section {
    width: min(calc(100% - 28px), var(--page));
  }

  .hero-inner {
    padding: 66px 0 62px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15vw, 4.9rem);
    line-height: 0.94;
  }

  .hero-lede {
    margin-top: 24px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-note {
    padding-left: 20px;
  }

  .content-section {
    padding: 76px 0;
  }

  .lessons-section {
    padding-bottom: 50px;
  }

  .guide-section {
    padding-top: 50px;
  }

  .section-intro {
    margin-bottom: 34px;
  }

  .section-intro h2 {
    font-size: 2.45rem;
  }

  .lessons-grid {
    grid-template-columns: 1fr;
  }

  .lesson-card {
    border-right: 0;
    border-bottom: 1px solid #c8d0cc;
  }

  .lesson-card:nth-child(-n + 2) {
    border-bottom: 1px solid #c8d0cc;
  }

  .lesson-card:last-child {
    border-bottom: 0;
  }

  .lesson-button {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 17px;
    align-items: center;
    padding: 14px 0;
  }

  .lesson-copy {
    padding: 0;
  }

  .play-mark {
    right: 8px;
    bottom: 8px;
    width: 34px;
    height: 34px;
  }

  .guides-grid {
    grid-template-columns: 1fr;
  }

  .guide-card {
    min-height: 180px;
    padding: 24px;
  }

  .song-library .content-section {
    padding-top: 82px;
  }

  .library-tools {
    top: 63px;
    margin-inline: -7px;
    padding: 12px;
    border-radius: 10px;
  }

  .filter-row {
    display: block;
  }

  .alphabet-nav {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding: 1px 1px 6px;
    scrollbar-width: none;
  }

  .alphabet-nav::-webkit-scrollbar {
    display: none;
  }

  .alphabet-btn {
    flex: 0 0 auto;
  }

  .favorites-toggle {
    margin-top: 8px;
    text-align: left;
  }

  .favorites-btn {
    width: 100%;
  }

  .song-list {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .song-item {
    min-height: 92px;
    padding: 15px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .song-title {
    white-space: normal;
  }

  .song-actions {
    width: auto;
    justify-content: flex-end;
  }

  .action-btn {
    min-width: 44px;
    width: 44px;
    padding: 0;
  }

  .action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .action-icon {
    font-size: 0.72rem;
  }

  .site-footer {
    min-height: 0;
    padding-top: 34px;
    padding-bottom: 34px;
    flex-direction: column;
    align-items: flex-start;
  }

  .modal {
    inset: 0;
    width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
  }

  .modal-header {
    min-height: 84px;
    padding: 16px;
  }

  .modal-body {
    padding: 20px 14px 34px;
  }

  .sheet-section {
    margin-top: 32px;
    padding-top: 25px;
  }

  .viewer-actions {
    margin-left: 0;
  }

  .chords-pdf-container,
  .chords-pdf-container iframe {
    min-height: 68vh;
  }

  .chords-pdf-container iframe {
    height: 68vh;
  }
}

@media (max-width: 410px) {
  .site-nav a:nth-child(1) {
    display: none;
  }

  .lesson-button {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .lesson-title {
    font-size: 0.92rem;
  }

  .lesson-resources {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
