/* ---- 20-palette.css ---- */
/* Colours (20-palette.js). Nothing here applies to today's design: every rule needs a theme other than "paper",
   a "Dark parts" choice other than "end", or the marks apply() puts on <html> while a colour look is on
   (data-pal-live, data-pal-scheme). The colour values match the THEMES table in 20-palette.js.

   Light themes only change the four site colours. Night themes keep --light light and --dark dark, so everything
   that sits on a picture still reads; the page takes --dark and the second surface takes --pal-raise. */

/* ---------- the themes ---------- */
html[data-lk-pal-theme="cream"]    { --light: #f5ecdb; --dark: #211512; --brass: #a3261b; --brass-lt: #f0907a; }
html[data-lk-pal-theme="forest"]   { --light: #eef0e4; --dark: #14261c; --brass: #96500f; --brass-lt: #e3b05c; }
html[data-lk-pal-theme="rose"]     { --light: #f8eeec; --dark: #2b1319; --brass: #a3324e; --brass-lt: #f2a5b4; }
html[data-lk-pal-theme="sky"]      { --light: #eef3f7; --dark: #0f2030; --brass: #1b5f9c; --brass-lt: #8fc6f2; }
html[data-lk-pal-theme="sunset"]   { --light: #fbeee0; --dark: #2b1322; --brass: #b3400d; --brass-lt: #ffae73; }
html[data-lk-pal-theme="mono"]     { --light: #f4f4f2; --dark: #111111; --brass: #5e5e5e; --brass-lt: #bdbdbd; }
html[data-lk-pal-theme="midnight"] { --light: #ece8df; --dark: #0e0f12; --brass: #85591f; --brass-lt: #d9ab6a; --pal-raise: #191b21; }
html[data-lk-pal-theme="indigo"]   { --light: #eae8f6; --dark: #121433; --brass: #84601b; --brass-lt: #f0c36c; --pal-raise: #1c1f4b; }

/* his own accent, for the first moment of a visit (apply() then sets the exact, readable colours) */
html[style*="--lk-pal-accent"] { --brass: var(--lk-pal-accent); --brass-lt: var(--lk-pal-accent); }

/* ---------- a dark page ----------
   On from the first paint for the two night themes, and whenever apply() says the page is dark. */
html:is([data-pal-scheme="dark"], [data-lk-pal-theme="midnight"]:not([data-pal-scheme]), [data-lk-pal-theme="indigo"]:not([data-pal-scheme])) {
  --paper: var(--dark); --ink: var(--light); --accent: var(--brass-lt);
  --pal-main: var(--dark); --pal-main-ink: var(--light); --pal-main-acc: var(--brass-lt); --pal-alt: var(--pal-raise);
  scrollbar-color: color-mix(in srgb, var(--light) 35%, var(--dark)) var(--dark);
}
html:is([data-pal-scheme="dark"], [data-lk-pal-theme="midnight"]:not([data-pal-scheme]), [data-lk-pal-theme="indigo"]:not([data-pal-scheme])) body { background: var(--dark); color: var(--light); }
html:is([data-pal-scheme="dark"], [data-lk-pal-theme="midnight"]:not([data-pal-scheme]), [data-lk-pal-theme="indigo"]:not([data-pal-scheme])) .s-light { --paper: var(--dark); --ink: var(--light); --accent: var(--brass-lt); }
html:is([data-pal-scheme="dark"], [data-lk-pal-theme="midnight"]:not([data-pal-scheme]), [data-lk-pal-theme="indigo"]:not([data-pal-scheme])) .s-dark { --paper: var(--pal-raise); }

/* ---------- which parts take the second colour ----------
   --pal-alt and --pal-main only exist on a dark page; on a light page the fallbacks are the site colours. */
html[data-lk-pal-blocks="stage"] .gallery,
html[data-lk-pal-blocks="front"] header.block, html[data-lk-pal-blocks="front"] .front,
html[data-lk-pal-blocks="flip"] header.block, html[data-lk-pal-blocks="flip"] .front, html[data-lk-pal-blocks="flip"] .notes,
html[data-lk-pal-blocks="flip"] .gallery, html[data-lk-pal-blocks="flip"] .tracks {
  --paper: var(--pal-alt, var(--dark)); --ink: var(--light); --accent: var(--brass-lt);
}
html[data-lk-pal-blocks="light"] .back, html[data-lk-pal-blocks="flip"] .back {
  --paper: var(--pal-main, var(--light)); --ink: var(--pal-main-ink, var(--dark)); --accent: var(--pal-main-acc, var(--brass));
}
html[data-lk-pal-blocks="light"] .back { border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }

/* ---------- his own colours: the quiet small words ----------
   The "Next: ..." line and the account name that is not open are faded with opacity on the site. With a text or page
   colour of his own the words sit right at the edge of readable, so a fade would push them under it. apply() works
   out a softer colour that still reads on each surface (--pal-soft-main, --pal-soft-alt) and marks <html> with
   data-pal-own. The ready-made themes do not take these rules. */
html[data-pal-own], html[data-pal-own] .s-light { --pal-soft: var(--pal-soft-main); }
html[data-pal-own] .s-dark { --pal-soft: var(--pal-soft-alt); }
html[data-pal-own][data-lk-pal-blocks="stage"] .gallery,
html[data-pal-own][data-lk-pal-blocks="front"] header.block, html[data-pal-own][data-lk-pal-blocks="front"] .front,
html[data-pal-own][data-lk-pal-blocks="flip"] header.block, html[data-pal-own][data-lk-pal-blocks="flip"] .front, html[data-pal-own][data-lk-pal-blocks="flip"] .notes,
html[data-pal-own][data-lk-pal-blocks="flip"] .gallery, html[data-pal-own][data-lk-pal-blocks="flip"] .tracks { --pal-soft: var(--pal-soft-alt); }
html[data-pal-own][data-lk-pal-blocks="light"] .back, html[data-pal-own][data-lk-pal-blocks="flip"] .back { --pal-soft: var(--pal-soft-main); }
html[data-pal-own] .g-line .nx { opacity: 1; color: var(--pal-soft, currentColor); }
html[data-pal-own] .tabs button { opacity: 1; transition: color .35s; }
html[data-pal-own] .tabs button:not(:hover):not([aria-selected="true"]) .hd { color: var(--pal-soft, currentColor); }

/* ---------- details: lines and tints written for black ink on paper, now made from the block's own ink ---------- */
html[data-pal-live] .s-light + .s-light { border-top-color: color-mix(in srgb, var(--ink) 14%, transparent); }
html[data-pal-live] .tabs { border-bottom-color: color-mix(in srgb, var(--ink) 20%, transparent); }
html[data-pal-live] .talks li { border-color: color-mix(in srgb, var(--ink) 14%, transparent); }
html[data-pal-live] .talk:hover, html[data-pal-live] .talk:focus-visible { background-color: color-mix(in srgb, var(--accent) 10%, transparent); }
html[data-pal-live] .gallery[data-bars="b5"] .sb .trk, html[data-pal-live] .gallery[data-bars="thumbs"] .sb .trk { background: color-mix(in srgb, var(--ink) 14%, transparent); }
html[data-pal-live] .gallery[data-bars="b5"] .sb:hover .trk { background: color-mix(in srgb, var(--ink) 26%, transparent); }
html[data-pal-live] .gallery[data-bars="lines"] .sb .trk { background: color-mix(in srgb, var(--ink) 20%, transparent); }
html[data-pal-live] .gallery[data-bars="rings"] .sb .bg { stroke: color-mix(in srgb, var(--ink) 15%, transparent); }
html[data-pal-live] .gallery[data-bars="rings"] .sb .n { color: color-mix(in srgb, var(--ink) 60%, transparent); }
html[data-pal-live] .gallery[data-bars="rings"] .sb.on .n, html[data-pal-live] .gallery[data-bars="rings"] .sb:hover .n { color: var(--ink); }
html[data-pal-live] .gallery[data-bars="b4"] .sb.on i { box-shadow: 0 0 10px 1px color-mix(in srgb, var(--brass-lt) 80%, transparent); }
html[data-pal-live] .gallery[data-bars="b4"] .sb.on i::after { box-shadow: 0 0 10px 3px color-mix(in srgb, var(--brass-lt) 90%, transparent); }
html[data-pal-live] .gallery[data-bars="setlist"] .sb i { background: color-mix(in srgb, var(--brass-lt) 16%, transparent); }
html[data-pal-live] .own-list button { border-bottom-color: color-mix(in srgb, currentColor 14%, transparent); }
html[data-pal-live] .tonearm svg > circle:first-of-type { stroke: var(--brass); }
html[data-pal-live] .part { border-top-color: color-mix(in srgb, currentColor 14%, transparent); }

/* a dark record and sleeve on a dark surface: a thin light edge so they do not sink into it */
html[data-pal-scheme="dark"] .sleeve, html[data-lk-pal-blocks="front"] .sleeve, html[data-lk-pal-blocks="flip"] .sleeve {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--light) 22%, transparent), 0 16px 30px -14px rgba(0, 0, 0, .7);
}
html[data-pal-scheme="dark"] .vinyl, html[data-lk-pal-blocks="front"] .vinyl, html[data-lk-pal-blocks="flip"] .vinyl {
  box-shadow: inset 0 0 0 2px #0a0a0a, 0 0 0 1px color-mix(in srgb, var(--light) 20%, transparent), 0 10px 24px -12px rgba(0, 0, 0, .7);
}
html[data-pal-scheme="dark"] .own-line .mini, html[data-lk-pal-blocks="front"] .own-line .mini, html[data-lk-pal-blocks="flip"] .own-line .mini {
  box-shadow: inset 0 0 0 2px #0a0a0a, 0 0 0 1px color-mix(in srgb, var(--light) 22%, transparent);
}
html[data-lk-pal-blocks="stage"] .gallery[data-bars="setlist"] .stage-box, html[data-lk-pal-blocks="flip"] .gallery[data-bars="setlist"] .stage-box {
  outline: 1px solid color-mix(in srgb, var(--light) 16%, transparent);
}

/* ---------- a dark page: the parts with colours of their own ---------- */
html[data-pal-scheme="dark"] .frame, html[data-lk-pal-blocks="flip"] .frame { background: #08080a; }
html[data-pal-scheme="dark"] .screen { box-shadow: 0 0 0 1px color-mix(in srgb, var(--light) 12%, transparent); }
html[data-pal-scheme="dark"] .gallery[data-bars="setlist"] .stage-box { background: var(--pal-raise); }
html[data-pal-scheme="dark"] :focus-visible { outline-color: var(--accent); }
/* My own music */
html[data-pal-scheme="dark"] .own-dlg { --paper: var(--pal-raise); --ink: var(--light); --accent: var(--brass-lt);
  background: var(--pal-raise); color: var(--light); border-color: color-mix(in srgb, var(--light) 30%, transparent); }
html[data-pal-scheme="dark"] .own-dlg::backdrop { background: rgba(0, 0, 0, .72); }
html[data-pal-scheme="dark"] .own-k, html[data-pal-scheme="dark"] .own-all > .mono { color: var(--brass-lt); }
html[data-pal-scheme="dark"] .own-all { border-top-color: color-mix(in srgb, var(--light) 30%, transparent); }
html[data-pal-scheme="dark"] .own-list button:hover .t, html[data-pal-scheme="dark"] .own-list button[aria-current="true"] .t { color: var(--brass-lt); }
html[data-pal-scheme="dark"] .own-list button[aria-current="true"] .n::before { color: var(--brass-lt); }
html[data-pal-scheme="dark"] .own-list button:focus-visible, html[data-pal-scheme="dark"] .own-x:focus-visible { outline-color: var(--brass-lt); }
html[data-pal-scheme="dark"] .own-x { background: var(--pal-raise); color: var(--light); border-color: color-mix(in srgb, var(--light) 60%, transparent); }
html[data-pal-scheme="dark"] .own-x:hover { background: var(--light); border-color: var(--light); color: var(--dark); }
/* the privacy page */
html[data-pal-scheme="dark"] .home:hover, html[data-pal-scheme="dark"] .part a:hover { color: var(--brass-lt); }
html[data-pal-scheme="dark"] .updated { color: var(--brass-lt); }
html[data-pal-scheme="dark"] .wa { background: var(--light); color: var(--dark); }
html[data-pal-scheme="dark"] .wa:hover { background: var(--brass-lt); color: var(--dark); }
html[data-pal-scheme="dark"] body > footer:not(.block) { background: var(--pal-raise); }

/* ---------- in the editor: the dotted lines round the words follow the block's accent ---------- */
html.editing[data-pal-live] [data-pk-text] { outline-color: color-mix(in srgb, var(--accent) 45%, transparent); }
html.editing[data-pal-live] .cap2 [data-pk-text] { outline-color: color-mix(in srgb, var(--brass-lt) 45%, transparent); }
html.editing[data-pal-live][data-pal-scheme] [data-pk-text]:hover { outline-color: color-mix(in srgb, var(--accent) 90%, transparent); }
html.editing[data-pal-live][data-pal-scheme] [data-pk-text]:focus { outline-color: var(--accent); }
html.editing[data-pal-live][data-pal-scheme] .cap2 [data-pk-text]:hover, html.editing[data-pal-live][data-pal-scheme] .cap2 [data-pk-text]:focus { outline-color: var(--brass-lt); }


/* ---- 21-fonts.css ---- */
/* Fonts (21-fonts.js). No rule here matches a default value.
   Each choice only names its family; the page's own font variables are then rebuilt from those names, so every
   heading, label and paragraph on index.html and legal.html follows. The font files are loaded by apply(). */

/* heading font */
html[data-lk-font-head="dm-serif"] { --lk-font-head-fam: "DM Serif Display"; }
html[data-lk-font-head="fraunces"] { --lk-font-head-fam: "Fraunces"; }
html[data-lk-font-head="bodoni"] { --lk-font-head-fam: "Bodoni Moda"; }
html[data-lk-font-head="abril"] { --lk-font-head-fam: "Abril Fatface"; }
html[data-lk-font-head="cormorant"] { --lk-font-head-fam: "Cormorant Garamond"; }
html[data-lk-font-head="syne"] { --lk-font-head-fam: "Syne"; }
html[data-lk-font-head="grotesk"] { --lk-font-head-fam: "Space Grotesk"; }
html[data-lk-font-head="bebas"] { --lk-font-head-fam: "Bebas Neue"; }

/* font of the big Nepali name */
html[data-lk-font-ne="yatra"] { --lk-font-ne-fam: "Yatra One"; }
html[data-lk-font-ne="kalam"] { --lk-font-ne-fam: "Kalam"; }
html[data-lk-font-ne="tiro"] { --lk-font-ne-fam: "Tiro Devanagari Hindi"; }
html[data-lk-font-ne="baloo"] { --lk-font-ne-fam: "Baloo 2"; }

/* Headings: the chosen heading font first, then the chosen Nepali font for Devanagari letters inside a heading
   (the heading fonts have none), then the page's own fallbacks. */
html[data-lk-font-head]:not([data-lk-font-head="playfair"]),
html[data-lk-font-ne]:not([data-lk-font-ne="rozha"]) {
  --display: var(--lk-font-head-fam, "Playfair Display"), var(--lk-font-ne-fam, "Rozha One"), "Rozha One", "Nirmala UI", Georgia, serif;
}
html[data-lk-font-ne]:not([data-lk-font-ne="rozha"]) {
  --display-ne: var(--lk-font-ne-fam, "Rozha One"), "Rozha One", "Nirmala UI", Georgia, serif;
}

/* These three heading fonts come in one weight only. Where a page asks for bold headings (legal.html does), the
   browser would thicken the letters by itself and smudge them: keep the letters as drawn. */
html[data-lk-font-head="dm-serif"] :is(h1, h2, h3),
html[data-lk-font-head="abril"] :is(h1, h2, h3),
html[data-lk-font-head="bebas"] :is(h1, h2, h3) { font-synthesis: none; }

/* reading text */
html[data-lk-font-text="source"] { --text: "Source Serif 4", Georgia, serif; }
html[data-lk-font-text="lora"] { --text: "Lora", Georgia, serif; }
html[data-lk-font-text="spectral"] { --text: "Spectral", Georgia, serif; }
html[data-lk-font-text="dm-sans"] { --text: "DM Sans", system-ui, "Segoe UI", sans-serif; }

/* small labels */
html[data-lk-font-label="plex"] { --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace; }
html[data-lk-font-label="space"] { --mono: "Space Mono", ui-monospace, Consolas, monospace; }
html[data-lk-font-label="courier"] { --mono: "Courier Prime", ui-monospace, Consolas, monospace; }


/* ---- 22-type.css ---- */
/* Text size and spacing (looks/src/22-type.js). Every rule starts with a value that is not the default, so with
   nothing chosen this file does nothing. Sizes are the design's own numbers multiplied by small factors:
     --type-k   overall text size (the root size, so words and the space around them grow together)
     --type-h   heading size, --type-hm the same for the smallest size a heading may shrink to on a phone
     --type-c   a little smaller for ALL CAPS and wide letters, which take more room
     --type-lh  added to (or taken from) the line height of running text */

/* ---------- overall text size ---------- */
html[data-lk-type-size="smaller"] { font-size: 93.75%; --type-k: .9375; }
html[data-lk-type-size="larger"] { font-size: 109.375%; --type-k: 1.09375; }
html[data-lk-type-size="largest"] { font-size: 118.75%; --type-k: 1.1875; }

/* with smaller text the arrow buttons and number circles would drop under 44 px: they keep their size */
html[data-lk-type-size="smaller"] :is(.arrows button, .gallery[data-bars="rings"] .sb) { width: 2.9334rem; height: 2.9334rem; }
html[data-lk-type-size="smaller"] .railbar { min-height: 2.9334rem; }

/* with bigger text the longest buttons ("Instagram @...") are wider than a small phone: there they may take two lines */
@media (max-width: 420px) {
  html:is([data-lk-type-size="larger"], [data-lk-type-size="largest"]) .btn { white-space: normal; max-width: 100%; }
}

/* ---------- heading size and heading style: the factors ---------- */
html[data-lk-type-head="calm"] { --type-h: .78; --type-hm: .88; --type-nv: 12.5vw; --type-nx: 11.5rem; --type-nvp: 18vw; }
html[data-lk-type-head="huge"] { --type-h: 1.28; --type-hm: 1.14; --type-nv: 17.5vw; --type-nvp: 26vw; }
html[data-lk-type-heads="caps"] { --type-c: .86; }
html[data-lk-type-heads="wide"] { --type-c: .9; }

/* The big Devanagari name and the record beside it keep their designed size when the overall text size changes
   (they are sized to the screen, and a bigger root size would push the name under the record on wide screens).
   Only "Heading size" moves the name, inside limits that were measured to fit at 320, 375, 860, 1280 and 1920 px. */
html:is([data-lk-type-size="smaller"], [data-lk-type-size="larger"], [data-lk-type-size="largest"], [data-lk-type-head="calm"], [data-lk-type-head="huge"]) .name-ne {
  font-size: clamp(calc(4.4rem / var(--type-k, 1)), var(--type-nv, 15.5vw), calc(var(--type-nx, 14.5rem) / var(--type-k, 1)));
}
html:is([data-lk-type-size="smaller"], [data-lk-type-size="larger"], [data-lk-type-size="largest"]) .disc {
  --s: clamp(calc(7.5rem / var(--type-k, 1)), 19vw, calc(16.5rem / var(--type-k, 1)));
}
@media (max-width: 860px) {
  html:is([data-lk-type-size="smaller"], [data-lk-type-size="larger"], [data-lk-type-size="largest"], [data-lk-type-head="calm"], [data-lk-type-head="huge"]) .name-ne { font-size: var(--type-nvp, 22vw); }
}

/* Headings: the design's sizes times the factors. */
html:is([data-lk-type-head="calm"], [data-lk-type-head="huge"], [data-lk-type-heads="caps"], [data-lk-type-heads="wide"]) {
  --type-f: calc(var(--type-h, 1) * var(--type-c, 1));
  --type-fm: calc(var(--type-hm, 1) * var(--type-c, 1));
}
html:is([data-lk-type-head="calm"], [data-lk-type-head="huge"], [data-lk-type-heads="caps"], [data-lk-type-heads="wide"]) .block h1 {
  font-size: clamp(calc(2rem * var(--type-fm)), calc(4.2vw * var(--type-f)), calc(3.5rem * var(--type-f)));
}
html:is([data-lk-type-head="calm"], [data-lk-type-head="huge"], [data-lk-type-heads="caps"], [data-lk-type-heads="wide"]) .block h2 {
  font-size: clamp(calc(2.2rem * var(--type-fm)), calc(5.5vw * var(--type-f)), calc(4.5rem * var(--type-f)));
}
html:is([data-lk-type-head="calm"], [data-lk-type-head="huge"]) #about h2[data-l="ne"] {
  font-size: clamp(calc(2rem * var(--type-hm)), calc(4.5vw * var(--type-h)), calc(3.6rem * var(--type-h)));
}
html:is([data-lk-type-head="calm"], [data-lk-type-head="huge"], [data-lk-type-heads="caps"], [data-lk-type-heads="wide"]) .block.back h2 {
  font-size: clamp(calc(2.6rem * var(--type-fm)), calc(9vw * var(--type-f)), calc(8rem * var(--type-f)));
}
html:is([data-lk-type-head="calm"], [data-lk-type-head="huge"], [data-lk-type-heads="caps"], [data-lk-type-heads="wide"]) .own-dlg h2 {
  font-size: clamp(calc(2rem * var(--type-fm)), calc(4.5vw * var(--type-f)), calc(3.2rem * var(--type-f)));
}
html:is([data-lk-type-head="calm"], [data-lk-type-head="huge"], [data-lk-type-heads="caps"], [data-lk-type-heads="wide"]) .cap2 h3 {
  font-size: clamp(calc(1.8rem * var(--type-fm)), calc(5vw * var(--type-f)), calc(4rem * var(--type-f)));
}
html:is([data-lk-type-head="calm"], [data-lk-type-head="huge"], [data-lk-type-heads="caps"], [data-lk-type-heads="wide"]) .talks > p {
  font-size: clamp(calc(1.6rem * var(--type-fm)), calc(2.6vw * var(--type-f)), calc(2.2rem * var(--type-f)));
}
/* the account names (@...) are one long word each: they grow on wide screens only, and never go ALL CAPS */
html:is([data-lk-type-head="calm"], [data-lk-type-head="huge"]) .tabs .hd {
  font-size: clamp(calc(1.5rem * min(var(--type-h), 1)), calc(3.6vw * var(--type-h)), calc(2.9rem * var(--type-h)));
}
/* the privacy page */
html:is([data-lk-type-head="calm"], [data-lk-type-head="huge"], [data-lk-type-heads="caps"], [data-lk-type-heads="wide"]) .head > h1 {
  font-size: clamp(calc(2.6rem * var(--type-fm)), calc(6vw * var(--type-f)), calc(5rem * var(--type-f)));
}

/* ---------- heading style ---------- */
/* Devanagari headings are left alone: spaced letters break the line that joins them. */
html[data-lk-type-heads="caps"] :is(.block h1, .block h2, .own-dlg h2, .cap2 h3, .talks > p, .head > h1) { text-transform: uppercase; letter-spacing: .012em; }
html[data-lk-type-heads="caps"] :is(.block h2, .cap2 h3, .talks > p, .head > h1) { line-height: 1.04; }
html[data-lk-type-heads="tight"] :is(.block h1, .block h2:not([lang="ne"]), .cap2 h3, .talks > p, .tabs .hd, .head > h1) { letter-spacing: -.035em; }
html[data-lk-type-heads="wide"] :is(.block h1, .block h2:not([lang="ne"]), .cap2 h3, .talks > p, .head > h1) { letter-spacing: .055em; }
html[data-lk-type-heads="wide"] :is(.block h2:not([lang="ne"]), .cap2 h3, .talks > p, .head > h1) { line-height: 1.06; }
/* the small line under the name keeps its own spacing */
html:is([data-lk-type-heads="caps"], [data-lk-type-heads="tight"], [data-lk-type-heads="wide"]) .block h1 small { letter-spacing: .04em; }

/* ---------- line spacing (running text only; headings keep their own) ---------- */
html[data-lk-type-lines="tight"] { --type-lh: -.13; }
html[data-lk-type-lines="airy"] { --type-lh: .22; }
html:is([data-lk-type-lines="tight"], [data-lk-type-lines="airy"]) body { line-height: calc(1.55 + var(--type-lh)); }
html:is([data-lk-type-lines="tight"], [data-lk-type-lines="airy"]) :is(.say, .back p, blockquote, .credit, .intro) { line-height: calc(1.4 + var(--type-lh)); }
html:is([data-lk-type-lines="tight"], [data-lk-type-lines="airy"]) .own-p { line-height: calc(1.45 + var(--type-lh)); }
html:is([data-lk-type-lines="tight"], [data-lk-type-lines="airy"]) .notes .body-in p { line-height: calc(1.6 + var(--type-lh)); }
html:is([data-lk-type-lines="tight"], [data-lk-type-lines="airy"]) .notes .body-in p:first-child { line-height: calc(1.45 + var(--type-lh)); }
html:is([data-lk-type-lines="tight"], [data-lk-type-lines="airy"]) #about .body-in[data-l="ne"] p { line-height: calc(1.75 + var(--type-lh)); }
html:is([data-lk-type-lines="tight"], [data-lk-type-lines="airy"]) #about .body-in[data-l="ne"] p:first-child { line-height: calc(1.6 + var(--type-lh)); }
html:is([data-lk-type-lines="tight"], [data-lk-type-lines="airy"]) #about .body-in[data-l="ne"] blockquote { line-height: calc(1.6 + var(--type-lh)); }
html[data-lk-type-lines="airy"] .notes .body-in p + p { margin-top: 1.25em; }
html[data-lk-type-lines="tight"] .notes .body-in p + p { margin-top: .95em; }

/* ---------- small labels ---------- */
/* The small lines: dates, view counts, the line under the name, the top and bottom lines, "Press play, sound on".
   Buttons and the print on the record sleeve are not labels and stay as they are. Nepali labels keep their own type. */
html[data-lk-type-labels="spaced"] :is(.mono:not(.wa, .count), h1 small, .views, .follow a, .date, .facts dt, .seen-k, .seen-d, .cap2 .kicker, .g-line .nx, .talk .go, .tabs .pf, .own-line .k, .own-list .d) {
  letter-spacing: .14em;
}
/* on a phone the spacing is a little less, so the top line and the line under the name still fit */
@media (max-width: 640px) {
  html[data-lk-type-labels="spaced"] :is(.mono:not(.wa, .count), h1 small, .views, .follow a, .date, .facts dt, .seen-k, .seen-d, .cap2 .kicker, .g-line .nx, .talk .go, .tabs .pf, .own-line .k, .own-list .d) {
    letter-spacing: .09em;
  }
}
/* when bigger or spaced labels run onto a second line, the lines get room and the top link stays in one piece */
html:is([data-lk-type-labels="spaced"], [data-lk-type-size="larger"], [data-lk-type-size="largest"]) .block h1 small { line-height: 1.5; }
html:is([data-lk-type-labels="spaced"], [data-lk-type-size="larger"], [data-lk-type-size="largest"]) .top a { white-space: nowrap; }
/* the privacy page has two links in its top line and neither may break: when they do not fit side by side,
   the second one drops to a line of its own */
html:is([data-lk-type-labels="spaced"], [data-lk-type-size="larger"], [data-lk-type-size="largest"]) header.top { flex-wrap: wrap; row-gap: .35rem; }
html[data-lk-type-labels="plain"] :is(.mono:not(.wa), h1 small, .views, .follow a, .date, .facts dt, .seen-k, .seen-d, .cap2 .kicker, .g-line .nx, .talk .go, .tabs .pf, .own-line .k, .own-list .d) {
  text-transform: none; letter-spacing: 0;
}
html[data-lk-type-labels="italic"] :is(.mono:not(.wa), h1 small, .views, .follow a, .date, .facts dt, .seen-k, .seen-d, .cap2 .kicker, .g-line .nx, .talk .go, .tabs .pf, .own-line .k, .own-list .d) {
  font-family: var(--text); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0;
}
/* the serif italic is a smaller letter than the mono, so each label steps up a size */
html[data-lk-type-labels="italic"] :is(.mono:not(.wa), h1 small) { font-size: 1.0625rem; }
html[data-lk-type-labels="italic"] .follow a { font-size: 1.125rem; }
html[data-lk-type-labels="italic"] :is(.views, .date, .facts dt, .cap2 .kicker, .tabs .pf, .own-line .k) { font-size: 1rem; }
html[data-lk-type-labels="italic"] :is(.seen-k, .seen-d, .g-line .nx, .talk .go, .own-list .d) { font-size: .9375rem; }
html[data-lk-type-labels="italic"] .facts dt { font-size: 1.0625rem; }

/* ---------- reading width ---------- */
html[data-lk-type-width="narrow"] .notes .body { max-width: 32rem; }
html[data-lk-type-width="narrow"] :is(.say, .own-p) { max-width: 27ch; }
html[data-lk-type-width="narrow"] .back p { max-width: 30ch; }
html[data-lk-type-width="narrow"] main > .body { max-width: 50ch; }
html[data-lk-type-width="narrow"] .intro { max-width: 32ch; }
html[data-lk-type-width="wide"] .notes .body { max-width: 50rem; }
html[data-lk-type-width="wide"] :is(.say, .own-p) { max-width: 44ch; }
html[data-lk-type-width="wide"] .back p { max-width: 50ch; }
html[data-lk-type-width="wide"] main > .body { max-width: 74ch; }
html[data-lk-type-width="wide"] .intro { max-width: 50ch; }


/* ---- 23-shapes.css ---- */
/* 23 Shapes and edges. Every rule starts with a value that is not the default, so the default page has no rule here.
   legal.html has no --paper / --ink / --accent, so rules that reach it fall back to --light / --dark / --brass. */

/* ---------- Corners (shape-corners: square | soft | round | very) ---------- */
/* :where keeps these rules light, so a more exact choice in another group (for example the frame of the big screen)
   wins over the site-wide corner. */
html[data-lk-shape-corners="soft"] { --shape-r: 4px; --shape-r-lg: 6px; }
html[data-lk-shape-corners="round"] { --shape-r: 9px; --shape-r-lg: clamp(10px, 1.4vw, 16px); }
html[data-lk-shape-corners="very"] { --shape-r: 16px; --shape-r-lg: clamp(14px, 2.4vw, 30px); }

html:where([data-lk-shape-corners="soft"], [data-lk-shape-corners="round"], [data-lk-shape-corners="very"]) :is(.seen, .lang, .own-x, .talk) { border-radius: var(--shape-r); }
/* the buttons are stronger on purpose: in the editor every text that can be changed gets a 2px corner from edit.js,
   and the buttons must still show the chosen corner there */
html:is([data-lk-shape-corners="soft"], [data-lk-shape-corners="round"], [data-lk-shape-corners="very"]):root :is(.btn, .wa) { border-radius: var(--shape-r); }
html:where([data-lk-shape-corners="soft"], [data-lk-shape-corners="round"], [data-lk-shape-corners="very"]) .lang { overflow: hidden; }
html:where([data-lk-shape-corners="soft"], [data-lk-shape-corners="round"], [data-lk-shape-corners="very"]) :is(.frame, .screen, .portrait, .own-dlg) { border-radius: var(--shape-r-lg); }
html:where([data-lk-shape-corners="soft"], [data-lk-shape-corners="round"], [data-lk-shape-corners="very"]) .arrows button:first-child { border-radius: var(--shape-r) 0 0 var(--shape-r); }
html:where([data-lk-shape-corners="soft"], [data-lk-shape-corners="round"], [data-lk-shape-corners="very"]) .arrows button:last-child { border-radius: 0 var(--shape-r) var(--shape-r) 0; }
/* the record sleeve is card: it only ever gets a small corner */
html:where([data-lk-shape-corners="soft"], [data-lk-shape-corners="round"], [data-lk-shape-corners="very"]) .sleeve { border-radius: calc(var(--shape-r) * .4); overflow: hidden; }
html:where([data-lk-shape-corners="soft"], [data-lk-shape-corners="round"], [data-lk-shape-corners="very"]) .gallery[data-bars="thumbs"] .sb .th { border-radius: calc(var(--shape-r) * .6); }
/* song list beside the screen: the screen and the list are one box, so the box takes the corner */
html:where([data-lk-shape-corners="soft"], [data-lk-shape-corners="round"], [data-lk-shape-corners="very"]) .gallery[data-bars="setlist"] .stage-box { border-radius: var(--shape-r-lg); overflow: hidden; }
html:where([data-lk-shape-corners="soft"], [data-lk-shape-corners="round"], [data-lk-shape-corners="very"]) .gallery[data-bars="setlist"] .screen { border-radius: 0; }
/* the Close button sits in the corner of the window: keep it clear of a round corner */
html[data-lk-shape-corners="very"] .own-x { margin-right: 0; }

/* ---------- Button style (shape-btn: solid | outline | pill | underline | arrow) ---------- */
/* outline: no fill. The main button keeps its weight with a second line inside the first. */
html[data-lk-shape-btn="outline"] .btn { background: none; color: var(--ink); }
html[data-lk-shape-btn="outline"] .btn:not(.plain) { box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px var(--ink); }
html[data-lk-shape-btn="outline"] .btn:not(.plain):hover { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px var(--paper); }
html[data-lk-shape-btn="outline"] .wa { background: none; color: var(--dark); border: 1px solid var(--dark); box-shadow: inset 0 0 0 3px var(--light), inset 0 0 0 4px var(--dark); }
html[data-lk-shape-btn="outline"] .wa:hover { background: var(--dark); color: var(--light); box-shadow: inset 0 0 0 3px var(--dark), inset 0 0 0 4px var(--light); }

/* pill: fully round ends, whatever the corner choice is */
html[data-lk-shape-btn="pill"]:root :is(.btn, .wa) { border-radius: 999px; padding-inline: 1.55rem; }

/* underline only: the words and a line. The main button has a heavier line in the accent colour. */
html[data-lk-shape-btn="underline"]:root .btn { padding-inline: 0; border-color: transparent; border-radius: 0; color: var(--ink);
  background: linear-gradient(var(--ink), var(--ink)) left 0 bottom .55rem / 100% 1px no-repeat; }
html[data-lk-shape-btn="underline"]:root .btn:not(.plain) { background-image: linear-gradient(var(--accent), var(--accent)); background-size: 100% 3px; }
html[data-lk-shape-btn="underline"]:root .btn:hover { color: var(--accent); border-color: transparent; background-color: transparent; }
html[data-lk-shape-btn="underline"] .back .go { gap: .25rem 2rem; }
html[data-lk-shape-btn="underline"]:root .wa { padding-inline: 0; border-radius: 0; color: var(--dark);
  background: linear-gradient(var(--brass), var(--brass)) left 0 bottom .5rem / 100% 3px no-repeat; }
html[data-lk-shape-btn="underline"]:root .wa:hover { color: var(--brass); }

/* with arrow: solid as now, with an arrow after the words. Links that leave the site point up and out. */
html[data-lk-shape-btn="arrow"] :is(.btn, .wa)::after { content: "\2192"; display: inline-block; margin-left: .75em; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
html[data-lk-shape-btn="arrow"] :is(.btn, .wa)[target="_blank"]::after { content: "\2197"; }
html[data-lk-shape-btn="arrow"] :is(.btn, .wa):hover::after { transform: translateX(4px); }
html[data-lk-shape-btn="arrow"] :is(.btn, .wa)[target="_blank"]:hover::after { transform: translate(3px, -3px); }
@media (prefers-reduced-motion: reduce) {
  html[data-lk-shape-btn="arrow"] :is(.btn, .wa)::after { transition: none; }
  html[data-lk-shape-btn="arrow"]:root :is(.btn, .wa):hover::after { transform: none; }
}

/* ---------- Line weight (shape-lines: normal | fine | bold | double) ---------- */
/* the lines that separate parts: under the top line, above the facts, the quote, the interviews, the song list */
html[data-lk-shape-lines="fine"] :is(.top, .facts, .talks, blockquote, .own-line, .own-all) { border-color: color-mix(in srgb, currentColor 28%, transparent); }

html[data-lk-shape-lines="bold"] .top { border-bottom-width: 3px; }
html[data-lk-shape-lines="bold"] :is(.facts, .talks, blockquote, .own-all) { border-top-width: 3px; }
html[data-lk-shape-lines="bold"] .own-line { border-block-width: 2px; }
html[data-lk-shape-lines="bold"] :is(.btn, .lang, .seen, .own-x, .portrait, .arrows button, .talk .pi) { border-width: 2px; }
html[data-lk-shape-lines="bold"] .arrows button + button { border-left-width: 0; }
html[data-lk-shape-lines="bold"] .follow a { background-size: 100% 2px; }

html[data-lk-shape-lines="double"] .top { border-bottom: 4px double currentColor; }
html[data-lk-shape-lines="double"] :is(.facts, .talks, blockquote, .own-all) { border-top: 4px double currentColor; }
html[data-lk-shape-lines="double"] .own-line { border-block: 4px double currentColor; }

/* ---------- Shadows (shape-shadow: soft | none | deep) ---------- */
html[data-lk-shape-shadow="none"] .sleeve { box-shadow: none; }
html[data-lk-shape-shadow="none"] .vinyl { box-shadow: inset 0 0 0 2px #0a0a0a; }
html[data-lk-shape-shadow="none"] .tonearm { filter: none; }

html[data-lk-shape-shadow="deep"] .sleeve { box-shadow: 0 38px 46px -20px color-mix(in srgb, var(--dark) 72%, transparent), 0 12px 16px -8px color-mix(in srgb, var(--dark) 45%, transparent), 0 1px 0 color-mix(in srgb, var(--dark) 15%, transparent); }
html[data-lk-shape-shadow="deep"] .vinyl { box-shadow: inset 0 0 0 2px #0a0a0a, 0 26px 34px -12px rgba(0, 0, 0, .8); }
html[data-lk-shape-shadow="deep"] .tonearm { filter: drop-shadow(-7px 13px 8px rgba(0, 0, 0, .45)); }
html[data-lk-shape-shadow="deep"] .card .frame { box-shadow: 0 24px 26px -18px color-mix(in srgb, var(--dark) 70%, transparent); }
html[data-lk-shape-shadow="deep"] .shelf { padding-top: 6px; }
/* the shadow follows the picture; with the song list beside the screen the two are one box, so the box casts it */
html[data-lk-shape-shadow="deep"] :is(.screen, .portrait, .gallery[data-bars="setlist"] .stage-box) { box-shadow: 0 44px 50px -34px color-mix(in srgb, var(--dark) 75%, transparent), 0 14px 22px -14px color-mix(in srgb, var(--dark) 40%, transparent); }
html[data-lk-shape-shadow="deep"] .gallery[data-bars="setlist"] .screen { box-shadow: none; }
html[data-lk-shape-shadow="deep"] .own-dlg { box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .7), 0 12px 28px -10px rgba(0, 0, 0, .45); }

/* ---------- Keyboard ring (shape-focus: solid | thin | dashed | double) ---------- */
/* Only the weight and style change. Each part keeps its own colour and distance. The editor's own outlines
   (texts being edited and the Change buttons) are left alone. */
html[data-lk-shape-focus="thin"] :focus-visible:focus-visible:focus-visible:focus-visible:not([data-pk-text], [data-pk-ui], .pk-chip) { outline-width: 1.5px; }
html[data-lk-shape-focus="dashed"] :focus-visible:focus-visible:focus-visible:focus-visible:not([data-pk-text], [data-pk-ui], .pk-chip) { outline-style: dashed; outline-width: 2px; }
html[data-lk-shape-focus="double"] :focus-visible:focus-visible:focus-visible:focus-visible:not([data-pk-text], [data-pk-ui], .pk-chip) { outline-style: double; outline-width: 5px; }


/* ---- 24-space.css ---- */
/* Spacing and width (24-space). No rule here applies at the default values. */

/* ---- Room between sections ---- */
html[data-lk-space-rhythm="compact"] .front { padding-block: clamp(1rem, 3vw, 2.25rem) clamp(1.6rem, 3.6vw, 3rem); }
html[data-lk-space-rhythm="compact"] .notes,
html[data-lk-space-rhythm="compact"] .gallery,
html[data-lk-space-rhythm="compact"] .tracks { padding-block: clamp(1.6rem, 3.6vw, 3rem); }
html[data-lk-space-rhythm="compact"] .back { padding-block: clamp(1.75rem, 4.2vw, 3.5rem); }
html[data-lk-space-rhythm="compact"] .under { margin-top: clamp(1rem, 2.5vw, 2.25rem); }
html[data-lk-space-rhythm="compact"] .talks { margin-top: clamp(1.25rem, 2.5vw, 2rem); }
html[data-lk-space-rhythm="compact"] main.sheet:has(> .head) { padding-block: clamp(1.6rem, 4.2vw, 3.5rem); }

html[data-lk-space-rhythm="airy"] .front { padding-block: clamp(2rem, 6.5vw, 5.5rem) clamp(3.75rem, 9vw, 8rem); }
html[data-lk-space-rhythm="airy"] .notes,
html[data-lk-space-rhythm="airy"] .gallery,
html[data-lk-space-rhythm="airy"] .tracks { padding-block: clamp(3.75rem, 9vw, 8rem); }
html[data-lk-space-rhythm="airy"] .back { padding-block: clamp(4rem, 10.5vw, 9.5rem); }
html[data-lk-space-rhythm="airy"] .under { margin-top: clamp(2rem, 5vw, 4.5rem); }
html[data-lk-space-rhythm="airy"] .talks { margin-top: clamp(2.75rem, 5.5vw, 4.5rem); }
html[data-lk-space-rhythm="airy"] .disc { top: clamp(1.25rem, 4vw, 3.5rem); }
html[data-lk-space-rhythm="airy"] main.sheet:has(> .head) { padding-block: clamp(3.75rem, 10.5vw, 9.5rem); }

/* ---- Page width ---- */
/* The big name and the record are sized from the window, so they are re-capped to keep the same balance
   inside a narrower or wider page. Only above 860px: under that the page has its own phone sizes. */
html[data-lk-space-width="narrow"] .sheet { max-width: 1080px; }
html[data-lk-space-width="wide"] .sheet { max-width: 1560px; }
html[data-lk-space-width="full"] .sheet { max-width: none; }
@media (min-width: 861px) {
  html[data-lk-space-width="narrow"] .name-ne { font-size: clamp(4.4rem, 15.5vw, 11.6rem); }
  html[data-lk-space-width="narrow"] .disc { --s: clamp(7.5rem, 19vw, 13.2rem); }
  html[data-lk-space-width="narrow"] .front h1 { font-size: clamp(2rem, 4.2vw, 2.75rem); }
  html[data-lk-space-width="wide"] .name-ne { font-size: clamp(4.4rem, 15.5vw, 17rem); }
  html[data-lk-space-width="wide"] .disc { --s: clamp(7.5rem, 19vw, 19.5rem); }
  html[data-lk-space-width="full"] .name-ne { font-size: clamp(4.4rem, 15.5vw, 21rem); }
  html[data-lk-space-width="full"] .disc { --s: clamp(7.5rem, 19vw, 23rem); }
}
/* On a big screen a wider page shows more videos in a row, and the stage screen never grows taller than the window. */
@media (min-width: 1500px) {
  html[data-lk-space-width="wide"] .shelf,
  html[data-lk-space-width="full"] .shelf { grid-auto-columns: calc((100% - 4 * var(--gap)) / 5); }
  html[data-lk-space-width="wide"] .screen,
  html[data-lk-space-width="full"] .screen { width: 100%; max-height: 84vh; } /* width is set so the cap trims the height only, never the width */
}
@media (min-width: 2100px) {
  html[data-lk-space-width="full"] .shelf { grid-auto-columns: calc((100% - 5 * var(--gap)) / 6); }
}

/* ---- Side margins ---- */
html[data-lk-space-margins="slim"] { --pad: clamp(.7rem, 2.2vw, 1.75rem); }
html[data-lk-space-margins="generous"] { --pad: clamp(1.6rem, 7vw, 6.5rem); }

/* ---- Gap between cards ---- */
html[data-lk-space-cards="tight"] .shelf { --gap: clamp(.25rem, .5vw, .4rem); }
/* with the pictures almost touching, the words under one card keep a little air before the next card's words */
html[data-lk-space-cards="tight"] .card :is(.meta, .credit, .views) { padding-right: .85rem; }
html[data-lk-space-cards="loose"] .shelf { --gap: clamp(1.5rem, 3.4vw, 3rem); }

/* ---- Big first screen ---- */
/* The front block is at least as tall as what is left of the screen under the top line. The name stays at the top,
   the words and buttons sit at the bottom. It only ever grows, so nothing is cut off on a short screen.
   --space-top is the measured height of the top line (set by 24-space.js); 3.5rem is close to it without the script. */
html[data-lk-space-hero="on"] .front {
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: min(calc(100vh - var(--space-top, 3.5rem)), 68rem);
  min-height: min(calc(100svh - var(--space-top, 3.5rem)), 68rem);
}


/* ---- 25-texture.css ---- */
/* Backgrounds and dividers (25-texture). Every default (plain page, plain dark blocks, thin line, no brass edge)
   has no rule here.

   How it is done:
   - A block bleeds to the window edges with a box-shadow, so a normal background picture would stop at the block's
     own box. The treatments are painted with border-image instead (fill, no border width, 100vmax out to the sides):
     it lies over the block's own paper colour, under the words, and reaches the window edges without adding any
     sideways scroll.
   - The same picture is put on <body>, which is the paper of legal.html (it has no blocks).
   - Lines and shades are mixed from --ink / --accent of the block they sit on, so they follow a colour look.
     The grain and the dots are small inline SVG tiles in neutral grey (an SVG tile cannot read a CSS variable).
   - A border-image hides the block's normal border, so while a treatment is on, the divider between two light blocks
     is drawn by a ::before instead. */

/* ---------- page background (light blocks, and the paper of legal.html) ---------- */

html:is([data-lk-tex-page="grain"], [data-lk-tex-dark="grain"]) {
  --tex-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='5 0 0 0 -2  5 0 0 0 -2  5 0 0 0 -2  0 2.6 0 0 -1.12'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
}

html[data-lk-tex-page="grain"] :is(body, .block.s-light) { --tex-img: var(--tex-noise); }
html[data-lk-tex-page="wash"] :is(body, .block.s-light) {
  --tex-img: linear-gradient(90deg,
    transparent calc(50% - 12vw),
    color-mix(in srgb, var(--accent, var(--brass)) 5%, transparent) calc(50% + 14vw),
    color-mix(in srgb, var(--accent, var(--brass)) 15%, transparent) calc(50% + 50vw));
}
html[data-lk-tex-page="spot"] :is(body, .block.s-light) {
  --tex-shade: var(--ink, var(--dark));
  --tex-in: min(24vw, 26rem);
  --tex-img: linear-gradient(90deg,
    color-mix(in srgb, var(--tex-shade) 10%, transparent) calc(50% - 50vw),
    color-mix(in srgb, var(--tex-shade) 4%, transparent) calc(50% - 50vw + var(--tex-in) * .45),
    transparent calc(50% - 50vw + var(--tex-in)),
    transparent calc(50% + 50vw - var(--tex-in)),
    color-mix(in srgb, var(--tex-shade) 4%, transparent) calc(50% + 50vw - var(--tex-in) * .45),
    color-mix(in srgb, var(--tex-shade) 10%, transparent) calc(50% + 50vw));
}
html[data-lk-tex-page="stripes"] :is(body, .block.s-light) {
  --tex-img: repeating-linear-gradient(90deg, color-mix(in srgb, var(--ink, var(--dark)) 8%, transparent) 0 1px, transparent 1px 1.5rem);
}
html[data-lk-tex-page="dots"] :is(body, .block.s-light) {
  --tex-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='11' cy='11' r='1.1' fill='%23807a70' fill-opacity='.5'/%3E%3C/svg%3E");
}

html:is([data-lk-tex-page="grain"], [data-lk-tex-page="wash"], [data-lk-tex-page="spot"], [data-lk-tex-page="stripes"], [data-lk-tex-page="dots"]) body {
  background-image: var(--tex-img);
}
html:is([data-lk-tex-page="grain"], [data-lk-tex-page="wash"], [data-lk-tex-page="spot"], [data-lk-tex-page="stripes"], [data-lk-tex-page="dots"]) .block.s-light {
  border-image: var(--tex-img) fill 0 / 0 / 0 100vmax repeat;
}
/* blocks inside <main> are narrower than the top line by the side margin on each side: reaching that much further
   out makes every block paint the same picture, so stripes run on from one block into the next */
html:is([data-lk-tex-page="wash"], [data-lk-tex-page="spot"], [data-lk-tex-page="stripes"]) main.sheet > .block.s-light {
  border-image-outset: 0 calc(100vmax + var(--pad));
}

/* ---------- dark blocks (the contact block and the bottom line; the footer of legal.html) ---------- */

html[data-lk-tex-dark="grain"] :is(.block.s-dark, body > footer:not(.block)) { --tex-dk: var(--tex-noise); }

/* Glow from below: one pool of light whose middle sits on the line between the last dark block and the bottom line,
   so the two halves meet without a seam. */
html[data-lk-tex-dark="glow"] .block.s-dark {
  --tex-dk: radial-gradient(ellipse min(78vw, 58rem) 20rem at 50% 100%,
    color-mix(in srgb, var(--accent, var(--brass-lt)) 30%, transparent),
    color-mix(in srgb, var(--accent, var(--brass-lt)) 11%, transparent) 45%,
    transparent 100%);
}
html[data-lk-tex-dark="glow"] :is(footer.block.s-dark, body > footer:not(.block)) {
  --tex-dk: radial-gradient(ellipse min(78vw, 58rem) 20rem at 50% 0,
    color-mix(in srgb, var(--accent, var(--brass-lt)) 30%, transparent),
    color-mix(in srgb, var(--accent, var(--brass-lt)) 11%, transparent) 45%,
    transparent 100%);
}

/* Gradient: the dark warms toward the bottom, and the bottom line carries the warm end on. */
html[data-lk-tex-dark="fade"] .block.s-dark {
  --tex-dk: linear-gradient(to bottom, transparent 25%, color-mix(in srgb, var(--accent, var(--brass-lt)) 17%, transparent));
}
html[data-lk-tex-dark="fade"] :is(footer.block.s-dark, body > footer:not(.block)) {
  --tex-dk: linear-gradient(color-mix(in srgb, var(--accent, var(--brass-lt)) 17%, transparent), color-mix(in srgb, var(--accent, var(--brass-lt)) 17%, transparent));
}

html:is([data-lk-tex-dark="grain"], [data-lk-tex-dark="glow"], [data-lk-tex-dark="fade"]) .block.s-dark {
  border-image: var(--tex-dk) fill 0 / 0 / 0 100vmax repeat;
}
html:is([data-lk-tex-dark="grain"], [data-lk-tex-dark="glow"], [data-lk-tex-dark="fade"]) body > footer:not(.block) {
  background-image: var(--tex-dk);
}

/* ---------- divider between two light blocks ---------- */

/* the page's own thin line steps aside for every other divider (it keeps its 1px, so nothing moves) */
html:is([data-lk-tex-rule="none"], [data-lk-tex-rule="double"], [data-lk-tex-rule="wave"], [data-lk-tex-rule="torn"], [data-lk-tex-rule="dots"]) .block.s-light + .block.s-light {
  border-top-color: transparent;
}

/* the drawn divider: for every picked divider, and for the thin line while a page background hides the real border */
html:is([data-lk-tex-rule="double"], [data-lk-tex-rule="wave"], [data-lk-tex-rule="torn"], [data-lk-tex-rule="dots"]) .block.s-light + .block.s-light,
html[data-lk-tex-rule="line"]:is([data-lk-tex-page="grain"], [data-lk-tex-page="wash"], [data-lk-tex-page="spot"], [data-lk-tex-page="stripes"], [data-lk-tex-page="dots"]) .block.s-light + .block.s-light {
  position: relative;
}
html:is([data-lk-tex-rule="double"], [data-lk-tex-rule="wave"], [data-lk-tex-rule="torn"], [data-lk-tex-rule="dots"]) .block.s-light + .block.s-light::before,
html[data-lk-tex-rule="line"]:is([data-lk-tex-page="grain"], [data-lk-tex-page="wash"], [data-lk-tex-page="spot"], [data-lk-tex-page="stripes"], [data-lk-tex-page="dots"]) .block.s-light + .block.s-light::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none;
  background: color-mix(in srgb, var(--ink) 14%, transparent);
}

/* Everything is drawn from the block's own top edge downward: a block cuts off whatever sticks out above it. */
html[data-lk-tex-rule="double"] .block.s-light + .block.s-light::before {
  height: 5px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--ink) 34%, transparent) 0 1px, transparent 1px 4px, color-mix(in srgb, var(--ink) 34%, transparent) 4px 5px);
}

html[data-lk-tex-rule="wave"] {
  --tex-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='9' viewBox='0 0 36 9'%3E%3Cpath d='M0 4.5 Q9 -1.5 18 4.5 T36 4.5' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E");
}
html[data-lk-tex-rule="wave"] .block.s-light + .block.s-light::before {
  height: 9px;
  background: color-mix(in srgb, var(--ink) 42%, transparent);
  -webkit-mask: var(--tex-wave) 50% 0 / 36px 9px repeat-x;
  mask: var(--tex-wave) 50% 0 / 36px 9px repeat-x;
}

html[data-lk-tex-rule="dots"] .block.s-light + .block.s-light::before {
  height: 4px;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--ink) 50%, transparent) 0 1.1px, transparent 1.7px) 50% 0 / 11px 4px repeat-x;
}

/* Torn paper. The tile is the part of the page under a rough edge. */
html[data-lk-tex-rule="torn"] {
  --tex-tear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='14' viewBox='0 0 240 14' preserveAspectRatio='none'%3E%3Cpath d='M0 5 L3 4.4 L12 6.3 L22 8.1 L28 9 L32 8.5 L41 8.6 L50 6 L54 4.1 L62 5.6 L65 6.9 L70 8.4 L74 8.1 L77 8.8 L81 7.7 L91 8.8 L101 7.6 L111 7.2 L120 5.9 L130 8.4 L135 9 L139 6.7 L144 9 L154 6.3 L163 5.6 L172 3.1 L175 1.5 L186 1.5 L191 2 L195 3.4 L201 3.7 L207 1.5 L215 3.7 L218 1.5 L227 1.5 L234 3.7 L240 5 V14 H0 Z'/%3E%3C/svg%3E");
}
/* Light block on light block: the sheet above ends in a rough edge and throws a soft shade on the sheet below.
   The tile is that edge as a fine line with a blurred shade under it. It reaches into the side margins and fades
   out at both ends. */
html[data-lk-tex-rule="torn"] .block.s-light + .block.s-light {
  --tex-tear-shade: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='18' viewBox='0 0 240 18'%3E%3Cfilter id='b' x='-10%25' y='-100%25' width='120%25' height='300%25'%3E%3CfeGaussianBlur stdDeviation='2.2'/%3E%3C/filter%3E%3CclipPath id='c'%3E%3Cpath d='M-33 1.5 L-25 3.7 L-22 1.5 L-13 1.5 L-6 3.7 L0 5 L3 4.4 L12 6.3 L22 8.1 L28 9 L32 8.5 L41 8.6 L50 6 L54 4.1 L62 5.6 L65 6.9 L70 8.4 L74 8.1 L77 8.8 L81 7.7 L91 8.8 L101 7.6 L111 7.2 L120 5.9 L130 8.4 L135 9 L139 6.7 L144 9 L154 6.3 L163 5.6 L172 3.1 L175 1.5 L186 1.5 L191 2 L195 3.4 L201 3.7 L207 1.5 L215 3.7 L218 1.5 L227 1.5 L234 3.7 L240 5 L243 4.4 L252 6.3 L262 8.1 L268 9 L272 8.5 V18 H-40 Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23c)'%3E%3Cpath d='M-33 1.5 L-25 3.7 L-22 1.5 L-13 1.5 L-6 3.7 L0 5 L3 4.4 L12 6.3 L22 8.1 L28 9 L32 8.5 L41 8.6 L50 6 L54 4.1 L62 5.6 L65 6.9 L70 8.4 L74 8.1 L77 8.8 L81 7.7 L91 8.8 L101 7.6 L111 7.2 L120 5.9 L130 8.4 L135 9 L139 6.7 L144 9 L154 6.3 L163 5.6 L172 3.1 L175 1.5 L186 1.5 L191 2 L195 3.4 L201 3.7 L207 1.5 L215 3.7 L218 1.5 L227 1.5 L234 3.7 L240 5 L243 4.4 L252 6.3 L262 8.1 L268 9 L272 8.5' fill='none' stroke='%23000' stroke-width='6' stroke-opacity='.55' filter='url(%23b)'/%3E%3C/g%3E%3Cpath d='M-33 1.5 L-25 3.7 L-22 1.5 L-13 1.5 L-6 3.7 L0 5 L3 4.4 L12 6.3 L22 8.1 L28 9 L32 8.5 L41 8.6 L50 6 L54 4.1 L62 5.6 L65 6.9 L70 8.4 L74 8.1 L77 8.8 L81 7.7 L91 8.8 L101 7.6 L111 7.2 L120 5.9 L130 8.4 L135 9 L139 6.7 L144 9 L154 6.3 L163 5.6 L172 3.1 L175 1.5 L186 1.5 L191 2 L195 3.4 L201 3.7 L207 1.5 L215 3.7 L218 1.5 L227 1.5 L234 3.7 L240 5 L243 4.4 L252 6.3 L262 8.1 L268 9 L272 8.5' fill='none' stroke='%23000' stroke-width='.8' stroke-opacity='.75'/%3E%3C/svg%3E");
}
html[data-lk-tex-rule="torn"] .block.s-light + .block.s-light::before {
  height: 18px; left: calc(-1 * var(--pad)); right: calc(-1 * var(--pad));
  background: color-mix(in srgb, var(--ink) 48%, transparent);
  -webkit-mask: var(--tex-tear-shade) 50% 0 / 240px 18px repeat-x, linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-composite: source-in;
  mask: var(--tex-tear-shade) 50% 0 / 240px 18px repeat-x, linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-composite: intersect;
}
/* Light block on dark block: the top edge of the dark block is cut rough, so the paper behind it shows through as
   the torn edge of the sheet above. Only where the browser can keep the cut-out reaching the window edges. */
@supports (mask-clip: no-clip) {
  html[data-lk-tex-rule="torn"] .block.s-light + .block.s-dark {
    -webkit-mask: var(--tex-tear) 50% 0 / 240px 14px repeat-x, linear-gradient(#000, #000) 0 13px / 100% calc(100% - 13px) repeat-x;
    mask: var(--tex-tear) 50% 0 / 240px 14px repeat-x, linear-gradient(#000, #000) 0 13px / 100% calc(100% - 13px) repeat-x;
    -webkit-mask-clip: no-clip;
    mask-clip: no-clip;
  }
}

/* ---------- brass edge at the very top of the page ---------- */

html[data-lk-tex-edge="on"] body { border-top: 4px solid var(--brass); }


/* ---- 30-header.css ---- */
/* Top line and footer (looks/src/30-header.js). No rule here matches a default value. */

/* ---- When scrolling ---- */
html:is([data-lk-head-behave="stick"], [data-lk-head-behave="hide"]) header.block { position: sticky; top: 0; z-index: 40; }
/* jumps to a part of the page, and anything the editor scrolls to, land under the top line */
html[data-lk-head-behave="stick"] { scroll-padding-top: var(--lk-head-h, 4rem); }
html[data-lk-head-behave="hide"] header.block { transition: transform .38s cubic-bezier(.2, .7, .2, 1); }
html[data-lk-head-behave="hide"] header.block[data-lk-head-off]:not(:focus-within) { transform: translateY(calc(-100% - 1.75rem)); }
@media (prefers-reduced-motion: reduce) { html[data-lk-head-behave="hide"] header.block { transition: none; } }

/* ---- Links in the top line ---- */
html:is([data-lk-head-links="links"], [data-lk-head-links="numbered"]) header.block .top { align-items: center; }
html:is([data-lk-head-links="links"], [data-lk-head-links="numbered"]) .lk-head-nav { display: flex; gap: clamp(1.1rem, 2.6vw, 2.5rem); margin-block: -.8rem; }
html:is([data-lk-head-links="links"], [data-lk-head-links="numbered"]) .lk-head-nav a { display: inline-flex; align-items: center; gap: .5em; min-height: 2.75rem; text-decoration: none; white-space: nowrap; }
html:is([data-lk-head-links="links"], [data-lk-head-links="numbered"]) .lk-head-nav a[hidden] { display: none; }
html:is([data-lk-head-links="links"], [data-lk-head-links="numbered"]) .lk-head-nav .n { display: none; }
html:is([data-lk-head-links="links"], [data-lk-head-links="numbered"]) .lk-head-nav .t { padding-block: .3em; background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 2px no-repeat; transition: background-size .3s cubic-bezier(.2, .7, .2, 1); }
html:is([data-lk-head-links="links"], [data-lk-head-links="numbered"]) .lk-head-nav a[aria-current="true"] .t { background-size: 100% 2px; }
html[data-lk-head-links="numbered"] .lk-head-nav .n { display: inline; color: var(--accent); font-size: .85em; }
@media (prefers-reduced-motion: reduce) { html:is([data-lk-head-links="links"], [data-lk-head-links="numbered"]) .lk-head-nav .t { transition: none; } }
/* phone: the links get a row of their own under the name */
@media (max-width: 860px) {
  html:is([data-lk-head-links="links"], [data-lk-head-links="numbered"]) header.block .top { flex-wrap: wrap; row-gap: 0; padding-bottom: 0; }
  html:is([data-lk-head-links="links"], [data-lk-head-links="numbered"]) .lk-head-nav { order: 3; flex: 0 0 100%; justify-content: space-between; gap: .5rem; margin-block: .9rem 0; font-size: .75rem; border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); }
}

/* ---- Top line style: dark bar ---- */
html[data-lk-head-style="bar"] header.block { --paper: var(--dark); --ink: var(--light); --accent: var(--brass-lt); }
html[data-lk-head-style="bar"] header.block .top { border-bottom: 0; }

/* ---- Top line style: floating pill ---- */
html[data-lk-head-style="pill"][data-lk-head-behave="top"] header.block { position: relative; z-index: 40; }
html[data-lk-head-style="pill"] header.block { background: none; box-shadow: none; clip-path: none; padding-block: .75rem .25rem; pointer-events: none; }
html[data-lk-head-style="pill"] header.block .top { pointer-events: auto; align-items: center; padding: .4rem .4rem .4rem 1.4rem; border: 1px solid var(--ink); border-radius: 2rem; background: var(--paper);
  box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--dark) 70%, transparent); }
