/* ============================================================
   Hominy House - Stoner Rock & Doom Metal
   Single stylesheet. Dark, minimal, heavy.
   ============================================================ */

@font-face {
  font-family: "HemiHead";
  src: url("fonts/HemiHead-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "LSD Party Club";
  src: url("fonts/LSD Party Club.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette lifted from the hand-drawn "Hominy House" artwork:
     burnt orange, amber and warm cream on a scorched canvas. */
  --bg:          #0a0806;
  --bg-soft:     #141009;
  --panel:       rgba(28, 20, 12, 0.6);
  --panel-line:  rgba(244, 190, 120, 0.16);
  --text:        #f6ead2;
  --text-dim:    #b9a684;
  --accent:      #e2571c;      /* burnt hominy orange */
  --accent-2:    #f2b03c;      /* amber / candle glow */
  --accent-3:    #8f2f10;      /* deep rust           */
  --accent-soft: rgba(226, 87, 28, 0.16);
  --radius:      18px;
  --maxw:        1180px;
  --banner-h:    77px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --font-display:"Space Grotesk", system-ui, sans-serif;
  --font-body:   "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  padding-top: var(--banner-h);
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Fixed "Hominy House" canvas: the hand-drawn logo is the page
        texture, with the old alien art soft-lit underneath it ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    url("images/HH_Vol1.png") center / cover no-repeat,
    url("images/hominy%20logo.jpg") center 32% / cover no-repeat;
  background-blend-mode: soft-light, normal;
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.06) brightness(0.72);
}

/* Warm scorched-canvas overlays keep the art readable behind content */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(130% 95% at 50% 0%, rgba(10,8,6,0.5) 0%, rgba(10,8,6,0.86) 55%, var(--bg) 100%),
    linear-gradient(180deg, rgba(10,8,6,0.72) 0%, rgba(30,16,6,0.42) 45%, rgba(10,8,6,0.94) 100%);
}

::selection { background: var(--accent); color: #0a0a0c; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* Invisible anchor pinned to the absolute top of the document so the Home
   links scroll all the way up, past the fixed banner. */
.page-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* ============================================================
   Banner
   ============================================================ */

.banner {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 44px);
  background: rgba(8, 8, 11, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--panel-line);
  transition: background 0.3s var(--ease);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__logo {
  width: auto;
  height: 48px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 90, 31, 0.35));
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.brand:hover .brand__logo {
  transform: rotate(-4deg) scale(1.06);
  filter: drop-shadow(0 0 22px rgba(255, 90, 31, 0.75));
}

.brand__name {
  font-family: "LSD Party Club", var(--font-display), system-ui, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 0%, #fff6e6 25%, #f2b03c 50%, #e2571c 85%, #8f2f10 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 8px rgba(255, 176, 32, 0.3), 0 0 16px rgba(255, 90, 31, 0.2), 0 3px 0 rgba(226, 87, 28, 0.2);
  animation: brandShimmer 6s ease-in-out infinite;
}

@keyframes brandShimmer {
  0%, 100% {
    text-shadow: 0 0 8px rgba(255, 176, 32, 0.3), 0 0 20px rgba(255, 90, 31, 0.2);
  }
  50% {
    text-shadow: 0 0 16px rgba(255, 176, 32, 0.75), 0 0 34px rgba(255, 90, 31, 0.5);
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.6vw, 8px);
}

