/**
 * Korab Shaqiri — site styles.
 *
 * Editorial rather than nightclub: ivory on near-black, one bronze accent,
 * Instrument Serif for anything that behaves like a title, Inter for the rest.
 * Everything is scoped under .korab-main so the parent theme's own pages are
 * left exactly as they were.
 */

/* ---------------------------------------------------------------
   Barok: the identity the site sits under. Present on every page,
   including the ones Muzica lays out itself, so it is scoped to the
   document rather than to .korab-main.
   --------------------------------------------------------------- */
.korab-brandbar {
	background: var(--korab-bg-bar);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: var(--korab-ink);
	border-bottom: 1px solid var(--korab-rule-soft);
	font-family: var(--korab-sans);
}
.korab-brandbar.is-sticky { position: sticky; top: 0; z-index: var(--korab-layer-bar); }
.korab-brandbar__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 11px clamp(20px, 5vw, 64px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.korab-brandbar__remit {
	margin: 0;
	font-size: 9.5px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--korab-ink-muted);
	text-align: right;
}

.korab-mark {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	text-decoration: none;
	color: var(--korab-ink);
	transition: color 0.3s ease;
}
.korab-mark:hover,
.korab-mark:focus-visible { color: var(--korab-bronze); }
.korab-mark__img { display: block; height: auto; }
.korab-mark--bar .korab-mark__img { max-height: 26px; width: auto; }
.korab-mark--footer .korab-mark__img { max-height: 64px; width: auto; }
.korab-mark__name {
	font-family: var(--korab-serif);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.22em;
}
.korab-mark__sub {
	font-size: 8.5px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--korab-ink-muted);
}
.korab-mark--footer {
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}
.korab-mark--footer .korab-mark__name {
	font-size: clamp(2.6rem, 6vw, 4.6rem);
	letter-spacing: 0.14em;
	line-height: 0.95;
	font-weight: 700;
}
.korab-mark--footer .korab-mark__sub { font-size: 10px; letter-spacing: 0.38em; }

.korab-brandfoot {
	background: var(--korab-bg);
	color: var(--korab-ink);
	border-top: 1px solid var(--korab-rule-soft);
	font-family: var(--korab-sans);
}
.korab-brandfoot__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(38px, 5vw, 70px) clamp(20px, 5vw, 64px);
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 40px;
}
.korab-brandfoot__side { text-align: right; max-width: 42ch; }
.korab-brandfoot__text {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 300;
	color: var(--korab-ink-dim);
}
.korab-brandfoot__links {
	margin: 14px 0 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px 20px;
}
.korab-brandfoot__links a {
	font-size: 9.5px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--korab-ink-muted);
	text-decoration: none;
	transition: color 0.3s ease;
}
.korab-brandfoot__links a:hover { color: var(--korab-bronze); }

@media (max-width: 640px) {
	/* With navigation in the bar the wordmark and the button share one row. */
	.korab-brandbar:not(.has-nav) .korab-brandbar__inner { flex-direction: column; align-items: flex-start; gap: 6px; }
	.korab-brandbar__remit { text-align: left; }
	.korab-brandfoot__inner { flex-direction: column; align-items: flex-start; }
	.korab-brandfoot__side { text-align: left; }
	.korab-brandfoot__links { justify-content: flex-start; }
}

/* ---------------------------------------------------------------
   Navigation in the Barok bar
   Muzica's own header is gone, so this is the site's navigation.
   --------------------------------------------------------------- */
.korab-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 34px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.korab-nav__list a {
	display: inline-block;
	padding: 6px 0;
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--korab-ink-dim);
	text-decoration: none;
	transition: color 0.3s ease;
}
.korab-nav__list a:hover,
.korab-nav__list .current-menu-item > a,
.korab-nav__list .current_page_item > a { color: var(--korab-ink); }

/* Muzica skins every <button> in its accent colour, so this one is reset
   specifically rather than hopefully. Appearance only: `display` is set on
   its own line below, because a :hover variant of this rule outranks the
   media query and would take the button away the moment a cursor arrived
   on it, dropping the click through to the bar behind. */
.korab-brandbar button.korab-nav__toggle,
.korab-brandbar button.korab-nav__toggle:hover,
.korab-brandbar button.korab-nav__toggle:focus {
	align-items: center;
	justify-content: center;
	width: 44px;
	min-width: 0;
	height: 44px;
	margin-right: -10px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--korab-ink);
	cursor: pointer;
}
.korab-brandbar button.korab-nav__toggle { display: none; }

