/* =========================================================
       Static integrated mock (no JS / no @font-face)
       - Works: responsive 1x1 cards, album 2x2 only on large screens
       - Works: latest album always first (featured)
       - Works: card author join_with_amp (max 2, overflow "ほか")
       - Works: other links "label:url;..." rendered as label anchors
       - Works: comment (CSV uses "\n" for newline) shown before credits (album or single track only)
       - News: only latest 6 shown (tags required, first tag only). Static demo shows 6.
       - News: img allowed (relative only)
       - Typography: fluid root size with clamp; heading max 2rem
       ========================================================= */

:root {
  font-size: 62.5%;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 10px 28px hsl(220 25% 12% / .08);
  --shadow-lg: 0 24px 60px hsl(220 25% 12% / .16);
  --container: 1120px;
  --gutter: clamp(16px, 3vw, 28px);
  --header-h: 64px;
  --fs-base: clamp(1.4rem, calc(1.1rem + 0.28vw), 1.65rem);
  /* Base (Body) */
  --fs-2xs: clamp(1.1rem, calc(0.95rem + 0.14vw), 1.3rem);
  /* copyright */
  --fs-xs: clamp(1.2rem, calc(1.0rem + 0.18vw), 1.4rem);
  /* Caption/Meta */
  --fs-sm: clamp(1.3rem, calc(1.05rem + 0.22vw), 1.5rem);
  /* Small */
  --fs-md: var(--fs-base);
  /* Body */
  --fs-lg: calc(var(--fs-base) * 1.32);
  /* H3 */
  --fs-xl: calc(var(--fs-base) * 1.91);
  /* H2 */
  --fs-2xl: calc(var(--fs-base) * 2.52);
  /* H1 */
  --fs-3xl: calc(var(--fs-base) * 3.14);
  /* Display */
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

/* Hard guarantee: boolean [hidden] must always hide (prevents accidental overrides) */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: var(--fs-md);
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: -22vmax;

  pointer-events: none;
  z-index: -1;

  background:
    radial-gradient(1100px 720px at 18% 10%, hsl(205 88% 78% / .38), transparent 62%),
    radial-gradient(980px 640px at 86% 18%, hsl(28 92% 78% / .28), transparent 62%),
    radial-gradient(1200px 820px at 52% 115%, hsl(250 88% 82% / .18), transparent 60%),
    radial-gradient(820px 560px at 8% 78%, hsl(190 90% 80% / .18), transparent 64%),
    radial-gradient(760px 540px at 96% 72%, color-mix(in oklab, var(--accent), transparent 74%), transparent 62%),
    linear-gradient(180deg, color-mix(in oklab, white, var(--bg) 85%), var(--bg));

  filter: saturate(1.05);
  transform: translateZ(0);
}

html[data-theme="night"] body::before {
  background:
    radial-gradient(1150px 760px at 20% 12%, hsl(205 92% 58% / .18), transparent 64%),
    radial-gradient(980px 680px at 82% 18%, hsl(278 92% 64% / .14), transparent 64%),
    radial-gradient(1250px 900px at 55% 120%, hsl(28 92% 58% / .08), transparent 62%),
    radial-gradient(860px 620px at 10% 80%, hsl(200 88% 62% / .10), transparent 66%),
    radial-gradient(760px 560px at 96% 74%, color-mix(in oklab, var(--accent), transparent 82%), transparent 66%),
    linear-gradient(180deg, color-mix(in oklab, black, var(--bg) 80%), var(--bg));

  filter: saturate(.95);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Skip link */
.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-140%);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 9999;
  text-decoration: none;
}

.skip:focus {
  transform: translateY(0);
}

