/* Kassmasse: the page is tuned to a qenet. Every colour comes from the mode. */

:root {
  --ground: #d4862a;   /* Tizita: dusk amber, from the Maleda sleeve */
  --ground-2: #e8a85a;
  --ink: #1a1007;
  --spark: #fff3dc;    /* a plucked string */
  --soft: color-mix(in srgb, var(--ink) 86%, var(--ground));
  --soft-2: color-mix(in srgb, var(--ink) 86%, var(--ground-2));
  --hair: color-mix(in srgb, var(--ink) 34%, transparent);

  --f-latin: "Bricolage Grotesque", "Noto Sans Ethiopic", system-ui, sans-serif;
  --f-geez: "Noto Sans Ethiopic", "Bricolage Grotesque", system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --s-1: .5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2.5rem; --s-5: 4rem; --s-6: clamp(5rem, 11vw, 9rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --retune: 700ms;
  color-scheme: light;
}
:root[data-mode="ambassel"] { --ground: #a8271f; --ground-2: #7c1a15; --ink: #f8eadb; --spark: #ffd27a; color-scheme: dark; }
:root[data-mode="bati"]     { --ground: #17203a; --ground-2: #0e1528; --ink: #efe5d3; --spark: #e9b04c; color-scheme: dark; }
:root[data-mode="anchihoye"]{ --ground: #f0c232; --ground-2: #f7d86e; --ink: #1a1405; --spark: #a8271f; color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-latin);
  font-variation-settings: "opsz" 16;
  transition: background-color var(--retune) var(--ease-out), color var(--retune) var(--ease-out);
  overflow-x: clip;
}
[lang="am"] { font-family: var(--f-geez); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--ink); color: var(--ground); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: color-mix(in srgb, var(--ink) 45%, transparent) var(--ground); }
input, textarea { caret-color: var(--ink); }
kbd { font: 600 .8em/1 var(--f-latin); font-variant-numeric: tabular-nums; border: 1px solid var(--hair); border-bottom-width: 2px; border-radius: 4px; padding: .15em .4em; }
cite { font-style: normal; font-weight: 600; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 30; background: var(--ink); color: var(--ground); padding: .6rem 1rem; border-radius: 4px; }
.skip:focus { top: .75rem; }
html:not(.js) .js-only { display: none; }

.i { width: 1.25rem; height: 1.25rem; fill: currentColor; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i--arrow { width: .95em; height: .95em; fill: none; margin-left: .2em; vertical-align: -.08em; }

/* ── Bar ─────────────────────────────────────────── */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: var(--s-3);
  padding: .75rem var(--gutter);
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  transition: background-color var(--retune) var(--ease-out);
}
.bar__mark { display: flex; align-items: baseline; gap: .6rem; text-decoration: none; margin-right: auto; }
.bar__mark [lang="am"] { font-weight: 800; font-size: 1.35rem; font-variation-settings: "wdth" 75; letter-spacing: -.01em; }
.bar__latin { font-weight: 600; font-size: .95rem; letter-spacing: .02em; }
.bar__nav { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.bar__nav a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: .5rem 0; position: relative; }
.bar__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .3rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.bar__nav a:hover::after, .bar__nav a:focus-visible::after { transform: scaleX(1); }
.bar__sound, .bar__menu {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; min-width: 44px; justify-content: center;
  padding: 0 .85rem; border: 1px solid var(--hair); border-radius: 999px;
  background: transparent; color: inherit; font: 500 .9rem var(--f-latin); cursor: pointer;
  transition: background-color 200ms, color 200ms;
}
.bar__sound:hover, .bar__menu:hover { background: color-mix(in srgb, var(--ink) 10%, transparent); }
.bar__sound .i--off, .bar__sound[aria-pressed="false"] .i--on { display: none; }
.bar__sound[aria-pressed="false"] .i--off { display: block; }
html:not(.js) .bar__sound { display: none; }
.bar__menu { display: none; padding: 0; }
.bar__menu-lines, .bar__menu-lines::before { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform 250ms var(--ease-out); }
.bar__menu-lines::before { content: ""; position: absolute; top: 6px; }
.bar__menu-lines { transform: translateY(-3px); }
.bar__menu[aria-expanded="true"] .bar__menu-lines { transform: rotate(45deg); }
.bar__menu[aria-expanded="true"] .bar__menu-lines::before { transform: translateY(-6px) rotate(-90deg); }

/* ── The instrument (first viewport) ───────────────── */
.tune {
  min-height: calc(100svh - 4.25rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: var(--s-3);
  padding: var(--s-3) var(--gutter) var(--s-4);
  position: relative;
}
.tune__modes { display: flex; flex-wrap: wrap; gap: .5rem; position: relative; z-index: 3; }
.tune__modes button {
  display: inline-flex; align-items: baseline; gap: .55rem;
  min-height: 48px; padding: .55rem 1.1rem .6rem;
  border: 1px solid var(--hair); border-radius: 999px;
  background: transparent; color: inherit; cursor: pointer;
  font: 500 1rem var(--f-latin);
  transition: background-color 250ms var(--ease-out), color 250ms var(--ease-out), border-color 250ms;
}
.tune__modes button [lang="am"] { font-weight: 700; font-size: 1.05rem; }
.tune__modes button:hover { border-color: var(--ink); }
.tune__modes button[aria-checked="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }

.tune__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 30vw, 460px);
  align-items: center;
  min-height: clamp(320px, 52vh, 620px);
}
.tune__name { grid-column: 1; grid-row: 1; position: relative; z-index: 1; line-height: .82; padding-bottom: .4em; }
.tune__geez {
  display: block;
  font-weight: 900; font-variation-settings: "wdth" 62.5;
  font-size: clamp(5.5rem, 19vw, 17rem);
  letter-spacing: -.02em;
  margin-left: -.04em;
}
.tune__latin {
  display: block; margin-top: .25em;
  font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 100;
  font-size: clamp(2.1rem, 6.6vw, 6rem);
  letter-spacing: -.035em; line-height: .9;
}
.tune__portrait { grid-column: 2; grid-row: 1; margin: 0; position: relative; z-index: 0; align-self: stretch; display: flex; align-items: center; }
.tune__portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
  border-radius: 2px;
  box-shadow: 0 24px 60px -24px color-mix(in srgb, #000 55%, transparent);
}

/* strings run across the whole stage, in front of name and portrait */
.krar { position: absolute; inset: 6% calc(var(--gutter) * -1) 4%; z-index: 2; touch-action: pan-y; }
.krar__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.krar__strings { position: absolute; inset: 0; }
.krar__string {
  position: absolute; left: 0; right: 0; height: 44px; transform: translateY(-50%);
  background: transparent; border: 0; padding: 0 0 0 var(--gutter); margin: 0;
  color: inherit; cursor: pointer; text-align: left;
}
.krar__note {
  display: inline-grid; place-items: center; min-width: 1.9rem; height: 1.9rem; padding: 0 .3rem;
  font: 600 .8rem/1 var(--f-latin); font-variant-numeric: tabular-nums;
  background: var(--ground); border: 1px solid var(--hair); border-radius: 999px;
  transition: background-color var(--retune) var(--ease-out), transform 160ms var(--ease-out);
}
.krar__string:hover .krar__note, .krar__string.is-ringing .krar__note { background: var(--ink); color: var(--ground); }
.krar__string.is-ringing .krar__note { transform: scale(1.12); }
.krar__string:focus-visible { outline: none; }
.krar__string:focus-visible .krar__note { outline: 2px solid var(--ink); outline-offset: 3px; }
/* without JS: plain hairlines, no controls */
html:not(.js) .krar__strings { display: none; }
html:not(.js) .krar__canvas { background: repeating-linear-gradient(to bottom, transparent 0 calc(20% - 1px), var(--hair) calc(20% - 1px) 20%); }

.tune__foot {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: var(--s-4); align-items: end;
  position: relative; z-index: 3;
}
.tune__lede { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.45; max-width: 36ch; font-variation-settings: "opsz" 24; }
.tune__lede em { font-style: normal; font-weight: 600; }
.tune__scale { font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.tune__about { color: var(--soft); max-width: 34ch; }
.tune__hint { color: var(--soft); font-size: .92rem; text-align: right; max-width: 22ch; }

/* ── Antsar ─────────────────────────────────────── */
.antsar {
  background: var(--ground-2);
  padding: var(--s-6) var(--gutter);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-3); row-gap: var(--s-5);
  transition: background-color var(--retune) var(--ease-out);
}
.antsar__head { grid-column: 1 / span 5; }
.antsar h2, .story h2, .music h2, .with h2, .contact h2 {
  font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 92;
  font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: .95; letter-spacing: -.035em;
}
.antsar h2 [lang="am"], .contact h2 [lang="am"] { font-weight: 800; font-variation-settings: "wdth" 70; letter-spacing: 0; display: block; font-size: .78em; margin-top: .12em; }
.antsar__gloss { margin-top: var(--s-3); font-size: 1.2rem; line-height: 1.45; max-width: 26ch; color: var(--soft-2); }
.antsar__body { grid-column: 7 / span 6; display: grid; gap: var(--s-2); align-self: end; font-size: 1.12rem; max-width: 60ch; }
.antsar__body strong { font-weight: 700; }

.forces {
  grid-column: 1 / -1; margin: 0; position: relative;
  display: grid; grid-template-columns: 1fr minmax(8rem, .8fr) 1fr; align-items: center;
  min-height: 420px;
}
.forces__lines { position: absolute; inset: 0; width: 100%; height: calc(100% - 2.5rem); }
.forces__lines path { fill: none; stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .55; }
.forces__side { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; height: calc(420px - 2.5rem); align-content: space-between; padding-block: 1rem; }
.forces__side li { font-size: clamp(1.1rem, 1.9vw, 1.6rem); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; background: var(--ground-2); padding: .3rem .5rem; width: fit-content; transition: background-color var(--retune) var(--ease-out); }
.forces__side li [lang="am"] { font-weight: 800; margin-right: .3em; }
.forces__side--away li { justify-self: end; text-align: right; }
.forces__node { position: relative; justify-self: center; align-self: center; margin-top: -2.5rem; display: grid; place-items: center; text-align: center; width: clamp(8rem, 13vw, 11rem); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--ground-2); transition: background-color var(--retune), color var(--retune); }
.forces__node [lang="am"] { font-weight: 900; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-variation-settings: "wdth" 70; line-height: 1; }
.forces__node span:last-child { font-weight: 600; font-size: .95rem; letter-spacing: .06em; margin-top: -1.8rem; }
.forces figcaption { grid-column: 1 / -1; align-self: end; color: var(--soft-2); font-size: .92rem; padding-top: var(--s-2); }

/* ── Story ─────────────────────────────────────── */
.story {
  padding: var(--s-6) var(--gutter);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-3); align-items: start;
}
.story__photo { grid-column: 1 / span 5; margin: 0; position: sticky; top: 6rem; }
.story__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; box-shadow: 0 24px 60px -28px color-mix(in srgb, #000 55%, transparent); }
.story__text { grid-column: 7 / span 6; }
.story__lead { margin-top: var(--s-3); font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.35; max-width: 30ch; font-variation-settings: "opsz" 32; }
.story__ledger { margin: var(--s-5) 0 0; }
.story__ledger > div { display: grid; grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr); gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--hair); }
.story__ledger > div:last-child { border-bottom: 1px solid var(--hair); }
.story__ledger dt { font-weight: 700; line-height: 1.35; }
.story__ledger dd { margin: 0; max-width: 52ch; }
.story__note { margin-top: var(--s-3); color: var(--soft); }

