:root {
  --bg: #f7f3e9;
  --paper: #fffdf8;
  --paper-soft: #fbf8ef;
  --ink: #191919;
  --text: #24211d;
  --muted: #474038;
  --line: #d8d1c2;
  --line-soft: #e9e1d2;
  --accent: #2b574f;
  --accent-warm: #8b5946;
  --veil-blue: #dbe4dc;
  --veil-rose: #ead8c4;
  --shadow: 0 22px 60px rgba(37, 34, 28, 0.10);
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --ui: "Inter", "Noto Serif JP", system-ui, sans-serif;
  --header-height: 78px;
  --max: 1180px;
  --measure: 760px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.78), rgba(247, 243, 233, 0.94)),
    var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

body.lang-ja [data-lang="en"],
body.lang-en [data-lang="ja"] {
  display: none !important;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
input,
textarea {
  font: inherit;
}

button {
  letter-spacing: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 16px;
  left: 16px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-140%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 34px;
  background: rgba(247, 243, 233, 0.93);
  border-bottom: 1px solid rgba(216, 209, 194, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-latin {
  font-family: var(--display);
  font-size: 27px;
  line-height: 1;
}

.brand-jp {
  font-size: 15px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-family: var(--ui);
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
}

.language-switch button {
  min-width: 34px;
  border: 0;
  border-radius: 999px;
  padding: 5px 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.language-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 46px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 600;
}

main {
  min-height: 70vh;
}

.hero {
  position: relative;
  min-height: clamp(620px, calc(100svh - var(--header-height)), 760px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.72fr);
  gap: 56px;
  align-items: center;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 78px 34px 70px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 34px 0;
  height: 1px;
  background: var(--line);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-name {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 78px;
  font-weight: 400;
  line-height: 0.98;
}

.hero-name span {
  font-family: var(--serif);
  font-size: 36px;
}

.hero-role {
  margin: 28px 0 20px;
  color: var(--accent);
  font-family: var(--ui);
  font-size: 16px;
  font-weight: 700;
}

.hero-lead {
  max-width: 610px;
  margin: 0 0 32px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions,
.detail-actions,
.carousel-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.button.primary {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.text-link {
  color: var(--ink);
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
}

.brand-graphic {
  position: relative;
  min-height: 560px;
  isolation: isolate;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 560px;
  isolation: isolate;
}

.hero-slideshow {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 3 / 4;
  min-height: 0;
  margin-left: auto;
  overflow: hidden;
  background: #f3eee2;
  box-shadow: 0 20px 48px rgba(37, 34, 28, 0.13);
  padding: clamp(8px, 1vw, 14px);
  border: clamp(5px, 0.85vw, 9px) solid #171512;
}

.hero-slideshow::before,
.hero-slideshow::after {
  content: none;
}

.hero-slide {
  position: absolute;
  inset: clamp(8px, 1vw, 14px);
  margin: 0;
  opacity: 0;
  z-index: 1;
  transform: translateX(-24px) scale(0.996);
  transition: opacity 780ms ease, transform 780ms ease, filter 780ms ease;
  background: #f3eee2;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
  transform: translateX(0) scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  -webkit-user-drag: none;
  user-select: none;
  background: #efe8da;
}

.hero-slide-caption {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 16px;
  max-width: calc(100% - 36px);
  padding: 8px 11px;
  background: rgba(255, 253, 248, 0.84);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
}

.veil-plane {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 40px 110px rgba(64, 68, 60, 0.10);
  transform-origin: center;
}

.veil-a {
  inset: 52px 92px 84px 10px;
  background: rgba(255, 253, 248, 0.62);
  transform: skewY(-8deg) rotate(-4deg);
}

.veil-b {
  inset: 20px 34px 130px 112px;
  background: rgba(219, 228, 220, 0.54);
  transform: skewY(7deg) rotate(7deg);
}

.veil-c {
  inset: 142px 0 42px 72px;
  background: rgba(234, 216, 196, 0.42);
  transform: skewY(-3deg) rotate(-9deg);
}

.veil-line {
  position: absolute;
  left: 16%;
  right: 10%;
  top: 54%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25, 25, 25, 0.26), transparent);
  transform: rotate(-8deg);
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 96px 34px;
  border-top: 1px solid var(--line);
}

.section.compact {
  padding-top: 58px;
  padding-bottom: 58px;
}

.section-head {
  margin-bottom: 34px;
}

.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.58fr);
  gap: 42px;
  align-items: end;
}

.kicker {
  margin: 0 0 11px;
  color: var(--accent-warm);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 400;
}

h1,
.section-title {
  font-family: var(--display);
}

.page-hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 96px 34px 62px;
}

.page-hero h1 {
  margin: 0;
  font-size: 64px;
  line-height: 1;
}

.lead {
  color: var(--text);
  font-size: 18px;
  line-height: 1.8;
}

.narrow,
.measure {
  max-width: var(--measure);
}

.section-title,
.section h2 {
  margin-bottom: 24px;
  font-size: 42px;
  line-height: 1.12;
}

.section-note {
  margin: 0;
  color: var(--muted);
}

.section-tail {
  display: inline-flex;
  margin-top: 24px;
}

.home-work-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0 0 10px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x proximity;
}

