@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-400-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("assets/fonts/chakra-petch-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("assets/fonts/space-mono-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Audiowide;
  src: url("assets/fonts/audiowide-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant SC";
  src: url("assets/fonts/cormorant-sc-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Silkscreen;
  src: url("assets/fonts/silkscreen-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Oswald;
  src: url("assets/fonts/oswald-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Gruppo;
  src: url("assets/fonts/gruppo-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Unbounded;
  src: url("assets/fonts/unbounded-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --carbon: #151515;
  --surface: #222222;
  --paper: #f4f2ef;
  --coral: #ff7966;
  --muted: #888888;
  --secondary: #b5b1ad;
  --rule: #343333;
  --track: #54504e;
  --track-enabled: #706a67;
  --sans: Inter, "Segoe UI", system-ui, sans-serif;
  --display: "Chakra Petch", Bahnschrift, "Arial Narrow", var(--sans);
  --mono: "Space Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: 72rem;
  --gutter: clamp(1.125rem, 4.1vw, 3.75rem);
  --header-height: 4.625rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--anchor-offset, var(--header-height)) + 1.2rem); }
body { margin: 0; background: var(--carbon); color: var(--paper); font: 1rem/1.55 var(--sans); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button:enabled, input:enabled { cursor: pointer; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
::selection { background: var(--coral); color: var(--carbon); }
[hidden] { display: none !important; }

.shell { width: min(calc(100% - var(--gutter) * 2), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 3; top: .75rem; left: var(--gutter); padding: .65rem 1rem; background: var(--paper); color: var(--carbon); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.icon { display: block; flex: 0 0 auto; width: 1.25rem; height: 1.25rem; }

.site-header { position: sticky; z-index: 2; top: 0; background: var(--carbon); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; min-height: var(--header-height); align-items: center; gap: clamp(1rem, 3.3vw, 3rem); }
.brand { display: inline-flex; flex-shrink: 0; min-height: 2.75rem; align-items: center; gap: .68rem; font: 600 1.125rem/1.1 var(--display); letter-spacing: -.022em; }
.brand-logo { display: block; flex: 0 0 auto; width: 3.06rem; height: 3.06rem; object-fit: contain; }
.brand-mark { width: .4rem; height: .4rem; background: var(--coral); }
nav { display: flex; align-items: center; margin-inline-start: auto; gap: clamp(1rem, 3vw, 2.4rem); }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--secondary); font-size: .875rem; font-weight: 600; white-space: nowrap; transition: color .16s ease; }
nav a:hover, nav a[aria-current], .footer-inner a:hover { color: var(--coral); }
.volume { display: flex; flex: 0 0 auto; align-items: center; gap: .22rem; width: 7.8rem; padding-inline-start: .8rem; border-inline-start: 1px solid var(--rule); }
.volume button { display: grid; width: 2.75rem; min-width: 2.75rem; height: 2.75rem; padding: 0; place-items: center; background: none; border: 0; color: var(--secondary); }
.volume button:enabled:hover { color: var(--coral); }
.volume .icon-muted, .volume [aria-pressed="true"] .icon-volume { display: none; }
.volume [aria-pressed="true"] .icon-muted { display: block; }
.volume input { width: 100%; min-width: 0; }

.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, .38fr); gap: clamp(1.5rem, 4.9vw, 4rem); align-items: end; padding-block: clamp(2.65rem, 5.9vw, 4.75rem) clamp(2.5rem, 5.2vw, 3.75rem); }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--secondary); font: 400 .8125rem/1.4 var(--mono); letter-spacing: .065em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: .43rem; height: .43rem; flex: 0 0 auto; background: var(--coral); }
.intro h1 { margin-top: .8rem; font: 600 clamp(2.2rem, 5.1vw, 4.45rem)/1.04 var(--display); letter-spacing: -.045em; white-space: pre-line; }
.intro-text { max-width: 29ch; margin-block-end: .35rem; padding-inline-start: 1.15rem; border-inline-start: 1px solid var(--rule); color: var(--secondary); font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 1.6; }

.section-heading { display: flex; align-items: center; gap: 1.3rem; margin-bottom: 1.2rem; }
.section-heading::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }
.section h2 { font: 600 clamp(1.65rem, 2.8vw, 2.25rem)/1.15 var(--display); letter-spacing: -.035em; }
.genre-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 1.9vw, 1.4rem); }
.genre { min-width: 0; overflow: hidden; border: 1px solid var(--rule); background: var(--surface); }
.genre-art { position: relative; display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; height: clamp(6.4rem, 12.4vw, 10.4rem); padding-block: .5rem; background: var(--carbon); }
.genre-art img { display: block; width: calc(var(--artwork-width) * .8); height: 80%; max-height: 7.2rem; object-fit: contain; }
.genre-title { font: 600 clamp(1.3rem, 3vw, 2.1rem)/1.15 var(--display); text-align: center; }
.genre-art--typographic { container-type: inline-size; }
.genre-art--typographic .genre-title {
  max-inline-size: 92%;
  color: var(--paper);
  font: var(--genre-weight, 600) var(--genre-size, 1.3rem)/1 var(--genre-font, var(--display));
  font-synthesis: none;
  letter-spacing: var(--genre-spacing, normal);
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.genre-art--typographic .genre-title > span { display: block; }

/* Size each face by its optical presence within the same card. */
.genre-title#genre-sci-fi {
  --genre-font: Audiowide, var(--display);
  --genre-weight: 400;
  --genre-size: clamp(1.65rem, 13.5cqi, 4.8rem);
  --genre-spacing: -.025em;
}

