:root {
  --cl-accent: #f97316;
  --cl-accent-dark: #ea580c;
  --cl-accent-soft: #fff3e8;
  --cl-navy: #0f1f3d;
  --cl-text: #172033;
  --cl-muted: #657187;
  --cl-border: #e4e9f0;
  --cl-surface: #ffffff;
  --cl-surface-soft: #f7f9fc;
  --cl-bg: #f4f6f9;
  --cl-blue: #2563eb;
  --cl-success: #15803d;
  --cl-radius-sm: 10px;
  --cl-radius: 16px;
  --cl-radius-lg: 24px;
  --cl-shadow-sm: 0 5px 18px rgba(15, 31, 61, 0.06);
  --cl-shadow: 0 14px 42px rgba(15, 31, 61, 0.09);
  --cl-container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cl-text);
  background: var(--cl-bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cl-accent-dark); }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
svg { flex: 0 0 auto; }

.container { width: min(calc(100% - 36px), var(--cl-container)); margin-inline: auto; }
.narrow-container { max-width: 900px; }
.card {
  background: var(--cl-surface);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  box-shadow: var(--cl-shadow-sm);
}
.section { padding: 68px 0; }
.section--featured { padding-bottom: 10px; }
.site-main { min-height: 62vh; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
  z-index: 99999; top: 12px; left: 12px;
  width: auto; height: auto; padding: 10px 14px;
  clip: auto !important; overflow: visible;
  border-radius: 8px; background: #fff; box-shadow: var(--cl-shadow);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(228, 233, 240, 0.92);
  backdrop-filter: blur(14px);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr minmax(245px, 315px);
  align-items: center;
  gap: 32px;
  min-height: 76px;
}
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cl-navy); font-weight: 800; }
.site-brand:hover { color: var(--cl-navy); }
.site-brand__mark { display: inline-grid; width: 39px; height: 39px; color: var(--cl-accent); }
.site-brand__mark svg { width: 100%; height: 100%; }
.site-brand__text { font-size: 25px; letter-spacing: -0.8px; line-height: 1; }
.site-brand__text strong { color: var(--cl-accent); }
.site-brand__custom-logo .custom-logo-link, .site-brand__custom-logo .custom-logo { display: block; }
.site-brand__custom-logo .custom-logo { width: auto; max-width: 230px; max-height: 54px; }
.primary-navigation { justify-self: center; }
.nav-menu, .footer-menu { margin: 0; padding: 0; list-style: none; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: block; padding: 10px 13px; border-radius: 9px; color: #29344a; font-size: 14px; font-weight: 650; }
.nav-menu > li.current-menu-item > a, .nav-menu > li.current_page_item > a, .nav-menu > li > a:hover { color: var(--cl-accent-dark); background: var(--cl-accent-soft); }
.nav-menu .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 210px; margin: 0; padding: 8px; list-style: none;
  visibility: hidden; opacity: 0; transform: translateY(5px);
  border: 1px solid var(--cl-border); border-radius: 12px; background: #fff; box-shadow: var(--cl-shadow);
  transition: 0.18s ease;
}
.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.nav-menu .sub-menu a { display: block; padding: 9px 11px; border-radius: 8px; font-size: 14px; }
.nav-menu .sub-menu a:hover { background: var(--cl-surface-soft); }
.header-search { position: relative; }
.header-search input {
  width: 100%; height: 44px; padding: 0 46px 0 15px;
  color: var(--cl-text); background: var(--cl-surface-soft);
  border: 1px solid var(--cl-border); border-radius: 10px; outline: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.header-search input:focus { border-color: var(--cl-accent); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--cl-accent) 13%, transparent); }