.home-work-tile {
  position: relative;
  flex: 0 0 clamp(230px, 28vw, 360px);
  height: clamp(270px, 35vw, 430px);
  background-color: #efe8da;
  background-image: var(--work-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  overflow: hidden;
  scroll-snap-align: start;
  text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.home-work-tile:hover,
.home-work-tile:focus-visible {
  filter: brightness(1.025);
  transform: translateY(-2px);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.news-card {
  min-height: 172px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.72);
}

.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 13px;
  align-items: center;
  margin-bottom: 16px;
}

.news-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.45;
}

.news-card a {
  color: var(--ink);
  text-decoration: none;
}

.news-card a:hover,
.news-card a:focus-visible {
  color: var(--accent);
}

.news-list,
.activity-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.current-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.current-item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.news-item {
  display: grid;
  grid-template-columns: 130px 92px minmax(0, 1fr);
  gap: 22px;
  align-items: baseline;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
}

.activity-item {
  display: grid;
  grid-template-columns: 118px 150px minmax(0, 1fr);
  gap: 22px;
  align-items: baseline;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
}

.news-badge-cell,
.activity-badge-cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.current-copy {
  margin-top: 0;
}

.current-date,
.news-date,
.activity-date {
  color: var(--muted);
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 600;
}

.news-item a,
.activity-item a {
  text-decoration: none;
}

.news-item a:hover .news-title,
.activity-item a:hover .activity-title {
  color: var(--accent);
}

.news-title,
.activity-title,
.current-title {
  color: var(--ink);
}

.current-title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 27px;
  line-height: 1.1;
}

.current-venue,
.current-body {
  margin: 0;
  color: var(--muted);
}

.current-body {
  color: var(--text);
}

.news-copy,
.activity-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
}

.activity-badge,
.status-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(139, 89, 70, 0.32);
  border-radius: 999px;
  padding: 3px 9px;
  background: rgba(255, 253, 248, 0.68);
  color: var(--accent-warm);
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.activity-badge {
  min-height: 30px;
  padding: 5px 12px;
  font-size: 14px;
}

.activity-body {
  flex-basis: 100%;
  margin: 4px 0 0;
  color: var(--text);
  font-size: 16px;
}

.home-carousel {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.68);
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.24s ease;
}

.carousel-slide {
  min-width: 100%;
}

.selected-card {
  display: grid;
  grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
  gap: 0;
  align-items: center;
  min-height: 0;
}

.work-image-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: visible;
  aspect-ratio: 3 / 4;
  padding: clamp(8px, 1vw, 14px);
  background: #f3eee2;
  box-shadow: 0 10px 28px rgba(37, 34, 28, 0.14);
  border: clamp(4px, 0.7vw, 8px) solid #171512;
}

.work-image-frame .work-graphic {
  min-height: 100%;
  height: 100%;
}

.work-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: filter 240ms ease;
  -webkit-user-drag: none;
  user-select: none;
  background: #efe8da;
}

.selected-card:hover .work-image,
.listen-item:hover .work-image,
.work-row:hover .work-image,
.detail-image:hover .work-image {
  filter: brightness(1.025);
}

.selected-image {
  aspect-ratio: 3 / 4;
  width: min(100%, 400px);
  justify-self: center;
}

.listen-image {
  aspect-ratio: 3 / 4;
}

.work-thumb {
  aspect-ratio: 3 / 4;
}

.detail-image {
  aspect-ratio: 3 / 4;
  align-self: start;
  max-height: none;
}

.detail-image .work-image {
  max-height: 660px;
}

.score-work-image {
  aspect-ratio: 3 / 4;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
}

.work-graphic {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--paper-soft);
}

