html:has(body.bk-home-view),
body.bk-home-view {
	background-color: #e6dfd2 !important;
	background-image:
		radial-gradient(ellipse 90% 55% at 18% 8%, rgba(255, 252, 246, 0.28), transparent 50%),
		radial-gradient(ellipse 70% 50% at 92% 96%, rgba(110, 92, 74, 0.12), transparent 48%),
		url("parchment.svg?v=1.1.6") !important;
	background-size: auto, auto, 1600px 1200px;
	background-repeat: no-repeat, no-repeat, repeat;
	background-attachment: fixed;
}

body.bk-home-view .ct-header,
body.bk-home-view header#header,
body.bk-home-view [data-header],
body.bk-home-view .ct-footer,
body.bk-home-view footer#footer,
body.bk-home-view [data-row] {
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none;
}

body.bk-home-view #header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 6;
}

body.bk-home-view #header .site-title-text,
body.bk-home-view #header .header-menu a,
body.bk-home-view #header .ct-header-text,
body.bk-home-view #header [data-id="text"] {
	color: #1f1b16 !important;
	text-shadow: 0 0 16px rgba(230, 223, 210, 0.95), 0 1px 0 rgba(230, 223, 210, 0.7);
}

body.bk-home-view #header .site-title-container {
	max-width: min(44rem, calc(100vw - 5.2rem));
	gap: 0;
}

body.bk-home-view #header .site-title {
	margin: 0;
	line-height: 1.15 !important;
}

body.bk-home-view #header .site-description {
	max-width: 100%;
	margin: 0.22rem 0 0 !important;
	color: #1f1b16 !important;
	font-size: clamp(0.58rem, calc((100vw - 6rem) / 38), 0.82rem) !important;
	font-weight: 500 !important;
	line-height: 1.15 !important;
	letter-spacing: 0;
	white-space: nowrap;
	text-shadow: 0 0 18px rgba(230, 223, 210, 1), 0 1px 0 rgba(230, 223, 210, 0.85);
}

.bk-home-view .hero-section,
.bk-home-view .ct-sidebar,
.bk-home-view article.default,
.bk-home-view .ct-container:has(> .bk-home) {
	display: contents;
}

.bk-home {
	--bk-ink: #1f1b16;
	--bk-mute: #4f473d;
	--bk-line: rgba(80, 68, 52, 0.28);
	--bk-gold: #b8862a;
	--bk-gold-amber: #e0b34a;
	--bk-gold-honey: #f0d27a;
	--bk-gold-copper: #c46b1a;
	--bk-paper: #e6dfd2;
	--bk-white: #f3eee4;
	color: var(--bk-ink);
	padding-bottom: 5.5rem;
}

.bk-home a {
	transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.bk-home h1,
.bk-home h3,
.bk-home strong {
	color: var(--bk-ink);
}

.bk-home__hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 38rem;
	padding: 9rem 1.5rem 3.4rem;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(230, 223, 210, 0.9) 0%, rgba(230, 223, 210, 0.38) 24%, rgba(230, 223, 210, 0.72) 52%, rgba(230, 223, 210, 0.96) 74%, #e6dfd2 100%),
		url("https://bachkantate.com/wp-content/uploads/2025/06/bwv4-scaled.jpg") center 38% / cover no-repeat;
}

.bk-home__hero-copy {
	position: relative;
	width: min(980px, 100%);
	margin: 0 auto;
}

.bk-home__hero-copy::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: -1.2rem -1.5rem -1rem -1.2rem;
	background: radial-gradient(ellipse at 18% 70%, rgba(230, 223, 210, 0.92), rgba(230, 223, 210, 0.2) 72%);
	pointer-events: none;
}

.bk-home__kicker,
.bk-home__count,
.bk-home__section h2,
.bk-home__footer h2,
.bk-home__no,
.bk-home__latest span,
.bk-home__indexes em,
.bk-home__columns time {
	color: var(--bk-gold);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.8rem;
	font-weight: 700;
}

