.kleen-ueno {
	font-family: "IBM Plex Mono", monospace;
	letter-spacing: 0;
}

body,
.kleen-ueno,
.kleen-message-us,
.kleen-gallery,
.wp-block-navigation,
header .wp-block-site-title,
header .wp-block-site-tagline {
	font-family: "IBM Plex Mono", monospace;
}

.thai,
.kleen-th,
.kleen-ueno .thai,
.kleen-ueno .kleen-th {
	display: block;
	margin-top: 0.45rem;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.92rem;
	line-height: 1.45;
	font-weight: 500;
	color: color-mix(in srgb, currentColor 74%, transparent);
	letter-spacing: 0;
	text-transform: none;
}

body {
	background:
		radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.24), transparent 28rem),
		radial-gradient(circle at 18% 86%, rgba(255, 255, 255, 0.18), transparent 22rem),
		linear-gradient(135deg, #b09fca 0%, #a995c4 48%, #c7bade 100%);
}

.kleen-header-logo {
	display: inline-flex;
	margin-bottom: 0.85rem;
	text-decoration: none;
}

.kleen-brand-stack {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.85rem;
}

.kleen-header-logo img {
	display: block;
	width: auto;
	height: clamp(86px, 8vw, 130px);
	max-width: min(250px, 54vw);
	object-fit: contain;
}

header .wp-block-site-title {
	margin-top: 0;
}

header .wp-block-site-title a {
	text-decoration: none;
}

.kleen-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	margin-top: 0;
	margin-bottom: 7rem;
	text-decoration: none;
	color: inherit;
}

.kleen-logo img {
	display: block;
	width: auto;
	height: clamp(112px, 10vw, 150px);
	max-width: min(300px, 64vw);
	object-fit: contain;
}

.wp-block-navigation .menu-item-home,
.wp-block-navigation a[href*="sample-page"],
.wp-block-navigation-item:has(a[href*="sample-page"]),
body.home .wp-block-post-title,
body.front-page .wp-block-post-title {
	display: none !important;
}

.kleen-piece {
	display: grid;
	grid-template-columns: minmax(320px, 50vw) minmax(240px, 24rem);
	gap: clamp(1.5rem, 2.8vw, 3.5rem);
	align-items: center;
	margin: 0 0 6rem;
}

.kleen-piece.is-reverse {
	grid-template-columns: minmax(240px, 24rem) minmax(320px, 50vw);
}

.kleen-piece.is-reverse .kleen-media {
	order: 2;
}

.kleen-media {
	position: relative;
	border: 1px solid currentColor;
	border-radius: 0;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.18);
}

.kleen-media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center center;
}

.kleen-admin-upload {
	display: none;
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 5;
	padding: 8px 11px;
	border: 1px solid currentColor;
	background: rgba(255, 255, 255, 0.88);
	color: #2f2540;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	backdrop-filter: blur(6px);
}

body.logged-in .kleen-admin-upload {
	display: inline-flex;
}

.kleen-illustration {
	position: relative;
	min-height: 280px;
	aspect-ratio: 4 / 3;
	background:
		linear-gradient(90deg, transparent 0 18%, currentColor 18% 18.4%, transparent 18.4% 100%),
		linear-gradient(140deg, rgba(255,255,255,.25), rgba(255,255,255,.06));
}

.kleen-illustration::before,
.kleen-illustration::after {
	content: "";
	position: absolute;
	border: 1px solid currentColor;
	background: rgba(255, 255, 255, 0.22);
}

.kleen-illustration::before {
	left: 12%;
	bottom: 14%;
	width: 24%;
	height: 46%;
	border-radius: 14px 14px 8px 8px;
	box-shadow: 95px -24px 0 rgba(255,255,255,.18), 95px -24px 0 1px currentColor;
}

.kleen-illustration::after {
	right: 13%;
	top: 18%;
	width: 34%;
	height: 36%;
	border-radius: 8px;
}