.work-graphic::before,
.work-graphic::after,
.work-graphic span {
  content: "";
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.work-graphic::before {
  inset: 16% 22% 15% 9%;
  background: rgba(219, 228, 220, 0.66);
  transform: rotate(-9deg) skewY(-6deg);
}

.work-graphic::after {
  inset: 8% 8% 25% 27%;
  background: rgba(255, 253, 248, 0.7);
  transform: rotate(8deg) skewY(7deg);
}

.work-graphic span {
  inset: 31% 2% 9% 19%;
  background: rgba(234, 216, 196, 0.52);
  transform: rotate(-4deg) skewY(-3deg);
}

.tone-1 { background: #f4f1e7; }
.tone-2 { background: #f6f1e9; }
.tone-3 { background: #f5f4ec; }
.tone-4 { background: #f7f0e8; }
.tone-5 { background: #f2f4ee; }
.tone-6 { background: #f8f4ea; }

.selected-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 34px 28px;
}

.work-category {
  margin: 0 0 12px;
  color: var(--accent-warm);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
}

.selected-title {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 36px;
  line-height: 1.06;
}

.selected-meta {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 14px;
}

.selected-note {
  margin-bottom: 28px;
  max-width: 560px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.arrow-group {
  display: inline-flex;
  gap: 8px;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--ui);
  font-size: 18px;
  line-height: 1;
}

.dots {
  display: inline-flex;
  gap: 8px;
}

.dots button {
  width: 10px;
  height: 10px;
  border: 1px solid var(--muted);
  border-radius: 999px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.dots button[aria-current="true"] {
  background: var(--ink);
  border-color: var(--ink);
}

.listen-list {
  display: grid;
  gap: 26px;
}

.listen-item {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.listen-item:last-child {
  border-bottom: 1px solid var(--line);
}

.listen-copy h2,
.detail-main-title {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 38px;
  line-height: 1.1;
}

.media-frame {
  margin-top: 18px;
}

.media-frame iframe,
.media-frame audio {
  width: 100%;
}

.media-frame-audio iframe {
  min-height: 166px;
  border: 0;
}

.media-frame-video {
  width: 100%;
  max-width: 1040px;
  aspect-ratio: 16 / 9;
  background: #111;
}

.media-frame-video iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-bar button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
}

.filter-bar button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.works-layout {
  display: grid;
  gap: 76px;
}

.compact-head {
  margin-bottom: 24px;
}

.works-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 38px 24px;
  align-items: start;
}

.works-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.works-card-image {
  display: flex;
  min-height: clamp(310px, 34vw, 500px);
  align-items: flex-end;
  justify-content: center;
  background: #efe8da;
  color: inherit;
  overflow: hidden;
  text-decoration: none;
}

.works-card-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  -webkit-user-drag: none;
  user-select: none;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.works-card-image:hover img,
.works-card-image:focus-visible img {
  filter: brightness(1.025);
  transform: scale(1.01);
}

.works-card-copy {
  padding-top: 14px;
}

.works-card-copy h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 31px;
  line-height: 1.08;
}

.works-card-copy h3 a {
  color: var(--ink);
  text-decoration: none;
}

.works-card-copy h3 a:hover,
.works-card-copy h3 a:focus-visible {
  color: var(--accent);
}

.works-card-copy h3 small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.works-card-meta {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--text);
}

.works-card-meta div {
  display: grid;
  gap: 1px;
}

.works-card-meta dt {
  color: var(--muted);
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
}

.works-card-meta dd {
  margin: 0;
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.45;
}

.works-catalogue-list {
  border-top: 1px solid var(--line);
}

.catalogue-header,
.catalogue-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 0.9fr) 86px minmax(120px, 0.5fr);
  gap: 20px;
}

.catalogue-header {
  padding: 0 0 12px;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
}

.catalogue-row {
  align-items: baseline;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
}

.catalogue-title {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.catalogue-title a {
  color: inherit;
  text-decoration: none;
}

.catalogue-title a:hover,
.catalogue-title a:focus-visible {
  color: var(--accent);
}

.catalogue-title small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 13px;
}

.catalogue-cell {
  color: var(--muted);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.5;
}

.empty-note {
  margin: 0;
  color: var(--muted);
}

.works-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.works-header,
.work-row {
  display: grid;
  grid-template-columns: 112px 96px minmax(210px, 1.15fr) minmax(170px, 0.85fr) 82px minmax(120px, 0.65fr) 178px;
  gap: 18px;
  align-items: start;
}

.works-header {
  padding: 0 0 12px;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
}

.work-row {
  padding: 24px 0;
  border-top: 1px solid var(--line-soft);
}

.work-row-media {
  width: 100%;
}

.work-row-title {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

.work-title-link {
  color: var(--ink);
  text-decoration: none;
}

.work-title-link:hover,
.work-title-link:focus-visible {
  color: var(--accent);
}

.work-row-title small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 13px;
}

.work-cell {
  color: var(--muted);
  font-family: var(--ui);
  font-size: 14px;
  line-height: 1.55;
}

.work-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: flex-start;
}

.detail-badges {
  margin: 0 0 18px;
}

.badge-award {
  border-color: rgba(43, 87, 79, 0.34);
  color: var(--accent);
}

.badge-video,
.badge-stage {
  border-color: rgba(74, 88, 112, 0.28);
  color: #485160;
}

.badge-score {
  border-color: rgba(139, 89, 70, 0.32);
}

.badge-electronics {
  border-color: rgba(77, 78, 90, 0.28);
  color: #4f4f5c;
}

.activity-badge.badge-premiere {
  border-color: rgba(43, 87, 79, 0.42);
  background: rgba(43, 87, 79, 0.08);
  color: var(--accent);
}

.activity-badge.badge-rerun {
  border-color: rgba(74, 88, 112, 0.42);
  background: rgba(74, 88, 112, 0.08);
  color: #485160;
}

.activity-badge.badge-award {
  border-color: rgba(180, 132, 49, 0.46);
  background: rgba(180, 132, 49, 0.10);
  color: #8a5e1a;
}

.activity-badge.badge-adopted {
  border-color: rgba(120, 76, 130, 0.42);
  background: rgba(120, 76, 130, 0.08);
  color: #6e3f7c;
}

.activity-badge.badge-upcoming {
  border-color: rgba(43, 87, 79, 0.42);
  background: rgba(43, 87, 79, 0.08);
  color: var(--accent);
}

.activity-badge.badge-other {
  border-color: rgba(102, 97, 88, 0.40);
  background: rgba(102, 97, 88, 0.08);
  color: var(--muted);
}

.biography {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 0.82fr);
  gap: 54px;
  align-items: start;
}