/* Container */
.container {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

/* Anchor offset for sticky header */
section {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* HERO sky */
.sky {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(1200px 600px at 20% 15%, hsl(205 88% 78% / .55), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, hsl(28 92% 78% / .40), transparent 60%),
    radial-gradient(1000px 700px at 50% 100%, hsl(250 88% 80% / .25), transparent 55%),
    linear-gradient(180deg, hsl(210 45% 96%), var(--bg));
  /* Header + HERO = 1 screen ("ヘッダー込み初期全画面") */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
}

html[data-theme="night"] .sky {
  background:
    radial-gradient(1200px 700px at 25% 10%, hsl(205 92% 58% / .25), transparent 62%),
    radial-gradient(900px 600px at 80% 20%, hsl(278 92% 64% / .18), transparent 62%),
    radial-gradient(1100px 800px at 50% 100%, hsl(28 92% 58% / .10), transparent 58%),
    linear-gradient(180deg, hsl(224 28% 10%), var(--bg));
}

.sky::before {
  content: "";
  position: absolute;
  inset: -80px;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 26%, hsl(0 0% 100% / .16) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 18%, hsl(0 0% 100% / .14) 0 2px, transparent 3px),
    radial-gradient(circle at 44% 62%, hsl(0 0% 100% / .10) 0 2px, transparent 3px),
    radial-gradient(circle at 64% 78%, hsl(0 0% 100% / .12) 0 2px, transparent 3px);
  filter: blur(.2px);
  opacity: .7;
}

html[data-theme="night"] .sky::before {
  opacity: .45;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in oklab, var(--border), transparent 35%);
  background: color-mix(in oklab, var(--bg), transparent 12%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 12px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  padding: 10px 0;
  white-space: nowrap;
  min-width: 0;
}

.brand strong {
  font-weight: 650;
  letter-spacing: .02em;
}

.brand-title {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  min-width: 0;
}

.brand-logo {
  display: block;
  height: 1.05em;
  /* テキスト1行と同程度 */
  width: auto;
  max-width: clamp(180px, 30vw, 320px);
  /* 端末幅に応じて暴れないよう制限 */
}

.brand small {
  color: var(--muted);
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--border), transparent 10%);
  background: color-mix(in oklab, var(--surface), transparent 10%);
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, opacity .12s ease, box-shadow .12s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  background: color-mix(in oklab, var(--accent), white 10%);
  border-color: color-mix(in oklab, var(--accent), black 12%);
  color: white;
}

.btn.primary .btn-icon{
  height: 1em;
  width: auto;
  display: block;      /* ベースラインのズレ防止 */
  flex: 0 0 auto;
  margin-right: 0.6em; /* 任意：テキストとの間隔 */
}

html[data-theme="night"] .btn.primary {
  background: color-mix(in oklab, var(--accent), black 22%);
  border-color: color-mix(in oklab, var(--accent), black 35%);
}

.btn.ghost {
  background: transparent;
  border-color: color-mix(in oklab, var(--border), transparent 20%);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

/* Desktop nav + CSS-only mobile menu */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--text);
  border-color: color-mix(in oklab, var(--border), transparent 30%);
  background: color-mix(in oklab, var(--surface), transparent 25%);
}

.menu {
  display: none;
  position: relative;
}

.menu summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--border), transparent 10%);
  background: color-mix(in oklab, var(--surface), transparent 10%);
}

.menu summary::-webkit-details-marker {
  display: none;
}

.hamburger-lines {
  width: 18px;
  height: 12px;
  position: relative;
  display: block;
}

.hamburger-lines::before,
.hamburger-lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--text), transparent 10%);
}

.hamburger-lines::before {
  top: 1px;
}

.hamburger-lines::after {
  bottom: 1px;
}

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(44px + 10px);
  width: min(340px, calc(100vw - (var(--gutter) * 2)));
  padding: 12px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid color-mix(in oklab, var(--border), transparent 12%);
  background: color-mix(in oklab, var(--surface), transparent 0%);
  z-index: 1100;
}

.menu-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid transparent;
}

.menu-panel a:hover {
  background: color-mix(in oklab, var(--surface), transparent 0%);
  border-color: color-mix(in oklab, var(--border), transparent 25%);
}

