/**
 * XYZ Saxophone — Artist Model（ヒーロー + ディテールショーケース）
 */

.xyz-page--lineup-artist {
	max-width: none;
	padding: 0;
}

.xyz-lineup-product--artist-model {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Top nav — Pro / Accent と同じ余白 */
.xyz-artist-model-top {
	width: min( 100% - clamp( 1.5rem, 6vw, 3rem ), 68rem );
	margin-inline: auto;
	padding: clamp( 5rem, 12vh, 6.5rem ) 0 0;
}

.xyz-artist-model-top .xyz-lineup-tabs {
	margin: 0 0 clamp( 2rem, 5vw, 2.75rem );
}

/* —— Hero: 左画像・右テキスト —— */
.xyz-artist-model-hero {
	position: relative;
	overflow: hidden;
	padding: 0 clamp( 1.25rem, 4vw, 2rem ) clamp( 3rem, 8vh, 5rem );
	background: var( --xyz-bg, #080808 );
}

.xyz-artist-model-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0.55;
	filter: saturate( 0.9 ) contrast( 1.05 );
}

.xyz-artist-model-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	/*
	 * 上部はほぼ黒で、少しずつ背景画像が出るようにフェード。
	 * （背景が「急に始まる」印象を抑える）
	 */
	background: linear-gradient(
		180deg,
		rgba( 8, 8, 8, 1 ) 0%,
		rgba( 8, 8, 8, 0.94 ) 18%,
		rgba( 8, 8, 8, 0.78 ) 38%,
		rgba( 8, 8, 8, 0.45 ) 62%,
		rgba( 8, 8, 8, 0 ) 100%
	);
}

.xyz-artist-model-hero__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	/* cover のクロップを少し弱めて「元の模様を見せる」 */
	transform: scale( 0.92 );
	transform-origin: center top;
}

.xyz-artist-model-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax( 0, 1.4fr ) minmax( 0, 0.95fr );
	gap: clamp( 1.25rem, 3vw, 2.5rem );
	align-items: center;
	width: min( 100%, 76rem );
	margin-inline: auto;
	padding-inline: clamp( 0.5rem, 2vw, 1.5rem );
}

.xyz-artist-model-hero__figure {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp( 28rem, 62vh, 46rem );
	padding: clamp( 0.5rem, 2vw, 1.5rem ) clamp( 1rem, 4vw, 2.5rem ) clamp( 0.5rem, 2vw, 1.5rem ) clamp( 1.5rem, 5vw, 3.5rem );
}

.xyz-artist-model-hero__figure-img {
	display: block;
	width: auto;
	height: min( 88vh, 56rem );
	max-width: min( 100%, 42rem );
	object-fit: contain;
	object-position: center center;
	filter: drop-shadow( 0 32px 64px rgba( 0, 0, 0, 0.55 ) );
}

.xyz-artist-model-hero__brand {
	text-align: left;
}

.xyz-artist-model-hero__logo {
	display: block;
	width: clamp( 3rem, 8vw, 4.5rem );
	margin: 0 0 clamp( 0.75rem, 2vw, 1.25rem );
	color: #fff;
	filter: drop-shadow( 0 4px 24px rgba( 0, 0, 0, 0.4 ) );
}

.xyz-artist-model-hero__logo svg {
	display: block;
	width: 100%;
	height: auto;
}

.xyz-artist-model-hero__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: var( --xyz-accent, #c9b896 );
}

.xyz-artist-model-hero__title {
	margin: 0;
	font-family: "Outfit", var( --font-sans );
	line-height: 1;
}

.xyz-artist-model-hero__title-main {
	display: block;
	font-size: clamp( 2.5rem, 8vw, 4.5rem );
	font-weight: 900;
	letter-spacing: -0.03em;
	color: #fff;
	text-shadow: 0 8px 40px rgba( 0, 0, 0, 0.35 );
}

.xyz-artist-model-hero__title-sub {
	display: block;
	margin-top: 0.15em;
	font-size: clamp( 0.9375rem, 2.5vw, 1.25rem );
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: rgba( 255, 255, 255, 0.82 );
}

.xyz-artist-model-hero__lead {
	max-width: 28rem;
	margin: clamp( 1rem, 3vw, 1.5rem ) 0 0;
	font-size: clamp( 0.9375rem, 2vw, 1.0625rem );
	line-height: 1.85;
	color: var( --xyz-text-muted, rgba( 242, 242, 242, 0.68 ) );
}