/* The strokes are decoration: the button itself takes the whole 44px hit. */
.korab-nav__bars { pointer-events: none; }
.korab-nav__bars,
.korab-nav__bars::before,
.korab-nav__bars::after {
	display: block;
	width: 20px;
	height: 1px;
	background: var(--korab-ink);
	transition: transform 0.3s ease, opacity 0.2s ease;
}
.korab-nav__bars { position: relative; }
.korab-nav__bars::before,
.korab-nav__bars::after { content: ''; position: absolute; left: 0; }
.korab-nav__bars::before { top: -6px; }
.korab-nav__bars::after { top: 6px; }
.korab-nav__toggle[aria-expanded="true"] .korab-nav__bars { background: transparent; }
.korab-nav__toggle[aria-expanded="true"] .korab-nav__bars::before { transform: translateY(6px) rotate(45deg); }
.korab-nav__toggle[aria-expanded="true"] .korab-nav__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* The panel is closed with the hidden attribute, and a class selector would
   otherwise beat the browser's own [hidden] rule and leave it covering the
   page. This is the line that keeps it shut. */
.korab-navpanel[hidden] { display: none; }

.korab-navpanel {
	position: fixed;
	inset: 0;
	z-index: var(--korab-layer-panel);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 40px;
	padding: 90px clamp(24px, 8vw, 64px) 60px;
	background: var(--korab-bg);
}
.korab-navpanel__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.korab-navpanel__list a {
	display: block;
	padding: 10px 0;
	font-family: var(--korab-serif);
	font-size: clamp(2rem, 9vw, 2.8rem);
	line-height: 1.1;
	color: var(--korab-ink);
	text-decoration: none;
}
.korab-navpanel__list a:hover { color: var(--korab-bronze); }
.korab-navpanel__remit {
	margin: 0;
	font-family: var(--korab-sans);
	font-size: 10px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--korab-ink-muted);
}

@media (max-width: 860px) {
	.korab-nav { display: none; }
	.korab-brandbar button.korab-nav__toggle { display: inline-flex; }
}

/* Let the Korab pages out of the parent theme's content wrapper, and give the
   page itself the dark ground the sections are drawn on. */
body.korab-page { background: var(--korab-bg); }
body.korab-page .page_content_wrap,
body.korab-page .page_content_wrap > .content_wrap,
body.korab-page .content_wrap > .content,
body.korab-page .page_content_wrap > .content_wrap > .content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
}
body.korab-page .page_content_wrap { padding-top: 0; padding-bottom: 0; }

.korab-main {
	/* The scale lives on :root in style.css. Nothing is redefined here:
	   the bar, the footer and the player sit outside .korab-main and read
	   the same values, which is the whole point of having them. */
	background: var(--korab-bg);
	color: var(--korab-ink);
	font-family: var(--korab-sans);
	font-weight: 300;
	line-height: 1.65;
	overflow-x: clip;
}

.korab-main *,
.korab-main *::before,
.korab-main *::after { box-sizing: border-box; }

.korab-main a,
.korab-main a:hover,
.korab-main a:focus { color: inherit; text-decoration: none; }
.korab-main h1,
.korab-main h2,
.korab-main h3,
.korab-main h4 {
	color: var(--korab-ink);
	text-transform: none;
	font-weight: 400;
}

/* Anything that behaves like a title is set in the serif, stated specifically
   enough to survive the parent theme's own heading rules. */
.korab-main .korab-hero__name,
.korab-main .korab-head__title,
.korab-main .korab-latest__title,
.korab-main .korab-editorial__heading,
.korab-main .korab-contact__heading,
.korab-main .korab-single__title,
.korab-main .korab-card__title,
.korab-main .korab-date__title,
.korab-main .korab-date__day,
.korab-main .korab-work-note__title,
.korab-main .korab-contact__row a { font-family: var(--korab-serif); }

.korab-main .korab-editorial__sub,
.korab-main .korab-eyebrow {
	font-family: var(--korab-sans);
	text-transform: uppercase;
	letter-spacing: 0.3em;
	font-size: 11px;
	font-weight: 500;
}
.korab-main img { display: block; max-width: 100%; height: auto; border-radius: 0; }
.korab-main h1,
.korab-main h2,
.korab-main h3,
.korab-main p,
.korab-main ul { margin: 0; }
.korab-main ul { list-style: none; padding: 0; }