/* Header nav links, styled as pills to match the Hominypedia sub-navigation. */
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-dim);
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--panel-line);
}
.nav__link--active,
.nav__link[aria-current="page"] {
  color: #0a0a0c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  font-weight: 700;
}
.nav__link--active:hover,
.nav__link[aria-current="page"]:hover {
  color: #0a0a0c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

/* ---- "New" flag on the Hominypedia nav button ---- */
.nav__new {
  position: absolute;
  top: -6px;
  right: -7px;
  padding: 1px 5px;
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  color: #0a0a0c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  box-shadow: 0 0 0 2px #0a0a0c, 0 2px 8px rgba(255, 90, 31, 0.45);
  pointer-events: none;
}
.nav__link[aria-current="page"] .nav__new {
  color: var(--accent-2);
  background: #0a0a0c;
  box-shadow: 0 0 0 2px rgba(226, 87, 28, 0.85);
}

.nav__link--cta {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  padding: 9px 22px;
  color: rgba(255, 226, 204, 0.92);
  background: rgba(255, 106, 40, 0.22);
  font-weight: 600;
  border: 1px solid rgba(255, 140, 60, 0.35);
  box-shadow: none;
}
.nav__link--cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 176, 32, 0.22) 40%,
              rgba(255, 245, 220, 0.5) 50%, rgba(255, 176, 32, 0.22) 60%, transparent 100%);
  transform: skewX(-20deg);
  animation: btnShimmer 3.6s ease-in-out infinite;
  pointer-events: none;
}
.nav__link--cta:hover {
  background: rgba(255, 120, 50, 0.34);
  border-color: rgba(255, 150, 70, 0.55);
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--panel-line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Layout helpers
   ============================================================ */

main {
  position: relative;
  z-index: 1;
}

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 11vw, 130px) clamp(20px, 5vw, 44px);
  /* keep the heading clear of the fixed banner when reached from the nav */
  scroll-margin-top: calc(var(--banner-h) + 18px);
}

/* Pulls a section closer to the one above it */
.section--tight { padding-top: clamp(16px, 2.5vw, 40px); }
/* Pulls the following section closer to this one */
.section--tight-bottom { padding-bottom: clamp(16px, 2.5vw, 40px); }

.section__head { margin-bottom: clamp(28px, 5vw, 52px); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.section__sub {
  margin: 0;
  color: var(--text-dim);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
}

/* Recommendations header: title + "jump to a review" dropdown */
.section__head--recs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.rec-jump {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}
.rec-jump__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Closed control: pill, dark panel, blur, amber chevron */
.rec-jump__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
  text-align: left;
  color: var(--text);
  background: rgba(28, 20, 12, 0.72);
  border: 1px solid var(--panel-line);
  border-radius: 999px;
  padding: 10px 42px 10px 18px;
  cursor: pointer;
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.rec-jump__trigger:hover {
  border-color: rgba(255, 90, 31, 0.4);
  background: rgba(38, 26, 16, 0.8);
}
.rec-jump__trigger[aria-expanded="true"] {
  border-color: rgba(255, 90, 31, 0.55);
  background: rgba(38, 26, 16, 0.85);
}
.rec-jump__trigger:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}
.rec-jump__trigger::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
  pointer-events: none;
}
.rec-jump__trigger[aria-expanded="true"]::after {
  transform: translateY(-30%) rotate(-135deg);
}
.rec-jump__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Panel: two-line rows - date + album on the first line, artist beneath,
   so long review titles never widen the control or the page. */
.rec-jump__menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--panel-line);
  border-radius: 16px;
  background: rgba(16, 11, 7, 0.94);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(242, 176, 60, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  /* visibility flips to visible immediately when opening (so a focused option
     can receive focus) but waits for the fade-out before hiding again. */
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
              visibility 0s linear 0.25s;
}
.rec-jump__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
              visibility 0s;
}
.rec-jump__option {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 12px;
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.rec-jump__option:hover,
.rec-jump__option:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}
.rec-jump__option[aria-selected="true"] { background: var(--accent-soft); }
.rec-jump__line1 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.rec-jump__date {
  flex: none;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-2);
}
.rec-jump__album {
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}
.rec-jump__artist {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  min-height: min(calc(100svh - var(--banner-h)), 680px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 8vh, 90px) clamp(20px, 5vw, 44px) clamp(24px, 4vh, 52px);
}

/* Homepage track chart: tucked up close under the hero, just below the playlist
   embeds and the floating artwork. */
#tracklist { padding-top: clamp(6px, 1.2vw, 16px); }