/* —— Detail showcase —— */
.xyz-artist-model-showcase {
	padding: clamp( 3rem, 8vh, 5rem ) clamp( 1.25rem, 4vw, 2.5rem ) clamp( 4rem, 10vh, 6rem );
	background: var( --xyz-bg, #080808 );
}

.xyz-artist-model-showcase__inner {
	display: grid;
	grid-template-columns: minmax( 13rem, 18rem ) 1fr;
	gap: clamp( 2rem, 5vw, 4rem );
	align-items: start;
	width: min( 100%, 72rem );
	margin-inline: auto;
}

.xyz-artist-model-showcase__nav {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	position: sticky;
	top: clamp( 5rem, 12vh, 7rem );
}

.xyz-artist-model-showcase__nav-item {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.xyz-artist-model-showcase__tab {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.65rem 1rem;
	border: 0;
	border-radius: 999px;
	background: rgba( 255, 255, 255, 0.06 );
	color: var( --xyz-text-muted, rgba( 242, 242, 242, 0.68 ) );
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease;
}

.xyz-artist-model-showcase__tab:hover,
.xyz-artist-model-showcase__tab:focus-visible {
	background: rgba( 255, 255, 255, 0.1 );
	color: var( --xyz-text, #f2f2f2 );
}

.xyz-artist-model-showcase__tab.is-active {
	background: rgba( 201, 184, 150, 0.18 );
	color: var( --xyz-text, #f2f2f2 );
}

.xyz-artist-model-showcase__tab-desc {
	overflow: hidden;
	max-height: 0;
	margin: 0;
	padding: 0 1rem;
	font-size: 0.8125rem;
	line-height: 1.75;
	color: var( --xyz-text-muted, rgba( 242, 242, 242, 0.68 ) );
	opacity: 0;
	transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.35s ease, padding 0.35s ease;
}

.xyz-artist-model-showcase__tab-desc.is-open {
	max-height: 12rem;
	margin: 0.35rem 0 0.65rem;
	padding: 0 1rem 0.25rem;
	opacity: 1;
}

.xyz-artist-model-showcase__stage {
	min-width: 0;
	align-self: start;
	position: sticky;
	top: clamp( 5rem, 12vh, 7rem );
}

.xyz-artist-model-showcase__slides {
	position: relative;
	aspect-ratio: 4 / 3;
	max-height: min( 70vh, 34rem );
	margin: 0;
	background: radial-gradient( ellipse 80% 70% at 50% 50%, rgba( 255, 255, 255, 0.04 ) 0%, transparent 70% );
}

.xyz-artist-model-showcase__panel {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	opacity: 0;
	transform: scale( 0.97 ) translateY( 12px );
	transition: opacity 0.52s ease, transform 0.52s ease;
	pointer-events: none;
}

.xyz-artist-model-showcase__panel.is-active {
	opacity: 1;
	transform: scale( 1 ) translateY( 0 );
	pointer-events: auto;
}

.xyz-artist-model-showcase__panel.is-leaving {
	opacity: 0;
	transform: scale( 0.98 ) translateY( -8px );
	pointer-events: none;
}

.xyz-artist-model-showcase__img {
	display: block;
	width: auto;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
	filter: drop-shadow( 0 24px 48px rgba( 0, 0, 0, 0.45 ) );
}

.xyz-artist-model-showcase__placeholder {
	width: 100%;
	height: 100%;
	background: var( --xyz-bg-card, #141414 );
}

/* —— Highlights (before Soldered) —— */
.xyz-artist-highlights {
	padding: clamp( 2.5rem, 7vh, 4rem ) clamp( 1.25rem, 4vw, 2.5rem );
	background: var( --xyz-bg, #080808 );
}

.xyz-artist-highlights__inner {
	width: min( 100%, 68.75rem );
	margin-inline: auto;
}

.xyz-artist-highlights__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.xyz-artist-highlights__card {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	width: 100%;
	padding: clamp( 1.25rem, 3vw, 1.6rem ) clamp( 1.25rem, 3vw, 2rem );
	border: 0;
	text-decoration: none;
	color: inherit;
	background: rgba( 255, 255, 255, 0.03 );
	border: 1px dashed rgba( 255, 255, 255, 0.18 );
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	cursor: pointer;
	text-align: left;
}

.xyz-artist-highlights__card:hover,
.xyz-artist-highlights__card:focus-visible {
	background: rgba( 255, 255, 255, 0.05 );
	border-color: rgba( 201, 184, 150, 0.42 );
	transform: translateY( -2px );
}

.xyz-artist-highlights__point {
	margin: 0 0 0.45rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: lowercase;
	color: var( --xyz-accent-warm, #b8957a );
}

.xyz-artist-highlights__title {
	margin: 0;
	font-size: clamp( 1.25rem, 2.8vw, 1.75rem );
	font-weight: 800;
	line-height: 1.25;
	color: var( --xyz-text, #f2f2f2 );
}

.xyz-artist-highlights__desc {
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
	line-height: 1.7;
	color: var( --xyz-text-muted, rgba( 242, 242, 242, 0.68 ) );
}

.xyz-artist-highlights__hover {
	position: absolute;
	inset: -20% -10% -20% auto;
	width: min( 52%, 22rem );
	background-image: var( --xyz-highlight-img );
	background-size: cover;
	background-position: center;
	opacity: 0;
	transform: translateX( 18% ) rotate( -12deg );
	filter: saturate( 0.9 ) contrast( 1.1 );
	transition: opacity 0.35s ease, transform 0.45s cubic-bezier( 0.2, 0.8, 0.2, 1 );
	pointer-events: none;
	mix-blend-mode: screen;
}

.xyz-artist-highlights__hover::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient( 90deg, rgba( 8, 8, 8, 0.95 ) 0%, rgba( 8, 8, 8, 0.35 ) 55%, rgba( 8, 8, 8, 0 ) 100% );
}

.xyz-artist-highlights__link {
	flex: 0 0 auto;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var( --xyz-text, #f2f2f2 );
	opacity: 0.75;
}

.xyz-artist-highlights__card:hover .xyz-artist-highlights__link,
.xyz-artist-highlights__card:focus-visible .xyz-artist-highlights__link {
	opacity: 1;
}

.xyz-artist-highlights__card:hover .xyz-artist-highlights__hover,
.xyz-artist-highlights__card:focus-visible .xyz-artist-highlights__hover {
	opacity: 0.9;
	transform: translateX( 0% ) rotate( -12deg );
}

@media ( prefers-reduced-motion: reduce ) {
	.xyz-artist-highlights__hover {
		transition: none;
	}
}

/* —— Highlights modal (polish) —— */
#xyz-highlight-modal .xyz-artist-modal__backdrop {
	background: rgba( 0, 0, 0, 0.78 );
	backdrop-filter: blur( 10px );
	-webkit-backdrop-filter: blur( 10px );
}

#xyz-highlight-modal .xyz-artist-modal__dialog::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	/* グラデではなく、うっすら質感だけ */
	background: rgba( 201, 184, 150, 0.06 );
	opacity: 0.6;
	mix-blend-mode: overlay;
}

#xyz-highlight-modal .xyz-artist-modal__dialog {
	border-radius: 18px;
	border: 1px solid rgba( 255, 255, 255, 0.14 );
	background: rgba( 20, 20, 20, 0.96 );
	box-shadow:
		0 32px 92px rgba( 0, 0, 0, 0.62 ),
		0 0 0 1px rgba( 255, 255, 255, 0.06 ) inset;
	overflow: hidden;
}

/* Unfolding animation (like sample) */
#xyz-highlight-modal {
	transform: scale( 0 );
	transform-origin: center;
}

#xyz-highlight-modal.is-open {
	transform: scaleY( 0.01 ) scaleX( 0 );
	animation: xyz-highlight-unfold-in 0.85s cubic-bezier( 0.165, 0.84, 0.44, 1 ) forwards;
}

#xyz-highlight-modal.is-open .xyz-artist-modal__dialog {
	transform: scale( 0 );
	animation: xyz-highlight-zoom-in 0.48s 0.55s cubic-bezier( 0.165, 0.84, 0.44, 1 ) forwards;
}

#xyz-highlight-modal.is-out {
	transform: scale( 1 );
	animation: xyz-highlight-unfold-out 1s 0.3s cubic-bezier( 0.165, 0.84, 0.44, 1 ) forwards;
}

#xyz-highlight-modal.is-out .xyz-artist-modal__dialog {
	animation: xyz-highlight-zoom-out 0.5s cubic-bezier( 0.165, 0.84, 0.44, 1 ) forwards;
}