.portrait-frame {
  margin: 0;
  background: transparent;
}

.portrait-frame img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.bio-copy p {
  margin-bottom: 1.25em;
}

.info-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  margin-bottom: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}

.info-grid section {
  min-height: 190px;
  padding: 28px;
  background: rgba(255, 253, 248, 0.74);
}

.info-grid h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.contact-page .button,
.scores-guide .button {
  margin-top: 8px;
}

.contact-page .form-cta,
.scores-guide .form-cta {
  width: min(100%, 430px);
  min-height: 58px;
  margin-top: 20px;
  padding: 14px 30px;
  font-size: 16px;
  box-shadow: 0 16px 38px rgba(37, 34, 28, 0.10);
}

.shop-page > section {
  margin-top: 58px;
}

.policy-list,
.contact-list {
  display: grid;
  gap: 14px;
}

.policy-list section {
  padding: 24px 26px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.74);
}

.policy-list h3 {
  margin-bottom: 10px;
  font-size: 26px;
}

.contact-list {
  gap: 10px;
  margin-bottom: 26px;
}

.contact-list-item {
  position: relative;
  padding: 2px 0 16px 24px;
  border-bottom: 1px solid var(--line-soft);
}

.contact-list-item::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-warm);
}

.contact-list-item h3 {
  margin: 0 0 5px;
  font-family: var(--ui);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.contact-list-item p {
  margin: 0;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.76);
}

.price-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  color: var(--muted);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
}

.price-table td {
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.55;
}

.price-table td strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

.price-table td span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.price-table a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.shop-note {
  margin-top: 16px;
  color: var(--muted);
}

.order-steps {
  display: grid;
  gap: 0;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.order-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  counter-increment: step;
}

.order-steps li::before {
  content: counter(step);
  position: static;
  grid-row: 1 / span 2;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
}

.order-steps h3 {
  margin: 0 0 6px;
  font-family: var(--ui);
  font-size: 16px;
  font-weight: 700;
}

.order-steps p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
}

.usage-matrix {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.usage-matrix th,
.usage-matrix td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  font-family: var(--ui);
  font-size: 16px;
  vertical-align: top;
}

.usage-matrix thead th {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  background: rgba(255, 253, 248, 0.86);
}

[data-score-protected],
[data-score-protected] img,
[data-protected-image],
[data-protected-image] img {
  user-select: none;
  -webkit-user-drag: none;
}

.usage-matrix tbody th {
  color: var(--ink);
  font-weight: 700;
  background: rgba(255, 253, 248, 0.6);
}

.shop-terms {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.shop-terms li {
  margin-bottom: 4px;
}

.shop-order {
  max-width: var(--measure);
}

.contact-intro {
  margin-bottom: 24px;
}

.contact-list {
  padding: 0;
  list-style: none;
  max-width: 860px;
  margin-bottom: 30px;
}

.scores-featured {
  margin-top: 52px;
}

.score-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.score-work-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  background: rgba(255, 253, 248, 0.76);
  color: var(--ink);
  text-decoration: none;
}

.score-work-card span {
  display: block;
  padding: 14px 16px 16px;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
}

.work-detail {
  padding-top: 68px;
  position: relative;
  isolation: isolate;
}

.work-detail > * {
  position: relative;
  z-index: 1;
}

.work-detail.has-detail-background::before,
.work-detail.has-detail-background::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.work-detail.has-detail-background::before {
  inset: 0 calc(50% - 50vw) auto;
  height: min(78svh, 760px);
  z-index: -2;
  background-image: var(--detail-visual);
  background-position: 58% 45%;
  background-size: cover;
  filter: saturate(1.04) contrast(0.98);
  opacity: 0.58;
}

.work-detail.has-detail-background::after {
  inset: 0 calc(50% - 50vw) auto;
  height: min(84svh, 820px);
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.97) 0%, rgba(255, 253, 248, 0.84) 38%, rgba(255, 253, 248, 0.35) 72%, rgba(255, 253, 248, 0.54) 100%),
    linear-gradient(180deg, rgba(247, 243, 233, 0.26) 0%, rgba(247, 243, 233, 0.9) 100%);
}

.breadcrumb {
  margin: 0 0 34px;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 13px;
}

.breadcrumb a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.58fr);
  gap: 46px;
  align-items: stretch;
  margin-bottom: 54px;
}

.detail-hero .work-graphic {
  min-height: 360px;
  border: 1px solid var(--line);
}

.detail-subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 20px;
}

.detail-meta {
  display: grid;
  gap: 0;
  margin: 28px 0;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.72);
}

.fact {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.fact:last-child {
  border-bottom: 0;
}

.fact dt {
  color: var(--muted);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
}

.fact dd {
  margin: 0;
}

.detail-section {
  max-width: 900px;
  margin-top: 58px;
}

#audio-video {
  max-width: 1080px;
}

