/* ============================================================================
   ARTIST MANAGEMENT — main.css
   명세 B 의 실측값을 CSS 변수로 토큰화했다. 값을 바꿀 일이 있으면 :root 만 건드리면 된다.
   ========================================================================= */

:root {
	/* ---- 폰트 (Google Fonts 무료 대체) ---------------------------------- */
	--font-serif: "EB Garamond", "Times New Roman", serif;   /* ← adobe-garamond-pro */
	--font-kr:    "Noto Serif KR", serif;                    /* 한글 세리프 본문 */
	--font-sans:  "Work Sans", "Helvetica Neue", Arial, sans-serif; /* ← pragmatica-web */

	/* ---- 컬러 ----------------------------------------------------------- */
	--c-bg:     #ffffff;
	--c-text:   #000000;
	--c-muted:  #cccccc;  /* 비활성 · 1px 구분선 */
	--c-gray:   #f1f4f9;  /* 미세 그레이 (이미지 로딩 플레이스홀더) */
	--c-accent: #ff0000;  /* NEW! 배지 전용 */

	/* ---- 레이아웃 -------------------------------------------------------
	   "폭 ~300px, 텍스트 좌측 여백 ~145px" 를
	   → 텍스트 컬럼 폭 300px, 좌측 인셋 145px 로 해석했다.
	     (145+300 를 통째로 300px 안에 넣으면 30px/4px 자간의 메뉴가 줄바꿈된다)
	   사이드바 전체 점유폭 = 인셋 + 컬럼 + 우측 여백.                       */
	--sidebar-inset: 145px;
	--sidebar-w:     300px;
	--sidebar-gut:   40px;
	--sidebar-total: calc(var(--sidebar-inset) + var(--sidebar-w) + var(--sidebar-gut));

	--content-max: 920px;
	--pad-x:       20px;
	--grid-gap:    4px;    /* masonry "촘촘" */
	--mobilebar-h: 56px;

	/* ---- 타이포 실측값 --------------------------------------------------- */
	--fs-sidenav:    30px;
	--fw-sidenav:    600;
	--ls-sidenav:    4px;
	--lh-sidenav:    30px;
	--gap-sidenav:   26px;   /* 24~28px */

	--fs-tel:        13px;
	--ls-tel:        1.95px;

	--fs-nav:        12px;
	--fw-nav:        300;
	--ls-nav:        1.2px;

	--fs-badge:      16px;
	--fs-cat-artist: 14px;

	--fs-footer:     12px;
	--ls-footer:     0.6px;
	--lh-footer:     30px;

	/* 명세에 수치가 없어 정한 값 — 필요하면 여기서 조정 */
	--fs-page-title: 26px;
	--ls-page-title: 2px;
}

/* ============================================================================
   1. RESET / BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font-serif);
	font-size: 15px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

img, video, iframe { max-width: 100%; }
img { height: auto; border: 0; }

a { color: inherit; text-decoration: none; }
a:hover { opacity: .6; }

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

:where(a, button, summary, [tabindex]):focus-visible {
	outline: 1px solid var(--c-text);
	outline-offset: 3px;
}

/* 한글 본문은 세리프 KR */
[lang="ko"] { font-family: var(--font-kr); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--c-text);
	color: var(--c-bg);
	padding: 10px 16px;
	font-family: var(--font-sans);
	font-size: 12px;
}
.skip-link:focus { left: 0; }

/* ============================================================================
   2. 한글 + 영문 병기 (언어 토글 없음 — 둘 다 항상 보인다)
   ========================================================================= */
.bi__kr {
	display: block;
	font-family: var(--font-kr);
}
.bi__en {
	display: block;
	margin-top: 2px;
	font-family: var(--font-serif);
	font-size: .92em;
	letter-spacing: .3px;
	color: #8a8a8a;
}

/* ============================================================================
   3. 홈 — 좌측 세로 사이드바
   ========================================================================= */