@media (max-width: 860px) {
  .nav-list {
    display: none;
  }

  .site-nav {
    justify-content: flex-end;
  }

  .menu {
    display: block;
  }
}

/* Prevent header overflow on narrow screens */
@media (max-width: 520px) {
  .header-cta {
    gap: 8px;
  }

  .header-cta .btn.ghost {
    display: none;
  }
}

@media (max-width: 420px) {
  .brand small {
    display: none;
  }
}

/* Hero (Latest releases carousel) */
.hero {
  padding: 0;
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  color: color-mix(in oklab, white, var(--text) 10%);
}

.hero-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: clip;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .22)),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  filter: saturate(.95) contrast(1.02);
}

/* Intro slide (fixed first item) */
.hero-slide--intro {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, .74), rgba(0, 0, 0, .30)),
    var(--hero-bg);
}

.hero-slide--intro .hero-inner {
  backdrop-filter: unset !important;
  justify-content: flex-start;
}

.hero-intro {
  width: min(980px, 100%);
  display: grid;
  align-content: end;
}

.hero-intro-card {
  position: relative;
  padding: clamp(18px, 2.8vw, 34px);
  /* 
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(0, 0, 0, .32);
  box-shadow: 0 18px 64px rgba(0, 0, 0, .32);
  backdrop-filter: blur(10px);
  */
}

/*
.hero-intro-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(520px 260px at 15% 10%, color-mix(in oklab, var(--accent), transparent 65%), transparent 60%);
  opacity: .75;
  filter: blur(10px);
}
*/

.hero-intro-card>* {
  position: relative;
}

.hero-intro-kicker {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-weight: 800;
  letter-spacing: .22em;
  font-size: var(--fs-xs);
  opacity: .86;
}

.hero-intro-title {
  margin: 0 0 14px;
  font-weight: 950;
  letter-spacing: .01em;
  line-height: 1.05;
  font-size: var(--fs-3xl);
  text-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

.hero-intro-body {
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 14px 40px rgba(0, 0, 0, .32);
}

.hero-intro-body p {
  margin: 0;
  font-size: var(--fs-lg);
  line-height: 1.75;
}

.hero-intro-body strong {
  color: rgba(255, 255, 255, .98);
  font-weight: 850;
}

.hero-intro-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-intro-cta {
  min-height: 48px;
  padding: 0 22px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .30);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1000px 520px at 22% 12%, rgba(255, 255, 255, .10), transparent 60%),
    radial-gradient(900px 520px at 80% 22%, rgba(255, 255, 255, .06), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 3px);
  opacity: .22;
  mix-blend-mode: overlay;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

a.hero-summary.hero-slide-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

a.hero-summary.hero-slide-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
  border-radius: var(--radius-lg);
}

.hero-slide-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hero-slide-link:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: -3px;
}

.hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 52px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-summary {
  width: min(768px, 100%);
  display: grid;
  gap: 18px;
}

.hero-figure {
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}

.hero-copy {
  display: grid;
  gap: 10px;
  text-align: center;
}

.hero-title {
  margin: -10px 0 0;
  font-weight: 920;
  letter-spacing: .01em;
  line-height: 1.02;
  font-size: var(--fs-2xl);
  text-shadow: 0 14px 36px rgba(0, 0, 0, .35);
}

.hero-mark {
  margin-right: .12em;
  opacity: .96;
}

.hero-byline {
  margin: 0;
  font-size: var(--fs-lg);
  letter-spacing: .02em;
  opacity: .92;
  text-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}

.hero-headline {
  font-size: var(--fs-xl);
  font-weight: 920;
  margin: 0;
}

.hero-roleline {
  margin: 0.5rem 0;
  font-size: var(--fs-sm);
}

.hero-date {
  margin: 0;
  font-weight: 880;
  letter-spacing: .10em;
  font-size: var(--fs-xl);
  text-shadow: 0 14px 36px rgba(0, 0, 0, .35);
}