.genre-title#genre-orchestral {
  --genre-font: "Cormorant SC", Georgia, serif;
  --genre-size: clamp(1.95rem, 14cqi, 4.95rem);
  --genre-spacing: -.015em;
  /* The face supplies the reference's small capitals after the initial O. */
  text-transform: none;
}

.genre-title#genre-retro-gaming {
  --genre-font: Silkscreen, var(--mono);
  --genre-weight: 700;
  --genre-size: clamp(1.2rem, 12cqi, 4.25rem);
  --genre-spacing: .07em;
}

.genre-title#genre-urban {
  --genre-font: Oswald, "Arial Narrow", var(--sans);
  --genre-weight: 700;
  --genre-size: clamp(1.75rem, 12.8cqi, 4.55rem);
  --genre-spacing: .045em;
}

.genre-title#genre-ambient-atmospheric {
  --genre-font: Gruppo, var(--sans);
  --genre-weight: 400;
  --genre-size: clamp(1.33rem, 10.6cqi, 3.7rem);
  --genre-spacing: .11em;
}

#genre-ambient-atmospheric > span + span {
  margin-block-start: .55em;
  font-size: .44em;
  letter-spacing: .11em;
}

.genre-title#genre-electronic-edm {
  --genre-font: Unbounded, var(--sans);
  --genre-weight: 700;
  --genre-size: clamp(1rem, 7.05cqi, 2.55rem);
  --genre-spacing: -.035em;
}
.player { border-top: 1px solid var(--rule); padding: .82rem clamp(.75rem, 2.1vw, 1.4rem); }
.player-transport { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; align-items: center; }
.play-button { display: grid; width: 2.75rem; height: 2.75rem; padding: 0; place-items: center; background: none; border: 1px solid #51504e; }
.play-button .icon { grid-area: 1 / 1; }
.play-button .icon-pause, [data-playing] .play-button .icon-play, [data-loading] .play-button .icon-play { visibility: hidden; }
[data-playing] .play-button .icon-pause, [data-loading] .play-button .icon-pause { visibility: visible; }
.play-button:disabled { color: var(--muted); }
.play-button:enabled { border-color: var(--coral); color: var(--coral); transition: color .16s ease, background-color .16s ease; }
.play-button:enabled:hover, [data-playing] .play-button { color: var(--carbon); background: var(--coral); }
.player-body { min-width: 0; }
.player-meta { display: flex; min-width: 0; align-items: baseline; justify-content: space-between; gap: .5rem; }
.track-title { font-size: .875rem; color: var(--paper); font-weight: 500; overflow-wrap: anywhere; }
.genre:not([data-player]) .track-title, .time, .track-unavailable { color: var(--secondary); }
.time { flex-shrink: 0; font: 400 .75rem/1.4 var(--mono); font-variant-numeric: tabular-nums; }
.time-divider { margin-inline: .35rem; }

input[type="range"] { --fill: 0%; appearance: none; display: block; margin: 0; background: transparent; touch-action: pan-y; }
input[type="range"]:enabled { --track: var(--track-enabled); }
.volume input { height: 2.75rem; }
.seek { width: 100%; height: 1.6rem; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--coral) 0 var(--fill), var(--track) var(--fill) 100%); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--track); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--coral); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: .6rem; height: .6rem; margin-top: calc(1px - .3rem); border: 0; border-radius: 0; background: var(--coral); }
input[type="range"]::-moz-range-thumb { width: .6rem; height: .6rem; border: 0; border-radius: 0; background: var(--coral); }
input[type="range"]:disabled::-webkit-slider-thumb { opacity: 0; }
input[type="range"]:disabled::-moz-range-thumb { opacity: 0; }

