/*
 * Xakyra — main stylesheet
 *
 * 1. Tokens
 * 2. Base
 * 3. Layout
 * 4. Buttons and forms
 * 5. Header
 * 6. Home page
 * 7. Content
 * 8. Footer
 * 9. Motion
 *
 * Fonts are declared in fonts.css.
 */

/* 1. Tokens ---------------------------------------------------------------- */

:root {
	/* Neutrals, taken from the logo wordmark and the white it sits on. */
	--xk-ink: #2a2a2e;
	--xk-ink-soft: #62626a;
	--xk-paper: #ffffff;
	--xk-mist: #f2f4f5;
	--xk-line: #d9dde0;

	/* The four stones of the Xakyra star. Each has one job. */
	--xk-teal: #197c76;      /* links, focus on dark, success */
	--xk-teal-deep: #115e59; /* button hover */
	--xk-sapphire: #1e55a4;  /* keyboard focus, information */
	--xk-rose: #c44767;      /* sale, errors */
	--xk-amber: #e69938;     /* ratings */
	--xk-amber-deep: #b06c14;

	--xk-font-display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
	--xk-font-body: "Jost", "Century Gothic", Futura, "Helvetica Neue", Arial, sans-serif;

	--xk-wrap: 82rem;
	--xk-gutter: clamp(1.25rem, 4vw, 3rem);
	--xk-section: clamp(3.5rem, 8vw, 6.5rem);
	--xk-header-h: 4.75rem;
}

/* 2. Base ------------------------------------------------------------------ */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--xk-header-h) + 1rem);
}

body {
	margin: 0;
	background: var(--xk-paper);
	color: var(--xk-ink);
	font-family: var(--xk-font-body);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	font-family: var(--xk-font-display);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5,
h6 {
	font-family: var(--xk-font-body);
	font-size: 1.0625rem;
	font-weight: 500;
	letter-spacing: 0;
}

p,
ul,
ol,
dl,
figure,
blockquote,
table,
pre {
	margin: 0 0 1.25em;
}

a {
	color: var(--xk-teal);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--xk-teal-deep);
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

hr {
	height: 1px;
	margin: 2.5rem 0;
	border: 0;
	background: var(--xk-line);
}

blockquote {
	padding-left: 1.5rem;
	border-left: 2px solid var(--xk-ink);
	font-family: var(--xk-font-display);
	font-size: 1.35rem;
	font-style: italic;
	line-height: 1.4;
}

table {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

th,
td {
	padding: 0.7rem 0.75rem;
	border-bottom: 1px solid var(--xk-line);
	text-align: left;
}

th {
	font-weight: 500;
}

:focus-visible {
	outline: 2px solid var(--xk-sapphire);
	outline-offset: 3px;
}

::selection {
	background: var(--xk-ink);
	color: var(--xk-paper);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
	word-wrap: normal !important;
}

.xk-skip-link:focus {
	position: fixed !important;
	z-index: 1000;
	top: 0.75rem;
	left: 0.75rem;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1.25rem;
	clip: auto;
	clip-path: none;
	background: var(--xk-ink);
	color: var(--xk-paper);
	text-decoration: none;
}

/* 3. Layout ---------------------------------------------------------------- */

.xk-container {
	width: 100%;
	max-width: calc(var(--xk-wrap) + 2 * var(--xk-gutter));
	margin-inline: auto;
	padding-inline: var(--xk-gutter);
}

.xk-main {
	display: block;
	min-height: 50vh;
	padding-block: clamp(2rem, 5vw, 3.5rem) var(--xk-section);
}

.xk-home {
	padding-top: 0;
}

.xk-entry {
	max-width: 46rem;
	margin-inline: auto;
}

.xk-entry--wide {
	max-width: none;
}

.xk-page-header {
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.xk-page-title {
	margin: 0;
}

.xk-page-intro {
	max-width: 40rem;
	margin-top: 1rem;
	color: var(--xk-ink-soft);
}

/* 4. Buttons and forms ----------------------------------------------------- */

.xk-button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
	display: inline-block;
	padding: 0.95em 1.9em;
	border: 1px solid var(--xk-ink);
	border-radius: 0;
	background: var(--xk-ink);
	color: var(--xk-paper);
	font-family: var(--xk-font-body);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.xk-button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	border-color: var(--xk-teal-deep);
	background: var(--xk-teal-deep);
	color: var(--xk-paper);
}

.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--xk-ink);
}

