@charset "UTF-8";

:root {
	--tr-dark: #1a2236;
	--tr-dark2: #232f44;
	--tr-accent: #1a2236;
	--tr-amber: #c8a84b;
	--tr-amber2: #9a7a2e;
	--tr-cream: #f5f1ea;
	--tr-text: #1a1a1a;
	--tr-muted: #6b7280;
	--tr-steel: #3a4f65;
	--tr-bd-d: rgba(255, 255, 255, 0.1);
	--tr-bd-l: rgba(26, 26, 26, 0.08);
}

/* ─── 공용 ─── */
.tr1-sec-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 48px;
}

.tr1-sec-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 40px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--tr-bd-l);
}

.tr1-sec-head--dark {
	border-color: var(--tr-bd-d);
}

.tr1-sec-label {
	font-size: clamp(14px, calc(10px + 0.6vw), 18px);
	font-family: "Paperlogy", sans-serif;
	font-weight: 600;
	color: var(--tr-amber2);
	margin-bottom: 6px;
}

.tr1-sec-label--dim {
	color: rgba(245, 197, 24, 0.5);
}

.tr1-sec-tit {
	font-size: clamp(22px, calc(12px + 1.6vw), 36px);
	font-weight: 700;
	color: var(--tr-text);
	font-family: "Paperlogy", sans-serif;
}

.tr1-sec-tit--light {
	color: #f5f1ea;
}

/* ─── S1: 창문 파노라마 히어로 ─── */
.tr1-hero-win {
	background: var(--tr-dark);
	position: relative;
}

.tr1-hero-pinbox {
	position: relative;
	height: 100vh;
}

.tr1-hero-sticky {
	position: relative;
	height: 100%;
	padding: 120px 80px 60px;
	box-sizing: border-box;
	display: flex;
}

.tr1-hero-sticky .tr1-window-frame {
	flex: 1;
	height: 100%;
}

.tr1-hero-board {
	position: absolute;
	inset: 0;
	background: rgba(12, 18, 25, 0.58);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.tr1-board {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
}

.tr1-board-top {
	display: flex;
	align-items: center;
	gap: 12px;
	opacity: 0;
	animation: trFadeIn 0.6s 0.3s ease forwards;
}

.tr1-board-brand {
	font-size: clamp(14px, calc(10px + 0.6vw), 18px);
	font-family: "Paperlogy", sans-serif;
	font-weight: 600;
	color: var(--tr-amber);
}

.tr1-board-sep,
.tr1-board-vol {
	font-size: clamp(14px, calc(10px + 0.5vw), 18px);
	color: rgba(245, 197, 24, 0.45);
}

/* 플랩보드 */
.tr1-flap-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.tr1-flap-char {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(60px, 9vw, 108px);
	height: clamp(74px, 11vw, 132px);
	background: #111b28;
	color: var(--tr-amber);
	font-family: "Paperlogy", sans-serif;
	font-size: clamp(36px, 5.5vw, 72px);
	font-weight: 700;
	border-radius: 6px;
	box-shadow:
		0 2px 16px rgba(0, 0, 0, 0.6),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	position: relative;
	transform-origin: center;
}

.tr1-flap-char::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: rgba(0, 0, 0, 0.5);
}

.tr1-hero-desc {
	font-size: clamp(16px, calc(10px + 0.8vw), 22px);
	color: rgba(245, 241, 234, 0.65);
	opacity: 0;
	animation: trFadeIn 0.7s 2.6s ease forwards;
}

.tr1-board-bot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 560px;
	padding-top: 20px;
	border-top: 1px solid var(--tr-bd-d);
	opacity: 0;
	animation: trFadeIn 0.6s 2.9s ease forwards;
}

.tr1-dep-status {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: clamp(14px, calc(10px + 0.5vw), 18px);
	color: rgba(245, 197, 24, 0.65);
}

.tr1-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #4ade80;
	flex-shrink: 0;
	animation: trPulse 2s infinite;
}

.tr1-scroll-hint {
	font-size: clamp(14px, calc(10px + 0.4vw), 18px);
	color: rgba(245, 241, 234, 0.35);
	font-family: "Paperlogy", sans-serif;
}

@keyframes trFadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes trPulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.3;
	}
}