.home-sidebar {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 30;
	width: var(--sidebar-total);
	padding: 56px var(--sidebar-gut) 40px var(--sidebar-inset);
	background: var(--c-bg);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.home-sidebar__logo {
	display: block;
	font-family: var(--font-serif);
	font-size: 34px;
	font-weight: 600;
	letter-spacing: 4px;
	line-height: 1.15;
}

.home-sidebar__tel {
	display: inline-block;
	margin-top: 10px;
	font-family: var(--font-serif);
	font-size: var(--fs-tel);
	font-weight: 600;
	letter-spacing: var(--ls-tel);
}

.sidenav { margin-top: 54px; }
.sidenav__item + .sidenav__item { margin-top: var(--gap-sidenav); }
.sidenav__item--link + .sidenav__item--link { margin-top: 14px; }

.sidenav__btn,
.sidenav__link {
	display: block;
	text-align: left;
	text-transform: uppercase;
	font-family: var(--font-serif);
	font-size: var(--fs-sidenav);
	font-weight: var(--fw-sidenav);
	letter-spacing: var(--ls-sidenav);
	line-height: var(--lh-sidenav);
}
.sidenav__btn[aria-expanded="true"] { opacity: .45; }

.sidenav__panel { margin-top: 14px; }
.sidenav__panel li + li { margin-top: 7px; }
.sidenav__panel a,
.sidenav__empty {
	font-family: var(--font-serif);
	font-size: 16px;
	letter-spacing: 1px;
}
.sidenav__empty { color: var(--c-muted); }
.sidenav__all { margin-top: 10px; }
.sidenav__all a {
	font-family: var(--font-sans);
	font-size: 11px;
	font-weight: var(--fw-nav);
	letter-spacing: var(--ls-nav);
	text-transform: uppercase;
	color: var(--c-muted);
}
.sidenav__all a:hover { color: var(--c-text); }

/* 직군 목록과 고정 링크 사이 구분선 */
.sidenav__item--link:first-of-type {
	margin-top: 44px;
	padding-top: 30px;
	border-top: 1px solid var(--c-muted);
}

.home-sidebar__foot { margin-top: 48px; }

/* ============================================================================
   4. 하위 페이지 — 상단 가로 헤더
   ========================================================================= */
.site-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px 40px;
	flex-wrap: wrap;
	/* 헤더는 본문(920px)보다 넓게 — 직군이 늘어도 메뉴가 한 줄에 들어가도록.
	   그래도 넘치면 메뉴 전체가 다음 줄로 내려가 우측 정렬된다(개별 항목은 안 쪼개짐). */
	max-width: 1240px;
	margin: 0 auto;
	padding: 30px 40px 24px;
}

.site-header__brand-wrap { flex: 0 0 auto; }

.site-header__brand {
	font-family: var(--font-serif);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	white-space: nowrap;
}
.site-header__tel {
	margin-left: 16px;
	font-family: var(--font-serif);
	font-size: var(--fs-tel);
	font-weight: 600;
	letter-spacing: var(--ls-tel);
	white-space: nowrap;
}

.mainnav {
	font-family: var(--font-sans);
	font-size: var(--fs-nav);
	font-weight: var(--fw-nav);
	letter-spacing: var(--ls-nav);
	text-align: right;
}
.mainnav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: baseline;
	gap: 12px 22px;
}
.mainnav a {
	text-transform: uppercase;
	white-space: nowrap; /* "HAIR & MAKEUP", "MODEL M" 이 세로로 쪼개지지 않게 */
}
.mainnav a[aria-current="page"] { border-bottom: 1px solid var(--c-text); padding-bottom: 2px; }

/* ============================================================================
   5. 모바일 바 (기본 숨김)
   ========================================================================= */
.mobile-bar { display: none; }

/* ============================================================================
   6. 본문 컨테이너
   ========================================================================= */
.site-main--home { margin-left: var(--sidebar-total); padding: 0; }
.site-main--sub  { padding-bottom: 40px; }

.content-narrow {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 0 var(--pad-x) 60px;
}

/* 페이지 대제목: 좌 제목 / 우 JP·EN(이탤릭) / 하단 1px 구분선 */
.page-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	max-width: var(--content-max);
	margin: 16px auto 30px;
	padding: 0 var(--pad-x) 10px;
	border-bottom: 1px solid var(--c-muted);
}
.page-title__text {
	font-family: var(--font-serif);
	font-size: var(--fs-page-title);
	font-weight: 600;
	letter-spacing: var(--ls-page-title);
	text-transform: uppercase;
	line-height: 1.2;
}

.empty-state {
	padding: 60px 0;
	color: var(--c-muted);
	text-align: center;
}
.empty-state a { color: var(--c-text); text-decoration: underline; }

.back-link {
	margin-top: 48px;
	padding-top: 20px;
	border-top: 1px solid var(--c-muted);
	font-family: var(--font-sans);
	font-size: var(--fs-nav);
	font-weight: var(--fw-nav);
	letter-spacing: var(--ls-nav);
}

