/*
 * Cookies page (/cookies/), per the Claude Design "Website/Cookies.html".
 * Shared hub layout lives in assets/css/hub.css.
 */

.mbh-ir {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 56px;
	align-items: center;
}

.mbh-ir__ph {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 36px;
	overflow: hidden;
	background: var(--mbh-cream);
	transform: rotate(-1.5deg);
}

.mbh-ir__ph > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mbh-ir__tag {
	position: absolute;
	bottom: 18px;
	left: 18px;
	z-index: 2;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--mbh-jam);
	font-family: var(--mbh-disp);
	font-size: 24px;
	line-height: 1;
	color: var(--mbh-cream);
	transform: rotate(-4deg);
}

.mbh-ir__tx {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}

.mbh-ir__tx .mbh-h2 {
	margin: 0;
	font-size: clamp(44px, 5vw, 68px);
	line-height: 0.95;
}

.mbh-ir__tx .mbh-lead {
	margin: 0 0 0.2em 0.06em;
	font-size: 0.48em;
	transform: rotate(-4deg);
}

.mbh-ir__q {
	margin: 0;
	padding-left: 22px;
	border-left: 3px solid var(--mbh-peach);
	font-size: clamp(19px, 1.7vw, 22px);
	font-weight: 600;
	line-height: 1.5;
	text-wrap: pretty;
	color: var(--mbh-ink);
}

.mbh-why {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
}

.mbh-why > div {
	padding-top: 18px;
	border-top: 2px solid var(--mbh-ink);
}

.mbh-why .t {
	font-family: var(--mbh-sub);
	font-size: 22px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.mbh-why p {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--mbh-crust);
}

@media (max-width: 1020px) {
	.mbh-ir {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		gap: 32px;
	}

	.mbh-why {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.mbh-why > div {
		padding-bottom: 14px;
	}
}

@media (max-width: 640px) {
	.mbh-ir {
		grid-template-columns: minmax(0, 1fr);
	}

	.mbh-ir__ph {
		aspect-ratio: 1;
		border-radius: 28px;
		transform: none;
	}
}