/* ── Music ─────────────────────────────────────── */
.music { background: var(--ground-2); padding: var(--s-6) var(--gutter); transition: background-color var(--retune) var(--ease-out); }
.music__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-4); align-items: end; }
.music__head > p { grid-column: 1; color: var(--soft-2); font-size: 1.1rem; }
.outlinks { grid-column: 2; grid-row: 1 / span 2; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.outlinks a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--hair); border-radius: 999px; text-decoration: none; font-weight: 600; transition: background-color 200ms, color 200ms; }
.outlinks a:hover { background: var(--ink); color: var(--ground-2); }
.player { margin-top: var(--s-5); min-height: 352px; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--ink) 10%, transparent); }
.player iframe { display: block; border: 0; }

.courses { list-style: none; margin: var(--s-5) 0 0; padding: 0; }
.course {
  display: grid; grid-template-columns: 5.5rem clamp(120px, 15vw, 200px) minmax(0, 1fr); gap: var(--s-4);
  padding: var(--s-4) 0; border-top: 1px solid var(--hair); align-items: start;
}
.course:last-child { border-bottom: 1px solid var(--hair); }
.course__year { font-weight: 700; font-size: 1.4rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; line-height: 1; padding-top: .3rem; }
.course__cover { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; box-shadow: 0 16px 40px -20px color-mix(in srgb, #000 60%, transparent); }
.course h3 { font-weight: 700; font-variation-settings: "opsz" 48; font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -.025em; line-height: 1.05; }
.course h3 [lang="am"] { font-weight: 700; font-size: .7em; margin-left: .35em; letter-spacing: 0; white-space: nowrap; }
.course__meta { margin-top: .5rem; color: var(--soft-2); font-size: .95rem; }
.course__note { margin-top: var(--s-2); max-width: 52ch; }
.course__links { margin-top: var(--s-3); display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-weight: 600; font-size: .95rem; }
.course__links a { padding: .55rem 0; }
.course--album { grid-template-columns: 5.5rem clamp(200px, 28vw, 400px) minmax(0, 1fr); padding: var(--s-5) 0; }
.course--album h3 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); }

