/* KHAEON — product page. Anodised black, chrome and one accent of light (the amber of the golden-hour key art).
   Type: Mona Sans (wide, variable) and Azeret Mono — the faces of the instrument itself. */
@font-face { font-family: "KH Mona"; src: url("media/fonts/mona-sans-var.woff") format("woff"); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: "KH Mono"; src: url("media/fonts/azeret-mono-var.woff") format("woff"); font-weight: 100 900; font-display: swap; }

.kh {
  --kh-ink: #060607;
  --kh-panel: #0d0d10;
  --kh-steel: #1a1a1f;
  --kh-chrome: #ecebee;
  --kh-dim: rgba(236, 235, 238, .74);
  --kh-faint: rgba(236, 235, 238, .14);
  --kh-acc: #ff9a3c;
  --kh-acc-soft: rgba(255, 154, 60, .38);
  --kh-sans: "KH Mona", "Helvetica Neue", Arial, sans-serif;
  --kh-mono: "KH Mono", ui-monospace, Menlo, monospace;
  --kh-ease: cubic-bezier(.16, .84, .24, 1);
  background: var(--kh-ink);
  color: var(--kh-chrome);
  font-family: var(--kh-sans);
}
body.v3.kh { font-family: var(--kh-sans); background: var(--kh-ink); color: var(--kh-chrome); }
.kh ::selection { background: var(--kh-acc); color: #fff; }

/* ------------------------------------------------------------ shared pieces */
.kh-kicker { font-family: var(--kh-mono); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--kh-acc); }
.kh-h2 {
  font-family: var(--kh-sans); font-weight: 700; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 72px); line-height: .98; letter-spacing: -.012em; margin-top: 18px; max-width: 18ch; text-wrap: balance;
}
.kh-lede { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: var(--kh-dim); max-width: 58ch; margin-top: 22px; font-weight: 420; }
.kh-idx { font-family: var(--kh-mono); font-size: 11px; letter-spacing: .24em; color: var(--kh-acc); text-transform: uppercase; }
.kh-btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 17px 28px 16px; border-radius: 999px;
  font-family: var(--kh-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: #fff; background: rgba(255, 154, 60, .14); box-shadow: inset 0 0 0 1px rgba(255, 154, 60, .7), 0 0 38px rgba(255, 154, 60, .22);
  transition: background .4s var(--kh-ease), box-shadow .4s var(--kh-ease), transform .4s var(--kh-ease);
}
.kh-btn:hover { background: rgba(255, 154, 60, .3); box-shadow: inset 0 0 0 1px var(--kh-acc), 0 0 60px rgba(255, 154, 60, .4); transform: translateY(-1px); }
.kh-link { font-family: var(--kh-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--kh-dim); text-decoration: none; border-bottom: 1px solid var(--kh-faint); padding-bottom: 4px; transition: color .3s, border-color .3s; }
.kh-link:hover { color: #fff; border-color: var(--kh-acc); }

/* wordmark: the spacing of the interface, wide Mona Sans, a thin amber rule */
.kh-word {
  display: flex; justify-content: center; font-family: var(--kh-sans); font-weight: 300; font-stretch: 125%;
  font-size: clamp(54px, 11.5vw, 196px); line-height: .9; letter-spacing: .42em; margin-right: -.42em; color: #f4f3f6;
  text-shadow: 0 0 60px rgba(0, 0, 0, .55);
}
.kh-word span { display: inline-block; }
.kh-word-sm { font-size: clamp(40px, 8vw, 132px); }

/* ------------------------------------------------------------ hero */
.kh-hero { position: relative; height: 260vh; background: var(--kh-ink); }
.kh-hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.kh-console {
  position: absolute; left: 50%; top: calc(50% + 28px); width: min(86vw, calc((100vh - 140px) * 1.674)); transform: translate(-50%, -50%);
  opacity: 0; will-change: transform, opacity;
}
.kh-console img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 60px 140px rgba(0, 0, 0, .8); }
.kh-console-stage { position: absolute; left: 24.722%; top: 6.86%; width: 50.556%; height: 36.51%; }
.kh-console-rim {
  position: absolute; inset: -1px; border-radius: 7px; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255, 154, 60, .55), 0 0 70px rgba(255, 154, 60, .28), 0 0 220px rgba(255, 154, 60, .12);
}
.kh-film { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; will-change: left, top, width, height; }
.kh-film video { width: 100%; height: 100%; object-fit: cover; }
.kh-film-veil { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, rgba(6, 6, 7, 0) 30%, rgba(6, 6, 7, .78) 100%), linear-gradient(180deg, rgba(6, 6, 7, .35), rgba(6, 6, 7, 0) 30%, rgba(6, 6, 7, .55)); }
.kh-hero-copy { position: absolute; inset: 0; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--v3-gutter); }
.kh-hero-copy::before { content: ""; position: absolute; left: 6%; right: 6%; top: 22%; bottom: 22%; z-index: -1; background: radial-gradient(closest-side, rgba(6, 6, 7, .72), rgba(6, 6, 7, .35) 60%, rgba(6, 6, 7, 0)); }
.kh-hero-copy .kh-kicker { margin-bottom: 30px; text-shadow: 0 0 18px #000, 0 0 4px #000; }
.kh-hero-copy .kh-link { color: rgba(236, 235, 238, .85); text-shadow: 0 0 14px #000; }
.kh-hero-line { text-shadow: 0 0 16px #000, 0 0 4px #000; margin-top: 30px; font-family: var(--kh-mono); font-size: clamp(12px, 1vw, 15px); letter-spacing: .34em; text-transform: uppercase; color: rgba(236, 235, 238, .78); }
.kh-hero-line::before { content: ""; display: block; width: 52px; height: 2px; margin: 0 auto 26px; background: var(--kh-acc); box-shadow: 0 0 18px var(--kh-acc); }
.kh-hero-cta { margin-top: 44px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; justify-content: center; }
.kh-hero-note { position: absolute; left: var(--v3-gutter); bottom: 26px; font-family: var(--kh-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(236, 235, 238, .62); }
.kh-scrollcue { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 56px; background: rgba(236, 235, 238, .16); overflow: hidden; }
.kh-scrollcue i { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--kh-acc); animation: kh-cue 2.2s var(--kh-ease) infinite; }
@keyframes kh-cue { to { top: 110%; } }

/* ------------------------------------------------------------ statement */
.kh-statement { padding: clamp(110px, 16vw, 220px) 0 clamp(80px, 10vw, 140px); }
.kh-big { font-weight: 500; font-stretch: 112%; font-size: clamp(28px, 3.9vw, 62px); line-height: 1.12; letter-spacing: -.012em; max-width: 24ch; }
.kh-big .w { display: inline-block; opacity: .13; transition: opacity .2s; }
.kh-facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: clamp(70px, 9vw, 120px); border-top: 1px solid var(--kh-faint); }
.kh-facts div { padding: 26px 18px 0 0; }
.kh-facts dt { font-weight: 800; font-stretch: 125%; font-size: clamp(38px, 5.4vw, 86px); line-height: 1; font-variant-numeric: tabular-nums; }
.kh-facts dd { margin-top: 14px; font-family: var(--kh-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--kh-dim); }

/* ------------------------------------------------------------ hardware */
.kh-hw { position: relative; padding-bottom: clamp(90px, 12vw, 170px); overflow: hidden; }
.kh-hw-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.kh-hw-frame img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.kh-hw-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--kh-ink), rgba(6, 6, 7, 0) 16%, rgba(6, 6, 7, 0) 60%, var(--kh-ink) 96%); }
.kh-hw-sweep { position: absolute; inset: -20% -40%; background: linear-gradient(105deg, transparent 42%, rgba(255, 154, 60, .14) 50%, transparent 58%); mix-blend-mode: screen; pointer-events: none; }
.kh-hw-copy { position: relative; margin-top: clamp(-120px, -6vw, -40px); z-index: 1; }
.kh-hw-copy .kh-lede { text-shadow: 0 0 24px var(--kh-ink), 0 0 6px var(--kh-ink); }