.kleen-content h2 {
	margin: 0 0 1rem;
	max-width: 28rem;
	font-size: clamp(1.05rem, 1.15vw, 1.45rem);
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.kleen-content p {
	max-width: 30rem;
	margin: 0 0 1.2rem;
	font-size: 0.92rem;
	line-height: 1.6;
}

.kleen-meta {
	display: inline-block;
	margin-bottom: 1rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.kleen-list {
	display: grid;
	gap: 1rem;
	margin: 0 0 6rem;
}

.kleen-list article {
	display: grid;
	grid-template-columns: 8rem 1fr;
	gap: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid currentColor;
}

.kleen-list strong {
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.kleen-list h3 {
	margin: 0;
	font-size: 1.2rem;
}

.kleen-contact-only {
	margin-top: 5rem;
	padding-top: 1.5rem;
	border-top: 1px solid currentColor;
}

.kleen-contact-only p {
	margin: 0 0 0.7rem;
}

.kleen-about-page {
	max-width: 1120px;
	margin: 0;
	padding-top: 5rem;
}

.kleen-about-hero {
	max-width: 52rem;
	margin: 0 0 5.5rem;
}

.kleen-about-hero h1 {
	margin: 0 0 1.2rem;
	max-width: 48rem;
	font-size: clamp(2.3rem, 5vw, 5.2rem);
	line-height: 0.98;
	letter-spacing: 0;
	text-transform: none;
}

.kleen-about-hero p,
.kleen-about-section p,
.kleen-about-closing p {
	max-width: 48rem;
	font-size: 0.98rem;
	line-height: 1.75;
}

.kleen-about-section {
	margin: 0 0 4.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid currentColor;
}

.kleen-about-section h2,
.kleen-about-closing h2 {
	margin: 0 0 1rem;
	max-width: 44rem;
	font-size: clamp(1.45rem, 2.3vw, 2.6rem);
	line-height: 1.12;
	text-transform: none;
}

.kleen-about-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 0 0 5rem;
}

.kleen-about-grid article {
	padding: 1.2rem;
	border: 1px solid currentColor;
	background: rgba(255, 255, 255, 0.1);
}

.kleen-about-grid strong {
	display: block;
	margin-bottom: 1.1rem;
	font-size: 0.74rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.kleen-about-grid h3 {
	margin: 0 0 0.8rem;
	font-size: 1.1rem;
	line-height: 1.25;
}

.kleen-about-grid p {
	margin: 0 0 0.85rem;
	font-size: 0.88rem;
	line-height: 1.65;
}

.kleen-about-closing {
	margin: 0 0 5rem;
	padding: 1.5rem 0 0;
	border-top: 1px solid currentColor;
}

.kleen-gallery {
	margin: 7rem 0;
}

.kleen-gallery-intro {
	max-width: 46rem;
	margin-bottom: 2rem;
}

.kleen-gallery-intro h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 1.7vw, 2rem);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.kleen-gallery-intro p {
	margin: 0 0 0.9rem;
	font-size: 0.92rem;
	line-height: 1.6;
}

.kleen-gallery-grid {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	grid-auto-rows: minmax(120px, 12vw);
	gap: clamp(0.7rem, 1vw, 1.1rem);
	width: 100%;
}

.kleen-gallery-tile {
	position: relative;
	min-height: 100%;
	margin: 0;
	border: 1px solid currentColor;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
		radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.24), transparent 45%);
}

.kleen-gallery-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: inherit;
	color: color-mix(in srgb, currentColor 55%, transparent);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.kleen-gallery-tile img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.kleen-gallery-tile-1 {
	grid-column: span 4;
	grid-row: span 3;
}

.kleen-gallery-tile-2,
.kleen-gallery-tile-3 {
	grid-column: span 2;
	grid-row: span 1;
}

.kleen-gallery-tile-4 {
	grid-column: span 4;
	grid-row: span 2;
}

.kleen-gallery-tile-5,
.kleen-gallery-tile-6,
.kleen-gallery-tile-7,
.kleen-gallery-tile-8 {
	grid-column: span 2;
	grid-row: span 2;
}

.kleen-message-us {
	margin-top: 6rem;
	padding-top: 1.5rem;
	border-top: 1px solid currentColor;
}

.kleen-message-us h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 4vw, 4.25rem);
	line-height: 1;
	font-weight: 600;
}

.kleen-message-form {
	display: grid;
	gap: 1.1rem;
	max-width: 760px;
	margin-top: 2rem;
}

.kleen-message-form label {
	display: grid;
	gap: 0.45rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.kleen-message-form input,
.kleen-message-form textarea {
	width: 100%;
	box-sizing: border-box;
	border: 0;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
	padding: 0.75rem 0;
	background: transparent;
	color: currentColor;
	font: inherit;
	outline: none;
}

.kleen-message-form textarea {
	min-height: 9rem;
	resize: vertical;
	border: 1px solid currentColor;
	padding: 0.9rem;
}

.kleen-message-form input::placeholder,
.kleen-message-form textarea::placeholder {
	color: color-mix(in srgb, currentColor 46%, transparent);
}

.kleen-message-form button {
	justify-self: start;
	margin-top: 0.7rem;
	border: 1px solid currentColor;
	padding: 0.9rem 1.5rem;
	background: transparent;
	color: currentColor;
	font: inherit;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.kleen-message-form button:hover {
	background: currentColor;
	color: #b09fca;
}

@media (max-width: 760px) {
	.kleen-piece,
	.kleen-piece.is-reverse,
	.kleen-list article {
		grid-template-columns: 1fr;
	}

	.kleen-about-grid {
		grid-template-columns: 1fr;
	}

	.kleen-piece.is-reverse .kleen-media {
		order: 0;
	}

	.kleen-logo {
		margin-bottom: 5rem;
	}

	.kleen-header-logo img {
		height: 72px;
	}

	.kleen-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: minmax(140px, 38vw);
	}

	.kleen-gallery-tile,
	.kleen-gallery-tile-1,
	.kleen-gallery-tile-2,
	.kleen-gallery-tile-3,
	.kleen-gallery-tile-4,
	.kleen-gallery-tile-5,
	.kleen-gallery-tile-6,
	.kleen-gallery-tile-7,
	.kleen-gallery-tile-8 {
		grid-column: span 1;
		grid-row: span 1;
	}
}