/* ─── S2: 커버스토리 Peek 슬라이더 ─── */
.tr1-cs-sec {
	padding: 80px 0 100px;
	overflow: hidden;
}

.tr1-cs-swiper-wrap {
	max-width: 1100px;
	margin: 40px auto 0;
	padding: 0 48px;
	overflow: hidden;
}

.tr1-cs-swiper {
	overflow: visible;
}

.tr1-cs-slide {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
}

.tr1-cs-img {
	height: clamp(260px, 36vw, 440px);
	overflow: hidden;
}

.tr1-cs-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
}

.swiper-slide-active .tr1-cs-img img {
	transform: scale(1.03);
}

.tr1-cs-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 80px 40px 36px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
}

.tr1-cs-cat {
	display: inline-block;
	font-size: clamp(14px, calc(10px + 0.4vw), 18px);
	color: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.4);
	padding: 3px 12px;
	border-radius: 2px;
	margin-bottom: 12px;
	font-family: "Paperlogy", sans-serif;
}

.tr1-cs-tit {
	font-size: clamp(24px, calc(14px + 1.8vw), 44px);
	font-weight: 700;
	color: #fff;
	font-family: "Paperlogy", sans-serif;
	margin-bottom: 18px;
}

.tr1-cs-btn {
	display: inline-block;
	font-size: clamp(14px, calc(10px + 0.4vw), 18px);
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	padding-bottom: 2px;
	transition:
		color 0.2s,
		border-color 0.2s;
}

.tr1-cs-btn:hover {
	color: #fff;
	border-color: #fff;
}

.tr1-cs-nav {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 18px 48px 0;
}

.tr1-cs-prev,
.tr1-cs-next {
	background: none;
	border: 1px solid rgba(26, 26, 26, 0.15);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	font-size: clamp(14px, calc(10px + 0.3vw), 18px);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tr-text);
	transition:
		background 0.2s,
		color 0.2s;
}

.tr1-cs-prev:hover,
.tr1-cs-next:hover {
	background: var(--tr-text);
	color: #fff;
}

.tr1-cs-pagi {
	display: flex;
	gap: 6px;
	align-items: center;
}

.tr1-cs-pagi .tr1-cs-bullet {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(26, 26, 26, 0.18);
	cursor: pointer;
	transition:
		background 0.2s,
		transform 0.2s;
}

.tr1-cs-pagi .tr1-cs-bullet.is-active {
	background: var(--tr-text);
	transform: scale(1.3);
}

/* 공용 window-frame 베이스 (히어로용) */
.tr1-window-frame {
	border: 8px solid var(--tr-steel);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 8px 48px rgba(0, 0, 0, 0.15);
}

.tr1-win-rail {
	background: var(--tr-steel);
	padding: 8px 20px;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.tr1-win-rail span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #4a6274;
}

.tr1-win-rail span:nth-child(1) {
	background: #c0392b;
}
.tr1-win-rail span:nth-child(2) {
	background: #f39c12;
}
.tr1-win-rail span:nth-child(3) {
	background: #27ae60;
}

.tr1-win-rail--bot {
	justify-content: flex-end;
}

.tr1-win-viewport {
	flex: 1;
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
}

.tr1-win-panorama {
	height: 100%;
}

.tr1-win-scene {
	position: relative;
	height: 100%;
}

.tr1-win-scene img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tr1-win-captions {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 80px 48px 40px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
	pointer-events: none;
	z-index: 2;
}

.tr1-win-caption {
	position: absolute;
	bottom: 40px;
	left: 48px;
	right: 48px;
	opacity: 0;
	transform: translateY(10px);
	transition:
		opacity 0.35s ease,
		transform 0.35s ease;
	pointer-events: none;
}

.tr1-win-caption.is-active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.tr1-win-cat {
	display: inline-block;
	font-size: clamp(14px, calc(10px + 0.5vw), 18px);
	font-weight: 600;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 14px;
	padding: 4px 12px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 2px;
	width: fit-content;
}

.tr1-win-tit {
	font-size: clamp(22px, calc(12px + 1.8vw), 40px);
	font-weight: 700;
	color: #fff;
	font-family: "Paperlogy", sans-serif;
	margin-bottom: 20px;
}

