* { box-sizing: border-box; }

.fs-main {
	background: #000;
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
	max-width: 1500px !important;
	width: 100% !important;
	margin: 0 auto !important;
	padding: 133px clamp(20px, 10vw, 150px) 133px;
	overflow-x: hidden;
	position: relative;
}

/* 워드프레스 블록 레이아웃(.is-layout-constrained 등)이 폭을 강제로
   좁히는 것을 막기 위한 보강 규칙 */
.fs-main,
.fs-main * {
	max-width: none;
}
.fs-main {
	max-width: 1500px !important;
	background: #000 !important;
}

/* 테마 색상 오버라이드 방지 */
.fs-main,
.fs-main h1,
.fs-main h2,
.fs-main h3,
.fs-main h4,
.fs-main p,
.fs-main span,
.fs-main div,
.fs-main li,
.fs-main a {
	color: #fff !important;
}

.fs-main a {
	text-decoration: none !important;
	outline: none !important;
	border: none !important;
}

.fs-main h2 {
	font-size: 43px;
	font-weight: 800;
	margin: 0;
}

/* 12-column grid, 32px gutter */
.fs-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	column-gap: 32px;
}

/* Header */
.fs-header {
	align-items: start;
}

.fs-logo {
	grid-column: 1 / 4;
	font-size: 59px;
	font-weight: 800;
	line-height: 1.05;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.fs-header-nav {
	position: absolute;
	top: 60px;
	right: clamp(20px, 10vw, 150px);
	display: flex;
	justify-content: flex-end;
	gap: 24px;
}

.fs-header-nav a {
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
}

.fs-header-copy {
	grid-column: 7 / 13;
	text-align: right;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.5;
	color: #ddd;
}

.fs-header-copy strong {
	color: #fff;
	font-weight: 800;
}

/* Hero */
.fs-hero {
	margin-top: 51px;
}

.fs-hero-link {
	display: block;
}

.fs-hero-img {
	width: 100%;
	height: auto;
	display: block;
}

/* Lecture section */
.fs-lecture {
	margin-top: 80px;
}

.fs-section-head {
	align-items: center;
	margin-bottom: 48px;
}

.fs-section-head h2 {
	grid-column: 1 / 3;
}

.fs-tool-logos,
.fs-section-head p {
	grid-column: 8 / 13;
	justify-self: end;
	height: 56px;
	width: auto;
	display: block;
	margin: 0;
}

.fs-lecture .fs-section-head {
	display: flex;
	justify-content: space-between;
}

.fs-lecture-nav {
	display: flex;
	gap: 12px;
}

.fs-lecture-arrow {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: transparent;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
	padding: 0;
}

.fs-lecture-arrow svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fs-lecture-arrow:hover {
	background: rgba(255, 255, 255, 0.12);
}

.fs-lecture-arrow:disabled {
	opacity: 0.3;
	cursor: default;
	background: transparent;
}

.fs-lecture-viewport {
	overflow: hidden;
	width: 100%;
}

.fs-lecture-images {
	display: flex;
	gap: 32px;
	transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
	will-change: transform;
}

.fs-lecture-img-wrap {
	position: relative;
	overflow: hidden;
	flex: 0 0 calc((100% - 64px) / 3);
}

.fs-lecture-chip {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	background: rgba(90, 90, 90, 0.85);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	padding: 6px 14px;
	border-radius: 4px;
}

.fs-lecture-img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.fs-lecture-img-wrap:hover .fs-lecture-img {
	transform: scale(1.05);
}

.fs-lecture-caption {
	font-size: 29px;
	font-weight: 700;
	line-height: 1.4;
	margin-top: 50px;
	margin-bottom: 0;
}

/* Portfolio */
.fs-portfolio {
	margin-top: 120px;
}

.fs-portfolio-head {
	align-items: start;
}

.fs-portfolio-head h2 {
	grid-column: 1 / 4;
}

.fs-portfolio-copy {
	grid-column: 7 / 13;
}

.fs-eyebrow {
	font-size: 18px;
	font-weight: 700;
	color: #ccc;
	margin: 0 0 24px;
}

.fs-portfolio-title {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 32px;
}

.fs-portfolio-tools {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	line-height: 1.8;
	margin: 0;
}

.fs-portfolio-marquee {
	margin-top: 70px;
	overflow: hidden;
	width: 100%;
}

.fs-portfolio-track {
	display: flex;
	width: max-content;
	gap: 16px;
	animation: fs-roll 60s linear infinite;
}

@keyframes fs-roll {
	from { transform: translateX(0%); }
	to { transform: translateX(-50%); }
}

.fs-portfolio-link {
	display: block;
	cursor: pointer;
	transition: opacity 0.2s ease;
}
.fs-portfolio-link:hover {
	opacity: 0.75;
}

.fs-portfolio-img {
	height: 340px;
	width: auto;
	object-fit: contain;
	filter: grayscale(100%);
	display: block;
}

/* Footer */
.fs-footer {
	position: relative;
	margin-top: 173px;
	align-items: center;
	font-size: 19px;
	color: #aaa;
}

.fs-footer p {
	grid-column: 1 / 4;
	margin: 0;
}

.fs-social {
	grid-column: 6 / 10;
	justify-self: center;
	list-style: none;
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
}

.fs-social li img {
	height: 37px;
	width: auto;
	display: block;
}

.fs-social li a {
	display: block;
	transition: opacity 0.2s ease;
}
.fs-social li a:hover {
	opacity: 0.75;
}

.fs-social-mail {
	position: absolute !important;
	top: 50% !important;
	right: 0 !important;
	left: auto !important;
	bottom: auto !important;
	transform: translateY(-50%) !important;
	margin: 0 !important;
	display: block;
	transition: opacity 0.2s ease;
}
.fs-social-mail:hover {
	opacity: 0.75;
}
.fs-social-mail svg {
	height: 37px;
	width: 37px;
	display: block;
}

/* Responsive */
@media (max-width: 700px) {
	.fs-main {
		padding: 30px 20px 50px;
	}
	.fs-grid {
		grid-template-columns: repeat(4, 1fr);
		row-gap: 16px;
	}
	.fs-header-copy {
		text-align: left;
		grid-column: 1 / 5;
		font-size: 22px;
	}
	.fs-logo {
		grid-column: 1 / 5;
		font-size: 35px;
		margin-top: 20px;
	}
	.fs-header-nav {
		top: 24px;
		right: 20px;
	}
	.fs-section-head h2,
	.fs-tool-logos,
	.fs-section-head p {
		grid-column: 1 / 5;
		justify-self: start;
	}
	.fs-section-head h2 {
		font-size: 38px;
	}
	.fs-tool-logos,
	.fs-section-head p {
		width: 320px;
		height: auto;
	}
	.fs-lecture-img-wrap {
		flex: 0 0 100%;
	}
	.fs-lecture-arrow {
		width: 36px;
		height: 36px;
	}
	.fs-lecture-caption {
		margin-top: 16px;
		font-size: 22px;
		word-break: keep-all;
	}
	.fs-portfolio-head h2,
	.fs-portfolio-copy {
		grid-column: 1 / 5;
	}
	.fs-portfolio-head h2 {
		font-size: 38px;
	}
	.fs-portfolio-title {
		font-size: 22px;
	}
	.fs-portfolio-img {
		height: 280px;
	}
	.fs-footer p,
	.fs-social {
		grid-column: 1 / 5;
		justify-self: start;
	}
	.fs-social-mail {
		top: auto !important;
		bottom: 0 !important;
		right: 0 !important;
		transform: none !important;
	}
}