.track-list { margin: .55rem 0 0; padding: 0; list-style: none; }
.track-list li { border-top: 1px solid var(--rule); }
.track-choice { display: flex; width: 100%; min-height: 2.75rem; align-items: center; gap: .6rem; padding: .4rem .1rem; border: 0; background: transparent; text-align: start; overflow-wrap: anywhere; font-size: .875rem; }
.track-choice:enabled:hover, .track-choice[aria-current] { color: var(--coral); }
.track-choice:disabled { color: var(--secondary); }
.track-marker { width: .35rem; height: .35rem; flex: 0 0 auto; border: 1px solid currentColor; }
.track-choice[aria-current] .track-marker { background: currentColor; }
.track-unavailable { margin-inline-start: auto; font-size: .8125rem; }
.player-status { color: var(--coral); font-size: .875rem; }
.player-status:not(:empty) { margin-top: .5rem; }

.text-section { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); gap: 1.2rem 2.5rem; margin-top: clamp(3.3rem, 7vw, 6.55rem); border-top: 1px solid var(--rule); padding-top: clamp(1.25rem, 3.5vw, 2.6rem); }
.text-section p { max-width: 54ch; color: var(--secondary); line-height: 1.7; }
.text-section p + p { margin-top: 1em; }
.editorial { margin-top: clamp(3.3rem, 7vw, 6rem); }
.editorial + .editorial { margin-top: clamp(3rem, 5.6vw, 4.75rem); }
.editorial .section-heading { margin-bottom: clamp(1.2rem, 3vw, 2.2rem); }
.editorial h3 { font: 600 clamp(1.2rem, 2.25vw, 1.55rem)/1.22 var(--display); letter-spacing: -.025em; }
.adaptive-layout { display: grid; gap: clamp(1.25rem, 2.8vw, 2.25rem); }
.adaptive-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: 1rem clamp(2rem, 6vw, 5rem); }
.adaptive-intro h3 { max-width: 17ch; font-size: clamp(1.9rem, 3.8vw, 3.3rem); letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.adaptive-explanation { max-width: 62ch; line-height: 1.65; color: var(--secondary); }
.adaptive-panel { --inset: clamp(1rem, 2.6vw, 2rem); min-width: 0; border: 1px solid var(--track); background: var(--surface); overflow-wrap: anywhere; }
.adaptive-header { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.1rem; padding: var(--inset); border-bottom: 1px solid var(--rule); }
.composition-name { flex: 1 1 12rem; min-width: 0; }
.composition-name h3 { font-size: clamp(1.5rem, 3vw, 2.35rem); line-height: 1.1; }
.composition-name p, [data-state-description] { color: var(--secondary); font-size: .9rem; line-height: 1.5; margin-top: .35rem; }
.composition-choice { display: grid; gap: .25rem; max-width: 100%; color: var(--secondary); font: .75rem/1.4 var(--mono); }
.composition-choice select { width: 100%; max-width: 24rem; min-height: 2.75rem; padding: .45rem .7rem; border: 1px solid var(--track-enabled); border-radius: 0; background: var(--carbon); color: var(--paper); font: .9375rem var(--sans); }
.adaptive-header .play-button { position: relative; display: grid; grid-template-columns: auto auto; justify-content: center; gap: .45rem; width: auto; min-width: 6.75rem; height: 3.6rem; padding-inline: .75rem; font: 600 1.15rem/1 var(--display); }
.adaptive-header .play-button:enabled { background: var(--coral); color: var(--carbon); }
.adaptive-header .play-button:enabled:hover { background: var(--paper); border-color: var(--paper); }
.adaptive-header .play-button .icon { width: 1.45rem; height: 1.45rem; }
.adaptive-header .play-button [data-action] { grid-column: 2; }
.adaptive-controls { padding: var(--inset); }
.adaptive-invitation { margin-bottom: 1rem; font: 600 clamp(1rem, 2vw, 1.25rem)/1.35 var(--display); letter-spacing: -.015em; }
.state-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.35rem, 1vw, .75rem); }
.state-choices button { position: relative; display: grid; align-content: space-between; justify-items: start; min-height: clamp(6rem, 10vw, 8.25rem); gap: 1rem; padding: clamp(.7rem, 1.65vw, 1.35rem); border: 1px solid var(--track-enabled); background: var(--carbon); color: var(--secondary); text-align: left; transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
.state-choices button:enabled:hover { color: var(--paper); border-color: var(--paper); background: #292827; }
.state-choices button[aria-pressed="true"] { border-color: var(--coral); background: #342724; color: var(--coral); }
.state-choices button[data-queued] { border-style: dashed; }
.state-label { font: 600 clamp(.98rem, 2vw, 1.45rem)/1.15 var(--display); overflow-wrap: anywhere; max-width: 100%; }
.state-symbol { display: flex; align-items: end; gap: .18rem; height: 1.55rem; padding-inline-start: .2rem; }
.state-symbol i { width: .48rem; height: .85rem; transform: skewX(-17deg); background-color: currentColor; }
.state-symbol i:nth-child(2) { height: 1.17rem; }
.state-symbol i:nth-child(3) { height: 1.5rem; }
.state-choices button::after { content: ''; position: absolute; inset: auto 0 0; height: .23rem; background: var(--coral); transform: scaleX(var(--mix, 0)); transform-origin: left; }
.adaptive-footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, .78fr); align-items: center; gap: .4rem 2rem; padding: .65rem var(--inset); border-top: 1px solid var(--rule); background: #1c1c1c; }
.adaptive-status { color: var(--paper); font: .85rem/1.6 var(--mono); }
.adaptive-panel[data-playing] .adaptive-status::before { content: ''; display: inline-block; width: .45rem; height: .45rem; margin-right: .6rem; background: var(--coral); }
.adaptive-timeline { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem; align-items: center; }
.adaptive-timeline .seek { height: 2.75rem; }
.adaptive-empty { padding: 1rem var(--inset); color: var(--secondary); border-color: var(--rule); }
@media (prefers-reduced-motion: no-preference) {
  .play-cue .play-button:enabled::after { content: ''; position: absolute; inset: -1px; pointer-events: none; border: 1px solid var(--coral); animation: adaptive-play-cue 1.6s ease-out 2 both; }
  @keyframes adaptive-play-cue { from { transform: scale(1); opacity: .42; } to { transform: scale(1.08, 1.14); opacity: 0; } }
}
@media (max-width: 44rem) {
  .adaptive-intro, .adaptive-footer { grid-template-columns: minmax(0, 1fr); }
  .adaptive-intro h3 { max-width: 16ch; }
  .adaptive-footer { padding-top: .9rem; gap: .1rem; }
  .adaptive-intro { gap: .65rem; }
  .composition-choice { flex-basis: 100%; }
  .adaptive-header .play-button { min-width: 5.75rem; height: 3.2rem; }
  .composition-name { flex-basis: 6rem; }
}
@media (max-width: 26rem) {
  .state-choices button { padding-inline: .38rem; }
  .state-label { font-size: .95rem; }
}
.about-layout, .pricing-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; gap: clamp(1.6rem, 6vw, 5.75rem); }
.editorial-copy { max-width: 65ch; color: var(--secondary); line-height: 1.72; }
.editorial-copy p + p, .contact-text p + p { margin-top: 1em; }
.about-portrait { width: min(100%, 16rem); margin: 0; justify-self: center; }
.about-portrait img { display: block; width: 100%; height: auto; }
.about-skills { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.5fr); gap: 1rem clamp(1.5rem, 5vw, 4rem); margin-top: clamp(1.75rem, 4vw, 3rem); padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.about-skills h3 { max-width: 16ch; }
.coral-list { display: grid; gap: .53rem 1.65rem; margin: 0; padding: 0; list-style: none; color: var(--secondary); }
.about-skills .coral-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.coral-list li { display: flex; align-items: baseline; gap: .65rem; }
.coral-list li::before { content: ''; width: .34rem; height: .34rem; flex: 0 0 auto; align-self: start; margin-top: .63em; background: var(--coral); }
.pricing-topics { padding-inline-start: clamp(1rem, 3vw, 2rem); border-inline-start: 1px solid var(--rule); }
.pricing-topics h3 { margin-bottom: .85rem; }
.pricing-layout .contact-link { margin-top: 1.35rem; }
.contact { margin-block: clamp(3.3rem, 7vw, 6.55rem) clamp(3.3rem, 7vw, 6rem); border: 1px solid var(--rule); padding: clamp(1.25rem, 5vw, 3.7rem); background: var(--surface); }
.contact h2 { max-width: 22ch; margin-top: .85rem; font-size: clamp(1.9rem, 4vw, 3.85rem); }
.contact-text { max-width: 56ch; margin-block: 1rem 1.5rem; color: var(--secondary); line-height: 1.65; }
.contact-link { display: inline-flex; min-height: 2.75rem; max-width: 100%; align-items: center; gap: .6rem; border: 1px solid var(--coral); padding: .52rem .78rem; overflow-wrap: anywhere; font-size: .9375rem; font-weight: 650; color: var(--coral); transition: background-color .16s ease, color .16s ease; }
.contact-link:hover { background: var(--coral); color: var(--carbon); }
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; min-height: 4.4rem; gap: 1rem; color: var(--secondary); font-size: .875rem; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 2.75rem; }

