@charset "UTF-8";

/*
	서브 페이지 공통 스타일 (Works / Uses / Hobby 목록과 상세)
	index.html(home.css)의 "ON AIR desk" 테마를 그대로 이어감
*/

:root {
	--ink: #0d1013;
	--ink-2: #151a1f;
	--paper: #ebe7df;
	--mute: #8b939b;
	--accent: #f5c542;
	--line: rgba(235, 231, 223, 0.12);

	--f-display: "Archivo", "Noto Sans KR", sans-serif;
	--f-body: "Noto Sans KR", -apple-system, sans-serif;
	--f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

	--gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.75;
	word-break: keep-all;
	overflow-x: hidden;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.mono { font-family: var(--f-mono); letter-spacing: 0.02em; }

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

/* 라인 아이콘 */
.ico {
	flex: none;
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px var(--gutter);
	background: rgba(13, 16, 19, 0.88);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-family: var(--f-display);
	font-size: 19px;
	font-weight: 500;
}

.brand-key {
	position: relative;
	display: block;
	width: 38px;
	height: 38px;
	border-radius: 9px;
	background: #c99a1c;
	box-shadow: 0 3px 0 #8a6a12, 0 6px 14px rgba(0, 0, 0, 0.35);
	transform: rotate(-6deg);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.brand-key-top {
	position: absolute;
	top: 2px;
	left: 3px;
	right: 3px;
	bottom: 5px;
	display: grid;
	place-items: center;
	border-radius: 7px;
	background: var(--accent);
	color: var(--ink);
	font-family: var(--f-display);
	font-variation-settings: "wdth" 125;
	font-weight: 900;
	font-size: 19px;
	line-height: 1;
}

.brand:hover .brand-key,
.brand:focus-visible .brand-key {
	transform: rotate(0deg) translateY(2px);
	box-shadow: 0 1px 0 #8a6a12, 0 3px 8px rgba(0, 0, 0, 0.35);
}

.brand-text b { font-weight: 800; }

.site-menu { display: flex; gap: 4px; }

.site-menu a {
	padding: 6px 12px;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	color: rgba(235, 231, 223, 0.75);
	border-radius: 6px;
	transition: color 0.2s ease, background 0.2s ease;
}

.site-menu a:hover { color: var(--paper); background: rgba(235, 231, 223, 0.08); }

.site-menu a.is-current {
	color: var(--paper);
	box-shadow: inset 0 -2px 0 var(--accent);
	border-radius: 0;
}

/* ---------- 페이지 공통 ---------- */

.page {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.page-narrow { max-width: 1440px; }

.page-head {
	padding: 72px 0 36px;
	border-bottom: 1px solid var(--line);
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 15px;
	color: var(--accent);
	text-transform: uppercase;
}

.page-title {
	margin: 0;
	font-family: var(--f-display);
	font-variation-settings: "wdth" 125;
	font-weight: 800;
	font-size: clamp(44px, 7vw, 96px);
	line-height: 0.95;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.page-title .outline {
	color: transparent;
	-webkit-text-stroke: 2px var(--paper);
	paint-order: stroke fill;
}

.page-title .solid { color: var(--accent); }

.page-lead {
	margin: 22px 0 0;
	max-width: 680px;
	font-size: clamp(17px, 2vw, 20px);
	color: rgba(235, 231, 223, 0.82);
}

/* 섹션 머리 (index.html과 동일) */
.block { padding: 72px 0 0; }

.block-head {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin-bottom: 28px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}

.block-title {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	font-family: var(--f-display);
	font-variation-settings: "wdth" 115;
	font-weight: 800;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.1;
	text-transform: uppercase;
}

.block-title .ico { width: 0.78em; height: 0.78em; color: var(--accent); }

.block-note { margin: 0; color: var(--mute); font-size: 16px; }

/* ---------- 카드 목록 (Works / Uses / Hobby) ---------- */

.cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.cards.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

.card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--ink-2);
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

a.card:hover { border-color: rgba(245, 197, 66, 0.6); transform: translateY(-3px); }

.card-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #000;
}

.card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

a.card:hover .card-thumb img { transform: scale(1.03); }

.card-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	padding: 20px 22px 22px;
}

.card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	color: var(--mute);
}

.card-title {
	margin: 0;
	font-family: var(--f-display);
	font-variation-settings: "wdth" 110;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.25;
	color: var(--paper);
}

a.card:hover .card-title { color: var(--accent); }

.card-desc {
	margin: 0;
	color: rgba(235, 231, 223, 0.8);
	font-size: 16px;
}

/* 상태 표시 (운영 중 / 종료 등) */
.status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--f-mono);
	font-size: 13px;
	color: var(--mute);
	white-space: nowrap;
}

.status::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mute);
}

.status.is-live { color: var(--accent); }

.status.is-live::before {
	background: #34c759;
	box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.18);
}

/* ---------- 상세 글 (Post) ---------- */

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 32px;
	color: var(--mute);
	font-size: 15px;
	text-decoration: none;
}

.back-link:hover { color: var(--accent); }

.post-head { padding: 28px 0 32px; }

.post-title {
	margin: 0;
	font-family: var(--f-display);
	font-variation-settings: "wdth" 115;
	font-weight: 800;
	font-size: clamp(38px, 6vw, 64px);
	line-height: 1.05;
}

