    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --hv: "Helvetica Neue", Helvetica, Arial, sans-serif;
      --rosa:   #C9918A;
      --blue:   #9BAEC8;
      --sec-blue: #4472c4;
      --refrain: #efebff;
      --tp:  #111;
      --ts:  #555;
      --tt:  #999;
      --brd: #e0e0e0;
      --bg:  #fff;
      --bg2: #f7f7f5;
      --bgw: #faf7f3;
      --bgwt:#ede9e0;
    }
    html { scroll-behavior: smooth; }
    body { font-family: "DM Sans", sans-serif; color: var(--tp); background: var(--bg); -webkit-font-smoothing: antialiased;  }
    .page-wrap { max-width: 1100px; margin: 0 auto; }

    /* NAV */
    .nav { border-bottom: 0.5px solid var(--brd); position: sticky; top: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); z-index: 100; }
    .nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 16px 40px; }
    /* Lemon Milk (wordmark) and Nexa (subtext) — self-hosted, licensed .woff2 files.
       Upload LemonMilkLight.woff2 and NexaLight.woff2 to /fonts/ on the server. */
    @font-face {
      font-family: "Lemon Milk";
      font-weight: 300;
      src: url("../fonts/LemonMilkLight.woff2") format("woff2");
      font-display: swap;
    }
    @font-face {
      font-family: "Nexa";
      font-weight: 300;
      src: url("../fonts/NexaLight.woff2") format("woff2");
      font-display: swap;
    }
    .nav-logo { display: flex; align-items: center; gap: 11.5px; text-decoration: none; }
    .nav-wordmark { font-family: "Lemon Milk", "DM Sans", sans-serif; font-weight: 300; font-size: 18.4px; letter-spacing: 1.7px; text-transform: uppercase; color: var(--rosa); }
    .nav-wordmark-sub { font-family: "Nexa", "DM Sans", sans-serif; font-weight: 300; font-size: 9.2px; letter-spacing: 2.9px; text-transform: uppercase; color: var(--blue); margin-top: 1px; }
    .nav-wordmark-stack { display: flex; flex-direction: column; line-height: 1; }
    .nav-right { display: flex; align-items: center; gap: 10px; }
    .lang-toggle { display: flex; border: 0.5px solid var(--brd); border-radius: 100px; overflow: hidden; font-size: 11px; }
    .lang-btn { padding: 5px 13px; cursor: pointer; color: var(--tt); background: none; border: none; font-family: "DM Sans", sans-serif; }
    .lang-btn.active { background: var(--tp); color: var(--bg); font-weight: 500; }

  :root {
    --accent: #315b9d;
    --line: var(--brd);
    --rose-action: #9b4e48;
    --rose-hover: #823d38;
    --rose-tint: #fbefed;
  }
  body { line-height: 1.6; background: var(--bg2); }
  main { max-width: 1100px; margin: auto; padding: clamp(20px, 4vw, 40px); }
  .nav-inner { padding-inline: clamp(20px, 4vw, 40px); }
  .guide-back { display: inline-block; margin-bottom: 14px; color: var(--rose-action); }
  .guide-intro { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 18px; }
  h1, h2, p { margin: 0; }
  h1 { font: 400 clamp(1.9rem, 5vw, 3.5rem)/1.08 "DM Serif Display", serif; margin-bottom: 8px; }
  h2 { font-size: 1.35rem; line-height: 1.25; }
  .guide-intro p, .muted { color: var(--ts); }
  .steps, .controls, .beats { display: flex; flex-wrap: wrap; gap: 8px; }
  button { font: inherit; color: var(--accent); background: var(--bg); border: 1px solid var(--line); border-radius: 100px; padding: 8px 14px; min-height: 44px; cursor: pointer; }
  button[aria-current] { background: var(--accent); color: white; border-color: var(--accent); }
  .primary { background: var(--rose-action); color: white; border-color: var(--rose-action); }
  .primary:hover { background: var(--rose-hover); border-color: var(--rose-hover); }
  .song-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
  .song-choice button { border-radius: 12px; text-align: left; color: var(--tp); padding: 10px 14px; }
  .song-choice button:hover { border-color: var(--rosa); }
  .song-choice button[aria-pressed="true"] { border-color: var(--rose-action); background: var(--rose-tint); }
  .song-choice button[aria-pressed="true"] strong { color: var(--rose-action); }
  .song-choice strong, .song-choice span { display: block; }
  .song-choice span { color: var(--ts); font-size: .875rem; line-height: 1.35; }
  .steps button { font-size: .875rem; }
  button:disabled { opacity: .5; cursor: default; }
  :focus-visible { outline: 3px solid #9b4b12; outline-offset: 3px; }
  .guide { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 22px; margin-top: 16px; align-items: start; }
  figure, .lesson { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: clamp(10px, 2vw, 20px); }
  .art { position: relative; overflow: hidden; margin: auto; outline: 1px solid #e3e9e3; }
  .art img { position: absolute; max-width: none; display: block; height: auto; }
  .mark { position: absolute; border: 2px solid var(--accent); background: #4472c41a; border-radius: 4px; pointer-events: none; }
  .reading-arrows { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent); pointer-events: none; }
  .reading-arrows .path { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; marker-end: url(#arrowhead); }
  .reading-arrows .transfer { stroke-dasharray: 10 8; }
  .jump-route { display: grid; grid-template-columns: 1fr auto 1.4fr auto 1fr; align-items: center; gap: 4px; margin-top: 12px; }
  .jump-route button { min-width: 0; padding: 6px 4px; font-size: .875rem; line-height: 1.25; }
  .jump-route > span { color: var(--accent); font-weight: 700; }
  .mark.secondary { border-style: dashed; }
  figcaption { font-size: .875rem; color: var(--ts); margin-top: 9px; }
  .lesson { display: grid; gap: 13px; }
  .notation { margin: 0; padding: 14px; background: var(--bgwt); border-radius: 5px; }
  .notation > span:first-child { font-size: 2rem; font-weight: 700; margin-right: 12px; }
  .notation [data-highlight] { color: var(--accent); text-decoration: underline; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .label { font-weight: 650; color: var(--accent); }
  .beats span { min-width: 33px; text-align: center; border: 1px solid var(--line); padding: 3px; border-radius: 4px; }
  .beats .active { background: var(--accent); color: #fff; border-color: var(--accent); }
  .navigation { border-top: 1px solid var(--line); padding-top: 12px; justify-content: space-between; }
  [hidden] { display: none !important; }
  @media (max-width: 680px) { .guide { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