@keyframes xyz-highlight-unfold-in {
	0% { transform: scaleY( 0.005 ) scaleX( 0 ); }
	50% { transform: scaleY( 0.005 ) scaleX( 1 ); }
	100% { transform: scaleY( 1 ) scaleX( 1 ); }
}

@keyframes xyz-highlight-unfold-out {
	0% { transform: scaleY( 1 ) scaleX( 1 ); }
	50% { transform: scaleY( 0.005 ) scaleX( 1 ); }
	100% { transform: scaleY( 0.005 ) scaleX( 0 ); }
}

@keyframes xyz-highlight-zoom-in {
	0% { transform: scale( 0 ); }
	100% { transform: scale( 1 ); }
}

@keyframes xyz-highlight-zoom-out {
	0% { transform: scale( 1 ); }
	100% { transform: scale( 0 ); }
}

#xyz-highlight-modal .xyz-artist-modal__close {
	border-radius: 999px;
	border-color: rgba( 255, 255, 255, 0.16 );
	background: rgba( 0, 0, 0, 0.55 );
	backdrop-filter: blur( 10px );
	-webkit-backdrop-filter: blur( 10px );
}

#xyz-highlight-modal .xyz-artist-modal__close:hover,
#xyz-highlight-modal .xyz-artist-modal__close:focus-visible {
	border-color: rgba( 201, 184, 150, 0.38 );
}