/* Short intro blurb that sits above the Volume 1 track chart. */
.mix-blurb {
  margin: 0 0 14px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.mix-blurb__label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.mix-blurb p { margin: 0; color: var(--text-dim); }

.hero__inner { max-width: 620px; }

/* Centered column holding the click hint + the artwork */
.hero__art-col {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__art-hint {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  transition: color 0.3s var(--ease);
}
.hero__art-col:hover .hero__art-hint { color: var(--accent-2); }

/* Hominy House artwork — the site's signature, with no frame/border */
.hero__art {
  position: relative;
  justify-self: center;
  margin: 0;
  width: min(42vw, 450px);
  aspect-ratio: 1 / 1;
  perspective: 1600px;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.7),
    0 0 70px rgba(242, 176, 60, 0.3);
  animation: hominyFloat 9s ease-in-out infinite;
}
.hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 30% 18%, rgba(255, 236, 200, 0.18), transparent 46%);
  pointer-events: none;
}
.hero__art-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease);
}
.hero__art.is-flipped .hero__art-inner { transform: rotateY(180deg); }

.hero__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.6s var(--ease);
}
.hero__logo--front { transform: none; }
.hero__logo--back  { transform: rotateY(180deg); }
.hero__art:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 6px; }

@keyframes hominyFloat {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50%      { transform: translateY(-14px) rotate(0.6deg); }
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero__title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 3.2vw, 2.25rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin: 0 0 26px;
  background: linear-gradient(180deg, #fff6e6 0%, #f0d3a1 58%, #c07a34 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(242, 176, 60, 0.25);
}

.hero__text {
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 0 36px;
}
.text-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 176, 32, 0.55);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.25s var(--ease);
}
.text-link:hover { text-decoration-color: var(--accent-2); }

/* Spotify playlist embed that replaces the old intro paragraph.
   Framed like the hero artwork so it sits naturally beside the floating cover. */
.hero__playlist {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 0 16px;
  padding: 10px;
  border: 1px solid var(--panel-line);
  border-radius: 18px;
  background: var(--panel);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.5), 0 0 44px rgba(242, 176, 60, 0.14);
  overflow: hidden;
}
.hero__playlist iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 152px;
  border: 0;
  border-radius: 12px;
}

/* YouTube playlist list, stacked under the Spotify embed.
   Compact + scrollable so all the tracks are reachable without taking over the hero. */
.hero__youtube {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 0 6px;
  padding: 12px 14px 10px;
  border: 1px solid var(--panel-line);
  border-radius: 18px;
  background: var(--panel);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.5), 0 0 44px rgba(242, 176, 60, 0.14);
  overflow: hidden;
}
.hero__yt-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.hero__yt-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.hero__yt-link {
  flex: none;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.25s var(--ease);
}
.hero__yt-link:hover { color: var(--accent-2); }

.hero__yt-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 176px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 90, 31, 0.5) transparent;
  -webkit-overflow-scrolling: touch;
}
.hero__yt-list::-webkit-scrollbar { width: 8px; }
.hero__yt-list::-webkit-scrollbar-track { background: transparent; }
.hero__yt-list::-webkit-scrollbar-thumb { background: rgba(255, 90, 31, 0.4); border-radius: 8px; }
.hero__yt-list::-webkit-scrollbar-thumb:hover { background: rgba(255, 90, 31, 0.7); }

.hero__yt-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 10px;
  font-size: 0.86rem;
  color: var(--text-dim);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.hero__yt-item:hover { background: rgba(255, 255, 255, 0.045); color: var(--text); }
.hero__yt-play {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(226, 87, 28, 0.18);
  border: 1px solid rgba(255, 140, 60, 0.4);
  box-shadow: 0 0 8px rgba(255, 90, 31, 0.3);
}
.hero__yt-play::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent var(--accent-2);
}
.hero__yt-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn--primary {
  color: #0a0a0c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px rgba(255, 90, 31, 0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 42px rgba(255, 90, 31, 0.55);
}
.btn--ghost {
  color: var(--text);
  background: rgba(255,255,255,0.03);
  border-color: var(--panel-line);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.07);
}

/* ===== Hero CTA refinements ===== */
/* "Release Radar" - light with shimmer (matches "Get Notified") */
.hero__actions .btn--primary {
  position: relative;
  overflow: hidden;
  color: rgba(255, 226, 204, 0.92);
  background: rgba(255, 106, 40, 0.22);
  border: 1px solid rgba(255, 140, 60, 0.35);
  box-shadow: none;
}
.hero__actions .btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 176, 32, 0.22) 40%,
              rgba(255, 245, 220, 0.5) 50%, rgba(255, 176, 32, 0.22) 60%, transparent 100%);
  transform: skewX(-20deg);
  animation: btnShimmer 3.6s ease-in-out infinite;
  pointer-events: none;
}
.hero__actions .btn--primary:hover {
  background: rgba(255, 120, 50, 0.34);
  border-color: rgba(255, 150, 70, 0.55);
  transform: translateY(-2px);
}

