/* WeLearnMusic — "Bright Classroom" magazine theme.
   Warm white pages, navy masthead, sunflower accents and a colour for every subject.
   Nunito (hosted) for headlines and interface, the system sans for reading. */

@font-face {
	font-family: "Nunito";
	src: url("../fonts/nunito.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #fffdf8;
	--soft: #fff6e5;
	--soft-2: #fdebc8;
	--line: #ecdfc8;
	--ink: #14213d;
	--ink-2: #22304f;
	--text: #1f2937;
	--muted: #596275;
	--brass: #f5b700;
	--brass-hi: #ffc93c;
	--brass-ink: #8a5a00;
	--pine: #23306b;
	--walnut: #1b2b50;
	--rosewood: #24396b;
	--paper: #fdf8ef;

	--rose: #c23d14;
	--green: #18773f;
	--blue: #2563c9;
	--plum: #7046c9;
	--teal: #0a7480;
	--rust: #ad4f08;
	--red: #c2255c;
	--tone-brass: #946200;

	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--display: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
	--max: 1240px;
	--pad: 20px;
	--gap: 28px;
	--r: 14px;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
::selection { background: var(--brass); color: var(--ink); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { top: 10px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- buttons, fields, search ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; cursor: pointer;
	font: 600 15px/1 var(--sans); text-decoration: none;
	transition: background-color 0.2s, color 0.2s, transform 0.12s;
}
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--rosewood); }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-hi); }
.btn--quiet, .btn--line { background: rgba(20, 33, 61, 0.08); color: inherit; }
.btn--quiet:hover, .btn--line:hover { background: rgba(20, 33, 61, 0.15); }
.btn--small { min-height: 38px; padding: 0 14px; }