.tr1-win-btn {
	display: inline-block;
	font-size: clamp(14px, calc(10px + 0.5vw), 18px);
	font-weight: 600;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	padding-bottom: 3px;
	width: fit-content;
	transition:
		color 0.2s,
		border-color 0.2s;
}

.tr1-win-btn:hover {
	color: #fff;
	border-color: #fff;
}

/* ─── S3: 행선지 보드 ─── */
.tr1-depart-sec {
	padding: 100px 0;
}

.tr1-depart-head {
	margin-bottom: 40px;
}

.tr1-depart-label {
	font-size: clamp(14px, calc(10px + 0.5vw), 18px);
	font-family: "Paperlogy", sans-serif;
	font-weight: 600;
	color: var(--tr-muted);
	margin-bottom: 8px;
}

.tr1-depart-tit {
	font-size: clamp(24px, calc(14px + 1.6vw), 38px);
	font-weight: 700;
	color: var(--tr-text);
	font-family: "Paperlogy", sans-serif;
}

.tr1-depart-board {
	border: 1px solid var(--tr-bd-l);
	border-radius: 4px;
	overflow: hidden;
}

.tr1-db-head {
	display: grid;
	grid-template-columns: 100px 1fr 120px;
	padding: 12px 24px;
	background: rgba(26, 34, 54, 0.05);
	border-bottom: 1px solid var(--tr-bd-l);
	font-size: clamp(14px, calc(10px + 0.4vw), 18px);
	color: var(--tr-muted);
	font-weight: 600;
}

.tr1-db-row {
	display: grid;
	grid-template-columns: 100px 1fr 120px;
	padding: 22px 24px;
	border-bottom: 1px solid var(--tr-bd-l);
	text-decoration: none;
	align-items: center;
	transition: background 0.2s;
}

.tr1-db-row:last-child {
	border-bottom: none;
}
.tr1-db-row:hover {
	background: rgba(26, 34, 54, 0.04);
}

.tr1-db-num {
	font-size: clamp(14px, calc(10px + 0.4vw), 18px);
	color: var(--tr-muted);
	font-family: "Courier New", monospace;
}

.tr1-db-dest {
	font-size: clamp(18px, calc(12px + 0.9vw), 26px);
	color: var(--tr-text);
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: "Paperlogy", sans-serif;
}

.tr1-db-dest em {
	font-style: normal;
	font-size: clamp(14px, calc(10px + 0.4vw), 18px);
	color: var(--tr-muted);
	font-weight: 400;
	font-family: inherit;
}

.tr1-db-cnt {
	font-size: clamp(14px, calc(10px + 0.4vw), 18px);
	color: var(--tr-muted);
	font-family: "Courier New", monospace;
}

/* ─── S4: 카테고리 탭 + 카드 슬라이더 ─── */
.tr1-stations-sec {
	background: #fff;
	padding: 100px 0;
}

.tr1-cat-layout {
	display: grid;
	grid-template-columns: 200px 1fr;
	border: 1px solid var(--tr-bd-l);
	border-radius: 8px;
	overflow: hidden;
}

.tr1-cat-tabs {
	background: #faf8f4;
	border-right: 1px solid var(--tr-bd-l);
	display: flex;
	flex-direction: column;
}

.tr1-cat-tab {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px 20px;
	border: none;
	border-bottom: 1px solid var(--tr-bd-l);
	background: none;
	cursor: pointer;
	text-align: left;
	transition: background 0.2s;
}

.tr1-cat-tab:last-child {
	border-bottom: none;
}
.tr1-cat-tab:hover:not(.is-active) {
	background: rgba(26, 34, 54, 0.04);
}
.tr1-cat-tab.is-active {
	background: var(--tr-dark);
}
.tr1-cat-tab.is-active .tr1-cat-num {
	color: var(--tr-amber);
}
.tr1-cat-tab.is-active .tr1-cat-name {
	color: #fff;
}
.tr1-cat-tab.is-active .tr1-cat-en {
	color: rgba(255, 255, 255, 0.45);
}

.tr1-cat-num {
	font-size: clamp(14px, calc(10px + 0.4vw), 18px);
	font-family: "Courier New", monospace;
	color: var(--tr-muted);
	margin-bottom: 4px;
}

