:root {
  --bg: #15110d;
  --bg-alt: #1b1611;
  --panel: #211b15;
  --line: rgba(255, 236, 210, 0.09);
  --text: #f3ece2;
  --muted: #b5a998;
  --dim: #8a7f71;
  --gold: #d8a446;
  --gold-hi: #f0c46a;
  --yellow: #e6b23a;
  --blue: #3d7fd9;
  --purple: #8d5ad1;
  --green: #3fa45c;
  --red: #d2463b;
  --orange: #e27a2d;
  --white: #e9e6df;
  --walnut-1: #3b2414;
  --walnut-2: #5a3a22;
  --walnut-3: #2a190e;
  --radius: 14px;
  --wrap: 1180px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: var(--gold-hi); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 8px; }
.btn-gold {
  background: linear-gradient(180deg, #e9b857, #c98f2f);
  color: #1d1307; border-color: #f2cd7d;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 18px -6px rgba(216,164,70,.6);
}
.btn-gold:hover { background: linear-gradient(180deg, #f3c76a, #d49a37); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border-color: rgba(255,255,255,0.16); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; filter: grayscale(.4); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 17, 13, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; letter-spacing: 0.24em; font-size: 15px; }
.brand-sub { font-weight: 600; letter-spacing: 0.26em; font-size: 8.5px; color: var(--gold); margin-top: 3px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* ---------- walnut cabinet frame ---------- */
.cabinet {
  position: relative; margin: 0; padding: 12px; border-radius: var(--radius);
  background:
    repeating-linear-gradient(92deg, rgba(0,0,0,.18) 0 2px, transparent 2px 7px, rgba(255,220,180,.05) 7px 8px, transparent 8px 15px),
    repeating-linear-gradient(88deg, transparent 0 40px, rgba(0,0,0,.22) 40px 46px, transparent 46px 90px),
    linear-gradient(180deg, var(--walnut-2), var(--walnut-1) 55%, var(--walnut-3));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,220,180,.18), inset 0 -2px 0 rgba(0,0,0,.4);
}
.cabinet > img, .cabinet > picture img, .cabinet > video {
  border-radius: 6px; box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 2px 10px rgba(0,0,0,.5);
}
.cabinet figcaption { color: #e5d6c1; font-size: 14px; padding: 12px 6px 2px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden;
  background: radial-gradient(1200px 600px at 70% -10%, rgba(216,164,70,.16), transparent 60%), var(--bg); }
.hero-cables { position: absolute; top: 0; left: 0; width: 100%; height: 170px; pointer-events: none; opacity: .32; }
.hero-cables .c { fill: none; stroke-width: 7; stroke-linecap: round; }
.c-yellow { stroke: var(--yellow); } .c-blue { stroke: var(--blue); } .c-red { stroke: var(--red); } .c-white { stroke: var(--white); }
.hero-cables .c { animation: sway 7s ease-in-out infinite alternate; transform-origin: 50% 0; }
.hero-cables .c-blue { animation-delay: -2s; } .hero-cables .c-red { animation-delay: -4s; } .hero-cables .c-white { animation-delay: -1s; }
@keyframes sway { from { transform: translateY(-6px) scaleY(.97); } to { transform: translateY(6px) scaleY(1.03); } }
.hero-grid { position: relative; display: grid; }
.hero-copy { max-width: 900px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .soft { color: var(--gold-hi); display: block; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin-top: 22px; max-width: 640px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; font-weight: 600; color: var(--muted); padding: 5px 11px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.03); }
.hero-shot { margin-top: 56px; transform: perspective(2200px) rotateX(4deg); transform-origin: 50% 0; }

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 860px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; }
.section-head > p:not(.eyebrow) { color: var(--muted); margin-top: 18px; font-size: 18px; }
.caption { color: var(--dim); font-size: 14px; margin-top: 16px; text-align: center; }

.video-frame video { width: 100%; aspect-ratio: 1440 / 900; background: #000; }

/* ---------- play + learn ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.duo-card h3 { font-size: 28px; margin: 18px 0 10px; }
.duo-card > p { color: var(--muted); }
.jack-icon {
  display: block; width: 46px; height: 46px; border-radius: 10px;
  background: linear-gradient(180deg, #efe7d6, #cfc4ad);
  box-shadow: inset 0 1px 0 #fff, 0 3px 8px rgba(0,0,0,.4); position: relative;
}
.jack-icon::after {
  content: ""; position: absolute; inset: 9px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--cable) 60%, white), var(--cable) 45%, color-mix(in srgb, var(--cable) 60%, black));
  box-shadow: 0 2px 5px rgba(0,0,0,.5);
}
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 3px rgba(216,164,70,.18);
}
.detail-shot { margin-top: 48px; }

/* ---------- patch bay ---------- */
.patchbay { padding: 22px 22px 110px; user-select: none; -webkit-user-select: none; touch-action: none; }
.pb-modules { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; z-index: 1; }
.pb-module {
  position: relative; text-align: center; padding: 18px 10px 18px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #232323, #161616);
  border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 2px 6px rgba(0,0,0,.6);
}
.pb-module h4 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: #eee; }
.pb-module small { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #9a9a9a; margin: 4px 0 18px; padding-bottom: 12px; border-bottom: 3px solid var(--accent, #888); }
.pb-module label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #ccc; margin-top: 8px; }
.pb-knob {
  --angle: 0deg; width: 64px; height: 64px; margin: 6px auto 0; border-radius: 50%; cursor: ns-resize; position: relative;
  background: radial-gradient(circle at 50% 40%, #f1f1f1, #b9b9b9 45%, #7d7d7d 70%);
  box-shadow: 0 0 0 7px #121212, 0 0 0 8px #2b2b2b, 0 6px 12px rgba(0,0,0,.7);
}
.pb-knob span { position: absolute; inset: 0; transform: rotate(var(--angle)); }
.pb-knob span::after { content: ""; position: absolute; left: calc(50% - 1.5px); top: 5px; width: 3px; height: 22px; background: #222; border-radius: 2px; }
.pb-jacks { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pb-jack {
  width: 60px; padding: 6px 0 8px; border-radius: 6px; border: 0; cursor: pointer; font-family: inherit;
  display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; background: transparent; color: #ddd;
}
.pb-jack.out { background: linear-gradient(180deg, #efe7d6, #d2c7b0); color: #222; box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(0,0,0,.5); }
.pb-jack b { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.pb-jack i {
  width: 30px; height: 30px; border-radius: 50%; display: block;
  background: radial-gradient(circle, #050505 0 32%, #8d8d8d 34%, #d5d5d5 52%, #6f6f6f 70%, #3a3a3a 72%);
  box-shadow: 0 2px 3px rgba(0,0,0,.6);
}
.pb-jack.armed i { box-shadow: 0 0 0 3px var(--gold-hi), 0 0 14px var(--gold); }
.pb-jack.target i { box-shadow: 0 0 0 3px #5ad1ff, 0 0 14px #5ad1ff; animation: ring 1.2s ease-in-out infinite; }
@keyframes ring { 50% { box-shadow: 0 0 0 6px rgba(90,209,255,.35), 0 0 18px #5ad1ff; } }
.pb-cables { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.pb-cables path { fill: none; stroke-linecap: round; stroke-width: 9; filter: drop-shadow(0 6px 4px rgba(0,0,0,.45)); }
.pb-cables path.hi { stroke-width: 3; stroke: rgba(255,255,255,.3); filter: none; }
.pb-cables circle { stroke: rgba(0,0,0,.4); stroke-width: 1.5; }
.pb-learn {
  margin-top: 18px; display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
}
.pb-learn p { flex: 1; color: var(--text); font-size: 16px; }
.pb-learn-tag { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

/* ---------- systems ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 28px; }
.tabs button {
  font: 600 15px/1 Inter, sans-serif; color: var(--muted); background: transparent; border: 0;
  padding: 11px 20px; border-radius: 9px; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: #3a2c1c; color: var(--gold-hi); box-shadow: inset 0 0 0 1px rgba(216,164,70,.4); }
.sys { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: center; }
.sys-shot img { transition: opacity .25s ease; }
.sys-copy h3 { font-size: 32px; margin-bottom: 14px; }
.sys-copy > p:not(.eyebrow) { color: var(--muted); }

/* ---------- course ---------- */
.course { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: relative; }
.levels li { display: flex; gap: 16px; padding: 12px 0; position: relative; }
.levels li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 52px; bottom: -8px; width: 2px; background: var(--line); }
.lvl {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  border: 3px solid var(--cable); color: var(--text); background: var(--bg);
}
.levels h4 { font-size: 18px; }
.levels p { color: var(--muted); font-size: 15px; margin-top: 3px; }
.shots-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.shots-3 figure, .finishes figure { margin: 0; }
.shots-3 img, .finishes img { border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 14px 30px -14px rgba(0,0,0,.8); }
.shots-3 figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* ---------- modules ---------- */
.modgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.modcol { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; border-top: 4px solid var(--cable); }
.modcol h4 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; color: var(--text); }
.modcol p { color: var(--muted); font-size: 15px; }

/* ---------- finishes ---------- */
.finishes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.finishes figure { grid-column: span 2; }
.finishes figure:nth-child(4) { grid-column: 2 / span 2; }
.finishes figcaption { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 600; font-size: 15px; }
.finishes figcaption i { width: 18px; height: 18px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 3px var(--rim), 0 0 0 4px rgba(255,255,255,.15); }

/* ---------- download ---------- */
.download { background: radial-gradient(900px 500px at 50% 0%, rgba(216,164,70,.13), transparent 70%), var(--bg); }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin-inline: auto; }
.dl-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; }
.dl-card .os { width: 34px; height: 34px; color: var(--text); }
.dl-card h3 { font-size: 26px; margin: 14px 0 6px; }
.dl-meta { color: var(--gold-hi); font-size: 14px; font-weight: 600; }
.dl-what { color: var(--muted); margin: 10px 0 24px; flex: 1; }
.dl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.dl-row .btn { flex: 1; }
.dl-note { text-align: center; color: var(--muted); margin-top: 22px; font-size: 15px; }
.specs { max-width: 900px; margin: 70px auto 0; }
.specs h3 { font-size: 22px; margin-bottom: 18px; }
.specs dl { margin: 0; border-top: 1px solid var(--line); }
.specs dl > div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 600; }
.specs dd { margin: 0; color: var(--muted); }

/* ---------- faq ---------- */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 26px; font-weight: 400; color: var(--gold); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 20px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 60px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; }
.footer p { color: var(--dim); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .sys, .course { grid-template-columns: 1fr; }
  .modgrid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .hero { padding: 110px 0 64px; }
  .hero-cables { height: 110px; }
  .hero-shot { margin-top: 40px; transform: none; }
  .cabinet { padding: 7px; border-radius: 10px; }
  .duo, .dl-grid, .modgrid, .shots-3 { grid-template-columns: 1fr; }
  .duo-card, .dl-card { padding: 24px; }
  .finishes { grid-template-columns: 1fr 1fr; gap: 14px; }
  .finishes figure, .finishes figure:nth-child(4) { grid-column: auto; }
  .finishes figure:first-child { grid-column: 1 / -1; }
  .finishes figcaption { font-size: 13px; }
  .pb-modules { grid-template-columns: 1fr 1fr; }
  .patchbay { padding: 10px 10px 90px; }
  .pb-knob { width: 52px; height: 52px; }
  .pb-learn { flex-direction: column; align-items: flex-start; gap: 8px; }
  .specs dl > div { grid-template-columns: 1fr; gap: 2px; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .brand-sub { font-size: 7.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-cables .c, .pb-jack.target i { animation: none; }
}