.header-search button {
  position: absolute; top: 50%; right: 5px; display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer;
}
.header-search button:hover { color: var(--cl-accent); background: var(--cl-accent-soft); }
.mobile-menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; }
.mobile-menu-toggle__close { display: none; }

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #fffaf4 0%, #fff6e9 48%, #fff 100%);
  border-bottom: 1px solid #f1e7db;
}
.hero-section::after {
  content: ""; position: absolute; right: -70px; bottom: -160px;
  width: 470px; height: 470px; border: 38px solid rgba(249, 115, 22, 0.055); border-radius: 50%;
}
.hero-section__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 60px; align-items: center; min-height: 465px; padding-top: 58px; padding-bottom: 58px; }
.hero-section__content { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--cl-accent-dark); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-section h1 { max-width: 760px; margin: 12px 0 12px; color: var(--cl-navy); font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: -2.3px; }
.hero-section__content > p { max-width: 670px; margin: 0 0 27px; color: var(--cl-muted); font-size: 18px; }
.hero-search { display: flex; max-width: 720px; padding: 6px; background: #fff; border: 1px solid #eadfd1; border-radius: 14px; box-shadow: 0 16px 38px rgba(115, 70, 23, 0.1); }
.hero-search input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 0; outline: 0; color: var(--cl-text); background: transparent; }
.hero-search button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 112px; padding: 0 21px; color: #fff; background: var(--cl-accent); border: 0; border-radius: 10px; font-weight: 800; cursor: pointer; transition: 0.18s ease; }
.hero-search button:hover { background: var(--cl-accent-dark); transform: translateY(-1px); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; color: var(--cl-muted); font-size: 13px; }
.hero-stats span { position: relative; }
.hero-stats span:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -13px; width: 3px; height: 3px; background: #c6ced9; border-radius: 50%; }
.hero-stats strong { color: var(--cl-navy); }
.hero-popular { padding: 22px; box-shadow: var(--cl-shadow); }
.hero-section__decoration { position: absolute; z-index: 1; color: rgba(172, 120, 64, 0.17); pointer-events: none; }
.hero-section__decoration--notes { top: 52px; left: 3%; font-size: 56px; transform: rotate(-12deg); }
.hero-section__decoration--strings { right: 20%; bottom: -20px; width: 250px; height: 390px; border: 2px solid rgba(217, 158, 98, 0.11); border-radius: 50% 50% 20% 20%; transform: rotate(27deg); }
.hero-section__decoration--strings::before, .hero-section__decoration--strings::after { content: ""; position: absolute; left: 50%; top: -120px; width: 2px; height: 520px; background: rgba(217, 158, 98, 0.1); }
.hero-section__decoration--strings::after { transform: translateX(12px); }