.tr1-cat-name {
	font-size: clamp(18px, calc(12px + 0.9vw), 26px);
	font-weight: 700;
	font-family: "Paperlogy", sans-serif;
	color: var(--tr-text);
	margin-bottom: 2px;
}

.tr1-cat-en {
	font-size: clamp(14px, calc(10px + 0.4vw), 18px);
	color: var(--tr-muted);
}

.tr1-cat-panels {
	overflow: hidden;
}

.tr1-cat-panel {
	display: none;
	padding: 28px;
}
.tr1-cat-panel.is-active {
	display: block;
}

.tr1-card-swiper {
	overflow: hidden;
}

.tr1-art-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 24px;
}

.tr1-art-grid--2 {
	grid-template-columns: 2fr 1fr;
}

.tr1-art-card {
	display: block;
	text-decoration: none;
	color: inherit;
	padding-top: 16px;
	transition: opacity 0.2s;
}

.tr1-art-card:hover {
	opacity: 0.75;
}

.tr1-card-img {
	overflow: hidden;
	border-radius: 4px;
	margin-bottom: 14px;
}

.tr1-card-img {
	aspect-ratio: 3/2;
	max-height: 300px;
}

.tr1-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.tr1-art-card:hover .tr1-card-img img {
	transform: scale(1.04);
}

.tr1-card-body {
	padding: 0;
}

.tr1-card-num {
	display: block;
	font-size: clamp(14px, calc(10px + 0.3vw), 18px);
	font-family: "Courier New", monospace;
	color: rgba(26, 26, 26, 0.3);
	margin-bottom: 6px;
}

.tr1-card-cat {
	font-size: clamp(14px, calc(10px + 0.3vw), 18px);
	color: var(--tr-muted);
	display: block;
	margin-bottom: 6px;
}