#xyz-highlight-modal .xyz-artist-modal__layout {
	grid-template-columns: minmax( 0, 18rem ) minmax( 0, 1fr );
	gap: clamp( 1.25rem, 3vw, 2.25rem );
	padding: clamp( 1.25rem, 3vw, 2.25rem );
}

#xyz-highlight-modal .xyz-artist-modal__media {
	position: relative;
}

#xyz-highlight-modal .xyz-artist-modal__img,
#xyz-highlight-modal .xyz-artist-modal__placeholder {
	border-radius: 12px;
	overflow: hidden;
}

#xyz-highlight-modal .xyz-artist-modal__img {
	aspect-ratio: 4 / 5;
	box-shadow: 0 18px 48px rgba( 0, 0, 0, 0.45 );
}

#xyz-highlight-modal .xyz-artist-modal__placeholder {
	background: rgba( 255, 255, 255, 0.05 );
}

#xyz-highlight-modal .xyz-artist-modal__country {
	color: var( --xyz-accent, #c9b896 );
	letter-spacing: 0.22em;
}

#xyz-highlight-modal .xyz-artist-modal__title {
	font-family: "Outfit", var( --font-sans );
	font-weight: 800;
	letter-spacing: -0.01em;
}

#xyz-highlight-modal .xyz-artist-modal__name-sub {
	color: var( --xyz-text-muted, rgba( 242, 242, 242, 0.72 ) );
	font-size: 0.9375rem;
	line-height: 1.7;
}

#xyz-highlight-modal .xyz-artist-modal__profile {
	color: var( --xyz-text-muted, rgba( 242, 242, 242, 0.72 ) );
	font-size: 0.9375rem;
	line-height: 1.9;
	white-space: pre-line;
}

@media ( max-width: 760px ) {
	#xyz-highlight-modal .xyz-artist-modal__layout {
		grid-template-columns: 1fr;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	#xyz-highlight-modal,
	#xyz-highlight-modal .xyz-artist-modal__dialog {
		animation: none !important;
		transform: none !important;
	}
}

/* —— Soldered explain —— */
.xyz-artist-model-soldered {
	padding: clamp( 3rem, 8vh, 5rem ) clamp( 1.25rem, 4vw, 2.5rem );
	background: var( --xyz-bg-soft, #0e0e0e );
	border-top: 1px solid var( --xyz-border, rgba( 255, 255, 255, 0.1 ) );
	border-bottom: 1px solid var( --xyz-border, rgba( 255, 255, 255, 0.1 ) );
}

.xyz-artist-model-soldered__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp( 2rem, 5vw, 3.5rem );
	align-items: center;
	width: min( 100%, 68.75rem );
	margin-inline: auto;
}