.rich-text { font-family: var(--font-kr); line-height: 2; }
.rich-text p + p,
.rich-text ul,
.rich-text ol { margin-top: 1em; }
.rich-text ul { list-style: none; }
.rich-text ul li { position: relative; padding-left: 14px; }
.rich-text ul li::before {
	content: "";
	position: absolute;
	left: 0; top: .95em;
	width: 5px; height: 1px;
	background: var(--c-text);
}
.rich-text ol { list-style: decimal; padding-left: 1.4em; }
.rich-text a { text-decoration: underline; }

/* ============================================================================
   7. NEW! 배지
   ========================================================================= */
.badge-new {
	display: inline;
	margin-left: 8px;
	font-family: var(--font-serif);
	font-size: var(--fs-badge);
	font-weight: 600;
	letter-spacing: .5px;
	color: var(--c-accent);
}

/* ============================================================================
   8. 홈 슬라이더 (원본 비율 · 중앙 배치)
      우측 영역을 꽉 채우지 않고, 사진을 원본 비율 그대로 화면 중앙에 놓는다.
      여백은 흰 배경으로 자연스럽게 처리 → 갤러리 뷰어와 같은 결.
      링크 없음. 호버 시 옅은 흰색 오버레이만. 좌우 화살표로 수동 전환.
   ========================================================================= */
.home-slider {
	position: relative;
	/* 사이드바 오른쪽 영역의 세로를 기준으로 잡되, 사진은 이 안에 원본 비율로 들어간다 */
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
	background: var(--c-bg);
	/* 화살표·카운터가 놓일 여백 확보 */
	padding: 48px 72px 56px;
}
.home-slider--empty { background: var(--c-bg); }

.home-slider__track { position: relative; height: 100%; }

.home-slide {
	position: absolute;
	inset: 0;
	/* 사진을 영역 안에서 중앙 정렬 */
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease;
	will-change: opacity;
}
.home-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

/* 사진 + 호버 오버레이를 함께 감싸, 오버레이가 여백이 아닌 사진 위에만 얹히게 한다 */
.home-slide__frame {
	position: relative;
	display: inline-flex;
	max-width: 100%;
	max-height: 100%;
}

.home-slide__img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain; /* 원본 비율 유지, 잘라내지 않음 */
	background: var(--c-bg);
}

/* 호버 시 옅은 흰색 오버레이 (사진 위에만) */
.home-slide__hover {
	position: absolute;
	inset: 0;
	background: #fff;
	opacity: 0;
	transition: opacity .3s ease;
	pointer-events: none;
	z-index: 2;
}
.home-slide.is-active .home-slide__frame:hover .home-slide__hover { opacity: .18; }
@media (hover: none) {
	.home-slide__hover { display: none; }
}

/* 좌우 화살표 — 흰 여백 위에 놓이므로 검은 글씨. 평소 은은하게, 호버 시 진하게 */
.home-nav {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 5;
	width: 72px;
	display: flex;
	align-items: center;
	font-size: 40px;
	line-height: 1;
	color: var(--c-text);
	opacity: .25;
	transition: opacity .25s ease;
}
.home-nav--prev { left: 0;  justify-content: center; }
.home-nav--next { right: 0; justify-content: center; }
.home-slider:hover .home-nav { opacity: .5; }
.home-nav:hover,
.home-nav:focus-visible { opacity: 1 !important; }
@media (hover: none) {
	.home-nav { opacity: .55; } /* 터치 기기는 상시 노출 */
}

/* 현재/전체 카운터 — 흰 여백 위, 검은 글씨 */
.home-slider__counter {
	position: absolute;
	right: 72px;
	bottom: 22px;
	z-index: 5;
	font-family: var(--font-serif);
	font-size: 15px;
	letter-spacing: 1.5px;
	color: var(--c-text);
	font-variant-numeric: tabular-nums;
}
.home-slider__counter b { font-weight: 600; }