/* ---------------------------------------------------------------
   Shared furniture
   --------------------------------------------------------------- */
.korab-wrap {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding-inline: clamp(20px, 5vw, 64px);
}

.korab-section { padding-block: clamp(72px, 9vw, 150px); }
.korab-section--top { padding-top: clamp(56px, 7vw, 110px); }
.korab-section + .korab-section { border-top: 1px solid var(--korab-rule); }

.korab-eyebrow {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--korab-bronze);
}

.korab-head { max-width: 620px; margin-bottom: clamp(36px, 5vw, 66px); }
.korab-head--archive { margin-bottom: clamp(28px, 4vw, 48px); }
.korab-head__title {
	font-family: var(--korab-serif);
	font-weight: 400;
	font-size: clamp(2.4rem, 5.2vw, 4.2rem);
	line-height: 1.02;
	letter-spacing: -0.015em;
	margin-top: 14px !important;
}
.korab-head__intro {
	margin-top: 18px !important;
	color: var(--korab-ink-dim);
	font-size: clamp(0.98rem, 1.2vw, 1.1rem);
	max-width: 46ch;
}

/* Every section opened the same way: small label, big line, sentence
   underneath, six times down the page. Where a section has an intro, the
   sentence moves beside the heading instead of under it, so the rhythm
   changes as the reader goes. Browsers without :has() keep the stack, which
   is the old arrangement and perfectly fine. */
@media (min-width: 900px) {
	.korab-head:has(.korab-head__intro) {
		display: grid;
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
		column-gap: clamp(40px, 6vw, 96px);
		align-items: end;
		max-width: 1120px;
	}
	.korab-head:has(.korab-head__intro) .korab-eyebrow { grid-column: 1; grid-row: 1; }
	.korab-head:has(.korab-head__intro) .korab-head__title { grid-column: 1; grid-row: 2; }
	.korab-head:has(.korab-head__intro) .korab-head__intro {
		grid-column: 2;
		grid-row: 2;
		margin-top: 0 !important;
		padding-bottom: 0.45em;
	}
}

.korab-dot { padding: 0 8px; color: var(--korab-ink-muted); }

.korab-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 30px;
	border: 1px solid var(--korab-bronze);
	border-radius: 999px;
	color: var(--korab-bronze);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	transition: background-color 0.35s ease, color 0.35s ease;
}
.korab-btn:hover,
.korab-btn:focus-visible { background: var(--korab-bronze); color: var(--korab-bg); }

/* The play control is a <button> when it drives an uploaded clip. */
.korab-main button.korab-btn {
	background: none;
	font-family: inherit;
	cursor: pointer;
	appearance: none;
}
.korab-main button.korab-btn:hover,
.korab-main button.korab-btn:focus-visible { background: var(--korab-bronze); color: var(--korab-bg); }

.korab-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--korab-ink);
	padding-bottom: 4px;
	border-bottom: 1px solid var(--korab-rule);
	transition: color 0.3s ease, border-color 0.3s ease;
}
.korab-link:hover,
.korab-link:focus-visible { color: var(--korab-bronze); border-color: var(--korab-bronze); }

.korab-more { margin-top: clamp(32px, 4vw, 56px) !important; }
.korab-empty { color: var(--korab-ink-dim); }

.korab-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.korab-chip {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid var(--korab-rule);
	border-radius: 999px;
	font-size: 9.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--korab-ink-dim);
	transition: border-color 0.3s ease, color 0.3s ease;
}
a.korab-chip:hover { border-color: var(--korab-bronze); color: var(--korab-bronze); }

/* Reveal on scroll. */
.korab-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.korab-reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------
   1. Hero
   --------------------------------------------------------------- */
.korab-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(560px, 88vh, 940px);
	padding-block: clamp(90px, 12vh, 150px);
	overflow: hidden;
}

.korab-hero__bg { position: absolute; inset: 0; }
.korab-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 30%;
	filter: saturate(0.92) contrast(1.03);
}
.korab-hero.has-image .korab-hero__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgba(8, 8, 8, 0.96) 4%, rgba(8, 8, 8, 0.55) 46%, rgba(8, 8, 8, 0.35) 100%),
		linear-gradient(to right, rgba(8, 8, 8, 0.7), transparent 62%);
}

.korab-hero__inner { position: relative; }

