/* Sizes are harmonics of a 17px fundamental:
   3/4 = 12.75, 5/6 = 14.17, 1 = 17, 4/3 = 22.67, 3/2 = 25.5, 2 = 34, 3 = 51, 4 = 68. */
:root {
  color-scheme: dark;
  --void: #05070F;
  --navy: #0E1530;
  --star: #F3F1EA;
  --dim: #A9AEC4;
  --violet: #8E7BFF;
  --cyan: #6FE3E8;
  --brass: #C9A45C;
  --line: #1E2747;
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --text: 'Source Serif 4', Georgia, serif;
  --gutter: clamp(20px, 6cqi, 96px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--void); color: var(--star); font: 17px/1.65 var(--text); }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); font-stretch: 125%; font-weight: 300; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 6.2cqi, 68px); }
h2 { font-size: clamp(25.5px, 3.6cqi, 34px); }
h3 { font-size: 22.67px; line-height: 1.2; }
.dim { color: var(--dim); }
.small { font-size: 14.17px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Two star tiles of unrelated sizes, so the repeat never lines up. */
.site { container-type: inline-size; max-width: 1920px; margin: 0 auto; overflow: clip;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22613%22 height=%22613%22%3E%3Ccircle cx=%22199%22 cy=%2292%22 r=%220.5%22 fill=%22%23F3F1EA%22 opacity=%220.78%22/%3E%3Ccircle cx=%2258%22 cy=%22357%22 r=%221.2%22 fill=%22%23F3F1EA%22 opacity=%220.27%22/%3E%3Ccircle cx=%22266%22 cy=%2243%22 r=%220.5%22 fill=%22%236FE3E8%22 opacity=%220.53%22/%3E%3Ccircle cx=%22507%22 cy=%2276%22 r=%220.6%22 fill=%22%236FE3E8%22 opacity=%220.66%22/%3E%3Ccircle cx=%22581%22 cy=%22354%22 r=%220.9%22 fill=%22%23F3F1EA%22 opacity=%220.88%22/%3E%3Ccircle cx=%2229%22 cy=%22526%22 r=%220.7%22 fill=%22%23F3F1EA%22 opacity=%220.34%22/%3E%3Ccircle cx=%2272%22 cy=%22189%22 r=%220.6%22 fill=%22%23F3F1EA%22 opacity=%220.63%22/%3E%3Ccircle cx=%22392%22 cy=%22228%22 r=%221.2%22 fill=%22%236FE3E8%22 opacity=%220.29%22/%3E%3Ccircle cx=%2237%22 cy=%22126%22 r=%221.2%22 fill=%22%23F3F1EA%22 opacity=%220.76%22/%3E%3Ccircle cx=%22285%22 cy=%22566%22 r=%220.7%22 fill=%22%23F3F1EA%22 opacity=%220.41%22/%3E%3Ccircle cx=%22110%22 cy=%22478%22 r=%220.5%22 fill=%22%236FE3E8%22 opacity=%220.45%22/%3E%3Ccircle cx=%22304%22 cy=%22211%22 r=%220.9%22 fill=%22%23F3F1EA%22 opacity=%220.65%22/%3E%3Ccircle cx=%2245%22 cy=%22314%22 r=%220.6%22 fill=%22%23F3F1EA%22 opacity=%220.35%22/%3E%3Ccircle cx=%22300%22 cy=%2224%22 r=%220.5%22 fill=%22%236FE3E8%22 opacity=%220.62%22/%3E%3Ccircle cx=%22537%22 cy=%22192%22 r=%220.7%22 fill=%22%236FE3E8%22 opacity=%220.57%22/%3E%3Ccircle cx=%22488%22 cy=%2242%22 r=%220.5%22 fill=%22%23F3F1EA%22 opacity=%220.56%22/%3E%3Ccircle cx=%22407%22 cy=%2237%22 r=%220.7%22 fill=%22%236FE3E8%22 opacity=%220.63%22/%3E%3Ccircle cx=%22418%22 cy=%22273%22 r=%220.9%22 fill=%22%236FE3E8%22 opacity=%220.48%22/%3E%3Ccircle cx=%22577%22 cy=%22218%22 r=%221.2%22 fill=%22%23F3F1EA%22 opacity=%220.57%22/%3E%3Ccircle cx=%22134%22 cy=%22176%22 r=%220.6%22 fill=%22%23F3F1EA%22 opacity=%220.50%22/%3E%3Ccircle cx=%22534%22 cy=%2249%22 r=%220.9%22 fill=%22%23F3F1EA%22 opacity=%220.61%22/%3E%3Ccircle cx=%22542%22 cy=%22502%22 r=%221.2%22 fill=%22%23F3F1EA%22 opacity=%220.71%22/%3E%3Ccircle cx=%22605%22 cy=%22419%22 r=%220.9%22 fill=%22%23F3F1EA%22 opacity=%220.35%22/%3E%3Ccircle cx=%22108%22 cy=%22142%22 r=%220.6%22 fill=%22%23F3F1EA%22 opacity=%220.57%22/%3E%3Ccircle cx=%22361%22 cy=%22161%22 r=%220.5%22 fill=%22%23F3F1EA%22 opacity=%220.52%22/%3E%3Ccircle cx=%22226%22 cy=%22347%22 r=%220.6%22 fill=%22%236FE3E8%22 opacity=%220.81%22/%3E%3Ccircle cx=%22582%22 cy=%22401%22 r=%220.5%22 fill=%22%23F3F1EA%22 opacity=%220.83%22/%3E%3Ccircle cx=%22478%22 cy=%22536%22 r=%221.2%22 fill=%22%23F3F1EA%22 opacity=%220.51%22/%3E%3Ccircle cx=%22242%22 cy=%22295%22 r=%220.9%22 fill=%22%23F3F1EA%22 opacity=%220.37%22/%3E%3Ccircle cx=%22604%22 cy=%22270%22 r=%220.5%22 fill=%22%23F3F1EA%22 opacity=%220.64%22/%3E%3Ccircle cx=%2263%22 cy=%22347%22 r=%221.2%22 fill=%22%23F3F1EA%22 opacity=%220.87%22/%3E%3Ccircle cx=%22376%22 cy=%2243%22 r=%220.6%22 fill=%22%236FE3E8%22 opacity=%220.49%22/%3E%3Ccircle cx=%22389%22 cy=%22586%22 r=%221.2%22 fill=%22%23F3F1EA%22 opacity=%220.56%22/%3E%3Ccircle cx=%2271%22 cy=%22299%22 r=%220.9%22 fill=%22%23F3F1EA%22 opacity=%220.56%22/%3E%3C/svg%3E") 0 0 / 613px 613px, url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22431%22 height=%22431%22%3E%3Ccircle cx=%22195%22 cy=%22241%22 r=%220.9%22 fill=%22%238E7BFF%22 opacity=%220.58%22/%3E%3Ccircle cx=%22253%22 cy=%2280%22 r=%221.2%22 fill=%22%238E7BFF%22 opacity=%220.66%22/%3E%3Ccircle cx=%22342%22 cy=%2241%22 r=%220.7%22 fill=%22%23F3F1EA%22 opacity=%220.31%22/%3E%3Ccircle cx=%22349%22 cy=%22299%22 r=%220.5%22 fill=%22%23C9A45C%22 opacity=%220.89%22/%3E%3Ccircle cx=%22416%22 cy=%22282%22 r=%221.2%22 fill=%22%23C9A45C%22 opacity=%220.35%22/%3E%3Ccircle cx=%226%22 cy=%22228%22 r=%220.5%22 fill=%22%23F3F1EA%22 opacity=%220.37%22/%3E%3Ccircle cx=%22104%22 cy=%2213%22 r=%220.9%22 fill=%22%238E7BFF%22 opacity=%220.54%22/%3E%3Ccircle cx=%22363%22 cy=%22224%22 r=%220.7%22 fill=%22%238E7BFF%22 opacity=%220.25%22/%3E%3Ccircle cx=%2237%22 cy=%22282%22 r=%220.9%22 fill=%22%23C9A45C%22 opacity=%220.90%22/%3E%3Ccircle cx=%22362%22 cy=%22305%22 r=%220.7%22 fill=%22%23F3F1EA%22 opacity=%220.58%22/%3E%3Ccircle cx=%2213%22 cy=%22243%22 r=%220.5%22 fill=%22%238E7BFF%22 opacity=%220.32%22/%3E%3Ccircle cx=%22125%22 cy=%2229%22 r=%220.5%22 fill=%22%23C9A45C%22 opacity=%220.25%22/%3E%3Ccircle cx=%2290%22 cy=%22392%22 r=%220.9%22 fill=%22%238E7BFF%22 opacity=%220.89%22/%3E%3Ccircle cx=%22171%22 cy=%2231%22 r=%220.6%22 fill=%22%23C9A45C%22 opacity=%220.43%22/%3E%3Ccircle cx=%2238%22 cy=%22143%22 r=%220.9%22 fill=%22%23F3F1EA%22 opacity=%220.34%22/%3E%3Ccircle cx=%22305%22 cy=%225%22 r=%220.9%22 fill=%22%238E7BFF%22 opacity=%220.37%22/%3E%3C/svg%3E") 90px 140px / 431px 431px, var(--void); }

