:root {
	--ink: #20211f;
	--muted: #72746e;
	--paper: #f2f0e9;
	--lime: #d9ef58;
	--coral: #ff8069;
	--line: rgba(32, 33, 31, .16);
	--mono: "DM Mono", monospace;
	--sans: "Manrope", sans-serif;
}
:root[data-theme="dark"] {
	--ink: #f2f0e9;
	--muted: #9a9c94;
	--paper: #17181a;
	--lime: #d9ef58;
	--coral: #ff8069;
	--line: rgba(242, 240, 233, .16);
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--ink: #f2f0e9;
		--muted: #9a9c94;
		--paper: #17181a;
		--lime: #d9ef58;
		--coral: #ff8069;
		--line: rgba(242, 240, 233, .16);
	}
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--ink);
	background: var(--paper);
	font-family: var(--sans);
	overflow-x: hidden;
	transition: background .25s, color .25s;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.theme-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 6px 12px;
	background: none;
	font-family: var(--mono);
	font-size: 11px;
	cursor: pointer;
	transition: border-color .2s;
}
.theme-toggle:hover { border-color: var(--ink); }
.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 5vw;
	border-bottom: 1px solid var(--line);
}
.brand { font-size: 14px; font-weight: 800; letter-spacing: .22em; }
.nav { display: flex; gap: 28px; font-family: var(--mono); font-size: 11px; }
.nav a { transition: opacity .2s; }
.nav a:hover { opacity: .48; }
.nav a[aria-current="page"] { color: var(--coral); }
.menu-button { display: none; border: 0; background: none; cursor: pointer; }

.hero {
	min-height: 670px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(330px, 43%);
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}
.hero-copy { padding: 10.5vw 5vw 7vw; position: relative; z-index: 1; }
.eyebrow, .section-label, .meta { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.eyebrow::before { content: ""; display: inline-block; width: 30px; height: 1px; margin: 0 12px 3px 0; background: var(--coral); }
h1 { max-width: 760px; margin: 30px 0 24px; font-size: clamp(68px, 12vw, 184px); font-weight: 800; letter-spacing: -.085em; line-height: .82; }
.hero-intro { max-width: 380px; margin: 0; font-size: 15px; line-height: 1.75; }
.hero-intro strong { font-weight: 800; }
.portrait-wrap { position: relative; min-height: 670px; background: var(--coral); }
.portrait-wrap::before { content: "HAERIN"; position: absolute; top: 50%; left: -16%; z-index: 0; color: rgba(255,255,255,.26); font-size: 12vw; font-weight: 800; letter-spacing: -.08em; transform: rotate(-90deg); transform-origin: center; }
.portrait { display: block; width: 100%; height: 100%; min-height: 670px; }
.portrait svg { display: block; width: 100%; height: 100%; }
.portrait-credit { position: absolute; right: 22px; bottom: 20px; color: white; font-family: var(--mono); font-size: 10px; writing-mode: vertical-rl; }
.scroll-note { position: absolute; bottom: 26px; left: 5vw; font-family: var(--mono); font-size: 10px; }
.scroll-note::after { content: "↓"; margin-left: 12px; color: var(--coral); font-size: 16px; }

.facts { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 0; border-bottom: 1px solid var(--line); }
.fact { padding: 30px 5vw; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; margin-top: 14px; font-size: 18px; }
.fact p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.section { padding: 110px 5vw; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 62px; }
h2 { max-width: 670px; margin: 0; font-size: clamp(34px, 5vw, 74px); letter-spacing: -.07em; line-height: .95; }
.section-heading p { max-width: 270px; margin: 3px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.timeline-item { min-height: 270px; padding: 24px; border-top: 2px solid var(--ink); background: #e7e4da; }
.timeline-item:nth-child(2) { background: var(--lime); }
.timeline-item:nth-child(3) { background: #d9ded7; }
.timeline-item h3 { margin: 46px 0 12px; font-size: 24px; letter-spacing: -.05em; }
.timeline-item p { max-width: 290px; margin: 0; font-size: 13px; line-height: 1.7; }
.number { font-family: var(--mono); font-size: 11px; }

.essay { max-width: 720px; }
.essay p { font-size: 15px; line-height: 1.85; margin: 0 0 22px; }
.essay p:last-child { margin-bottom: 0; }

.quote-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8vw; align-items: center; background: #20211f; color: #f2f0e9; }
.quote-mark { color: var(--lime); font-size: 100px; line-height: .5; }
blockquote { margin: 0; font-size: clamp(30px, 4vw, 62px); font-weight: 600; letter-spacing: -.065em; line-height: 1.05; }
.quote-by { margin-top: 32px; color: #a8aaa2; font-family: var(--mono); font-size: 11px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.about-grid dt { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 22px; }
.about-grid dt:first-child { margin-top: 0; }
.about-grid dd { margin: 6px 0 0; font-size: 15px; line-height: 1.7; }

.content-page { padding: 90px 5vw 120px; max-width: 780px; }
.content-page h1 { font-size: clamp(38px, 6vw, 64px); letter-spacing: -.06em; line-height: 1.02; margin: 18px 0 40px; }
.content-page h2 { font-size: 24px; letter-spacing: -.03em; margin: 48px 0 14px; }
.content-page p, .content-page li { font-size: 15px; line-height: 1.85; color: var(--ink); }
.content-page p { margin: 0 0 18px; }
.content-page ul { padding-left: 20px; margin: 0 0 18px; }
.content-page li { margin-bottom: 8px; }
.content-page a.link { color: var(--coral); text-decoration: underline; }
.updated-note { color: var(--muted); font-family: var(--mono); font-size: 11px; margin-bottom: 40px; display: block; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px 5vw; color: var(--muted); font-family: var(--mono); font-size: 10px; flex-wrap: wrap; }
footer .footer-links { display: flex; gap: 18px; }
footer .footer-links a:hover { opacity: .6; }
.reveal { animation: rise .8s both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 720px) {
	.site-header { padding: 20px 6vw; }
	.nav { display: none; position: absolute; right: 6vw; top: 58px; z-index: 3; flex-direction: column; gap: 16px; padding: 20px; background: var(--lime); border: 1px solid var(--ink); }
	.nav.is-open { display: flex; }
	.menu-button { display: block; font-family: var(--mono); font-size: 11px; }
	.hero { display: block; min-height: 0; }
	.hero-copy { padding: 74px 6vw 54px; }
	h1 { margin: 25px 0; font-size: clamp(68px, 21vw, 130px); }
	.scroll-note { display: none; }
	.portrait-wrap, .portrait { min-height: 460px; height: 460px; }
	.portrait-wrap::before { left: -20%; font-size: 22vw; }
	.facts, .timeline, .quote-section, .about-grid { grid-template-columns: 1fr; }
	.fact { padding: 24px 6vw; border-right: 0; border-bottom: 1px solid var(--line); }
	.fact:last-child { border-bottom: 0; }
	.section { padding: 75px 6vw; }
	.section-heading { display: block; margin-bottom: 38px; }
	.section-heading p { margin-top: 22px; }
	.timeline { gap: 14px; }
	.timeline-item { min-height: 210px; }
	.timeline-item h3 { margin-top: 32px; }
	.quote-section { gap: 20px; }
	.content-page { padding: 70px 6vw 90px; }
	footer { padding: 20px 6vw; flex-direction: column; }
}
