/* =========================================================
   LONG SHOT — reproduces the Framer site (breakpoint 1000px)
   ========================================================= */
:root {
	--c-text: #fafafa;
	--c-sub: #b3b3b3;
	--c-navy: #170f66;
	--c-blue: #15128c;
	--c-footer: #222131;
	--ff-latin: "General Sans", sans-serif;
	--ff-jp: "Zen Kaku Gothic New", sans-serif;
	--ff-ko: "Noto Sans KR", sans-serif;
	--ff-zh: "Noto Sans TC", sans-serif;
	--header-h: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--c-blue);
	color: var(--c-text);
	font-family: var(--ff-latin);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 16px 6px 24px;
}
.site-header__logo {
	display: flex;
	align-items: center;
	height: 32px;
	padding: 0 8px;
	transition: opacity .4s ease;
}
.site-header__logo img { width: 146px; height: auto; }
.view-films .site-header__logo { opacity: 0; pointer-events: none; }
.view-films.is-scrolled .site-header__logo { opacity: 1; pointer-events: auto; }

.site-nav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.site-nav__links { display: flex; align-items: center; gap: 2px; }
.nav-link {
	display: flex;
	align-items: center;
	height: 32px;
	padding: 0 8px;
	font: 500 13px/13px var(--ff-latin);
	letter-spacing: .04em;
	text-transform: uppercase;
}
.nav-link span { position: relative; padding: 2px 0; }
.nav-link span::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--c-sub);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.nav-link:hover span::after, .nav-link.is-current span::after { transform: scaleX(1); }
.site-nav__sep { width: 1px; height: 14px; background: var(--c-text); }

.lang { position: relative; }
.lang__button {
	display: flex;
	align-items: center;
	height: 32px;
	padding-left: 2px;
	font: 500 13px/13px var(--ff-latin);
	letter-spacing: .03em;
	text-transform: uppercase;
	transition: opacity .2s;
}
.lang__button svg { transition: transform .25s ease; }
.lang__button:hover, .lang.is-open .lang__button { opacity: .7; }
.lang.is-open .lang__button svg { transform: rotate(90deg); }
.lang__menu {
	position: absolute;
	top: calc(100% + 6px);
	right: -16px;
	width: 116px;
	padding: 4px 0;
	background: rgba(0, 0, 0, .9);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
.lang__menu a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px 6px 10px;
	font: 400 12px/12px var(--ff-latin);
	letter-spacing: .06em;
	color: var(--c-text);
	opacity: .7;
	transition: opacity .2s;
}
.lang__menu a:hover, .lang__menu a.is-current { opacity: 1; }
.lang__menu i { width: 6px; height: 6px; border-radius: 4px; flex: none; }
.lang__menu a.is-current i { background: #0055ff; }

/* ---------- Hero ---------- */
.hero {
	height: 100vh;
	min-height: 520px;
	display: flex;
	align-items: center;
	padding: 160px 0;
	overflow: hidden;
}
.hero__contents {
	width: 100%;
	display: flex;
	align-items: flex-start;
	gap: 56px;
	padding-left: 32px;
}
.hero__logo { flex: none; padding-top: 7px; }
.hero__logo img { width: 146px; height: auto; }
.hero__line { flex: 1; padding-top: 8px; min-width: 40px; }
.hero__line span {
	display: block;
	height: 3px;
	background: var(--c-text);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 1.6s cubic-bezier(.65, 0, .35, 1) .3s;
}
.is-loaded .hero__line span { transform: scaleX(1); }
.hero__items { position: relative; flex: none; width: 540px; height: 181px; }
.hero__item {
	position: absolute;
	inset: 0 auto auto 0;
	width: 540px;
	display: flex;
	gap: 24px;
	opacity: 0;
	transform: translateX(20px);
	transition: opacity 1s ease, transform 1.2s cubic-bezier(.22, 1, .36, 1);
	pointer-events: none;
}
.hero__item.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero__item.is-leaving { opacity: 0; transform: translateX(-40px); }
.hero__text {
	width: 258px;
	flex: none;
	font: 400 15px/24px var(--ff-jp);
	letter-spacing: .02em;
}
.hero__photo { width: 258px; flex: none; padding-top: 5px; }
.hero__photo img { width: 100%; height: 171px; object-fit: cover; }

/* ---------- Series ---------- */
.series {
	position: relative;
	display: flex;
	align-items: flex-start;
	padding: 160px 8px 160px 110px;
	background: var(--series-bg, var(--c-blue));
}
.series__head { position: sticky; top: 96px; width: 418px; flex: none; }
.series__title { font: 400 24px/1.4 var(--ff-jp); letter-spacing: .06em; }
.series__films { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 64px; }
.series__grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }

.ep { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ep__thumb { position: relative; aspect-ratio: 452 / 255; overflow: hidden; }
.ep__thumb::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: .2;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='126' height='126'%3E%3Cpath d='M126 0v21.584L21.584 126H0v-17.585L108.415 0H126Zm0 108.414V126h-17.586L126 108.414Zm0-84v39.171L63.585 126H24.414L126 24.414Zm0 42v39.17L105.584 126h-39.17L126 66.414ZM105.586 0 0 105.586V66.415L66.415 0h39.171Zm-42 0L0 63.586V24.415L24.415 0h39.171Zm-42 0L0 21.586V0h21.586Z' fill='%23888' fill-rule='evenodd'/%3E%3C/svg%3E") repeat;
	background-size: 126px auto;
}
.ep__img, .ep__gif { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ep__gif { opacity: 0; transition: opacity .4s ease; }
.ep.is-hover .ep__gif[src] { opacity: 1; }
.ep__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ep__title {
	flex: 1;
	min-width: 0;
	padding-bottom: 3px;
	font: 400 18px/18px var(--ff-jp);
	letter-spacing: .02em;
}
.ep__sub {
	flex: none;
	padding-top: 5px;
	font: 500 12px/12px var(--ff-latin);
	letter-spacing: .02em;
	color: var(--c-sub);
	white-space: nowrap;
}
.ep--spacer { visibility: hidden; }

.series__credit { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.series__credit-inner { grid-column: 2; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--c-sub); padding-top: 10px; }
.series__credit dl { display: flex; gap: 4px; font: 400 12px/1.3 var(--ff-latin); letter-spacing: .05em; }
.series__credit dt { width: 62px; flex: none; color: var(--c-sub); }
.series__credit dd { line-height: 1.4; }
.series__credit dl.is-year, .series__credit dl.is-year dd { line-height: 12px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s cubic-bezier(.22, 1, .36, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.series__head.reveal.is-in { transform: none; }

/* ---------- Language specific type ---------- */
.lang-en .series__title { font-family: var(--ff-jp); }
.lang-en .ep__title, .lang-ko .ep__title { font: 400 17px/17px var(--ff-latin); letter-spacing: .04em; }
.lang-ko .ep__title { font-family: var(--ff-latin), var(--ff-ko); }
.lang-en .ep__sub, .lang-ko .ep__sub, .lang-zh .ep__sub { font: 400 11px/11px var(--ff-jp); letter-spacing: normal; padding-top: 6px; }
.lang-en .hero__text { font: 400 14px/21px var(--ff-latin); letter-spacing: .02em; }
.lang-ko .series__title { font-family: var(--ff-ko); }
.lang-ko .hero__text { font: 300 15px/24px var(--ff-ko); }
.lang-zh .series__title, .lang-zh .ep__title { font-family: var(--ff-zh); }
.lang-zh .hero__text { font: 400 15px/24px var(--ff-zh); }

/* ---------- Video modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .8); }
.modal__frame {
	position: relative;
	width: min(85vw, calc((100vh - 44px) * 16 / 9));
	aspect-ratio: 16 / 9;
	background: #000;
}
.modal__video, .modal__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__close {
	position: absolute;
	top: 24px;
	right: 24px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: .5;
	transition: opacity .2s;
}
.modal__close:hover { opacity: 1; }
.modal.is-open .modal__backdrop, .modal.is-open .modal__frame { animation: ls-fade .35s ease both; }
@keyframes ls-fade { from { opacity: 0; } to { opacity: 1; } }
body.modal-open { overflow: hidden; }

/* ---------- About ---------- */
.about { padding: 153px 0 0 194px; }
.about__back { display: none; }
.about__block { width: 680px; }
.about__block--stack { display: flex; flex-direction: column; gap: 104px; }
.about__row { display: flex; gap: 10px; }
.about__label { width: 238px; flex: none; padding-top: 6px; }
.about__label.is-upper { font: 600 16px/16px var(--ff-latin); letter-spacing: .06em; text-transform: uppercase; }
.about__label.is-small { font: 500 14px/14px var(--ff-latin); letter-spacing: .04em; }
.about__lead, .about__body, .contact, .about__partner { width: 432px; flex: none; }
.about__lead p { font: 400 15px/24px var(--ff-jp); letter-spacing: .02em; }
.lang-en .about__lead p { font: 400 14px/21px var(--ff-latin); }
.lang-ko .about__lead p { font: 300 15px/24px var(--ff-ko); }
.lang-zh .about__lead p { font: 300 15px/24px var(--ff-zh); }
.about__body { display: flex; flex-direction: column; gap: 8px; }
.about__body p { font: 400 14px/21px var(--ff-latin); letter-spacing: .02em; }
.about__link { text-decoration: underline; text-underline-offset: 2px; }
.about__link:hover { opacity: .7; }
.about__projimg { margin-bottom: 2px; }
.about__projimg img { width: 432px; height: 242px; object-fit: contain; }
.about__hr { width: 680px; height: 2px; margin: 92px 0; border: 0; background: var(--c-navy); }
.about__spacer { height: 92px; }
.about__partner { display: flex; gap: 24px; align-items: flex-start; }
.about__partner-logo { width: 138px; height: 104px; flex: none; }
.about__partner-logo img { width: 100%; height: 100%; object-fit: cover; }
.about__partner .about__body { width: auto; flex: 1; }

.contact { display: flex; flex-direction: column; gap: 20px; }
.contact label { display: flex; flex-direction: column; gap: 10px; }
.contact label span { font: 400 12px/12px var(--ff-latin); letter-spacing: .02em; }
.contact input, .contact textarea {
	width: 100%;
	height: 40px;
	padding: 12px;
	border: 0;
	border-radius: 10px;
	background: rgba(187, 187, 187, .15);
	color: var(--c-text);
	font: 400 14px/1.2 var(--ff-latin);
	letter-spacing: .01em;
	outline: none;
	-webkit-appearance: none;
}
.contact textarea { height: 200px; resize: vertical; }
.contact input::placeholder, .contact textarea::placeholder { color: rgba(250, 250, 250, .4); }
.contact input:focus, .contact textarea:focus { box-shadow: inset 0 0 0 1px rgba(250, 250, 250, .5); }
.contact .is-invalid { box-shadow: inset 0 0 0 1px #ff6b6b; }
.contact__submit {
	height: 40px;
	border-radius: 10px;
	background: var(--c-sub);
	color: var(--c-navy);
	font: 500 14px/16.8px var(--ff-latin);
	transition: opacity .2s;
}
.contact__submit:hover { opacity: .85; }
.contact__submit:disabled { cursor: default; opacity: .7; }
.contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
	display: flex;
	align-items: flex-start;
	gap: 80px;
	padding: 72px 16px 72px 64px;
	background: var(--c-footer);
}
.site-footer__kuani { flex: none; }
.site-footer__kuani img { width: 160px; height: auto; }
.site-footer__contents { flex: 1; display: flex; gap: 76px; padding-left: 32px; }
.site-footer__col { display: flex; flex-direction: column; gap: 16px; }
.site-footer__label { font: 500 13px/15.6px var(--ff-latin); letter-spacing: .03em; color: var(--c-sub); }
.site-footer__related { display: flex; flex-direction: column; gap: 10px; }
.site-footer__related li { font: 600 18px/21.6px var(--ff-latin); letter-spacing: .05em; }
.site-footer__related li.is-current { opacity: .5; }
.site-footer__social { display: flex; flex-direction: column; gap: 6px; }
.site-footer__social li { font: 500 13px/15.6px var(--ff-latin); letter-spacing: .05em; }
.site-footer a { transition: opacity .2s; }
.site-footer a:hover { opacity: .6; }
.site-footer__copy { align-self: flex-end; font: 500 11px/13.2px var(--ff-latin); white-space: nowrap; }

/* =========================================================
   Phone  (max-width: 999px)
   ========================================================= */
@media (max-width: 999px) {
	:root { --header-h: 56px; }
	.site-header { padding: 10px 8px; }
	.site-header__logo { height: 36px; }
	.view-films .site-header__logo { opacity: 1; pointer-events: auto; }
	.site-nav { gap: 6px; }
	.site-nav__links { gap: 0; }
	.nav-link { height: 36px; font-size: 15px; line-height: 15px; }
	.nav-link--films { display: none; }
	.lang__button { height: 36px; font-size: 15px; line-height: 15px; }
	.lang__button svg { display: none; }
	.lang__button { min-width: 36px; justify-content: center; padding: 0 0 0 2px; }
	.lang__menu { right: -8px; top: calc(100% + 10px); }

	.hero { height: 100vh; height: 100svh; padding: 160px 0; }
	.hero__contents { justify-content: flex-end; padding-left: 0; }
	.hero__logo, .hero__line { display: none; }
	.hero__items { width: 70vw; height: auto; display: grid; }
	.hero__item { position: relative; inset: auto; grid-area: 1 / 1; width: 100%; flex-direction: column; gap: 24px; }
	.hero__text { width: 100%; order: 2; }
	.hero__photo { width: 100%; order: 1; }
	.hero__photo img { height: auto; aspect-ratio: 273 / 181; }

	.series { flex-direction: column; gap: 64px; padding: 160px 0 160px 16px; }
	.series__head { position: static; width: 100%; }
	.series__films { width: 100%; padding-left: 48px; }
	.series__grid { display: flex; flex-direction: column-reverse; gap: 56px; }
	.ep--spacer { display: none; }
	.ep__meta { padding-right: 8px; }
	.series__credit { display: block; }

	.about { padding: 16px 16px 0; }
	.about__back {
		display: flex;
		align-items: center;
		gap: 2px;
		width: max-content;
		margin-left: auto;
		padding: 2px 0 2px 4px;
		font: 400 14px/14px var(--ff-latin);
		letter-spacing: .04em;
		text-transform: uppercase;
	}
	.about__block--first { margin-top: 127px; }
	.about__block { width: 100%; }
	.about__row { flex-direction: column; gap: 32px; }
	.about__block--stack .about__row + .about__row { margin-top: 0; }
	.about__label { width: 125px; }
	.about__lead, .about__body, .contact, .about__partner { width: 100%; }
	.about__projimg img { width: 100%; height: auto; aspect-ratio: 358 / 201; }
	.about__hr { width: 100%; margin: 84px 0; }
	.about__spacer { height: 84px; }
	.about__partner { gap: 16px; }
	.about__partner-logo { width: 115px; height: 86px; }
	.about__row:has(.about__partner) { gap: 24px; }

	.site-footer { flex-direction: column; gap: 96px; padding: 32px 16px 72px; }
	.site-footer__contents { flex-direction: column; gap: 56px; padding-left: 57px; }
	.site-footer__copy { align-self: flex-start; padding-left: 57px; }
}

@media (hover: none) {
	.ep__gif { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.reveal, .hero__item, .hero__line span { transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}