/* Header and wordmark */
.site-header { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding: 14px var(--gutter); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 500 17px/1 var(--display); font-stretch: 125%; letter-spacing: 0.01em; }
/* Supplied logo: frame the emblem in the header; show the full artwork below. */
.brand-art { display: block; flex: none; width: 88px; height: 80px; overflow: hidden; }
.brand-art img { width: 88px; height: 88px; max-width: none; }
.brand-name { text-align: left; line-height: 1.3; }
.footer-brand { display: block; width: 320px; max-width: 100%; }
.footer-brand img { width: 100%; height: auto; }
.site-footer .footer-brand + p { margin-top: 16px; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav button, .footer-links button, .footer-links a { min-height: 44px; font: 400 14.17px/1 var(--display); color: var(--dim); text-decoration: none; display: inline-flex; align-items: center; }
.site-header nav button:hover, .footer-links button:hover, .footer-links a:hover { color: var(--star); }

/* Buttons. Violet buys, cyan plays. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 4px; font: 600 14.17px/1.2 var(--display); }
.btn-buy { background: var(--violet); color: var(--void); }
.btn-buy { box-shadow: 0 0 34px #8E7BFF40; transition: box-shadow .2s, background-color .2s; }
.btn-buy:hover { background: #a595ff; box-shadow: 0 0 51px #8E7BFF80; }
.btn-audio { border-radius: 999px; padding-left: 14px; border: 1px solid var(--cyan); color: var(--cyan); background: #05070Fcc; }
.btn-audio:hover, .btn-audio[aria-pressed="true"] { background: var(--cyan); color: var(--void); }
.btn-quiet { border: 1px solid var(--line); }
.btn-quiet:hover { border-color: var(--dim); }
.link { font: 500 14.17px/1.2 var(--display); min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-decoration-color: var(--dim); text-underline-offset: 5px; }
.link:hover { text-decoration-color: var(--star); }

.icon { width: 22px; height: 22px; flex: none; }
.icon .pause, [aria-pressed="true"] > .icon .play, [aria-pressed="true"] .key-cap .play { display: none; }
[aria-pressed="true"] > .icon .pause, [aria-pressed="true"] .key-cap .pause { display: block; }

/* Hero: the live fractal fills the right, copy holds the left. */
.hero { position: relative; isolation: isolate; margin-top: -109px; padding: calc(109px + 7cqi) var(--gutter) 7cqi; min-height: min(700px, 56cqi); display: flex; flex-direction: column; justify-content: center; }
.fractal { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; background: var(--void) url('assets/fractal-cosmos-v1.webp') 80% center / cover; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--void) 0%, #05070Fe6 28%, #05070F00 62%), linear-gradient(0deg, var(--void) 0%, #05070F00 22%); pointer-events: none; }
.hero-copy { max-width: 43rem; }
.hero h1 { text-shadow: 0 0 60px #8E7BFF55; }
.hero-copy p { max-width: 31rem; margin-top: 24px; color: var(--dim); font-size: clamp(17px, 2cqi, 22.67px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 34px; }
.motion-toggle { position: absolute; right: var(--gutter); bottom: 20px; min-height: 44px; padding: 0 4px; font: 400 14.17px/1 var(--display); color: var(--dim); }
.motion-toggle:hover { color: var(--star); }
.now-playing { min-height: 1.65em; margin-top: 14px; font: 400 14.17px/1.65 var(--display); color: var(--cyan); font-variant-numeric: tabular-nums; }

/* Sections */
.band { padding: clamp(51px, 8cqi, 102px) var(--gutter); }
/* Raised sections fade in and out like a cloud, so the stars carry through. */
.band-raised { background: linear-gradient(180deg, #0E153000, #0E1530e0 22%, #0E1530e0 78%, #0E153000); }
.band > h2 { max-width: 30rem; }
.band-intro { max-width: 34rem; margin-top: 14px; color: var(--dim); }

/* Products: two full-width rows, not cards. */
.product-rows { margin-top: 34px; border-top: 1px solid var(--line); }
.product-row { display: grid; grid-template-columns: 136px minmax(0, 1fr) auto; gap: 34px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); }
.product-row h3 { font-size: clamp(22.67px, 3cqi, 34px); line-height: 1.12; max-width: 22ch; }
.product-row p { max-width: 36rem; margin-top: 12px; color: var(--dim); }
.product-row .small { margin-top: 12px; font-family: var(--display); color: var(--star); }
.product-buy { display: grid; justify-items: end; gap: 6px; text-align: right; }
.price { font: 300 34px/1 var(--display); font-stretch: 125%; color: var(--brass); }
.cover { aspect-ratio: 3 / 4; width: 100%; display: grid; align-items: end; border: 1px solid #2c3766; border-radius: 3px; background: var(--navy) center / cover; box-shadow: 0 0 60px #8E7BFF2e; color: var(--star); font: 400 12.75px/1.35 var(--display); text-align: center; overflow: hidden; }
.cover span { padding: 18px 8px 8px; background: linear-gradient(180deg, #05070F00, #05070Fd9 55%); }

/* Drone previews: three round keys and one progress line. */
.keys { display: flex; flex-wrap: wrap; gap: 20px 51px; margin-top: 34px; }
.key { display: grid; grid-template-columns: 56px auto; column-gap: 16px; align-items: center; text-align: left; }
.key-cap { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--cyan); color: var(--cyan); transition: background-color .15s; }
.key:hover .key-cap, .key[aria-pressed="true"] .key-cap { background: var(--cyan); color: var(--void); }
.key[aria-pressed="true"] .key-cap { box-shadow: 0 0 0 6px #6FE3E826, 0 0 34px #6FE3E899; }
.key-name { align-self: end; font: 400 22.67px/1.15 var(--display); font-stretch: 125%; }
.key-mode { align-self: start; font: 400 14.17px/1.4 var(--display); color: var(--dim); }
.progress { height: 2px; margin-top: 34px; background: var(--line); }
.progress-fill { height: 100%; width: 0; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.drone-note { margin-top: 12px; font: 400 14.17px/1.5 var(--display); color: var(--dim); font-variant-numeric: tabular-nums; }

/* Creator and FAQ share a band on wide screens. */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 51px clamp(34px, 8cqi, 102px); }
.creator { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 25.5px; align-items: start; }
.creator img { width: 136px; height: 181px; object-fit: cover; object-position: 50% 25%; border-radius: 2px; }
.creator p { margin-top: 12px; color: var(--dim); }
.creator .link { margin-top: 6px; }
.faq h2 { margin-bottom: 20px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
.help-line { margin-top: 22px; color: var(--dim); }
.help-line a { color: var(--star); text-underline-offset: 4px; }
summary { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; cursor: pointer; list-style: none; font: 500 17px/1.35 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--dim); font-weight: 300; }
details[open] summary::after { content: '\2212'; }
details p { max-width: 36rem; padding-bottom: 20px; color: var(--dim); }

/* Product pages */
.product-top { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(34px, 7cqi, 102px); align-items: center; }
.product-top h1 { font-size: clamp(34px, 5cqi, 51px); max-width: 16ch; }
.product-top p { max-width: 34rem; margin-top: 20px; color: var(--dim); font-size: clamp(17px, 2cqi, 22.67px); line-height: 1.5; }
.buy-line { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; }
.product-top .small { margin-top: 14px; font-size: 14.17px; font-family: var(--display); }
.back { margin-bottom: 12px; }
.for-whom { max-width: 26em; margin-top: 20px; font-size: clamp(22.67px, 3.4cqi, 34px); line-height: 1.35; }
.inside { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(34px, 8cqi, 102px); }
.inside > li { padding: 22px 0; border-top: 1px solid var(--line); }
.inside p { margin-top: 8px; color: var(--dim); }
.ritual { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; counter-reset: step; font: 400 14.17px/1.5 var(--display); }
.ritual li { counter-increment: step; }
.ritual li::before { content: counter(step) ' '; color: var(--brass); }
.sample-note { margin-top: 34px; padding: 20px; border: 1px dashed #4a5378; border-radius: 2px; color: var(--dim); font: 400 14.17px/1.5 var(--display); max-width: 36rem; }
.closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 25.5px 51px; }
.closing h2 { max-width: 22ch; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 51px; padding: 51px var(--gutter); border-top: 1px solid var(--line); }
.site-footer p { margin-top: 4px; color: var(--dim); font-size: 14.17px; }
/* Every page ends in the cosmos artwork: links sit in its dark upper sky, the fractal sweeps below. */
.site-footer { position: relative; isolation: isolate; padding-bottom: clamp(300px, 44cqi, 580px); border-top: 0; }
.site-footer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('assets/fractal-cosmos-v1.webp') 70% bottom / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 28px; }

dialog { width: min(480px, calc(100% - 32px)); padding: 34px; border: 1px solid var(--line); border-radius: 6px; background: var(--navy); color: var(--star); }
dialog::backdrop { background: #05070Fcc; }
dialog h2 { font-size: 25.5px; }
dialog p { margin-top: 14px; }
dialog .btn { margin-top: 25.5px; }
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 10; transform: translateX(-50%); width: min(520px, calc(100% - 32px)); padding: 14px 20px; border-radius: 4px; background: var(--star); color: var(--void); font: 500 14.17px/1.4 var(--display); }

@container (max-width: 820px) {
  .hero { margin-top: 0; padding-top: 0; min-height: 0; display: block; }
  .hero::before { display: none; }
  .fractal { position: static; display: block; height: 68cqi; max-height: 420px; margin: 0 calc(-1 * var(--gutter)) 34px; width: calc(100% + 2 * var(--gutter)); max-width: none; background-position: 85% center; }
  .hero { padding-bottom: 51px; }
  .motion-toggle { top: 4px; bottom: auto; padding: 0 10px; border-radius: 999px; background: #05070Fb3; }
  .split, .product-top { grid-template-columns: minmax(0, 1fr); }
  .product-top .cover { max-width: 220px; }
  .inside { grid-template-columns: minmax(0, 1fr); }
}
@container (max-width: 620px) {
  .site-header nav { gap: 22px; }
  .product-row { grid-template-columns: 88px minmax(0, 1fr); gap: 20px; }
  .product-buy { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; justify-items: start; align-items: center; text-align: left; }
  .keys { flex-direction: column; }
  .creator { grid-template-columns: 88px minmax(0, 1fr); gap: 20px; }
  .creator img { width: 88px; height: 117px; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Celestial illustrations: etched geometry, luminous soundscapes, quiet space. */
.eyebrow { display: block; margin-bottom: 22px; color: #d6bd83; font: 500 10px/1.5 var(--display); text-transform: uppercase; letter-spacing: .24em; }
.site-header { border-bottom: 1px solid #c9a45c18; }
.hero { min-height: min(800px, 64cqi); }
.hero-copy { position: relative; z-index: 1; max-width: 650px; }
.hero h1 { font-size: clamp(38px, 5.6cqi, 78px); letter-spacing: -.045em; }
.hero h1 em { font-family: var(--text); font-weight: 400; color: #e0caf7; }
.hero-copy p { max-width: 28rem; font-size: clamp(17px, 1.7cqi, 21px); }
.celestial-art { display: block; width: 100%; height: auto; stroke: currentColor; stroke-width: .6; overflow: hidden; }
.art-halo { stroke-width: 1.2; }
.visual-prelude { display: flex; align-items: center; gap: 24px; padding: 32px var(--gutter); border-block: 1px solid #c9a45c24; background: linear-gradient(90deg,#8e7bff0a, #c9a45c08, #6fe3e806); }
.visual-prelude .eyebrow { margin: 0; white-space: nowrap; }
.prelude-line { height: 1px; flex: 1; background: linear-gradient(90deg,transparent,#c9a45c65,transparent); }
.prelude-star { color: #e2c58f; font-size: 28px; }
.prelude-note { color: var(--dim); font-style: italic; font-size: 15px; }
.collection { background: radial-gradient(ellipse at 5% 60%, #6950ad19, transparent 55%); }
.product-row { grid-template-columns: 210px minmax(0,1fr) auto; align-items: center; gap: 48px; padding: 42px 0; }
.cover { position: relative; isolation: isolate; min-height: 0; background-image: url('assets/fractal-cosmos-v1.webp'); transform: perspective(900px) rotateY(-9deg) rotateZ(-3deg); box-shadow: -5px 4px 0 #343047, -8px 5px 0 #171728, 15px 25px 55px #0009, 0 0 70px #8e7bff20; transition: transform .5s ease; }
.cover-practice { transform: perspective(900px) rotateY(-9deg) rotateZ(3deg); }
.cover::before { content: ''; position: absolute; inset: 10px; border: 1px solid #e2c58f55; z-index: -1; }
.cover .celestial-art { position: absolute; width: 90%; left: 5%; top: 12%; color: #ead3a0; opacity: .65; z-index: -1; }
.cover span { padding: 35px 12px 18px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.product-row:hover .cover { transform: perspective(900px) rotateY(0) rotateZ(0); }
.product-top .cover { width: 90%; margin: 20px auto; }
.cover-real { display: block; aspect-ratio: 800 / 1131; height: auto; object-fit: cover; background: none; }
.sound-gallery { position: relative; background: radial-gradient(ellipse at 50% 45%,#28355b60,transparent 72%); }
.keys { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.keys > li { min-width: 0; }
.key { width: 100%; grid-template-columns: 44px minmax(0,1fr); gap: 5px 14px; padding: 0 0 24px; border: 1px solid #a99cd52d; border-radius: 160px 160px 8px 8px; overflow: hidden; background: #070d19aa; transition: border-color .3s, box-shadow .3s; }
.sound-art { grid-column: 1/-1; position: relative; display: block; width: 100%; margin-bottom: 18px; aspect-ratio: 1; color: #cbb7ff; background: radial-gradient(circle at 50% 46%,#9672c233,transparent 58%), linear-gradient(0deg,#111528,#060a16); }
.sound-art .celestial-art { width: 88%; margin: 6%; transition: transform .8s, filter .8s; }
.keys li:nth-child(2) .sound-art { color: #94d8da; background: radial-gradient(circle at 50% 40%,#6fe3e82b,transparent 60%),#070e1b; }
.keys li:nth-child(3) .sound-art { color: #e3bd79; background: radial-gradient(circle at 50% 40%,#c9a45c2b,transparent 60%),#110e1b; }
.sound-number { position: absolute; bottom: 8px; left: 0; width: 100%; text-align: center; font: 400 9px/1 var(--display); letter-spacing: .22em; }
.key .key-cap { width: 40px; height: 40px; margin-left: 20px; }
.key-name, .key-mode { margin-left: 20px; margin-right: 12px; }
.key-name { font-size: 22px; }
.key-mode { font-size: 12px; }
.key:hover, .key[aria-pressed="true"] { border-color: #6fe3e88c; box-shadow: 0 0 35px #6fe3e814; }
.key:hover .celestial-art { transform: scale(1.05); filter: drop-shadow(0 0 5px currentColor); }
.key[aria-pressed="true"] .celestial-art { animation: sound-breathe 7s ease-in-out infinite; }
.creator img { border-radius: 100px 100px 4px 4px; border: 1px solid #c9a45c65; padding: 5px; height: 195px; box-shadow: 0 0 50px #8e7bff20; }
.inside > li { position: relative; padding-left: 30px; }
.inside > li::before { content: '✧'; position: absolute; left: 0; top: 22px; color: var(--brass); }
.closing { background: linear-gradient(90deg,#05070feb,#05070fa6),url('assets/fractal-cosmos-v1.webp') center/cover; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
@keyframes sound-breathe { 50% { transform: scale(.94); filter: drop-shadow(0 0 7px currentColor); } }
@container (max-width: 820px) {
  .hero { min-height: 0; }
  .hero-copy { max-width: 100%; }
  .hero h1 { max-width: 15ch; font-size: clamp(38px,8cqi,64px); }
  .product-row { grid-template-columns: 160px minmax(0,1fr); gap: 30px; }
  .product-buy { grid-column: 2; justify-items: start; text-align: left; }
  .prelude-note { display: none; }
  .keys { gap: 14px; }
  .key .key-cap { margin-left: 12px; }
  .key-name, .key-mode { margin-left: 8px; }
}
@container (max-width: 540px) {
  .visual-prelude { gap: 10px; padding-block: 22px; }
  .visual-prelude .eyebrow { font-size: 8px; letter-spacing: .15em; }
  .product-row { grid-template-columns: 100px minmax(0,1fr); gap: 22px; padding-block: 30px; }
  .product-row h3 { font-size: 23px; }
  .product-buy { grid-column: 1/-1; justify-content: space-between; }
  .cover span { font-size: 8px; padding: 22px 6px 12px; letter-spacing: .03em; }
  .keys { grid-template-columns: 1fr; gap: 20px; }
  .key { grid-template-columns: 46px minmax(0,1fr); border-radius: 130px 130px 8px 8px; max-width: 340px; margin: auto; }
  .key-name, .key-mode { margin-left: 18px; }
  .key .key-cap { margin-left: 20px; }
  .sound-art { aspect-ratio: 1.2; }
  .sound-art .celestial-art { width: 76%; margin: 0 auto; }
  .creator img { height: 125px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@container (max-width: 540px) {
  .site-header .wordmark { gap: 10px; font-size: 15px; }
  .brand-art { width: 66px; height: 60px; }
  .brand-art img { width: 66px; height: 66px; }
  .footer-brand { width: 270px; }
}