.search { display: flex; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.search__field { flex: 1; min-width: 0; display: flex; }
.search input { width: 100%; min-width: 0; border: 0; padding: 11px 14px; font: 15px var(--sans); color: var(--ink); background: transparent; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(245, 183, 0, 0.25); }
.search__btn { border: 0; background: var(--ink); color: #fff; width: 48px; display: grid; place-items: center; cursor: pointer; flex: none; }
.search__btn:hover { background: var(--rosewood); }

.field { display: grid; gap: 6px; font-size: 13px; }
.field > span { font-weight: 600; }
.field select, .field input[type="text"], .field textarea { font: 15px var(--sans); padding: 10px 12px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; min-height: 44px; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field--check { display: flex; align-items: center; gap: 10px; }
.field--check input { width: 18px; height: 18px; accent-color: var(--ink); }
.field--range input { accent-color: var(--ink); width: 100%; min-height: 40px; }

.nl { display: flex; flex-wrap: wrap; gap: 8px; }
.nl__field { flex: 1 1 200px; display: block; }
.nl input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; font: 15px var(--sans); color: var(--ink); background: #fff; }
.nl .btn { height: 46px; }
.nl__hp { position: absolute; left: -9999px; }
.nl__msg { flex-basis: 100%; font-size: 13px; }

/* ---------- category badges & meta ---------- */
.cat { --tone: var(--ink); display: inline-block; font: 700 11.5px/1.2 var(--sans); letter-spacing: 0.07em; text-transform: uppercase; color: var(--tone); text-decoration: none; }
.cat:hover { text-decoration: underline; }
.cat--solid { background: var(--tone); color: #fff; padding: 6px 9px 5px; border-radius: 999px; }
.cat--solid:hover { text-decoration: none; filter: brightness(1.1); }
.cat--rose { --tone: var(--rose); }
.cat--green { --tone: var(--green); }
.cat--blue { --tone: var(--blue); }
.cat--plum { --tone: var(--plum); }
.cat--teal { --tone: var(--teal); }
.cat--rust { --tone: var(--rust); }
.cat--brass { --tone: var(--tone-brass); }
.cat--red { --tone: var(--red); }
.cat--pine { --tone: var(--pine); }

.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.meta__by { color: var(--ink-2); font-weight: 600; }
.meta__bits { display: inline-flex; flex-wrap: wrap; align-items: center; }
.meta__dot { margin: 0 6px; }
.ava { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--brass); font: 700 10px/1 var(--sans); letter-spacing: 0.02em; }
.ava--md { width: 42px; height: 42px; font-size: 13px; }
.ava--lg { width: 64px; height: 64px; font-size: 18px; }

/* ---------- masthead ---------- */
.mast__top { background: var(--ink); color: #fff; }
.mast__row { display: flex; align-items: center; gap: 28px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.logo__text { font: 800 23px/1 var(--display); letter-spacing: -0.015em; }
.mainnav { flex: 1; }
.mainnav__list { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.mainnav__list a { color: #eadfca; text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 0; display: inline-block; }
.mainnav__list a:hover, .mainnav__list .current-menu-item a { color: var(--brass-hi); }
.mast__search, .mast__burger { background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; display: grid; place-items: center; border-radius: 10px; }
.mast__search:hover, .mast__burger:hover { background: rgba(255, 255, 255, 0.1); }
.mast__burger { display: none; margin-left: -8px; }
.mast__cta { background: var(--brass); color: var(--ink); text-decoration: none; font: 700 14px/1 var(--sans); padding: 11px 16px; border-radius: 10px; flex: none; }
.mast__cta:hover { background: var(--brass-hi); }
.searchbox { background: var(--ink-2); padding: 14px 0; }
.searchbox .search { max-width: 640px; margin-left: auto; }

.catbar { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02); }
.catbar__list { list-style: none; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.catbar__list::-webkit-scrollbar { display: none; }
.catbar__list a { --tone: var(--ink); display: block; white-space: nowrap; padding: 14px 12px 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; border-bottom: 3px solid transparent; }
.catbar__list a:hover, .catbar__list a[aria-current] { border-bottom-color: var(--tone); color: var(--tone); }
.catbar__link--rose { --tone: var(--rose) !important; }
.catbar__link--green { --tone: var(--green) !important; }
.catbar__link--blue { --tone: var(--blue) !important; }
.catbar__link--plum { --tone: var(--plum) !important; }
.catbar__link--teal { --tone: var(--teal) !important; }
.catbar__link--rust { --tone: var(--rust) !important; }
.catbar__link--brass { --tone: var(--tone-brass) !important; }
.catbar__link--red { --tone: var(--red) !important; }

.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(13, 23, 48, 0.55); }
.drawer__panel { width: min(360px, 88vw); height: 100%; overflow-y: auto; background: #fff; padding: 18px 20px 32px; display: grid; gap: 14px; align-content: start; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__title { font: 800 20px var(--display); }
.drawer__close { background: none; border: 0; padding: 8px; cursor: pointer; }
.drawer__label { font: 700 12px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.drawer__list { list-style: none; display: grid; }
.drawer__list a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink-2); }
.drawer__count { color: var(--muted); font-weight: 500; font-size: 13px; }
body.has-drawer { overflow: hidden; }

/* ---------- sections, grids ---------- */
.block { padding-top: 44px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.sec-head__title { font: 800 24px/1.2 var(--display); letter-spacing: -0.01em; }
.sec-head__more { font-size: 14px; font-weight: 600; color: var(--brass-ink); text-decoration: none; white-space: nowrap; }
.sec-head__more:hover { text-decoration: underline; }
.topic--rose .sec-head { border-color: var(--rose); }
.topic--green .sec-head { border-color: var(--green); }
.topic--blue .sec-head { border-color: var(--blue); }
.topic--plum .sec-head { border-color: var(--plum); }
.topic--teal .sec-head { border-color: var(--teal); }
.topic--rust .sec-head { border-color: var(--rust); }
.topic--red .sec-head { border-color: var(--red); }
.topic--brass .sec-head { border-color: var(--brass); }

/* "Start here" learning paths */
.starts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.start { --tone: var(--blue); }
.start a { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 14px; align-items: start; height: 100%; padding: 18px 18px 18px 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--tone); text-decoration: none; transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.start a:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -18px rgba(20, 33, 61, 0.45); }
.start__icon { grid-row: span 3; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--tone); color: #fff; }
.start__who { font: 700 12px/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--tone); }
.start__title { font: 800 19px/1.25 var(--display); color: var(--ink); }
.start__line { font-size: 14px; line-height: 1.45; color: var(--muted); }
.start--rose { --tone: var(--rose); } .start--blue { --tone: var(--blue); } .start--green { --tone: var(--green); }
.start--plum { --tone: var(--plum); } .start--teal { --tone: var(--teal); } .start--red { --tone: var(--red); }
.hello { background: var(--soft); border-bottom: 1px solid var(--line); }
.hello__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 14px; }
.hello__text { font: 800 clamp(18px, 1vw + 12px, 22px)/1.3 var(--display); color: var(--ink); }
.hello__text span { color: var(--brass-ink); }
.hello__links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.hello__links a { display: inline-block; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink-2); }
.hello__links a:hover { border-color: var(--ink); }

.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: grid; gap: 18px; align-content: start; }
.stack--h { gap: 22px; }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--gap); }
.split__list .card--mini + .card--mini, .hero__side .card--mini + .card--mini { padding-top: 18px; border-top: 1px solid var(--line); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; padding-block: 36px 60px; align-items: start; }
.layout__main > .block:first-child { padding-top: 0; }
.home .layout { padding-top: 44px; }