.is-style-outline > .wp-block-button__link:hover {
	background: var(--xk-ink);
	color: var(--xk-paper);
}

.xk-text-link {
	color: var(--xk-ink);
	font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
	width: 100%;
	padding: 0.8em 1em;
	border: 1px solid var(--xk-line);
	border-radius: 0;
	background: var(--xk-paper);
	color: var(--xk-ink);
	font: inherit;
	line-height: 1.3;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--xk-ink);
}

::placeholder {
	color: var(--xk-ink-soft);
	opacity: 1;
}

label {
	font-weight: 500;
}

.xk-icon-btn {
	position: relative;
	display: inline-grid;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--xk-ink);
	cursor: pointer;
	place-items: center;
}

.xk-icon-btn:hover {
	color: var(--xk-teal-deep);
}

.xk-icon {
	display: block;
}

.xk-search-form {
	display: flex;
	gap: 0.75rem;
	max-width: 40rem;
}

.xk-search-form__field {
	flex: 1;
	min-width: 0;
}

/* 5. Header ---------------------------------------------------------------- */

.xk-announcement {
	margin: 0;
	padding: 0.55rem var(--xk-gutter);
	background: var(--xk-ink);
	color: var(--xk-paper);
	font-size: 0.9375rem;
	text-align: center;
}

.xk-announcement a {
	color: inherit;
}

.xk-header {
	position: sticky;
	z-index: 100;
	top: 0;
	border-bottom: 1px solid var(--xk-line);
	background: var(--xk-paper);
}

.admin-bar .xk-header {
	top: 32px;
}

.xk-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 2rem;
	min-height: var(--xk-header-h);
}

.xk-nav-toggle,
.xk-nav-close {
	display: none;
}

.xk-brand__link,
.xk-brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--xk-ink);
	text-decoration: none;
}

.xk-brand__star {
	width: 2.25rem;
	height: 2.25rem;
}

.xk-star__blades {
	isolation: isolate;
}

.xk-star__blade {
	mix-blend-mode: multiply;
}

.xk-brand__name {
	font-family: var(--xk-font-display);
	font-size: 1.75rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.01em;
}

.xk-brand .custom-logo {
	width: auto;
	max-height: 3rem;
}

.xk-menu,
.xk-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.xk-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 2.25rem;
}

.xk-menu li {
	position: relative;
}

.xk-menu a {
	display: block;
	padding: 0.6rem 0;
	color: var(--xk-ink);
	font-size: 1rem;
	text-decoration: none;
}

.xk-menu > li > a {
	background: linear-gradient(currentColor, currentColor) no-repeat 0 85% / 0 1px;
	transition: background-size 0.25s ease;
}

.xk-menu > li > a:hover,
.xk-menu > li.current-menu-item > a,
.xk-menu > li.current-menu-ancestor > a {
	background-size: 100% 1px;
}

.xk-menu .sub-menu {
	position: absolute;
	z-index: 10;
	top: 100%;
	left: -1.25rem;
	min-width: 13rem;
	padding: 0.5rem 0;
	visibility: hidden;
	border: 1px solid var(--xk-line);
	background: var(--xk-paper);
	opacity: 0;
	transition: opacity 0.15s ease, visibility 0.15s;
}

.xk-menu li:hover > .sub-menu,
.xk-menu li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
}

.xk-menu .sub-menu a {
	padding: 0.5rem 1.25rem;
}

.xk-menu .sub-menu a:hover {
	background: var(--xk-mist);
}

.xk-tools {
	display: flex;
	align-items: center;
	justify-self: end;
}