@media (max-width: 49rem) {
  :root { --header-height: 5.55rem; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .6rem; row-gap: 0; padding-top: .26rem; }
  .brand { min-width: 0; max-width: 100%; justify-self: start; }
  .volume { grid-area: 1 / 2; width: 6.8rem; padding-inline-start: .25rem; }
  nav { grid-area: 2 / 1 / 3 / 3; flex-wrap: wrap; justify-content: space-between; gap: 0 .5rem; margin: 0; border-top: 1px solid var(--rule); }
  nav a { min-height: 2.55rem; }
  .intro { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .intro-text { max-width: 38ch; }
  .about-skills { grid-template-columns: minmax(0, 1fr); }
  .about-skills h3 { max-width: none; }
}

@media (max-width: 38rem) {
  .adaptive-layout { grid-template-columns: minmax(0, 1fr); }
  .genre-grid, .text-section, .about-layout, .pricing-layout, .about-skills .coral-list { grid-template-columns: minmax(0, 1fr); }
  .genre-art { height: clamp(6.4rem, 25vw, 9.1rem); }
  .about-portrait { justify-self: start; width: min(72%, 14rem); }
  .pricing-topics { padding-inline-start: 0; border-inline-start: 0; }
  .seek { height: 2rem; }
  .brand { font-size: 1.0625rem; }
  .brand-logo { width: 2.7rem; height: 2.7rem; }
}

@media (max-width: 22rem) {
  .adaptive-controls { padding-inline: .55rem; }
  .state-choices { gap: .25rem; }
  .state-choices button { padding-inline: .25rem; }
  .brand { gap: .35rem; }
  nav { column-gap: .2rem; }
  nav a { font-size: .775rem; }
  .volume { width: 5.6rem; }
  .player-transport { gap: .65rem; }
  .contact-link { gap: .45rem; padding-inline: .58rem; font-size: .875rem; }
  .contact-link .icon { width: 1rem; height: 1rem; }
}

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