.korab-hero__name {
	font-family: var(--korab-serif);
	font-weight: 400;
	font-size: clamp(3.1rem, 11.5vw, 10.5rem);
	line-height: 0.92;
	letter-spacing: -0.028em;
	text-transform: none;
}

.korab-hero__roles {
	margin-top: clamp(18px, 2.4vw, 30px) !important;
	font-size: clamp(10px, 1.1vw, 12px);
	font-weight: 500;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--korab-ink);
}
.korab-hero__sep { color: var(--korab-bronze); padding: 0 0.55em; }

.korab-hero__brand {
	margin-top: 16px !important;
	font-size: 10px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--korab-bronze);
}
.korab-hero__brand a { border-bottom: 1px solid rgba(163, 138, 101, 0.35); padding-bottom: 3px; }

.korab-hero__line {
	margin-top: 20px !important;
	max-width: 34ch;
	color: var(--korab-ink-dim);
	font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.korab-hero__cta { margin-top: clamp(28px, 3.4vw, 44px) !important; }

/* ---------------------------------------------------------------
   2. Latest release
   --------------------------------------------------------------- */
.korab-latest__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: center;
}

.korab-latest__art { position: relative; }
.korab-latest__art img,
.korab-latest__art .korab-card__art-empty {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.korab-latest__art::after {
	content: '';
	position: absolute;
	inset: 0;
	box-shadow: inset 0 0 0 1px var(--korab-rule);
	pointer-events: none;
}

.korab-latest__title {
	font-family: var(--korab-serif);
	font-weight: 400;
	font-size: clamp(2.6rem, 6vw, 5rem);
	line-height: 1;
	letter-spacing: -0.02em;
	margin-top: 16px !important;
}
.korab-latest__meta {
	margin-top: 18px !important;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--korab-ink-dim);
}
.korab-latest__credit {
	margin-top: 12px !important;
	color: var(--korab-bronze);
	font-size: 0.95rem;
}
.korab-latest__text {
	margin-top: 18px !important;
	max-width: 46ch;
	color: var(--korab-ink-dim);
}
.korab-latest__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(16px, 2vw, 28px);
	margin-top: clamp(26px, 3vw, 40px) !important;
}

/* ---------------------------------------------------------------
   3. Selected music & work
   --------------------------------------------------------------- */
.korab-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
	gap: var(--korab-gap);
}

/* The parent theme gives every <article> its own margins; inside the grid the
   grid gap is doing that job. */
.korab-main .korab-card,
.korab-main article.korab-card { margin: 0; padding: 0; border: 0; background: none; }

.korab-card__link { display: block; }
.korab-card__art {
	display: block;
	position: relative;
	overflow: hidden;
	background: var(--korab-bg-soft);
}
.korab-card__art img,
.korab-card__art-empty {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: linear-gradient(140deg, #141414, #0a0a0a 60%);
	transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}
.korab-card__art::after {
	content: '';
	position: absolute;
	inset: 0;
	box-shadow: inset 0 0 0 1px var(--korab-rule);
	pointer-events: none;
}
.korab-card__link:hover .korab-card__art img { transform: scale(1.045); }

.korab-card__body { display: block; padding-top: 16px; }
.korab-card__meta {
	display: flex;
	gap: 10px;
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--korab-ink-muted);
}
.korab-card__for { color: var(--korab-bronze); }
.korab-card__title {
	display: block;
	margin-top: 8px;
	font-family: var(--korab-serif);
	font-weight: 400;
	font-size: 1.6rem;
	line-height: 1.12;
	transition: color 0.3s ease;
}
.korab-card__link:hover .korab-card__title { color: var(--korab-bronze); }
.korab-card__credit {
	display: block;
	margin-top: 6px;
	font-size: 0.9rem;
	color: var(--korab-ink-dim);
}
.korab-card .korab-chips { margin-top: 12px; }

/* ---------------------------------------------------------------
   Generated covers
   Every release without real sleeve art gets its own typographic
   cover, built from its title, so the catalogue never repeats the
   same photograph. Replaced automatically once artwork arrives.
   --------------------------------------------------------------- */