/* "Latest News" - same dim orange, shimmering */
.hero__actions .btn--ghost {
  position: relative;
  overflow: hidden;
  color: rgba(255, 226, 204, 0.92);
  background: rgba(255, 106, 40, 0.22);
  border: 1px solid rgba(255, 140, 60, 0.35);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hero__actions .btn--ghost::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 176, 32, 0.25) 40%,
              rgba(255, 245, 220, 0.55) 50%, rgba(255, 176, 32, 0.25) 60%, transparent 100%);
  transform: skewX(-20deg);
  animation: btnShimmer 3.4s ease-in-out infinite;
  pointer-events: none;
}
.hero__actions .btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 150, 70, 0.55);
  background: rgba(255, 120, 50, 0.34);
}
@keyframes btnShimmer {
  0%        { left: -70%; }
  55%, 100% { left: 130%; }
}

/* ============================================================
   Featured
   ============================================================ */

.feature-card {
  position: relative;
  /* keep the card clear of the fixed top banner when scrolled to via the dropdown */
  scroll-margin-top: calc(var(--banner-h) + 18px);
  overflow: hidden;
  border: 1px solid var(--panel-line);
  border-radius: calc(var(--radius) + 8px);
  background: var(--panel);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: clamp(16px, 2.4vw, 30px);
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.feature-card:hover { border-color: rgba(255, 90, 31, 0.4); }

.feature-card__cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  transition: transform 0.6s var(--ease);
}
.feature-card:hover .feature-card__cover { transform: scale(1.03) rotate(-1deg); }

.feature-card__body { position: relative; }

.feature-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 12px 0 8px;
}
.feature-card__meta {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--accent-2);
  margin: 0 0 2px;
}
.feature-card__text {
  color: var(--text-dim);
  margin: 0 0 16px;
}
.feature-card__link {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.25s var(--ease);
}
.feature-card__link:hover { color: var(--accent-2); }
/* Date on its own row directly under the band / year / tracks line */
.feature-card__date {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

/* ===== Hominy rating (little glowing corn kernels) ===== */
.hominy-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 2px 0 2px;
}
.hominy {
  width: 16px;
  height: 13px;
  display: inline-block;
  border-radius: 56% 44% 52% 48% / 62% 58% 42% 38%;
  background: radial-gradient(circle at 34% 28%, #6a655c, #3a3733 70%, #232020 100%);
  opacity: 0.4;
  transform: rotate(var(--homy-rot, 0deg));
}
.hominy--on {
  opacity: 1;
  background: radial-gradient(circle at 34% 28%, #fff8e6 0%, #ffd479 50%, #ff9a2e 100%);
  box-shadow: 0 0 6px rgba(255, 176, 32, 0.45), 0 0 12px rgba(255, 90, 31, 0.28);
  animation: hominyWiggle 2.6s ease-in-out infinite;
}
/* Half kernel for .5 scores */
.hominy--half {
  opacity: 1;
  background: linear-gradient(90deg, #fff8e6 0%, #ffd479 25%, #ff9a2e 50%, #3a3733 50%, #232020 100%);
  box-shadow: 0 0 6px rgba(255, 176, 32, 0.4), 0 0 12px rgba(255, 90, 31, 0.24);
  animation: hominyWiggle 2.6s ease-in-out infinite;
}
.hominy:nth-child(1)  { --homy-rot: -10deg; animation-delay: 0s; }
.hominy:nth-child(2)  { --homy-rot: 6deg;   animation-delay: 0.15s; }
.hominy:nth-child(3)  { --homy-rot: -4deg;  animation-delay: 0.3s; }
.hominy:nth-child(4)  { --homy-rot: 9deg;   animation-delay: 0.45s; }
.hominy:nth-child(5)  { --homy-rot: -6deg;  animation-delay: 0.6s; }
.hominy:nth-child(6)  { --homy-rot: 7deg;   animation-delay: 0.75s; }
.hominy:nth-child(7)  { --homy-rot: -8deg;  animation-delay: 0.9s; }
.hominy:nth-child(8)  { --homy-rot: 5deg;   animation-delay: 1.05s; }
.hominy:nth-child(9)  { --homy-rot: -5deg;  animation-delay: 1.2s; }
.hominy:nth-child(10) { --homy-rot: 10deg;  animation-delay: 1.35s; }

@keyframes hominyWiggle {
  0%, 100% { transform: rotate(calc(var(--homy-rot, 0deg) - 7deg)) translateY(0); }
  50%      { transform: rotate(calc(var(--homy-rot, 0deg) + 7deg)) translateY(-2px); }
}
.hominy-rating__label {
  margin-left: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.rating { display: flex; align-items: center; gap: 16px; }
.rating__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}
.rating__bars { display: flex; gap: 5px; }
.rating__bars span {
  width: 22px; height: 8px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(255, 90, 31, 0.5);
}
.rating__bars span.dim {
  background: rgba(255,255,255,0.12);
  box-shadow: none;
}

/* ============================================================
   Tags
   ============================================================ */

.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 12px;
  border: 1px solid var(--panel-line);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}
.tag--accent {
  color: var(--accent-2);
  border-color: rgba(255, 90, 31, 0.4);
  background: var(--accent-soft);
}

/* ============================================================
   Review grid / cards
   ============================================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
/* Space between stacked Recommendations album cards */
.feature-card + .feature-card { margin-top: clamp(12px, 2vw, 18px); }

.card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease),
              box-shadow 0.45s var(--ease);
}
/* Cursor-following orange glow, shared by every container/box on the site
   (cards, News, Release Radar, Recommendations and the Subscribe box). */