/* ------------------------------------------------------------ console tour */
.kh-tour { position: relative; height: 560vh; }
.kh-tour-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); }
.kh-tour-head { padding-top: calc(var(--v3-header) + 24px); }
.kh-tour-head .kh-h2 { font-size: clamp(26px, 3vw, 46px); max-width: none; }
.kh-cam { position: relative; overflow: hidden; margin: 22px var(--v3-gutter) 0; }
.kh-cam-inner { position: absolute; left: 50%; top: 46%; width: min(90vw, 142vh); transform-origin: 0 0; will-change: transform; }
.kh-cam-inner img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.kh-focus { position: absolute; border-radius: 6px; box-shadow: 0 0 0 1px var(--kh-acc), 0 0 40px rgba(255, 154, 60, .45); pointer-events: none; opacity: 0; }
.kh-stops { position: absolute; right: var(--v3-gutter); bottom: clamp(24px, 5vh, 56px); width: min(420px, 38vw); }
.kh-stops li { position: absolute; right: 0; bottom: 0; width: 100%; padding: 26px 28px; background: rgba(10, 10, 12, .82); border: 1px solid var(--kh-faint); border-radius: 6px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; transform: translateY(18px); }
.kh-stops h3 { margin-top: 12px; font-weight: 700; font-stretch: 125%; text-transform: uppercase; font-size: 22px; letter-spacing: .01em; }
.kh-stops p { margin-top: 12px; color: var(--kh-dim); font-size: 16px; line-height: 1.5; }