.tr1-card-tit {
	font-size: clamp(16px, calc(10px + 0.9vw), 22px);
	font-weight: 700;
	color: var(--tr-text);
	font-family: "Paperlogy", sans-serif;
	margin-bottom: 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tr1-card-desc {
	font-size: clamp(14px, calc(10px + 0.4vw), 18px);
	color: var(--tr-muted);
}

/* ─── 반응형 ─── */
@media (max-width: 999px) {
	.tr1-sec-inner {
		padding: 0 32px;
	}
	.tr1-hero-pinbox {
		height: 100vh;
	}
	.tr1-hero-sticky {
		padding: 100px 40px 40px;
	}
	.tr1-window-wrap {
		padding: 0 32px;
	}
	.tr1-win-caption {
		left: 28px;
		right: 28px;
		bottom: 28px;
	}
	.tr1-cs-swiper-wrap {
		padding: 0 32px;
	}
	.tr1-cs-nav {
		padding: 16px 32px 0;
	}

	.tr1-db-head,
	.tr1-db-row {
		grid-template-columns: 80px 1fr 90px;
		padding: 14px 16px;
	}

	.tr1-window-sec,
	.tr1-depart-sec,
	.tr1-stations-sec {
		padding: 72px 0;
	}

	.tr1-cat-layout {
		grid-template-columns: 160px 1fr;
	}
	.tr1-cat-panel {
		padding: 20px;
	}
}

@media (max-width: 768px) {
	.tr1-sec-inner {
		padding: 0 20px;
	}
	.tr1-hero-inner {
		padding: 0 20px;
	}
	.tr1-window-wrap {
		padding: 0 20px;
	}

	.tr1-hero-sticky {
		padding: 24px 20px 28px;
	}
	.tr1-hero-pinbox {
		height: calc(100vh - 70px);
	}
	.tr1-win-caption {
		left: 20px;
		right: 20px;
		bottom: 20px;
	}
	.tr1-win-captions {
		padding: 60px 20px 28px;
	}
	.tr1-cs-swiper-wrap {
		padding: 0 20px;
	}
	.tr1-cs-nav {
		padding: 14px 20px 0;
	}

	.tr1-flap-char {
		width: clamp(50px, 12vw, 72px);
		height: clamp(62px, 14.5vw, 88px);
		font-size: clamp(28px, 7vw, 46px);
		border-radius: 4px;
		margin: 2px;
	}

	.tr1-flap-row {
		gap: 4px;
	}

	.tr1-db-head {
		display: none;
	}
	.tr1-db-row {
		grid-template-columns: 1fr auto;
		padding: 16px;
		gap: 4px;
	}
	.tr1-db-num {
		display: none;
	}
	.tr1-db-dest {
		grid-column: 1;
	}
	.tr1-db-cnt {
		grid-column: 2;
	}

	.tr1-cat-layout {
		grid-template-columns: 1fr;
	}
	.tr1-cat-tabs {
		flex-direction: row;
		border-right: none;
		border-bottom: 1px solid var(--tr-bd-l);
	}
	.tr1-cat-tab {
		flex-direction: row;
		align-items: center;
		gap: 8px;
		padding: 14px 16px;
		border-bottom: none;
		border-right: 1px solid var(--tr-bd-l);
	}
	.tr1-cat-tab:last-child {
		border-right: none;
	}
	.tr1-cat-en {
		display: none;
	}
	.tr1-cat-panel {
		padding: 16px;
	}

	.tr1-window-sec,
	.tr1-depart-sec,
	.tr1-stations-sec {
		padding: 48px 0;
	}
}

@media (max-width: 499px) {
	.tr1-flap-char {
		width: clamp(42px, 13vw, 56px);
		height: clamp(52px, 16vw, 68px);
		font-size: clamp(24px, 8vw, 34px);
		border-radius: 3px;
	}

	.tr1-cat-tab {
		padding: 12px 10px;
		gap: 4px;
	}

	.tr1-cat-num {
		display: none;
	}

	.tr1-cat-name {
		font-size: clamp(14px, calc(10px + 0.6vw), 18px);
	}

	.tr1-cat-panel {
		padding: 12px;
	}

	.tr1-cs-caption {
		padding: 60px 20px 24px;
	}
	.tr1-cs-tit {
		font-size: clamp(20px, calc(14px + 1.5vw), 30px);
	}

	.tr1-hero-sticky {
		padding: 16px 14px 20px;
	}
	.tr1-board {
		gap: 20px;
	}
	.tr1-board-bot {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}

/* ─── 다크모드 ─── */
body.dark .tr1-cs-sec,
body.dark .tr1-stations-sec {
	background: #111827;
}

body.dark .tr1-sec-head {
	border-color: rgba(245, 241, 234, 0.1);
}
body.dark .tr1-sec-tit,
body.dark .tr1-card-tit {
	color: #f5f1ea;
}
body.dark .tr1-card-desc {
	color: rgba(245, 241, 234, 0.5);
}

body.dark .tr1-cat-tabs {
	background: #1a2539;
}
body.dark .tr1-cat-tab {
	border-color: rgba(255, 255, 255, 0.08);
}
body.dark .tr1-cat-name {
	color: #f5f1ea;
}
body.dark .tr1-cat-en {
	color: rgba(245, 241, 234, 0.4);
}
body.dark .tr1-cat-panels {
	border-color: rgba(255, 255, 255, 0.08);
}
body.dark .tr1-cat-panel {
	background: #111827;
}
body.dark .tr1-art-card {
	border-color: rgba(255, 255, 255, 0.12);
}

body.dark .tr1-depart-sec {
	background: var(--tr-dark2);
}
body.dark .tr1-depart-label {
	color: rgba(245, 241, 234, 0.4);
}
body.dark .tr1-depart-tit {
	color: #f5f1ea;
}
body.dark .tr1-db-head {
	color: rgba(245, 241, 234, 0.4);
	border-color: rgba(255, 255, 255, 0.08);
}
body.dark .tr1-db-row {
	border-color: rgba(255, 255, 255, 0.08);
}
body.dark .tr1-db-num {
	color: rgba(245, 241, 234, 0.35);
}
body.dark .tr1-db-dest {
	color: #f5f1ea;
}
body.dark .tr1-db-dest em {
	color: rgba(245, 241, 234, 0.4);
}
body.dark .tr1-db-cnt {
	color: rgba(245, 241, 234, 0.45);
}
body.dark .tr1-depart-board {
	border-color: rgba(255, 255, 255, 0.08);
}