.bk-home__kicker {
	display: inline-block;
	margin: 0;
	line-height: 1.2;
	animation: bk-line-tilt 8s ease-in-out 1.4s infinite;
	transform-origin: left center;
}

.bk-home__by {
	display: inline-block;
	margin: 0.32rem 0 0;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.2;
	animation: bk-line-tilt 9s ease-in-out 1.8s infinite reverse;
	transform-origin: left center;
}

.bk-home__spin span {
	display: inline-block;
	animation: bk-letter-spin 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	animation-delay: calc(var(--i) * 55ms);
}

.bk-home__kicker span {
	background: linear-gradient(180deg, #f3d67a 0%, #e0b34a 42%, #c47a14 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.bk-home__by span {
	background: linear-gradient(180deg, #efc27a 0%, #d4842a 48%, #a34a16 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

@keyframes bk-letter-spin {
	from {
		opacity: 0;
		transform: rotateX(85deg) translateY(0.35em);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes bk-line-tilt {
	0%,
	100% {
		transform: rotate(-1.4deg);
	}
	50% {
		transform: rotate(1.4deg);
	}
}

.bk-home__hero h1 {
	margin: 0.7rem 0 0;
	font-family: "Iowan Old Style", Palatino, "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-size: clamp(2.5rem, 8vw, 5.2rem);
	color: var(--bk-ink);
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: -0.02em;
	text-shadow: 0 0 22px rgba(230, 223, 210, 0.95), 0 2px 18px rgba(230, 223, 210, 0.8);
}

.bk-home__lead {
	max-width: 38rem;
	margin: 1.15rem 0 0;
	color: var(--bk-ink);
	font-size: 1.08rem;
	line-height: 1.9;
	font-weight: 500;
}

.bk-home__count {
	margin: 1.15rem 0 0;
}

.bk-home__search {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	width: min(28rem, 100%);
	margin-top: 1.7rem;
	padding: 0.38rem 0.38rem 0.38rem 0.95rem;
	border: 1px solid rgba(90, 74, 52, 0.2);
	border-radius: 999px;
	background: rgba(243, 238, 228, 0.88);
	box-shadow: 0 10px 30px rgba(70, 56, 36, 0.06);
	backdrop-filter: blur(10px);
}

.bk-home__search label {
	color: var(--bk-gold);
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	font-weight: 700;
}

.bk-home__search input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	color: var(--bk-ink);
	font: inherit;
	font-size: 1.05rem;
}

.bk-home__search input:focus {
	outline: 0;
}

.bk-home__search button {
	appearance: none;
	padding: 0.64rem 1.1rem;
	border: 0;
	border-radius: 999px;
	background: var(--bk-ink);
	color: #f6f0e4;
	letter-spacing: 0.12em;
	cursor: pointer;
}

.bk-home__search button:hover {
	background: #1d1914;
}

.bk-home__section,
.bk-home__footer {
	width: min(1080px, calc(100% - 2.6rem));
	margin-left: auto;
	margin-right: auto;
}

.bk-home__section {
	margin-top: 2.6rem;
}

.bk-home__section h2,
.bk-home__footer h2 {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 0.4rem;
}

.bk-home__section h2::after,
.bk-home__footer h2::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--bk-line);
}

.bk-home__feature {
	position: relative;
}

.bk-home__feature a {
	display: block;
	position: relative;
	padding: 1.25rem 0 1.15rem;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid var(--bk-line);
}

.bk-home__watermark {
	position: absolute;
	top: -0.18em;
	right: -0.04em;
	color: rgba(106, 83, 50, 0.08);
	font-family: "Iowan Old Style", Palatino, "Times New Roman", serif;
	font-size: clamp(4.2rem, 14vw, 8rem);
	font-style: italic;
	font-weight: 500;
	line-height: 0.75;
	letter-spacing: -0.06em;
	pointer-events: none;
}

.bk-home__feature h3 {
	position: relative;
	max-width: 22ch;
	margin: 0.25rem 0 0;
	font-family: "Iowan Old Style", Palatino, "Times New Roman", serif;
	font-size: clamp(1.4rem, 3.2vw, 2.05rem);
	font-style: italic;
	font-weight: 600;
	line-height: 1.28;
	letter-spacing: -0.01em;
}

.bk-home__feature p {
	position: relative;
	margin: 0.75rem 0 0;
	color: var(--bk-mute);
}

.bk-home__feature a:hover h3 {
	color: var(--bk-gold);
}

.bk-home__new {
	display: inline-block;
	margin-left: 0.65rem;
	font-style: normal;
	color: var(--bk-mute);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.66rem;
}

.bk-home__latest,
.bk-home__indexes ul,
.bk-home__columns {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bk-home__latest a,
.bk-home__columns a,
.bk-home__indexes a {
	display: grid;
	gap: 0.2rem;
	padding: 0.85rem 0 0.9rem;
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid var(--bk-line);
}

.bk-home__latest strong {
	font-family: "Iowan Old Style", Palatino, "Times New Roman", serif;
	font-size: 1.05rem;
	font-style: italic;
	font-weight: 600;
	line-height: 1.4;
}

.bk-home__columns strong {
	font-family: "Iowan Old Style", Palatino, "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-size: 1.02rem;
	font-style: normal;
	font-weight: 600;
	line-height: 1.55;
}

.bk-home__latest a:hover strong,
.bk-home__columns a:hover strong,
.bk-home__indexes a:hover span {
	color: var(--bk-gold);
}

.bk-home__latest small,
.bk-home__indexes i,
.bk-home__footer p,
.bk-home__footer address {
	color: var(--bk-mute);
	font-style: normal;
	font-size: 0.98rem;
	line-height: 1.85;
}

.bk-home__indexes ul,
.bk-home__columns,
.bk-home__footer {
	display: grid;
	gap: 0;
}

.bk-home__indexes a {
	align-content: start;
	min-height: 0;
	padding-top: 0.95rem;
}

.bk-home__indexes em {
	margin-bottom: 0.35rem;
	font-style: normal;
}

.bk-home__indexes span {
	font-family: "Iowan Old Style", Palatino, "Hiragino Mincho ProN", serif;
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.35;
}

.bk-home__footer {
	margin-top: 4.4rem;
	padding-top: 0.4rem;
}

.bk-home__footer p.bk-home__org {
	margin: 0.85rem 0 0.55rem;
	color: var(--bk-ink);
	font-family: "Iowan Old Style", Palatino, "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.5;
}

.bk-home__footer a {
	display: inline-flex;
	align-items: baseline;
	gap: 0.45rem;
	color: var(--bk-ink);
	font-weight: 600;
	text-decoration: none;
}

.bk-home__footer a::before {
	content: "//";
	display: inline-block;
	color: var(--bk-gold-amber);
	font-family: "Iowan Old Style", Palatino, "Times New Roman", serif;
	font-weight: 500;
	letter-spacing: 0.04em;
	animation: bk-slash-spin 14s linear infinite;
}

@keyframes bk-slash-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bk-home__kicker,
	.bk-home__by,
	.bk-home__spin span,
	.bk-home__footer a::before {
		animation: none;
	}
}

.bk-home__out {
	margin-top: 0.35rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.82rem;
}

.bk-home__footer a:hover {
	color: var(--bk-gold);
}

@media (min-width: 720px) {
	.bk-home__hero {
		min-height: min(88vh, 760px);
	}

	.bk-home__latest {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 0 2.2rem;
	}

	.bk-home__latest a {
		border-bottom: 0;
		padding-top: 1rem;
	}

	.bk-home__indexes ul {
		grid-template-columns: repeat(3, 1fr);
		gap: 0 2.4rem;
	}

	.bk-home__indexes a {
		border-bottom: 0;
	}

	.bk-home__columns {
		grid-template-columns: repeat(2, 1fr);
		gap: 0 2.6rem;
	}

	.bk-home__footer {
		grid-template-columns: 1.35fr 1fr;
		gap: 0 3.2rem;
	}
}

@media (min-height: 760px) {
	.bk-home__hero {
		min-height: min(90vh, 820px);
	}
}