.korab-cover {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	aspect-ratio: 1 / 1;
	padding: clamp(16px, 1.6vw, 26px);
	overflow: hidden;
	background:
		radial-gradient(120% 120% at var(--korab-cover-x, 50%) var(--korab-cover-y, 40%), rgba(163, 138, 101, var(--korab-cover-glow, 0.12)), transparent 62%),
		linear-gradient(var(--korab-cover-angle, 150deg), var(--korab-sleeve-1) 0%, var(--korab-sleeve-2) 48%, var(--korab-sleeve-3) 100%);
}
.korab-cover__glyph {
	position: absolute;
	font-family: var(--korab-serif);
	line-height: 0.7;
	color: var(--korab-mark-quiet);
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

/* A hairline that lands somewhere different in each composition. */
.korab-cover__rule {
	position: absolute;
	background: var(--korab-bronze);
	opacity: 0.5;
	pointer-events: none;
}

/* 1. Letters running off the bottom right, the tile mostly empty. */
.korab-cover--v1 .korab-cover__glyph {
	right: -0.06em;
	bottom: -0.2em;
	font-size: clamp(6rem, 40cqw, 18rem);
}
.korab-cover--v1 .korab-cover__rule {
	left: clamp(16px, 1.6vw, 26px);
	top: clamp(16px, 1.6vw, 26px);
	width: 34%;
	height: 1px;
}

/* 2. Letters set small at the top, a long rule beneath them. */
.korab-cover--v2 .korab-cover__glyph {
	left: clamp(16px, 1.6vw, 26px);
	top: clamp(14px, 1.4vw, 24px);
	font-size: clamp(2.2rem, 15cqw, 6rem);
	color: var(--korab-mark-loud);
}
.korab-cover--v2 .korab-cover__rule {
	left: clamp(16px, 1.6vw, 26px);
	right: clamp(16px, 1.6vw, 26px);
	bottom: 34%;
	height: 1px;
}

/* 3. Letters centred and outlined, nothing else. */
.korab-cover--v3 .korab-cover__glyph {
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: clamp(4.5rem, 30cqw, 13rem);
	color: transparent;
	-webkit-text-stroke: 1px var(--korab-mark-loud);
}
.korab-cover--v3 .korab-cover__rule { display: none; }

/* 4. Letters up the left edge, a rule down the right. */
.korab-cover--v4 .korab-cover__glyph {
	left: -0.04em;
	bottom: -0.14em;
	font-size: clamp(5.5rem, 36cqw, 16rem);
}
.korab-cover--v4 .korab-cover__rule {
	right: 24%;
	top: clamp(16px, 1.6vw, 26px);
	bottom: clamp(16px, 1.6vw, 26px);
	width: 1px;
}

.korab-cover::after {
	content: '';
	position: absolute;
	inset: 0;
	box-shadow: inset 0 0 0 1px var(--korab-rule);
}

/* The glyph scales with the tile, not the viewport. */
.korab-card__art,
.korab-latest__art,
.korab-single__art { container-type: inline-size; }


/* ---------------------------------------------------------------
   4. Korab / Composition / Barok
   --------------------------------------------------------------- */
.korab-editorial__top {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(32px, 6vw, 90px);
	align-items: center;
}
.korab-editorial__portrait { position: relative; }
.korab-editorial__portrait img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}
.korab-editorial__portrait::after {
	content: '';
	position: absolute;
	inset: 0;
	box-shadow: inset 0 0 0 1px var(--korab-rule);
	pointer-events: none;
}

.korab-editorial__heading {
	font-family: var(--korab-serif);
	font-weight: 400;
	font-size: clamp(2.2rem, 4.6vw, 3.6rem);
	line-height: 1.06;
	letter-spacing: -0.015em;
	margin-top: 14px !important;
	max-width: 20ch;
}
.korab-editorial__text {
	margin-top: 22px !important;
	max-width: 52ch;
	color: var(--korab-ink-dim);
	font-size: clamp(1rem, 1.15vw, 1.08rem);
}

.korab-editorial__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 5vw, 80px);
	margin-top: clamp(48px, 6vw, 90px);
	padding-top: clamp(40px, 5vw, 70px);
	border-top: 1px solid var(--korab-rule);
}
.korab-editorial__col p { color: var(--korab-ink-dim); max-width: 48ch; }
.korab-editorial__sub {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--korab-ink);
	margin-bottom: 18px !important;
}

.korab-work-note {
	margin-top: 26px;
	padding: 20px 24px;
	border: 1px solid var(--korab-rule);
	border-left: 2px solid var(--korab-bronze);
}
.korab-work-note__title {
	font-family: var(--korab-serif);
	font-size: 1.45rem;
	line-height: 1.15;
	color: var(--korab-ink) !important;
}
.korab-work-note__line {
	margin-top: 8px !important;
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--korab-bronze) !important;
}