/* ------------------------------------------------------------ pages pan */
.kh-pages { position: relative; height: 420vh; }
.kh-pages-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); }
.kh-pages-head { padding-top: calc(var(--v3-header) + 24px); }
.kh-pages-head .kh-h2 { font-size: clamp(26px, 3vw, 46px); max-width: none; }
.kh-track { display: flex; width: max-content; gap: clamp(90px, 7vw, 150px); align-items: center; padding: 0 var(--v3-gutter) clamp(36px, 6vh, 72px); will-change: transform; }
.kh-page { flex: 0 0 min(54vw, 118vh); }
.kh-page img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 90px rgba(0, 0, 0, .6); }
.kh-page figcaption { margin-top: clamp(30px, 3.6vh, 46px); max-width: 64ch; color: var(--kh-dim); font-size: 16px; line-height: 1.55; }
.kh-page figcaption b { display: block; margin: 0 0 6px; color: var(--kh-chrome); font-weight: 650; font-size: 19px; }
.kh-page figcaption em { font-style: normal; font-weight: 800; font-stretch: 125%; letter-spacing: .08em; color: var(--kh-acc); margin-right: .4em; }

/* ------------------------------------------------------------ the two visuals */
.kh-duo { padding: clamp(110px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); }
.kh-duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: clamp(50px, 6vw, 90px); }
.kh-reel { position: relative; background: transparent; }
.kh-reel video { display: block; width: 100%; aspect-ratio: 1920 / 820; height: auto; object-fit: cover; background: #000; }
.kh-reel figcaption { padding: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 36px) 0; max-width: 60ch; color: var(--kh-dim); font-size: 15px; line-height: 1.6; }
.kh-reel figcaption b { display: block; margin: 0 0 8px; color: #fff; font-weight: 700; font-stretch: 125%; letter-spacing: .14em; font-size: 18px; }

/* ------------------------------------------------------------ styles */
.kh-styles { padding: clamp(90px, 12vw, 170px) 0; border-top: 1px solid var(--kh-faint); }
.kh-styles-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 110px); align-items: start; }
.kh-styles-head { position: sticky; top: calc(var(--v3-header) + 40px); }
.kh-style-list li { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--kh-faint); }
.kh-style-list li > * { transition: transform .6s var(--kh-ease), color .5s var(--kh-ease), text-shadow .5s var(--kh-ease); }
.kh-style-list li.is-on > * { transform: translateX(14px); }
.kh-style-list b { font-weight: 700; font-stretch: 125%; text-transform: uppercase; font-size: clamp(24px, 2.8vw, 44px); line-height: 1; color: rgba(236, 235, 238, .5); transition: color .5s var(--kh-ease), text-shadow .5s var(--kh-ease); }
.kh-style-list span { color: var(--kh-dim); font-size: 16px; line-height: 1.5; }
.kh-style-list li.is-on b, .kh-style-list li:hover b { color: #fff; text-shadow: 0 0 34px rgba(255, 154, 60, .45); }
.kh-style-list li { position: relative; }
.kh-style-list li::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--kh-acc); box-shadow: 0 0 14px var(--kh-acc); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--kh-ease); }
.kh-style-list li.is-on::before { transform: scaleX(1); }