html[data-lk-head-style="pill"] header.block .top > a[data-k="top.cta"] { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.15rem; border-radius: 2rem; background: var(--ink); color: var(--paper); text-decoration: none; white-space: nowrap; transition: background-color .2s; }
html[data-lk-head-style="pill"] header.block .top > a[data-k="top.cta"]:hover { background: var(--accent); color: var(--paper); }
html[data-lk-head-style="pill"]:is([data-lk-head-behave="stick"], [data-lk-head-behave="hide"]) header.block[data-lk-head-scrolled] .top { box-shadow: 0 16px 34px -14px color-mix(in srgb, var(--dark) 85%, transparent); }
/* while it follows down the page: the strip above the pill is frosted, so words of the page cannot be read in the gap.
   It fades out behind the pill, and at both ends, so it has no edge of its own on any background. */
html[data-lk-head-style="pill"]:is([data-lk-head-behave="stick"], [data-lk-head-behave="hide"]) header.block[data-lk-head-scrolled]::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 2.75rem; pointer-events: none;
  background: color-mix(in srgb, var(--paper) 55%, transparent);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  -webkit-mask-image: linear-gradient(#000 .8rem, transparent), linear-gradient(to right, transparent, #000 var(--pad, 1rem), #000 calc(100% - var(--pad, 1rem)), transparent);
  mask-image: linear-gradient(#000 .8rem, transparent), linear-gradient(to right, transparent, #000 var(--pad, 1rem), #000 calc(100% - var(--pad, 1rem)), transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
@media (max-width: 860px) {
  html[data-lk-head-style="pill"] header.block .top { padding-left: 1.05rem; gap: .6rem; }
  html[data-lk-head-style="pill"] header.block .top > a[data-k="top.cta"] { padding-inline: .9rem; }
  html[data-lk-head-style="pill"]:is([data-lk-head-links="links"], [data-lk-head-links="numbered"]) header.block .top { border-radius: 1.6rem; padding-bottom: 0; }
  html[data-lk-head-style="pill"]:is([data-lk-head-links="links"], [data-lk-head-links="numbered"]) .lk-head-nav { margin-top: .4rem; padding-right: .65rem; }
}
/* phone, always in view, further down the page: the row of links steps aside so the top line takes less of the screen.
   The space under it (margin) is exactly the height of the row, so nothing on the page moves when the row goes. */
@media (max-width: 860px) {
  html[data-lk-head-behave="stick"] header.block[data-lk-head-small] .lk-head-nav { display: none; }
  html[data-lk-head-behave="stick"] header.block[data-lk-head-small] { margin-bottom: calc(2.55rem + 1px); }
  html[data-lk-head-behave="stick"] header.block[data-lk-head-small] .top { padding-bottom: 1.1rem; }
  html[data-lk-head-behave="stick"][data-lk-head-style="pill"] header.block[data-lk-head-small] { margin-bottom: calc(3.35rem + 1px); }
  html[data-lk-head-behave="stick"][data-lk-head-style="pill"] header.block[data-lk-head-small] .top { padding-bottom: .4rem; border-radius: 2rem; }
}

/* ---- Your name in the top line ---- */
html:is([data-lk-head-name="serif"], [data-lk-head-name="italic"], [data-lk-head-name="mark"]) header.block .top { align-items: center; }
html[data-lk-head-name="serif"] header.block .top > [data-k="top.line"],
html[data-lk-head-name="serif"] header.top > a:first-child { font-family: var(--display); font-size: clamp(1.05rem, 4.4vw, 1.35rem); line-height: 1.1; letter-spacing: 0; text-transform: none; }
html[data-lk-head-name="italic"] header.block .top > [data-k="top.line"],
html[data-lk-head-name="italic"] header.top > a:first-child { font-family: var(--text); font-style: italic; font-size: clamp(1.1rem, 4.6vw, 1.4rem); line-height: 1.1; letter-spacing: 0; text-transform: none; }
html:is([data-lk-head-name="serif"], [data-lk-head-name="italic"]) header.top { align-items: center; }
html[data-lk-head-name="mark"] header.block .top > [data-k="top.line"]::before { content: var(--lk-head-ne, none); margin-right: .7rem; font-family: var(--display-ne); font-size: 1.55rem; line-height: 1; letter-spacing: 0; text-transform: none; color: var(--accent); vertical-align: -.16em; }
@media (max-width: 560px) {
  html[data-lk-head-name="mark"] header.block .top > [data-k="top.line"]::before { content: var(--lk-head-ne-short, none); margin-right: .5rem; font-size: 1.4rem; }
  /* not enough room for it beside the button in the pill */
  html[data-lk-head-name="mark"][data-lk-head-style="pill"] header.block .top > [data-k="top.line"]::before { content: none; }
}

/* ---- Bottom of the page: in the middle ---- */
html[data-lk-head-foot="centre"] footer .fine { flex-direction: column; align-items: center; text-align: center; gap: .6rem; padding-block: 2.25rem 2.5rem; }
html[data-lk-head-foot="centre"] footer .fine::before { content: ""; width: 2.5rem; height: 2px; margin-bottom: .7rem; background: var(--accent, var(--brass-lt)); }

/* ---- Bottom of the page: big ending ---- */
html[data-lk-head-foot="full"] .lk-foot { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 2rem clamp(1.5rem, 4vw, 4rem); align-items: start; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.75rem, 4vw, 3rem); border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
html[data-lk-head-foot="full"] .lk-foot-name { font-family: var(--display-ne); font-size: clamp(2.6rem, 6.4vw, 5.25rem); line-height: 1.05; }
html[data-lk-head-foot="full"] .lk-foot-name span + span { color: var(--accent); }
html[data-lk-head-foot="full"] .lk-foot-up { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; margin-top: .6rem; font-family: var(--mono); font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; text-underline-offset: .25em; }
html[data-lk-head-foot="full"] .lk-foot-up::after { content: "\2191"; }
html[data-lk-head-foot="full"] .lk-foot-col { display: grid; justify-items: start; align-content: start; }
html[data-lk-head-foot="full"] .lk-foot-k { margin-bottom: .5rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
html[data-lk-head-foot="full"] .lk-foot-col a { display: inline-flex; align-items: center; min-height: 2.75rem; font-family: var(--display); font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.1; text-decoration: none; }
html[data-lk-head-foot="full"] .lk-foot-col a[hidden] { display: none; }
html[data-lk-head-foot="full"] .lk-foot-col .n { display: none; }
html[data-lk-head-foot="full"] .lk-foot a:hover { color: var(--accent); }
html[data-lk-head-foot="full"] .lk-foot + .fine { border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
@media (max-width: 700px) {
  html[data-lk-head-foot="full"] .lk-foot { grid-template-columns: 1fr 1fr; }
  html[data-lk-head-foot="full"] .lk-foot-sign { grid-column: 1 / -1; }
  html[data-lk-head-foot="full"] .lk-foot-name { font-size: clamp(2.6rem, 14vw, 4rem); }
}


/* ---- 31-front.css ---- */
/* First screen (looks/src/31-front.js). No rule here matches the default values.
   Order matters: step, size and colour of the name first, then the layouts (they may overrule the step), then the
   record, the line under the name and the opening movement. Phone is 860px and under, as in index.html. */

/* ---- step of the second word ---- */
html[data-lk-front-indent="none"] { --lkf-ind: 0em; --lkf-ind-p: 0em; }
html[data-lk-front-indent="further"] { --lkf-ind: 1.35em; --lkf-ind-p: .9em; }
html[data-lk-front-indent="none"] .name-ne span + span,
html[data-lk-front-indent="further"] .name-ne span + span { padding-left: var(--lkf-ind); }
@media (max-width: 860px) {
  html[data-lk-front-indent="none"] .name-ne span + span,
  html[data-lk-front-indent="further"] .name-ne span + span { padding-left: var(--lkf-ind-p); }
}

/* ---- size of the big name ---- */
html[data-lk-front-size="small"] { --lkf-k: .82; }
html[data-lk-front-size="giant"] { --lkf-k: 1.15; }
html[data-lk-front-size="small"] .name-ne { font-size: clamp(3.5rem, 12.2vw, 11.4rem); }
html[data-lk-front-size="giant"] .name-ne { font-size: clamp(5rem, 18.5vw, 17.5rem); }
@media (max-width: 860px) {
  html[data-lk-front-size="small"] .name-ne { font-size: 17.5vw; }
  html[data-lk-front-size="giant"] .name-ne { font-size: 25.5vw; }
}

/* ---- colour of the second word ---- */
html[data-lk-front-word2="same"] .name-ne span + span { color: inherit; }
/* outline letters: the letters take the paper colour and sixteen small shadows draw the edge. Shadows are painted
   under the whole word, so the joins inside Devanagari letters stay clean (a text stroke shows them). */
html[data-lk-front-word2="outline"] .name-ne span + span { --o: .014em; --p: calc(var(--o) * .7071); --q: calc(var(--o) * .9239); --r: calc(var(--o) * .3827); --n: calc(var(--o) * -1); --np: calc(var(--p) * -1); --nq: calc(var(--q) * -1); --nr: calc(var(--r) * -1);
  color: var(--paper);
  text-shadow: var(--o) 0 var(--accent), var(--n) 0 var(--accent), 0 var(--o) var(--accent), 0 var(--n) var(--accent),
    var(--p) var(--p) var(--accent), var(--np) var(--p) var(--accent), var(--p) var(--np) var(--accent), var(--np) var(--np) var(--accent),
    var(--q) var(--r) var(--accent), var(--nq) var(--r) var(--accent), var(--q) var(--nr) var(--accent), var(--nq) var(--nr) var(--accent),
    var(--r) var(--q) var(--accent), var(--nr) var(--q) var(--accent), var(--r) var(--nq) var(--accent), var(--nr) var(--nq) var(--accent); }
/* on a phone the letters are small, so the edge is drawn heavier there to keep the thin curls readable */
@media (max-width: 860px) { html[data-lk-front-word2="outline"] .name-ne span + span { --o: .031em; } }

/* ---- layout: everything in the middle ---- */
html[data-lk-front-layout="centre"] .name-ne { text-align: center; }
html[data-lk-front-layout="centre"] .name-ne span:first-child { padding-right: var(--lkf-ind, .9em); }
html[data-lk-front-layout="centre"] .front > .disc { --s: clamp(6.5rem, 12.5vw, 10.5rem); }
html[data-lk-front-layout="centre"] .under { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 1.1rem; }
html[data-lk-front-layout="centre"] .under .go { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem .75rem; }
html[data-lk-front-layout="centre"] .under .say { max-width: 40ch; }
html[data-lk-front-layout="centre"] .under .own-line { justify-self: stretch; justify-content: center; text-align: left; }
html[data-lk-front-layout="centre"] .lkf-role { justify-content: center; }
@media (max-width: 860px) {
  html[data-lk-front-layout="centre"] .name-ne span:first-child { padding-right: var(--lkf-ind-p, .45em); }
}

/* ---- layout: name on the right (the record takes the free corner on the left) ---- */
html[data-lk-front-layout="right"] .name-ne { text-align: right; }
html[data-lk-front-layout="right"] .name-ne span + span { padding-left: 0; padding-right: var(--lkf-ind, .9em); }
html[data-lk-front-layout="right"] .front > .disc { right: auto; left: .25rem; }
@media (max-width: 860px) {
  html[data-lk-front-layout="right"] .name-ne span + span { padding-right: var(--lkf-ind-p, .45em); }
}

/* ---- layout: English name biggest, the Nepali name small under it ---- */
html[data-lk-front-layout="english"] .front { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: clamp(1.25rem, 3vw, 3rem); align-items: end; }
html[data-lk-front-layout="english"] .under { display: contents; }
html[data-lk-front-layout="english"] .under h1 { grid-column: 1 / -1; grid-row: 1; font-size: calc(clamp(4.2rem, 14vw, 13rem) * var(--lkf-k, 1)); line-height: .92; letter-spacing: -.02em; }
html[data-lk-front-layout="english"] .under h1 > span[data-k] { display: block; max-width: 5.6em; overflow-wrap: break-word; }
html[data-lk-front-layout="english"] .under h1 small { margin-top: 1.3rem; letter-spacing: .04em; line-height: 1.55; }
html[data-lk-front-layout="english"] .name-ne { grid-column: 1; grid-row: 2; font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 1.15; white-space: nowrap; }
html[data-lk-front-layout="english"] .name-ne span { display: inline-block; }
html[data-lk-front-layout="english"] .name-ne span + span { padding-left: .28em; padding-right: 0; }
html[data-lk-front-layout="english"] .under .own-line,
html[data-lk-front-layout="english"] .under .portrait { grid-column: 1 / -1; }
@media (min-width: 861px) {
  html[data-lk-front-layout="english"] .under .say { grid-column: 2; grid-row: 2; }
  html[data-lk-front-layout="english"] .under .go { grid-column: 3; grid-row: 2; }
}
@media (max-width: 860px) {
  html[data-lk-front-layout="english"] .front { grid-template-columns: minmax(0, 1fr); }
  html[data-lk-front-layout="english"] .under h1 { font-size: calc(20vw * var(--lkf-k, 1)); }
  html[data-lk-front-layout="english"] .name-ne { font-size: 12.5vw; }
}

/* ---- the record beside the English name (31-front.js moves it into the row) ---- */
@media (min-width: 861px) {
  html[data-lk-front-disc="beside"] .under > .disc { position: relative; top: auto; right: auto; left: auto; --s: clamp(6.5rem, 10.5vw, 9rem); align-self: end; }
  html[data-lk-front-disc="beside"]:not([data-lk-front-layout="centre"]):not([data-lk-front-layout="english"]) .under { grid-template-columns: auto minmax(0, 4fr) minmax(0, 5fr) auto; }
  html[data-lk-front-disc="beside"][data-lk-front-layout="centre"] .under > .disc { --s: clamp(7rem, 13vw, 11rem); margin-bottom: .5rem; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  html[data-lk-front-disc="beside"]:not([data-lk-front-layout="centre"]):not([data-lk-front-layout="english"]) .under { grid-template-columns: auto minmax(0, 1fr) auto; }
  html[data-lk-front-disc="beside"]:not([data-lk-front-layout="centre"]):not([data-lk-front-layout="english"]) .under .say { grid-column: 1 / -1; grid-row: 2; max-width: 46ch; }
}

/* ---- no record: the small line with the newest song shows on every screen ---- */
html[data-lk-front-disc="hidden"] .front .disc { display: none; }
html[data-lk-front-disc="hidden"] .front .own-line { display: flex; }

/* ---- the line under the name, as tags (a copy made by 31-front.js; the real line stays for screen readers
        and stays visible while editing, so it can still be typed in) ---- */
html:not(.editing):not([data-lk-front-role="mono"]) .front h1 small[data-k="front.role"]:has(+ .lkf-role) { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html[data-lk-front-role="pills"] .lkf-role { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
html[data-lk-front-role="pills"] .lkf-role span { padding: .34rem .75rem .3rem; border: 1px solid currentColor; border-radius: 99px; font-size: .75rem; line-height: 1.3; letter-spacing: .06em; white-space: nowrap; }
html[data-lk-front-role="dots"] .lkf-role { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .7rem; margin-top: .7rem; font-family: var(--text); font-style: italic; font-size: 1.1875rem; line-height: 1.3; letter-spacing: 0; text-transform: none; }
html[data-lk-front-role="dots"] .lkf-role span { display: inline-flex; align-items: center; gap: .7rem; white-space: nowrap; }
html[data-lk-front-role="dots"] .lkf-role span + span::before { content: ""; flex: none; width: .36em; height: .36em; border-radius: 50%; background: var(--accent); }
html.editing:not([data-lk-front-role="mono"]) .front h1 small[data-k="front.role"] { opacity: .6; }

/* ---- opening movement (plays once; nothing moves for visitors who ask for less motion) ---- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes lkf-rise-name { from { opacity: 0; transform: translateY(.32em); } }
  @keyframes lkf-rise { from { opacity: 0; transform: translateY(22px); } }
  @keyframes lkf-fade { from { opacity: 0; } }
  @keyframes lkf-write { from { clip-path: inset(-.35em 100% -.35em -.2em); } to { clip-path: inset(-.35em -.2em -.35em -.2em); } }

  html[data-lk-front-enter="rise"] .name-ne span { animation: lkf-rise-name .95s cubic-bezier(.2, .7, .2, 1) backwards; }
  html[data-lk-front-enter="rise"] .name-ne span + span { animation-delay: .14s; }
  html[data-lk-front-enter="rise"] .front .disc { animation: lkf-rise .9s cubic-bezier(.2, .7, .2, 1) .34s backwards; }
  html[data-lk-front-enter="rise"] .under > :not(.disc) { animation: lkf-rise .8s cubic-bezier(.2, .7, .2, 1) .5s backwards; }
  html[data-lk-front-enter="rise"] .under > .say { animation-delay: .6s; }
  html[data-lk-front-enter="rise"] .under > .go { animation-delay: .7s; }
  html[data-lk-front-enter="rise"] .under > .own-line, html[data-lk-front-enter="rise"] .under > .portrait { animation-delay: .8s; }

  html[data-lk-front-enter="fade"] .name-ne span { animation: lkf-fade 1.3s ease backwards; }
  html[data-lk-front-enter="fade"] .name-ne span + span { animation-delay: .25s; }
  html[data-lk-front-enter="fade"] .front .disc { animation: lkf-fade 1.2s ease .5s backwards; }
  html[data-lk-front-enter="fade"] .under > :not(.disc) { animation: lkf-fade 1.1s ease .7s backwards; }
  html[data-lk-front-enter="fade"] .under > .say { animation-delay: .85s; }
  html[data-lk-front-enter="fade"] .under > .go { animation-delay: 1s; }
  html[data-lk-front-enter="fade"] .under > .own-line, html[data-lk-front-enter="fade"] .under > .portrait { animation-delay: 1.15s; }

  html[data-lk-front-enter="write"] .name-ne span { width: fit-content; animation: lkf-write .85s cubic-bezier(.55, 0, .3, 1) .1s backwards; }
  html[data-lk-front-enter="write"] .name-ne span + span { animation-delay: .8s; }
  html[data-lk-front-enter="write"][data-lk-front-layout="right"] .name-ne span { margin-left: auto; }
  html[data-lk-front-enter="write"][data-lk-front-layout="centre"] .name-ne span { margin-inline: auto; }
  html[data-lk-front-enter="write"] .front .disc { animation: lkf-fade 1s ease 1.3s backwards; }
  html[data-lk-front-enter="write"] .under > :not(.disc) { animation: lkf-rise .8s cubic-bezier(.2, .7, .2, 1) 1.5s backwards; }
  html[data-lk-front-enter="write"] .under > .say { animation-delay: 1.6s; }
  html[data-lk-front-enter="write"] .under > .go { animation-delay: 1.7s; }
  html[data-lk-front-enter="write"] .under > .own-line, html[data-lk-front-enter="write"] .under > .portrait { animation-delay: 1.8s; }
}


/* ---- 32-record.css ---- */
/* Record and my own music (module 32, options rec-*).
   Styles the record in its sleeve (.disc), the small record line on phones (.own-line) and the song panel
   (dialog.own-dlg). Every rule starts with a non-default value, so with nothing chosen nothing here applies.

   How the spin is steered without touching the page script: index.html turns #own-vinyl with an inline transform
   on every frame. A CSS animation outranks an inline style, so a chosen spin replaces it. The grooves are rings
   and look the same at any angle, so the speed-up on hover is done by turning the label (.vlabel) as well, switched
   with animation-play-state, which never jumps. */

/* ---------- record colour ---------- */
html[data-lk-rec-vinyl="brass"] .vinyl, html[data-lk-rec-vinyl="brass"] .own-line .mini {
  --rv-a: color-mix(in srgb, var(--brass) 80%, #000);
  --rv-b: color-mix(in srgb, var(--brass) 62%, var(--brass-lt));
  --rv-ring: color-mix(in srgb, var(--brass) 55%, #000);
  --rv-edge: color-mix(in srgb, var(--brass) 50%, #000);
}
html[data-lk-rec-vinyl="red"] .vinyl, html[data-lk-rec-vinyl="red"] .own-line .mini {
  --rv-a: #5b0f19; --rv-b: #7d1b27; --rv-ring: #430a12; --rv-edge: #3a080f;
}
html[data-lk-rec-vinyl="clear"] .vinyl, html[data-lk-rec-vinyl="clear"] .own-line .mini {
  --rv-a: color-mix(in srgb, var(--ink) 6%, transparent);
  --rv-b: color-mix(in srgb, var(--ink) 17%, transparent);
  --rv-ring: color-mix(in srgb, var(--ink) 30%, transparent);
  --rv-edge: color-mix(in srgb, var(--ink) 42%, transparent);
}
html:is([data-lk-rec-vinyl="brass"], [data-lk-rec-vinyl="red"], [data-lk-rec-vinyl="clear"]) .vinyl {
  background: radial-gradient(circle, transparent 0 33%, var(--rv-ring) 33.5% 35%, transparent 35.5%), repeating-radial-gradient(circle, var(--rv-a) 0 1px, var(--rv-b) 1.6px 3px);
  box-shadow: inset 0 0 0 2px var(--rv-edge), 0 10px 24px -12px rgba(0, 0, 0, .7);
}
html:is([data-lk-rec-vinyl="brass"], [data-lk-rec-vinyl="red"], [data-lk-rec-vinyl="clear"]) .own-line .mini {
  background: repeating-radial-gradient(circle, var(--rv-a) 0 1px, var(--rv-b) 1.6px 3px);
  box-shadow: inset 0 0 0 2px var(--rv-edge);
}
/* a dark line round the label, so a brass label still reads on a brass or red record */
html:is([data-lk-rec-vinyl="brass"], [data-lk-rec-vinyl="red"]) .vlabel { box-shadow: 0 0 0 2px var(--rv-edge); }
/* clear: see-through with a paper tint, a softer shadow, and the shine drawn in ink instead of white */
html[data-lk-rec-vinyl="clear"] .vinyl { background-color: color-mix(in srgb, var(--paper) 45%, transparent); box-shadow: inset 0 0 0 2px var(--rv-edge), 0 10px 22px -14px rgba(0, 0, 0, .4); }
html[data-lk-rec-vinyl="clear"] .own-line .mini { background-color: color-mix(in srgb, var(--paper) 45%, transparent); }
html[data-lk-rec-vinyl="clear"] .vlabel { box-shadow: 0 0 0 2px var(--rv-edge); }
html[data-lk-rec-vinyl="clear"] .disc-slide::after {
  background: conic-gradient(from 30deg, rgba(255, 255, 255, 0) 0 6%, rgba(255, 255, 255, .55) 11%, rgba(255, 255, 255, 0) 18% 52%, rgba(255, 255, 255, .35) 59%, rgba(255, 255, 255, 0) 66%);
}

/* ---------- sleeve tilt ---------- */
html[data-lk-rec-tilt="straight"] .disc { --rec-tilt: 0deg; }
html[data-lk-rec-tilt="more"] .disc { --rec-tilt: -8deg; }
html:is([data-lk-rec-tilt="straight"], [data-lk-rec-tilt="more"]) .disc .sleeve { transform: rotate(var(--rec-tilt)); }
html:is([data-lk-rec-tilt="straight"], [data-lk-rec-tilt="more"]) .disc:hover .sleeve,
html:is([data-lk-rec-tilt="straight"], [data-lk-rec-tilt="more"]) .disc:focus-visible .sleeve { transform: rotate(calc(var(--rec-tilt) - 2deg)) translateX(-3px); }

/* ---------- sleeve border ---------- */
html[data-lk-rec-frame="white"] .sleeve {
  border: calc(var(--s) * .05) solid #fdfcfa;
  box-shadow: 0 16px 30px -14px rgba(22, 21, 20, .6), 0 0 0 1px rgba(22, 21, 20, .13);
}
html[data-lk-rec-frame="brass"] .sleeve {
  border: calc(var(--s) * .022) solid var(--accent);
  outline: 1px solid var(--accent); outline-offset: calc(var(--s) * .02);
}

/* ---------- when pointed at ---------- */
/* needle and a warm glow */
html[data-lk-rec-hover="glow"] .vinyl { transition: box-shadow .8s ease; }
html[data-lk-rec-hover="glow"] .disc:hover .vinyl,
html[data-lk-rec-hover="glow"] .disc:focus-visible .vinyl {
  box-shadow: inset 0 0 0 2px var(--rv-edge, #0a0a0a), 0 10px 24px -12px rgba(0, 0, 0, .7),
    0 0 0 1px var(--brass-lt), 0 0 calc(var(--s) * .14) calc(var(--s) * .035) color-mix(in srgb, var(--brass-lt) 78%, transparent);
}
html[data-lk-rec-hover="glow"] .sleeve { transition: transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .8s ease; }
html[data-lk-rec-hover="glow"]:not([data-lk-rec-frame="white"]) .disc:hover .sleeve,
html[data-lk-rec-hover="glow"]:not([data-lk-rec-frame="white"]) .disc:focus-visible .sleeve {
  box-shadow: 0 16px 30px -14px rgba(22, 21, 20, .6), 0 1px 0 rgba(22, 21, 20, .15), 0 0 calc(var(--s) * .16) color-mix(in srgb, var(--brass-lt) 50%, transparent);
}

/* a little wobble: the needle stays up, sleeve and record rock once */
html[data-lk-rec-hover="wobble"] .disc:hover .tonearm,
html[data-lk-rec-hover="wobble"] .disc:focus-visible .tonearm { transform: rotate(-10deg); }
@media (prefers-reduced-motion: no-preference) {
  html[data-lk-rec-hover="wobble"] .disc:hover .sleeve,
  html[data-lk-rec-hover="wobble"] .disc:focus-visible .sleeve { animation: lk-rec-rock .95s cubic-bezier(.3, .6, .3, 1); }
  html[data-lk-rec-hover="wobble"] .disc:hover .disc-slide,
  html[data-lk-rec-hover="wobble"] .disc:focus-visible .disc-slide { animation: lk-rec-hop .95s cubic-bezier(.3, .6, .3, 1); }
  html[data-lk-rec-hover="wobble"] .disc:hover .tonearm,
  html[data-lk-rec-hover="wobble"] .disc:focus-visible .tonearm { animation: lk-rec-nod .95s cubic-bezier(.3, .6, .3, 1); }
}
@keyframes lk-rec-rock { 0%, 100% { rotate: 0deg; } 22% { rotate: -4.5deg; } 50% { rotate: 3deg; } 76% { rotate: -1.2deg; } }
@keyframes lk-rec-hop { 0%, 100% { translate: 0 0; } 26% { translate: 0 -5px; } 54% { translate: 0 2px; } 80% { translate: 0 -1px; } }
@keyframes lk-rec-nod { 0%, 100% { rotate: 0deg; } 30% { rotate: 6deg; } 62% { rotate: -2.5deg; } }

/* record slides far out */
html[data-lk-rec-hover="wide"] .disc:hover .disc-slide,
html[data-lk-rec-hover="wide"] .disc:focus-visible .disc-slide { transform: translateX(calc(var(--s) * .24)); }
html[data-lk-rec-hover="wide"] .disc:hover .sleeve,
html[data-lk-rec-hover="wide"] .disc:focus-visible .sleeve { transform: rotate(calc(var(--rec-tilt, -3deg) - 4deg)) translateX(calc(var(--s) * -.04)); }

/* nothing moves */
html[data-lk-rec-hover="none"] .disc:hover .disc-slide,
html[data-lk-rec-hover="none"] .disc:focus-visible .disc-slide { transform: none; }
html[data-lk-rec-hover="none"] .disc:hover .sleeve,
html[data-lk-rec-hover="none"] .disc:focus-visible .sleeve { transform: rotate(var(--rec-tilt, -3deg)); }
html[data-lk-rec-hover="none"] .disc:hover .tonearm,
html[data-lk-rec-hover="none"] .disc:focus-visible .tonearm { transform: rotate(-10deg); }

/* ---------- record spin ---------- */
/* stopped: the small record on phones stands still too */
html[data-lk-rec-spin="still"] .own-line .mini { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  html[data-lk-rec-spin="still"] #own-vinyl { animation: lk-rec-hold 1s linear infinite; }
  html[data-lk-rec-spin="fast"] #own-vinyl { animation: lk-rec-turn 5s linear infinite; }
  html[data-lk-rec-spin="fast"] .own-line .mini { animation-duration: 3.2s; }
  /* pointed at: the label turns as well, up to the speed of a real record */
  html[data-lk-rec-spin="still"] .disc .vlabel { animation: lk-rec-turn 1.8s linear infinite paused; }
  html[data-lk-rec-spin="fast"] .disc .vlabel { animation: lk-rec-turn 2.8s linear infinite paused; }
  html:is([data-lk-rec-spin="still"], [data-lk-rec-spin="fast"]):not([data-lk-rec-hover="none"]) .disc:hover .vlabel,
  html:is([data-lk-rec-spin="still"], [data-lk-rec-spin="fast"]):not([data-lk-rec-hover="none"]) .disc:focus-visible .vlabel { animation-play-state: running; }
  /* "nothing moves" with the usual slow turn: keep the slow turn when pointed at */
  html[data-lk-rec-hover="none"][data-lk-rec-spin="slow"] #own-vinyl { animation: lk-rec-turn 15s linear infinite; }
}
@keyframes lk-rec-hold { from, to { transform: rotate(0deg); } }
@keyframes lk-rec-turn { to { transform: rotate(360deg); } }

/* ---------- song panel style ---------- */
/* dark panel */
html[data-lk-rec-panel="dark"] .own-dlg {
  --paper: var(--dark); --ink: var(--light); --accent: var(--brass-lt);
  background: var(--dark); color: var(--light);
  border-color: color-mix(in srgb, var(--brass-lt) 55%, transparent);
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .85);
}
html[data-lk-rec-panel="dark"] .own-dlg::backdrop { background: rgba(22, 21, 20, .74); }
html[data-lk-rec-panel="dark"] .own-dlg .own-k,
html[data-lk-rec-panel="dark"] .own-dlg .own-all > .mono { color: var(--brass-lt); }
html[data-lk-rec-panel="dark"] .own-dlg .own-all { border-top-color: color-mix(in srgb, var(--light) 32%, transparent); }
html[data-lk-rec-panel="dark"] .own-dlg .own-list button { border-bottom-color: color-mix(in srgb, var(--light) 15%, transparent); }
html[data-lk-rec-panel="dark"] .own-dlg .own-list button:hover .t,
html[data-lk-rec-panel="dark"] .own-dlg .own-list button[aria-current="true"] .t { color: var(--brass-lt); }
html[data-lk-rec-panel="dark"] .own-dlg .own-list button[aria-current="true"] .n::before { color: var(--brass-lt); }
html[data-lk-rec-panel="dark"] .own-dlg .own-list button:focus-visible,
html[data-lk-rec-panel="dark"] .own-dlg .own-x:focus-visible { outline-color: var(--brass-lt); }
html[data-lk-rec-panel="dark"] .own-dlg .own-x { border-color: color-mix(in srgb, var(--light) 60%, transparent); background: var(--dark); color: var(--light); }
html[data-lk-rec-panel="dark"] .own-dlg .own-x:hover { background: var(--light); border-color: var(--light); color: var(--dark); }
/* in the editor: the dotted lines round the words, in the lighter brass used on dark blocks */
html.editing[data-lk-rec-panel="dark"] .own-dlg [data-pk-text] { outline-color: rgba(217, 171, 106, .35); }
html.editing[data-lk-rec-panel="dark"] .own-dlg [data-pk-text]:hover { outline-color: rgba(217, 171, 106, .9); }
html.editing[data-lk-rec-panel="dark"] .own-dlg [data-pk-text]:focus { outline-color: #d9ab6a; background-color: rgba(217, 171, 106, .14); }

/* video on top: one narrow column, the video first, the words under it */
html[data-lk-rec-panel="top"] .own-dlg { width: min(540px, calc(100vw - 2rem)); }
html[data-lk-rec-panel="top"] .own-dlg:has(.own-frame.yt) { width: min(720px, calc(100vw - 2rem)); }
html[data-lk-rec-panel="top"] .own-dlg .own-in { grid-template-columns: minmax(0, 1fr); gap: clamp(1.1rem, 3vw, 1.75rem); padding: clamp(1.25rem, 4vw, 2rem); }
html[data-lk-rec-panel="top"] .own-dlg .own-x { margin: calc(-1 * clamp(.5rem, 2vw, .9rem)) calc(-1 * clamp(.5rem, 2vw, .9rem)) calc(-1 * clamp(.3rem, 1vw, .6rem)) 0; }
/* the video is kept short enough for the words to show under it without scrolling */
html[data-lk-rec-panel="top"] .own-dlg .own-frame { order: -1; justify-self: center; width: min(100%, 44vh); max-width: none; }
html[data-lk-rec-panel="top"] .own-dlg .own-frame.yt { width: min(100%, calc(44vh * 16 / 9)); }
html[data-lk-rec-panel="top"] .own-dlg .own-frame.tt { width: min(100%, calc(52vh * 9 / 16)); }
html[data-lk-rec-panel="top"] .own-dlg .own-p { max-width: 40ch; }

/* ---------- how the panel opens ---------- */
@media (prefers-reduced-motion: no-preference) {
  html[data-lk-rec-enter="up"] .own-dlg[open] { animation: lk-rec-up .62s cubic-bezier(.16, .84, .24, 1); }
  html[data-lk-rec-enter="zoom"] .own-dlg[open] { animation: lk-rec-zoom .5s cubic-bezier(.2, .7, .2, 1); }
  html[data-lk-rec-enter="open"] .own-dlg[open] { animation: lk-rec-open .7s cubic-bezier(.65, 0, .2, 1); }
  html[data-lk-rec-enter="open"] .own-dlg[open] .own-in { animation: lk-rec-ink .5s ease .3s backwards; }
  html:is([data-lk-rec-enter="up"], [data-lk-rec-enter="zoom"], [data-lk-rec-enter="open"]) .own-dlg[open]::backdrop { animation: lk-rec-dim .5s ease; }
}
@keyframes lk-rec-up { from { transform: translateY(70vh); } }
@keyframes lk-rec-zoom { from { opacity: 0; transform: scale(.82); } }
@keyframes lk-rec-open { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
@keyframes lk-rec-ink { from { opacity: 0; } }
@keyframes lk-rec-dim { from { opacity: 0; } }


/* ---- 33-about.css ---- */
/* About (33-about). No rule here applies at the default values.
   Parts: section.notes#about > div (the .lang switch, h2, dl.facts, and in the editor a .pk-row button under the
   facts) + div.body (the story, .body-in per language). The photo (.portrait) sits on the first screen.
   The site turns to one column at 860px, so "desktop" here is min-width: 861px. */

/* =====================================================================================================
   Language switch
   ===================================================================================================== */
html[data-lk-about-lang="pills"] #about .lang { border: 0; border-radius: 0; overflow: visible; gap: .5rem; }
html[data-lk-about-lang="pills"] #about .lang button { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.15rem; border: 1px solid currentColor; border-radius: 99rem; }
html[data-lk-about-lang="pills"] #about .lang button[aria-pressed="true"] { border-color: var(--ink); }
html[data-lk-about-lang="pills"] #about .lang button[aria-pressed="false"]:hover { border-color: var(--accent); color: var(--accent); }

html[data-lk-about-lang="tabs"] #about .lang { border: 0; border-radius: 0; overflow: visible; gap: 1.5rem; }
html[data-lk-about-lang="tabs"] #about .lang button { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .1rem; box-shadow: inset 0 -2px 0 transparent; opacity: .62; transition: opacity .25s, box-shadow .25s; }
html[data-lk-about-lang="tabs"] #about .lang button[aria-pressed="true"] { background: none; color: inherit; opacity: 1; box-shadow: inset 0 -3px 0 var(--accent); }
html[data-lk-about-lang="tabs"] #about .lang button:hover { opacity: 1; }
@media (prefers-reduced-motion: reduce) { html[data-lk-about-lang="tabs"] #about .lang button { transition: none; } }

/* =====================================================================================================
   First paragraph
   ===================================================================================================== */
html[data-lk-about-first="same"] .notes .body-in p:first-child,
html[data-lk-about-first="drop"] .notes .body-in p:first-child { font-size: inherit; line-height: calc(1.6 + var(--type-lh, 0)); margin-bottom: 0; }
html[data-lk-about-first="same"] #about .body-in[data-l="ne"] p:first-child,
html[data-lk-about-first="drop"] #about .body-in[data-l="ne"] p:first-child { font-size: inherit; line-height: calc(1.75 + var(--type-lh, 0)); }

html[data-lk-about-first="drop"] .notes .body-in p:first-child::first-letter {
  float: left; font-family: var(--display); font-weight: 400; font-size: 4.55em; line-height: .76; padding: .07em .1em 0 0; color: var(--accent);
}
/* Devanagari: the letter hangs from its top line, so it is set a little smaller and lower */
html[data-lk-about-first="drop"] #about .body-in[data-l="ne"] p:first-child::first-letter {
  font-family: var(--display-ne); font-size: 3.8em; line-height: 1; padding: 0 .12em 0 0; margin-top: -.02em;
}

html[data-lk-about-first="accent"] .notes .body-in p:first-child { color: var(--accent); }

/* =====================================================================================================
   Short facts
   ===================================================================================================== */
/* one line each: the name on the left, the answer on the right, a hairline under every pair */
html[data-lk-about-facts="rows"] #about .facts { grid-template-columns: max-content minmax(0, 1fr); padding-top: 0; }
html[data-lk-about-facts="rows"] #about .facts dt { display: flex; align-items: center; padding-right: 1.25rem; border-bottom: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); }
html[data-lk-about-facts="rows"] #about .facts dd { margin: 0; padding: .8rem 0; text-align: right; font-size: clamp(1.15rem, 1.6vw, 1.35rem); border-bottom: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); }
html[data-lk-about-facts="rows"] #about .facts dd::after { display: none; }
html[data-lk-about-facts="rows"] #about dl.facts[data-l="ne"] dd { font-size: clamp(1.1rem, 1.5vw, 1.25rem); }

/* rounded tags: the name above, the answer in its own outlined tag */
html[data-lk-about-facts="chips"] #about .facts { justify-items: start; }
html[data-lk-about-facts="chips"] #about .facts dd { margin: .5rem 0 1.15rem; padding: .5rem 1.15rem .55rem; border: 1px solid currentColor; border-radius: 1.6em; font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
html[data-lk-about-facts="chips"] #about .facts dd:last-of-type { margin-bottom: .4rem; }
html[data-lk-about-facts="chips"] #about .facts dd::after { display: none; }
html[data-lk-about-facts="chips"] #about dl.facts[data-l="ne"] dd { font-size: clamp(1.05rem, 1.4vw, 1.2rem); padding-block: .35rem .4rem; }

/* boxes: each fact in its own box, the answer large, a brass foot that draws in */
html[data-lk-about-facts="cards"] #about .facts { padding-top: 0; border-top: 0; }
html[data-lk-about-facts="cards"] #about .facts dt { padding: 1rem 1.1rem 0; border: 1px solid currentColor; border-bottom: 0; }
html[data-lk-about-facts="cards"] #about .facts dd { margin: 0 0 .8rem; padding: .4rem 1.1rem 1.15rem; border: 1px solid currentColor; border-top: 0; font-size: clamp(1.7rem, 2.7vw, 2.25rem); line-height: 1.08; }
html[data-lk-about-facts="cards"] #about .facts dd:last-of-type { margin-bottom: 0; }
html[data-lk-about-facts="cards"] #about .facts dd::after { left: -1px; right: -1px; width: auto; bottom: -1px; height: 3px; }
html[data-lk-about-facts="cards"] #about dl.facts[data-l="ne"] dd { font-size: clamp(1.45rem, 2.3vw, 1.9rem); line-height: 1.3; }

/* =====================================================================================================
   Heading and switch (works in one column; the desktop grid versions are further down)
   ===================================================================================================== */
html[data-lk-about-head="first"] #about > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }
html[data-lk-about-head="first"] #about h2 { order: -1; }
html[data-lk-about-head="first"] #about .lang { margin: 1.1rem 0 0; }
html[data-lk-about-head="first"] #about .facts, html[data-lk-about-head="first"] #about .pk-row { align-self: stretch; }

html[data-lk-about-head="across"] #about > div:first-child { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .6rem 1.5rem; }
html[data-lk-about-head="across"] #about h2 { order: -1; }
html[data-lk-about-head="across"] #about .lang { margin: 0 0 .3rem; }
html[data-lk-about-head="across"] #about .facts, html[data-lk-about-head="across"] #about .pk-row { flex: 0 0 100%; }
html[data-lk-about-head="across"] #about .facts { margin-top: .65rem; }

/* =====================================================================================================
   Layout: facts in a card (the box itself, at every width)
   ===================================================================================================== */
html[data-lk-about-layout="card"] #about .facts { padding: 1.4rem 1.4rem .15rem; border: 1px solid currentColor; border-top: 3px solid var(--accent); background: color-mix(in srgb, var(--ink) 4%, transparent); }
html[data-lk-about-layout="card"][data-lk-about-facts="rows"] #about .facts { padding: .35rem 1.4rem .5rem; }
html[data-lk-about-layout="card"][data-lk-about-facts="rows"] #about .facts :is(dt, dd):nth-last-child(-n+2) { border-bottom: 0; }
html[data-lk-about-layout="card"][data-lk-about-facts="chips"] #about .facts { padding-bottom: 1rem; }
/* boxes inside a box would be one frame too many: the boxes are the card */
html[data-lk-about-layout="card"][data-lk-about-facts="cards"] #about .facts { padding: 0; border: 0; background: none; }

/* =====================================================================================================
   Layout: narrow, in the middle
   ===================================================================================================== */
html[data-lk-about-layout="centre"] .notes { grid-template-columns: minmax(0, 40rem); justify-content: center; }
html[data-lk-about-layout="centre"] #about > div:first-child { text-align: center; }
html[data-lk-about-layout="centre"][data-lk-about-head="first"] #about > div:first-child { align-items: center; }
html[data-lk-about-layout="centre"] #about .facts dd::after { transform-origin: center; }
html[data-lk-about-layout="centre"] #about .pk-row { justify-content: center; }
html[data-lk-about-layout="centre"][data-lk-about-facts="chips"] #about .facts { justify-items: center; }
html[data-lk-about-layout="centre"][data-lk-about-facts="rows"] #about .facts dt { text-align: left; }
html[data-lk-about-layout="centre"]:is([data-lk-about-first="large"], [data-lk-about-first="accent"]) .notes .body-in p:first-child { text-align: center; text-wrap: balance; margin-bottom: .9em; }

/* =====================================================================================================
   Desktop
   ===================================================================================================== */
@media (min-width: 861px) {
  /* ---- facts as a row of columns: "row on top" and "in the middle" ---- */
  html[data-lk-about-layout="top"] .notes { grid-template-columns: minmax(0, 1fr); }
  html:is([data-lk-about-layout="top"], [data-lk-about-layout="centre"]):not([data-lk-about-facts="rows"]) #about .facts {
    grid-template-columns: none; grid-auto-flow: column; grid-template-rows: auto 1fr; grid-auto-columns: minmax(0, 1fr); column-gap: clamp(1.25rem, 3vw, 3rem);
  }
  html:is([data-lk-about-layout="top"], [data-lk-about-layout="centre"]):not([data-lk-about-facts="rows"]) #about .facts dd { margin-bottom: 0; }
  html:is([data-lk-about-layout="top"], [data-lk-about-layout="centre"])[data-lk-about-facts="cards"] #about .facts { column-gap: .8rem; }
  html[data-lk-about-layout="centre"]:not([data-lk-about-facts="rows"]) #about .facts { column-gap: 1.5rem; }
  html[data-lk-about-layout="centre"][data-lk-about-facts="list"] #about .facts dd { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
  html[data-lk-about-layout="centre"][data-lk-about-facts="cards"] #about .facts dd { font-size: 1.45rem; }
  html[data-lk-about-layout="centre"][data-lk-about-facts="cards"] #about .facts :is(dt, dd) { padding-inline: .7rem; }
  html[data-lk-about-layout="top"][data-lk-about-facts="rows"] #about .facts { max-width: 34rem; }

  /* ---- row on top: the story runs across the page in two columns ---- */
  html[data-lk-about-layout="top"] .notes .body { max-width: none; }
  html[data-lk-about-layout="top"] .notes .body-in { columns: 2; column-gap: clamp(2rem, 4vw, 4rem); }
  /* space under each paragraph instead of over it, so both columns start on the same line */
  html[data-lk-about-layout="top"] .notes .body-in p + p { margin-top: 0; }
  html[data-lk-about-layout="top"] .notes .body-in p:not(:last-child) { margin-bottom: 1.1em; }
  html[data-lk-about-layout="top"]:is([data-lk-about-first="large"], [data-lk-about-first="accent"]) .notes .body-in p:first-child { column-span: all; max-width: 48rem; margin-bottom: 1.1em; }

  /* ---- facts in a card, and "side by side" heading with facts on the left: the first column's parts are laid
          straight on the section's grid.  rows: 1 and 2 heading and switch, 3 facts and story, 4 the rest ---- */
  html[data-lk-about-layout="card"] #about > div:first-child,
  html[data-lk-about-layout="side"][data-lk-about-head="across"] #about > div:first-child { display: contents; }
  html[data-lk-about-layout="card"] .notes,
  html[data-lk-about-layout="side"][data-lk-about-head="across"] .notes { row-gap: 0; grid-template-rows: auto auto auto 1fr; }

  html[data-lk-about-layout="card"] .notes { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  html[data-lk-about-layout="card"] #about .lang { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
  html[data-lk-about-layout="card"] #about h2 { grid-column: 1 / -1; grid-row: 2; margin-bottom: clamp(1.5rem, 2.6vw, 2.25rem); }
  html[data-lk-about-layout="card"] #about > .body { grid-column: 1; grid-row: 3 / span 2; }
  html[data-lk-about-layout="card"] #about .facts { grid-column: 2; grid-row: 3; align-self: start; margin-top: .35rem; }
  html[data-lk-about-layout="card"] #about .pk-row { grid-column: 2; grid-row: 4; align-self: start; }

  html[data-lk-about-layout="card"][data-lk-about-head="first"] #about h2 { grid-row: 1; margin-bottom: 0; }
  html[data-lk-about-layout="card"][data-lk-about-head="first"] #about .lang { grid-row: 2; margin: 1.1rem 0 clamp(1.5rem, 2.6vw, 2.25rem); }

  /* side by side: heading left, switch right, one line under both */
  html:is([data-lk-about-layout="card"], [data-lk-about-layout="side"])[data-lk-about-head="across"] #about h2 { grid-column: 1; grid-row: 1; margin-bottom: 0; padding-bottom: 1.1rem; }
  html:is([data-lk-about-layout="card"], [data-lk-about-layout="side"])[data-lk-about-head="across"] #about .lang { grid-column: 2; grid-row: 1; justify-self: end; align-self: end; margin: 0 0 1.35rem; }
  html:is([data-lk-about-layout="card"], [data-lk-about-layout="side"])[data-lk-about-head="across"] #about::before { content: ""; grid-column: 1 / -1; grid-row: 2; border-top: var(--rule); margin-bottom: clamp(1.5rem, 2.6vw, 2.25rem); }

  html[data-lk-about-layout="side"][data-lk-about-head="across"] #about .facts { grid-column: 1; grid-row: 3; align-self: start; margin-top: 0; padding-top: 0; border-top: 0; }
  html[data-lk-about-layout="side"][data-lk-about-head="across"] #about .pk-row { grid-column: 1; grid-row: 4; align-self: start; }
  html[data-lk-about-layout="side"][data-lk-about-head="across"] #about > .body { grid-column: 2; grid-row: 3 / span 2; }
}

/* =====================================================================================================
   The photo on the first screen
   ===================================================================================================== */
html[data-lk-about-portrait="circle"] .front .under .portrait { justify-self: start; width: min(100%, 22rem); max-height: none; aspect-ratio: 1; border-radius: 50%; }
html[data-lk-about-portrait="rounded"] .front .under .portrait { border-radius: clamp(1rem, 2.4vw, 1.75rem); }
html[data-lk-about-portrait="polaroid"] .front .under .portrait {
  justify-self: start; width: min(88%, 21rem); max-height: none; aspect-ratio: 5 / 6; margin: .75rem 0 .5rem .5rem;
  padding: .8rem .8rem 3.4rem; border: 1px solid color-mix(in srgb, var(--dark) 16%, transparent); border-radius: 2px;
  background: color-mix(in srgb, var(--light) 55%, #fff); transform: rotate(-2.5deg);
  box-shadow: 0 22px 34px -20px color-mix(in srgb, var(--dark) 65%, transparent), 0 2px 5px color-mix(in srgb, var(--dark) 12%, transparent);
}
html[data-lk-about-photo-colour="on"] .front .under .portrait { filter: none; }


/* ---- 34-stage.css ---- */
/* On stage, more looks (34-stage). Every rule starts with a non-default value, so the default is today's design.
   The progress bar, picture change and seconds belong to 10-stage.js and index.html: nothing here touches them. */

/* The dark shade over the picture is drawn in two layers, so a caption look and a frame look can be used together:
   --stg-top   = what a frame adds (cinema bars, TV lines)       set on .screen by the frame rules
   --stg-shade = the shade behind the words                      set on .screen by the caption rules
   Left unset, each falls back to nothing and to the site's own shade. */
html[data-lk-stg-cap="center"] .slide::after,
html[data-lk-stg-cap="tl"] .slide::after,
html[data-lk-stg-frame="cinema"] .slide::after,
html[data-lk-stg-frame="tv"] .slide::after {
  background: var(--stg-top, linear-gradient(transparent, transparent)), var(--stg-shade, linear-gradient(to top, rgba(12, 11, 11, .9), rgba(12, 11, 11, 0) 60%));
}

/* ---------- screen frame ---------- */
html[data-lk-stg-frame="rounded"] .screen { border-radius: clamp(12px, 2vw, 26px); }
html[data-lk-stg-frame="rounded"] .gallery[data-bars="setlist"] .stage-box { border-radius: clamp(12px, 2vw, 26px); overflow: hidden; }
html[data-lk-stg-frame="rounded"] .gallery[data-bars="setlist"] .screen { border-radius: 0; }

html[data-lk-stg-frame="cinema"] .screen {
  --stg-band: 9%;
  --stg-top: linear-gradient(#0c0b0b, #0c0b0b) top / 100% var(--stg-band) no-repeat, linear-gradient(#0c0b0b, #0c0b0b) bottom / 100% var(--stg-band) no-repeat;
}
html[data-lk-stg-frame="cinema"] .cap2 { bottom: calc(var(--stg-band) + clamp(.45rem, 1.6vw, 1.25rem)); }
html[data-lk-stg-frame="cinema"] .screen:has(.sbars)::before { height: var(--stg-band); background: none; }

html[data-lk-stg-frame="tv"] .screen {
  --stg-top: repeating-linear-gradient(to bottom, rgba(12, 11, 11, .2) 0 1px, rgba(12, 11, 11, 0) 1px 3px), radial-gradient(ellipse at center, rgba(12, 11, 11, 0) 58%, rgba(12, 11, 11, .6) 100%);
  border: clamp(7px, 1.3vw, 16px) solid var(--dark);
  border-radius: clamp(18px, 3.4vw, 44px);
  box-shadow: 0 0 0 1px var(--accent);
}
html[data-lk-stg-frame="tv"] .cap2 { left: clamp(1.15rem, 3.4vw, 2.9rem); right: clamp(1.15rem, 3.4vw, 2.9rem); bottom: clamp(1.1rem, 3.2vw, 2.5rem); }
html[data-lk-stg-frame="tv"] .screen .sbars { left: clamp(1rem, 2.4vw, 1.9rem); right: clamp(1rem, 2.4vw, 1.9rem); }
html[data-lk-stg-frame="tv"] .gallery[data-bars="b6"] .screen .sbars { left: 0; right: 0; }

html[data-lk-stg-frame="brass"] .stage-box { margin-block: calc(1.5rem + 7px) 7px; }
html[data-lk-stg-frame="brass"] .screen { outline: 1px solid var(--accent); outline-offset: 6px; }
html[data-lk-stg-frame="brass"] .gallery:not([data-bars^="b"]):not([data-bars="setlist"]) .sbars { margin-top: calc(1rem + 9px); }
html[data-lk-stg-frame="brass"] .gallery[data-bars="b5"] .sbars { margin-top: calc(.9rem + 9px); }
html[data-lk-stg-frame="brass"] .gallery[data-bars="setlist"] .screen { outline: 0; }
html[data-lk-stg-frame="brass"] .gallery[data-bars="setlist"] .stage-box { outline: 1px solid var(--accent); outline-offset: 6px; }

/* ---------- caption on the picture ---------- */
/* centred: the words sit in the middle at the bottom, the play button above them */
html[data-lk-stg-cap="center"] .screen { --stg-shade: linear-gradient(to top, rgba(12, 11, 11, .92), rgba(12, 11, 11, .35) 55%, rgba(12, 11, 11, 0) 80%); }
html[data-lk-stg-cap="center"] .cap2 {
  bottom: calc(var(--stg-band, 0px) + clamp(.6rem, 2.6vw, 2.25rem));
  flex-direction: column-reverse; justify-content: flex-start; align-items: center; gap: clamp(.5rem, 1.6vw, 1.25rem); text-align: center;
}
html[data-lk-stg-cap="center"] .cap2 h3 { text-wrap: balance; }
/* top left: the words at the top, the play button stays bottom right */
html[data-lk-stg-cap="tl"] .screen { --stg-shade: linear-gradient(to bottom, rgba(12, 11, 11, .88), rgba(12, 11, 11, 0) 58%); }
html[data-lk-stg-cap="tl"] .cap2 { top: calc(var(--stg-band, 0px) + clamp(1.9rem, 4.4vw, 3.4rem)); bottom: calc(var(--stg-band, 0px) + clamp(.6rem, 3vw, 2.25rem)); }
html[data-lk-stg-cap="tl"] .gallery:not([data-bars="b1"]):not([data-bars="b2"]):not([data-bars="b3"]):not([data-bars="b4"]) .cap2 { top: calc(var(--stg-band, 0px) + clamp(.9rem, 3vw, 2.25rem)); }
html[data-lk-stg-cap="tl"] .gallery[data-bars="b3"] .cap2 { top: calc(var(--stg-band, 0px) + clamp(2.6rem, 5vw, 3.9rem)); }
html[data-lk-stg-cap="tl"] .cap2 > div { align-self: flex-start; }
/* hidden until pointed at: only where there is a pointer. On phones, and while editing, the words always show. */
@media (hover: hover) {
  html[data-lk-stg-cap="hover"]:not(.editing) .slide.on .cap2 > div > * { opacity: 0; transform: translateY(18px); transition-delay: 0s; }
  html[data-lk-stg-cap="hover"]:not(.editing) .screen:hover .slide.on .cap2 > div > *,
  html[data-lk-stg-cap="hover"]:not(.editing) .screen:focus-within .slide.on .cap2 > div > * { opacity: 1; transform: none; }
  html[data-lk-stg-cap="hover"]:not(.editing) .screen:hover .slide.on .cap2 > div > :nth-child(2),
  html[data-lk-stg-cap="hover"]:not(.editing) .screen:focus-within .slide.on .cap2 > div > :nth-child(2) { transition-delay: .08s; }
  html[data-lk-stg-cap="hover"]:not(.editing) .screen:hover .slide.on .cap2 > div > :nth-child(3),
  html[data-lk-stg-cap="hover"]:not(.editing) .screen:focus-within .slide.on .cap2 > div > :nth-child(3) { transition-delay: .16s; }
}

/* ---------- caption size ---------- */
html[data-lk-stg-cap-size="small"] .cap2 h3 { font-size: clamp(1.3rem, 3.3vw, 2.6rem); margin-top: .3rem; }
html[data-lk-stg-cap-size="small"] .cap2 .kicker { font-size: .68rem; }
html[data-lk-stg-cap-size="small"] .cap2 .by { margin-top: .4rem; font-size: clamp(.85rem, 1.15vw, 1rem); }
html[data-lk-stg-cap-size="large"] .cap2 h3 { font-size: clamp(2rem, 6.4vw, 5.25rem); line-height: .98; text-wrap: balance; }
html[data-lk-stg-cap-size="large"] .cap2 .kicker { font-size: clamp(.75rem, 1.1vw, .9rem); }
html[data-lk-stg-cap-size="large"] .cap2 .by { margin-top: .65rem; font-size: clamp(1rem, 1.6vw, 1.3rem); }
/* on a phone a long song name takes three lines at this size: the small line above it stays on one line */
@media (max-width: 700px) {
  html[data-lk-stg-cap-size="large"] .cap2 .kicker { font-size: .66rem; letter-spacing: .02em; }
  html[data-lk-stg-cap-size="large"] .cap2 h3 { margin-top: .3rem; }
}

/* ---------- big play button ---------- */
html[data-lk-stg-play="brass"] .bigplay { background: var(--brass-lt); }
html[data-lk-stg-play="brass"] .bigplay:hover { background: var(--light); }
html[data-lk-stg-play="outline"] .bigplay { background: rgba(12, 11, 11, .28); color: var(--light); box-shadow: inset 0 0 0 1.5px var(--light); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: transform .3s, background .3s, color .3s; }
html[data-lk-stg-play="outline"] .bigplay:hover { background: var(--light); color: var(--dark); }
html[data-lk-stg-play="bar"] .bigplay {
  display: inline-flex; align-items: center; gap: .7em; width: auto; aspect-ratio: auto; border-radius: 0;
  min-height: clamp(2.75rem, 4.4vw, 3.5rem); padding-inline: clamp(1rem, 2vw, 1.6rem);
  font-family: var(--mono); font-size: clamp(.8rem, 1.1vw, .95rem); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
html[data-lk-stg-play="bar"] .bigplay::after { content: "Play"; }
html[data-lk-stg-play="bar"] .bigplay svg { width: .72em; margin-left: 0; }
html[data-lk-stg-play="bar"] .bigplay:hover { transform: none; }
/* centred caption on a phone: a smaller round button, so the picture keeps its room */
@media (max-width: 700px) {
  html[data-lk-stg-cap="center"]:not([data-lk-stg-play="bar"]) .bigplay { width: 2.75rem; }
  html[data-lk-stg-cap="center"] .cap2 .kicker { display: none; }
  html[data-lk-stg-cap="center"] .cap2 h3 { margin-top: 0; }
}

/* ---------- slow zoom on the picture ---------- */
/* (the "push" picture change keeps its own movement: its rules are stronger than these) */
html[data-lk-stg-zoom="off"] .slide img, html[data-lk-stg-zoom="off"] .slide.on img { transform: none; }
html[data-lk-stg-zoom="strong"] .slide img { transform: scale(1.3); }
html[data-lk-stg-zoom="strong"] .slide.on img { transform: scale(1.04); }
html[data-lk-stg-zoom="strong"] .slide:nth-child(odd) img { transform-origin: 30% 40%; }
html[data-lk-stg-zoom="strong"] .slide:nth-child(even) img { transform-origin: 70% 42%; }

/* ---------- the show badge ---------- */
html[data-lk-stg-badge="solid"] .seen { background: var(--ink); color: var(--paper); }
html[data-lk-stg-badge="solid"] .seen svg { stroke: currentColor; }
html[data-lk-stg-badge="pill"] .seen { border-radius: 999px; padding: .55rem 1.5rem .55rem 1.1rem; }
html[data-lk-stg-badge="plain"] .seen { border: 0; border-left: 2px solid var(--accent); padding: .1rem 0 .1rem .85rem; }

/* ---------- the line under the screen ---------- */
html[data-lk-stg-line="center"] .g-line { flex-wrap: wrap; justify-content: center; text-align: center; }
html[data-lk-stg-line="center"] .g-line .nx { margin-left: 0; }
@media (min-width: 701px) {
  html[data-lk-stg-line="center"] .g-line .nx { padding-left: 1rem; border-left: 1px solid currentColor; }
}
/* hidden for the eye only: the count is still read out by screen readers */
html[data-lk-stg-line="hidden"] .g-line { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- the interviews list ---------- */
/* cards in two columns */
html[data-lk-stg-talks="cards"] .talks ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1rem); }
html[data-lk-stg-talks="cards"] .talks li, html[data-lk-stg-talks="cards"] .talks li:first-child { border: 1px solid rgba(128, 128, 128, .4); border: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
html[data-lk-stg-talks="cards"] .talks li:last-child:nth-child(odd) { grid-column: 1 / -1; }
html[data-lk-stg-talks="cards"] .talk {
  box-sizing: border-box; height: 100%; min-height: 9.5rem; padding: 1rem 1.1rem;
  grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "pi dt" "nm nm" "go go"; gap: .7rem 1rem;
}
html[data-lk-stg-talks="cards"] .talk .pi { grid-area: pi; }
html[data-lk-stg-talks="cards"] .talk .date { grid-area: dt; justify-self: end; }
html[data-lk-stg-talks="cards"] .talk .nm { grid-area: nm; align-self: end; font-size: clamp(1.25rem, 1.9vw, 1.6rem); text-wrap: balance; }
html[data-lk-stg-talks="cards"] .talk .go { grid-area: go; padding-top: .7rem; border-top: 1px solid rgba(128, 128, 128, .4); border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); justify-content: space-between; }
html[data-lk-stg-talks="cards"] .talk .go span { display: inline; }
@media (max-width: 520px) {
  html[data-lk-stg-talks="cards"] .talks ul { grid-template-columns: 1fr; }
  html[data-lk-stg-talks="cards"] .talk { min-height: 0; }
}
/* compact: one line each */
html[data-lk-stg-talks="compact"] .talk { box-sizing: border-box; min-height: 2.75rem; padding: .3rem .4rem; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: none; gap: .2rem .9rem; }
html[data-lk-stg-talks="compact"] .talk .pi { display: none; }
html[data-lk-stg-talks="compact"] .talk .nm { grid-area: auto; font-size: 1.05rem; }
html[data-lk-stg-talks="compact"] .talk .date { grid-area: auto; }
html[data-lk-stg-talks="compact"] .talk .go { grid-area: auto; }
/* big numbers */
html[data-lk-stg-talks="numbered"] .talks ul { counter-reset: stg-talk; }
html[data-lk-stg-talks="numbered"] .talks li { counter-increment: stg-talk; }
html[data-lk-stg-talks="numbered"] .talk { padding-block: 1rem; column-gap: clamp(.9rem, 2vw, 1.75rem); }
html[data-lk-stg-talks="numbered"] .talk .pi { width: auto; min-width: 1.45em; height: auto; justify-items: start; border: 0; border-radius: 0; background: none; font-family: var(--display); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; color: var(--accent); transition: color .2s; }
html[data-lk-stg-talks="numbered"] .talk .pi svg { display: none; }
html[data-lk-stg-talks="numbered"] .talk .pi::before { content: counter(stg-talk, decimal-leading-zero); }
html[data-lk-stg-talks="numbered"] .talk:hover .pi, html[data-lk-stg-talks="numbered"] .talk:focus-visible .pi { background: none; color: var(--ink); }


/* ---- 35-covers.css ---- */
/* Where I post: the video cards, the row they sit in and the two account tabs. Options are declared in 35-covers.js.
   Every rule starts from a non-default value, so with nothing chosen this file changes nothing.
   The players are iframes inside .frame: no rule here changes the size or the shape of .frame itself, so the
   video controls are never cropped. Rules that must beat other look modules carry #rail. */

/* ---------- Card style: lifted ---------- */
html[data-lk-cov-card="lifted"] .shelf { padding-top: 10px; margin-top: -10px; }
html[data-lk-cov-card="lifted"] .card .frame {
  box-shadow: 0 22px 30px -18px color-mix(in srgb, var(--dark) 62%, transparent), 0 2px 5px color-mix(in srgb, var(--dark) 14%, transparent);
}
html[data-lk-cov-card="lifted"] .card .meta { margin-top: 1.35rem; }
@media (prefers-reduced-motion: no-preference) {
  html[data-lk-cov-card="lifted"] .card .frame { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
  html[data-lk-cov-card="lifted"]:not([data-lk-move-hover="none"]) .card:hover .frame {
    transform: translateY(-7px);
    box-shadow: 0 32px 34px -22px color-mix(in srgb, var(--dark) 66%, transparent), 0 2px 5px color-mix(in srgb, var(--dark) 14%, transparent);
  }
}

/* ---------- Card style: photo print ---------- */
html[data-lk-cov-card="polaroid"] .shelf { padding: 16px 12px 28px; margin: -16px -12px 0; scroll-padding-inline: 12px; }
html[data-lk-cov-card="polaroid"] #rail .card {
  --ink: var(--dark); --accent: var(--brass);
  padding: .6rem .6rem 1.15rem;
  background: color-mix(in srgb, var(--light) 30%, #fff);
  color: var(--dark);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--dark) 9%, transparent), 0 16px 22px -14px color-mix(in srgb, var(--dark) 50%, transparent);
  rotate: -1.1deg;
}
html[data-lk-cov-card="polaroid"] #rail .card:nth-child(2n) { rotate: .9deg; }
html[data-lk-cov-card="polaroid"] #rail .card:nth-child(3n) { rotate: -.4deg; }
html[data-lk-cov-card="polaroid"] #rail .card:nth-child(5n) { rotate: 1.3deg; }
html[data-lk-cov-card="polaroid"] #rail .card .frame { box-shadow: none; }
html[data-lk-cov-card="polaroid"] #rail .card:hover .frame { transform: none; }
html[data-lk-cov-card="polaroid"] #rail .meta { margin-top: .85rem; }
@media (prefers-reduced-motion: no-preference) {
  html[data-lk-cov-card="polaroid"] #rail.in .card { transition: opacity .6s, transform .7s cubic-bezier(.2, .7, .2, 1), rotate .4s cubic-bezier(.2, .7, .2, 1), translate .4s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 70ms), calc(var(--i) * 70ms), 0s, 0s; }
  html[data-lk-cov-card="polaroid"]:not([data-lk-move-hover="none"]) #rail .card:hover { rotate: 0deg; translate: 0 -5px; }
}

/* ---------- Card style: rounded on a soft background ---------- */
html[data-lk-cov-card="soft"] #rail .card {
  padding: .6rem .6rem 1rem;
  border-radius: 20px;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}
html[data-lk-cov-card="soft"] #rail .card .frame { border-radius: 13px; }
html[data-lk-cov-card="soft"] #rail .card:hover .frame { transform: none; }
html[data-lk-cov-card="soft"] #rail .meta { margin-top: .85rem; }
html[data-lk-cov-card="soft"] #rail :is(.meta, .credit, .views) { padding-inline: .3rem; }
@media (prefers-reduced-motion: no-preference) {
  html[data-lk-cov-card="soft"] #rail.in .card { transition: opacity .6s, transform .7s cubic-bezier(.2, .7, .2, 1), background-color .3s ease; transition-delay: calc(var(--i) * 70ms), calc(var(--i) * 70ms), 0s; }
}
html[data-lk-cov-card="soft"]:not([data-lk-move-hover="none"]) #rail .card:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); }

/* inside a print or a soft card there is less room: the date drops under a long song name instead of touching it */
html:is([data-lk-cov-card="polaroid"], [data-lk-cov-card="soft"]) #rail .meta { flex-wrap: wrap; gap: .25rem 1rem; }

/* ---------- Card style: film strip ----------
   The strip is drawn behind each video by the card itself and reaches half a gap to each side, so the cards join
   into one length of film. The holes are cut with a mask, so the paper shows through them. */
html[data-lk-cov-card="film"] .shelf {
  --cov-band: clamp(17px, 1.7vw, 23px);
  margin-inline: calc(var(--gap) / -2); padding-inline: calc(var(--gap) / 2); scroll-padding-inline: calc(var(--gap) / 2);
}
html[data-lk-cov-card="film"] #rail .card { position: relative; padding-top: var(--cov-band); }
html[data-lk-cov-card="film"] #rail .card::before {
  content: ""; position: absolute; z-index: 0; top: 0; left: calc(var(--gap) / -2 - .5px);
  box-sizing: content-box; width: 100%; aspect-ratio: 9 / 16;
  border: solid var(--dark); border-width: var(--cov-band) calc(var(--gap) / 2 + .5px);
  background: var(--dark);
  --cov-hole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' preserveAspectRatio='none'%3E%3Cpath fill-rule='evenodd' d='M0 0h20v20H0zM7.5 6h5a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
  -webkit-mask: var(--cov-hole) left top / var(--cov-band) var(--cov-band) round no-repeat border-box, var(--cov-hole) left bottom / var(--cov-band) var(--cov-band) round no-repeat border-box, linear-gradient(#000, #000) left calc(var(--cov-band) - 1px) / 100% calc(100% - 2 * var(--cov-band) + 2px) no-repeat border-box;
  mask: var(--cov-hole) left top / var(--cov-band) var(--cov-band) round no-repeat border-box, var(--cov-hole) left bottom / var(--cov-band) var(--cov-band) round no-repeat border-box, linear-gradient(#000, #000) left calc(var(--cov-band) - 1px) / 100% calc(100% - 2 * var(--cov-band) + 2px) no-repeat border-box;
  pointer-events: none;
}
html[data-lk-cov-card="film"] #rail[data-kind="instagram"] .card::before { aspect-ratio: 1; }
html[data-lk-cov-card="film"] .tracks.s-dark #rail .card::before { background: color-mix(in srgb, var(--light) 16%, var(--dark)); border-color: color-mix(in srgb, var(--light) 16%, var(--dark)); }
html[data-lk-cov-card="film"] #rail .card .frame { z-index: 1; box-shadow: none; border-radius: 0; }
html[data-lk-cov-card="film"] #rail .card:hover .frame { transform: none; }
html[data-lk-cov-card="film"] #rail .meta { margin-top: calc(var(--cov-band) + .9rem); }

/* ---------- Cards in a row (computer screens only; phones and tablets keep their own size) ---------- */
@media (min-width: 1001px) {
  html[data-lk-cov-per-row="3"] #rail { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); --cov-n: 3; }
  html[data-lk-cov-per-row="5"] #rail { grid-auto-columns: calc((100% - 4 * var(--gap)) / 5); --cov-n: 5; }
  html[data-lk-cov-per-row="5"] #rail .meta { flex-wrap: wrap; gap: .25rem 1rem; }
  html[data-lk-cov-per-row="5"] #rail .meta h3 { flex-basis: 100%; }
}

/* ---------- Row or grid: the grid wraps, nothing is swiped ---------- */
html[data-lk-cov-layout="grid"] #rail {
  grid-auto-flow: row; grid-auto-columns: auto;
  grid-template-columns: repeat(var(--cov-n, 4), minmax(0, 1fr));
  row-gap: clamp(2rem, 4vw, 3.25rem);
  overflow: visible; scroll-snap-type: none;
}
html[data-lk-cov-layout="grid"] .railbar .arrows { display: none; }
@media (max-width: 1000px) { html[data-lk-cov-layout="grid"] #rail { --cov-n: 3; } }
@media (max-width: 640px) {
  html[data-lk-cov-layout="grid"] #rail { --cov-n: 2; row-gap: 1.75rem; }
  html[data-lk-cov-layout="grid"] #rail .meta { flex-direction: column; gap: .25rem; margin-top: .75rem; }
  html[data-lk-cov-layout="grid"] #rail .meta h3 { font-size: 1.2rem; overflow-wrap: anywhere; }
  html[data-lk-cov-layout="grid"] #rail .credit { font-size: .9375rem; }
  html[data-lk-cov-layout="grid"][data-lk-cov-card="film"] #rail .meta { margin-top: calc(var(--cov-band) + .7rem); }
  html[data-lk-cov-layout="grid"]:is([data-lk-cov-card="polaroid"], [data-lk-cov-card="soft"]) #rail .card { padding: .4rem .4rem .8rem; }
}

/* ---------- Account tabs: pills ---------- */
html[data-lk-cov-tabs="pills"] .tabs { gap: .6rem; border-bottom: 0; }
html[data-lk-cov-tabs="pills"] .tabs .ink { display: none; }
html[data-lk-cov-tabs="pills"] .tabs button {
  display: inline-flex; align-items: baseline; gap: .65rem; min-height: 2.75rem; padding: .7rem 1.3rem;
  border: 1px solid color-mix(in srgb, var(--ink) 38%, transparent); border-radius: 999px;
  opacity: 1; transition: background-color .3s, color .3s, border-color .3s;
}
html[data-lk-cov-tabs="pills"] .tabs button:hover { border-color: var(--ink); }
html[data-lk-cov-tabs="pills"] .tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
html[data-lk-cov-tabs="pills"] .tabs button[aria-selected="true"] .pf { color: color-mix(in srgb, var(--accent) 45%, var(--paper)); }
html[data-lk-cov-tabs="pills"] .tabs .hd { font-size: clamp(1.1rem, 1.8vw, 1.45rem); }

/* ---------- Account tabs: big blocks ---------- */
html[data-lk-cov-tabs="blocks"] .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-bottom: 0; }
html[data-lk-cov-tabs="blocks"] .tabs button {
  min-width: 0; padding: 1rem 1.25rem 1.2rem; border: 1px solid var(--ink);
  opacity: 1; transition: background-color .3s, color .3s;
}
html[data-lk-cov-tabs="blocks"] .tabs button + button { border-left: 0; }
html[data-lk-cov-tabs="blocks"] .tabs button:not([aria-selected="true"]):hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
html[data-lk-cov-tabs="blocks"] .tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
html[data-lk-cov-tabs="blocks"] .tabs button[aria-selected="true"] .pf { color: color-mix(in srgb, var(--accent) 45%, var(--paper)); }
html[data-lk-cov-tabs="blocks"] .tabs .hd { font-size: clamp(1.3rem, 2.9vw, 2.4rem); overflow-wrap: anywhere; }
html[data-lk-cov-tabs="blocks"] .tabs .ink { bottom: 0; height: 5px; background: color-mix(in srgb, var(--accent) 70%, var(--paper)); }
@media (max-width: 640px) {
  html[data-lk-cov-tabs="blocks"] .tabs { grid-template-columns: 1fr; }
  html[data-lk-cov-tabs="blocks"] .tabs button { padding: .8rem 1rem .95rem; }
  html[data-lk-cov-tabs="blocks"] .tabs button + button { border-left: 1px solid var(--ink); border-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html:is([data-lk-cov-tabs="pills"], [data-lk-cov-tabs="blocks"]) .tabs button { transition: none; }
}

/* ---------- Song name size ---------- */
html[data-lk-cov-title="s"] #rail .meta h3 { font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.15; }
html[data-lk-cov-title="l"] #rail .meta h3 { font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1.05; }
html[data-lk-cov-title="l"] #rail .meta { flex-wrap: wrap; gap: .3rem 1rem; }
@media (min-width: 1001px) {
  html[data-lk-cov-title="l"][data-lk-cov-per-row="5"] #rail .meta h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); }
}
@media (max-width: 640px) {
  html[data-lk-cov-layout="grid"][data-lk-cov-title="s"] #rail .meta h3 { font-size: 1.05rem; }
  html[data-lk-cov-layout="grid"][data-lk-cov-title="l"] #rail .meta h3 { font-size: 1.4rem; }
}

/* ---------- Numbers on cards: counted by the page, drawn beside or above the song name ---------- */
html:is([data-lk-cov-numbers="on"], [data-lk-cov-numbers="big"]) #rail { counter-reset: cov; }
html:is([data-lk-cov-numbers="on"], [data-lk-cov-numbers="big"]) #rail .card { counter-increment: cov; }
html:is([data-lk-cov-numbers="on"], [data-lk-cov-numbers="big"]) #rail .meta::before { content: counter(cov, decimal-leading-zero); flex: none; color: var(--accent); }
html[data-lk-cov-numbers="on"] #rail .meta { flex-wrap: wrap; gap: .45rem 1rem; }
html[data-lk-cov-numbers="on"] #rail .meta::before {
  flex-basis: 100%; display: flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .75rem; line-height: 1.2; letter-spacing: .08em;
  background: linear-gradient(currentColor, currentColor) 2.2em 50% / 1.6rem 1px no-repeat;
}
html[data-lk-cov-numbers="big"] #rail .meta { flex-wrap: wrap; gap: .15rem 1rem; }
html[data-lk-cov-numbers="big"] #rail .meta::before {
  flex-basis: 100%; padding-bottom: .35rem; margin-bottom: .45rem; border-bottom: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
  font-family: var(--display); font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: .9;
}
@media (max-width: 640px) {
  html[data-lk-cov-layout="grid"][data-lk-cov-numbers="on"] #rail .meta::before { flex-basis: auto; align-self: stretch; }
  html[data-lk-cov-layout="grid"][data-lk-cov-numbers="big"] #rail .meta::before { flex-basis: auto; align-self: stretch; font-size: 1.9rem; }
}

/* ---------- What is written under each video ---------- */
html[data-lk-cov-views="off"] #rail .views { display: none; }
html[data-lk-cov-dates="off"] #rail .card .date { display: none; }
html[data-lk-cov-credits="off"] #rail .credit { display: none; }

/* ---------- How cards arrive (only for visitors who have not asked for less movement) ---------- */
html[data-lk-cov-enter="none"] #rail .card { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  html[data-lk-cov-enter="fade"] #rail:not(.in) .card { transform: none; }
  html[data-lk-cov-enter="fade"] #rail.in .card { transition-duration: .9s; }
  html[data-lk-cov-enter="flip"] #rail .card { transform-origin: 0 50%; }
  html[data-lk-cov-enter="flip"] #rail:not(.in) .card { transform: perspective(1100px) rotateY(-68deg); }
  html[data-lk-cov-enter="flip"] #rail.in .card { transition-duration: .5s, .85s; transition-delay: calc(var(--i) * 90ms); }
}


/* ---- 36-contact.css ---- */
/* Contact block (section.back#contact) and the page footer. Options are declared in 36-contact.js.
   No rule here applies at the defaults: every selector starts with a non-default value of a con- option. */

/* ---------- Contact layout ---------- */
html[data-lk-con-layout="centre"] #contact { text-align: center; }
html[data-lk-con-layout="centre"] #contact h2,
html[data-lk-con-layout="centre"] #contact > p { margin-inline: auto; }
html[data-lk-con-layout="centre"] #contact .go { justify-content: center; }

@media (min-width: 900px) {
  html[data-lk-con-layout="split"] #contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(2rem, 5vw, 5rem); align-items: end; }
  html[data-lk-con-layout="split"] #contact h2 { grid-column: 1; grid-row: 1; }
  html[data-lk-con-layout="split"] #contact > p { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  html[data-lk-con-layout="split"] #contact .go {
    grid-column: 2; grid-row: 1 / span 2; align-self: end; min-width: 18rem;
    flex-direction: column; flex-wrap: nowrap; align-items: stretch;
    padding-left: clamp(1.5rem, 3vw, 3rem);
    border-left: 1px solid rgba(128, 128, 128, .5);
    border-left: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  }
  html[data-lk-con-layout="split"] #contact .go > .pk-chip { align-self: flex-start; }
  html[data-lk-con-layout="split"][data-lk-con-head="giant"] #contact h2 { font-size: clamp(3.1rem, 10vw, 9.5rem); }
}

/* ---------- Heading size ---------- */
html[data-lk-con-head="small"] #contact h2 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); max-width: 16ch; }
html[data-lk-con-head="giant"] #contact h2 { font-size: clamp(3.1rem, 13.2vw, 13rem); line-height: .95; letter-spacing: -.015em; max-width: none; overflow-wrap: break-word; }
html[data-lk-con-head="giant"] #contact > p { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

/* ---------- Block colour ---------- */
html[data-lk-con-colour="light"] #contact {
  --paper: var(--light); --ink: var(--dark); --accent: var(--brass);
  border-top: 1px solid rgba(22, 21, 20, .14);
  border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
}
html[data-lk-con-colour="accent"] #contact { --paper: var(--brass); --ink: var(--light); --accent: var(--dark); }
html[data-lk-con-colour="accent"] #contact .btn:hover { color: var(--ink); }
html[data-lk-con-colour="accent"] #contact .btn.plain:hover { color: var(--paper); }
/* the editors' dotted outlines, kept readable on the new colours */
html.editing[data-lk-con-colour="light"] #contact [data-pk-text] { outline-color: rgba(143, 98, 41, .4); }
html.editing[data-lk-con-colour="light"] #contact [data-pk-text]:hover,
html.editing[data-lk-con-colour="light"] #contact [data-pk-text]:focus { outline-color: var(--brass); }
html.editing[data-lk-con-colour="accent"] #contact [data-pk-text] { outline-color: rgba(246, 244, 240, .5); }
html.editing[data-lk-con-colour="accent"] #contact [data-pk-text]:hover,
html.editing[data-lk-con-colour="accent"] #contact [data-pk-text]:focus { outline-color: var(--light); }

/* ---------- Button arrangement ---------- */
html:is([data-lk-con-btns="stack"], [data-lk-con-btns="icons"]) #contact .btn[hidden] { display: none; }
html:is([data-lk-con-btns="stack"], [data-lk-con-btns="icons"]) #contact .go > .pk-chip { align-self: flex-start; justify-self: start; }

/* one under another: wide rows with an arrow at the end */
html[data-lk-con-btns="stack"] #contact .go { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: .6rem; max-width: 34rem; }
html[data-lk-con-btns="stack"][data-lk-con-layout="centre"] #contact .go { margin-inline: auto; }
html[data-lk-con-btns="stack"] #contact .btn { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; white-space: normal; text-align: left; }
html[data-lk-con-btns="stack"] #contact .btn::after { content: "\2192"; flex: none; font-size: 1.1rem; line-height: 1; transition: transform .25s; }
html[data-lk-con-btns="stack"] #contact .btn:hover::after { transform: translateX(4px); }

/* tiles with small pictures: a chat bubble, a camera, a music note */
html[data-lk-con-btns="icons"] #contact .go { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: stretch; gap: .75rem; max-width: 46rem; }
html[data-lk-con-btns="icons"][data-lk-con-layout="centre"] #contact .go { margin-inline: auto; }
html[data-lk-con-btns="icons"] #contact .go > .pk-chip { grid-column: 1 / -1; }
html[data-lk-con-btns="icons"] #contact .btn {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2.25rem;
  min-height: 9.5rem; padding: 1.15rem 1.2rem 1.1rem; white-space: normal; text-align: left; line-height: 1.4; overflow-wrap: anywhere;
}
html[data-lk-con-btns="icons"] #contact .btn::before {
  content: ""; flex: none; width: 2rem; height: 2rem; background: currentColor;
  -webkit-mask: var(--con-ico) center / contain no-repeat; mask: var(--con-ico) center / contain no-repeat;
  --con-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M12.5 6.5 18 12l-5.500 5.500' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
}
html[data-lk-con-btns="icons"] #contact .btn.plain::before { background: var(--accent); }
html[data-lk-con-btns="icons"] #contact .btn.plain:hover::before { background: currentColor; }
html[data-lk-con-btns="icons"] #contact #link-whatsapp::before { --con-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.500 4.500h17v12h-9.500l-5 4v-4h-2.500z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M8 9h8M8 12.500h5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
html[data-lk-con-btns="icons"] #contact #link-instagram::before { --con-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.500' y='3.500' width='17' height='17' rx='4.500' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Ccircle cx='16.800' cy='7.200' r='1.100'/%3E%3C/svg%3E"); }
html[data-lk-con-btns="icons"] #contact #link-tiktok::before { --con-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.500 17V5.500l9.500-2V15' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cellipse cx='6.700' cy='17.200' rx='2.900' ry='2.300'/%3E%3Cellipse cx='16.200' cy='15.200' rx='2.900' ry='2.300'/%3E%3C/svg%3E"); }
html[data-lk-con-btns="icons"] #contact .btn::after { content: "\2197"; position: absolute; top: 1rem; right: 1.1rem; font-size: 1rem; line-height: 1; opacity: .7; transition: transform .25s; }
html[data-lk-con-btns="icons"] #contact .btn:hover::after { transform: translate(2px, -2px); }

/* on a phone the tiles turn into rows: picture, words, arrow */
@media (max-width: 640px) {
  html[data-lk-con-btns="icons"] #contact .go { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  html[data-lk-con-btns="icons"] #contact .btn { flex-direction: row; align-items: center; justify-content: flex-start; gap: .9rem; min-height: 4rem; padding: .9rem 1.1rem; }
  html[data-lk-con-btns="icons"] #contact .btn::before { width: 1.6rem; height: 1.6rem; }
  html[data-lk-con-btns="icons"] #contact .btn::after { position: static; margin-left: auto; }
}
/* the same rows when the buttons sit in the narrow right column */
@media (min-width: 900px) {
  html[data-lk-con-btns="icons"][data-lk-con-layout="split"] #contact .go { grid-template-columns: minmax(0, 1fr); gap: .6rem; max-width: none; display: grid; }
  html[data-lk-con-btns="icons"][data-lk-con-layout="split"] #contact .btn { flex-direction: row; align-items: center; justify-content: flex-start; gap: .9rem; min-height: 4rem; padding: .9rem 1.1rem; white-space: nowrap; }
  html[data-lk-con-btns="icons"][data-lk-con-layout="split"] #contact .btn::before { width: 1.6rem; height: 1.6rem; }
  html[data-lk-con-btns="icons"][data-lk-con-layout="split"] #contact .btn::after { position: static; margin-left: auto; padding-left: 1rem; }
  html[data-lk-con-btns="stack"][data-lk-con-layout="split"] #contact .go { max-width: none; }
  html[data-lk-con-btns="stack"][data-lk-con-layout="split"] #contact .btn { white-space: nowrap; }
}

/* ---------- Decoration ---------- */
html:is([data-lk-con-deco="note"], [data-lk-con-deco="wave"], [data-lk-con-deco="corners"]) #contact { position: relative; }
html:is([data-lk-con-deco="note"], [data-lk-con-deco="wave"], [data-lk-con-deco="corners"]) #contact > :not(.lk-con-deco) { position: relative; z-index: 1; }
#contact > .lk-con-deco { position: absolute; z-index: 0; pointer-events: none; }
#contact > .lk-con-deco svg { display: block; width: 100%; height: 100%; }

/* a big faded music note, cut off by the edges of the block */
html[data-lk-con-deco="note"] #contact > .lk-con-deco { top: 50%; right: 2rem; height: 90%; aspect-ratio: 200 / 240; transform: translateY(-47%) rotate(9deg); color: var(--accent); opacity: .12; }
html[data-lk-con-deco="note"] #contact { overflow: hidden; overflow: clip; }
html[data-lk-con-deco="note"] #contact > .lk-con-deco svg { fill: currentColor; }
html[data-lk-con-deco="note"][data-lk-con-colour="light"] #contact > .lk-con-deco { opacity: .1; }
html[data-lk-con-deco="note"][data-lk-con-colour="accent"] #contact > .lk-con-deco { opacity: .16; }
@media (max-width: 640px) {
  html[data-lk-con-deco="note"] #contact > .lk-con-deco { top: auto; bottom: -6%; right: 1.5rem; height: 56%; transform: rotate(9deg); }
}

/* a sound wave along the bottom, like a voice message that has started to play */
html[data-lk-con-deco="wave"] #contact { padding-bottom: calc(clamp(2.5rem, 7vw, 6rem) + clamp(2.75rem, 6vw, 5rem)); }
html[data-lk-con-deco="wave"] #contact > .lk-con-deco { left: 0; right: 0; bottom: clamp(1.5rem, 4vw, 3.25rem); height: clamp(2.25rem, 5vw, 3.75rem); }
html[data-lk-con-deco="wave"] #contact > .lk-con-deco rect { fill: var(--ink); opacity: .22; }
html[data-lk-con-deco="wave"] #contact > .lk-con-deco rect.p { fill: var(--accent); opacity: 1; }

/* thin corner lines in the accent colour, like the corners of a printed card */
html[data-lk-con-deco="corners"] #contact { padding-inline: clamp(1.4rem, 4vw, 3.5rem); padding-block: clamp(3.25rem, 8vw, 7rem); }
html[data-lk-con-deco="corners"] #contact > .lk-con-deco {
  inset: clamp(1.1rem, 2.6vw, 2.25rem) 0;
  --l: clamp(1.75rem, 5vw, 4rem); --t: 2px;
  background:
    linear-gradient(var(--accent), var(--accent)) left top / var(--l) var(--t) no-repeat,
    linear-gradient(var(--accent), var(--accent)) left top / var(--t) var(--l) no-repeat,
    linear-gradient(var(--accent), var(--accent)) right top / var(--l) var(--t) no-repeat,
    linear-gradient(var(--accent), var(--accent)) right top / var(--t) var(--l) no-repeat,
    linear-gradient(var(--accent), var(--accent)) left bottom / var(--l) var(--t) no-repeat,
    linear-gradient(var(--accent), var(--accent)) left bottom / var(--t) var(--l) no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / var(--l) var(--t) no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / var(--t) var(--l) no-repeat;
}

/* ---------- Footer layout ---------- */
html[data-lk-con-foot="centre"] body > footer .fine { flex-direction: column; align-items: center; text-align: center; gap: .55rem; padding-block: 1.75rem 2.25rem; }

html[data-lk-con-foot="line"] body > footer .fine {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(128, 128, 128, .6);
  border-top: 1px solid color-mix(in srgb, currentColor 32%, transparent);
}

/* the name in Nepali, large, closes the page */
body > footer .lk-con-sign {
  margin: 0; padding-block: clamp(1.75rem, 5vw, 3.75rem) clamp(.5rem, 1.5vw, 1rem);
  font-family: var(--display-ne, "Rozha One", "Nirmala UI", Georgia, serif); font-weight: 400;
  font-size: clamp(3.1rem, 14.5vw, 10.5rem); line-height: 1.12; letter-spacing: -.01em; white-space: nowrap;
  border-bottom: 1px solid rgba(128, 128, 128, .6);
  border-bottom: 1px solid color-mix(in srgb, currentColor 32%, transparent);
}
body > footer .lk-con-sign span + span { color: var(--accent, var(--brass-lt, #d9ab6a)); }
/* legal.html: its footer has no side padding of its own */
body > footer:not(.sheet) > .lk-con-sign { max-width: 1320px; margin-inline: auto; padding-inline: var(--pad, 1.1rem); border-bottom: 0; }
html[data-lk-con-foot="sign"] body > footer .fine { padding-top: 1rem; }

/* ---------- Footer colour ---------- */
html[data-lk-con-foot-colour="light"] body > footer {
  --paper: var(--light); --ink: var(--dark); --accent: var(--brass);
  background: var(--paper); color: var(--ink);
  border-top: 1px solid rgba(22, 21, 20, .14);
  border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
}
html[data-lk-con-foot-colour="accent"] body > footer { --paper: var(--brass); --ink: var(--light); --accent: var(--dark); background: var(--paper); color: var(--ink); }
html[data-lk-con-foot-colour="accent"] body > footer a:hover { color: var(--dark); }

@media (prefers-reduced-motion: reduce) {
  html[data-lk-con-btns="stack"] #contact .btn::after, html[data-lk-con-btns="icons"] #contact .btn::after { transition: none; }
  html[data-lk-con-btns="stack"] #contact .btn:hover::after, html[data-lk-con-btns="icons"] #contact .btn:hover::after { transform: none; }
}

/* the editors' brass "Change" buttons, kept visible on a brass block */
html.editing[data-lk-con-colour="accent"] #contact .pk-chip,
html.editing[data-lk-con-foot-colour="accent"] body > footer .pk-chip { background: var(--dark); }


/* ---- 40-motion.css ---- */
/* Movement (looks/src/40-motion.js). No rule here matches a default value: with nothing chosen the site is untouched. */

/* ---- Speed -----------------------------------------------------------------------------------------------------
   One number other rules can use:  transition-duration: calc(.6s * var(--lk-move-time, 1));
   Normal sets nothing. Calm and quick also retime the movement the page already has. */
html[data-lk-move-speed="calm"] { --lk-move-time: 1.5; }
html[data-lk-move-speed="quick"] { --lk-move-time: .65; }
html:is([data-lk-move-speed="calm"], [data-lk-move-speed="quick"]) .shelf.in .card { transition-duration: calc(.6s * var(--lk-move-time)), calc(.7s * var(--lk-move-time)); }
html:is([data-lk-move-speed="calm"], [data-lk-move-speed="quick"]) .card .frame { transition-duration: calc(.35s * var(--lk-move-time)); }
html:is([data-lk-move-speed="calm"], [data-lk-move-speed="quick"]) .tabs .ink { transition-duration: calc(.55s * var(--lk-move-time)); }
html:is([data-lk-move-speed="calm"], [data-lk-move-speed="quick"]) .tabs button { transition-duration: calc(.35s * var(--lk-move-time)); }
html:is([data-lk-move-speed="calm"], [data-lk-move-speed="quick"]) .facts dt,
html:is([data-lk-move-speed="calm"], [data-lk-move-speed="quick"]) .facts dd { transition-duration: calc(.6s * var(--lk-move-time)), calc(.7s * var(--lk-move-time)); }
html:is([data-lk-move-speed="calm"], [data-lk-move-speed="quick"]) .facts dd::after { transition-duration: calc(.9s * var(--lk-move-time)); }
html:is([data-lk-move-speed="calm"], [data-lk-move-speed="quick"]) .sleeve { transition-duration: calc(.6s * var(--lk-move-time)); }
html:is([data-lk-move-speed="calm"], [data-lk-move-speed="quick"]) .disc-slide { transition-duration: calc(.7s * var(--lk-move-time)); }
html:is([data-lk-move-speed="calm"], [data-lk-move-speed="quick"]) .disc .tonearm { transition-duration: calc(.9s * var(--lk-move-time)); }
html:is([data-lk-move-speed="calm"], [data-lk-move-speed="quick"]) .cap2 > div > * { transition-duration: calc(.7s * var(--lk-move-time)); }
html:is([data-lk-move-speed="calm"], [data-lk-move-speed="quick"]) .bigplay { transition-duration: calc(.3s * var(--lk-move-time)); }
html:is([data-lk-move-speed="calm"], [data-lk-move-speed="quick"]) .own-dlg[open] { animation-duration: calc(.45s * var(--lk-move-time)); }
html:is([data-lk-move-speed="calm"], [data-lk-move-speed="quick"]) .g-line .ttl.swap { animation-duration: calc(.5s * var(--lk-move-time)); }

/* ---- Smooth scrolling ------------------------------------------------------------------------------------------ */
html[data-lk-move-smooth="off"] { scroll-behavior: auto; }

/* ---- Parts appear on scroll ------------------------------------------------------------------------------------
   The script marks a part data-lk-move="wait" (hidden), then "in" (moving in), then takes the mark off again.
   Nothing is hidden without the mark, in edit mode, on paper, or for visitors who ask for less movement. */
@media screen and (prefers-reduced-motion: no-preference) {
  html:is([data-lk-move-reveal="fade"], [data-lk-move-reveal="rise"], [data-lk-move-reveal="side"], [data-lk-move-reveal="blur"]):not(.editing) [data-lk-move="wait"] { opacity: 0; }
  html[data-lk-move-reveal="rise"]:not(.editing) [data-lk-move="wait"] { transform: translateY(34px); }
  /* from the left only: a part pushed out to the right would make the page scroll sideways */
  html[data-lk-move-reveal="side"]:not(.editing) [data-lk-move="wait"] { transform: translateX(-44px); }
  html[data-lk-move-reveal="blur"]:not(.editing) [data-lk-move="wait"] { filter: blur(14px); transform: translateY(10px); }
  html:is([data-lk-move-reveal="fade"], [data-lk-move-reveal="rise"], [data-lk-move-reveal="side"], [data-lk-move-reveal="blur"]) [data-lk-move="in"] {
    transition: opacity calc(.7s * var(--lk-move-time, 1)) ease, transform calc(.9s * var(--lk-move-time, 1)) cubic-bezier(.2, .7, .2, 1), filter calc(.8s * var(--lk-move-time, 1)) ease;
    transition-delay: var(--lk-move-d, 0ms);
  }
  /* In edit mode nothing waits hidden. When the choice is changed in the editor, the parts on screen play it once
     (the script marks them data-lk-move-demo); each of these ends on "shown" by itself. */
  html.editing:is([data-lk-move-reveal="fade"], [data-lk-move-reveal="rise"], [data-lk-move-reveal="side"], [data-lk-move-reveal="blur"]) [data-lk-move="in"][data-lk-move-demo] {
    animation: lk-move-in-fade calc(.9s * var(--lk-move-time, 1)) cubic-bezier(.2, .7, .2, 1) var(--lk-move-d, 0ms) backwards;
  }
  html.editing[data-lk-move-reveal="rise"] [data-lk-move="in"][data-lk-move-demo] { animation-name: lk-move-in-rise; }
  html.editing[data-lk-move-reveal="side"] [data-lk-move="in"][data-lk-move-demo] { animation-name: lk-move-in-side; }
  html.editing[data-lk-move-reveal="blur"] [data-lk-move="in"][data-lk-move-demo] { animation-name: lk-move-in-blur; }
}
@keyframes lk-move-in-fade { from { opacity: 0; } }
@keyframes lk-move-in-rise { from { opacity: 0; transform: translateY(34px); } }
@keyframes lk-move-in-side { from { opacity: 0; transform: translateX(-44px); } }
@keyframes lk-move-in-blur { from { opacity: 0; filter: blur(14px); transform: translateY(10px); } }

/* ---- Lift under the mouse -------------------------------------------------------------------------------------- */
html[data-lk-move-hover="none"] .card:hover .frame,
html[data-lk-move-hover="none"] .bigplay:hover,
html[data-lk-move-hover="none"] .follow a:hover svg,
html[data-lk-move-hover="none"] .talk:hover .go svg,
html[data-lk-move-hover="none"] .talk:focus-visible .go svg { transform: none; }

/* room above the cards, so a card that lifts is not cut off by the row it scrolls in (the row keeps its place) */
html[data-lk-move-hover="strong"] .shelf { padding-top: 14px; margin-top: -14px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html[data-lk-move-hover="strong"] .card .frame { transition: transform calc(.4s * var(--lk-move-time, 1)) cubic-bezier(.2, .7, .2, 1), box-shadow calc(.4s * var(--lk-move-time, 1)) ease; }
  html[data-lk-move-hover="strong"] .card:hover .frame { transform: translateY(-10px); box-shadow: 0 24px 30px -20px color-mix(in srgb, var(--dark) 70%, transparent); }
  /* buttons step off the paper and leave a printed block behind them */
  html[data-lk-move-hover="strong"] .btn { transition: transform calc(.25s * var(--lk-move-time, 1)) cubic-bezier(.2, .7, .2, 1), box-shadow calc(.25s * var(--lk-move-time, 1)) cubic-bezier(.2, .7, .2, 1); }
  html[data-lk-move-hover="strong"] .btn:hover { transform: translate(-2px, -3px); box-shadow: 4px 5px 0 var(--ink); }
  html[data-lk-move-hover="strong"] .btn.plain:hover { box-shadow: 4px 5px 0 var(--accent); }
  html[data-lk-move-hover="strong"] .bigplay:hover { transform: scale(1.16); }
  html[data-lk-move-hover="strong"] .follow a:hover svg { transform: translateX(8px); }
  html[data-lk-move-hover="strong"] .talk .nm { transition: color .2s, transform calc(.3s * var(--lk-move-time, 1)) cubic-bezier(.2, .7, .2, 1); }
  html[data-lk-move-hover="strong"] .talk:hover .nm { transform: translateX(6px); }
}

/* ---- Mouse pointer --------------------------------------------------------------------------------------------
   The real pointer stays. The script adds one small shape that trails it. Never on touch screens, never in the way
   of a click, not with reduced motion. It also shows in edit mode on a computer, so the choice can be seen there. */
html:is([data-lk-move-pointer="dot"], [data-lk-move-pointer="ring"]) .lk-move-ptr { display: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html:is([data-lk-move-pointer="dot"], [data-lk-move-pointer="ring"]) .lk-move-ptr {
    display: block; position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 2147483000;
    pointer-events: none; opacity: 0; transition: opacity .25s ease; will-change: transform;
  }
  html:is([data-lk-move-pointer="dot"], [data-lk-move-pointer="ring"]) .lk-move-ptr.on { opacity: 1; }
  html:is([data-lk-move-pointer="dot"], [data-lk-move-pointer="ring"]) .lk-move-ptr::before {
    content: ""; position: absolute; box-sizing: border-box; border-radius: 50%;
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), background-color .25s, border-color .25s, box-shadow .25s, opacity .25s;
  }
  /* brass dot: sits just below the pointer's tail, swells into a soft disc over anything that can be pressed */
  /* (each shape carries a hairline in the opposite tone, so it is still seen on a brass button or the brass name) */
  html[data-lk-move-pointer="dot"] .lk-move-ptr::before { left: 13px; top: 19px; width: 9px; height: 9px; background: var(--brass); box-shadow: 0 0 0 1.5px var(--light); }
  html[data-lk-move-pointer="dot"] .lk-move-ptr.dk::before { background: var(--brass-lt); box-shadow: 0 0 0 1.5px var(--dark); }
  html[data-lk-move-pointer="dot"] .lk-move-ptr.hot::before { transform: scale(2.2); box-shadow: 0 0 0 .7px var(--light); }
  html[data-lk-move-pointer="dot"] .lk-move-ptr.hot.dk::before { box-shadow: 0 0 0 .7px var(--dark); }
  html[data-lk-move-pointer="dot"] .lk-move-ptr.press::before { transform: scale(.7); }
  /* ring: a thin ink circle around the pointer's tip, grows and turns brass over anything that can be pressed */
  html[data-lk-move-pointer="ring"] .lk-move-ptr::before { left: -17px; top: -17px; width: 34px; height: 34px; border: 1.5px solid color-mix(in srgb, var(--dark) 60%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--light) 55%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--light) 55%, transparent); }
  html[data-lk-move-pointer="ring"] .lk-move-ptr.dk::before { border-color: color-mix(in srgb, var(--light) 70%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--dark) 55%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--dark) 55%, transparent); }
  html[data-lk-move-pointer="ring"] .lk-move-ptr.hot::before { transform: scale(1.55); border-color: var(--brass); background: color-mix(in srgb, var(--brass) 12%, transparent); }
  html[data-lk-move-pointer="ring"] .lk-move-ptr.hot.dk::before { border-color: var(--brass-lt); background: color-mix(in srgb, var(--brass-lt) 16%, transparent); }
  html[data-lk-move-pointer="ring"] .lk-move-ptr.press::before { transform: scale(.8); }
}

/* ---- Page opening ---------------------------------------------------------------------------------------------
   Drawn on <html> itself while the script holds the class lk-move-go there (about a second, home page only). It takes
   no clicks, and each animation ends on "gone", so the page is never left covered. Longest: 1.15 s. */
@media (prefers-reduced-motion: no-preference) {
  html.lk-move-go[data-lk-move-intro="fade"]:has(.front)::before {
    content: ""; position: fixed; inset: 0; z-index: 2147483600; pointer-events: none; background: var(--paper);
    animation: lk-move-veil .7s ease-out forwards;
    animation-duration: min(calc(.7s * var(--lk-move-time, 1)), 1.1s);
  }
  html.lk-move-go[data-lk-move-intro="curtain"]:has(.front)::before,
  html.lk-move-go[data-lk-move-intro="curtain"]:has(.front)::after {
    content: ""; position: fixed; top: 0; bottom: 0; width: 50.5vw; z-index: 2147483600; pointer-events: none;
    /* ink cloth with faint folds */
    background: repeating-linear-gradient(90deg, transparent 0 4.6vw, color-mix(in srgb, var(--light) 7%, transparent) 4.6vw 4.9vw, transparent 4.9vw 6.2vw), var(--dark);
    animation: lk-move-drape-l .95s cubic-bezier(.7, 0, .2, 1) forwards;
    animation-duration: min(calc(.95s * var(--lk-move-time, 1)), 1.15s);
  }
  html.lk-move-go[data-lk-move-intro="curtain"]:has(.front)::before { left: 0; border-right: 2px solid var(--brass-lt); }
  html.lk-move-go[data-lk-move-intro="curtain"]:has(.front)::after { right: 0; border-left: 2px solid var(--brass-lt); animation-name: lk-move-drape-r; }
}
@keyframes lk-move-veil { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
@keyframes lk-move-drape-l { 0%, 16% { transform: none; } 100% { transform: translateX(-102%); visibility: hidden; } }
@keyframes lk-move-drape-r { 0%, 16% { transform: none; } 100% { transform: translateX(102%); visibility: hidden; } }


/* ---- 41-sections.css ---- */
/* Parts of the page (41-sections). Every value is "on" by default and has no rule here: only "off" hides something.
   The order of the three middle parts is done by 41-sections.js, which moves the sections themselves. */

/* whole parts */
html[data-lk-sec-about="off"] #about,
html[data-lk-sec-stage="off"] #gallery,
html[data-lk-sec-post="off"] #covers { display: none; }

/* The front button that jumps to the covers has nowhere to go while that part is hidden, so it leaves with it. */
html[data-lk-sec-post="off"] .front .go a[href="#covers"] { display: none; }

/* smaller pieces */
html[data-lk-sec-talks="off"] .talks,
html[data-lk-sec-badge="off"] .seen,
html[data-lk-sec-footnote="off"] .fine [data-k="footer.note"] { display: none; }

/* The facts list, with the editor's "Add or remove facts" button that belongs to it. */
html[data-lk-sec-facts="off"] #about .facts,
html[data-lk-sec-facts="off"] #about .pk-row[data-for^="facts-"] { display: none; }

/* The record: the sleeve on wide screens and the small line that stands in for it on a phone. */
html[data-lk-sec-record="off"] .front .disc,
html[data-lk-sec-record="off"] .front .own-line { display: none; }


/* ---- 42-extras.css ---- */
/* Small extras (42-extras.js). Every part here is either made by apply() only while its option is on (the .x-…
   elements carry data-lk-made="extras"), or starts with a non-default html[data-lk-x-…] selector. At the defaults
   nothing in this file matches anything on the page. */

/* ---------- announcement bar: the first thing on the page ---------- */
.x-note { position: relative; z-index: 1; background: var(--dark); color: var(--light); font-family: var(--mono); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.45; }
button.x-note-in { all: unset; cursor: pointer; }
.x-note .x-note-in { box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: .7rem; width: 100%; min-height: 2.75rem; padding: .65rem var(--pad, 1.1rem); color: inherit; text-decoration: none; text-align: center; }
.x-note-dot { flex: none; width: .4rem; height: .4rem; border-radius: 50%; background: var(--brass-lt); box-shadow: 0 0 8px 2px color-mix(in srgb, var(--brass-lt) 70%, transparent); animation: x-glow 2.4s ease-in-out infinite; }
.x-note-t { min-width: 0; overflow-wrap: anywhere; text-wrap: balance; }
.x-note-go { flex: none; display: inline-flex; color: var(--brass-lt); }
.x-note-go svg { width: .8rem; height: .8rem; transition: transform .3s; }
.x-note a.x-note-in:hover .x-note-go svg, .x-note button.x-note-in:hover .x-note-go svg { transform: translateX(4px); }
.x-note a.x-note-in:hover .x-note-t, .x-note button.x-note-in:hover .x-note-t { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.x-note .x-note-in:focus-visible { outline: 3px solid var(--brass-lt); outline-offset: -4px; }
@keyframes x-glow { 50% { box-shadow: 0 0 3px 0 color-mix(in srgb, var(--brass-lt) 40%, transparent); opacity: .7; } }

html[data-lk-x-note="brass"] .x-note { background: var(--brass); }
html[data-lk-x-note="brass"] .x-note-dot { background: var(--light); box-shadow: none; animation: none; }
html[data-lk-x-note="brass"] .x-note-go { color: inherit; }
html[data-lk-x-note="brass"] .x-note .x-note-in:focus-visible { outline-color: var(--light); }

/* moving words: the same line many times, sliding left by exactly half its length */
.x-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html[data-lk-x-note="roll"] .x-note .x-note-in { display: block; padding-inline: 0; overflow: hidden; }
html[data-lk-x-note="roll"] .x-note-run { display: inline-flex; white-space: nowrap; animation: x-roll var(--x-dur, 60s) linear infinite; will-change: transform; }
html[data-lk-x-note="roll"] .x-note-run > span { display: inline-flex; align-items: center; line-height: 1.45rem; }
html[data-lk-x-note="roll"] .x-note-run > span::after { content: ""; width: .34rem; height: .34rem; margin-inline: 1.5rem; background: var(--brass-lt); transform: rotate(45deg); }
html[data-lk-x-note="roll"] .x-note .x-note-in:hover .x-note-run { animation-play-state: paused; }
@keyframes x-roll { to { transform: translateX(-50%); } }

/* ---------- reading line: fills as the page is scrolled ---------- */
.x-read { position: fixed; z-index: 60; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; }
.x-read i { position: absolute; inset: 0; background: var(--brass); transform: scaleX(var(--x-p, 0)); transform-origin: 0 50%; }
.x-read b { display: none; }
html[data-lk-x-read="thick"] .x-read { height: 6px; }
html[data-lk-x-read="dot"] .x-read i { background: linear-gradient(to right, var(--brass), var(--brass-lt)); box-shadow: 0 0 8px 0 color-mix(in srgb, var(--brass-lt) 60%, transparent); }
html[data-lk-x-read="dot"] .x-read b { display: block; position: absolute; top: -3px; left: calc(var(--x-p, 0) * 100%); width: 9px; height: 9px; margin-left: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px color-mix(in srgb, var(--brass-lt) 90%, transparent); opacity: 0; transition: opacity .3s; }
html[data-lk-x-read="dot"] .x-read.go b { opacity: 1; }

/* ---------- floating buttons: back to top, and message me on phones ---------- */
.x-top, .x-msg { position: fixed; z-index: 50; box-sizing: border-box; font-family: var(--mono); font-size: .8125rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.x-top:focus-visible, .x-msg:focus-visible { outline: 3px solid var(--brass-lt); outline-offset: 3px; }

.x-top { all: unset; position: fixed; z-index: 50; box-sizing: border-box; cursor: pointer; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center; gap: .55rem; width: 2.75rem; height: 2.75rem;
  background: var(--dark); color: var(--light); border: 1px solid color-mix(in srgb, var(--light) 28%, transparent); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .55);
  font-family: var(--mono); font-size: .8125rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s .3s, bottom .3s, background-color .2s; }
.x-top.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.x-top svg { flex: none; width: .9rem; height: .9rem; transition: transform .25s; }
.x-top:hover { background: var(--brass); }
.x-top:hover svg { transform: translateY(-2px); }
.x-top:focus-visible { outline: 3px solid var(--brass-lt); outline-offset: 3px; }
.x-top span { display: none; }
html[data-lk-x-top="round"] .x-top { border-radius: 50%; background: var(--brass); border-color: transparent; }
html[data-lk-x-top="round"] .x-top:hover { background: var(--dark); border-color: color-mix(in srgb, var(--light) 28%, transparent); }
html[data-lk-x-top="word"] .x-top { width: auto; padding-inline: 1rem .9rem; }
html[data-lk-x-top="word"] .x-top span { display: inline; }

/* room under the last line of the page, so the button never sits on the footer words */
html[data-lk-x-top="square"] footer .fine, html[data-lk-x-top="round"] footer .fine, html[data-lk-x-top="word"] footer .fine { padding-bottom: 4.75rem; }

.x-msg { display: none; }
@media (max-width: 700px) {
  .x-msg { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); min-height: 2.75rem; padding: .8rem 1rem;
    background: var(--brass); color: var(--light); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .6);
    transition: opacity .3s, transform .35s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
  .x-msg svg { flex: none; width: 1.15rem; height: 1.15rem; }
  .x-msg.away { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(1.5rem); transition: opacity .3s, transform .35s, visibility 0s .35s; }
  html[data-lk-x-msg="round"] .x-msg { width: 3.4rem; height: 3.4rem; padding: 0; border-radius: 50%; }
  html[data-lk-x-msg="round"] .x-msg svg { width: 1.45rem; height: 1.45rem; }
  html[data-lk-x-msg="round"] .x-msg span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  html[data-lk-x-msg="bar"] .x-msg { left: 0; right: 0; bottom: 0; min-height: 3.25rem; padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom)); background: var(--dark); border-top: 1px solid color-mix(in srgb, var(--light) 22%, transparent); box-shadow: 0 -12px 24px -16px rgba(0, 0, 0, .5); }
  html[data-lk-x-msg="bar"] .x-msg svg { color: var(--brass-lt); }
  html[data-lk-x-msg="bar"] .x-msg.away { transform: translateY(100%); }
  /* the back to top button sits above the message button while that one is on the screen */
  html[data-lk-x-msg="tag"] .x-msg:not(.away) ~ .x-top { bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 3.35rem); }
  html[data-lk-x-msg="round"] .x-msg:not(.away) ~ .x-top { bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4rem); right: calc(max(1rem, env(safe-area-inset-right)) + .325rem); }
  html[data-lk-x-msg="bar"] .x-msg:not(.away) ~ .x-top { bottom: calc(4rem + env(safe-area-inset-bottom)); }
}