/* ---------------------------------------------------------------
   The Barok band: the house, given its own ground
   --------------------------------------------------------------- */
.korab-barok {
	margin-top: clamp(56px, 7vw, 110px);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	background: var(--korab-bg-soft);
	border-top: 1px solid var(--korab-rule);
	border-bottom: 1px solid var(--korab-rule);
}

.korab-barok__image { position: relative; overflow: hidden; }
.korab-barok__image img {
	width: 100%;
	height: 100%;
	min-height: 340px;
	object-fit: cover;
}
.korab-barok__image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, transparent 55%, rgba(14, 14, 14, 0.9));
}

.korab-barok__body {
	padding: clamp(38px, 5vw, 78px) clamp(24px, 4vw, 68px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	max-width: 640px;
}

.korab-barok__name {
	font-family: var(--korab-serif);
	font-weight: 400;
	font-size: clamp(1.9rem, 3.4vw, 2.9rem);
	line-height: 1.05;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-top: 16px !important;
}

/* The lineage, set as a dated pair: continuity shown, nothing claimed. */
.korab-lineage {
	list-style: none;
	margin: clamp(24px, 3vw, 34px) 0 0 !important;
	padding: 0 0 0 22px;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.korab-lineage::before {
	content: '';
	position: absolute;
	left: 3px;
	top: 8px;
	bottom: 8px;
	width: 1px;
	background: linear-gradient(to bottom, var(--korab-bronze), rgba(163, 138, 101, 0.15));
}
.korab-lineage li { position: relative; display: flex; align-items: baseline; gap: 14px; }
.korab-lineage li::before {
	content: '';
	position: absolute;
	left: -22px;
	top: 7px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--korab-bronze);
}
.korab-lineage li:last-child::before { background: var(--korab-ink); }
.korab-lineage__year {
	flex-shrink: 0;
	min-width: 4.5em;
	font-size: 10px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--korab-bronze);
	font-variant-numeric: tabular-nums;
}
.korab-lineage__name {
	font-family: var(--korab-serif);
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	line-height: 1.2;
	color: var(--korab-ink);
}
.korab-lineage--plain {
	list-style: none;
	padding-left: 0;
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--korab-ink) !important;
}
.korab-lineage--plain::before { display: none; }

.korab-barok__text {
	margin-top: clamp(24px, 3vw, 34px) !important;
	color: var(--korab-ink-dim);
	max-width: 46ch;
}
.korab-barok__remit {
	margin-top: 22px !important;
	padding-top: 20px;
	border-top: 1px solid var(--korab-rule);
	width: 100%;
	font-size: 10px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--korab-ink-muted);
}

/* ---------------------------------------------------------------
   5. Events
   --------------------------------------------------------------- */
.korab-dates { border-top: 1px solid var(--korab-rule); }
.korab-date {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr) auto;
	gap: clamp(16px, 3vw, 40px);
	align-items: center;
	padding-block: clamp(22px, 2.6vw, 34px);
	border-bottom: 1px solid var(--korab-rule);
}
.korab-date__when { display: flex; align-items: baseline; gap: 10px; }
.korab-date__day {
	font-family: var(--korab-serif);
	font-size: 2.6rem;
	line-height: 1;
}
.korab-date__month {
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--korab-ink-muted);
}
.korab-date__what { display: flex; flex-direction: column; gap: 5px; }
.korab-date__title {
	font-family: var(--korab-serif);
	font-size: 1.5rem;
	line-height: 1.15;
}
.korab-date__where,
.korab-date__time {
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--korab-ink-dim);
}
.korab-date__action { display: flex; align-items: center; gap: 16px; }
.korab-date__note {
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--korab-bronze);
}

/* ---------------------------------------------------------------
   6. Contact
   --------------------------------------------------------------- */
.korab-contact__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}
.korab-contact__heading {
	font-family: var(--korab-serif);
	font-weight: 400;
	font-size: clamp(2.2rem, 5vw, 4rem);
	line-height: 1.04;
	letter-spacing: -0.015em;
	margin-top: 14px !important;
	max-width: 16ch;
}
.korab-contact__text { margin-top: 20px !important; color: var(--korab-ink-dim); max-width: 44ch; }
.korab-contact__row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-block: 18px;
	border-top: 1px solid var(--korab-rule);
}
.korab-contact__label {
	font-size: 10px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--korab-ink-muted);
}
.korab-contact__row a {
	font-family: var(--korab-serif);
	font-size: 1.5rem;
	transition: color 0.3s ease;
}
.korab-contact__row a:hover { color: var(--korab-bronze); }
.korab-contact__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	padding-top: 22px;
	border-top: 1px solid var(--korab-rule);
}
.korab-contact__social a {
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--korab-ink-dim);
	transition: color 0.3s ease;
}
.korab-contact__social a:hover { color: var(--korab-bronze); }

