/* ==================================================================
   MOON — stylesheet
   Dark editorial storytelling. Mobile-first, no horizontal overflow.
   ================================================================== */

/* ---------- Fonts (self-hosted, OFL) ---------------------------- */
@font-face {
	font-family: "Sofia Sans Extra Condensed";
	src: url("../fonts/SofiaSansExtraCondensed.woff2") format("woff2");
	font-weight: 100 1000;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Golos Text";
	src: url("../fonts/GolosText.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "IBM Plex Mono";
	src: url("../fonts/IBMPlexMono-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "IBM Plex Mono";
	src: url("../fonts/IBMPlexMono-Medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens --------------------------------------------- */
:root {
	--ink: #0b0b0c;
	--char: #141416;
	--ash: #1f1f22;
	--smoke: #37373b;
	--stone: #8a8a90;
	--mist: #c6c5bf;
	--bone: #ecebe4;
	--paper: #f5f2ea;
	--accent: #3f5ce6;

	--font-display: "Sofia Sans Extra Condensed", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Arial Narrow", sans-serif;
	--font-body: "Golos Text", -apple-system, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", Roboto, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--gutter: clamp(18px, 4.5vw, 64px);
	--gap: clamp(12px, 2vw, 32px);
	--max: 1560px;
	--nav-h: 64px;

	--ease: cubic-bezier(.16, 1, .3, 1);
	--reveal-dur: 1.1s;
}

/* ---------- Base ----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); background: var(--ink); }
body {
	margin: 0;
	background: var(--ink);
	color: var(--bone);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--paper); }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); color: var(--ink); padding: .5rem 1rem; font-family: var(--font-mono); font-size: .8rem; }
.skip:focus { left: 8px; }

/* Film grain over everything */
body::after {
	content: "";
	position: fixed;
	inset: -60%;
	width: 220%;
	height: 220%;
	background: url("../img/grain-light.svg") repeat;
	background-size: 360px 360px;
	opacity: .06;
	pointer-events: none;
	z-index: 900;
	animation: grain 9s steps(9) infinite;
}
@keyframes grain {
	0%   { transform: translate(0, 0); }
	11%  { transform: translate(-3%, -6%); }
	22%  { transform: translate(-9%, 3%); }
	33%  { transform: translate(6%, -8%); }
	44%  { transform: translate(-4%, 9%); }
	55%  { transform: translate(-11%, 2%); }
	66%  { transform: translate(8%, 5%); }
	77%  { transform: translate(-2%, -11%); }
	88%  { transform: translate(5%, 8%); }
	100% { transform: translate(0, 0); }
}

/* ---------- Typography ----------------------------------------- */
.display-xxl, .display-xl, .display-l, .display-m {
	font-family: var(--font-display);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -.005em;
	line-height: .88;
	overflow-wrap: anywhere;
}
.display-xxl { font-size: clamp(5.2rem, 20vw, 22rem); line-height: .82; }
.display-xl  { font-size: clamp(3.4rem, 13vw, 15rem); }
.display-l   { font-size: clamp(2.5rem, 7.5vw, 7.6rem); font-weight: 750; line-height: .92; }
.display-m   { font-size: clamp(1.7rem, 3.6vw, 3.4rem); font-weight: 700; line-height: .98; }

.lang-ko .display-xxl, .lang-ko .display-xl, .lang-ko .display-l, .lang-ko .display-m { letter-spacing: -.02em; }
[lang="ko"] { word-break: keep-all; }

.eyebrow {
	font-family: var(--font-mono);
	font-size: .74rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--stone);
	line-height: 1.5;
}
.eyebrow a { color: var(--mist); border-bottom: 1px solid var(--smoke); }
.mono { font-family: var(--font-mono); font-size: .86rem; line-height: 1.6; color: var(--mist); }

.prose { max-width: 62ch; }
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.prose--lede { font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.5; color: var(--bone); }
.prose--lede p { margin-bottom: .9em; }
.prose--article { max-width: 68ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); margin-inline: auto; }
.prose--article h2, .prose--article h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 750; line-height: .95; margin: 2.2em 0 .6em; }
.prose--article h2 { font-size: clamp(1.9rem, 4vw, 3.4rem); }
.prose--article h3 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.prose--article blockquote { margin: 2em 0; padding-left: 1.2em; border-left: 3px solid var(--accent); font-size: 1.15em; }
.prose a { border-bottom: 1px solid var(--stone); }
.prose a:hover { border-color: var(--paper); }
.prose img { margin: 2em 0; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	font-family: var(--font-mono);
	font-size: .82rem;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--paper);
	border-bottom: 1px solid var(--smoke);
	padding-bottom: .35em;
	transition: border-color .3s, gap .3s;
}
.link-arrow:hover { border-color: var(--paper); gap: .9em; }
.empty { font-family: var(--font-mono); color: var(--stone); padding: 3rem 0 6rem; }
.plain-list li { padding: .35em 0; border-bottom: 1px solid var(--ash); }
.plain-list li a { border-bottom: 1px solid var(--smoke); }