.score-section {
  max-width: 1080px;
}

.score-section.is-score-active {
  z-index: 3000;
}

.detail-section h2 {
  margin-bottom: 18px;
}

.score-viewer {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.76);
  user-select: none;
}

.score-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.score-toolbar-actions {
  display: inline-flex;
  gap: 9px;
  align-items: center;
}

.score-action-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
}

.score-exit-label {
  display: none;
}

.score-close-button {
  display: none;
}

.score-stage {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  padding: 30px 72px;
  background:
    linear-gradient(180deg, rgba(247, 243, 233, 0.82), rgba(255, 253, 248, 0.92)),
    var(--paper-soft);
}

.score-preview {
  position: relative;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(37, 34, 28, 0.12);
  user-select: none;
}

.score-stage-image {
  width: auto;
  max-width: 100%;
  max-height: 820px;
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
}

.score-preview figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(216, 209, 194, 0.92);
  background: rgba(255, 253, 248, 0.88);
  color: var(--muted);
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
}

.score-nav-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--ui);
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
}

.score-prev {
  left: 18px;
}

.score-next {
  right: 18px;
}

.score-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.score-count {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.score-thumbs {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.score-thumb {
  flex: 0 0 58px;
  height: 74px;
  padding: 3px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}

.score-thumb[aria-current="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.score-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}

body.score-fullscreen-open {
  overflow: hidden;
  touch-action: none;
}

body.score-fullscreen-open .site-header {
  opacity: 0;
  pointer-events: none;
}

body.score-fullscreen-open .work-detail {
  z-index: 1200;
}

.score-viewer.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 3001;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  border: 0;
  background: var(--bg);
  overscroll-behavior: contain;
}

.score-viewer.is-fullscreen .score-close-button {
  display: inline-flex;
}

.score-viewer.is-fullscreen .score-open-label {
  display: none;
}

.score-viewer.is-fullscreen .score-exit-label {
  display: inline;
}

.score-viewer.is-fullscreen .score-toolbar {
  position: relative;
  z-index: 4;
  background: rgba(247, 243, 233, 0.96);
}

.score-viewer.is-fullscreen .score-stage {
  min-height: 0;
  overflow: hidden;
  padding: 24px 82px;
  touch-action: pan-y;
}

.score-viewer.is-fullscreen .score-preview {
  max-width: calc(100vw - 180px);
  max-height: calc(100svh - 190px);
  max-height: calc(100dvh - 190px);
}

.score-viewer.is-fullscreen .score-stage-image {
  max-width: calc(100vw - 180px);
  max-height: calc(100svh - 190px);
  max-height: calc(100dvh - 190px);
}

.score-viewer.is-fullscreen .score-footer {
  position: relative;
  z-index: 4;
  background: rgba(247, 243, 233, 0.96);
}

.materials-panel {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.66);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 34px;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.footer-name {
  margin-bottom: 7px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 25px;
  line-height: 1;
}

.footer-name span {
  font-family: var(--serif);
  font-size: 15px;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.social-links {
  display: inline-flex;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.66);
  color: var(--ink);
  text-decoration: none;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--accent);
  border-color: rgba(43, 87, 79, 0.42);
}

@media (max-width: 1060px) {
  .site-header {
    padding: 0 22px;
  }

  .site-nav {
    gap: 15px;
  }

  .hero,
  .selected-card,
  .detail-hero,
  .biography {
    grid-template-columns: 1fr;
  }

  .brand-graphic {
    min-height: 360px;
  }

  .hero-art,
  .hero-slideshow {
    min-height: 420px;
  }

  .hero-slideshow {
    min-height: 0;
  }

  .hero-slide img {
    min-height: 0;
  }

  .selected-card {
    min-height: 0;
  }

  .work-graphic {
    min-height: 300px;
  }

  .works-header {
    display: none;
  }

  .work-row {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .work-row-media {
    grid-row: 1 / span 6;
  }

  .work-row > :nth-child(3),
  .work-row > :nth-child(4),
  .work-row > :nth-child(5),
  .work-row > :nth-child(6),
  .work-row > :nth-child(7) {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    height: var(--header-height);
  }

  .brand {
    gap: 8px;
  }

  .brand-latin {
    font-size: 22px;
  }

  .brand-jp {
    font-size: 13px;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 26px 28px 34px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 243, 233, 0.98);
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 26px;
    line-height: 1.15;
  }

  .language-switch {
    align-self: flex-start;
    margin-top: 22px;
  }

  .language-switch button {
    min-width: 46px;
    min-height: 38px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding: 62px 22px 54px;
    gap: 34px;
  }

  .hero-name {
    font-size: 53px;
  }

  .hero-name span {
    font-size: 28px;
  }

  .hero-lead,
  .lead {
    font-size: 17px;
  }

  .brand-graphic {
    min-height: 300px;
  }

  .hero-art,
  .hero-slideshow {
    width: 100%;
    min-height: 340px;
  }

  .hero-slideshow {
    min-height: 0;
  }

  .hero-slide img {
    min-height: 0;
  }

  .section,
  .page-hero {
    padding-left: 22px;
    padding-right: 22px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section.compact {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .page-hero {
    padding-top: 68px;
    padding-bottom: 44px;
  }

  .page-hero h1 {
    font-size: 48px;
  }

  .section-head.split,
  .listen-item,
  .detail-meta,
  .info-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .current-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .news-item,
  .activity-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .home-work-strip {
    gap: 12px;
    margin-right: -22px;
    padding-right: 22px;
  }

  .home-work-tile {
    flex-basis: min(76vw, 310px);
    height: min(92vw, 380px);
  }

  .selected-card {
    grid-template-columns: 1fr;
  }

  .selected-image {
    aspect-ratio: 3 / 4;
    width: min(100%, 340px);
    margin: 24px auto 0;
  }

  .selected-copy {
    padding: 24px 22px 26px;
  }

  .selected-title {
    font-size: 32px;
  }

  .carousel-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .listen-item .work-graphic,
  .detail-hero .work-graphic,
  .work-graphic {
    min-height: 230px;
  }

  .selected-image {
    aspect-ratio: 3 / 4;
    width: min(100%, 320px);
  }

  .listen-image {
    aspect-ratio: 3 / 4;
  }

  .detail-image {
    aspect-ratio: 3 / 4;
  }

  .detail-image .work-image {
    max-height: 70vh;
  }

  .score-work-grid {
    grid-template-columns: 1fr;
  }

  .score-stage {
    min-height: min(420px, 106vw);
    padding: 16px 44px;
  }

  .score-stage-image {
    max-height: min(380px, 98vw);
  }

  .score-toolbar {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .score-toolbar-actions {
    margin-left: auto;
  }

  .score-action-button,
  .score-nav-button {
    min-width: 46px;
    min-height: 46px;
  }

  .score-footer {
    align-items: center;
    flex-direction: row;
  }

  .score-viewer.is-fullscreen .score-toolbar {
    align-items: center;
    padding: calc(10px + env(safe-area-inset-top)) 12px 10px;
  }

  .score-viewer.is-fullscreen .score-toolbar-actions {
    display: flex;
    gap: 8px;
  }

  .score-viewer.is-fullscreen .score-action-button {
    min-height: 42px;
    padding: 7px 12px;
  }

  .score-viewer.is-fullscreen .score-stage {
    padding: 10px 48px;
  }

  .score-viewer.is-fullscreen .score-preview,
  .score-viewer.is-fullscreen .score-stage-image {
    max-width: calc(100vw - 100px);
    max-height: calc(100svh - 176px);
    max-height: calc(100dvh - 176px);
  }

  .score-viewer.is-fullscreen .score-footer {
    align-items: center;
    flex-direction: row;
    min-height: 88px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  }

  .score-thumb {
    flex-basis: 64px;
    height: 82px;
  }

  .score-viewer.is-fullscreen .score-thumb {
    flex-basis: 52px;
    height: 68px;
  }

  .score-prev {
    left: 8px;
  }

  .score-next {
    right: 8px;
  }

  .catalogue-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .catalogue-header {
    display: none;
  }

  .catalogue-cell::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 1px;
    color: var(--muted);
    font-weight: 700;
  }

  .work-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0;
  }

  .work-row > * {
    grid-column: auto !important;
  }

  .work-row-media {
    grid-row: auto;
  }

  .work-cell::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-weight: 700;
  }

  .work-badges::before {
    content: attr(data-label);
    flex-basis: 100%;
    color: var(--muted);
    font-family: var(--ui);
    font-size: 12px;
    font-weight: 700;
  }

  .fact {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .footer-inner {
    display: block;
  }

  .footer-links {
    justify-items: start;
    margin-top: 20px;
  }

  .footer-inner .text-link {
    display: inline-flex;
    margin-top: 18px;
  }
}

@media (max-width: 520px) {
  .brand {
    display: grid;
    gap: 2px;
  }

  .hero-name {
    font-size: 46px;
  }

  .site-nav {
    padding: 18px 24px 24px;
  }

  .site-nav a {
    padding: 14px 0;
    font-size: 23px;
  }

  .works-card-image {
    min-height: min(82vw, 340px);
  }

  .button {
    width: 100%;
  }

  .hero-actions .text-link,
  .carousel-actions .text-link,
  .detail-actions .text-link {
    margin-top: 3px;
  }
}

/* v006 visual-balance refinement: keep artwork present, but let information lead. */
.hero {
  position: relative;
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  padding-left: max(34px, calc((100vw - var(--max)) / 2 + 34px));
  padding-right: max(34px, calc((100vw - var(--max)) / 2 + 34px));
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
  justify-content: stretch;
  pointer-events: none;
}

.hero-atmosphere {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: var(--bg);
  box-shadow: none;
  overflow: hidden;
}

.hero-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 253, 248, 0.94), transparent 33%),
    linear-gradient(90deg, rgba(247, 243, 233, 0.98) 0%, rgba(247, 243, 233, 0.86) 30%, rgba(247, 243, 233, 0.28) 58%, rgba(247, 243, 233, 0.06) 100%),
    linear-gradient(180deg, rgba(247, 243, 233, 0.26), rgba(247, 243, 233, 0.22) 72%, rgba(247, 243, 233, 0.72));
  pointer-events: none;
}