.hero-release {
  margin: 0;
  font-weight: 920;
  letter-spacing: .10em;
  font-size: var(--fs-md);
  text-shadow: 0 14px 36px rgba(0, 0, 0, .35);
}

.hero-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: auto;
}

.hero-dot {
  width: 28px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(0, 0, 0, .18);
  opacity: .72;
  cursor: pointer;
}

.hero-dot.is-active {
  background: rgba(255, 255, 255, .22);
  opacity: 1;
}

@media (max-width: 760px) {
  .hero-inner {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-slide--intro .hero-inner {
    justify-content: center;
  }

  .hero-intro {
    align-content: center;
    justify-items: center;
  }

  .hero-intro-card {
    text-align: center;
  }

  .hero-intro-kicker {
    letter-spacing: .14em;
  }

  .hero-intro-title {
    display: none;
  }

  .hero-intro-body {
    display: none;
  }

  .hero-intro-actions {
    justify-content: center;
  }

  .hero-summary {
    justify-items: center;
  }

  .hero-figure {
    width: min(520px, 100%);
  }

  .hero-title {
    font-size: var(--fs-xl);
  }

  .hero-headline {
    display: none;
  }

  .hero-byline {
    font-size: var(--fs-sm);
  }

  .hero-dots {
    bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

/* Sections */
main {
  padding-bottom: 72px;
}

section {
  padding: 56px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--muted);
}

.section-head .line {
  height: 1px;
  background: color-mix(in oklab, var(--border), transparent 12%);
}

.section-head h2 {
  margin: 0;
  font-size: var(--fs-sm);
  letter-spacing: .20em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--muted), var(--text) 10%);
  font-weight: 750;
}

.section-sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: var(--fs-sm);
}

/* Cards */
.card {
  background: color-mix(in oklab, var(--surface), transparent 0%);
  border: 1px solid color-mix(in oklab, var(--border), transparent 12%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* =========================================================
       WORKS (integrated specs)
       - Featured latest album first (static demo)
       - Card author: max 2 join with " & ", overflow "ほか"
       - Responsive: all cards 1x1, compact on small/medium
       - Album 2x2 only on large screens (>= 1024px)
       ========================================================= */

.works-featured {
  margin-bottom: 14px;
  display: grid;
  gap: 10px;
}

.works-featured .kicker {
  margin: 0;
  font-size: var(--fs-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--muted), var(--accent) 25%);
  font-weight: 800;
}

.works-grid {
  --work-min: 206px;
  --work-gap: 18px;
  display: grid;
  gap: var(--work-gap);
  grid-template-columns: repeat(auto-fill, minmax(var(--work-min), 1fr));
  grid-auto-flow: dense;
}

.work-card {
  --work-pad: 12px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid color-mix(in oklab, var(--border), transparent 12%);

  /* Thumbnail is set per-card inline via: background-image: url('...') */
  background-color: color-mix(in oklab, var(--surface), transparent 0%);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  box-shadow: var(--shadow);
  display: grid;
  align-content: end;
  padding: var(--work-pad);
  text-decoration: none;
  min-height: calc(10vh + var(--work-min));
  isolation: isolate;
  transition: transform .18s ease, opacity .18s ease;
  will-change: transform, opacity;
}

/* Accent glow */
.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 250px at 20% 20%, color-mix(in oklab, var(--accent), transparent 72%), transparent 62%);
  opacity: .55;
  transition: opacity .18s ease;
  z-index: 0;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Scrim for readability (base) */
  background: linear-gradient(180deg, hsl(0 0% 0% / .05) 0%, var(--scrim) 92%);
  opacity: .35;
  transition: opacity .18s ease;
  z-index: 1;
}

.work-card:hover::after,
.work-card:focus-visible::after {
  /* Darken on hover/focus to increase contrast */
  opacity: .85;
}

.work-card:hover::before,
.work-card:focus-visible::before {
  opacity: .45;
}