mark.todo {
	background: rgba(255, 210, 60, .16);
	color: #ffd23c;
	padding: 0 .12em;
	border-bottom: 1px dashed #ffd23c;
	border-radius: 0;
}
.strip mark.todo { background: rgba(63, 92, 230, .12); color: var(--accent); border-color: var(--accent); }

/* ---------- Layout --------------------------------------------- */
.wrap { padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; width: 100%; }
.chapter { padding-block: clamp(5rem, 12vw, 12rem); position: relative; }
.chapter--textured::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/scratches.svg") center / cover no-repeat;
	opacity: .5;
	pointer-events: none;
}
.chapter--textured > * { position: relative; }
.main { position: relative; z-index: 1; }

/* ---------- Media ---------------------------------------------- */
.fig { position: relative; }
.fig__media { overflow: hidden; }
.fig__media img { width: 100%; height: auto; }
.fig[style*="--ratio"] .fig__media img { aspect-ratio: var(--ratio); object-fit: cover; }
.fig__link { display: block; cursor: zoom-in; }
.fig__cap { margin-top: .8rem; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; color: var(--stone); line-height: 1.5; }
.is-bw img, .is-bw video { filter: grayscale(1) contrast(1.05); }
[data-parallax] { will-change: transform; }
[data-parallax] img { transform: scale(1.06); transform-origin: center; }

.video { width: 100%; background: var(--char); }
.video--frame { position: relative; aspect-ratio: 16 / 9; }
.video--frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video--reel { width: 100%; height: 100%; object-fit: cover; }
.video--player { width: 100%; }