/* ---------- cards ---------- */
.card { position: relative; }
.card__media { display: block; overflow: hidden; border-radius: var(--r); background: var(--soft-2); }
.card__media img, .card__media .noimg { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__title { font-family: var(--display); font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--brass-ink); }
.card__excerpt { color: var(--muted); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.card--v .card__body { display: grid; gap: 8px; justify-items: start; padding-top: 14px; }
.card--v .card__title { font-size: 20px; }
.grid--4 .card--v .card__title { font-size: 18px; }

.card--h { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow 0.25s, border-color 0.25s; }
.card--h:hover { border-color: #e2d3b6; box-shadow: 0 10px 30px -18px rgba(20, 33, 61, 0.35); }
.card--h .card__media { position: relative; border-radius: 0; min-height: 230px; }
.card--h .card__media img, .card--h .card__media .noimg { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.card--h .card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 26px; }
.card--h .card__title { font-size: 24px; line-height: 1.22; }
.card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; }
.card__level { color: var(--muted); }
.card__more { margin-left: auto; color: var(--brass-ink); font-weight: 700; text-decoration: none; }
.card__more:hover { text-decoration: underline; }

.card--mini { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; }
.card--mini .card__media { border-radius: 10px; }
.card--mini .card__media img, .card--mini .card__media .noimg { aspect-ratio: 4 / 3; }
.card--mini .card__body { display: grid; gap: 5px; }
.card--mini .card__title { font-size: 16px; line-height: 1.3; }
.card--mini .meta { font-size: 12.5px; }

.card--overlay { display: flex; align-items: flex-end; min-height: 500px; height: 100%; border-radius: var(--r); overflow: hidden; color: #fff; background: var(--walnut); }
.card--overlay .card__media { position: absolute; inset: 0; border-radius: 0; }
.card--overlay .card__media img { height: 100%; aspect-ratio: auto; }
.card--overlay .card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 23, 48, 0.94) 0%, rgba(13, 23, 48, 0.62) 42%, rgba(13, 23, 48, 0.05) 78%); }
.card--overlay .card__body { position: relative; display: grid; gap: 12px; justify-items: start; padding: 32px; max-width: 760px; }
.card--overlay .card__title { color: #fff; font-size: clamp(28px, 1.6vw + 16px, 40px); line-height: 1.15; }
.card--overlay .card__title a:hover { color: var(--brass-hi); }
.card--overlay .card__excerpt { color: rgba(255, 255, 255, 0.86); font-size: 16px; -webkit-line-clamp: 2; }
.card--overlay .meta { color: rgba(255, 255, 255, 0.78); }
.card--overlay .meta__by { color: #fff; }
.card--overlay .ava { background: var(--brass); color: var(--ink); }

.card--num { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: start; }
.card--num + .card--num { padding-top: 14px; border-top: 1px solid var(--line); }
.card__num { font: 800 26px/1 var(--display); color: var(--brass); }
.card--num .card__body { display: grid; gap: 4px; }
.card--num .card__title { font-size: 16px; line-height: 1.3; }

.card--video .card__media { position: relative; }
.card__play { position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--brass); color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }
.card--video:hover .card__play { background: var(--brass-hi); }

.noimg { display: flex; align-items: flex-end; padding: 16px; color: #fff; background: var(--pine); font: 800 18px/1.2 var(--display); }
.noimg--music-for-kids { background: var(--rose); }
.noimg--piano-lessons { background: var(--blue); }
.noimg--guitar-lessons { background: var(--green); }
.noimg--singing-lessons { background: var(--plum); }
.noimg--read-music { background: var(--teal); }
.noimg--lessons-apps-exams { background: var(--rust); }
.noimg--teachers-corner { background: var(--red); }
.noimg--instruments-for-learners { background: var(--tone-brass); }

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gap); padding-top: 28px; }
.hero__side { display: flex; flex-direction: column; }

