@font-face {
  font-family: Barlow Condensed;
  src: url("/assets/barlow-condensed-800.woff2") format("woff2");
  font-display: swap;
  font-weight: 800;
}
@font-face {
  font-family: IBM Plex Sans Thai;
  src: url("/assets/plex-latin-400.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: IBM Plex Sans Thai;
  src: url("/assets/plex-thai-400.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC;
}
:root {
  color-scheme: dark;
  --surface: #0d0c11;
  --panel: #18161e;
  --line: #35303d;
  --text: #fbf9fd;
  --muted: #c4bdcd;
  --acid: #d6fc48;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "IBM Plex Sans Thai", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--text); font: 1rem/1.55 var(--body); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-inline-size: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 5px; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus { position: fixed; inset: 10px auto auto 10px; background: var(--acid); color: var(--surface); padding: 12px; z-index: 10; }
.shell { width: min(1240px, calc(100% - clamp(36px, 9.5vw, 144px))); margin-inline: auto; }
.site-header { background: #100e15; border-bottom: 1px solid #292430; }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.85rem/.9 var(--display); letter-spacing: .035em; flex-shrink: 0; }
.brand-accent { color: var(--acid); margin-left: .12em; }
.brand-mark { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; gap: 3px; background: var(--acid); transform: skew(-8deg); }
.brand-mark i { display: block; width: 2px; height: 9px; background: #191321; }
.brand-mark i:nth-child(2) { height: 16px; }
.brand-mark i:nth-child(3) { height: 20px; }
.brand-mark i:nth-child(4) { height: 12px; }
nav { display: flex; align-items: center; gap: clamp(16px, 3.5vw, 46px); }
nav a { color: var(--muted); padding-block: 10px; white-space: nowrap; }
nav a:hover, .about a:hover { color: var(--acid); }

.hero { isolation: isolate; position: relative; min-height: clamp(560px, 49vw, 730px); display: grid; align-items: center; border-bottom: 1px solid #514066; background: #1b1229; overflow: hidden; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-fit: cover; object-position: center 56%; }
.hero::after { content: ""; background: linear-gradient(90deg, #100d19e8 0%, #100d1995 33%, #100d1910 74%), linear-gradient(0deg, #0d0c11a8 0%, transparent 29%); }
.hero-content { padding-block: 84px 95px; }
.hero-copy { max-width: 660px; }
.kicker { color: var(--acid); font-size: .875rem; letter-spacing: .19em; display: flex; align-items: center; gap: 12px; }
.kicker span { width: 25px; height: 1px; background: var(--acid); }
h1 { font: 800 clamp(5.8rem, 12vw, 11.3rem)/.78 var(--display); letter-spacing: -.025em; margin: 24px 0 27px; }
h1 em { color: var(--acid); font-style: normal; }
.hero-copy > p:not(.kicker) { font-size: clamp(1rem, 1.5vw, 1.22rem); color: #e9e1ef; }
.listen-button { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; min-height: 52px; padding: 0 23px; background: var(--acid); color: #13101a; font-weight: bold; transition: background-color .18s; }
.listen-button:hover { background: #ecffa3; }
.icon-play { display: inline-block; background: currentColor; width: .78em; height: .88em; clip-path: polygon(0 0,100% 50%,0 100%); }
.icon-pause { display: inline-block; width: .65em; height: .86em; border-inline: .19em solid currentColor; }
.icon-skip { display: inline-block; position: relative; width: .8em; height: .79em; border-right: .13em solid currentColor; }
.icon-skip::before { content: ""; display: block; height: 100%; background: currentColor; clip-path: polygon(0 0,100% 50%,0 100%); }
.icon-skip.previous { transform: rotate(180deg); }

.tracks { padding-block: clamp(52px, 7vw, 96px); }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 19px; margin-bottom: 26px; }
.section-heading h2, .about h2 { font: 800 clamp(3.2rem, 7vw, 6.3rem)/.86 var(--display); letter-spacing: -.012em; }
.section-heading p, .about p { margin-top: 12px; color: var(--muted); }
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filters button { background: transparent; color: var(--muted); border: 1px solid var(--line); padding: 6px 14px; font-size: .925rem; min-height: 42px; transition: border-color .18s, color .18s; }
.filters button:hover { border-color: var(--acid); color: var(--text); }
.filters button[aria-pressed="true"] { color: var(--surface); border-color: var(--acid); background: var(--acid); }
.track-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(13px, 1.9vw, 27px); }
.track-card { min-width: 0; background: var(--panel); border: 1px solid var(--line); }
.track-card[data-genre="house"] { --track-color: #c9a1ff; --cover-background: #30105a; }
.track-card[data-genre="bass"] { --track-color: #d6fc48; --cover-background: #27330b; }
.track-card[data-genre="trance"] { --track-color: #ff9c9f; --cover-background: #411521; }
.cover { overflow: hidden; aspect-ratio: 1.48; background: var(--cover-background); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.track-card:hover .cover img { transform: scale(1.04); }
.track-info { display: flex; align-items: center; justify-content: space-between; padding: clamp(12px, 1.75vw, 24px); gap: 10px; }
.track-genre { color: var(--track-color); font-size: .875rem; letter-spacing: .055em; white-space: nowrap; }
.track-genre span { padding-inline: .15em; }
.track-info h3 { margin-top: 3px; font: 800 clamp(1.6rem, 3vw, 2.9rem)/.95 var(--display); }
.track-play, .filters { display: none; }
.has-player .filters { display: flex; }
.has-player .track-play, .player-controls button { display: inline-grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: #17141e; color: var(--text); }
.track-play .icon-play, .player-toggle .icon-play { margin-left: .14em; }
.track-play:hover, .track-play[data-playing] { border-color: var(--track-color); color: var(--track-color); }
.track-card audio { width: calc(100% - 24px); margin: 0 12px 12px; }
.has-player .track-card audio { display: none; }

.about { background: #15111e; border-top: 1px solid var(--line); }
.about-inner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; padding-block: 42px; }
.about h2 { font-size: clamp(2.65rem, 6vw, 4.6rem); }
.about h2 span { color: var(--acid); margin-left: .08em; }
.about a { text-decoration: underline; text-underline-offset: .23em; color: var(--muted); }
body.player-open { padding-bottom: calc(79px + env(safe-area-inset-bottom)); }
.player { position: fixed; inset: auto 0 0; z-index: 5; background: #17141ef7; border-top: 1px solid #4a3c60; padding-bottom: env(safe-area-inset-bottom); }
.player-inner { min-height: 78px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; }
.player-track { display: flex; align-items: center; gap: 11px; min-width: 0; }
.player-track img { width: 48px; height: 48px; object-fit: cover; }
.player-track strong { display: block; font: 800 1.38rem/1.02 var(--display); }
.player-label { color: var(--muted); font-size: .8125rem; }
.player-controls, .player-progress { display: flex; gap: 10px; align-items: center; }
.player-controls button { border-color: transparent; }
.player-controls button:hover { border-color: var(--acid); }
.player-controls .player-toggle { background: var(--acid); color: #13101a; }
.player-progress span { font-variant-numeric: tabular-nums; font-size: .875rem; }
.player-progress input { min-width: 0; width: 100%; accent-color: var(--acid); cursor: pointer; }
@media (max-width: 740px) {
  .header-inner { min-height: 64px; }
  .hero { min-height: 580px; }
  .hero-image { object-position: 62% center; }
  .hero::after { background: linear-gradient(90deg, #120d1bdc, #120d1b4d 83%), linear-gradient(0deg, #0d0c11a8 0%, transparent 45%); }
  .wide-break { display: none; }
  .hero-copy > p:not(.kicker) { max-width: 28ch; }
  .track-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-inner { gap: 0 12px; grid-template-columns: minmax(0, 1fr) auto; padding-block: 8px 5px; }
  .player-progress { grid-column: 1 / -1; min-height: 26px; }
  .player-track img { width: 40px; height: 40px; }
  body.player-open { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
}
@media (max-width: 480px) {
  .brand { font-size: 1.48rem; gap: 7px; }
  .brand-mark { width: 23px; height: 23px; }
  nav a { font-size: .875rem; }
  .hero { min-height: 520px; }
  h1 { font-size: clamp(4.8rem, 17.5vw, 6.4rem); }
  .track-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.playback-error {
  position: fixed;
  inset: auto 12px calc(92px + env(safe-area-inset-bottom)) auto;
  z-index: 6;
  max-width: calc(100% - 24px);
  border: 1px solid #ff9c9f;
  background: var(--panel);
  padding: 10px 15px;
}