.post-sub {
	margin: 12px 0 0;
	font-size: clamp(17px, 2vw, 20px);
	color: rgba(235, 231, 223, 0.82);
}

/* 기간 / 역할 / 상태 등 요약 */
.post-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
}

.post-facts li { display: flex; align-items: center; gap: 8px; }

.post-facts .ico { width: 17px; height: 17px; color: var(--accent); }

.post-facts .k { color: var(--mute); font-family: var(--f-mono); font-size: 13px; }

.post-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-solid { background: var(--paper); color: var(--ink); }
.btn-solid:hover { background: var(--accent); }

.btn-line { border: 1px solid rgba(235, 231, 223, 0.35); }
.btn-line:hover { border-color: var(--paper); }

.post-cover {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #000;
}

.post-cover img { width: 100%; }

/* 본문 */
.prose { padding: 8px 0 0; }

.prose h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 56px 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
	font-family: var(--f-display);
	font-variation-settings: "wdth" 110;
	font-weight: 800;
	font-size: 26px;
	line-height: 1.25;
}

.prose h2::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 2px;
	background: var(--accent);
}

.prose h3 {
	margin: 32px 0 10px;
	font-size: 20px;
	font-weight: 700;
}

.prose p { margin: 0 0 16px; color: rgba(235, 231, 223, 0.86); }

.prose ul, .prose ol { margin: 0 0 18px; padding-left: 1.2em; color: rgba(235, 231, 223, 0.86); }

.prose li { margin: 4px 0; }

.prose li::marker { color: var(--accent); }

.prose a { color: var(--accent); text-underline-offset: 3px; }

.prose strong { color: var(--paper); }

.prose em {
	font-style: normal;
	color: var(--paper);
	font-weight: 700;
	box-shadow: inset 0 -0.45em 0 rgba(245, 197, 66, 0.22);
}

/* 본문 이미지 (클릭하면 원본) */
.shot {
	display: block;
	margin: 24px 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #000;
}

.shot img { width: 100%; }

.shot-caption {
	margin: -14px 0 24px;
	color: var(--mute);
	font-size: 14px;
	text-align: center;
}

.shots {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 24px 0;
}

.shots .shot { margin: 0; }

/* 영상 임베드 */
.video {
	position: relative;
	margin: 24px 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 10px;
	background: #000;
}

.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 수치 하이라이트 */
.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	margin: 24px 0;
}

.stat {
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--ink-2);
}

.stat b {
	display: block;
	font-family: var(--f-display);
	font-variation-settings: "wdth" 115;
	font-size: 30px;
	line-height: 1.1;
	color: var(--accent);
}

.stat span { color: var(--mute); font-size: 14px; }

/* 스펙 (PLATFORM / STACK 등) */
.spec {
	margin: 32px 0 0;
	border-top: 1px solid var(--line);
}

.spec > div {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 4px 20px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.spec dt { padding-top: 6px; font-family: var(--f-mono); font-size: 13.5px; color: var(--mute); }

.spec dd { margin: 0; font-size: 16px; }

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--ink-2);
	font-size: 15px;
	line-height: 1.5;
}

/* 이전/다음 글 */
.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 64px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.post-nav a {
	color: var(--mute);
	font-size: 15px;
	text-decoration: none;
}

.post-nav a:hover { color: var(--accent); }

/* ---------- Footer ---------- */

.site-footer {
	max-width: 1440px;
	margin: 110px auto 0;
	padding: 28px var(--gutter) 40px;
	border-top: 1px solid var(--line);
	color: var(--mute);
	font-size: 14px;
}

.site-footer p { margin: 4px 0 0; }

.footer-links { display: flex; gap: 18px; margin-bottom: 10px; }

.footer-links a { color: var(--paper); text-decoration: none; font-size: 15px; }
.footer-links a:hover { text-decoration: underline; }

/* ---------- 반응형 ---------- */

@media (max-width: 991px) {
	.cards.is-3, .cards.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.site-header { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px var(--gutter); position: static; }
	.site-menu { margin-left: -12px; flex-wrap: wrap; }
	.site-menu a { font-size: 15px; padding: 6px 10px; }

	.page-head { padding: 48px 0 28px; }
	.page-title .outline { -webkit-text-stroke-width: 1.5px; }

	.cards, .cards.is-3, .cards.is-4 { grid-template-columns: 1fr; gap: 20px; }

	.shots { grid-template-columns: 1fr; }

	.spec > div { grid-template-columns: 1fr; }
	.spec dt { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.card, .card-thumb img, .btn, .site-menu a, .brand-key { transition: none; }
}

/* 캡션 달린 이미지 그리드 (ForYouJOB 등) */
.gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 20px 0 24px;
}

.gallery.is-1 { grid-template-columns: minmax(0, 720px); }
.gallery.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.gallery figure { margin: 0; }

.gallery .shot { margin: 0; aspect-ratio: 16 / 10; }

.gallery .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.gallery figcaption {
	margin-top: 8px;
	color: var(--mute);
	font-size: 14px;
	text-align: center;
}

/* 이모지로 시작하는 목록 (불릿 없음) */
.prose ul.plain { padding-left: 0; list-style: none; }
.prose ul.plain li { margin: 6px 0; }

@media (max-width: 991px) {
	.gallery, .gallery.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.gallery, .gallery.is-2, .gallery.is-4 { grid-template-columns: 1fr; }
}