.tracks { list-style: none; counter-reset: t; margin: var(--s-3) 0 0; padding: 0; max-width: 34rem; }
.tracks li { counter-increment: t; display: grid; grid-template-columns: 1.8rem minmax(0, 1fr) auto; gap: .75rem; padding: .45rem 0; border-top: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); font-variant-numeric: tabular-nums; }
.tracks li::before { content: counter(t); color: var(--soft-2); font-size: .9rem; padding-top: .1rem; }
.tracks small { color: var(--soft-2); font-size: .88rem; margin-left: .3rem; white-space: nowrap; }
.tracks time { color: var(--soft-2); font-size: .92rem; }
.tracks--cols { max-width: none; columns: 2 18rem; column-gap: var(--s-4); }
.tracks--cols li { break-inside: avoid; }

/* ── With ─────────────────────────────────────── */
.with { padding: var(--s-6) var(--gutter); }
.lineup { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .15em .9em; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.lineup li { font-variation-settings: "opsz" 96, "wdth" 85; }
.lineup small { display: inline-block; font: 500 .9rem/1.3 var(--f-latin); letter-spacing: 0; color: var(--soft); vertical-align: .4em; margin-left: .25em; max-width: 30ch; }
.lineup__xl { font-size: clamp(2.6rem, 7.5vw, 6rem); }
.lineup__l { font-size: clamp(2rem, 5vw, 4rem); }
.lineup__m { font-size: clamp(1.6rem, 3.4vw, 2.7rem); }
.lineup--crew { margin-top: var(--s-4); }
.lineup--crew li { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-variation-settings: "opsz" 32, "wdth" 100; letter-spacing: -.015em; }
.with__award { margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--hair); font-size: 1.15rem; }