.work-meta {
  position: absolute;
  left: var(--work-pad);
  right: var(--work-pad);
  bottom: var(--work-pad);
  z-index: 3;
  display: grid;
  gap: 6px;

  /* Desktop: show only on hover/focus */
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.work-card:hover .work-meta,
.work-card:focus-visible .work-meta,
.work-card:focus-within .work-meta {
  opacity: 1;
  transform: translateY(0);
}

/* Category badge: always visible at top-left */
.work-card>.pill {
  position: absolute;
  top: var(--work-pad);
  left: var(--work-pad);
  z-index: 4;
}

/* Touch / tablet: no hover, keep meta visible for discoverability */
@media (hover: none),
(pointer: coarse) {
  .work-meta {
    opacity: 1;
    transform: none;
  }

  .work-card::after {
    opacity: .62;
    /* ensure text stays readable */
  }
}

/* Compact on small/medium */
@media (max-width: 1024px) {
  .work-card {
    --work-pad: 10px;
  }
}

.work-meta .title {
  margin: 0;
  color: white;
  font-weight: 740;
  letter-spacing: .02em;
  font-size: var(--fs-md);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-meta .byline {
  margin: 0;
  color: hsl(0 0% 100% / .86);
  font-size: var(--fs-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-meta .byline.dateline {
  margin: 0 0 -6px 0;
}

.work-meta .byline .mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.work-meta .byline .sep {
  opacity: .62;
}

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: hsl(0 0% 100% / .12);
  border: 1px solid hsl(0 0% 100% / .18);
  color: hsl(0 0% 100% / .92);
  font-size: var(--fs-xs);
  font-weight: 750;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pill.featured {
  background: color-mix(in oklab, var(--accent), transparent 70%);
  border-color: color-mix(in oklab, var(--accent), transparent 45%);
}

/* Album card 2x1 ONLY on large screens */
@media (min-width: 1024px) {
  .work-card[data-kind="album"] {
    background-position: 50% 20%;
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* Compact on small/medium */
@media (max-width: 1024px) {
  .works-grid {
    --work-min: 168px;
    --work-gap: 12px;
  }

  .work-card {
    padding: 10px;
  }

  .work-meta .title {
    font-size: var(--fs-sm);
  }
}

@media (max-width: 420px) {
  .works-grid {
    --work-min: 128px;
    --work-gap: 10px;
  }

  .work-meta .byline {
    font-size: var(--fs-xs);
  }
}

.works-more {
  margin-top: 16px;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.works-more small {
  color: var(--muted);
  font-size: var(--fs-xs);
}

/* Subsection labels (Original / Collaborative) */
.works-subhead {
  margin: 22px 0 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.works-subhead h3 {
  margin: 0;
  font-size: var(--fs-sm);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--muted), var(--text) 18%);
  font-weight: 800;
}

.works-subhead .hint {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  white-space: nowrap;
}

/* =========================================================
       WORK MODAL (CSS-only via :target)
       ========================================================= */
body.is-modal-open {
  overflow: hidden;
  padding-right: var(--scrollbar-w, 0px);
}

body.is-menu-open {
  overflow: hidden;
  padding-right: var(--scrollbar-w, 0px);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: clamp(12px, 3vw, 28px);
  /* Semi-transparent overlay so the page subtly shows through */
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 2000;
}

.modal:target {
  display: grid;
}

.modal.is-open {
  display: grid;
}

.modal-card {
  width: min(920px, 100%);
  max-height: min(82svh, 920px);
  overflow: auto;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in oklab, var(--border), transparent 8%);
  background: color-mix(in oklab, var(--surface), transparent 0%);
  box-shadow: var(--shadow-lg);
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid color-mix(in oklab, var(--border), transparent 12%);
  background: color-mix(in oklab, var(--surface), var(--bg) 22%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-title {
  min-width: 0;
}

/* Title area: pill sits between title line and released line */
.modal-titlegrid {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 6px;
  align-items: start;
  min-width: 0;
}

.modal-titlegrid .pill.pill--kind {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}

.modal-titlegrid h3 {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.modal-released {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  opacity: .72;
  font-size: var(--fs-xs);
  letter-spacing: .01em;
}

.modal-title h3 {
  margin: 0;
  font-size: var(--fs-md);
  line-height: 1.25;
  letter-spacing: .01em;
  font-weight: 800;
}

.modal-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: var(--fs-xs);
}

.modal-meta .mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* Kind pill inside modal: align with day/night base colors */
.modal .pill.pill--kind {
  background: color-mix(in oklab, var(--bg), var(--text) 14%);
  border-color: color-mix(in oklab, var(--bg), var(--text) 28%);
  color: var(--text);
  font-size: var(--fs-xs);
  padding: 5px 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--border), transparent 10%);
  background: color-mix(in oklab, var(--surface), transparent 6%);
  text-decoration: none;
  flex: 0 0 auto;
}

.modal-body {
  padding: 16px;
  display: grid;
  gap: 16px;
}

.embed {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--border), transparent 10%);
  background: color-mix(in oklab, var(--surface), transparent 2%);
}

.embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.embed-placeholder {
  width: 100%;
  height: auto;
  display: block;
}

.work-kv {
  display: grid;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid color-mix(in oklab, var(--border), transparent 12%);
}

.work-kv .row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: baseline;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.work-kv .row b {
  color: var(--text);
  font-weight: 800;
}

.work-kv .row .mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.work-other-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  /* “;”区切りを実表示ではスペースで連結 */
}

.work-other-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.work-other-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.work-section {
  display: grid;
  gap: 8px;
}

.work-section-title {
  font-size: var(--fs-sm);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--muted), var(--text) 12%);
  font-weight: 850;
}