.xk-cart-count {
	position: absolute;
	top: 0.2rem;
	right: 0;
	display: grid;
	min-width: 1.15rem;
	height: 1.15rem;
	padding: 0 0.3rem;
	border-radius: 1rem;
	background: var(--xk-ink);
	color: var(--xk-paper);
	font-size: 0.6875rem;
	font-weight: 500;
	line-height: 1;
	place-items: center;
}

.xk-cart-count.is-empty {
	display: none;
}

.xk-search-panel {
	padding: 1.25rem 0;
	border-top: 1px solid var(--xk-line);
}

.xk-search-panel .xk-search-form {
	margin-inline: auto;
}

@media (max-width: 62rem) {
	:root {
		--xk-header-h: 4rem;
	}

	.xk-header__inner {
		grid-template-columns: 1fr auto 1fr;
		gap: 0.5rem;
	}

	.xk-nav-toggle {
		display: inline-grid;
		justify-self: start;
		margin-left: -0.6rem;
	}

	.xk-tools {
		margin-right: -0.6rem;
	}

	.xk-brand__name {
		font-size: 1.5rem;
	}

	.xk-brand__star {
		width: 1.9rem;
		height: 1.9rem;
	}

	.xk-nav {
		position: fixed;
		z-index: 200;
		inset: 0 auto 0 0;
		width: min(22rem, 88vw);
		padding: 1rem var(--xk-gutter) 2rem;
		overflow-y: auto;
		visibility: hidden;
		background: var(--xk-paper);
		box-shadow: 0 0 0 100vmax rgba(42, 42, 46, 0);
		transform: translateX(-100%);
		transition: transform 0.3s ease, visibility 0.3s, box-shadow 0.3s ease;
	}

	.xk-nav.is-open {
		visibility: visible;
		box-shadow: 0 0 0 100vmax rgba(42, 42, 46, 0.45);
		transform: none;
	}

	.xk-nav-close {
		display: inline-grid;
		margin: 0 0 1rem -0.6rem;
	}

	.xk-menu {
		flex-direction: column;
		gap: 0;
	}

	.xk-menu > li {
		border-bottom: 1px solid var(--xk-line);
	}

	.xk-menu > li > a {
		padding: 0.9rem 0;
		background: none;
		font-family: var(--xk-font-display);
		font-size: 1.5rem;
	}

	.xk-menu .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 0.75rem;
		visibility: inherit;
		border: 0;
		opacity: 1;
	}

	.xk-menu .sub-menu a {
		padding: 0.4rem 0;
	}

	.xk-account-link {
		display: none;
	}
}

@media (max-width: 782px) {
	.admin-bar .xk-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .xk-header {
		top: 0;
	}
}

/* 6. Home page ------------------------------------------------------------- */

.xk-hero {
	position: relative;
	overflow: hidden;
	background: var(--xk-mist);
}

.xk-hero__inner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 22rem;
}

.xk-hero--photo .xk-hero__inner {
	min-height: min(78vh, 46rem);
}

.xk-hero__copy {
	max-width: 48rem;
	padding-block: clamp(3rem, 8vw, 6rem);
}

.xk-hero__title {
	max-width: 11em;
	margin: 0 0 1.5rem;
	font-size: clamp(2.75rem, 6.4vw, 5.75rem);
	font-style: italic;
	line-height: 0.98;
	letter-spacing: -0.02em;
}

.xk-hero__text {
	max-width: 27rem;
	margin: 0 0 2.25rem;
	color: var(--xk-ink-soft);
	font-size: 1.25rem;
	line-height: 1.5;
}

/* The hero image fills the banner; the text sits over its left side. */
.xk-hero__media {
	position: absolute;
	inset: 0;
}

.xk-hero__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The text column should not swallow clicks meant for the video button. */
.xk-hero--photo .xk-hero__inner {
	pointer-events: none;
}

.xk-hero--photo .xk-hero__copy {
	pointer-events: auto;
}

.xk-hero__media .xk-video-toggle {
	right: var(--xk-gutter);
	bottom: 1.5rem;
}

/* A shade behind the text only, so the rest of the image stays untouched. */
.xk-hero__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(24, 24, 28, 0.66) 0%, rgba(24, 24, 28, 0.4) 36%, rgba(24, 24, 28, 0) 68%);
	content: "";
}

