/* =============================================================================
   Page: Artists & Gallery — 4アーティストのタブ式プロフィール + Instagram
   DESIGN.md tokens 準拠、editorial monochrome
   ========================================================================== */

.tt-artists-page {
	padding-bottom: clamp(var(--space-8), 8vw, var(--space-9));
}

.tt-artists-page__body {
	font-family: var(--font-body);
	color: var(--tt-ink);
}

/* --- Tab navigation -----------------------------------------------
   本番準拠: アクティブは黒塗りの矩形 (white text)、非アクティブは
   透明背景の黒文字。間隔は広めにとって editorial 感を出す。 */

.tt-artist-tabs__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(var(--space-5), 4vw, var(--space-8));
	margin-bottom: clamp(var(--space-7), 5vw, var(--space-8));
}

.tt-artist-tab {
	appearance: none;
	border: 0;
	background: transparent;
	padding: clamp(10px, 1.4vw, 14px) clamp(18px, 2.2vw, 28px);
	font-family: var(--font-display); /* Anton */
	font-size: 32px;
	font-weight: var(--fw-display); /* 400 (Anton Regular) */
	letter-spacing: 0;
	line-height: 1;
	color: var(--tt-ink);
	cursor: pointer;
	border-radius: var(--radius-button);
	transition:
		background var(--dur-base) var(--ease),
		color var(--dur-base) var(--ease),
		transform var(--dur-fast) var(--ease);
}

.tt-artist-tab:hover,
.tt-artist-tab:focus-visible {
	background: var(--tt-ink-soft); /* rgba(0,0,0,0.72) = グレー塗り */
	color: var(--tt-surface);
	outline: none;
}

.tt-artist-tab.is-active {
	background: var(--tt-ink);
	color: var(--tt-surface);
}

.tt-artist-tab.is-active:hover,
.tt-artist-tab.is-active:focus-visible {
	background: var(--tt-ink);
	color: var(--tt-surface);
}

.tt-artist-tab:active {
	transform: translateY(1px);
}

@media (max-width: 480px) {
	.tt-artist-tabs__list {
		gap: var(--space-4);
		justify-content: space-between;
	}

	.tt-artist-tab {
		font-size: 22px;
		padding: 8px 14px;
	}
}

/* --- Panel main: grid template areas で PC/SP 別レイアウト ---------
   PC: 左にロゴ (2行ぶち抜き)、右に specialties → sections
   SP: 1行目 ロゴ + specialties、2行目 sections (full幅)         */

.tt-artist-panel__main {
	display: grid;
	grid-template-columns: minmax(140px, 200px) 1fr;
	grid-template-areas:
		"logo specialties"
		"logo sections";
	gap: clamp(var(--space-5), 4vw, var(--space-7));
	align-items: start;
	margin-bottom: clamp(var(--space-8), 7vw, var(--space-9));
}

/* 全アーティストのロゴを統一サイズの box (4:5) に内接させる。
   各 logo PNG はアスペクト比が異なるが、object-fit: contain で
   歪まずにフィット (透過部分はそのまま透ける)。
   Safari の aspect-ratio はグリッドセル内で挙動が不安定なため、
   固定 px の幅・高さで指定する (最も rock-solid)。 */
.tt-artist-panel__logo {
	grid-area: logo;
	box-sizing: border-box;
	position: relative;
	width: 180px;
	height: 225px; /* 4:5 ratio */
	max-width: 100%;
	overflow: hidden;
}

.tt-artist-panel__logo img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.tt-artist-panel__specialties {
	grid-area: specialties;
	min-width: 0;
}

.tt-artist-panel__sections {
	grid-area: sections;
	min-width: 0;
}

/* --- Sections (見出し + 本文) ------------------------------------ */

.tt-artist-section {
	margin-bottom: clamp(var(--space-6), 4vw, var(--space-7));
}

.tt-artist-section:last-child {
	margin-bottom: 0;
}

.tt-artist-section__title {
	margin: 0 0 var(--space-4);
	font-family: var(--font-heading);
	font-size: clamp(17px, 2vw, 21px);
	font-weight: var(--fw-bold);
	letter-spacing: var(--tracking-heading);
	line-height: 1.4;
	color: var(--tt-ink);
}

.tt-artist-section__body {
	font-size: clamp(15px, 1.6vw, 17px);
	line-height: var(--lh-body);
	color: var(--tt-ink);
}

.tt-artist-section__body p {
	margin: 0 0 0.9em;
}

.tt-artist-section__body p:last-child {
	margin-bottom: 0;
}

/* 得意なジャンル: bullets */
.tt-artist-bullets {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tt-artist-bullets li {
	position: relative;
	padding: 4px 0 4px 20px;
	font-size: clamp(15px, 1.6vw, 17px);
	line-height: 1.7;
}

.tt-artist-bullets li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.85em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tt-ink);
}

/* --- Instagram feed area ------------------------------------------ */

.tt-artist-panel__feed {
	margin-bottom: clamp(var(--space-6), 5vw, var(--space-7));
}

/* Spotlight プラグインのデフォルトコンテナをそのまま見せる。
   余白の調整だけ。 */
.tt-artist-panel__feed > * {
	margin: 0;
}

/* --- CTA (Instagramはこちら) -------------------------------------- */

.tt-artist-panel__cta {
	text-align: right;
}

@media (max-width: 480px) {
	.tt-artist-panel__cta {
		text-align: center;
	}

	.tt-artist-panel__cta .tt-btn {
		width: 100%;
	}
}

/* --- Responsive: SP は logo + specialties が横並び、sections は下に -- */

@media (max-width: 768px) {
	.tt-artist-panel__main {
		grid-template-columns: 130px 1fr;
		grid-template-areas:
			"logo specialties"
			"sections sections";
		gap: var(--space-4) var(--space-5);
	}

	.tt-artist-panel__logo {
		width: 130px;
		height: 163px; /* 4:5 ratio */
	}
}