/* 홈 슬라이드 안내 (관리자에게만 보임) */
.home-setup {
	max-width: 640px;
	margin: 40px auto;
	padding: 0 20px;
	font-family: var(--font-kr);
	line-height: 1.9;
}
.home-setup ol { margin: 16px 0; padding-left: 1.4em; list-style: decimal; }
.home-setup li { margin: 6px 0; }
.home-setup .button {
	display: inline-block;
	margin-top: 10px;
	padding: 10px 20px;
	border: 1px solid var(--c-text);
	font-family: var(--font-sans);
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.home-setup .button:hover { background: var(--c-text); color: var(--c-bg); opacity: 1; }

/* ============================================================================
   9. NEWS 아카이브
   ========================================================================= */
.news-layout {
	display: flex;
	gap: 48px;
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 0 var(--pad-x) 60px;
}
.news-layout__main  { flex: 1 1 auto; min-width: 0; }
.news-layout__aside { flex: 0 0 190px; }

.filter-note {
	margin-bottom: 16px;
	font-family: var(--font-serif);
	font-size: 14px;
	letter-spacing: .5px;
}
.filter-note__reset { margin-left: 10px; color: var(--c-muted); }

.newslist__item {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	padding: 24px 0;
	border-bottom: 1px solid var(--c-muted);
}
.newslist__body  { flex: 1 1 auto; min-width: 0; }
.newslist__thumb { flex: 0 0 160px; }
.newslist__thumb img { display: block; width: 100%; background: var(--c-gray); }

.newslist__date {
	font-family: var(--font-serif);
	font-size: 14px;
	letter-spacing: 1px;
}
.newslist__credit {
	margin-top: 4px;
	font-family: var(--font-serif);
	font-size: 15px;
	letter-spacing: .5px;
}
.newslist__sep  { margin: 0 6px; color: var(--c-muted); }
.newslist__title {
	margin-top: 6px;
	font-family: var(--font-serif);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.5;
}

/* CATEGORIES (job_type 별 아티스트 필터) */
.cats__heading {
	padding-bottom: 8px;
	border-bottom: 1px solid var(--c-text);
	font-family: var(--font-sans);
	font-size: var(--fs-nav);
	font-weight: var(--fw-nav);
	letter-spacing: var(--ls-nav);
}
.cats__group { margin-top: 22px; }
.cats__title {
	padding-bottom: 6px;
	border-bottom: 1px solid var(--c-muted);
	font-family: var(--font-sans);
	font-size: var(--fs-nav);
	font-weight: var(--fw-nav);
	letter-spacing: var(--ls-nav);
	text-transform: uppercase;
}
.cats__artists li { margin-top: 8px; }
.cats__artists a {
	font-family: var(--font-serif);
	font-size: var(--fs-cat-artist);
	font-weight: 400;
	letter-spacing: .5px;
}
.cats__artists a[aria-current="true"] { font-weight: 600; text-decoration: underline; }

/* ============================================================================
   10. 페이지네이션 — 1 2 3 4 … 503 PREV＞
   ========================================================================= */
.pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 44px 0 0;
	font-family: var(--font-serif);
	font-size: 15px;
	letter-spacing: 1px;
}
.pagination .page-numbers { color: var(--c-text); }
.pagination .page-numbers.current { font-weight: 700; }
.pagination .page-numbers.dots { color: var(--c-muted); }
.pagination .prev,
.pagination .next { letter-spacing: 2px; }

/* ============================================================================
   11. ARTIST 상세
   ========================================================================= */
.artist {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 0 var(--pad-x) 60px;
}
.artist__head {
	padding-bottom: 20px;
	border-bottom: 1px solid var(--c-muted);
	text-align: center; /* 예시 사이트처럼 헤더 중앙 정렬 */
}
.artist__job {
	font-family: var(--font-sans);
	font-size: var(--fs-nav);
	font-weight: var(--fw-nav);
	letter-spacing: var(--ls-nav);
	text-transform: uppercase;
}
.artist__name {
	margin-top: 6px;
	font-family: var(--font-serif);
	font-size: 34px;
	font-weight: 600;
	letter-spacing: 3px;
	line-height: 1.25;
	text-transform: uppercase;
}
.artist__name-kr {
	display: block;
	margin-top: 4px;
	font-family: var(--font-kr);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 1px;
	text-transform: none;
}
.artist__links {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center; /* 링크도 중앙 */
	gap: 20px;
	margin-top: 18px;
	font-family: var(--font-sans);
	font-size: var(--fs-nav);
	font-weight: var(--fw-nav);
	letter-spacing: var(--ls-nav);
}
.artist__links a { text-transform: lowercase; }

.artist__works { padding-top: 34px; text-align: center; }
.artist__profile { padding-top: 44px; }

/* 아티스트 페이지 안에서만 중앙 정렬 (예시 사이트 스타일).
   다른 곳(COMPANY 의 CLIENTS 등)의 profile-section 에는 영향 주지 않는다. */
.artist__works .portfolio-grid { text-align: left; } /* masonry 캡션은 좌측이 자연스러움 */
.artist__works .portfolio-feature figcaption { text-align: center; }

