@font-face {
  font-display: swap;
  font-family: "Syne Artist";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/syne-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-display: swap;
  font-family: "Changa One Artist";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/changa-one-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-display: swap;
  font-family: "Abril Fatface Artist";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/abril-fatface-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --night: #07090d;
  --panel: #171c24;
  --cream: #f5efe0;
  --muted: #aab1b2;
  --line: rgba(245, 239, 224, .16);
  --gold: #caa34a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--cream); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.genre-page {
  background: radial-gradient(circle at 85% 5%, rgba(179, 82, 100, .2), transparent 25%),
    radial-gradient(circle at 10% 28%, rgba(11, 123, 111, .17), transparent 28%),
    linear-gradient(180deg, var(--night), #10141b 50%, #0d1016);
  min-height: 100vh;
}
.genre-header {
  align-items: center;
  background: rgba(7, 9, 13, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 54px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.genre-brand { font-size: 16px; font-weight: 800; text-decoration: none; }
.genre-header nav { display: flex; flex-wrap: wrap; gap: 4px; }
.genre-header nav a { border-radius: 6px; color: #cbd1d0; font-size: 14px; font-weight: 700; padding: 9px 11px; text-decoration: none; }
.genre-header nav a:hover { background: rgba(245, 239, 224, .09); color: var(--cream); }
.genre-hero { padding: clamp(40px, 7vw, 92px) clamp(18px, 4vw, 54px) clamp(55px, 8vw, 110px); }
.genre-hero-inner, .genre-section-inner { margin: 0 auto; max-width: 1340px; }
.genre-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0 0 clamp(42px, 6vw, 80px); padding: 0; }
.genre-breadcrumb li { color: var(--muted); font-size: 13px; }
.genre-breadcrumb li + li::before { color: #8f9999; content: '/'; margin-right: 9px; }
.genre-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.genre-breadcrumb [aria-current="page"] { color: var(--gold); font-weight: 700; }
.genre-kicker { color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.genre-hero h1 { font-size: clamp(76px, 14vw, 180px); letter-spacing: -.07em; line-height: .9; margin: 18px 0 30px; }
.genre-hero p:last-child { color: #d0d6d4; font-size: clamp(17px, 2vw, 22px); line-height: 1.8; max-width: 700px; }
.genre-section { padding: clamp(44px, 6vw, 80px) clamp(18px, 4vw, 54px); scroll-margin-top: 90px; }
.genre-section--artists { background: rgba(23, 28, 36, .5); }
.genre-section-heading { align-items: end; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 26px; }
.genre-section-heading .genre-kicker { margin: 0 0 10px; }
.genre-section h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.08; margin: 0; }
.genre-scroll-hint { color: var(--muted); font-size: 13px; white-space: nowrap; }
.genre-scroll-hint span { color: var(--gold); font-size: 20px; margin-left: 5px; }
.genre-carousel {
  display: flex;
  gap: 12px;
  margin-inline: calc(clamp(18px, 4vw, 54px) * -1);
  overflow-x: auto;
  padding: 0 clamp(18px, 4vw, 54px) 10px;
  scroll-padding-inline: clamp(18px, 4vw, 54px);
  scroll-snap-type: x proximity;
}
.genre-carousel::-webkit-scrollbar { height: 10px; }
.genre-carousel::-webkit-scrollbar-track { background: rgba(245, 239, 224, .06); border-radius: 999px; }
.genre-carousel::-webkit-scrollbar-thumb { background: rgba(202, 163, 74, .7); border-radius: 999px; }
.genre-entity-card {
  align-content: end;
  background: #15221f;
  border: 1px solid rgba(202, 163, 74, .52);
  border-radius: 8px;
  color: #fff8e6;
  display: grid;
  flex: 0 0 clamp(280px, 32vw, 430px);
  gap: 8px;
  isolation: isolate;
  min-height: 230px;
  overflow: hidden;
  padding: 18px;
  position: relative;
  scroll-snap-align: start;
  text-decoration: none;
}
.genre-entity-card::before { background: linear-gradient(115deg, rgba(8, 42, 38, .74), rgba(12, 63, 57, .4)); content: ''; inset: 0; position: absolute; z-index: 1; }
.genre-entity-card--mask-burgundy::before { background: linear-gradient(115deg, rgba(73, 13, 35, .94), rgba(128, 33, 55, .62)); }
.genre-entity-card--mask-indigo::before { background: linear-gradient(115deg, rgba(18, 24, 66, .94), rgba(45, 61, 112, .62)); }
.genre-entity-card--mask-gold-black::before { background: linear-gradient(115deg, rgba(18, 17, 12, .95), rgba(126, 92, 26, .58)); }
.genre-entity-card__background { filter: saturate(.68) contrast(1.08); height: 100%; inset: 0; object-fit: cover; position: absolute; transform: scale(1.02); transition: filter .3s ease, transform .45s ease; width: 100%; }
.genre-entity-card--focus-left .genre-entity-card__background { object-position: left center; }
.genre-entity-card--focus-right .genre-entity-card__background { object-position: right center; }
.genre-entity-card:hover .genre-entity-card__background { filter: saturate(.84) contrast(1.1); transform: scale(1.055); }
.genre-entity-card__eyebrow, .genre-entity-card__name, .genre-entity-card__subtitle { position: relative; z-index: 2; }
.genre-entity-card__eyebrow { color: #f1c867; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.genre-entity-card__name { font-size: 34px; line-height: 1.14; overflow-wrap: anywhere; text-shadow: 0 3px 18px rgba(0, 0, 0, .48); }
.genre-entity-card__subtitle { color: #f0ece2; font-size: 16px; font-weight: 700; line-height: 1.55; }
.genre-entity-card--font-groove-serif .genre-entity-card__name { font-family: "Bodoni 72", Didot, Georgia, serif; font-style: italic; }
.genre-entity-card--font-classic-serif .genre-entity-card__name { font-family: Didot, Georgia, serif; }
.genre-entity-card--font-modern-sans .genre-entity-card__name { font-weight: 650; }
.genre-entity-card--font-modern-display .genre-entity-card__name { font-family: "Syne Artist", "Avenir Next", Inter, sans-serif; font-weight: 700; }
.genre-entity-card--font-funk-display .genre-entity-card__name { font-family: "Changa One Artist", "Avenir Next", Inter, sans-serif; font-weight: 400; }
.genre-entity-card--font-abril-fatface .genre-entity-card__name { color: #fff7e8; font-family: "Abril Fatface Artist", Georgia, serif; font-size: 34px; font-style: normal; font-weight: 400; line-height: .96; text-shadow: 0 2px 15px rgba(0, 0, 0, .48); }
.genre-article-card { align-content: start; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 34px rgba(0, 0, 0, .22); display: grid; flex: 0 0 clamp(280px, 32vw, 430px); gap: 14px; padding: 14px; scroll-snap-align: start; text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.genre-article-card:hover { border-color: rgba(202, 163, 74, .65); transform: translateY(-2px); }
.genre-article-card img { aspect-ratio: 16 / 10; border-radius: 7px; object-fit: cover; width: 100%; }
.genre-card-type { color: var(--gold); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.genre-article-card h3 { font-size: 22px; line-height: 1.24; margin: 0; }
.genre-card-action { align-self: end; border: 1px solid var(--line); border-radius: 6px; color: var(--cream); font-size: 13px; font-weight: 700; justify-self: start; margin-top: 8px; padding: 10px 14px; }
.genre-card-action span { color: var(--gold); margin-left: 8px; }
.genre-empty { border: 1px dashed var(--line); color: var(--muted); padding: 26px; }
@media (max-width: 620px) {
  .genre-header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .genre-header nav a { font-size: 13px; padding: 8px; }
  .genre-section { scroll-margin-top: 120px; }
  .genre-section-heading { align-items: start; flex-direction: column; gap: 5px; }
  .genre-carousel .genre-entity-card, .genre-carousel .genre-article-card { flex-basis: min(86vw, 360px); }
}