.xyz-artist-model-soldered__lead {
	margin: 0 0 1rem;
	font-size: clamp( 1.0625rem, 2.2vw, 1.25rem );
	font-weight: 600;
	line-height: 1.5;
	color: var( --xyz-text, #f2f2f2 );
}

.xyz-artist-model-soldered__text .xyz-section__title {
	margin-bottom: 0.75rem;
}

.xyz-artist-model-soldered__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var( --xyz-bg-card, #141414 );
	border: 1px solid var( --xyz-border, rgba( 255, 255, 255, 0.1 ) );
	/* 文章が長いので画像を追従させる */
	position: sticky;
	top: clamp( 5rem, 12vh, 7rem );
	align-self: start;
	max-height: min( 70vh, 26rem );
}

.xyz-artist-model-soldered__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* —— Body (artists + CTA) —— */
.xyz-artist-model-body {
	width: min( 100% - clamp( 1.5rem, 6vw, 3rem ), 68rem );
	margin-inline: auto;
	padding: clamp( 2rem, 5vw, 3rem ) 0 clamp( 4rem, 10vh, 6rem );
}

.xyz-lineup-product--artist-model .xyz-lineup-using {
	padding-top: 0;
}

.xyz-artist-model-grid {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: clamp( 1rem, 2.5vw, 1.5rem );
	margin: 0;
	padding: 0;
	list-style: none;
}

.xyz-artist-model-grid .xyz-artists-scroll__item {
	width: auto;
}

.xyz-lineup-product--artist-model .xyz-lineup-cta {
	margin-top: clamp( 2.5rem, 6vh, 3.5rem );
}

.xyz-lineup-product--artist-model .xyz-lineup-cta__price-list {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
	display: grid;
	gap: 1.35rem;
}

.xyz-lineup-product--artist-model .xyz-lineup-cta__price-item {
	display: grid;
	grid-template-columns: minmax( 0, 1fr );
	gap: 0.25rem;
}

.xyz-lineup-product--artist-model .xyz-lineup-cta__price-item + .xyz-lineup-cta__price-item {
	padding-top: 1.1rem;
	border-top: 1px solid rgba( 255, 255, 255, 0.12 );
}

.xyz-lineup-product--artist-model .xyz-lineup-cta__price-item-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba( 242, 242, 242, 0.65 );
}

.xyz-lineup-product--artist-model .xyz-lineup-cta__price-item-value {
	display: block;
	font-family: "Outfit", var( --font-sans );
	font-size: clamp( 1.35rem, 3.2vw, 1.75rem );
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
}

.xyz-lineup-product--artist-model .xyz-lineup-cta__price-item-note {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.875rem;
	line-height: 1.75;
	color: rgba( 242, 242, 242, 0.68 );
}

.xyz-lineup-product--artist-model .xyz-lineup-using {
	padding-top: clamp( 3rem, 7vh, 4.25rem );
}

@media ( max-width: 900px ) {
	.xyz-artist-model-hero__inner {
		grid-template-columns: 1fr;
	}

	.xyz-artist-model-hero__figure {
		justify-content: center;
		min-height: auto;
		padding: 0 clamp( 1rem, 4vw, 2rem );
	}

	.xyz-artist-model-hero__figure-img {
		height: min( 64vh, 36rem );
		max-width: min( 100%, 26rem );
		object-position: center bottom;
	}

	.xyz-artist-model-hero__brand {
		text-align: center;
	}

	.xyz-artist-model-hero__logo {
		margin-inline: auto;
	}

	.xyz-artist-model-hero__lead {
		margin-inline: auto;
	}

	.xyz-artist-model-showcase__inner {
		grid-template-columns: 1fr;
	}

	.xyz-artist-model-showcase__nav,
	.xyz-artist-model-showcase__stage {
		position: static;
	}

	.xyz-artist-model-soldered__inner {
		grid-template-columns: 1fr;
	}

	.xyz-artist-model-soldered__media {
		position: static;
		max-height: none;
	}

	.xyz-artist-model-grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 640px ) {
	.xyz-artist-model-showcase__tab {
		border-radius: 0.5rem;
	}

	.xyz-artist-model-showcase__slides {
		aspect-ratio: 1 / 1;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.xyz-artist-model-showcase__panel,
	.xyz-artist-model-showcase__tab-desc {
		transition: none;
	}

	.xyz-artist-model-showcase__panel.is-leaving {
		transform: none;
	}
}