.tiles { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tile { --tone: var(--tone-brass); }
.tile a { display: grid; gap: 6px; align-content: start; height: 100%; padding: 18px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: transform 0.2s var(--ease), border-color 0.2s, background-color 0.2s; }
.tile a:hover { transform: translateY(-2px); border-color: var(--tone); background: #fff; }
.tile__icon { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--tone); display: grid; place-items: center; margin-bottom: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.tile__name { font: 800 17px/1.25 var(--display); color: var(--ink); }
.tile__line { font-size: 13.5px; line-height: 1.45; color: var(--muted); }

.coachband { background: var(--pine); color: var(--paper); padding-block: 56px; margin-top: 8px; }
.coachband__head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.coachband__kicker { font: 700 12px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-hi); margin-bottom: 8px; }
.coachband__title { color: #fff; font: 800 clamp(26px, 1.4vw + 16px, 34px)/1.2 var(--display); letter-spacing: -0.01em; }
.coachband__note { color: rgba(253, 248, 239, 0.8); font-size: 16px; }
.coachgrid { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.coach { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 18px; border-radius: var(--r); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: inherit; text-decoration: none; transition: background-color 0.2s, transform 0.2s var(--ease); }
.coach:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.coach__img { display: block; margin: -8px -8px 6px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.coach__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.coach__name { font: 800 17px/1.25 var(--display); color: #fff; }
.coach__line { font-size: 13.5px; line-height: 1.45; color: rgba(253, 248, 239, 0.78); }
.coach__go { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 700; color: var(--brass-hi); }
.coachgrid--light { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.coachgrid--light .coach { background: var(--soft); border-color: var(--line); color: var(--text); }
.coachgrid--light .coach:hover { background: #fff; border-color: var(--pine); }
.coachgrid--light .coach__name { color: var(--ink); font-size: 20px; }
.coachgrid--light .coach__line { color: var(--muted); font-size: 15px; }
.coachgrid--light .coach__go { color: var(--green); }

/* ---------- page header band ---------- */
.pagehead { --tone: var(--ink); background: var(--soft); border-bottom: 1px solid var(--line); box-shadow: inset 0 4px 0 var(--tone); padding-block: 30px 32px; }
.pagehead--rose { --tone: var(--rose); }
.pagehead--green { --tone: var(--green); }
.pagehead--blue { --tone: var(--blue); }
.pagehead--plum { --tone: var(--plum); }
.pagehead--teal { --tone: var(--teal); }
.pagehead--rust { --tone: var(--rust); }
.pagehead--brass { --tone: var(--brass); }
.pagehead--red { --tone: var(--red); }
.pagehead--pine { --tone: var(--pine); }
.pagehead__title { font: 800 clamp(30px, 1.8vw + 18px, 44px)/1.12 var(--display); letter-spacing: -0.015em; }
.pagehead__desc { margin-top: 10px; max-width: 72ch; font-size: 17px; color: var(--muted); }
.pagehead__count { margin-top: 12px; font: 700 12px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tone); }
.pagehead__count:empty { display: none; }
.pagehead__search { margin-top: 18px; max-width: 560px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.pages { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
a.page-numbers:hover { border-color: var(--ink); }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-numbers.dots { border: 0; }
.empty { display: grid; gap: 18px; padding: 24px; background: var(--soft); border-radius: var(--r); }
.topics--inline { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; }

/* ---------- sidebar ---------- */
.side { display: grid; gap: 26px; align-content: start; }
.widget { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: #fff; }
.widget__title { font: 700 12.5px var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink); padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--ink); }
.widget > p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.widget__note { font-size: 13.5px; color: var(--muted); margin: -4px 0 10px; }
.widget__list { display: grid; gap: 14px; }
.widget__list .card--mini + .card--mini { padding-top: 14px; border-top: 1px solid var(--line); }
.widget__list .card--mini { grid-template-columns: 88px minmax(0, 1fr); }
.widget__list .card--mini .card__title { font-size: 15px; }
.widget--search { padding: 0; border: 0; }
.widget--search .widget__title { display: none; }
.widget--nl { background: var(--ink); border-color: var(--ink); color: #eadfca; }
.widget--nl .widget__title { color: #fff; border-color: var(--brass); }
.widget--nl > p { color: #e0d1b3; }
.widget--nl .nl { display: grid; }
.widget--nl .nl input { border-color: transparent; }
.coachlist, .topics, .toollinks { list-style: none; display: grid; }
.coachlist a, .topics a, .toollinks a { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.coachlist li:last-child a, .topics li:last-child a, .toollinks li:last-child a { border-bottom: 0; }
.coachlist a:hover, .toollinks a:hover { color: var(--brass-ink); }
.coachlist__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.topics a { justify-content: space-between; }
.topics__count { min-width: 28px; padding: 3px 7px; border-radius: 999px; background: var(--soft); font-size: 12px; color: var(--muted); text-align: center; }
.toollinks a { justify-content: space-between; }

/* ---------- newsletter band & footer ---------- */
.nlband { background: var(--brass); color: var(--ink); padding-block: 44px; }
.nlband__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.nlband__kicker { font: 700 12px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.nlband__title { font: 800 clamp(24px, 1.2vw + 16px, 32px)/1.2 var(--display); margin-bottom: 8px; }
.nlband__text p:last-child { font-size: 16px; max-width: 52ch; }
.nlband .nl input { border-color: rgba(20, 33, 61, 0.15); }
.nlband .btn--brass { background: var(--ink); color: #fff; }
.nlband .btn--brass:hover { background: var(--rosewood); }

.foot { background: #0d1730; color: #d8c8a8; padding-top: 56px; font-size: 14.5px; }
.foot a { color: #d8c8a8; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot__about { display: grid; gap: 14px; align-content: start; }
.foot__about p { max-width: 36ch; }
.logo--foot .logo__text { color: #fff; }
.foot__social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.foot__social a { display: inline-block; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; font-size: 13px; }
.foot__head { color: #fff; font: 700 12.5px var(--sans); letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 14px; }
.foot__col ul { list-style: none; display: grid; gap: 8px; }
.foot__base { margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 18px; font-size: 13px; color: #8f97a8; }
.foot__base-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- single post ---------- */
.post__head { display: grid; gap: 12px; justify-items: start; }
.post__title { font: 800 clamp(30px, 2.1vw + 18px, 44px)/1.15 var(--display); letter-spacing: -0.015em; }
.post__standfirst { font-size: 19px; line-height: 1.55; color: #3d4658; }
.post__meta { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 4px; padding-block: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post__by { font-weight: 700; color: var(--ink-2); font-size: 15px; }
.post__facts { font-size: 13.5px; color: var(--muted); }
.post__figure { margin-top: 24px; }
.post__figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.post__credit { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.post__credit a { color: inherit; }
.post__chat { margin-top: 24px; }
.post__body { margin-top: 28px; }

.tocbox { margin-top: 28px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 20px; }
.tocbox summary { cursor: pointer; font: 700 13px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.tocbox .toc__title { display: none; }
.toc__list { margin-top: 12px; padding-left: 22px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc__list li { break-inside: avoid; margin-bottom: 6px; }
.toc__list li::marker { color: var(--brass-ink); font-weight: 700; }
.toc__list a { color: var(--ink-2); text-decoration: none; }
.toc__list a:hover, .toc__list a.is-current { color: var(--brass-ink); text-decoration: underline; }

.post__share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; font-size: 13px; font-weight: 700; }
.post__share span { margin-right: 6px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; font-size: 12px; }
.post__share a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-2); }
.post__share a:hover { border-color: var(--ink); }
.authorbox { display: flex; gap: 18px; align-items: flex-start; margin-top: 24px; padding: 22px; background: var(--soft); border-radius: var(--r); }
.authorbox__name { font: 800 19px var(--display); color: var(--ink); }
.authorbox__bio { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.authorbox__link { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--brass-ink); text-decoration: none; }
.related { margin-top: 44px; }
.related .card--v .card__title { font-size: 18px; }
.post__comments { margin-top: 44px; }

/* ---------- article text ---------- */
.prose { font-family: var(--sans); font-size: 18px; line-height: 1.75; color: var(--text); max-width: 780px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1.25; margin-top: 1.9em; letter-spacing: -0.01em; scroll-margin-top: 72px; }
.prose h3 { font-family: var(--display); font-size: 21px; font-weight: 800; line-height: 1.3; margin-top: 1.6em; scroll-margin-top: 72px; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--brass-ink); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { color: var(--brass-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.prose a:hover { color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 4px solid var(--brass); font-size: 20px; font-style: italic; line-height: 1.5; }
.prose figure img, .prose > img { width: 100%; border-radius: var(--r); }
.prose figcaption, .prose .wp-caption-text { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose figcaption a { color: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.86em; background: var(--soft); padding: 0.1em 0.35em; border-radius: 6px; }
.prose pre.tab { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 15px; line-height: 1.4; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; overflow-x: auto; white-space: pre; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14.5px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.prose th { text-align: left; font-weight: 700; background: var(--soft); color: var(--ink); padding: 11px 14px; border-bottom: 1px solid var(--line); }
.prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose .practice, .prose .note { background: var(--soft); border-left: 4px solid var(--brass); border-radius: 0 var(--r) var(--r) 0; padding: 20px 22px; font-size: 17px; }
.prose .practice > * + *, .prose .note > * + * { margin-top: 0.6em; }
.prose .practice h3, .prose .note h3 { margin-top: 0; }
.prose details { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; }
.prose details + details { margin-top: 10px; }
.prose summary { cursor: pointer; font-family: var(--display); font-weight: 800; color: var(--ink); }
.prose details[open] summary { margin-bottom: 8px; }
.disclosure { font-family: var(--sans); font-size: 13.5px; color: var(--muted); font-style: italic; padding: 10px 14px; background: var(--soft); border-radius: var(--r); }
.credits-list { list-style: none; padding: 0 !important; font-family: var(--sans); font-size: 14px; }
.credits-list li + li { margin-top: 6px; }

/* gear blocks */
.gear { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brass); border-radius: var(--r); padding: 22px 24px 24px; }
.gear__best { font: 700 12px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tone-brass); }
.gear__name { font-family: var(--display); font-size: 22px !important; font-weight: 800; margin-top: 4px !important; }
.gear__specs { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 6px; }
.gear__body { margin-top: 12px; }
.gear__body > * + * { margin-top: 0.7em; }
.gear__body ul { padding-left: 1.2em; }
.gear__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.gear__buy .btn { text-decoration: none; color: var(--ink); }
.gear__price { font-family: var(--sans); font-size: 13.5px; color: var(--muted); }

/* light YouTube */
.yt__play { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: var(--walnut); aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); }
.yt__play img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.yt__play:hover img { transform: scale(1.03); }
.yt__btn { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: var(--ink); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }
.yt__play:hover .yt__btn { background: var(--brass-hi); }
.yt iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; display: block; border-radius: var(--r); }

/* AI coach chat */
.chat { background: var(--pine); color: var(--paper); border-radius: var(--r); padding: 24px; }
.chat__title { color: #fff; font: 800 24px/1.2 var(--display); }
.chat__note { font-size: 14px; margin-top: 6px; color: rgba(253, 248, 239, 0.8); }
.chat__note a { color: var(--brass-hi); }
.chat__window { margin-top: 16px; color: var(--ink); border-radius: 10px; }
.chat__window, .chat__window .mwai-chatbot, .chat__window .mwai-chatgpt-theme, .chat__window .mwai-timeless-theme, .chat__window .mwai-messages-theme { --mwai-spacing: 14px; --mwai-fontSize: 16px; --mwai-borderRadius: 4px; --mwai-fontColor: #14213d; --mwai-backgroundPrimaryColor: #ffffff; --mwai-backgroundSecondaryColor: #fff6e5; --mwai-backgroundHeaderColor: #fff6e5; --mwai-headerColor: #14213d; --mwai-backgroundUserColor: #fff6e5; --mwai-backgroundAiColor: #ffffff; --mwai-accentColor: #f5b700; --mwai-errorBackgroundColor: #24396b; --mwai-errorFontColor: #fdf8ef; }
.chat__window [class*="mwai-"] { font-family: var(--sans) !important; }
.mwai-window-box, .mwai-chatbot, .chat__window .mwai-window-box, .chat__window .mwai-chatbot { box-shadow: none !important; }
.chat__window .mwai-input textarea, .chat__window .mwai-input-text textarea { font-size: 16px !important; }

/* ---------- free tools ---------- */
.tile--note-trainer { --tone: var(--blue); }
.tile--ear-trainer { --tone: var(--plum); }
.tile--practice-timer { --tone: var(--rose); }
.tile--metronome { --tone: var(--green); }
.tile--chords { --tone: var(--teal); }
.tool__side { display: grid; gap: 14px; align-content: start; }
.tool__tip { font-size: 14px; opacity: 0.85; }
.tool--notes, .tool--ear, .tool--timer { grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr); align-items: start; gap: 28px; }
.scores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.tool--ear .scores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scores div { background: rgba(255, 255, 255, 0.7); border-radius: 12px; padding: 10px 12px; color: var(--ink); }
.scores dt { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.scores dd { margin: 2px 0 0; font: 800 24px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.btn--big { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn--letter { min-width: 48px; padding: 0 10px; min-height: 52px; font: 800 22px/1 var(--display); background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px #c9d9f5; border-radius: 14px; }
.btn--letter:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.btn--letter.is-right, .btn--choice.is-right { background: var(--green); color: #fff; box-shadow: none; }
.btn--letter.is-wrong, .btn--choice.is-wrong { background: var(--rose); color: #fff; box-shadow: none; }
.notes__board { display: grid; gap: 14px; background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 10px 30px -20px rgba(20, 33, 61, 0.45); }
.staff { width: 100%; max-width: 520px; margin-inline: auto; }
.staff__line { stroke: var(--ink); stroke-width: 1.4; }
.staff__note { fill: var(--ink); }
.staff__stem { stroke: var(--ink); stroke-width: 1.6; }
.staff__clef { fill: var(--ink); font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Music", "Bravura", serif; }
.notes__feedback, .ear__feedback { font-weight: 700; min-height: 1.6em; text-align: center; }
.notes__letters { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ear__main { display: grid; gap: 18px; }
.ear__feedback { text-align: left; font-size: 17px; }
.ear__choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.btn--choice { min-height: 50px; background: rgba(253, 248, 239, 0.12); color: inherit; box-shadow: inset 0 0 0 1px rgba(253, 248, 239, 0.28); border-radius: 12px; font-weight: 700; }
.btn--choice:hover { background: rgba(253, 248, 239, 0.22); }
.tool--ear .scores div { background: rgba(253, 248, 239, 0.12); color: var(--paper); }
.tool--ear .scores dt { color: rgba(253, 248, 239, 0.75); }
.timer__main { display: grid; gap: 16px; justify-items: center; text-align: center; }
.timer__ring { --p: 0; width: min(240px, 70vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--ink) calc(var(--p) * 360deg), rgba(255, 255, 255, 0.55) 0); }
.timer__ring::before { content: ""; grid-area: 1 / 1; width: 82%; aspect-ratio: 1; border-radius: 50%; background: #fffaf0; }
.timer__time { grid-area: 1 / 1; position: relative; font: 800 clamp(44px, 5vw, 60px)/1 var(--display); font-variant-numeric: tabular-nums; color: var(--ink); }
.timer__status { font-weight: 700; min-height: 1.5em; }
.timer__presets { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.btn--chip { min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.6); color: var(--ink); font-weight: 700; }
.btn--chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tool--timer.is-done .timer__ring { animation: pop 0.6s var(--ease); }
@keyframes pop { 40% { transform: scale(1.06); } }
.tool--timer .tool__side { background: #fffaf0; border-radius: 18px; padding: 18px; }
.chart__title { font: 800 19px/1.2 var(--display); }
.chart { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.chart__day { display: grid; gap: 4px; justify-items: center; padding: 8px 2px; border-radius: 12px; background: var(--soft); font-size: 12px; }
.chart__day.is-today { box-shadow: inset 0 0 0 2px var(--ink); }
.chart__name { font-weight: 800; }
.chart__stars { display: flex; flex-wrap: wrap; justify-content: center; min-height: 22px; }
.sticker { color: #e0a100; font-size: 18px; line-height: 1; }
.sticker--empty { color: #c9bda6; }
.chart__min { color: var(--muted); font-size: 11px; }
.chart__summary { font-size: 14px; }
.toolnav { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.toolnav a { display: inline-block; padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.toolnav a:hover { border-color: var(--ink); }
.toolstack { display: grid; gap: 24px; padding-block: 32px 56px; }
.toolpage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 36px; padding: 34px; border-radius: 10px; scroll-margin-top: 72px; }
.toolpage--note-trainer { background: #e9f1ff; color: var(--ink); }
.toolpage--ear-trainer { background: var(--pine); color: var(--paper); }
.toolpage--practice-timer { background: var(--brass); color: var(--ink); }
.toolpage--metronome { background: var(--ink); color: var(--paper); }
.toolpage--chords { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.toolpage--ear-trainer .btn--quiet, .toolpage--metronome .btn--quiet { background: rgba(253, 248, 239, 0.14); color: inherit; }
.toolpage--ear-trainer .btn--ink, .toolpage--metronome .btn--ink { background: var(--brass); color: var(--ink); }
.toolpage--ear-trainer .field select, .toolpage--metronome .field select { border-color: transparent; }
.toolpage--metronome .field--range input, .toolpage--metronome .field--check input { accent-color: var(--brass); }
.toolpage--practice-timer .btn--quiet { background: rgba(20, 33, 61, 0.12); }
.toolpage :is(h2, h3, h4) { color: inherit; }
.toolpage__intro { display: grid; gap: 12px; align-content: start; }
.toolpage__title { font: 800 30px/1.15 var(--display); color: inherit; }
.toolpage__intro p { max-width: 30ch; font-size: 16px; }
.tool { display: grid; gap: 22px; }
.tool__form, .tool__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; }

.metro__readout { font: 800 clamp(64px, 6vw, 104px)/0.9 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.metro__readout span { font-size: 22px; letter-spacing: 0; }
.metro__marking { font-family: var(--display); font-style: italic; font-size: 22px; margin-top: 8px; }
.metro__beats { display: inline-flex; gap: 8px; margin: 18px 0 0; }
.metro__beats span { width: 18px; height: 18px; border-radius: 50%; background: currentColor; opacity: 0.22; transition: opacity 0.08s; }
.metro__beats span.is-on { opacity: 1; }
.metro__controls { display: grid; grid-template-columns: auto auto auto 1fr; gap: 12px 10px; align-items: end; }
.metro__controls .field--range { grid-column: 1 / -1; }
.metro__controls .field:not(.field--range):not(.field--check) { grid-column: 1 / span 2; }
.metro__controls .field--check { grid-column: 3 / -1; }


.chords__name { font: 800 22px var(--display); }
.chords__steps { font-size: 14px; color: var(--muted); }
.keys { position: relative; height: 170px; display: flex; user-select: none; }
.keys__white { flex: 1; background: #fff; margin-right: 3px; border-radius: 0 0 4px 4px; box-shadow: inset 0 0 0 1px var(--line); position: relative; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 10px; font-size: 13px; color: var(--muted); }
.keys__black { position: absolute; top: 0; width: 4.2%; height: 60%; background: var(--ink); border-radius: 0 0 3px 3px; z-index: 2; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; font-size: 12px; color: #d8c8a8; }
.keys .is-on { background: var(--brass); color: var(--ink); font-weight: 700; }
.keys .is-root { background: var(--rose); color: #fff; }



/* ---------- comments ---------- */
.comments { max-width: 780px; }
.comments__title { font: 800 22px var(--display); margin-bottom: 18px; }
.comments__list { list-style: none; display: grid; gap: 22px; margin-bottom: 36px; }
.comments__list .children { list-style: none; padding-left: 28px; margin-top: 18px; }
.comment-meta { font-size: 13px; color: var(--muted); }
.comment-meta img { display: inline-block; vertical-align: middle; border-radius: 50%; margin-right: 8px; }
.comment-respond { background: var(--soft); border-radius: var(--r); padding: 22px; }
.comment-respond label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.comment-respond input:not([type="submit"]):not([type="checkbox"]), .comment-respond textarea { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font: 15px var(--sans); }
.comment-respond input[type="submit"] { background: var(--ink); color: #fff; border: 0; border-radius: 10px; min-height: 44px; padding: 0 18px; font-weight: 700; cursor: pointer; }
.comment-respond p { margin-bottom: 14px; }
.comments__reply { font: 800 20px var(--display); margin-bottom: 12px; }

/* ---------- contact form, WooCommerce ---------- */
.wpcf7 input:not([type="submit"]), .wpcf7 textarea { width: 100%; font: 15px var(--sans); padding: 11px 13px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.wpcf7 input[type="submit"] { background: var(--ink); color: #fff; border: 0; border-radius: 10px; min-height: 46px; padding: 0 20px; font: 700 15px var(--sans); cursor: pointer; }
.wpcf7 label { font-family: var(--sans); font-size: 14px; font-weight: 600; }
.woo { padding-block: 36px 60px; }
.woo .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.woo .product_title { font: 800 34px var(--display); }
.woo .price { font-size: 22px; font-weight: 700; color: var(--ink) !important; }
.woo .button, .woo button.button { background: var(--ink) !important; color: #fff !important; border-radius: 10px !important; padding: 14px 22px !important; font-weight: 700 !important; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	.card__media img, .tile a, .coach, .yt__play img { transition: none !important; }
	.card:hover .card__media img { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.coachgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; }
	.mainnav__list { gap: 4px 16px; }
	.mainnav__list a { font-size: 14.5px; }
}
@media (max-width: 960px) {
	.mainnav, .mast__cta { display: none; }
	.mast__burger { display: grid; }
	.mast__row { gap: 12px; min-height: 58px; }
	.logo { margin-right: auto; }
	.logo__text { font-size: 21px; }
	.hero { grid-template-columns: minmax(0, 1fr); }
	.card--overlay { min-height: 420px; }
	.layout { grid-template-columns: minmax(0, 1fr); }
	.side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.widget--search { grid-column: 1 / -1; }
	.coachband__head { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.nlband__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.foot__about { grid-column: 1 / -1; }
	.toolpage { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 26px; }
	.tool--notes, .tool--ear, .tool--timer { grid-template-columns: minmax(0, 1fr); }
	.starts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	:root { --pad: 16px; --gap: 22px; }
	.grid--3 { grid-template-columns: minmax(0, 1fr); }
	.split { grid-template-columns: minmax(0, 1fr); }
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.coachgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.coachgrid--light { grid-template-columns: minmax(0, 1fr); }
	.card--h { grid-template-columns: minmax(0, 1fr); }
	.card--h .card__media { min-height: 0; }
	.card--h .card__media img, .card--h .card__media .noimg { position: static; aspect-ratio: 16 / 10; height: auto; }
	.card--h .card__body { padding: 18px; }
	.card--h .card__title { font-size: 21px; }
	.card--overlay { min-height: 380px; }
	.card--overlay .card__body { padding: 20px; }
	.side { grid-template-columns: minmax(0, 1fr); }
	.toc__list { columns: 1; }
	.prose { font-size: 17.5px; }
	.prose h2 { font-size: 24px; }
	.post__standfirst { font-size: 17.5px; }
	.block { padding-top: 36px; }
	.metro__controls { grid-template-columns: auto auto auto; }
	.metro__controls .field:not(.field--range) { grid-column: 1 / -1 !important; }
	.foot__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.sec-head__title { font-size: 21px; }
}
@media (max-width: 420px) {
	.grid--4 { grid-template-columns: minmax(0, 1fr); }
	.coachgrid { grid-template-columns: minmax(0, 1fr); }
	.tile a { padding: 14px; }
	.card--mini { grid-template-columns: 96px minmax(0, 1fr); }
	.btn--letter { min-width: 40px; min-height: 46px; font-size: 19px; }
	.notes__board, .tool--timer .tool__side { padding: 12px; }
	.chart { gap: 3px; }
	.toolpage { padding: 20px 16px; }
	.starts { grid-template-columns: minmax(0, 1fr); }
}