.xk-hero--dark-text .xk-hero__media::after {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.6) 36%, rgba(255, 255, 255, 0) 68%);
}

.xk-hero--light-text .xk-hero__title,
.xk-hero--light-text .xk-hero__text {
	color: var(--xk-paper);
}

.xk-hero--light-text .xk-hero__button {
	border-color: var(--xk-paper);
	background: var(--xk-paper);
	color: var(--xk-ink);
}

.xk-hero--light-text .xk-hero__button:hover {
	border-color: var(--xk-ink);
	background: var(--xk-ink);
	color: var(--xk-paper);
}

.xk-hero--light-text :focus-visible {
	outline-color: var(--xk-paper);
}

.xk-hero--dark-text .xk-hero__text {
	color: var(--xk-ink);
}

.xk-home-section {
	padding-top: var(--xk-section);
}

.xk-home-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	margin-bottom: 2rem;
}

.xk-home-section__title {
	margin: 0 0 2rem;
}

.xk-home-section__head .xk-home-section__title {
	margin: 0;
}

/* Feature rows: image one side, text and button the other, alternating. */
.xk-feature {
	padding-top: var(--xk-section);
}

.xk-feature__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(2rem, 6vw, 6rem);
}

.xk-feature--flip .xk-feature__inner {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.xk-feature__media {
	display: grid;
	overflow: hidden;
	aspect-ratio: 5 / 4;
	background: var(--xk-mist);
	place-items: center;
}

.xk-feature--flip .xk-feature__media {
	order: 2;
}

.xk-feature__media {
	position: relative;
}

.xk-feature__media img,
.xk-feature__media video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Pause/play button on banner videos. */
.xk-video-toggle {
	position: absolute;
	z-index: 2;
	right: 1rem;
	bottom: 1rem;
	display: grid;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(24, 24, 28, 0.62);
	color: var(--xk-paper);
	cursor: pointer;
	place-items: center;
	transition: background-color 0.2s ease;
}

.xk-video-toggle[hidden] {
	display: none;
}

.xk-video-toggle:hover {
	background: rgba(24, 24, 28, 0.86);
}

.xk-video-toggle:focus-visible {
	outline-color: var(--xk-paper);
	box-shadow: 0 0 0 4px rgba(24, 24, 28, 0.86);
}

.xk-video-toggle .xk-icon--play,
.xk-video-toggle.is-paused .xk-icon--pause {
	display: none;
}

.xk-video-toggle.is-paused .xk-icon--play {
	display: block;
}

.xk-feature__hint {
	color: var(--xk-ink-soft);
	font-size: 0.9375rem;
}

.xk-feature__title {
	margin: 0 0 1.25rem;
	font-size: clamp(2rem, 3.6vw, 3rem);
}

.xk-feature__text {
	max-width: 30rem;
	margin-bottom: 2rem;
	color: var(--xk-ink-soft);
	font-size: 1.125rem;
}

.xk-feature__text p:last-child {
	margin-bottom: 0;
}

.xk-cat-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.xk-cat-tile a {
	display: block;
	color: var(--xk-ink);
	text-decoration: none;
}

.xk-cat-tile__media {
	display: grid;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--xk-mist);
	place-items: center;
}

.xk-cat-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.xk-cat-tile a:hover img {
	transform: scale(1.04);
}

.xk-cat-tile__initial {
	color: var(--xk-line);
	font-family: var(--xk-font-display);
	font-size: clamp(6rem, 12vw, 10rem);
	font-style: italic;
	line-height: 1;
}

.xk-cat-tile__name {
	display: block;
	margin-top: 0.9rem;
	font-family: var(--xk-font-display);
	font-size: 1.5rem;
	line-height: 1.2;
}