.work-comment {
  color: color-mix(in oklab, var(--muted), var(--text) 20%);
  font-size: var(--fs-md);
  line-height: 1.7;
}

.credits {
  display: grid;
  gap: 10px;
}

.credit-block {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid color-mix(in oklab, var(--border), transparent 12%);
  background: color-mix(in oklab, var(--surface), transparent 4%);
}

@media (max-width: 560px) {
  .credit-block {
    grid-template-columns: 1fr;
  }
}

.credit-role {
  font-weight: 900;
  letter-spacing: .02em;
  color: color-mix(in oklab, var(--muted), var(--text) 30%);
}

.credit-people {
  color: color-mix(in oklab, var(--muted), var(--text) 18%);
}

.person {
  font-weight: 850;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.person>a.person-name {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.sns {
  display: inline-flex;
  gap: 0.45em;
  align-items: baseline;
}

/* SNS icons: same height as surrounding text (1em) */
.sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1em;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  line-height: 1;
}

.sns a .sns-icon,
.sns a img {
  height: 1em;
  width: auto;
  display: block;
}

.sns a:hover {
  opacity: .8;
}

.tracklist {
  display: grid;
  gap: 10px;
}

.disc {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid color-mix(in oklab, var(--border), transparent 12%);
  background: color-mix(in oklab, var(--surface), transparent 2%);
}

.disc-title {
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: var(--fs-sm);
  color: color-mix(in oklab, var(--muted), var(--text) 22%);
}

.track-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-top: 1px solid color-mix(in oklab, var(--border), transparent 16%);
}

.track-row:first-of-type {
  border-top: 0;
}