/* ── Contact ─────────────────────────────────────── */
.contact {
  background: var(--ink); color: var(--ground);
  padding: var(--s-6) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s-5);
  transition: background-color var(--retune) var(--ease-out), color var(--retune) var(--ease-out);
  --hair: color-mix(in srgb, var(--ground) 34%, transparent);
}
.contact ::selection { background: var(--ground); color: var(--ink); }
.contact :focus-visible { outline-color: var(--ground); }
.contact__lib > p { max-width: 54ch; margin-top: var(--s-3); }
.contact__tag { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.35; font-variation-settings: "opsz" 32; }
.contact__mail {
  display: inline-block; margin-top: var(--s-4);
  font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 85;
  font-size: clamp(1.5rem, 4.2vw, 3.6rem); letter-spacing: -.03em; line-height: 1.05;
  text-decoration-thickness: 2px; text-underline-offset: .15em; overflow-wrap: anywhere;
}
.contact__small { font-size: .95rem; opacity: .86; }
.contact__social { list-style: none; margin: 0; padding: 0; align-self: end; }
.contact__social a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--hair); text-decoration: none; font-weight: 700; font-size: 1.3rem; transition: padding 250ms var(--ease-out); }
.contact__social li:last-child a { border-bottom: 1px solid var(--hair); }
.contact__social a:hover { padding-left: .5rem; }
.contact__social span { font-weight: 400; font-size: .95rem; opacity: .86; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom)); background: var(--ink); color: var(--ground); font-size: .9rem; border-top: 1px solid color-mix(in srgb, var(--ground) 20%, transparent); transition: background-color var(--retune), color var(--retune); }