.xk-cat-tile a:hover .xk-cat-tile__name {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

@media (max-width: 48rem) {
	/* Phones: the image sits above the text instead of behind it. */
	.xk-hero--photo {
		background: var(--xk-paper);
	}

	.xk-hero--photo .xk-hero__media {
		position: relative;
		inset: auto;
		aspect-ratio: 4 / 3;
	}

	.xk-hero__media .xk-video-toggle {
		right: 1rem;
		bottom: 1rem;
	}

	.xk-hero--photo .xk-hero__media::after {
		display: none;
	}

	.xk-hero__inner,
	.xk-hero--photo .xk-hero__inner {
		min-height: 0;
	}

	.xk-hero__copy {
		padding-block: 2.5rem;
	}

	.xk-hero--photo .xk-hero__title {
		color: var(--xk-ink);
	}

	.xk-hero--photo .xk-hero__text {
		color: var(--xk-ink-soft);
	}

	.xk-hero--photo .xk-hero__button {
		border-color: var(--xk-ink);
		background: var(--xk-ink);
		color: var(--xk-paper);
	}

	.xk-hero--photo :focus-visible {
		outline-color: var(--xk-sapphire);
	}

	/* Phones: every feature row is image first, then text. */
	.xk-feature__inner,
	.xk-feature--flip .xk-feature__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.75rem;
	}

	.xk-feature--flip .xk-feature__media {
		order: 0;
	}

	.xk-cat-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}

	.xk-cat-tile__name {
		font-size: 1.25rem;
	}
}

/* 7. Content --------------------------------------------------------------- */

.xk-prose > * {
	margin-top: 0;
}

.xk-prose > :last-child {
	margin-bottom: 0;
}

.xk-prose h2,
.xk-prose h3,
.xk-prose h4 {
	margin-top: 1.6em;
}

.xk-prose ul,
.xk-prose ol {
	padding-left: 1.25em;
}

.xk-prose li + li {
	margin-top: 0.35em;
}

.xk-prose .alignwide {
	width: min(72rem, 100vw - 2 * var(--xk-gutter));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.xk-prose .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.xk-entry--wide .xk-prose .alignwide,
.xk-entry--wide .xk-prose .alignfull {
	width: auto;
	margin-left: 0;
	transform: none;
}

.wp-caption,
.wp-block-image figcaption,
figcaption {
	color: var(--xk-ink-soft);
	font-size: 0.9375rem;
}

.xk-entry__date {
	display: block;
	margin-bottom: 0.75rem;
	color: var(--xk-ink-soft);
	font-size: 0.9375rem;
}

.xk-entry__media {
	margin-bottom: 2.5rem;
}

.xk-entry__footer {
	margin-top: 3.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--xk-line);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem 2rem;
}

.nav-links a {
	color: var(--xk-ink);
	text-decoration: none;
}

.nav-links a:hover {
	text-decoration: underline;
}

.xk-post-nav__label {
	display: block;
	color: var(--xk-ink-soft);
	font-size: 0.9375rem;
}

.pagination .nav-links {
	justify-content: center;
	margin-top: 3.5rem;
	font-variant-numeric: tabular-nums;
}

.page-numbers {
	padding: 0.4rem 0.75rem;
}

.page-numbers.current {
	background: var(--xk-ink);
	color: var(--xk-paper);
}

.xk-post-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
	gap: 3rem 2rem;
}

.xk-post-card__media {
	display: block;
	margin-bottom: 1.25rem;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: var(--xk-mist);
}

.xk-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.xk-post-card__title {
	margin-bottom: 0.5rem;
	font-size: 1.625rem;
}

.xk-post-card__title a {
	color: var(--xk-ink);
	text-decoration: none;
}

.xk-post-card__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.xk-post-card__excerpt {
	color: var(--xk-ink-soft);
}

.xk-post-card__excerpt p {
	margin: 0;
}

.xk-empty {
	max-width: 40rem;
}

.xk-empty--404 {
	padding-block: clamp(2rem, 8vw, 6rem);
}

.xk-empty--404 .xk-page-title {
	margin-bottom: 1.25rem;
}

.xk-empty .xk-search-form {
	margin-bottom: 2rem;
}

.xk-comments {
	max-width: 46rem;
	margin: var(--xk-section) auto 0;
}