/* ---------- Navigation ----------------------------------------- */
.nav {
	position: fixed;
	inset: 0 0 auto 0;
	height: var(--nav-h);
	z-index: 80;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-inline: var(--gutter);
	color: #fff;
	mix-blend-mode: difference;
	transition: transform .5s var(--ease);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-hidden:focus-within { transform: none; }
.nav__logo { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.nav__links { display: none; gap: clamp(14px, 2.2vw, 30px); font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.nav__links a { position: relative; padding: .4em 0; opacity: .78; transition: opacity .3s; }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; }
.nav__right { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav__langs { display: flex; gap: 10px; font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; }
.nav__langs a { opacity: .55; padding: .4em 0; }
.nav__langs a:hover { opacity: 1; }
.nav__langs a.is-current { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.nav__burger { display: flex; align-items: center; gap: .6em; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.nav__burger-icon { width: 22px; height: 10px; position: relative; }
.nav__burger-icon::before, .nav__burger-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); top: 0; }
.nav__burger-icon::after { top: 9px; }
.menu-open .nav__burger-icon::before { top: 4px; transform: rotate(45deg); }
.menu-open .nav__burger-icon::after { top: 4px; transform: rotate(-45deg); }

@media (min-width: 900px) {
	.nav__links { display: flex; }
	.nav__burger { display: none; }
}

.menu {
	position: fixed;
	inset: 0;
	z-index: 70;
	background: var(--ink);
	color: var(--bone);
	overflow: auto;
	opacity: 0;
	transition: opacity .35s;
}
.menu:not([hidden]) { opacity: 1; }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 2.5rem; padding: calc(var(--nav-h) + 2rem) var(--gutter) 3rem; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 13vw, 6.5rem); line-height: .95; text-transform: uppercase; padding: .05em 0; transform: translateY(20px); opacity: 0; transition: transform .7s var(--ease), opacity .7s; }
.menu:not([hidden]) .menu__links a { transform: none; opacity: 1; }
.menu__links a:nth-child(1) { transition-delay: .05s } .menu__links a:nth-child(2) { transition-delay: .1s } .menu__links a:nth-child(3) { transition-delay: .15s } .menu__links a:nth-child(4) { transition-delay: .2s } .menu__links a:nth-child(5) { transition-delay: .25s } .menu__links a:nth-child(6) { transition-delay: .3s }
.menu__links a.is-active { color: var(--accent); }
.menu__secondary { display: flex; gap: 1.6rem; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.menu__langs { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; font-family: var(--font-mono); font-size: .9rem; letter-spacing: .1em; border-top: 1px solid var(--ash); padding-top: 1.6rem; }
.menu__langs a { display: flex; flex-direction: column; gap: .2em; color: var(--mist); }
.menu__langs a small { font-size: .7rem; letter-spacing: .06em; color: var(--stone); }
.menu__langs a.is-current { color: var(--paper); text-decoration: underline; text-underline-offset: 6px; }
.menu-open { overflow: hidden; }

/* ---------- Hero ----------------------------------------------- */
.hero {
	position: relative;
	min-height: 100svh;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-template-rows: 1fr auto;
	overflow: hidden;
	background: var(--ink);
}
.hero__portrait {
	grid-column: 1 / -1;
	grid-row: 1;
	position: relative;
	height: 100svh;
	overflow: hidden;
}
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero__portrait::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,0) 22%),
		linear-gradient(0deg, var(--ink) 0%, rgba(11,11,12,.75) 20%, rgba(11,11,12,0) 55%);
}
.hero--noportrait .hero__name { grid-row: 1; align-self: center; }
.hero__role {
	position: absolute;
	top: calc(var(--nav-h) + 1.4rem);
	left: var(--gutter);
	display: flex;
	flex-direction: column;
	gap: .2em;
	color: var(--mist);
	z-index: 3;
	max-width: 60vw;
}
.hero__name {
	grid-column: 1 / -1;
	grid-row: 1;
	align-self: end;
	z-index: 2;
	padding: 0 var(--gutter) 5vh;
	display: flex;
	flex-direction: column;
	color: var(--paper);
	font-family: var(--font-display);
	font-weight: 800;
	text-transform: uppercase;
	line-height: .8;
	font-size: clamp(5.2rem, 22vw, 23rem);
	letter-spacing: -.01em;
	pointer-events: none;
}
.hero__word { display: block; animation: heroWord 1.3s var(--ease) both; animation-delay: calc(.15s + var(--i) * .12s); }
.hero__word:nth-child(2) { margin-left: .18em; }
@keyframes heroWord { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
.hero__phrases {
	grid-column: 1 / -1;
	grid-row: 2;
	padding: 2.5rem var(--gutter) 3.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	z-index: 3;
}
.hero__phrase {
	font-family: var(--font-body);
	font-size: clamp(1rem, 1.35vw, 1.2rem);
	line-height: 1.45;
	color: var(--mist);
	max-width: 30ch;
	animation: phrase 1.4s var(--ease) both;
	animation-delay: calc(.6s + var(--i) * .18s);
}
.hero__phrase:nth-child(even) { align-self: flex-end; text-align: right; }
@keyframes phrase { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 1.4rem; display: none; gap: .6em; align-items: center; z-index: 3; }
.hero__scroll span { display: inline-block; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

@media (min-width: 900px) {
	.hero { grid-template-rows: 1fr; }
	.hero__portrait { grid-column: 6 / -1; }
	.hero__portrait img { object-position: 50% 10%; }
	.hero__portrait::after {
		background:
			linear-gradient(90deg, var(--ink) 0%, rgba(11,11,12,.6) 12%, rgba(11,11,12,0) 38%),
			linear-gradient(0deg, var(--ink) 0%, rgba(11,11,12,0) 30%);
	}
	.hero__name { grid-column: 1 / 11; padding-bottom: 6vh; mix-blend-mode: difference; color: #fff; }
	.hero__phrases { position: absolute; inset: 0; padding: 0; display: block; }
	.hero__phrase { position: absolute; max-width: 24ch; }
	.hero__phrase:nth-child(even) { text-align: left; }
	/* Keep phrases clear of the giant name (its top edge sits between ~32vh and ~48vh depending on the screen). */
	.hero__phrase--1 { top: 21vh; left: var(--gutter); max-width: 26ch; }
	.hero__phrase--2 { top: 15vh; right: var(--gutter); text-align: right; max-width: 20ch; color: var(--bone); }
	.hero__phrase--3 { bottom: 13vh; right: var(--gutter); text-align: right; max-width: 22ch; }
	.hero__phrase--4 { bottom: 31vh; left: 52vw; max-width: 20ch; color: var(--stone); }
	.hero__phrase--5 { display: none; }
	.hero__scroll { display: flex; }
}

/* ---------- Identity ------------------------------------------- */
.identity { padding-block: clamp(4rem, 9vw, 9rem); }
.identity__grid { display: grid; gap: 2.5rem var(--gap); align-items: end; }
.identity__names { display: flex; flex-direction: column; gap: .3rem; }
.identity__latin { color: var(--paper); }
.identity__alt { color: var(--stone); letter-spacing: .12em; }
.identity__kr { color: var(--accent); font-weight: 800; }
@media (min-width: 900px) {
	.identity__grid { grid-template-columns: repeat(12, 1fr); }
	.identity__names { grid-column: 1 / 6; }
	.identity__text { grid-column: 7 / -1; }
}

/* ---------- Timeline chapters ---------------------------------- */
.story { position: relative; }
.story--about { padding-top: 1rem; }
.tl {
	position: relative;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	column-gap: var(--gap);
	row-gap: 1.6rem;
	padding-block: clamp(3.5rem, 9vw, 9rem);
	border-top: 1px solid var(--ash);
}
.tl__year {
	grid-column: 1 / -1;
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(5.4rem, 26vw, 24rem);
	line-height: .78;
	letter-spacing: -.02em;
	color: var(--bone);
	margin-left: -.04em;
	overflow-wrap: anywhere;
}
.tl__year--long { font-size: clamp(3.2rem, 14vw, 14rem); }
.tl__eyebrow { display: none; }
.tl__body { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 1.2rem; }
.tl__title { color: var(--paper); }
.tl__sub { font-family: var(--font-mono); font-size: .9rem; color: var(--mist); letter-spacing: .04em; }
.tl__media { grid-column: 1 / -1; position: relative; }
.tl__media-second { width: 58%; margin: -12% 0 0 auto; position: relative; z-index: 2; }
.tl__quote { margin-top: .6rem; align-self: flex-start; }
.tl__quote-row { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-top: -1rem; }
.tl__video { grid-column: 1 / -1; }

@media (min-width: 900px) {
	.tl--right .tl__year { grid-column: 1 / 8; grid-row: 1; }
	.tl--right .tl__body { grid-column: 2 / 7; grid-row: 2; }
	.tl--right .tl__media { grid-column: 7 / -1; grid-row: 1 / span 2; margin-top: 3vw; }
	.tl--left .tl__year { grid-column: 6 / -1; grid-row: 1; text-align: right; margin-left: 0; margin-right: -.04em; }
	.tl--left .tl__body { grid-column: 7 / 12; grid-row: 2; }
	.tl--left .tl__media { grid-column: 1 / 7; grid-row: 1 / span 2; margin-top: 3vw; }
	.tl--left .tl__media-second { margin: -12% auto 0 0; }
	.tl--collage .tl__year { grid-column: 1 / -1; grid-row: 1; }
	.tl--collage .tl__body { grid-column: 1 / 6; grid-row: 2; }
	.tl--collage .tl__media { grid-column: 6 / -1; grid-row: 2; }
	.tl--collage .tl__quote-row { grid-column: 1 / 8; margin-top: 0; justify-content: flex-start; }
	.tl--full .tl__year { grid-column: 1 / -1; grid-row: 1; }
	.tl--full .tl__body { grid-column: 1 / 7; grid-row: 2; }
	.tl--full .tl__media { grid-column: 1 / -1; grid-row: 3; margin-top: 2rem; }
	.tl--text .tl__year { grid-column: 1 / -1; grid-row: 1; }
	.tl--text .tl__body { grid-column: 3 / 10; grid-row: 2; }
	.tl__video { grid-column: 3 / 11; margin-top: 2rem; }
	.tl__year { padding-bottom: .5rem; }
}

/* ---------- Collage -------------------------------------------- */
.collage {
	position: relative;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gap);
	align-items: start;
}
.collage__item { position: relative; }
.collage--n1 .collage__item--1 { grid-column: 1 / -1; }
.collage--n2 .collage__item--1 { grid-column: 1 / 9; }
.collage--n2 .collage__item--2 { grid-column: 6 / -1; margin-top: -18%; z-index: 2; transform: rotate(1.6deg); }
.collage--n3 .collage__item--1 { grid-column: 1 / 9; }
.collage--n3 .collage__item--2 { grid-column: 7 / -1; margin-top: -22%; z-index: 2; transform: rotate(2deg); }
.collage--n3 .collage__item--3 { grid-column: 2 / 7; margin-top: -8%; z-index: 3; transform: rotate(-2.4deg); }
.collage--n4 .collage__item--1 { grid-column: 1 / 8; }
.collage--n4 .collage__item--2 { grid-column: 7 / -1; margin-top: 12%; z-index: 2; transform: rotate(1.5deg); }
.collage--n4 .collage__item--3 { grid-column: 2 / 6; margin-top: -10%; z-index: 3; transform: rotate(-2deg); }
.collage--n4 .collage__item--4 { grid-column: 8 / 12; margin-top: -6%; z-index: 4; }
.collage__item .fig__media { box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.collage--tight .collage__item--2 { margin-top: -30%; }
.collage--wide { margin-top: 1.5rem; }
.collage--after { margin-top: 2.5rem; }
@media (min-width: 900px) {
	.collage--wide.collage--n2 .collage__item--1 { grid-column: 1 / 7; }
	.collage--wide.collage--n2 .collage__item--2 { grid-column: 7 / -1; margin-top: 8%; }
	.collage--wide.collage--n3 .collage__item--1 { grid-column: 1 / 6; }
	.collage--wide.collage--n3 .collage__item--2 { grid-column: 6 / 10; margin-top: 10%; }
	.collage--wide.collage--n3 .collage__item--3 { grid-column: 9 / -1; margin-top: -4%; }
	.collage--wide.collage--n4 .collage__item--1 { grid-column: 1 / 6; }
	.collage--wide.collage--n4 .collage__item--2 { grid-column: 6 / 10; margin-top: 8%; }
	.collage--wide.collage--n4 .collage__item--3 { grid-column: 9 / -1; margin-top: -6%; }
	.collage--wide.collage--n4 .collage__item--4 { grid-column: 3 / 8; margin-top: -4%; }
}

/* ---------- Quote strips --------------------------------------- */
.strip {
	--tilt: -1.2deg;
	position: relative;
	display: inline-block;
	background: var(--paper);
	color: var(--ink);
	padding: clamp(1rem, 2vw, 1.7rem) clamp(1.3rem, 3vw, 2.6rem);
	max-width: min(46ch, 100%);
	transform: rotate(var(--tilt));
	box-shadow: 0 24px 50px -10px rgba(0,0,0,.6);
}
.strip::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/grain-dark.svg") repeat;
	background-size: 360px;
	opacity: .35;
	mix-blend-mode: multiply;
	pointer-events: none;
}
.strip::after {
	content: "";
	position: absolute;
	top: -9px;
	left: 12%;
	width: 64px;
	height: 18px;
	background: rgba(255,255,255,.55);
	transform: rotate(-4deg);
	box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.strip p {
	position: relative;
	font-size: clamp(1.15rem, 2vw, 1.85rem);
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: -.005em;
}
.strip cite { position: relative; display: block; margin-top: .9em; font-style: normal; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--smoke); }
.quotes { padding-block: clamp(2rem, 6vw, 5rem); }
.quotes .wrap { display: flex; flex-direction: column; gap: 3rem; }
.quotes__item--0 { align-self: flex-start; }
.quotes__item--1 { align-self: flex-end; }
.quotes__item--2 { align-self: center; }
@media (min-width: 900px) {
	.quotes__item--0 { margin-left: 8%; }
	.quotes__item--1 { margin-right: 10%; }
}

/* ---------- Statement ------------------------------------------ */
.statement { background: var(--char); }
.statement__title { display: flex; flex-direction: column; color: var(--paper); margin-bottom: clamp(2rem, 5vw, 4rem); line-height: .82; }
.statement__word { display: block; }
.statement__word:nth-child(2n) { color: var(--stone); }
.statement__word:nth-child(2) { margin-left: 12%; }
.statement__word:nth-child(3) { margin-left: 26%; }
.statement__word:nth-child(4) { margin-left: 6%; }
.statement__word:nth-child(n+5) { margin-left: 18%; }
.statement__grid { display: grid; gap: 2.5rem var(--gap); }
.statement__text .eyebrow { margin-bottom: 1.2rem; }
@media (min-width: 900px) {
	.statement__grid { grid-template-columns: repeat(12, 1fr); align-items: start; }
	.statement__img { grid-column: 1 / 6; margin-top: 2rem; }
	.statement__text { grid-column: 7 / -1; }
	.statement__grid:has(.statement__text:only-child) .statement__text { grid-column: 4 / 11; }
}

/* ---------- Exhibition chapter --------------------------------- */
.exh { position: relative; }
.exh__head { position: relative; display: grid; gap: 1.5rem; padding-bottom: clamp(2rem, 5vw, 4rem); }
.exh__year { color: var(--ash); line-height: .8; margin-left: -.03em; }
.exh__heading { display: flex; flex-direction: column; gap: .8rem; }
.exh__label { color: var(--paper); }
.exh__title { color: var(--accent); }
.exh__title a:hover { color: var(--paper); }
.exh__hero { margin-inline: 0; }
.exh__hero .fig__media { aspect-ratio: 4 / 5; }
.exh__hero .fig__media img { width: 100%; height: 100%; object-fit: cover; }
.exh__grid { display: grid; gap: 2rem var(--gap); padding-block: clamp(2.5rem, 6vw, 5rem); }
.exh__meta { display: flex; flex-direction: column; gap: 1rem; }
.exh__meta dt { color: var(--stone); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.exh__meta dd { color: var(--bone); }
.exh__views, .exh__bts { padding-block: 1rem clamp(2rem, 5vw, 4rem); }
.exh__quote { display: flex; justify-content: flex-end; padding-block: 1rem 3rem; }
.exh__video { padding-block: 1rem 3rem; }
.exh__more { padding-top: 1rem; }
@media (min-width: 900px) {
	.exh__head { grid-template-columns: repeat(12, 1fr); align-items: end; }
	.exh__year { grid-column: 1 / 7; }
	.exh__heading { grid-column: 7 / -1; }
	.exh__hero .fig__media { aspect-ratio: 21 / 9; }
	.exh__grid { grid-template-columns: repeat(12, 1fr); }
	.exh__meta { grid-column: 1 / 4; }
	.exh__text { grid-column: 5 / 12; }
}

/* ---------- Key works ------------------------------------------ */
.keyworks { padding-block: clamp(3rem, 8vw, 8rem) 0; }
.keyworks__eyebrow { margin-bottom: 1rem; }
.wrap--work { padding-block: clamp(3rem, 7vw, 7rem); }
.work { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 1.8rem; align-items: end; position: relative; }
.work__media { grid-column: 1 / -1; }
.work__info { grid-column: 1 / -1; display: flex; flex-direction: column; gap: .9rem; }
.work__title a:hover { color: var(--accent); }
.work__meta { color: var(--mist); }
.work__text { color: var(--mist); }
@media (min-width: 900px) {
	.work--full .work__media { grid-column: 1 / -1; }
	.work--full .work__info { grid-column: 2 / 8; }
	.work--wide .work__media { grid-column: 1 / 10; }
	.work--wide .work__info { grid-column: 10 / -1; }
	.work--bleed-right .work__media { grid-column: 5 / -1; margin-right: calc(-1 * var(--gutter)); }
	.work--bleed-right .work__info { grid-column: 1 / 5; padding-bottom: 8%; }
	.work--bleed-left .work__media { grid-column: 1 / 9; margin-left: calc(-1 * var(--gutter)); grid-row: 1; }
	.work--bleed-left .work__info { grid-column: 9 / -1; grid-row: 1; padding-bottom: 8%; }
	.work--bg { min-height: 90vh; align-items: center; }
	.work--bg .work__media { grid-column: 1 / -1; grid-row: 1; }
	.work--bg .work__media .fig__media { height: 90vh; }
	.work--bg .work__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
	.work--bg .work__info { grid-column: 2 / 8; grid-row: 1; z-index: 2; }
}

/* ---------- Process -------------------------------------------- */
.process { background: var(--char); }
.process__head { display: grid; gap: 2rem var(--gap); margin-bottom: clamp(2rem, 5vw, 4rem); }
.process__video { margin-bottom: clamp(2rem, 5vw, 4rem); }
.process__video .video--reel { aspect-ratio: 16 / 9; }
.process__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; grid-auto-flow: dense; }
.process__item { min-width: 0; }
.process__item .fig__media { aspect-ratio: 4 / 5; }
.process__item .fig__media img, .process__item .video { width: 100%; height: 100%; object-fit: cover; }
.process__item .video--reel, .process__item .video--player { aspect-ratio: 4 / 5; }
.process__item .video--frame { aspect-ratio: 16 / 9; }
.size-small { grid-column: span 3; }
.size-medium { grid-column: span 3; }
.size-large { grid-column: span 6; }
.size-full { grid-column: span 6; }
.size-large .fig__media, .size-full .fig__media, .size-large .video--reel, .size-full .video--reel { aspect-ratio: 3 / 2; }
.process__more { margin-top: 2.5rem; }
@media (min-width: 900px) {
	.process__head { grid-template-columns: repeat(12, 1fr); align-items: end; }
	.process__head h2 { grid-column: 1 / 6; }
	.process__text { grid-column: 7 / -1; }
	.process__grid { grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
	.size-small { grid-column: span 3; }
	.size-medium { grid-column: span 4; }
	.size-large { grid-column: span 6; }
	.size-full { grid-column: span 12; }
	.size-full .fig__media, .size-full .video--reel { aspect-ratio: 21 / 9; }
}

/* ---------- Masonry (works, archive) --------------------------- */
.masonry { column-count: 1; column-gap: var(--gap); margin-top: clamp(1.5rem, 4vw, 3rem); }
.masonry__item { display: block; break-inside: avoid; margin-bottom: clamp(2rem, 5vw, 4rem); position: relative; }
.masonry__item:nth-child(even) { padding-left: 12%; }
.masonry__item:nth-child(3n) { padding-right: 8%; }
.masonry__cap { display: flex; flex-direction: column; gap: .2rem; margin-top: .8rem; }
.masonry__title { font-family: var(--font-display); font-weight: 750; text-transform: uppercase; font-size: 1.35rem; line-height: 1; color: var(--paper); }
.masonry__meta { font-size: .76rem; color: var(--stone); }
.masonry__item img { width: 100%; height: auto; transition: opacity .4s; }
.masonry__item:hover img { opacity: .85; }
.masonry--archive .masonry__item { cursor: zoom-in; }
@media (min-width: 700px) {
	.masonry { column-count: 2; }
	.masonry__item:nth-child(even) { padding-left: 0; }
	.masonry__item:nth-child(3n) { padding-right: 0; }
	.masonry__item:nth-child(4n+2) { padding-left: 14%; }
	.masonry__item:nth-child(5n+3) { padding-right: 16%; }
	.masonry__item:nth-child(7n+4) { padding-left: 6%; padding-right: 6%; }
}
@media (min-width: 1100px) {
	.masonry { column-count: 3; }
}

/* ---------- Rows: exhibitions, press, texts -------------------- */
.exlist__group { margin-top: clamp(2rem, 5vw, 4rem); }
.exlist__group--page { margin-top: clamp(1rem, 3vw, 2rem); margin-bottom: clamp(2rem, 5vw, 4rem); }
.exlist__label { margin-bottom: .6rem; }
.exlist__heading { margin-bottom: 1.2rem; color: var(--stone); }
.exlist__more, .otherworks__more { margin-top: 2.5rem; }
.exh-row {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .6rem 1.4rem;
	align-items: start;
	padding: 1.4rem 0;
	border-top: 1px solid var(--ash);
	transition: color .3s;
}
.exh-row:last-child { border-bottom: 1px solid var(--ash); }
.exh-row__year { color: var(--stone); min-width: 3.2em; }
.exh-row__main { display: flex; flex-direction: column; gap: .5rem; }
.exh-row__title { color: var(--paper); transition: color .3s; }
.exh-row:hover .exh-row__title { color: var(--accent); }
.exh-row__meta { font-size: .78rem; color: var(--stone); }
.exh-row__thumb { grid-column: 1 / -1; width: 160px; opacity: 0; transition: opacity .4s; }
.exh-row:hover .exh-row__thumb { opacity: 1; }
@media (max-width: 899px) { .exh-row__thumb { display: none; } }
@media (min-width: 900px) {
	.exh-row { grid-template-columns: 6rem 1fr 160px; align-items: center; }
	.exh-row__thumb { grid-column: auto; }
}

.press-row { display: grid; gap: 1rem var(--gap); padding: 2rem 0; border-top: 1px solid var(--ash); }
.press-row:last-child { border-bottom: 1px solid var(--ash); }
.press-row__thumb { max-width: 200px; }
.press-row__main { display: flex; flex-direction: column; gap: .8rem; }
.press-row__meta { font-size: .78rem; color: var(--stone); }
.press-row__title a:hover { color: var(--accent); }
.press-row__text { color: var(--mist); max-width: 60ch; }
@media (min-width: 900px) {
	.press-row { grid-template-columns: 200px 1fr; }
	.press-row:not(:has(.press-row__thumb)) { grid-template-columns: 1fr; }
	.press-row:not(:has(.press-row__thumb)) .press-row__main { padding-left: 25%; }
}

.text-row { display: grid; gap: .6rem var(--gap); padding: 2rem 0; border-top: 1px solid var(--ash); }
.text-row:last-of-type { border-bottom: 1px solid var(--ash); }
.text-row__meta { font-size: .78rem; color: var(--stone); }
.text-row__title { color: var(--paper); transition: color .3s; }
.text-row:hover .text-row__title { color: var(--accent); }
.text-row__excerpt { color: var(--mist); max-width: 60ch; }
.text-row__thumb { max-width: 240px; }
@media (min-width: 900px) {
	.text-row { grid-template-columns: 1fr 240px; grid-template-rows: auto auto auto; }
	.text-row__meta, .text-row__title, .text-row__excerpt { grid-column: 1; }
	.text-row__thumb { grid-column: 2; grid-row: 1 / span 3; align-self: start; opacity: .7; transition: opacity .4s; }
	.text-row:hover .text-row__thumb { opacity: 1; }
	.text-row__title { padding-right: 10%; }
}

/* ---------- Inner pages ---------------------------------------- */
.page { padding-top: calc(var(--nav-h) + clamp(2rem, 6vw, 5rem)); padding-bottom: clamp(4rem, 10vw, 9rem); }
.page-head { display: flex; flex-direction: column; gap: 1.2rem; padding-bottom: clamp(1.5rem, 4vw, 3rem); }
.page-head__title { color: var(--paper); margin-left: -.03em; }
.page-head__intro { margin-top: .5rem; }
.filters { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); padding: 1rem 0; border-top: 1px solid var(--ash); border-bottom: 1px solid var(--ash); }
.filters a { padding: .3em 0; position: relative; }
.filters a:hover { color: var(--paper); }
.filters a.is-current { color: var(--paper); }
.filters a.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); }