/* ------------------------------------------------------------ push */
.kh-alive { padding: clamp(90px, 12vw, 170px) 0; border-top: 1px solid var(--kh-faint); }
.kh-alive-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 110px); align-items: start; }
.kh-alive-head { position: sticky; top: calc(var(--v3-header) + 40px); }
.kh-alive-list { margin-top: 0; }
.kh-alive-list li { padding: 26px 0; }
.kh-alive-list b { font-size: clamp(19px, 1.6vw, 24px); font-stretch: 125%; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 10px; }
.kh-push { padding: clamp(90px, 12vw, 170px) 0; background: linear-gradient(180deg, var(--kh-ink), var(--kh-panel)); }
.kh-push-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.kh-push-strip img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 0 0 1px var(--kh-faint), 0 30px 80px rgba(0, 0, 0, .7); }
.kh-push-strip figcaption { margin-top: clamp(26px, 2.6vw, 36px); font-size: 14px; line-height: 1.6; color: var(--kh-dim); max-width: 62ch; }
.kh-ticks { margin-top: 34px; }
.kh-ticks li { padding: 20px 0; border-top: 1px solid var(--kh-faint); color: var(--kh-dim); font-size: 16px; line-height: 1.55; }
.kh-ticks b { display: block; margin-bottom: 6px; color: #fff; font-weight: 650; font-size: 17px; }

/* ------------------------------------------------------------ listen */
.kh-listen { padding: clamp(90px, 12vw, 170px) 0; border-top: 1px solid var(--kh-faint); }
.kh-listen-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 110px); align-items: start; }
.kh-listen-head { position: sticky; top: calc(var(--v3-header) + 40px); }
.kh-deck { margin-top: clamp(30px, 3.4vw, 46px); padding: 22px 22px 18px; border-radius: 10px; background: linear-gradient(180deg, rgba(26, 26, 31, .72), rgba(13, 13, 16, .9)); box-shadow: inset 0 0 0 1px var(--kh-faint), 0 30px 80px rgba(0, 0, 0, .55); }
.kh-deck-now { display: flex; flex-direction: column; gap: 8px; min-height: 58px; }
.kh-deck-now b { font-weight: 700; font-stretch: 125%; text-transform: uppercase; font-size: clamp(20px, 1.9vw, 28px); line-height: 1; letter-spacing: .005em; }
.kh-wave { display: block; width: 100%; height: 86px; margin-top: 18px; cursor: pointer; border-radius: 4px; outline: none; }
.kh-wave:focus-visible { box-shadow: 0 0 0 2px var(--kh-acc-soft); }
.kh-deck-row { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.kh-play { flex: none; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff;
  background: rgba(255, 154, 60, .16); box-shadow: inset 0 0 0 1px rgba(255, 154, 60, .75), 0 0 30px rgba(255, 154, 60, .22); transition: background .35s var(--kh-ease), box-shadow .35s var(--kh-ease), transform .2s var(--kh-ease); }
.kh-play:hover { background: rgba(255, 154, 60, .32); box-shadow: inset 0 0 0 1px var(--kh-acc), 0 0 48px rgba(255, 154, 60, .4); }
.kh-play:active { transform: scale(.96); }
.kh-play:focus-visible { outline: 2px solid var(--kh-acc); outline-offset: 3px; }
.kh-play svg { width: 20px; height: 20px; fill: currentColor; }
.kh-play .i-pause, .kh-deck.is-playing .kh-play .i-play { display: none; }
.kh-deck.is-playing .kh-play .i-pause { display: inline; }
.kh-time { font-family: var(--kh-mono); font-size: 12px; letter-spacing: .14em; color: var(--kh-dim); font-variant-numeric: tabular-nums; }
.kh-tracks li { position: relative; border-bottom: 1px solid var(--kh-faint); }
.kh-tracks li::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--kh-acc); box-shadow: 0 0 14px var(--kh-acc); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; opacity: 0; transition: opacity .4s var(--kh-ease); }
.kh-tracks li.is-on::before { opacity: 1; }
.kh-song { appearance: none; background: none; border: 0; color: inherit; font: inherit; text-align: left; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 44px 1fr auto 52px; gap: 18px; align-items: baseline; padding: 22px 0; }
.kh-song:focus-visible { outline: 2px solid var(--kh-acc); outline-offset: 2px; border-radius: 4px; }
.kh-song > * { transition: transform .6s var(--kh-ease), color .45s var(--kh-ease), text-shadow .45s var(--kh-ease); }
.kh-tr-n, .kh-tr-cat, .kh-tr-d { font-family: var(--kh-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(236, 235, 238, .42); }
.kh-tr-d { text-align: right; font-variant-numeric: tabular-nums; }
.kh-song b { font-weight: 700; font-stretch: 125%; text-transform: uppercase; font-size: clamp(19px, 2vw, 30px); line-height: 1; color: rgba(236, 235, 238, .55); }
.kh-song:hover b { color: #fff; }
.kh-tracks li.is-on .kh-song b { color: #fff; text-shadow: 0 0 30px rgba(255, 154, 60, .45); transform: translateX(10px); }
.kh-tracks li.is-on .kh-tr-n { color: var(--kh-acc); }

/* ------------------------------------------------------------ specs */
.kh-specs { padding: clamp(90px, 12vw, 170px) 0; }
.kh-spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(30px, 5vw, 80px); margin-top: clamp(40px, 5vw, 70px); }
.kh-spec-grid div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--kh-faint); }
.kh-spec-grid dt { font-family: var(--kh-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--kh-acc); padding-top: 4px; }
.kh-spec-grid dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--kh-chrome); }