.hero-atmosphere .hero-slide {
  inset: 0 0 0 clamp(300px, 34vw, 520px);
  opacity: 0;
  transform: none;
  background: transparent;
  filter: none;
  transition: opacity 3000ms ease;
  will-change: opacity;
}

.hero-atmosphere .hero-slide.is-active {
  opacity: 0.96;
  transform: none;
  z-index: 2;
}

.hero-atmosphere .hero-slide.is-exiting {
  opacity: 0;
  z-index: 1;
}

.hero-atmosphere .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
  transform: translate3d(-2.2%, 0, 0) scale(1.045);
  transform-origin: center;
  will-change: transform;
}

.hero-atmosphere .hero-slide.is-active img {
  animation: heroImageDrift 7000ms linear forwards;
}

.hero-atmosphere .hero-slide.is-exiting img {
  animation: none;
  transform: translate3d(2.2%, 0, 0) scale(1.045);
}

.hero-atmosphere .hero-slide-caption {
  display: none;
}

@keyframes heroImageDrift {
  from {
    transform: translate3d(-2.2%, 0, 0) scale(1.045);
  }

  to {
    transform: translate3d(2.2%, 0, 0) scale(1.045);
  }
}

.works-readable-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
  gap: 18px;
  align-items: stretch;
}

.works-readable-card {
  grid-template-columns: 116px minmax(0, 1fr);
  grid-template-rows: auto;
  gap: 18px;
  align-items: center;
  min-height: 0;
  padding: 14px;
  border: 1px solid rgba(216, 209, 194, 0.78);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.54);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.works-readable-card:hover,
