:root {
  --bg: #0B0B0D;
  --panel: #151518;
  --raised: #1E1E22;
  --well: #101013;
  --line: #26262B;
  --text: #EDE4D1;
  --muted: #9A9AA3;
  --accent: #F2B543;
  --on-accent: #0E0E10;
  --masinko: #5FD48C;
  --washint: #6CCFE3;
  --kebero: #E24B3F;
  --ui: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --ethiopic: "Noto Sans Ethiopic", "Kefa", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
p { margin: 0; }
.am, [lang="am"] { font-family: var(--ethiopic); }
.mono { font-family: var(--mono); }

/* nav */
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.mark { color: var(--text); }
.links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); }
.links a:hover { color: var(--text); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px; border-radius: 6px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.small { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); }

/* hero */
.hero {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(56px, 9vw, 120px) var(--gutter) 0;
  overflow: hidden;
}
.hero-ghost {
  position: absolute; right: -2vw; top: -4vw; z-index: 0;
  font-family: var(--ethiopic); font-weight: 700;
  font-size: clamp(180px, 38vw, 560px); line-height: 1;
  color: rgba(237,228,209,.045); pointer-events: none; user-select: none;
}
.hero > *:not(.hero-ghost) { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.eyebrow.plain { text-transform: none; letter-spacing: .08em; }
.hero h1 {
  margin-top: 28px;
  font-size: clamp(44px, 8.6vw, 124px);
  letter-spacing: -0.045em; line-height: .96;
}
.hero-row {
  margin-top: 48px; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px;
}
.lede { max-width: 520px; font-size: 18px; color: #C9C2B3; }
.cta { text-align: right; }
.cta-buttons { display: flex; gap: 12px; }
.cta-buttons.center { justify-content: center; }
.fine { margin-top: 10px; font-size: 12px; color: var(--muted); }
.shot {
  margin: 72px 0 0; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
}

/* instruments */
.instruments { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gutter) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 60px); }
.section-head p { max-width: 380px; color: var(--muted); font-size: 15px; }
.cards { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; min-height: 320px; padding: 24px; border-radius: 12px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.card .geez { position: absolute; top: 22px; left: 24px; font-family: var(--ethiopic); font-size: 15px; color: var(--c); }
.card .glyph {
  position: absolute; right: 8px; top: 8px; font-family: var(--ethiopic); font-weight: 700;
  font-size: 150px; line-height: 1; color: var(--c); opacity: .14; pointer-events: none;
}
.card h3 { font-size: 22px; letter-spacing: -0.02em; }
.card p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.card.kirar { --c: var(--accent); }
.card.masinko { --c: var(--masinko); }
.card.washint { --c: var(--washint); }

/* qenet */
.qenet {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center;
}
.qenet-copy h2 { margin-top: 22px; font-size: clamp(34px, 4.2vw, 56px); }
.qenet-copy > p:not(.eyebrow) { margin-top: 24px; color: var(--muted); font-size: 15px; }
.scales { margin-top: 32px; border-collapse: collapse; font-size: 14px; }
.scales td { padding: 7px 28px 7px 0; vertical-align: middle; }
.scales td.am { color: var(--accent); }
.scales td.mono { color: var(--muted); font-size: 13px; }

.roll { margin: 0; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.roll-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chip { padding: 3px 8px; border-radius: 4px; background: var(--raised); color: var(--muted); font-size: 12px; }
.chip em { font-style: normal; color: var(--accent); }
.roll-grid { position: relative; background: var(--well); }
.row {
  position: relative; display: grid; grid-template-columns: 28px 36px 150px 1fr; align-items: center;
  height: 44px; padding-left: 18px; border-bottom: 1px solid var(--line); font-size: 12px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 8.33%);
  background-origin: content-box;
}
.row .am { color: var(--accent); }
.row .note { font-family: var(--mono); }
.row .deg { color: var(--muted); }
.row.root { background-color: rgba(242,181,67,.05); }
.row i {
  position: absolute; left: calc(232px + (100% - 232px) * var(--x) / 100%); top: 8px; height: 28px;
  width: calc((100% - 232px) * var(--w) / 100%); border-radius: 4px; background: var(--accent);
}
.playhead { position: absolute; top: 0; bottom: 0; left: calc(232px + (100% - 232px) * .56); width: 2px; background: var(--accent); }
.velocity { position: relative; height: 56px; padding-left: 18px; display: flex; align-items: center; }
.velocity i {
  position: absolute; bottom: 8px; width: 3px; background: var(--accent); height: calc(40px * var(--h) / 100%);
  left: calc(232px + (100% - 232px) * var(--x) / 100%);
}

/* more shots */
.more {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gutter) 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.shot-sm { margin: 0; }
.shot-sm img { border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.shot-sm figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* download */
.download {
  position: relative; overflow: hidden; margin-top: clamp(80px, 10vw, 140px);
  padding: clamp(80px, 10vw, 150px) var(--gutter); text-align: center; background: #080809;
}
.download-ghost {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%);
  font-family: var(--ethiopic); font-weight: 700; font-size: clamp(120px, 18vw, 300px); line-height: 1;
  color: rgba(237,228,209,.035); white-space: nowrap; pointer-events: none; user-select: none;
}
.download > * { position: relative; }
.download h2 { font-size: clamp(34px, 5vw, 64px); max-width: 820px; margin: 0 auto; }
.download > p { margin: 24px auto 0; max-width: 540px; color: var(--muted); font-size: 15px; }
.download .cta-buttons { margin-top: 36px; }

/* footer */
.foot {
  max-width: var(--maxw); margin: 0 auto; padding: 32px var(--gutter) 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--muted);
}
.foot .brand { font-weight: 400; }

@media (max-width: 900px) {
  .links { display: none; }
  .nav { gap: 14px; }
  .nav .btn { margin-left: auto; }
  .hero-row { flex-direction: column; }
  .cta { text-align: left; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 220px; }
  .qenet { grid-template-columns: 1fr; gap: 40px; }
  .more { grid-template-columns: 1fr; }
  .row { grid-template-columns: 24px 32px 1fr; }
  .row .deg { display: none; }
  .row i, .velocity i, .playhead { --o: 92px; }
  .row i { left: calc(var(--o) + (100% - var(--o)) * var(--x) / 100%); width: calc((100% - var(--o)) * var(--w) / 100%); }
  .velocity i { left: calc(var(--o) + (100% - var(--o)) * var(--x) / 100%); }
  .playhead { left: calc(var(--o) + (100% - var(--o)) * .56); }
  .foot { flex-direction: column; align-items: flex-start; }
  .cta-buttons { flex-wrap: wrap; }
}