/* ── Bar date + moment ─────────────────────────────── */
.bar__date { margin: 0 auto 0 0; font-weight: 600; font-size: .9rem; color: var(--soft); white-space: nowrap; }
.bar__mark { margin-right: var(--s-3); }
.bar__nav-extra { display: none; }
.moment {
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
  padding: .7rem var(--gutter); background: var(--ink); color: var(--ground);
  transition: background-color var(--retune), color var(--retune);
}
.moment[hidden] { display: none; }
.moment__text { font-weight: 500; }
.moment__am { font-weight: 800; margin-right: .4rem; }
.moment a { font-weight: 700; margin-left: .4rem; white-space: nowrap; }
.moment :focus-visible { outline-color: var(--ground); }
.moment__close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 50%; }
.moment__close:hover { background: color-mix(in srgb, var(--ground) 18%, transparent); }

/* ── Play along ─────────────────────────────────────── */
.tune__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; position: relative; z-index: 3; }
.along { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.along[hidden] { display: none; }
.along__play { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: 0 1.1rem 0 .9rem; border: 0; border-radius: 999px; background: var(--ink); color: var(--ground); font: 600 1rem var(--f-latin); cursor: pointer; transition: transform 160ms var(--ease-out); }
.along__play:active { transform: scale(.97); }
.along__play .i--pause, .along__play[aria-pressed="true"] .i--play { display: none; }
.along__play[aria-pressed="true"] .i--pause { display: block; }
.along__pick select { min-height: 48px; max-width: 16rem; padding: 0 2.2rem 0 1rem; border: 1px solid var(--hair); border-radius: 999px; background: transparent; color: inherit; font: 500 .95rem var(--f-latin); appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 1.05rem center, right .75rem center; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.along__pick option { color: #111; }
.along__bar { width: 7rem; height: 2px; background: var(--hair); overflow: hidden; }
.along__bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.tune__modes { position: static; }

/* ── Shared form + buttons ─────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.25rem; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: inherit; font: 600 1rem var(--f-latin); cursor: pointer; text-decoration: none; transition: background-color 200ms, color 200ms, transform 160ms var(--ease-out); }
.btn:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); }
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--ink); color: var(--ground); }
.btn--solid:hover { background: color-mix(in srgb, var(--ink) 86%, var(--ground)); }
.btn:disabled { opacity: .55; cursor: progress; }
.field { display: grid; gap: .4rem; }
.field__label { font-weight: 600; font-size: .95rem; }
.field__label small { font-weight: 400; color: var(--soft); }
.field input, .next__form input[type="email"] {
  min-height: 52px; width: 100%; padding: 0 1rem; border: 1px solid color-mix(in srgb, var(--ink) 45%, transparent); border-radius: 10px;
  background: color-mix(in srgb, var(--ground) 60%, #fff 0%); color: inherit; font: 500 1.1rem var(--f-latin);
}
.field input[lang="am"] { font: 700 1.35rem var(--f-geez); }
.field input:focus, .next__form input:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
::placeholder { color: color-mix(in srgb, currentColor 55%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Words ─────────────────────────────────────── */
.words { padding: var(--s-6) var(--gutter); }
.words__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4); align-items: end; }
.words h2, .watch h2, .tag h2, .editions h2 { font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 92; font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: .95; letter-spacing: -.035em; }
.words__head p { font-size: 1.15rem; max-width: 46ch; }
.decode { margin-top: var(--s-5); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.decode__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.decode__list button { display: inline-flex; align-items: baseline; gap: .5rem; min-height: 48px; padding: .5rem 1rem; border: 1px solid var(--hair); border-radius: 999px; background: transparent; color: inherit; font: 500 1rem var(--f-latin); cursor: pointer; transition: background-color 200ms, color 200ms, border-color 200ms; }
.decode__list button [lang="am"] { font-weight: 700; }
.decode__list button:hover { border-color: var(--ink); }
.decode__list button[aria-expanded="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.decode__panel { position: sticky; top: 7rem; padding-top: var(--s-2); border-top: 1px solid var(--ink); }
.decode__geez { font-weight: 900; font-variation-settings: "wdth" 62.5; font-size: clamp(4rem, 9vw, 8rem); line-height: 1; letter-spacing: -.01em; }
.decode__literal { margin-top: var(--s-2); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; letter-spacing: -.015em; }
.decode__note { margin-top: var(--s-2); max-width: 44ch; color: var(--soft); font-size: 1.08rem; }
.decode__lyrics { margin-top: var(--s-3); }
.decode__lyrics:not([hidden]) { display: inline-flex; min-height: 48px; align-items: center; padding: 0 1.25rem; border-radius: 999px; border: 0; background: var(--ink); color: var(--ground); font: 600 1rem var(--f-latin); cursor: pointer; }
.words__credit { margin-top: var(--s-4); color: var(--soft); font-size: .92rem; }

.lyrics { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--ink); }
.lyrics__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.lyrics h3 { font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.025em; }
.lyrics h3 [lang="am"] { font-size: .75em; margin-left: .4em; }
.lyrics__view { display: flex; gap: .4rem; flex-wrap: wrap; }
.lyrics__view button { min-height: 44px; padding: 0 1rem; border: 1px solid var(--hair); border-radius: 999px; background: transparent; color: inherit; font: 500 .92rem var(--f-latin); cursor: pointer; }
.lyrics__view button[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.lyrics__lines { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: var(--s-3); max-width: 62rem; }
.lyrics__lines li { display: grid; gap: .15rem; }
.l-am { font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.35; }
.l-roman { font-style: italic; color: var(--soft); }
.l-en { font-size: 1.08rem; }
.lyrics.hide-am .l-am, .lyrics.hide-roman .l-roman, .lyrics.hide-en .l-en { display: none; }
.gloss { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-style: wavy; text-decoration-thickness: 1px; text-underline-offset: .28em; }
.gloss[aria-expanded="true"] { background: var(--ink); color: var(--ground); }
.gloss__note { margin-top: .3rem; padding-left: 1rem; border-left: 1px solid var(--ink); max-width: 56ch; }
.gloss__note [lang="am"] { font-weight: 700; margin-right: .3rem; }
.lyrics__hint { margin-top: var(--s-3); color: var(--soft); font-size: .92rem; }

/* ── Watch ─────────────────────────────────────── */
.watch { background: var(--ink); color: var(--ground); padding: var(--s-6) var(--gutter); transition: background-color var(--retune), color var(--retune); --hair: color-mix(in srgb, var(--ground) 30%, transparent); }
.watch :focus-visible { outline-color: var(--ground); }
.watch ::selection { background: var(--ground); color: var(--ink); }
.screen { margin-top: var(--s-4); display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(16rem, 1fr); gap: var(--s-3); align-items: start; }
.screen__stage { display: grid; gap: .75rem; }
.screen__facade, .screen__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 6px; overflow: hidden; background: #000; cursor: pointer; }
.screen__facade img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out), filter 300ms; }
.screen__facade:hover img { transform: scale(1.02); filter: brightness(.9); }
.screen__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--ground); color: var(--ink); box-shadow: 0 14px 40px -12px rgba(0,0,0,.6); transition: transform 200ms var(--ease-out), background-color var(--retune); }
.screen__play .i { width: 34px; height: 34px; margin-left: 4px; }
.screen__facade:hover .screen__play { transform: scale(1.06); }
.screen__caption { font-size: 1.05rem; }
.reel { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: calc((100vw - 2 * var(--gutter)) * .69 * 9 / 16); overflow-y: auto; scrollbar-width: thin; }
.reel button { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .9rem; align-items: center; width: 100%; padding: .5rem; border: 0; border-radius: 6px; background: transparent; color: inherit; text-align: left; font: 400 .9rem/1.35 var(--f-latin); cursor: pointer; transition: background-color 200ms; }
.reel button:hover { background: color-mix(in srgb, var(--ground) 12%, transparent); }
.reel button[aria-current] { background: color-mix(in srgb, var(--ground) 20%, transparent); }
.reel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; }
.reel strong { display: block; font-weight: 700; font-size: 1.02rem; }
.watch__more { margin-top: var(--s-3); font-weight: 600; }
.watch__more a { display: inline-flex; align-items: center; min-height: 44px; }

