:root {
  --black: #090909;
  --ink: #161616;
  --paper: #f5f3ee;
  --white: #fff;
  --muted: #6c6a65;
  --line: #d9d5cc;
  --gold: #b99a52;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Yu Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.8; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.site-header {
  position: fixed; z-index: 100; inset: 0 0 auto; height: 80px; padding: 0 clamp(24px, 4vw, 72px);
  display: flex; align-items: center; justify-content: space-between; color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,.78), transparent);
}
.brand { display: flex; align-items: center; gap: 13px; font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.site-header nav { display: flex; gap: 32px; font-size: 11px; letter-spacing: .18em; }
.site-header nav a { opacity: .75; transition: opacity .25s; }
.site-header nav a:hover { opacity: 1; }
.menu-button { display: none; border: 0; background: none; color: inherit; padding: 8px; }
.menu-button span { display: block; width: 26px; height: 1px; margin: 5px; background: currentColor; }
.menu-button small { font-size: 8px; letter-spacing: .2em; }
.hero { min-height: min(860px, 100svh); display: grid; grid-template-columns: 51% 49%; background: #f6f5f2; }
.hero-copy { padding: 150px clamp(32px, 7vw, 112px) 80px; align-self: center; }
.eyebrow, .section-label { margin: 0 0 22px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .24em; }
.hero h1 { margin: 0; font: 500 clamp(54px, 6.4vw, 102px)/1.22 var(--serif); letter-spacing: .035em; }
.hero-role { margin: 28px 0 12px; font-size: 11px; letter-spacing: .22em; }
.hero-text { max-width: 590px; margin: 0; color: #4d4b47; font-size: 14px; }
.hero-visual {
  min-height: 680px; background: linear-gradient(90deg, rgba(246,245,242,.2), transparent 20%), url("../ryotaiwakoshi/assets/ryota-hero.png") center/cover no-repeat;
  filter: grayscale(1) contrast(1.1);
}
.actions { display: flex; gap: 14px; margin-top: 36px; }
.button { min-width: 190px; padding: 16px 22px; display: inline-flex; justify-content: space-between; align-items: center; border: 1px solid #111; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.button-dark { color: #fff; background: #111; }
.button-light { background: transparent; }
.button-white { color: #111; background: #fff; border-color: #fff; }
.metrics { padding: 0 clamp(20px, 5vw, 80px); display: grid; grid-template-columns: repeat(6, 1fr); color: #fff; background: #080808; }
.metrics div { min-height: 138px; padding: 30px 18px; display: grid; place-content: center; text-align: center; border-right: 1px solid #37342d; }
.metrics div:last-child { border: 0; }
.metrics strong { color: #d5c18d; font: 500 clamp(22px, 2.3vw, 37px)/1.1 var(--serif); }
.metrics span { margin-top: 12px; color: #aaa; font-size: 10px; letter-spacing: .08em; }
.section { padding: clamp(80px, 10vw, 150px) clamp(24px, 7vw, 112px); }
.profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch; gap: 0; }
.profile-photo { min-height: 600px; overflow: hidden; background: #ddd; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; filter: grayscale(1); }
.profile-copy { padding: clamp(42px, 6vw, 92px); background: #fff; }
.profile h2, .section-heading h2, .works h2, .contact h2 { margin: 0; font: 500 clamp(40px, 4.8vw, 74px)/1.18 var(--serif); }
.profile-role { margin: 12px 0 28px; font-size: 12px; letter-spacing: .2em; }
.profile-copy > p { color: #5c5954; font-size: 14px; }
.profile-links { display: flex; gap: 18px; flex-wrap: wrap; margin: 30px 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.profile-copy details { border-top: 1px solid var(--line); padding-top: 20px; }
.profile-copy summary { cursor: pointer; font-size: 13px; font-weight: 700; }
.profile-copy li { margin: 8px 0; color: #5c5954; font-size: 13px; }
.dark-section { padding: clamp(80px, 9vw, 140px) clamp(24px, 7vw, 112px); color: #fff; background: #080808; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.section-heading h2 { color: inherit; }
.section-heading > a { padding-bottom: 8px; border-bottom: 1px solid #555; font-size: 11px; letter-spacing: .1em; }
.section-heading.centered { display: block; text-align: center; }
.section-heading.centered > p:last-child { margin: 18px auto 0; color: var(--muted); }
.featured-track { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 18px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 20px; }
.featured-card { min-width: 220px; }
.featured-image { aspect-ratio: 1; overflow: hidden; background: linear-gradient(145deg,#282828,#111); }
.featured-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: transform .5s; }
.featured-image.is-fallback,
.work-thumb.is-fallback {
  display: grid;
  place-content: center;
  place-items: center;
  gap: 14px;
  background:
    radial-gradient(circle at 50% 42%, rgba(214,196,134,.13), transparent 32%),
    linear-gradient(145deg,#282828,#111);
}
.featured-image.is-fallback::before,
.work-thumb.is-fallback::before {
  content: "♫";
  color: #d6c486;
  font: 400 58px/1 var(--serif);
}
.featured-image.is-fallback::after,
.work-thumb.is-fallback::after {
  content: "MUSIC WORK";
  text-align: center;
  color: #d6c486;
  font: 600 10px/1.5 var(--sans);
  letter-spacing: .24em;
}
.featured-card:hover img { transform: scale(1.03); }
.featured-card small { display: block; margin-top: 16px; color: var(--gold); font-size: 9px; letter-spacing: .13em; }
.featured-card h3 { margin: 7px 0 0; font: 500 15px/1.55 var(--serif); }
.service-section { background: #faf9f6; }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); background: #fff; }
.service-card { min-height: 330px; padding: 30px 24px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.service-card:last-child { border: 0; }
.service-card > span { color: var(--gold); font-size: 10px; letter-spacing: .16em; }
.service-card i { margin: 38px 0 26px; font: normal 32px var(--serif); }
.service-card h3 { margin: 0; font-size: 15px; }
.service-card p { color: var(--muted); font-size: 12px; }
.service-card a { margin-top: auto; font-size: 11px; font-weight: 700; }
.brand-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brand-panel { min-height: 350px; padding: clamp(42px, 6vw, 84px); display: flex; justify-content: space-between; flex-direction: column; }
.brand-panel p { margin: 0 0 12px; color: var(--gold); font-size: 11px; letter-spacing: .18em; }
.brand-panel h2 { margin: 0 0 18px; font: 500 clamp(34px, 4vw, 62px) var(--serif); }
.brand-panel span { color: #aaa; font-size: 13px; }
.brand-panel b { font-size: 11px; letter-spacing: .1em; }
.creator-panel { color: #fff; background: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.52)), url("../ryotaiwakoshi/assets/request-vocal-direction.png") center/cover; }
.vocal-panel { color: #fff; background: linear-gradient(90deg, rgba(0,0,0,.87), rgba(0,0,0,.55)), url("../ryotaiwakoshi/assets/request-performance.png") center/cover; }
.voice-panel { color: #fff; background: linear-gradient(90deg, rgba(0,0,0,.87), rgba(0,0,0,.55)), url("../ryotaiwakoshi/assets/ryota-voice-bg.jpg") center/cover; }
.voice-panel span { color: rgba(255,255,255,.78); }
.listen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.listen-grid a { min-width: 0; min-height: 170px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; overflow-wrap: anywhere; background: #fff; }
.listen-grid strong { font: 500 21px var(--serif); }
.listen-grid span { font-size: 10px; letter-spacing: .08em; }
.works { background: #eeece6; }
.works-intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 48px; }
.works-intro p { margin-bottom: 0; color: var(--muted); }
.works-intro > strong { color: var(--gold); font: 500 24px var(--serif); }
.works-tools { padding: 24px; display: flex; align-items: end; gap: 24px; justify-content: space-between; background: #fff; border: 1px solid var(--line); }
.works-tools label { flex: 1; }
.works-tools label span { display: block; margin-bottom: 8px; font-size: 9px; letter-spacing: .15em; }
.works-tools input { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #222; outline: 0; background: transparent; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-buttons button { border: 1px solid var(--line); padding: 10px 12px; background: transparent; font-size: 9px; cursor: pointer; }
.filter-buttons button.is-active { color: #fff; background: #111; border-color: #111; }
.works-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.work-thumb { aspect-ratio: 16/10; background: linear-gradient(145deg,#242424,#0c0c0c); overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-number { height: 100%; display: grid; place-content: center; color: #5d5644; font: 500 54px var(--serif); }
.work-body { padding: 24px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.work-tags span { color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.work-body h3 { min-height: 3.2em; margin: 12px 0 16px; font: 500 17px/1.6 var(--serif); }
.work-body details { padding-top: 14px; border-top: 1px solid var(--line); }
.work-body summary { cursor: pointer; font-size: 10px; font-weight: 700; }
.work-body li { margin: 5px 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.work-link { display: inline-block; margin-top: 16px; font-size: 10px; font-weight: 700; }
.load-more { margin: 38px auto 0; min-width: 220px; padding: 16px; display: flex; justify-content: space-between; border: 1px solid #111; background: transparent; cursor: pointer; }
.load-more[hidden] { display: none; }
.contact { padding: clamp(70px, 8vw, 120px) clamp(24px, 7vw, 112px); display: flex; align-items: end; justify-content: space-between; gap: 40px; color: #fff; background: #0a0a0a; }
.contact p:not(.section-label) { color: #aaa; }
.contact .button { min-width: 250px; }
footer { padding: 30px clamp(24px, 7vw, 112px); display: grid; grid-template-columns: 1fr auto auto auto; gap: 20px; align-items: center; color: #aaa; background: #050505; border-top: 1px solid #222; font-size: 9px; letter-spacing: .1em; }
footer div { display: flex; gap: 18px; }
footer small { text-align: right; }
.footer-top-link { padding: 10px 14px; color: #fff; border: 1px solid #555; font-weight: 800; letter-spacing: .16em; }
.footer-top-link:hover { color: #050505; background: #fff; border-color: #fff; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card { border-bottom: 1px solid var(--line); }
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .metrics div:nth-child(3) { border-right: 0; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .site-header { height: 68px; padding: 0 18px; background: rgba(8,8,8,.88); backdrop-filter: blur(14px); }
  .brand { font-size: 11px; }
  .brand img { width: 34px; height: 34px; }
  .menu-button { display: block; }
  .site-header nav { position: absolute; top: 68px; left: 0; right: 0; padding: 22px; display: none; flex-direction: column; gap: 18px; background: #0b0b0b; }
  .site-header nav.is-open { display: flex; }
  .hero { min-height: auto; display: flex; flex-direction: column-reverse; background: #f6f5f2; }
  .hero-visual { min-height: 58svh; background-position: 68% center; }
  .hero-copy { padding: 44px 24px 62px; }
  .hero h1 { font-size: clamp(48px, 15vw, 66px); }
  .hero-text br { display: none; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .metrics { grid-template-columns: repeat(2, 1fr); padding: 0 14px; }
  .metrics div { min-height: 116px; padding: 20px 10px; }
  .metrics div:nth-child(3) { border-right: 1px solid #37342d; }
  .metrics div:nth-child(even) { border-right: 0; }
  .section { padding: 76px 20px; }
  .profile { display: block; }
  .profile-photo { min-height: 360px; }
  .profile-copy { padding: 40px 24px; }
  .dark-section { padding: 76px 20px; }
  .section-heading { display: block; }
  .section-heading > a { display: inline-block; margin-top: 20px; }
  .featured-track { grid-template-columns: repeat(5, 76vw); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 270px; padding: 24px 18px; }
  .service-card:nth-child(even) { border-right: 0; }
  .service-card i { margin: 24px 0 18px; }
  .brand-services { grid-template-columns: 1fr; }
  .brand-panel { min-height: 300px; padding: 42px 24px; }
  .listen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listen-grid a { min-height: 140px; padding: 20px; }
  .works-intro { display: block; }
  .works-intro > strong { display: block; margin-top: 20px; }
  .works-tools { align-items: stretch; flex-direction: column; }
  .works-grid { grid-template-columns: 1fr; }
  .work-body h3 { min-height: auto; }
  .contact { align-items: stretch; flex-direction: column; }
  footer { grid-template-columns: 1fr; }
  footer small { text-align: left; }
  .footer-top-link { justify-self: start; min-width: 72px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