.artist__profile .profile-section { text-align: center; }
.artist__profile .profile-section__title { display: block; }
/* 연혁 목록: 전체는 중앙, 각 줄의 연도-내용 대응은 유지하려고 inline-flex 로 가운데 모음 */
.artist__profile .profile-list { display: inline-block; text-align: left; margin-inline: auto; }
.artist__profile .profile-contact { text-align: center; }

/* 카테고리 2개 이상: masonry(벽돌쌓기)로 원본 비율을 유지한 채 촘촘히 정렬.
   세로 사진은 길게, 가로 사진은 넓게 — 잘라내지 않는다. */
.portfolio-grid {
	column-count: 4;
	column-gap: var(--grid-gap);
}
.portfolio-grid__item {
	break-inside: avoid;
	margin: 0 0 22px;
}
.portfolio-grid figure { margin: 0; }
.portfolio-grid img {
	display: block;
	width: 100%;
	height: auto; /* 원본 비율 유지 */
	background: var(--c-gray);
	transition: opacity .25s ease;
}
.portfolio-grid a:hover { opacity: 1; }
.portfolio-grid a:hover img { opacity: .88; }
.portfolio-grid__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4; /* 대표 이미지가 없을 때만 쓰는 자리표시자 */
	background: var(--c-gray);
}
.portfolio-grid figcaption {
	margin-top: 8px;
	font-family: var(--font-serif);
	font-size: 14px;
	letter-spacing: 1px;
}

/* 카테고리가 하나뿐일 때: 사진 한 장을 크게 + 아래 카테고리 이름.
   원본 비율 그대로 — 세로 사진이면 세로로, 가로면 가로로 시원하게. 잘라내지 않는다. */
.portfolio-feature {
	position: relative;
}
.portfolio-feature a { display: inline-block; max-width: 100%; }
.portfolio-feature a:hover { opacity: 1; }
.portfolio-feature figure { margin: 0; display: inline-block; }
.portfolio-feature img {
	display: block;
	width: auto;      /* 세로 사진이 가로로 늘어나지 않게 */
	max-width: 100%;
	height: auto;     /* 원본 비율 유지 */
	max-height: 82vh; /* 너무 긴 세로 사진이 화면을 넘지 않도록 상한만 */
	background: var(--c-gray);
	transition: opacity .25s ease;
}
.portfolio-feature__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	background: var(--c-gray);
}
.portfolio-feature a:hover img { opacity: .88; }
.portfolio-feature figcaption {
	margin-top: 12px;
	font-family: var(--font-serif);
	font-size: 17px;
	letter-spacing: 1.5px;
}

/* 카테고리 교차 아카이브(/folio/beauty/)에서 캡션 아래 붙는 직군 */
.portfolio-grid__job {
	display: block;
	margin-top: 2px;
	font-family: var(--font-sans);
	font-size: 11px;
	font-weight: var(--fw-nav);
	letter-spacing: var(--ls-nav);
	text-transform: uppercase;
	color: var(--c-muted);
}

/* 카테고리 간 이동 */
.cat-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px;
	margin-top: 56px;
	padding-top: 22px;
	border-top: 1px solid var(--c-muted);
	font-family: var(--font-serif);
	font-size: 15px;
	letter-spacing: 1px;
}
.cat-nav a { color: var(--c-muted); }
.cat-nav a[aria-current="page"] { color: var(--c-text); font-weight: 600; }

/* PROFILE / EDITORIAL / CATALOG / CONTACT */
.profile-section + .profile-section { margin-top: 44px; }
.profile-section__title {
	padding-bottom: 8px;
	border-bottom: 1px solid var(--c-muted);
	font-family: var(--font-serif);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.profile-list { margin-top: 16px; }
.profile-list li {
	display: flex;
	gap: 18px;
	padding: 3px 0;
	font-size: 14px;
	line-height: 1.9;
}
.profile-list__label {
	flex: 0 0 74px;
	font-family: var(--font-serif);
	letter-spacing: 1px;
}
.profile-list__text { font-family: var(--font-kr); }
.profile-contact {
	margin-top: 16px;
	font-family: var(--font-kr);
	font-size: 14px;
	line-height: 1.9;
}

/* 직군 아카이브 (/job/photographer/) — 소속 아티스트 목록 */
.artist-index {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px var(--grid-gap);
}
.artist-index a { display: block; text-align: center; }
.artist-index a:hover { opacity: 1; }
.artist-index__thumb {
	margin: 0 0 12px;
	overflow: hidden;
	background: var(--c-gray);
}
.artist-index__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	transition: opacity .25s ease;
}
.artist-index a:hover .artist-index__thumb img { opacity: .88; }
.artist-index__thumb--empty {
	display: block;
	aspect-ratio: 3 / 4;
}
.artist-index__name {
	display: block;
	font-family: var(--font-serif);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}