/* ---------------------------------------------------------------
   Catalogue and single
   --------------------------------------------------------------- */
.korab-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: clamp(28px, 4vw, 48px);
}
.korab-filter__item {
	padding: 9px 18px;
	border: 1px solid var(--korab-rule);
	border-radius: 999px;
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--korab-ink-dim);
	transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}
.korab-filter__item:hover { border-color: var(--korab-bronze); color: var(--korab-bronze); }
.korab-filter__item.is-on {
	background: var(--korab-bronze);
	border-color: var(--korab-bronze);
	color: var(--korab-bg);
}

.korab-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: clamp(36px, 4vw, 60px);
}
.korab-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--korab-rule);
	border-radius: 999px;
	font-size: 11px;
	letter-spacing: 0.14em;
	color: var(--korab-ink-dim);
}
.korab-pagination .page-numbers.current,
.korab-pagination .page-numbers:hover { border-color: var(--korab-bronze); color: var(--korab-bronze); }

.korab-single__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(32px, 6vw, 90px);
	align-items: start;
}
.korab-single__art img,
.korab-single__art .korab-card__art-empty {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.korab-single__title {
	font-family: var(--korab-serif);
	font-weight: 400;
	font-size: clamp(2.4rem, 5.4vw, 4.4rem);
	line-height: 1.02;
	letter-spacing: -0.02em;
	margin-top: 14px !important;
}
.korab-single__meta {
	margin-top: 16px !important;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--korab-ink-dim);
}
.korab-single__credit { margin-top: 12px !important; color: var(--korab-bronze); }
.korab-single .korab-chips { margin-top: 20px; }
.korab-single__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(16px, 2vw, 28px);
	margin-top: clamp(24px, 3vw, 36px) !important;
}
.korab-single__text {
	margin-top: clamp(26px, 3vw, 40px);
	max-width: 60ch;
	color: var(--korab-ink-dim);
}
.korab-single__text p { margin-bottom: 1.1em !important; }
.korab-single__text a { color: var(--korab-bronze); }

/* ---------------------------------------------------------------
   Narrow screens
   --------------------------------------------------------------- */
@media (max-width: 1000px) {
	.korab-latest__inner,
	.korab-editorial__top,
	.korab-editorial__cols,
	.korab-contact__inner,
	.korab-single__inner { grid-template-columns: minmax(0, 1fr); }

	.korab-latest__art,
	.korab-single__art { max-width: 460px; }

	.korab-editorial__portrait { max-width: 420px; }

	.korab-barok { grid-template-columns: minmax(0, 1fr); }
	.korab-barok__image img { min-height: 260px; max-height: 380px; }
	.korab-barok__image::after { background: linear-gradient(to bottom, transparent 45%, rgba(14, 14, 14, 0.92)); }
	.korab-barok__body { max-width: none; }
}

@media (max-width: 720px) {
	.korab-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 26px 16px; }
	.korab-card__title { font-size: 1.25rem; }
	.korab-chip { font-size: 9px; padding: 4px 10px; }
	.korab-hero__roles { letter-spacing: 0.24em; font-size: 9.5px; }
	.korab-hero__sep { padding: 0 0.4em; }

	.korab-date {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}
	.korab-date__when { align-items: center; }
	.korab-date__day { font-size: 2rem; }
	.korab-date__action { justify-content: flex-start; }

	.korab-hero { min-height: 78vh; }
}

@media (prefers-reduced-motion: reduce) {
	.korab-reveal { opacity: 1; transform: none; transition: none; }
	.korab-card__art img { transition: none; }
}

/* ---------------------------------------------------------------
   Keyboard focus
   Anything on the dark ground gets a bronze ring rather than the
   browser's 1px dotted default, which all but disappears there.
   Mouse users never see it: this is :focus-visible only.
   --------------------------------------------------------------- */