.xk-comments__list,
.xk-comments__list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.xk-comments__list .children {
	padding-left: 1.5rem;
}

.xk-comments__list .comment-body {
	padding: 1.5rem 0;
	border-top: 1px solid var(--xk-line);
}

.comment-author .avatar {
	display: inline-block;
	margin-right: 0.6rem;
	border-radius: 50%;
	vertical-align: middle;
}

.comment-metadata {
	margin: 0.25rem 0 0.75rem;
	color: var(--xk-ink-soft);
	font-size: 0.9375rem;
}

.comment-metadata a {
	color: inherit;
}

.comment-form p {
	margin-bottom: 1rem;
}

.comment-form label {
	display: block;
	margin-bottom: 0.35rem;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
}

.comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

/* Email signup band, above the footer. */
.xk-signup {
	padding-block: clamp(3rem, 6vw, 4.5rem);
	background: var(--xk-mist);
}

.xk-signup__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 2rem clamp(2rem, 6vw, 6rem);
}

.xk-signup__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.xk-signup__text {
	max-width: 28rem;
	margin: 0;
	color: var(--xk-ink-soft);
	font-size: 1.125rem;
}

.xk-signup__label {
	display: block;
	margin-bottom: 0.4rem;
}

.xk-signup__row {
	display: flex;
	gap: 0.75rem;
}

.xk-signup__row input {
	flex: 1;
	min-width: 0;
}

.xk-signup__row .xk-button {
	flex: none;
}

.xk-signup__row .xk-button:disabled {
	opacity: 0.5;
	cursor: default;
}

/* Honeypot: off screen, not display:none, which some bots check for. */
.xk-signup__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.xk-signup__status {
	margin: 0.75rem 0 0;
	font-weight: 500;
}

.xk-signup__status:empty {
	display: none;
}

.xk-signup__status.is-ok {
	color: var(--xk-teal-deep);
}

.xk-signup__status.is-error {
	color: var(--xk-rose);
}

.xk-signup__consent {
	margin: 0.75rem 0 0;
	color: var(--xk-ink-soft);
	font-size: 0.9375rem;
}

.xk-signup__consent a {
	color: var(--xk-ink);
}

@media (max-width: 48rem) {
	.xk-signup__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.xk-signup__row {
		flex-direction: column;
	}
}

/* 8. Footer ---------------------------------------------------------------- */

.xk-footer {
	padding-block: clamp(3rem, 6vw, 5rem) 2rem;
	background: var(--xk-ink);
	color: #d6d7da;
	font-size: 1rem;
}

.xk-footer a {
	color: var(--xk-paper);
	text-decoration: none;
}

.xk-footer a:hover {
	text-decoration: underline;
}

.xk-footer :focus-visible {
	outline-color: var(--xk-paper);
}

.xk-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: 2.5rem 3rem;
	padding-bottom: 3rem;
}

.xk-footer__name {
	margin: 0 0 0.5rem;
	color: var(--xk-paper);
	font-family: var(--xk-font-display);
	font-size: 2rem;
	line-height: 1;
}

.xk-footer__tagline {
	max-width: 20rem;
	margin: 0;
}

.xk-footer .widget + .widget {
	margin-top: 2rem;
}

.xk-footer .widget-title,
.xk-footer .widget h1,
.xk-footer .widget h2,
.xk-footer .widget h3,
.xk-footer .widget h4 {
	margin-bottom: 1rem;
	color: var(--xk-paper);
	font-family: var(--xk-font-body);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0;
}

.xk-footer .widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.xk-footer .widget li + li {
	margin-top: 0.5rem;
}

.xk-footer__base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	font-size: 0.9375rem;
}

.xk-footer__base::before {
	flex: 0 0 100%;
	height: 1px;
	margin-bottom: 0.5rem;
	background: rgba(255, 255, 255, 0.16);
	content: "";
}

.xk-footer__legal {
	margin: 0;
}

.xk-footer__note {
	margin-left: 1rem;
}

.xk-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* 9. Motion ----------------------------------------------------------------
 * Nothing moves on its own. Transitions answer the visitor (hover, menus).
 */

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