.artist-index__name-kr {
	display: block;
	margin-top: 2px;
	font-family: var(--font-kr);
	font-size: 13px;
	color: var(--c-muted);
}

/* ============================================================================
   12. PORTFOLIO 갤러리 뷰어  ← 이 사이트의 signature 화면
   ========================================================================= */
.folio {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 0 var(--pad-x) 60px;
}
.folio__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 12px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--c-muted);
}
.folio__artist {
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.folio__tools {
	display: flex;
	align-items: baseline;
	gap: 20px;
	font-family: var(--font-sans);
	font-size: var(--fs-nav);
	font-weight: var(--fw-nav);
	letter-spacing: var(--ls-nav);
}

/* portfolios ▼ — 네이티브 <details> 로 JS 없이 동작 */
.folio-switch { position: relative; }
.folio-switch summary { list-style: none; cursor: pointer; }
.folio-switch summary::-webkit-details-marker { display: none; }
.folio-switch__list {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 20;
	min-width: 180px;
	padding: 12px 16px;
	background: var(--c-bg);
	border: 1px solid var(--c-muted);
	text-align: right;
}
.folio-switch__list li { padding: 4px 0; }
.folio-switch__list .is-current { color: var(--c-muted); }

.am-viewer { position: relative; }

.am-viewer__stage { position: relative; }

.am-slides { position: relative; }
.am-slide { display: none; }
.am-slide.is-active { display: block; }

.am-slide__img {
	display: block;
	width: 100%;
	max-height: 76vh;
	margin: 0 auto;
	object-fit: contain;
	background: var(--c-bg);
}

.am-nav {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 5;
	width: 24%;
	font-size: 30px;
	line-height: 1;
	color: var(--c-text);
	opacity: 0;
	transition: opacity .2s ease;
}
.am-nav--prev { left: 0;  text-align: left;  padding-left: 12px; }
.am-nav--next { right: 0; text-align: right; padding-right: 12px; }
.am-viewer:hover .am-nav { opacity: .35; }
.am-nav:hover,
.am-nav:focus-visible { opacity: 1 !important; }
@media (hover: none) { .am-nav { opacity: .35; } }

.am-viewer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 14px;
	font-family: var(--font-serif);
	font-size: 14px;
	letter-spacing: 1.5px;
}
.am-viewer__title { text-transform: lowercase; }
.am-viewer__counter { font-variant-numeric: tabular-nums; }
.am-viewer__counter b { font-weight: 600; }
.am-viewer__icons { display: flex; gap: 14px; }
.am-viewer__icons button { font-size: 15px; color: var(--c-muted); }
.am-viewer__icons button[aria-pressed="true"],
.am-viewer__icons button:hover { color: var(--c-text); }

/* ---- 전체보기 오버레이 ---------------------------------------------------
   전체보기 아이콘을 누르면 썸네일 그리드가 별도 오버레이로 뜨고, 우상단 X 로 닫는다.
   (참고 사이트의 그리드 뷰) */
.am-overlay {
	position: fixed;
	inset: 0;
	z-index: 200;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--c-bg);
	padding: 60px 20px 40px;
	-webkit-overflow-scrolling: touch;
}
body.am-overlay-open { overflow: hidden; }

.am-overlay__close {
	position: fixed;
	top: 22px;
	right: 26px;
	z-index: 210;
	width: 40px;
	height: 40px;
	font-size: 30px;
	line-height: 1;
	color: var(--c-text);
	background: var(--c-bg);
}
.am-overlay__close:hover { opacity: .55; }

.am-thumbs {
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	gap: var(--grid-gap);
	max-width: 1600px;
	margin: 20px auto 0;
}
.am-thumbs button { display: block; width: 100%; position: relative; }
.am-thumbs img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	background: var(--c-gray);
	transition: opacity .2s ease;
}
.am-thumbs button:hover img { opacity: .7; }

/* ---- 영상 슬라이드 -------------------------------------------------------
   벤치마킹 톤에 맞춰 재생 아이콘은 두지 않는다 — 사진을 클릭하면 재생된다.
   플레이어 마크업은 <template> 안에 있어 클릭 전까지 로드되지 않는다. */
.am-slide__play {
	display: block;
	width: 100%;
	position: relative;
	cursor: pointer; /* 아이콘은 없지만 클릭하면 영상이 재생된다는 미세한 신호 */
}
.am-slide.is-playing .am-slide__play { display: none; }


