:root {
	--pk-ink: #15161a;
	--pk-muted: #656a73;
	--pk-paper: #f6f4ef;
	--pk-surface: #fff;
	--pk-line: #dcd8cf;
	--pk-accent: #c6374c;
	--pk-focus: #215bc7;
	--pk-max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--pk-paper);
	color: var(--pk-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	line-height: 1.55;
}

.pk-shell {
	width: min(calc(100% - 2rem), var(--pk-max));
	margin-inline: auto;
}

.pk-screen-reader-text,
.pk-skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.pk-skip-link:focus {
	position: fixed;
	z-index: 100;
	top: 0.5rem;
	left: 0.5rem;
	padding: 0.7rem 1rem;
	background: var(--pk-surface);
	color: var(--pk-ink);
}

.pk-site-header {
	border-bottom: 1px solid var(--pk-line);
	background: rgba(246, 244, 239, 0.96);
}

.pk-site-header__inner {
	display: flex;
	min-height: 4.25rem;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.pk-wordmark {
	color: var(--pk-ink);
	font-weight: 850;
	letter-spacing: 0.12em;
	text-decoration: none;
}

.pk-nav {
	display: flex;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pk-nav a {
	color: inherit;
	font-weight: 700;
	text-underline-offset: 0.25em;
}

.pk-eyebrow {
	margin: 0 0 0.35rem;
	color: var(--pk-accent);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.pk-home-hero {
	padding-block: clamp(4.5rem, 11vw, 8.5rem);
}

.pk-home-hero h1 {
	max-width: 15ch;
	margin: 0;
	font-family: Georgia, serif;
	font-size: clamp(2.8rem, 8vw, 6.3rem);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 0.96;
}

.pk-home-hero > p:not(.pk-eyebrow) {
	max-width: 47rem;
	margin: 1.4rem 0 0;
	color: var(--pk-muted);
	font-size: clamp(1.03rem, 2vw, 1.2rem);
}

.pk-primary-link {
	display: inline-block;
	margin-top: 2rem;
	border-bottom: 2px solid var(--pk-accent);
	color: var(--pk-ink);
	font-weight: 800;
	text-decoration: none;
}

.pk-home-latest {
	padding-block: clamp(2.5rem, 6vw, 5rem) 5.5rem;
	border-top: 1px solid var(--pk-line);
}

.pk-section-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-bottom: 1.7rem;
}

.pk-section-heading h2,
.pk-page-heading h1 {
	margin: 0;
	font-family: Georgia, serif;
	font-weight: 500;
	line-height: 1.05;
}

.pk-section-heading h2 { font-size: clamp(1.8rem, 4vw, 2.65rem); }
.pk-section-heading a { color: inherit; font-weight: 700; text-underline-offset: 0.25em; }

.pk-listing { min-height: 60vh; padding-block: clamp(3rem, 8vw, 6rem); }

.pk-page-heading {
	max-width: 48rem;
	margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.pk-page-heading h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
.pk-page-heading > p:not(.pk-eyebrow) { max-width: 42rem; margin: 1rem 0 0; color: var(--pk-muted); font-size: 1.08rem; }

.pk-drama-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	border-top: 1px solid var(--pk-line);
}

.pk-drama-card {
	min-width: 0;
	padding: 1.6rem 0;
	border-bottom: 1px solid var(--pk-line);
}

.pk-drama-card h2 {
	margin: 0;
	font-family: Georgia, serif;
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 500;
	line-height: 1.1;
	overflow-wrap: anywhere;
}

.pk-drama-card h2 a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

.pk-drama-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 0.7rem;
	margin: 0 0 0.55rem;
	color: var(--pk-muted);
	font-size: 0.78rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.pk-drama-card__original { margin: 0.45rem 0 0; color: var(--pk-muted); }

.pk-empty-state {
	max-width: 45rem;
	padding: clamp(1.6rem, 4vw, 2.5rem) 0;
	border-top: 1px solid var(--pk-line);
	border-bottom: 1px solid var(--pk-line);
}

.pk-empty-state h2,
.pk-empty-state h3 { margin: 0; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.pk-empty-state p { margin: 0.7rem 0 0; color: var(--pk-muted); }

.pk-content-list { border-top: 1px solid var(--pk-line); }
.pk-content-list__item { padding: 1.6rem 0; border-bottom: 1px solid var(--pk-line); }
.pk-content-list__item h2 { margin: 0; font-family: Georgia, serif; font-weight: 500; }
.pk-content-list__item h2 a { color: inherit; text-underline-offset: 0.22em; }
.pk-content-list__item > p { max-width: 65ch; color: var(--pk-muted); }

.nav-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.nav-links a { color: inherit; font-weight: 700; }

.pk-site-footer {
	border-top: 1px solid var(--pk-line);
	padding: 2rem 0 2.25rem;
	color: var(--pk-muted);
	font-size: 0.82rem;
}

.pk-site-footer p { margin: 0; }

a:focus-visible,
button:focus-visible,
select:focus-visible {
	outline: 3px solid var(--pk-focus);
	outline-offset: 3px;
}

@media (min-width: 600px) {
	.pk-drama-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: clamp(2rem, 5vw, 4rem);
	}
}

@media (min-width: 760px) {
	.pk-shell { width: min(calc(100% - 4rem), var(--pk-max)); }
}

@media (min-width: 1100px) {
	.pk-drama-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