.serieslist { margin-top: clamp(3rem, 8vw, 8rem); }
.serieslist__grid { display: grid; gap: clamp(2rem, 5vw, 4rem) var(--gap); margin-top: clamp(1.5rem, 4vw, 3rem); }
.serieslist__item { display: flex; flex-direction: column; gap: .8rem; }
.serieslist__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .4s; }
.serieslist__item:hover img { opacity: .85; }
.serieslist__title { color: var(--paper); }
.serieslist__years { color: var(--stone); }
@media (min-width: 700px) {
	.serieslist__grid { grid-template-columns: repeat(2, 1fr); }
	.serieslist__item:nth-child(even) { margin-top: 12%; }
}

/* Single work */
.single-work__hero { padding-top: 0; }
.single-work__hero .fig { max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.single-work__hero .fig__media img { max-height: 88vh; width: auto; margin-inline: auto; object-fit: contain; }
.single-work__grid { display: grid; gap: 2rem var(--gap); padding-block: clamp(2.5rem, 6vw, 5rem); }
.single-work__head { display: flex; flex-direction: column; gap: 1rem; }
.single-work__meta { color: var(--mist); }
.single-work__body { display: flex; flex-direction: column; gap: 2rem; }
.single-work__exh .eyebrow { margin-bottom: .6rem; }
.single-work__details, .single-work__more, .single-work__video { padding-block: clamp(2rem, 5vw, 4rem) 0; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(4rem, 8vw, 7rem); padding-top: 2rem; border-top: 1px solid var(--ash); }
.pager a { display: flex; flex-direction: column; gap: .5rem; }
.pager a:hover .display-m { color: var(--accent); }
.pager__next { text-align: right; align-items: flex-end; grid-column: 2; }
@media (min-width: 900px) {
	.single-work__grid { grid-template-columns: repeat(12, 1fr); }
	.single-work__head { grid-column: 1 / 6; }
	.single-work__body { grid-column: 7 / -1; }
}

/* Single series */
.single-series__cover .fig__media { aspect-ratio: 21 / 9; }
.single-series__cover .fig__media img { width: 100%; height: 100%; object-fit: cover; }
.single-series__concept { padding-block: clamp(2.5rem, 6vw, 5rem); }
.single-series__process, .single-series__video { padding-block: clamp(2rem, 5vw, 4rem) 0; }
@media (min-width: 900px) { .single-series__concept { padding-left: calc(var(--gutter) + 25%); } }

/* Single text */
.single-text__head { display: flex; flex-direction: column; gap: 1.2rem; padding-bottom: clamp(2rem, 5vw, 4rem); }
.single-text__cover { margin-bottom: clamp(2rem, 5vw, 4rem); }
.single-text__cover .fig__media { aspect-ratio: 21 / 9; }
.single-text__cover .fig__media img { width: 100%; height: 100%; object-fit: cover; }
.single-text__links { display: flex; gap: 2rem; margin-top: 3rem; justify-content: center; }
@media (min-width: 900px) { .single-text__head { padding-left: 15%; } }

/* Single exhibition */
.single-exh__crumb { margin-bottom: 1.5rem; }
.single-exh .exh__head { padding-top: 0; }
.single-exh__works, .single-exh__press { padding-top: clamp(3rem, 7vw, 6rem); }
.single-exh__press h2 { margin-bottom: 1rem; }

/* About */
.about__top { display: grid; gap: 2.5rem var(--gap); padding-bottom: clamp(3rem, 8vw, 7rem); }
.about__intro { display: flex; flex-direction: column; gap: 1.4rem; }
.about__name { margin-left: -.03em; }
.about__names { color: var(--stone); letter-spacing: .08em; }
.about__tl-label { padding-top: 1rem; }
@media (min-width: 900px) {
	.about__top { grid-template-columns: repeat(12, 1fr); align-items: end; }
	.about__portrait { grid-column: 1 / 6; }
	.about__intro { grid-column: 7 / -1; }
}

/* 404 */
.page-404 { display: flex; flex-direction: column; gap: 1.5rem; min-height: 70vh; justify-content: center; }
.page-404 .display-xl { color: var(--ash); }

/* ---------- Contact -------------------------------------------- */
.contact { background: var(--char); }
.contact .wrap { display: flex; flex-direction: column; gap: 2rem; }
.contact__title { color: var(--stone); }
.contact__email { color: var(--paper); text-transform: none; letter-spacing: -.01em; word-break: break-all; transition: color .3s; }
.contact__email:hover { color: var(--accent); }
.contact__text { color: var(--mist); }
.contact__links { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; }
.contact__extra { display: grid; gap: 1rem 2rem; padding-top: 2rem; border-top: 1px solid var(--ash); }
.contact__extra dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin-bottom: .3rem; }
.contact__extra dd a { border-bottom: 1px solid var(--smoke); color: var(--bone); }
@media (min-width: 700px) { .contact__extra { grid-template-columns: repeat(3, 1fr); } }
.page-contact .contact { min-height: 80vh; display: flex; align-items: center; }