/* ── Tag ─────────────────────────────────────── */
.tag { padding: var(--s-6) var(--gutter); background: var(--ground-2); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: var(--s-5); align-items: center; transition: background-color var(--retune); }
.tag__intro > p { margin-top: var(--s-3); font-size: 1.15rem; max-width: 44ch; }
.tag__form { margin-top: var(--s-4); display: grid; gap: var(--s-3); max-width: 30rem; }
.tag__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag__status { min-height: 1.6em; color: var(--soft-2); }
.tag__preview { margin: 0; justify-self: center; width: min(100%, 360px); }
.tag__preview canvas { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 14px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.55); }

/* ── Editions + gallery ─────────────────────────────── */
.editions { padding: var(--s-6) var(--gutter); }
.editions__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4); align-items: end; }
.editions__head p { font-size: 1.15rem; max-width: 46ch; }
.gallery { margin-top: var(--s-5); columns: 3 16rem; column-gap: var(--s-3); }
.gallery[hidden] { display: none; }
.work { margin: 0 0 var(--s-3); break-inside: avoid; }
.work img { width: 100%; border-radius: 2px; }
.work figcaption { margin-top: .6rem; display: grid; gap: .15rem; font-size: .95rem; color: var(--soft); }
.work strong { color: var(--ink); font-size: 1.05rem; }
.work a { color: var(--ink); font-weight: 600; margin-top: .2rem; }
.editions__list { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.editions__list li { padding: var(--s-3) var(--s-3) var(--s-3) 0; display: grid; gap: .5rem; align-content: start; }
.editions__list li + li { padding-left: var(--s-3); border-left: 1px solid var(--hair); }
.editions__list h3 { font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.02em; line-height: 1.1; }
.editions__list p { color: var(--soft); }
.editions__list a { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }

/* ── Next ─────────────────────────────────────── */
.next { grid-column: 1 / -1; padding-bottom: var(--s-5); border-bottom: 1px solid var(--hair); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-2) var(--s-5); align-items: end; }
.next__title { font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 88; font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: .98; letter-spacing: -.035em; grid-row: span 3; }
.next__count { font-weight: 700; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.next__form { display: flex; flex-wrap: wrap; gap: .5rem; position: relative; }
.next__form input[type="email"] { flex: 1 1 14rem; width: auto; border-color: var(--hair); background: transparent; }
.next__form input[type="email"]:focus { outline-color: var(--ground); border-color: var(--ground); }
.contact .btn--solid { background: var(--ground); color: var(--ink); border-color: var(--ground); }
.next__status { flex-basis: 100%; min-height: 1.4em; }
.next__fine { font-size: .88rem; opacity: .86; }

@media (min-width: 1680px) { .bar__nav-extra { display: inline; } }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .bar__date { display: none; }
  .tune__foot { grid-template-columns: 1fr 1fr; }
  .tune__hint { grid-column: 1 / -1; text-align: left; max-width: none; }
  .antsar__head, .antsar__body { grid-column: 1 / -1; }
  .story__photo { grid-column: 1 / span 5; }
  .story__text { grid-column: 6 / span 7; }
}
@media (max-width: 760px) {
  .bar { gap: .5rem; }
  .bar__menu { display: inline-flex; }
  .bar__sound-label { display: none; }
  .bar__sound { padding: 0; }
  .bar__nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    padding: .5rem var(--gutter) 1rem; background: var(--ground);
    border-bottom: 1px solid var(--hair);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity 200ms, transform 250ms var(--ease-out), visibility 0s 250ms;
  }
  .bar__nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms, transform 250ms var(--ease-out); }
  .bar__nav a { font-size: 1.25rem; padding: .7rem 0; border-bottom: 1px solid var(--hair); }
  .bar__nav a::after { content: none; }
  html:not(.js) .bar__nav { position: static; visibility: visible; opacity: 1; transform: none; flex-direction: row; flex-wrap: wrap; gap: .25rem 1rem; padding: 0; border: 0; background: none; }
  html:not(.js) .bar__nav a { font-size: .95rem; border: 0; }

  .tune { min-height: auto; gap: var(--s-3); padding-top: var(--s-2); }
  .tune__modes { display: grid; grid-template-columns: 1fr 1fr; }
  .tune__modes button { justify-content: center; padding-inline: .5rem; }
  .tune__stage { grid-template-columns: 1fr; min-height: 0; }
  .tune__name { grid-row: 1; padding-bottom: var(--s-3); }
  .tune__portrait { grid-column: 1; grid-row: 2; }
  .tune__portrait img { aspect-ratio: 1; }
  .krar { inset: auto calc(var(--gutter) * -1) 0; height: calc(100vw - 2 * var(--gutter)); }
  .tune__foot { grid-template-columns: 1fr; gap: var(--s-3); }

  .antsar, .story { grid-template-columns: 1fr; row-gap: var(--s-4); }
  .antsar > *, .story > * { grid-column: 1 / -1 !important; }
  .forces { grid-template-columns: 1fr; min-height: 0; gap: var(--s-3); }
  .forces__lines { display: none; }
  .forces__side { height: auto; gap: .5rem; padding: 0; border-left: 1px solid var(--ink); padding-left: 1rem; }
  .forces__side--away li { justify-self: start; text-align: left; }
  .forces__side li { padding: 0; }
  .forces__node { margin: 0; justify-self: start; width: 7.5rem; }
  .story__photo { position: static; }
  .story__ledger > div { grid-template-columns: 1fr; gap: .25rem; }

  .music__head { grid-template-columns: 1fr; }
  .outlinks { grid-column: 1; grid-row: auto; justify-content: flex-start; }
  .course, .course--album { grid-template-columns: 88px minmax(0, 1fr); gap: var(--s-2) var(--s-3); }
  .course__year { grid-column: 1 / -1; font-size: 1.1rem; }
  .course__cover { grid-column: 1; }
  .course__body { grid-column: 2; }
  .course--album .course__cover { grid-column: 1 / -1; max-width: 420px; }
  .course--album .course__body { grid-column: 1 / -1; }
  .course .tracks { grid-column: 1 / -1; }
  .tracks small { white-space: normal; display: block; margin-left: 0; }

  .contact { grid-template-columns: 1fr; }
  .bar__date { display: none; }
  .bar__nav-extra { display: block; }
  .moment { align-items: flex-start; }
  .along { width: 100%; }
  .along__pick { flex: 1; } .along__pick select { width: 100%; max-width: none; }
  .along__bar { width: 100%; }
  .words__head, .editions__head, .decode, .screen, .tag, .next { grid-template-columns: 1fr; }
  .decode__panel { position: static; }
  .reel { max-height: none; }
  .reel button { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .tag__preview { width: min(100%, 300px); }
  .editions__list { grid-template-columns: 1fr; }
  .editions__list li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--hair); }
  .next__title { grid-row: auto; }
}

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