/* ---------- share button in the footer ---------- */
.x-share { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; padding-block: .8rem; margin-block: -.8rem; }
.x-share svg { flex: none; width: .7rem; height: .7rem; transition: transform .25s; }
.x-share:hover svg { transform: translate(2px, -2px); }
.x-share:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
html[data-lk-x-share="words"] .x-share .x-share-t { text-decoration: underline; text-underline-offset: .25em; }
html[data-lk-x-share="words"] .x-share:hover { color: var(--accent); }
html[data-lk-x-share="button"] .fine { align-items: center; }
html[data-lk-x-share="button"] .x-share { padding: .7rem .95rem; margin-block: .15rem 0; border: 1px solid currentColor; }
html[data-lk-x-share="button"] .x-share svg { color: var(--accent); }
html[data-lk-x-share="button"] .x-share:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
html[data-lk-x-share="button"] .x-share:hover svg { color: inherit; }

/* ---------- section numbers: 01, 02, 03 on the big headings, counted in the order the parts show ---------- */
html[data-lk-x-nums="faint"] main, html[data-lk-x-nums="outline"] main, html[data-lk-x-nums="tag"] main { counter-reset: x-sec; }
html[data-lk-x-nums="faint"] main > section:not(.front), html[data-lk-x-nums="outline"] main > section:not(.front), html[data-lk-x-nums="tag"] main > section:not(.front) { counter-increment: x-sec; }
html[data-lk-x-nums="faint"] main > section:not(.front) h2::before, html[data-lk-x-nums="outline"] main > section:not(.front) h2::before, html[data-lk-x-nums="tag"] main > section:not(.front) h2::before { content: counter(x-sec, decimal-leading-zero); }
html[data-lk-x-nums="faint"] main > section:not(.front) h2::before { margin-right: .22em; opacity: .16; font-family: var(--display); }
html[data-lk-x-nums="outline"] main > section:not(.front) h2::before { margin-right: .22em; font-family: var(--display); color: transparent; -webkit-text-stroke: 1px var(--accent); }
html[data-lk-x-nums="tag"] main > section:not(.front) h2::before { display: block; width: 2.4rem; margin-bottom: .8rem; padding-top: .55rem; border-top: 2px solid var(--accent); color: var(--accent); font-family: var(--mono); font-size: .8125rem; font-weight: 400; letter-spacing: .08em; line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  .x-note-dot { animation: none; }
  html[data-lk-x-note="roll"] .x-note-run { animation: none; }
  .x-note-go svg, .x-top svg, .x-share svg { transition: none; }
  .x-top, .x-top.show, .x-msg, .x-msg.away { transform: none; transition: none; }
  html[data-lk-x-msg="bar"] .x-msg.away { transform: none; }
  html[data-lk-x-read="dot"] .x-read b { transition: none; }
}