/* ---------- Footer --------------------------------------------- */
.footer { padding: clamp(3rem, 6vw, 5rem) 0 2rem; border-top: 1px solid var(--ash); }
.footer__grid { display: grid; gap: 1.5rem; }
.footer__name { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.4rem; line-height: 1; }
.footer__kr { color: var(--stone); font-size: 1rem; margin-top: .3em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; }
.footer__links a:hover { color: var(--paper); }
@media (min-width: 900px) {
	.footer__grid { grid-template-columns: 2fr 1fr 2fr 1fr; align-items: end; }
	.footer__copy { text-align: right; }
}

/* ---------- Lightbox ------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 950; background: rgba(8,8,9,.96); display: flex; align-items: center; justify-content: center; padding: 3rem var(--gutter); }
.lightbox[hidden] { display: none; }
.lightbox__fig { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.lightbox__img { max-height: calc(100vh - 8rem); max-width: 100%; width: auto; object-fit: contain; }
.lightbox__cap { text-align: center; min-height: 1.2em; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; font-family: var(--font-body); font-weight: 300; color: var(--mist); line-height: 1; padding: .6rem 1rem; }
.lightbox__close { top: .8rem; right: var(--gutter); font-size: 2.6rem; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox__prev { left: .4rem; }
.lightbox__next { right: .4rem; }
.lightbox button:hover { color: var(--paper); }

/* ---------- Motion --------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--reveal-dur) var(--ease), transform var(--reveal-dur) var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
.collage__item[data-reveal].is-in { transform: none; }
.collage--n2 .collage__item--2.is-in { transform: rotate(1.6deg); }
.collage--n3 .collage__item--2.is-in { transform: rotate(2deg); }
.collage--n3 .collage__item--3.is-in { transform: rotate(-2.4deg); }
.collage--n4 .collage__item--2.is-in { transform: rotate(1.5deg); }
.collage--n4 .collage__item--3.is-in { transform: rotate(-2deg); }
.strip[data-reveal] { transform: translateY(28px) rotate(var(--tilt)); }
.strip[data-reveal].is-in { transform: rotate(var(--tilt)); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
	[data-reveal] { opacity: 1; transform: none; }
	.strip[data-reveal] { transform: rotate(var(--tilt)); }
	body::after { animation: none; }
	[data-parallax] img { transform: none; }
}

/* ---------- Print ---------------------------------------------- */
@media print {
	body { background: #fff; color: #000; }
	body::after, .nav, .menu, .lightbox, .hero__scroll { display: none !important; }
	[data-reveal] { opacity: 1 !important; transform: none !important; }
}