.card::before,
.news::before,
.releases::before,
.feature-card::before,
.subscribe__box::before,
.hero__playlist::before,
.hero__youtube::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%),
              rgba(255, 90, 31, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 90, 31, 0.35);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.card:hover::before,
.news:hover::before,
.releases:hover::before,
.feature-card:hover::before,
.subscribe__box:hover::before,
.hero__playlist:hover::before,
.hero__youtube:hover::before { opacity: 1; }

.card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 16px 0 4px;
}
.card__meta {
  font-size: 0.82rem;
  color: var(--accent-2);
  margin: 0 0 12px;
  letter-spacing: 0.03em;
}
.card__text {
  color: var(--text-dim);
  font-size: 0.94rem;
  margin: 0 0 20px;
}
.card__link {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.25s var(--ease);
}
.card__link:hover { color: var(--accent-2); }

.card__text--muted { opacity: 0.65; font-size: 0.86rem; margin-top: -8px; }
.card__link--muted {
  color: var(--text-dim);
  cursor: default;
  opacity: 0.8;
}
.card__link--muted:hover { color: var(--text-dim); }

/* ============================================================
   News
   ============================================================ */

.news {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: clamp(460px, 64vh, 720px);
  overflow-y: auto;
  padding: 8px 10px;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 90, 31, 0.5) transparent;
  mask-image: linear-gradient(180deg, #000 0%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 94%, transparent 100%);
}
.news::-webkit-scrollbar { width: 8px; }
.news::-webkit-scrollbar-track { background: transparent; }
.news::-webkit-scrollbar-thumb { background: rgba(255, 90, 31, 0.4); border-radius: 8px; }
.news::-webkit-scrollbar-thumb:hover { background: rgba(255, 90, 31, 0.7); }