.track-no {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.track-title {
  font-weight: 800;
  color: var(--text);
}

.track-role {
  color: var(--muted);
  font-size: var(--fs-sm);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .track-row {
    grid-template-columns: 1fr;
  }

  .pill.pill--kind {
    display: none;
  }

  .track-role {
    justify-self: start;
  }
}

/* =========================================================
       NEWS (static)
       - Shows 6 items only (latest 6, tags required)
       - First tag only displayed
       - Article expand: CSS-only via :target (graceful)
       ========================================================= */
.news-shell {
  display: grid;
  gap: 12px;
}

.news-list {
  padding: 16px;
}

.news-list ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.news-rowlink {
  width: 100%;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

@media (max-width: 560px) {
  .news-rowlink {
    grid-template-columns: 1fr;
  }

  .news-rowlink .chev {
    display: none !important;
  }
}

.news-rowlink:hover {
  border-color: color-mix(in oklab, var(--border), transparent 20%);
  background: color-mix(in oklab, var(--surface), transparent 10%);
}

.news-rowlink[aria-current="true"],
.news-rowlink.is-active {
  border-color: color-mix(in oklab, var(--accent), transparent 45%);
  background: color-mix(in oklab, var(--accent), transparent 92%);
}

.news-rowlink time {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: var(--fs-xs);
}

.news-titlewrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 2px;
}

.news-title {
  font-weight: 750;
  line-height: 1.35;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--border), transparent 6%);
  background: color-mix(in oklab, var(--surface), transparent 6%);
  color: color-mix(in oklab, var(--muted), var(--text) 10%);
  font-size: var(--fs-xs);
  font-weight: 850;
  letter-spacing: .02em;
  white-space: nowrap;
}

.news-rowlink .chev {
  color: var(--muted);
  font-size: var(--fs-lg);
  padding: 0 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
}

/* Inline expand (JS) */
.news-item {
  list-style: none;
}

/* .news-rowlink is rendered as <button> */
.news-rowlink {
  width: 100%;
  cursor: pointer;
  font: inherit;
  appearance: none;
}

.news-item.is-open>.news-rowlink {
  border-color: color-mix(in oklab, var(--accent), transparent 45%);
  background: color-mix(in oklab, var(--accent), transparent 92%);
}

.news-item.is-open .chev {
  transform: rotate(180deg);
}

.news-inline {
  padding: 0 12px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .26s ease, opacity .18s ease, transform .26s ease, padding .26s ease;
  will-change: max-height, opacity, transform;
}

.news-item.is-open .news-inline {
  padding: 0 12px 14px;
  max-height: 2200px;
  opacity: 1;
  transform: translateY(0);
}

.news-inline-hr {
  border: 0;
  border-top: 1px solid color-mix(in oklab, var(--border), transparent 10%);
  margin: 8px 0 12px;
}

.news-inline-hr--end {
  margin: 12px 0 0;
}

/* Inline body spacing (no separate head/close button) */
.news-inline .prose {
  padding: 10px 0 12px;
}

.prose :is(h1, h2, h3) {
  line-height: 1.25;
  letter-spacing: .01em;
}

.prose h2 {
  font-size: var(--fs-md);
  margin: 18px 0 10px;
}

.prose h3 {
  font-size: var(--fs-md);
  margin: 16px 0 8px;
}

.prose p {
  margin: 10px 0;
  color: color-mix(in oklab, var(--muted), var(--text) 20%);
}

.prose ul {
  margin: 10px 0 10px 1.2em;
  color: color-mix(in oklab, var(--muted), var(--text) 20%);
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid color-mix(in oklab, var(--border), transparent 12%);
  display: block;
  margin: 12px 0;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid color-mix(in oklab, var(--border), transparent 10%);
  background: color-mix(in oklab, var(--surface), transparent 2%);
  margin: 12px 0;
}

.prose table {
  border-collapse: collapse;
  width: 100%;
}

.prose th,
.prose td {
  padding: 0.51vw 0.625vw;
  border-bottom: 1px solid color-mix(in oklab, var(--border), transparent 10%);
  text-align: left;
  font-size: var(--fs-sm);
  color: color-mix(in oklab, var(--muted), var(--text) 15%);
  white-space: nowrap;
}

.prose th {
  color: color-mix(in oklab, var(--muted), var(--text) 35%);
}

/* Profile */
.profile-wrap {
  padding: 18px;
  border-radius: var(--radius-lg);
}

.profile-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  align-items: center;
}

@media (max-width: 980px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
}

.profile-image {
  border-radius: var(--radius);
  border: 1px solid color-mix(in oklab, var(--border), transparent 12%);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 1 / 1;
  position: relative;
  box-shadow: var(--shadow);
}