.works-readable-card:focus-within {
  border-color: rgba(139, 89, 70, 0.32);
  background: rgba(255, 253, 248, 0.78);
  transform: translateY(-1px);
}

.works-readable-thumb {
  width: 116px;
  min-height: 0;
  aspect-ratio: 4 / 5;
  align-self: stretch;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(247, 243, 233, 0.92);
}

.works-readable-thumb img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  filter: grayscale(0.22) saturate(0.7) contrast(0.94);
}

.works-readable-thumb:hover img,
.works-readable-thumb:focus-visible img {
  filter: grayscale(0.05) saturate(0.9) contrast(0.98);
  transform: scale(1.025);
}

.works-readable-card .works-card-copy {
  min-width: 0;
  padding-top: 0;
}

.works-readable-card .work-category {
  margin-bottom: 6px;
}

.works-readable-card .works-card-copy h3 {
  margin-bottom: 7px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.06;
}

.works-card-instrumentation {
  margin: 0;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.works-card-brief-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.works-card-summary {
  display: none;
}

.works-readable-card .works-card-meta {
  margin-top: 12px;
}

.works-readable-card .works-card-meta dt {
  margin-bottom: 5px;
  font-size: 12px;
}

.works-readable-card .works-card-meta dd {
  font-size: 14px;
}

.badge-muted {
  border-color: rgba(71, 64, 56, 0.24);
  color: var(--muted);
}

.detail-hero {
  grid-template-columns: minmax(0, 900px);
  align-items: start;
}

.detail-summary {
  display: none;
}

.listen-home-section {
  position: relative;
}

.listen-home-section .home-carousel {
  border: 0;
  background: transparent;
}

.listen-home-section .carousel-viewport {
  overflow: hidden;
  border-radius: 14px;
  transition: height 280ms ease;
}

.listen-home-section .carousel-track {
  align-items: flex-start;
}

.listen-home-section .carousel-slide {
  align-self: flex-start;
}

.listen-feature-card {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr);
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(216, 209, 194, 0.9);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.62);
  cursor: e-resize;
  transition: min-height 280ms ease, border-color 180ms ease;
  isolation: isolate;
}

.home-carousel.has-video .listen-feature-card {
  min-height: min(720px, 82svh);
}

.listen-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--listen-visual);
  background-position: center;
  background-size: cover;
  filter: grayscale(0.12) saturate(0.92) contrast(0.95);
  opacity: 0.36;
  transform: scale(1.02);
}

.listen-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 253, 248, 0.24), transparent 34%),
    linear-gradient(90deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.84) 48%, rgba(247, 243, 233, 0.52));
}

.listen-feature-card .selected-copy {
  position: relative;
  padding: clamp(26px, 3.4vw, 42px);
}

.listen-feature-card .selected-title {
  font-size: clamp(38px, 5vw, 66px);
}

.selected-media {
  max-width: 720px;
  margin: 18px 0 0;
}

.selected-media .media-frame {
  margin-top: 0;
}

.selected-media .media-frame-video {
  max-width: 720px;
}

.selected-media .media-frame-audio iframe {
  display: block;
  height: 126px;
  min-height: 126px;
}

.listen-feature-card .carousel-actions {
  margin-top: 12px;
}