.news__item {
  display: grid;
  grid-template-columns: auto 96px 1fr;
  align-items: start;
  gap: 14px;
  padding: 13px 10px;
  border-bottom: 1px solid var(--panel-line);
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}
.news__item:hover {
  background: rgba(255,255,255,0.03);
  padding-left: 16px;
}
.news__hominy {
  width: 15px;
  height: 12px;
  margin-top: 3px;
  border-radius: 56% 44% 52% 48% / 62% 58% 42% 38%;
  background: radial-gradient(circle at 34% 28%, #fff8e6 0%, #ffd479 50%, #ff9a2e 100%);
  box-shadow: 0 0 5px rgba(255, 176, 32, 0.4), 0 0 10px rgba(255, 90, 31, 0.24);
  animation: hominyWiggle 2.6s ease-in-out infinite;
}
.news__date {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-top: 2px;
  white-space: nowrap;
}
.news__title {
  display: inline;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.7vw, 1.08rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.25s var(--ease);
}
.news__title:hover { color: var(--accent-2); }
.news__text {
  color: var(--text-dim);
  font-size: 0.84rem;
  margin: 3px 0 0;
}

/* ============================================================
   Release Radar (scrollable window)
   ============================================================ */

.releases {
  position: relative;
  max-height: clamp(420px, 60vh, 660px);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 90, 31, 0.5) transparent;
  mask-image: linear-gradient(180deg, #000 0%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 92%, transparent 100%);
}
.releases::-webkit-scrollbar { width: 8px; }
.releases::-webkit-scrollbar-track { background: transparent; }
.releases::-webkit-scrollbar-thumb {
  background: rgba(255, 90, 31, 0.4);
  border-radius: 8px;
}
.releases::-webkit-scrollbar-thumb:hover { background: rgba(255, 90, 31, 0.7); }

.releases__item {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  transition: background 0.25s var(--ease);
}
.releases__item:hover { background: rgba(255,255,255,0.045); }

.releases__hominy {
  width: 15px;
  height: 12px;
  border-radius: 56% 44% 52% 48% / 62% 58% 42% 38%;
  background: radial-gradient(circle at 34% 28%, #fff8e6 0%, #ffd479 50%, #ff9a2e 100%);
  box-shadow: 0 0 5px rgba(255, 176, 32, 0.4), 0 0 10px rgba(255, 90, 31, 0.24);
  animation: hominyWiggle 2.6s ease-in-out infinite;
}

.releases__date {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-2);
  white-space: nowrap;
}
.releases__album {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.releases__band {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: right;
  white-space: nowrap;
}
.releases__genre {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 3px 9px;
  border: 1px solid rgba(242, 176, 60, 0.3);
  border-radius: 999px;
  background: rgba(226, 87, 28, 0.1);
  white-space: nowrap;
}

/* ============================================================
   Subscribe
   ============================================================ */

.subscribe__box {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(38px, 7vw, 78px) clamp(22px, 5vw, 60px);
  border: 1px solid var(--panel-line);
  border-radius: calc(var(--radius) + 8px);
  background: var(--panel);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.subscribe__title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.subscribe__text {
  position: relative;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 32px;
}
/* Inline mail link inside the subscribe copy */
.subscribe__text a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s var(--ease);
}
.subscribe__text a:hover { color: var(--accent); }
.subscribe__form {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
}
.subscribe__input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 13px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--panel-line);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.subscribe__input::placeholder { color: #6f6c74; }
.subscribe__input:focus {
  border-color: rgba(255, 90, 31, 0.6);
  background: rgba(255,255,255,0.07);
}
/* Result line under the subscribe form (filled in by the Formspree handler) */
.subscribe__status {
  position: relative;
  flex: 1 1 100%;
  min-height: 1.25em;
  margin: 2px 0 0;
  font-size: 0.86rem;
  color: var(--text-dim);
  transition: color 0.25s var(--ease);
}
.subscribe__status[data-state="success"] { color: var(--accent-2); }
.subscribe__status[data-state="error"]   { color: #ff9d6e; }
.subscribe__input[aria-invalid="true"] {
  border-color: rgba(255, 90, 31, 0.75);
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px clamp(20px, 5vw, 44px) 44px;
  border-top: 1px solid var(--panel-line);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer__logo {
  width: auto;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 90, 31, 0.3));
}
.footer__copy {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 0;
}
.footer__nav {
  display: flex;
  gap: 20px;
}
.footer__nav a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color 0.25s var(--ease);
}
.footer__nav a:hover { color: var(--accent-2); }

/* ============================================================
   Reveal animation
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Volume 1 track chart (homepage)
   Mirrors the band tables on Hominypedia, in the site palette.
   ============================================================ */

.chart-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.chart {
  width: 100%;
  min-width: 560px;
  table-layout: auto;
  border-collapse: collapse;
  font-size: 0.86rem;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 12px;
  overflow: hidden;
}
.chart th,
.chart td {
  padding: 7px 12px;
  text-align: left;
  vertical-align: middle;
  border: 1px solid rgba(244, 190, 120, 0.12);
}
.chart thead th {
  background: rgba(226, 87, 28, 0.16);
  color: var(--accent-2);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chart tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.chart tbody tr:hover { background: rgba(226, 87, 28, 0.08); }
.chart__num {
  color: var(--text-dim);
  text-align: center;
  font-variant-numeric: tabular-nums;
  width: 1%;
  white-space: nowrap;
}
.chart__song { font-weight: 600; color: var(--text); }
.chart__album,
.chart__artist { color: var(--text); }
.chart__year {
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  width: 1%;
  white-space: nowrap;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    padding-top: clamp(34px, 6vh, 64px);
  }
  .hero__inner { max-width: 640px; }
  .hero__art { width: min(72vw, 380px); }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: calc(var(--banner-h) + 12px) 14px auto 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--panel-line);
    border-radius: var(--radius);
    background: rgba(10, 10, 14, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
                visibility 0.3s var(--ease);
  }
  .nav.nav--open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__link { text-align: center; padding: 12px; }
  .nav__link--cta { margin-top: 4px; }

  .nav-toggle { display: flex; }

  /* Stack the Recommendations header so the dropdown can never widen the page */
  .section__head--recs { flex-direction: column; align-items: stretch; gap: 12px; }
  .rec-jump { flex-direction: column; align-items: stretch; gap: 8px; }
  .rec-jump__trigger { width: 100%; }

  .feature-card { grid-template-columns: 1fr; }
  .feature-card__cover { max-width: 320px; }

  .releases__genre { display: none; }

  .news__item {
    grid-template-columns: 1fr 30px;
    gap: 10px 16px;
  }
  .news__date { grid-column: 1 / -1; }
  .news__arrow { align-self: center; }

  .footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Split-site additions
   Docked section rail, genre chips, page-nav state and the
   Hominypedia placeholder.
   Built on the existing tokens: no palette change.
   ============================================================ */

/* ---- Current page in the top nav (filled pill, styled with .nav__link) ---- */

/* ---- Two-column layout: docked rail + content ---- */
.layout {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}
.layout__main { min-width: 0; }

.rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rail__box {
  position: relative;
  padding: 16px 16px 14px;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}
.rail__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.rail__list { list-style: none; margin: 0; padding: 0; }
.rail__list li { margin: 0; }
.rail__list a {
  display: flex;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 9px;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--text-dim);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.rail__list a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.rail__list a.is-active { color: var(--text); background: var(--accent-soft); }
/* ---- Reviews "Contents": album, artist and the date it ran ---- */
.rail__list--recs li + li { margin-top: 2px; }
.rail__list--recs a {
  display: grid;
  gap: 1px;
  padding: 9px 10px 10px;
  border-left: 2px solid transparent;
  border-radius: 2px 10px 10px 2px;
}
.rail__list--recs a:hover { border-left-color: rgba(242, 176, 60, 0.45); }
.rail__list--recs a.is-active { border-left-color: var(--accent); }
.rail__rec-album {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.rail__rec-artist { font-size: 0.78rem; color: var(--text-dim); }
.rail__rec-date {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  opacity: 0.85;
}

@media (min-width: 981px) {
  /* Reviews is the only user of .layout; with its Contents rail removed the
     page runs as a single full-width column. */
  .layout { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

/* ---- Genre chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--panel-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
              background 0.2s var(--ease);
}
.chip:hover { color: var(--text); border-color: rgba(255, 90, 31, 0.4); }
.chip.is-on {
  color: #0a0a0c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}
/* The item is display:grid, so the attribute selector needs to out-specify it. */
.releases__item[hidden] { display: none; }

/* On phones the chip row would stack into many lines: make it one scrollable strip. */
@media (max-width: 720px) {
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* ---- Placeholder page (Hominypedia: content to come) ---- */
.coming {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54vh;
  text-align: center;
}
.coming__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

@media (max-width: 980px) {
  .rail { position: static; }
}