.am-slide__player { display: none; }
.am-slide.is-playing .am-slide__player {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
}
.am-slide__player iframe,
.am-slide__player video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* 재생 중에는 좌우 화살표를 숨긴다 (플레이어 컨트롤과 겹치지 않게) */
.am-viewer.is-playing .am-nav { display: none; }

/* 전체화면 (슬라이드 단독) */
.am-viewer:fullscreen {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 32px;
	background: var(--c-bg);
}
.am-viewer:fullscreen .am-slide__img { max-height: 84vh; }

/* ============================================================================
   13. PRODUCTION / RECRUIT
   ========================================================================= */
.production__item,
.recruit__item {
	padding: 34px 0;
	border-bottom: 1px solid var(--c-muted);
}
.production__item:first-child,
.recruit__item:first-child { padding-top: 0; }

.production__date,
.recruit__date {
	font-family: var(--font-serif);
	font-size: 14px;
	letter-spacing: 1px;
}
.production__title,
.recruit__title {
	margin-top: 4px;
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 1.5px;
	line-height: 1.4;
}
.production__visual { margin-top: 18px; }
.production__desc,
.recruit__body { margin-top: 18px; }

.embed {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--c-gray);
}
.embed iframe,
.embed video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}
.production__image img { display: block; width: 100%; background: var(--c-gray); }

/* ============================================================================
   14. COMPANY
   ========================================================================= */
.company-table { border-top: 1px solid var(--c-muted); }
.company-table__row {
	display: flex;
	gap: 24px;
	padding: 16px 0;
	border-bottom: 1px solid var(--c-muted);
}
.company-table dt {
	flex: 0 0 130px;
	font-family: var(--font-serif);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.5px;
	line-height: 1.9;
}
.company-table dd {
	flex: 1 1 auto;
	font-size: 14px;
	line-height: 1.9;
}

.company-intro { margin-top: 34px; }

.company-map {
	position: relative;
	aspect-ratio: 16 / 9;
	margin-top: 34px;
	background: var(--c-gray);
}
.company-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.company-cols {
	margin-top: 16px;
	columns: 3;
	column-gap: 24px;
	font-family: var(--font-kr);
	font-size: 13px;
	line-height: 2.1;
}
.company-cols li { break-inside: avoid; }

/* ============================================================================
   15. NEWS 상세
   ========================================================================= */
.single-news__head { padding-bottom: 18px; border-bottom: 1px solid var(--c-muted); }
.single-news__date { font-family: var(--font-serif); font-size: 14px; letter-spacing: 1px; }
.single-news__title {
	margin-top: 6px;
	font-family: var(--font-serif);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 1.5px;
	line-height: 1.4;
}
.single-news__credit {
	margin-top: 8px;
	font-family: var(--font-serif);
	font-size: 15px;
	letter-spacing: .5px;
}
.single-news__figure { margin: 28px 0; }
.single-news__figure img { display: block; width: 100%; background: var(--c-gray); }

/* ============================================================================
   16. 푸터
   ========================================================================= */
.site-footer {
	margin-top: 70px;
	padding: 48px var(--pad-x) 60px;
	border-top: 1px solid var(--c-muted);
	font-family: var(--font-serif);
	font-size: var(--fs-footer);
	letter-spacing: var(--ls-footer);
	line-height: var(--lh-footer);
	text-align: center;
}
body.is-home .site-footer { margin-left: var(--sidebar-total); margin-top: 40px; }
.site-footer__brand { font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; }
.site-footer__copy { color: var(--c-muted); }

/* ============================================================================
   17. 반응형 — 900px 이하: 사이드바/가로메뉴 → 햄버거 토글
   ========================================================================= */