/* Shared components */
.card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.card-heading h2 { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--cl-navy); font-size: 16px; }
.card-heading h2 .icon { color: var(--cl-accent); }
.ranking-list { display: grid; gap: 7px; margin: 0 0 12px; padding: 0; list-style: none; counter-reset: none; }
.ranking-list li { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 8px; min-width: 0; }
.ranking-list__number { display: grid; width: 26px; height: 26px; place-items: center; color: var(--cl-accent-dark); background: var(--cl-accent-soft); border-radius: 50%; font-size: 12px; font-weight: 800; }
.ranking-list a { min-width: 0; }
.ranking-list strong, .ranking-list small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ranking-list strong { color: var(--cl-text); font-size: 13px; line-height: 1.35; }
.ranking-list small { margin-top: 1px; color: var(--cl-muted); font-size: 11px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--cl-blue); font-size: 13px; font-weight: 750; }
.text-link:hover { color: var(--cl-accent-dark); }
.empty-note { color: var(--cl-muted); font-size: 13px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading h2 { margin: 4px 0 0; color: var(--cl-navy); font-size: clamp(25px, 3vw, 34px); line-height: 1.2; letter-spacing: -0.8px; }
.section-heading--compact { align-items: center; margin-bottom: 15px; }
.section-heading--compact h2 { margin: 0; font-size: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 10px; font-weight: 800; cursor: pointer; }
.button--accent { color: #fff; background: var(--cl-accent); }
.button--accent:hover { color: #fff; background: var(--cl-accent-dark); }
.button--soft { color: var(--cl-accent-dark); background: var(--cl-accent-soft); border-color: #fed7aa; }

/* Home */
.song-grid { display: grid; gap: 20px; }
.song-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.song-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.song-card { overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.song-card:hover { transform: translateY(-3px); border-color: #f4c59f; box-shadow: var(--cl-shadow); }
.song-card__media { display: block; aspect-ratio: 16/8.3; overflow: hidden; background: linear-gradient(135deg, #182b50, #2d518f); }
.song-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.song-card:hover .song-card__media img { transform: scale(1.035); }
.song-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: rgba(255,255,255,.75); background: radial-gradient(circle at 70% 25%, rgba(249,115,22,.6), transparent 28%), linear-gradient(135deg, #0e1e3c, #284a7a); }
.song-card__body { padding: 18px; }
.song-card__artist { color: var(--cl-accent-dark); font-size: 12px; font-weight: 800; }
.song-card__title { margin: 5px 0 14px; color: var(--cl-navy); font-size: 18px; line-height: 1.35; }
.song-card__title a { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.song-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--cl-muted); font-size: 12px; }
.song-card__meta strong { color: var(--cl-text); }
.difficulty-badge { display: inline-flex; padding: 4px 8px; border-radius: 7px; background: #eef2f7; color: var(--cl-muted); font-size: 10px; font-weight: 800; }
.difficulty-badge--pemula { background: #ecfdf3; color: var(--cl-success); }
.difficulty-badge--menengah { background: var(--cl-accent-soft); color: var(--cl-accent-dark); }
.difficulty-badge--mahir { background: #eef2ff; color: #4338ca; }
.home-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.song-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.song-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto 28px; align-items: center; gap: 12px; padding: 13px; }
.song-row__icon { display: grid; width: 46px; height: 46px; place-items: center; color: var(--cl-accent); background: var(--cl-accent-soft); border-radius: 11px; }
.song-row__content { min-width: 0; }
.song-row__content h3 { margin: 0; font-size: 14px; line-height: 1.35; }
.song-row__content h3 a { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.song-row__content p { margin: 3px 0 0; color: var(--cl-muted); font-size: 11px; }
.song-row__key { color: var(--cl-muted); font-size: 11px; }
.song-row__key strong { display: block; color: var(--cl-text); font-size: 13px; }
.song-row__arrow { display: grid; place-items: center; color: #a3adbc; }
.home-content-grid__aside, .site-sidebar { display: grid; gap: 18px; }
.sidebar-card { padding: 19px; }
.alphabet-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px; }
.alphabet-grid a { display: grid; min-height: 27px; place-items: center; color: #4b566a; background: var(--cl-surface-soft); border: 1px solid var(--cl-border); border-radius: 7px; font-size: 10px; font-weight: 750; }
.alphabet-grid a:hover { color: #fff; background: var(--cl-accent); border-color: var(--cl-accent); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list a { padding: 6px 9px; color: #4b566a; background: var(--cl-surface-soft); border: 1px solid var(--cl-border); border-radius: 999px; font-size: 11px; font-weight: 700; }
.chip-list a:hover { color: var(--cl-accent-dark); border-color: #fdba74; background: var(--cl-accent-soft); }
.request-card { padding: 22px; text-align: center; background: linear-gradient(145deg, #fff 0%, #fff6ec 100%); }
.request-card__icon { display: grid; width: 43px; height: 43px; margin: 0 auto 10px; place-items: center; color: #fff; background: var(--cl-accent); border-radius: 13px; font-size: 20px; box-shadow: 0 9px 18px rgba(249,115,22,.24); }
.request-card h2 { margin: 0 0 6px; color: var(--cl-navy); font-size: 17px; }
.request-card p { margin: 0 0 15px; color: var(--cl-muted); font-size: 12px; }
.request-card .button { width: 100%; font-size: 12px; }

/* Breadcrumb and page hero */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 20px 0; color: var(--cl-muted); font-size: 12px; }
.breadcrumbs a { display: inline-flex; align-items: center; gap: 5px; }
.breadcrumbs__separator { color: #bdc5d1; }
.page-hero { background: linear-gradient(115deg, #fffaf4, #fff 76%); border-bottom: 1px solid #f0e6d9; }
.page-hero--compact .container { padding-bottom: 38px; }
.page-hero h1 { margin: 8px 0 8px; color: var(--cl-navy); font-size: clamp(31px, 5vw, 48px); line-height: 1.12; letter-spacing: -1.2px; }
.page-hero p, .term-description { max-width: 760px; margin: 0 0 20px; color: var(--cl-muted); }
.search-form { position: relative; display: flex; max-width: 590px; }
.search-form label { width: 100%; }
.search-field { width: 100%; height: 50px; padding: 0 50px 0 15px; border: 1px solid var(--cl-border); border-radius: 11px; outline: 0; background: #fff; }
.search-field:focus { border-color: var(--cl-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cl-accent) 13%, transparent); }
.search-submit { position: absolute; top: 5px; right: 5px; display: grid; width: 40px; height: 40px; place-items: center; color: #fff; background: var(--cl-accent); border: 0; border-radius: 8px; cursor: pointer; }

/* Single song */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 26px; align-items: start; padding-bottom: 65px; }
.song-article { min-width: 0; padding: 24px; }
.song-header { padding-bottom: 18px; border-bottom: 1px solid var(--cl-border); }
.song-header__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.song-header h1 { margin: 6px 0 0; color: var(--cl-navy); font-size: clamp(26px, 4vw, 38px); line-height: 1.2; letter-spacing: -1px; }
.favorite-button { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; color: var(--cl-navy); background: #fff; border: 1px solid var(--cl-border); border-radius: 50%; cursor: pointer; }
.favorite-button:hover, .favorite-button.is-active { color: #fff; background: var(--cl-accent); border-color: var(--cl-accent); }
.favorite-button.is-active svg { fill: currentColor; }
.song-meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 20px; }
.song-meta-item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 4px 16px; border-left: 1px solid var(--cl-border); }
.song-meta-item:first-child { padding-left: 0; border-left: 0; }
.song-meta-item .icon { color: #67768e; }
.song-meta-item span { min-width: 0; }
.song-meta-item small, .song-meta-item strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.song-meta-item small { color: var(--cl-muted); font-size: 10px; }
.song-meta-item strong { color: var(--cl-text); font-size: 13px; }
.song-content { padding-top: 5px; }
.song-content > p:first-child:empty { display: none; }
.song-video-link { margin: 20px 0; }
.related-section { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--cl-border); }
.related-scroll { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.song-mini { min-width: 0; }
.song-mini__media { display: grid; aspect-ratio: 16/9; overflow: hidden; place-items: center; color: #fff; background: linear-gradient(135deg, #142746, #34558b); border-radius: 10px; }
.song-mini__media img { width: 100%; height: 100%; object-fit: cover; }
.song-mini h3 { margin: 8px 0 2px; font-size: 12px; line-height: 1.35; }
.song-mini h3 a { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.song-mini p { margin: 0; color: var(--cl-muted); font-size: 10px; }
.sidebar-latest { display: grid; gap: 12px; }
.sidebar-latest a { padding-bottom: 11px; border-bottom: 1px solid var(--cl-border); }
.sidebar-latest a:last-child { padding-bottom: 0; border-bottom: 0; }
.sidebar-latest strong, .sidebar-latest small { display: block; }
.sidebar-latest strong { color: var(--cl-text); font-size: 12px; line-height: 1.4; }
.sidebar-latest small { margin-top: 3px; color: var(--cl-muted); font-size: 10px; }

/* Plugin reader integration */
.song-article .chordbase-reader {
  --cb-border: var(--cl-border);
  --cb-surface: #fff;
  --cb-surface-muted: var(--cl-surface-soft);
  --cb-text: var(--cl-text);
  --cb-muted: var(--cl-muted);
  --cb-accent: var(--cl-blue);
  --cb-accent-soft: #eff6ff;
  margin: 20px 0 0;
  border-radius: 12px;
  box-shadow: none;
}
.song-article .chordbase-reader__toolbar { display: grid; grid-template-columns: auto auto; gap: 10px 16px; padding: 12px; }
.song-article .chordbase-reader__title { margin-right: 0; }
.song-article .chordbase-reader__controls { justify-self: end; }
.song-article .chordbase-reader__button { min-height: 36px; border-color: var(--cl-border); border-radius: 8px; font-size: 12px; }
.song-article .chordbase-reader__button:hover { border-color: var(--cl-accent); color: var(--cl-accent-dark); background: var(--cl-accent-soft); }
.song-article .chordbase-reader__status { grid-column: 1/-1; order: 4; padding-top: 8px; border-top: 1px solid var(--cl-border); }
.song-article .chordbase-reader__content { padding: 18px; color: #20293a; font-size: 16px; line-height: 1.82; background: #fff; }
.song-article .chordbase-reader__line--chord { color: var(--cl-blue); }
.chordlume-reader-extras { grid-column: 1/-1; display: flex; align-items: stretch; gap: 7px; }
.chordlume-reader-control { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 6px 13px; border: 1px solid var(--cl-border); border-radius: 8px; background: #fff; font-size: 11px; font-weight: 750; cursor: pointer; }
.chordlume-reader-control:hover, .chordlume-reader-control.is-active { color: var(--cl-accent-dark); background: var(--cl-accent-soft); border-color: #fdba74; }
.chordlume-reader-control.is-dark { margin-left: auto; color: #fff; background: var(--cl-navy); border-color: var(--cl-navy); }
.chordlume-reader-control.is-dark.is-active { color: #fff; background: #020617; }
.chordbase-reader.is-reader-dark { --cb-border: #334155; --cb-surface: #0f172a; --cb-surface-muted: #111c31; --cb-text: #e5edf7; --cb-muted: #94a3b8; --cb-accent: #60a5fa; --cb-accent-soft: #172554; }
.song-article .chordbase-reader.is-reader-dark .chordbase-reader__content { color: #e5edf7; background: #0f172a; }
.song-article .chordbase-reader.is-reader-dark .chordbase-reader__button, .song-article .chordbase-reader.is-reader-dark .chordlume-reader-control { color: #e5edf7; background: #172033; border-color: #334155; }
.song-article .chordbase-reader.is-reader-dark .chordbase-reader__line--chord { color: #60a5fa; }

/* Generic content */
.entry-content { color: #344056; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--cl-navy); line-height: 1.3; }
.entry-content a { color: var(--cl-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content blockquote { margin-inline: 0; padding: 14px 18px; border-left: 4px solid var(--cl-accent); background: var(--cl-accent-soft); }
.entry-content pre { max-width: 100%; overflow: auto; }
.page-article { padding: clamp(24px, 5vw, 50px); }
.page-article > header h1 { margin-top: 0; color: var(--cl-navy); font-size: clamp(30px, 5vw, 48px); line-height: 1.14; }
.entry-featured { overflow: hidden; margin: 25px 0; border-radius: 14px; }
.generic-card { padding: 22px; }
.generic-card h2 { margin: 7px 0 8px; color: var(--cl-navy); font-size: 20px; }
.generic-card p { color: var(--cl-muted); }
.empty-state { padding: 55px 30px; text-align: center; }
.empty-state__icon { display: grid; width: 62px; height: 62px; margin: 0 auto 16px; place-items: center; color: var(--cl-accent); background: var(--cl-accent-soft); border-radius: 20px; }
.empty-state h2, .empty-state h1 { margin: 0 0 8px; color: var(--cl-navy); }
.empty-state p { color: var(--cl-muted); }
.empty-state .search-form { margin: 20px auto 0; }
.empty-state--404 strong { display: block; color: var(--cl-accent); font-size: clamp(70px, 14vw, 140px); line-height: 1; }
.empty-state--404 .button { margin-top: 18px; }
.pagination { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 28px; }
.pagination .page-numbers { display: inline-grid; min-width: 40px; min-height: 40px; padding: 8px 12px; place-items: center; color: var(--cl-text); background: #fff; border: 1px solid var(--cl-border); border-radius: 9px; font-size: 13px; font-weight: 700; }
.pagination .current, .pagination a:hover { color: #fff; background: var(--cl-accent); border-color: var(--cl-accent); }

/* Widgets */
.chordlume-widget { padding: 19px; }
.widget-title { margin: 0 0 14px; color: var(--cl-navy); font-size: 16px; }
.chordlume-widget ul { margin: 0; padding: 0; list-style: none; }
.chordlume-widget li { padding: 7px 0; border-bottom: 1px solid var(--cl-border); font-size: 13px; }

/* Footer */
.site-footer { position: relative; background: #fff; border-top: 1px solid var(--cl-border); }
.site-footer__grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 55px; padding-top: 54px; padding-bottom: 38px; }
.site-brand--footer { margin-bottom: 15px; }
.site-footer__brand > p, .site-footer__column > p { max-width: 310px; margin: 0; color: var(--cl-muted); font-size: 13px; }
.site-footer__column h2, .footer-widget__title { margin: 0 0 13px; color: var(--cl-navy); font-size: 14px; }
.footer-menu { display: grid; gap: 7px; }
.footer-menu a { color: var(--cl-muted); font-size: 12px; }
.footer-menu a:hover { color: var(--cl-accent-dark); }
.social-links { display: flex; gap: 7px; margin-top: 16px; }
.social-links a { display: grid; width: 31px; height: 31px; place-items: center; color: var(--cl-muted); background: var(--cl-surface-soft); border: 1px solid var(--cl-border); border-radius: 50%; font-size: 11px; font-weight: 800; }
.social-links a:hover { color: #fff; background: var(--cl-accent); border-color: var(--cl-accent); }
.footer-request-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 15px; color: var(--cl-blue); font-size: 12px; font-weight: 800; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 25px; color: var(--cl-muted); border-top: 1px solid var(--cl-border); font-size: 11px; }
.site-footer__bottom p { margin: 0; }

/* WordPress alignment */
.alignwide { width: min(1120px, calc(100vw - 36px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--cl-muted); font-size: 12px; }
.sticky { border-color: #fed7aa; }
.gallery-caption, .bypostauthor { display: block; }

/* Responsive */
@media (max-width: 1100px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; gap: 20px; }
  .header-search { width: 46px; justify-self: end; }
  .header-search input { position: absolute; right: 0; top: calc(100% + 17px); width: 320px; visibility: hidden; opacity: 0; pointer-events: none; }
  .header-search:focus-within input { visibility: visible; opacity: 1; pointer-events: auto; }
  .header-search button { position: static; width: 42px; height: 42px; background: var(--cl-surface-soft); }
  .hero-section__grid { grid-template-columns: minmax(0,1fr) 300px; gap: 34px; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 285px; }
  .song-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; }
  .song-meta-item:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 960px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; min-height: 68px; }
  .mobile-menu-toggle { display: grid; grid-column: 3; grid-row: 1; width: 42px; height: 42px; place-items: center; border-radius: 9px; background: var(--cl-surface-soft); }
  .menu-open .mobile-menu-toggle__open { display: none; }
  .menu-open .mobile-menu-toggle__close { display: inline; }
  .primary-navigation {
    position: fixed; z-index: 999; top: 68px; left: 0; right: 0; bottom: 0;
    visibility: hidden; opacity: 0; transform: translateY(-7px); overflow-y: auto;
    padding: 20px 18px 60px; background: #fff; transition: 0.18s ease;
  }
  .menu-open .primary-navigation { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-menu { display: grid; gap: 5px; }
  .nav-menu > li > a { padding: 13px 14px; font-size: 16px; }
  .nav-menu .sub-menu { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; }
  .header-search { grid-column: 2; grid-row: 1; width: min(100%, 340px); justify-self: end; }
  .header-search input { position: static; width: 100%; visibility: visible; opacity: 1; pointer-events: auto; }
  .header-search button { position: absolute; }
  .hero-section__grid { grid-template-columns: 1fr; min-height: auto; padding-top: 55px; padding-bottom: 55px; }
  .hero-section__content { text-align: center; margin-inline: auto; }
  .eyebrow, .hero-stats { justify-content: center; }
  .hero-search { margin-inline: auto; }
  .hero-popular { display: none; }
  .song-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-content-grid, .content-layout { grid-template-columns: 1fr; }
  .home-content-grid__aside, .site-sidebar { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .site-sidebar .request-card { grid-column: 1/-1; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 24px), var(--cl-container)); }
  .section { padding: 46px 0; }
  .site-header__inner { grid-template-columns: 44px 1fr 44px; gap: 8px; }
  .site-brand { grid-column: 2; justify-self: center; }
  .site-brand__mark { width: 34px; height: 34px; }
  .site-brand__text { font-size: 21px; }
  .mobile-menu-toggle { grid-column: 1; }
  .header-search { grid-column: 3; width: 42px; }
  .header-search input { position: fixed; z-index: 1001; top: 75px; left: 12px; right: 12px; width: calc(100% - 24px); visibility: hidden; opacity: 0; pointer-events: none; box-shadow: var(--cl-shadow); }
  .header-search:focus-within input { visibility: visible; opacity: 1; pointer-events: auto; }
  .header-search button { position: static; }
  .hero-section__grid { padding-top: 42px; padding-bottom: 45px; }
  .hero-section h1 { font-size: clamp(36px, 11vw, 49px); letter-spacing: -1.7px; }
  .hero-section__content > p { font-size: 15px; }
  .hero-search { padding: 5px; }
  .hero-search input { height: 48px; padding-inline: 12px; }
  .hero-search button { min-width: 53px; padding: 0; }
  .hero-search button span { display: none; }
  .hero-stats { gap: 10px 16px; font-size: 11px; }
  .hero-stats span:not(:last-child)::after { right: -9px; }
  .section-heading { align-items: center; }
  .section-heading h2 { font-size: 25px; }
  .song-grid--three, .song-grid--two, .song-list-grid { grid-template-columns: 1fr; }
  .song-row { grid-template-columns: 42px minmax(0, 1fr) auto; }
  .song-row__icon { width: 42px; height: 42px; }
  .song-row__key { display: none; }
  .home-content-grid__aside, .site-sidebar { grid-template-columns: 1fr; }
  .song-article { padding: 16px; border-radius: 0; margin-inline: -12px; border-left: 0; border-right: 0; }
  .breadcrumbs { padding: 14px 0; overflow-x: auto; white-space: nowrap; }
  .song-header__title-row { gap: 10px; }
  .song-header h1 { font-size: 25px; }
  .favorite-button { width: 39px; height: 39px; flex-basis: 39px; }
  .song-meta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .song-meta-item { min-height: 61px; padding: 8px; border: 1px solid var(--cl-border) !important; border-radius: 12px; background: var(--cl-surface-soft); }
  .song-meta-item:nth-child(4) { grid-column: 1/3; }
  .song-meta-item .icon { display: none; }
  .song-meta-item small { font-size: 9px; }
  .song-meta-item strong { font-size: 11px; }
  .song-article .chordbase-reader { margin-inline: -4px; }
  .song-article .chordbase-reader__toolbar { grid-template-columns: 1fr; padding: 10px; }
  .song-article .chordbase-reader__title { display: none; }
  .song-article .chordbase-reader__controls { width: 100%; justify-self: stretch; }
  .song-article .chordbase-reader__button { flex: 1; }
  .song-article .chordbase-reader__status { order: 5; }
  .chordlume-reader-extras { display: grid; grid-template-columns: repeat(4, 1fr); }
  .chordlume-reader-control { min-width: 0; padding-inline: 5px; }
  .chordlume-reader-control.is-dark { margin-left: 0; }
  .chordlume-reader-control.is-scroll { grid-column: span 2; }
  .song-article .chordbase-reader__content { padding: 14px 12px; font-size: 14px; line-height: 1.75; }
  .related-scroll { display: flex; gap: 12px; margin-right: -16px; padding-right: 16px; overflow-x: auto; scroll-snap-type: x proximity; }
  .song-mini { flex: 0 0 142px; scroll-snap-align: start; }
  .page-hero--compact .container { padding-bottom: 30px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .site-footer__bottom { display: grid; text-align: center; }
}

@media (max-width: 430px) {
  .site-brand__text { font-size: 19px; }
  .hero-section h1 { font-size: 37px; }
  .song-meta-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .song-meta-item:nth-child(4) { grid-column: 1/3; }
  .chordlume-reader-control span { font-size: 10px; }
  .alphabet-grid { grid-template-columns: repeat(9, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* Artist directory */
.artist-directory__alphabet { max-width: 690px; grid-template-columns: repeat(14, 1fr); margin-top: 22px; }
.artist-directory__alphabet a.is-active { color: #fff; background: var(--cl-accent); border-color: var(--cl-accent); }
.artist-directory__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.artist-directory__item { display: grid; grid-template-columns: 43px minmax(0, 1fr); grid-template-rows: auto auto; gap: 1px 12px; align-items: center; padding: 16px; }
.artist-directory__item > span { grid-row: 1/3; display: grid; width: 43px; height: 43px; place-items: center; color: var(--cl-accent-dark); background: var(--cl-accent-soft); border-radius: 12px; font-weight: 900; }
.artist-directory__item strong { overflow: hidden; color: var(--cl-navy); white-space: nowrap; text-overflow: ellipsis; }
.artist-directory__item small { color: var(--cl-muted); }
.artist-directory__item:hover { transform: translateY(-2px); border-color: #fdba74; box-shadow: var(--cl-shadow); }
@media (max-width: 960px) { .artist-directory__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .artist-directory__alphabet { grid-template-columns: repeat(9, 1fr); } .artist-directory__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .artist-directory__grid { grid-template-columns: 1fr; } }