/* ------------------------------------------------------------ faq */
.kh-faq { padding: clamp(80px, 10vw, 150px) 0; border-top: 1px solid var(--kh-faint); }
.kh-faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 110px); }
.kh-qa details { border-bottom: 1px solid var(--kh-faint); }
.kh-qa summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; position: relative; font-weight: 600; font-size: 19px; }
.kh-qa summary::-webkit-details-marker { display: none; }
.kh-qa summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font-family: var(--kh-mono); font-size: 22px; color: var(--kh-acc); transition: transform .4s var(--kh-ease); }
.kh-qa details[open] summary::after { transform: rotate(45deg); }
.kh-qa-shot { display: block; width: 100%; height: auto; margin: -6px 0 30px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.08); }
.kh-qa p { padding: 0 0 26px; color: var(--kh-dim); font-size: 16px; line-height: 1.6; max-width: 64ch; }

/* ------------------------------------------------------------ closing */
.kh-cta { position: relative; min-height: 92vh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.kh-cta video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.kh-cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(6, 6, 7, .2), var(--kh-ink)); }
.kh-cta-copy { position: relative; z-index: 1; padding: 0 var(--v3-gutter); text-shadow: 0 0 28px rgba(6, 6, 7, .95), 0 0 8px rgba(6, 6, 7, .9); }
.kh-cta-copy::before { content: ""; position: absolute; inset: -22% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(6, 6, 7, .7), rgba(6, 6, 7, 0)); pointer-events: none; }
.kh-cta .kh-btn { margin-top: 44px; }

.kh .v3-footer { background: #040405; }

/* ------------------------------------------------------------ film language: grain, letterbox, light that follows the real hits */
.kh-grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: var(--kh-noise, none); background-size: 220px 220px; animation: kh-grain .9s steps(6) infinite;
}
@keyframes kh-grain { 0% { transform: translate(0, 0); } 17% { transform: translate(-3%, 2%); } 33% { transform: translate(2%, -4%); } 50% { transform: translate(-4%, -1%); } 67% { transform: translate(3%, 3%); } 83% { transform: translate(-1%, 4%); } }
.kh-bar { position: absolute; left: 0; right: 0; height: 50%; background: #000; z-index: 6; pointer-events: none; will-change: transform; }
.kh-bar-t { top: 0; transform-origin: 50% 0; }
.kh-bar-b { bottom: 0; transform-origin: 50% 100%; }
.kh-bar::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 154, 60, .9), transparent); opacity: var(--kh-edge, 0); box-shadow: 0 0 22px rgba(255, 154, 60, .8); }
.kh-bar-t::after { bottom: 0; }
.kh-bar-b::after { top: 0; }
/* hero: 2.39:1 letterbox (the script starts it closed and opens it, then retracts it on scroll) */
.kh-hero .kh-bar { transform: scaleY(0); }
.kh-armed .kh-hero .kh-bar { transform: scaleY(1); }
.kh-armed .kh-hero .kh-word span { opacity: 0; }
.kh-beam {
  position: absolute; top: -30%; width: 34%; height: 170%; pointer-events: none; mix-blend-mode: screen; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 170, .16) 40%, rgba(255, 154, 60, .30) 50%, rgba(255, 214, 170, .16) 60%, transparent);
  filter: blur(18px); opacity: calc(.12 + var(--hit, 0) * .7); transform-origin: 50% 0;
}
.kh-beam-a { left: 8%; transform: rotate(24deg); }
.kh-beam-b { right: 8%; transform: rotate(-24deg); }
.kh-beam-c { left: 30%; width: 26%; opacity: 0; }
.kh-beam-r { left: 34%; width: 30%; transform: rotate(14deg); }
.kh-flash { position: absolute; inset: 0; pointer-events: none; z-index: 3; mix-blend-mode: screen; background: radial-gradient(60% 70% at 50% 46%, rgba(255, 220, 240, .5), rgba(255, 154, 60, .2) 55%, transparent 80%); opacity: calc(var(--hit, 0) * var(--hit, 0) * .42); }