.profile-text {
  padding: 6px 6px 6px 2px;
  display: grid;
  gap: 10px;
}

.profile-text .kicker {
  margin: 0;
  color: var(--accent);
  font-weight: 850;
  letter-spacing: .04em;
  font-size: var(--fs-xs);
  text-transform: uppercase;
}

.profile-text h3 {
  margin: 0;
  font-size: var(--fs-xl);
  /* max 2rem */
  line-height: 1.2;
  letter-spacing: .01em;
}

.profile-text p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  max-width: 70ch;
}

.profile-meta {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: var(--fs-xs);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--border), transparent 10%);
  background: color-mix(in oklab, var(--surface), transparent 6%);
}

/* Request */
.request {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.request .domain::before {
  content: '@';
}

.request-top {
  display: grid;
  gap: 10px;
  align-items: start;
  justify-items: start;
}

.request-top h3 {
  margin: 0;
  font-size: var(--fs-lg);
  letter-spacing: .01em;
}

.request-top p {
  margin: 0;
  color: var(--muted);
}

.benefits {
  margin: 1.6rem 0;
}

.benefit table {
  border-collapse: collapse;
  width: 100%;
}

.benefit th,
.benefit td {
  min-width: 17ch;
  padding: 0.51vw 0.625vw;
  border-bottom: 1px solid color-mix(in oklab, var(--border), transparent 10%);
  text-align: left;
  font-size: var(--fs-sm);
  color: color-mix(in oklab, var(--muted), var(--text) 15%);
  white-space: nowrap;
}

.benefit th {
  color: color-mix(in oklab, var(--muted), var(--text) 35%);
}

.benefit {
  padding: 14px 0;
  border-top: 1px solid color-mix(in oklab, var(--border), transparent 15%);
  background: color-mix(in oklab, var(--surface), transparent 4%);
  margin: 1rem 0;
}

.benefit .benefit-title {
  border-radius: 12px;
  margin: 0 0 1.6rem 0;
  padding: 0.8rem;
  place-items: center;
  background: color-mix(in oklab, var(--accent), transparent 86%);
  font-weight: 900;
}

.benefit h3 {
  margin: 1.6rem 0 0.8rem;
}

.benefit h4 {
  margin: 0.8rem 0;
  font-size: var(--fs-sm);
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.price {
  font-weight: 600;
}

.price.larger {
  color: var(--danger) !important;
  font-size: var(--fs-lg);
  font-weight: 900;
}

.alert {
  color: var(--danger) !important;
  font-size: var(--fs-xs) !important;
}

.request-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.fineprint {
  margin-top: 10px;
  color: var(--muted);
  font-size: var(--fs-xs);
  max-width: 80ch;
}

/* Gear */
.gear-wrap {
  padding: 16px;
}

.gear-hero {
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in oklab, var(--border), transparent 12%);
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: var(--shadow);
  min-height: 260px;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  position: relative;
}

.gear-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 0;
  padding: 0 1rem;
}

/* If the gear list is taller than 100vh, JS adds .is-two-col to reduce scroll */
.gear-grid.is-two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 980px) {

  .gear-hero {
    aspect-ratio: 1 / 1;
  }

  .gear-grid,
  .gear-grid.is-two-col {
    grid-template-columns: 1fr;
  }
}

.gear-cat h3 {
  margin: 0 0 10px;
  font-size: var(--fs-sm);
  letter-spacing: .04em;
}

.gear-cat ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.gear-cat li {
  margin: 6px 0;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: var(--fs-md);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-link {
  text-decoration: none;
  margin-right: 10px;
  color: color-mix(in oklab, var(--muted), var(--text) 20%);
}

#footer-copy-note {
  font-size: var(--fs-2xs);
  width: 100%;
}

@media (max-width: 867px) {
  #footer-copy-note {
    display: none;
  }
}

.footer-link:last-child {
  margin-right: 0;
}

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