:root {
  --paper: #f3f0e8;
  --paper-2: #e9e5da;
  --ink: #171614;
  --muted: #6f6b62;
  --line: #d6d1c4;
  --moss: #4f5d43;
  --sans: "Inter", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --serif: "Source Serif 4", "Noto Serif SC", "Songti SC", "Hiragino Mincho ProN", serif;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* bilingual */
html.en [lang="zh"], html.en [lang="ja"],
html.zh [lang="en"], html.zh [lang="ja"],
html.ja [lang="en"], html.ja [lang="zh"] { display: none; }
html.zh body { font-family: var(--serif); }
html.ja { --serif: "Source Serif 4", "Noto Serif JP", "Hiragino Mincho ProN", serif; }
html.ja body { font-family: var(--serif); }
.post { display: none; }
body.released .pre { display: none; }
body.released .post { display: inline; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 99px; padding: 2px; }
.lang-switch button {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font: 400 12px var(--sans); padding: 5px 10px; border-radius: 99px;
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* shared */
section { padding: clamp(72px, 12vw, 160px) var(--gutter); border-bottom: 1px solid var(--line); }
.section-label { font: 400 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 48px; }
.eyebrow { font: 400 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
h1, h2 { font-family: var(--serif); font-weight: 300; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 52px); line-height: 1.2; max-width: 22ch; }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  min-height: calc(100vh - 60px); padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px);
}
.hero h1 { font-size: clamp(48px, 8vw, 120px); line-height: 1.02; }
.lede { font-size: clamp(18px, 1.8vw, 22px); color: var(--muted); max-width: 30ch; margin: 28px 0 44px; }
.hero-image { margin: 0; justify-self: end; width: min(100%, 520px); }
.hero-image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.release-chip {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  padding: 8px 20px 8px 8px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper);
  transition: border-color .2s;
}
.release-chip:hover { border-color: var(--ink); }
.release-chip img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.release-chip small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); }
.release-chip strong { font-weight: 400; font-size: 15px; }

/* concept */
.concept-body { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 8vw, 140px); align-items: start; }
.kanji { font: 300 clamp(96px, 16vw, 240px)/1 var(--serif); writing-mode: vertical-rl; margin: 0; letter-spacing: .1em; }
.big { font: 300 clamp(24px, 3.2vw, 42px)/1.4 var(--serif); margin: 0 0 56px; max-width: 26ch; }
html.zh .big, html.ja .big { max-width: 20em; }
blockquote { margin: 0; padding-left: 24px; border-left: 1px solid var(--ink); font: 300 italic 18px/1.6 var(--serif); color: var(--muted); max-width: 40ch; }
cite { display: block; font-style: normal; font-size: 13px; margin-top: 8px; letter-spacing: .06em; }

/* residency */
.residency-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.residency-intro p { margin: 0; color: var(--muted); max-width: 46ch; font-size: 17px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 72px 0; border-top: 1px solid var(--ink); }
.facts div { padding: 20px 20px 0 0; }
.facts dt { font: 400 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 8px 0 0; font: 300 clamp(18px, 2vw, 26px)/1.3 var(--serif); }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 26vw, 360px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px;
  margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter);
}
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery figcaption, .logo-row figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; letter-spacing: .04em; }