/* ── Press kit page ─────────────────────────────────── */
.pk__back { margin-left: auto; min-height: 44px; font-size: .95rem; }
.pk__hero { padding: var(--s-6) var(--gutter) var(--s-5); }
.pk__hero h1 { font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 88; font-size: clamp(3rem, 8vw, 6rem); line-height: .92; letter-spacing: -.04em; }
.pk__hero p { margin-top: var(--s-3); font-size: 1.2rem; max-width: 46ch; }
.pk__actions { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: .5rem; }
.pk__block { padding: var(--s-5) var(--gutter); border-top: 1px solid var(--hair); }
.pk__block:nth-of-type(odd) { background: var(--ground-2); transition: background-color var(--retune); }
.pk__block h2 { font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 92; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; }
.pk__bios { margin-top: var(--s-4); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s-5); }
.pk__bio-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: var(--s-2); border-bottom: 1px solid var(--ink); margin-bottom: var(--s-2); }
.pk__bio h3 { font-weight: 700; font-size: 1.3rem; }
.pk__bio h3 small { font-weight: 400; font-size: .9rem; color: var(--soft-2); margin-left: .4rem; }
.pk__bio p + p { margin-top: 1em; }
.pk__bio p { max-width: 64ch; }
.pk__copy { min-height: 40px; padding: 0 1rem; font-size: .9rem; }
.pk__facts { margin: var(--s-4) 0 0; max-width: 64rem; }
.pk__facts > div { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: var(--s-3); padding: .9rem 0; border-top: 1px solid var(--hair); }
.pk__facts dt { font-weight: 700; }
.pk__facts dd { margin: 0; }
.pk__note { margin-top: var(--s-2); color: var(--soft); }
.pk__block:nth-of-type(odd) .pk__note { color: var(--soft-2); }
.pk__photos { list-style: none; margin: var(--s-4) 0 var(--s-3); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); max-width: 64rem; }
.pk__photos a { display: grid; gap: .6rem; text-decoration: none; }
.pk__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; transition: transform 300ms var(--ease-out); box-shadow: 0 16px 40px -22px rgba(0,0,0,.6); }
.pk__photos a:hover img { transform: translateY(-3px); }
.pk__photos span { font-weight: 700; display: grid; }
.pk__photos small { font-weight: 400; color: var(--soft); }
.pk__lead { margin: var(--s-3) 0; font-size: 1.15rem; max-width: 50ch; }
@media (max-width: 760px) {
  .pk__bios { grid-template-columns: 1fr; }
  .pk__facts > div { grid-template-columns: 1fr; gap: .2rem; }
  .pk__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
  .pk .bar__menu, .pk .bar__sound { display: none; }
}