/* ------------------------------------------------------------ cuts: trailer montage, hard cuts on scroll */
.kh-cuts { position: relative; height: 560vh; background: #000; }
.kh-cuts-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.kh-shot { position: absolute; inset: 0; visibility: hidden; }
.kh-shot.is-on { visibility: visible; }
.kh-shot-media { position: absolute; inset: 0; overflow: hidden; }
.kh-shot-media img, .kh-shot-media video { width: 100%; height: 100%; object-fit: cover; }
.kh-shot-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 60% 40%, transparent 30%, rgba(0, 0, 0, .8)), linear-gradient(0deg, rgba(0, 0, 0, .92) 4%, rgba(0, 0, 0, .55) 34%, transparent 60%), linear-gradient(90deg, rgba(0, 0, 0, .6), transparent 55%); }
.kh-crop img { transform-origin: var(--ox) var(--oy); transform: scale(var(--z)); filter: saturate(1.1) contrast(1.06); }
.kh-shot-copy { position: absolute; left: var(--v3-gutter); right: var(--v3-gutter); bottom: 16vh; z-index: 2; }
.kh-shot-line {
  font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(38px, 6.4vw, 104px); line-height: .94; letter-spacing: -.02em;
  max-width: 13ch; text-wrap: balance; text-shadow: 0 0 50px rgba(0, 0, 0, .7);
}
.kh-shot-sub { margin-top: 26px; font-family: var(--kh-mono); font-size: clamp(11px, .9vw, 14px); letter-spacing: .22em; text-transform: uppercase; color: rgba(236, 235, 238, .78); }
.kh-shot-sub::before { content: ""; display: inline-block; vertical-align: middle; width: 36px; height: 1px; margin-right: 16px; background: var(--kh-acc); box-shadow: 0 0 12px var(--kh-acc); }
.kh-shot-copy-top { bottom: auto; top: 17vh; }
.kh-shot:last-of-type .kh-shot-media::after { background: radial-gradient(120% 90% at 50% 70%, transparent 35%, rgba(0, 0, 0, .7)), linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 45%); }
.kh-cut-flash { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: #fff; opacity: 0; }
.kh-bar-fixed { height: 9vh; z-index: 5; }
.kh-tc { position: absolute; right: var(--v3-gutter); bottom: calc(9vh + 18px); z-index: 6; font-family: var(--kh-mono); font-size: 11px; letter-spacing: .24em; color: rgba(236, 235, 238, .5); font-variant-numeric: tabular-nums; }

/* hardware: the aperture opens as it enters */
.kh-hw-frame[data-kh-aperture] { clip-path: inset(0 0 0 0); }

/* tour: depth of field — the base console goes soft, the panel in focus stays sharp */
.kh-cam-inner > img { filter: blur(calc(var(--dof, 0) * 3.2px)) brightness(calc(1 - var(--dof, 0) * .55)) saturate(calc(1 - var(--dof, 0) * .4)); }
.kh-cam-sharp { position: absolute; inset: 0; clip-path: inset(0 100% 100% 0 round 6px); pointer-events: none; }
.kh-cam-sharp img { width: 100%; height: auto; border-radius: 6px; }

/* closing: the end card */
.kh-cta .kh-bar { transform: scaleY(0); z-index: 2; }
.kh-cta .kh-bar::after { opacity: .7; }

/* ------------------------------------------------------------ narrow screens: no pinning, plain reading order */
@media (max-width: 900px) {
  .kh-hero { height: auto; }
  .kh-hero-pin { position: relative; height: 100svh; }
  .kh-console { display: none; }
  .kh-facts { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .kh-tour, .kh-pages { height: auto; }
  .kh-tour-pin, .kh-pages-pin { position: relative; height: auto; display: block; padding-bottom: 60px; }
  .kh-cam { margin: 22px 0 0; }
  .kh-cam-inner { position: relative; left: 0; top: 0; width: 100%; transform: none !important; padding: 0 var(--v3-gutter); }
  .kh-focus { display: none; }
  .kh-stops { position: relative; right: auto; bottom: auto; width: auto; padding: 0 var(--v3-gutter); margin-top: 26px; }
  .kh-stops li { position: relative; opacity: 1; transform: none; margin-top: 12px; }
  .kh-track { display: block; width: auto; transform: none !important; }
  .kh-word { font-size: 13.5vw; letter-spacing: .2em; margin-right: -.2em; }
  .kh-word-sm { font-size: 12vw; }
  .kh-page { margin-top: 44px; }
  .kh-alive-head { position: static; }
  .kh-duo-grid, .kh-styles-grid, .kh-alive-grid, .kh-push-grid, .kh-faq-grid, .kh-spec-grid, .kh-listen-grid { grid-template-columns: 1fr; }
  .kh-styles-head, .kh-listen-head { position: static; }
  .kh-song { grid-template-columns: 34px 1fr 46px; }
  .kh-tr-cat { display: none; }
  .kh-style-list li { grid-template-columns: 1fr; gap: 8px; }
  .kh-spec-grid div { grid-template-columns: 1fr; gap: 6px; }
  .kh-hero-note { display: none; }
  .kh-cuts { height: auto; }
  .kh-cuts-pin { position: relative; height: auto; }
  .kh-shot { position: relative; visibility: visible; height: 78svh; }
  .kh-shot-copy { bottom: 7vh; }
  .kh-shot-copy-top { top: 9vh; bottom: auto; }
  .kh-shot-sub { line-height: 1.8; }
  .kh-shot-sub::before { display: block; margin: 0 0 12px; }
  .kh-cut-flash, .kh-bar-fixed, .kh-tc { display: none; }
  .kh-beam-a, .kh-beam-b { width: 60%; }
}
@media (prefers-reduced-motion: reduce) {
  .kh-scrollcue i { animation: none; }
  .kh-grain { animation: none; }
  .kh-flash, .kh-cut-flash { display: none; }

  .kh-big .w { opacity: 1; }
}

/* The shared v3 reset (.v3 p, .v3 ul, .v3 dl, .v3 h1 { margin: 0 }) outranks single-class rules: restore the designed spacing. */
.kh .kh-lede { margin-top: 22px; }
.kh .kh-hero-line { margin-top: 30px; }
.kh .kh-shot-sub { margin-top: 26px; }
.kh .kh-ticks { margin-top: 34px; }
.kh .kh-alive-list { margin-top: 0; }
.kh .kh-spec-grid { margin-top: clamp(40px, 5vw, 70px); }
.kh .kh-word { margin-right: -.42em; }
@media (max-width: 900px) { .kh .kh-word { margin-right: -.2em; } }

/* Shared theme dim text is too faint on this page's near-black: lift it here only. */
.kh { --v3-dim: #908b84; }

/* ---- THEMES: la interfaz real en cada color y material */
.kh-themes { padding: clamp(90px, 12vw, 170px) 0; border-top: 1px solid var(--kh-faint); }
.kh-themes-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.kh-skin-group { margin-top: 30px; }
.kh .kh-skin-lab { margin: 0 0 12px; font-family: var(--kh-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--kh-dim); }
.kh-chip { display: inline-flex; align-items: center; gap: 9px; margin: 0 8px 10px 0; padding: 9px 14px 9px 11px; border-radius: 999px;
  border: 1px solid var(--kh-faint); background: transparent; color: var(--kh-dim); font: 600 12px/1 var(--kh-sans); font-stretch: 112%;
  letter-spacing: .08em; cursor: pointer; transition: color .3s var(--kh-ease), border-color .3s var(--kh-ease), background .3s var(--kh-ease); }
.kh-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.kh-chip:hover { color: var(--kh-chrome); border-color: rgba(236, 235, 238, .35); }
.kh-chip.is-on { color: #fff; border-color: rgba(236, 235, 238, .7); background: rgba(236, 235, 238, .07); }
.kh-chip:focus-visible { outline: 2px solid var(--kh-acc); outline-offset: 2px; }
.kh-skin-view img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 90px rgba(0, 0, 0, .6); transition: opacity .25s var(--kh-ease); }
.kh-skin-view img.is-swap { opacity: .35; }
.kh-skin-view figcaption { margin-top: 16px; font-family: var(--kh-mono); font-size: 11px; letter-spacing: .2em; color: var(--kh-dim); }
@media (max-width: 900px) { .kh-themes-grid { grid-template-columns: 1fr; } .kh-skin-view { order: -1; } }

/* the film: the full YouTube video, framed with the amber edge light */
.kh-trailer { position: relative; padding: clamp(90px, 12vw, 170px) 0 clamp(40px, 6vw, 90px); }
.kh-trailer-head .kh-h2 { font-size: clamp(26px, 3vw, 46px); max-width: none; margin-top: 14px; }
.kh-trailer-frame { width: min(92vw, 1600px); margin: clamp(28px, 4vw, 56px) auto 0; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 154, 60, .45), 0 0 90px rgba(255, 154, 60, .16), 0 40px 120px rgba(0, 0, 0, .7); }
.kh-trailer-frame .am-video-embed, .kh-trailer-frame .am-video-embed-shell { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.kh-trailer-frame .am-video-embed > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--kh-ease), filter .9s var(--kh-ease); }
.kh-trailer-frame .am-video-embed-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kh-film-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px 16px 20px;
  border: 1px solid var(--kh-acc-soft); border-radius: 999px; background: rgba(6, 6, 7, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--kh-chrome); font-family: var(--kh-mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; transition: border-color .3s, box-shadow .3s; }
.kh-film-play svg { width: 22px; height: 22px; color: var(--kh-acc); }
.kh-film-play b { font-weight: 500; }
.kh-trailer-frame .am-video-embed:focus-visible { outline: 2px solid var(--kh-acc); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) {
  .kh-trailer-frame .am-video-embed:hover > img { transform: scale(1.02); filter: brightness(1.08); }
  .kh-trailer-frame .am-video-embed:hover .kh-film-play { border-color: var(--kh-acc); box-shadow: 0 0 40px rgba(255, 154, 60, .28); }
}
.kh-trailer-yt { margin-top: 18px; text-align: right; font-family: var(--kh-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.kh-trailer-yt a { color: var(--kh-dim); text-decoration: none; }
.kh-trailer-yt a:hover, .kh-trailer-yt a:focus-visible { color: var(--kh-acc); }
/* demos: shorter YouTube videos under the film, poster left + caption right */
.kh-demos { margin-top: clamp(70px, 9vw, 130px); }
.kh-demo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-top: 24px; }
.kh-demo-frame { width: 100%; margin: 0; box-shadow: 0 0 0 1px rgba(255, 154, 60, .3), 0 30px 90px rgba(0, 0, 0, .65); }
.kh-demo-frame .kh-film-play { padding: 12px 20px 12px 16px; }
.kh-demo-frame > video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.kh-demo + .kh-demo { margin-top: clamp(40px, 5vw, 72px); }
.kh-demo-n { font-family: var(--kh-mono); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--kh-dim); }
.kh-demo-copy h3 { margin: 12px 0 22px; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.15; font-weight: 500; color: var(--kh-chrome); text-wrap: balance; }
.kh-demo-copy a { font-family: var(--kh-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--kh-dim); text-decoration: none; }
.kh-demo-copy a:hover, .kh-demo-copy a:focus-visible { color: var(--kh-acc); }
@media (max-width: 760px) { .kh-demo { grid-template-columns: 1fr; align-items: start; } }

/* formats: Max for Live now; VST3/AU and iOS announced (not links) */
.kh-formats { list-style: none; margin: 30px 0 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.kh-fmt { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; min-width: 150px; padding: 11px 18px 10px; border: 1px solid rgba(236, 235, 238, .16); border-radius: 999px;
  background: rgba(6, 6, 7, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-decoration: none; color: var(--kh-dim); font-family: var(--kh-mono); }
.kh-fmt b { font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(236, 235, 238, .62); }
.kh-fmt small { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(236, 235, 238, .42); }
.kh-fmt-on { border-color: var(--kh-acc-soft); }
.kh-fmt-on b { color: var(--kh-chrome); }
.kh-fmt-on small { color: var(--kh-acc); }
.kh-fmt-on:hover, .kh-fmt-on:focus-visible { border-color: var(--kh-acc); box-shadow: 0 0 30px rgba(255, 154, 60, .25); }
.kh-hero-copy .kh-formats { margin-top: 34px; }
.kh-cta .kh-formats { margin-top: 26px; }