@media (max-width: 820px) {
  .hero {
    gap: 28px;
    grid-template-columns: 1fr;
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-art {
    min-height: 0;
  }

  .hero-atmosphere {
    width: 100%;
    aspect-ratio: auto;
    border-radius: 0;
  }

  .hero-atmosphere .hero-slide.is-active {
    opacity: 0.88;
  }

  .hero-atmosphere::before {
    background:
      radial-gradient(circle at 8% 14%, rgba(255, 253, 248, 0.9), transparent 37%),
      linear-gradient(90deg, rgba(247, 243, 233, 0.96) 0%, rgba(247, 243, 233, 0.78) 38%, rgba(247, 243, 233, 0.18) 78%, rgba(247, 243, 233, 0.04) 100%),
      linear-gradient(180deg, rgba(247, 243, 233, 0.22), rgba(247, 243, 233, 0.14) 68%, rgba(247, 243, 233, 0.58));
  }

  .hero-atmosphere .hero-slide {
    inset: 0 0 0 30%;
  }

  .hero-atmosphere .hero-slide img {
    object-position: center;
  }

  .listen-feature-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .listen-feature-card::before {
    opacity: 0.28;
  }

  .listen-feature-card::after {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(255, 253, 248, 0.84) 64%, rgba(247, 243, 233, 0.62));
  }

  .listen-feature-card .selected-copy {
    padding: 24px 22px 28px;
  }

  .listen-feature-card .selected-title {
    font-size: 34px;
  }

  .selected-media .media-frame-audio iframe {
    height: 126px;
    min-height: 126px;
  }

  .works-readable-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .works-readable-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    padding: 12px;
  }

  .works-readable-thumb {
    width: 92px;
    aspect-ratio: 1 / 1;
  }

  .works-readable-card .works-card-copy h3 {
    font-size: 22px;
  }

  .works-card-summary {
    display: none;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .work-detail.has-detail-background::before {
    height: min(62svh, 520px);
    background-position: 62% 42%;
    opacity: 0.44;
  }

  .work-detail.has-detail-background::after {
    height: min(68svh, 560px);
    background:
      linear-gradient(90deg, rgba(255, 253, 248, 0.94), rgba(255, 253, 248, 0.52)),
      linear-gradient(180deg, rgba(247, 243, 233, 0.22) 0%, rgba(247, 243, 233, 0.94) 100%);
  }

}

@media (max-width: 520px) {
  body {
    font-size: 14px;
    line-height: 1.58;
  }

  .brand-latin {
    font-size: 22px;
  }

  .brand-jp {
    font-size: 12px;
  }

  .menu-button {
    min-height: 42px;
    padding: 8px 15px;
    font-size: 13px;
  }

  .site-nav a {
    padding: 12px 0;
    font-size: 18px;
  }

  .hero-art {
    min-height: 0;
  }

  .hero-atmosphere {
    aspect-ratio: auto;
  }

  .hero-name {
    font-size: 37px;
  }

  .hero-name span {
    font-size: 22px;
  }

  .hero-role {
    margin: 22px 0 14px;
    font-size: 13px;
  }

  .hero-lead,
  .lead {
    font-size: 14px;
    line-height: 1.62;
  }

  .section,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section h2,
  .section-title {
    font-size: 34px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .button {
    min-height: 40px;
    padding: 8px 17px;
    font-size: 12px;
  }

  .works-readable-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 11px;
  }

  .works-readable-thumb {
    width: 78px;
  }

  .works-readable-card .works-card-copy h3 {
    font-size: 20px;
  }

  .works-card-instrumentation,
  .works-readable-card .works-card-meta dd {
    font-size: 13px;
  }

  .works-card-brief-meta {
    font-size: 12px;
  }

  .listen-feature-card .selected-title {
    font-size: 29px;
  }

  .selected-media .media-frame-audio iframe {
    height: 120px;
    min-height: 120px;
  }

  .detail-main-title,
  .listen-copy h2 {
    font-size: 30px;
  }

  .detail-subtitle {
    font-size: 16px;
  }

  .fact dt,
  .work-category,
  .status-badge {
    font-size: 10px;
  }

  .fact dd,
  .works-card-instrumentation,
  .works-readable-card .works-card-meta dd {
    font-size: 13px;
  }

  .score-toolbar {
    padding: 10px 12px;
  }

  .score-toolbar-actions {
    width: 100%;
    margin-left: 0;
  }

  .score-action-button {
    flex: 1 1 0;
    padding: 7px 10px;
    font-size: 12px;
  }

  .score-viewer.is-fullscreen .score-toolbar-actions {
    width: auto;
    margin-left: auto;
  }

  .score-viewer.is-fullscreen .score-action-button {
    flex: 0 0 auto;
  }

  .score-viewer.is-fullscreen .score-stage {
    padding: 8px 42px;
  }

  .score-viewer.is-fullscreen .score-preview,
  .score-viewer.is-fullscreen .score-stage-image {
    max-width: calc(100vw - 88px);
    max-height: calc(100svh - 168px);
    max-height: calc(100dvh - 168px);
  }

  .score-viewer.is-fullscreen .score-footer {
    min-height: 78px;
  }

  .score-viewer.is-fullscreen .score-thumb {
    flex-basis: 46px;
    height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