.korab-brandbar a:focus-visible,
.korab-brandbar button:focus-visible,
.korab-navpanel a:focus-visible,
.korab-main a:focus-visible,
.korab-main button:focus-visible,
.korab-player a:focus-visible,
.korab-player button:focus-visible,
.korab-filter__item:focus-visible {
	outline: 1px solid var(--korab-bronze);
	outline-offset: 3px;
	border-radius: 1px;
}

/* ---------------------------------------------------------------
   The hero track list
   Muzica's demo puts a short list under the headline and swaps only
   the player when a row is chosen. Same idea here: a row hands its
   track to the bar at the foot of the page, and nothing else moves.
   --------------------------------------------------------------- */
.korab-tracks { margin-top: clamp(34px, 5vw, 58px); max-width: 620px; }
.korab-tracks__eyebrow { margin: 0 0 14px; }

.korab-tracks__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--korab-rule);
}
.korab-tracks__item { border-bottom: 1px solid var(--korab-rule); }

/* Muzica skins every button, so the row is reset the specific way. */
.korab-main button.korab-track,
.korab-main button.korab-track:hover,
.korab-main button.korab-track:focus {
	width: 100%;
	min-width: 0;
	padding: 14px 2px;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	font-family: var(--korab-sans);
	font-weight: 400;
	color: var(--korab-ink-strong);
	cursor: pointer;
}
.korab-main button.korab-track {
	display: grid;
	grid-template-columns: 26px 1fr auto;
	align-items: baseline;
	column-gap: 16px;
	transition: color 0.3s ease;
}
.korab-main button.korab-track:hover { color: var(--korab-ink); }

.korab-track__no {
	font-size: 10px;
	letter-spacing: 0.2em;
	color: var(--korab-ink-muted);
	font-variant-numeric: tabular-nums;
	grid-column: 1;
	grid-row: 1;
	transition: opacity 0.25s ease;
}

/* Three little bars that stand in for the number once a row is playing. */
.korab-track__cue {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	align-items: flex-end;
	gap: 2px;
	height: 11px;
	opacity: 0;
	transition: opacity 0.25s ease;
}
.korab-track__cue i {
	display: block;
	width: 2px;
	height: 40%;
	background: var(--korab-bronze);
}
.korab-track.is-on .korab-track__no { opacity: 0; }
.korab-track.is-on .korab-track__cue { opacity: 1; }
.korab-track.is-playing .korab-track__cue i { animation: korab-cue 1.05s ease-in-out infinite; }
.korab-track.is-playing .korab-track__cue i:nth-child(2) { animation-delay: 0.16s; }
.korab-track.is-playing .korab-track__cue i:nth-child(3) { animation-delay: 0.33s; }
@keyframes korab-cue {
	0%, 100% { height: 30%; }
	50% { height: 100%; }
}

.korab-main .korab-track__title {
	grid-column: 2;
	grid-row: 1;
	font-family: var(--korab-serif);
	font-size: clamp(1.15rem, 2.1vw, 1.45rem);
	line-height: 1.2;
	color: inherit;
}
.korab-track.is-on .korab-track__title { color: var(--korab-ink); }

.korab-track__meta {
	grid-column: 2;
	grid-row: 2;
	margin-top: 4px;
	font-size: 9.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--korab-ink-muted);
}

.korab-track__time {
	grid-column: 3;
	grid-row: 1;
	font-size: 10px;
	letter-spacing: 0.16em;
	color: var(--korab-ink-muted);
	font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
	.korab-main button.korab-track { column-gap: 12px; grid-template-columns: 22px 1fr auto; }
	.korab-track__time { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.korab-track.is-playing .korab-track__cue i { animation: none; }
}

/* On a short screen the list would otherwise sit under the fold. */
@media (min-width: 861px) and (max-height: 820px) {
	.korab-tracks { margin-top: clamp(18px, 3vh, 34px); }
	.korab-main button.korab-track { padding: 10px 2px; }
}

/* ---------------------------------------------------------------
   The events archive
   Upcoming dates read as they do on the homepage. Dates already
   played sit quieter, so the list reads as a history rather than
   as more of the same.
   --------------------------------------------------------------- */
.korab-head--second { margin-top: clamp(46px, 6vw, 78px); margin-bottom: clamp(14px, 2vw, 22px); }
.korab-dates--past .korab-date { opacity: 0.62; }
.korab-dates--past .korab-date:hover { opacity: 1; }
.korab-date.is-past .korab-date__day,
.korab-date.is-past .korab-date__title { color: var(--korab-ink-dim); }
.korab-date__note {
	font-size: 9.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--korab-ink-muted);
}