@media (max-width: 900px) {

	body { padding-top: var(--mobilebar-h); }

	.mobile-bar {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 60;
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: var(--mobilebar-h);
		padding: 0 16px;
		background: var(--c-bg);
		border-bottom: 1px solid var(--c-muted);
	}
	.mobile-bar__brand {
		font-family: var(--font-serif);
		font-size: 18px;
		font-weight: 600;
		letter-spacing: 2.5px;
		text-transform: uppercase;
	}
	.mobile-bar__toggle { width: 40px; height: 40px; position: relative; }
	.mobile-bar__bars,
	.mobile-bar__bars::before,
	.mobile-bar__bars::after {
		content: "";
		position: absolute;
		left: 9px;
		width: 22px;
		height: 1px;
		background: var(--c-text);
		transition: transform .2s ease, opacity .2s ease;
	}
	.mobile-bar__bars { top: 19px; }
	.mobile-bar__bars::before { top: -6px; left: 0; }
	.mobile-bar__bars::after  { top:  6px; left: 0; }

	[aria-expanded="true"] .mobile-bar__bars { background: transparent; }
	[aria-expanded="true"] .mobile-bar__bars::before { transform: translateY(6px) rotate(45deg); }
	[aria-expanded="true"] .mobile-bar__bars::after  { transform: translateY(-6px) rotate(-45deg); }

	/* --- 홈: 메뉴를 펼친 채로 보여주고, 그 아래에 사진 그리드 (참고 사이트 방식) --- */
	body.is-home .mobile-bar { display: none; } /* 홈에선 햄버거 안 씀 */
	body.is-home { padding-top: 0; }

	body.is-home .home-sidebar {
		position: static;
		width: auto;
		transform: none;
		padding: 40px 20px 24px;
		border-bottom: 1px solid var(--c-muted);
	}
	body.is-home .home-sidebar__head { display: block; text-align: center; }
	body.is-home .home-sidebar__logo { font-size: 26px; }
	body.is-home .sidenav { margin-top: 28px; }
	body.is-home .sidenav__btn,
	body.is-home .sidenav__link { font-size: 22px; } /* 모바일에서 30px 은 과함 */
	body.is-home .site-main--home { margin-left: 0; }
	body.is-home .site-footer { margin-left: 0; }

	/* --- 하위 페이지: 기존 햄버거 드로어 유지 --- */
	body.is-sub .home-sidebar {
		top: 0;
		width: min(86vw, 400px);
		padding: calc(var(--mobilebar-h) + 28px) 28px 40px 28px;
		transform: translateX(-100%);
		transition: transform .28s ease;
		box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0);
	}
	body.is-sub .home-sidebar.is-open { transform: none; }
	body.is-sub .home-sidebar__head { display: none; }
	body.is-sub .sidenav { margin-top: 8px; }

	.site-main--home { margin-left: 0; }
	body.is-home .site-footer,
	body.is-sub .site-footer { margin-left: 0; }

	/* 가로 헤더 → 드롭다운 패널 (하위 페이지) */
	.site-header { display: block; padding: 0; }
	.site-header__brand-wrap { display: none; }

	.mainnav {
		position: fixed;
		top: var(--mobilebar-h);
		left: 0;
		right: 0;
		z-index: 50;
		display: none;
		padding: 20px;
		background: var(--c-bg);
		border-bottom: 1px solid var(--c-muted);
	}
	.mainnav.is-open { display: block; }
	.mainnav ul { flex-direction: column; align-items: flex-end; gap: 14px; }

	/* 그리드 · 레이아웃 */
	/* 모바일 홈: 메뉴가 위에 정적으로 오므로 슬라이더는 뷰포트 전체가 아니라 적정 높이로.
	   좁은 화면에선 좌우 여백을 줄여 사진을 더 크게 */
	body.is-home .home-slider { height: 64vh; height: 64dvh; padding: 24px 44px 40px; }
	.home-nav { width: 44px; font-size: 32px; }
	.home-slider__counter { right: 20px; }
	.portfolio-grid { column-count: 2; }
	.artist-index { grid-template-columns: repeat(2, 1fr); }
	.am-thumbs { grid-template-columns: repeat(4, 1fr); }
	.company-cols { columns: 2; }

	.news-layout { flex-direction: column; gap: 40px; }
	.news-layout__aside { flex: 1 1 auto; }

	.page-title { margin-top: 22px; }

	.newslist__item { gap: 16px; }
	.newslist__thumb { flex: 0 0 96px; }

	.artist__name { font-size: 28px; }
	.company-table__row { flex-direction: column; gap: 4px; }
	.company-table dt { flex: none; }
}

@media (max-width: 520px) {
	body.is-home .home-slider { height: 56vh; height: 56dvh; padding: 16px 34px 34px; }
	.portfolio-grid { column-count: 1; }
	.artist-index { grid-template-columns: 1fr; }
	.am-thumbs { grid-template-columns: repeat(3, 1fr); }
	.company-cols { columns: 1; }
	.profile-list li { flex-direction: column; gap: 0; }
	.profile-list__label { flex: none; }
}

/* ============================================================================
   18. 접근성 · 인쇄
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}

@media print {
	.home-sidebar, .mobile-bar, .mainnav, .am-nav, .am-viewer__icons { display: none !important; }
	.site-main--home { margin-left: 0; }
}