/* artists */
.artists h2 { margin-bottom: 64px; }
.artist-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.artist-list li {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.artist-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; }
.artist-list .name { font: 300 clamp(30px, 5vw, 64px)/1.1 var(--serif); }
.artist-list .jp { font-size: .5em; color: var(--muted); margin-left: .4em; }
.artist-list .meta { font-size: 13px; color: var(--muted); }
.socials { display: flex; gap: 10px; }
.soc {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; transition: border-color .2s, background .2s;
}
.soc::before {
  content: ""; width: 17px; height: 17px; background: var(--ink);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.soc:hover { background: var(--ink); border-color: var(--ink); }
.soc:hover::before { background: var(--paper); }
.soc-spotify { --icon: url(assets/icons/spotify.svg); }
.soc-instagram { --icon: url(assets/icons/instagram.svg); }
.soc-tiktok { --icon: url(assets/icons/tiktok.svg); }
.soc-youtube { --icon: url(assets/icons/youtube.svg); }

/* music */
.music { background: var(--ink); color: var(--paper); border-bottom-color: var(--ink); }
.music .section-label, .music .eyebrow { color: #9a958a; }
.single { display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.cover { width: 100%; aspect-ratio: 1; object-fit: cover; }
.single-title { font-size: clamp(44px, 7vw, 96px); line-height: 1; max-width: none; }
.byline { font: 300 20px var(--serif); color: #bdb8ac; margin: 12px 0 28px; }
.single-text p:not(.eyebrow):not(.byline) { color: #c9c4b8; max-width: 52ch; }
.btn {
  display: inline-flex; gap: 12px; align-items: center; margin-top: 20px;
  padding: 14px 28px; border: 1px solid var(--paper); border-radius: 99px;
  text-decoration: none; font: 400 13px var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.timeline { list-style: none; margin: 96px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #3a3833; }
.timeline li { padding: 22px 20px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #5d5a53; }
.timeline li.now::before { background: var(--paper); box-shadow: 0 0 0 5px rgba(243, 240, 232, .15); }
.timeline time { font: 400 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #9a958a; }
.timeline p { margin: 8px 0 0; font: 300 17px/1.4 var(--serif); }

/* watch & listen */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 48px 32px; }
.media-card h3 { font: 300 24px/1.2 var(--serif); margin: 18px 0 4px; }
.media-artist { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.yt, .yt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000 center / cover no-repeat; cursor: pointer; position: relative; }
.yt .play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(23, 22, 20, .75); color: var(--paper); display: grid; place-items: center; font-size: 20px; transition: transform .2s; }
.yt:hover .play { transform: scale(1.08); }
.sp { width: 100%; border: 0; border-radius: 12px; display: block; }
.media-links { display: flex; gap: 20px; font-size: 13px; letter-spacing: .06em; margin: 12px 0 0; }
.media-links a { color: var(--muted); text-decoration: none; }
.media-links a:hover { color: var(--ink); }

/* partners */
.logo-row { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); align-items: flex-end; }
.logo-row figure { margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
.logo-row .round { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; mix-blend-mode: multiply; }
.logo-row .wide { height: 40px; width: auto; margin-bottom: 28px; }
.wordmark { font: 500 26px/1.1 var(--sans); display: flex; flex-direction: column; min-height: 96px; justify-content: flex-end; }
.wordmark.serif { font-family: var(--serif); font-weight: 400; font-size: 30px; }
.wordmark small { font: 400 12px var(--sans); color: var(--muted); letter-spacing: .06em; margin-top: 6px; }
.thanks-label { margin-top: 96px; }

/* footer */
.footer { padding: clamp(72px, 10vw, 128px) var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px)); text-align: center; }
.footer-logo { width: min(340px, 70vw); margin: 0 auto; }
.footer-line { font: 300 18px var(--serif); color: var(--muted); margin: 32px 0 40px; }
.follow { list-style: none; padding: 0; margin: 0 0 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.follow a { display: inline-block; padding: 10px 20px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-size: 14px; transition: border-color .2s; }
.follow a:hover { border-color: var(--ink); }
.copy { font-size: 12px; color: var(--muted); margin: 0; }

/* responsive */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .lang-switch { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-image { justify-self: stretch; width: 100%; order: -1; }
  .hero-image img { aspect-ratio: 4 / 5; }
  .concept-body { grid-template-columns: 1fr; }
  .kanji { writing-mode: horizontal-tb; }
  .residency-intro, .single { grid-template-columns: 1fr; }
  .facts, .timeline { grid-template-columns: 1fr 1fr; row-gap: 28px; }
}
