/*
 * OnlyCat installation page (template-installation.php): the photo splits,
 * the jump nav, the three installation kinds, the dimensions and the store
 * call. The eyebrow is page.css's. Scoped under body.onlycat-install.
 * Ported from the September 2026 concept; tokens from tokens.css.
 */

body.onlycat-install .onlycat-install__button {
	display: inline-flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 15px 25px;
	border: 1px solid var(--oc-blue);
	border-radius: var(--oc-radius);
	background: var(--oc-blue);
	color: var(--oc-white) !important;
	font-size: 15px;
	font-weight: 550;
	line-height: 1.35;
	text-decoration: none !important;
	transition: background 0.2s, border-color 0.2s;
}

body.onlycat-install .onlycat-install__button:hover {
	background: var(--oc-blue-deep);
	border-color: var(--oc-blue-deep);
}

body.onlycat-install .onlycat-install__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 550;
	color: var(--oc-blue);
	text-decoration: none;
}

body.onlycat-install .onlycat-install__link:hover {
	color: var(--oc-blue-deep);
	text-decoration: underline;
}

body.onlycat-install .onlycat-install__link .onlycat-icon {
	flex-shrink: 0;
	transition: transform 0.2s;
}

body.onlycat-install .onlycat-install__link:hover .onlycat-icon {
	transform: translateX(3px);
}

body.onlycat-install .onlycat-install__heading {
	font-family: var(--oc-sans);
	font-size: 44px;
	line-height: 1.12;
	font-weight: 550;
	letter-spacing: -0.035em;
	margin: 0 0 25px;
	color: var(--oc-ink);
}

body.onlycat-install .onlycat-install__fineprint {
	font-size: 13px !important;
	color: var(--oc-ink-soft);
}

/* ---- Photo splits (hero, power) ----------------------------------------- */

body.onlycat-install .onlycat-install__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--oc-oat);
}

body.onlycat-install .onlycat-install__photo {
	position: relative;
	min-height: 540px;
}

body.onlycat-install .onlycat-install__photo picture,
body.onlycat-install .onlycat-install__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 80% 72%;
}

body.onlycat-install .onlycat-install__split--reverse .onlycat-install__photo {
	order: 2;
}

body.onlycat-install .onlycat-install__split--reverse .onlycat-install__copy {
	order: 1;
}

body.onlycat-install .onlycat-install__copy {
	padding: 80px clamp(32px, 6vw, 100px);
	align-self: center;
	max-width: 720px;
}

body.onlycat-install .onlycat-install__title {
	font-family: var(--oc-sans);
	font-size: clamp(40px, 4.2vw, 60px);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1.04;
	margin: 0;
	color: var(--oc-ink);
}

body.onlycat-install .onlycat-install__copy > p:not(.onlycat-page__eyebrow) {
	font-size: 17px;
	line-height: 1.6;
	color: var(--oc-ink-soft);
	margin: 25px 0 0;
}

body.onlycat-install .onlycat-install__copy > .onlycat-install__button {
	margin-top: 30px;
}

body.onlycat-install .onlycat-install__copy > .onlycat-install__link {
	margin-top: 24px;
}

/* ---- Jump nav ----------------------------------------------------------- */

body.onlycat-install .onlycat-install__jump {
	background: var(--oc-blue-tint);
	border-block: 1px solid var(--oc-line);
}

body.onlycat-install .onlycat-install__jump-inner {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: 108px;
	padding-block: 23px;
}

body.onlycat-install .onlycat-install__jump-label {
	max-width: 100px;
	flex-shrink: 0;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: #526e81;
}

body.onlycat-install .onlycat-install__jump-links {
	display: flex;
	flex: 1;
	gap: 12px;
	min-width: 0;
}

body.onlycat-install .onlycat-install__jump-links a {
	display: flex;
	flex: 1;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	padding: 16px 18px;
	min-height: 56px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid #cad9e0;
	border-radius: var(--oc-radius);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--oc-ink);
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body.onlycat-install .onlycat-install__jump-links a > .onlycat-icon {
	flex-shrink: 0;
	color: var(--oc-blue);
	transition: transform 0.2s ease, color 0.2s ease;
}

body.onlycat-install .onlycat-install__jump-links a:hover,
body.onlycat-install .onlycat-install__jump-links a:focus-visible {
	background: var(--oc-blue);
	border-color: var(--oc-blue);
	color: var(--oc-white);
	box-shadow: 0 4px 10px rgba(35, 72, 107, 0.08);
}

body.onlycat-install .onlycat-install__jump-links a:hover > .onlycat-icon,
body.onlycat-install .onlycat-install__jump-links a:focus-visible > .onlycat-icon {
	color: var(--oc-white);
	transform: translate(2px, 2px);
}

/* ---- Where will yours go? ---------------------------------------------- */

body.onlycat-install .onlycat-install__choices {
	padding-block: 85px;
}

body.onlycat-install .onlycat-install__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 36px;
}

body.onlycat-install .onlycat-install__grid article {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 32px;
	background: var(--oc-white);
	border: 1px solid var(--oc-line);
	border-radius: var(--oc-radius);
}

body.onlycat-install .onlycat-install__grid article > .onlycat-icon {
	color: var(--oc-blue);
	margin-bottom: 25px;
}

body.onlycat-install .onlycat-install__grid h3 {
	font-family: var(--oc-sans);
	font-size: 27px;
	line-height: 1.15;
	font-weight: 550;
	letter-spacing: -0.03em;
	margin: 0 0 15px;
	color: var(--oc-ink);
}

body.onlycat-install .onlycat-install__grid p {
	font-size: 15px;
	line-height: 1.7;
	color: var(--oc-ink-soft);
	margin: 0 0 16px;
}

body.onlycat-install .onlycat-install__grid small {
	display: block;
	font-size: 12px;
	line-height: 1.65;
	color: var(--oc-ink-soft);
	margin: 0 0 24px;
	padding-top: 14px;
	border-top: 1px solid var(--oc-line);
}

body.onlycat-install .onlycat-install__grid .onlycat-install__link {
	margin-top: auto;
}

/* ---- Replacing a flap ------------------------------------------------- */

body.onlycat-install .onlycat-install__replacing {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 110px;
	align-items: center;
	padding-block: 100px;
	border-top: 1px solid var(--oc-line);
}

body.onlycat-install .onlycat-install__replacing > div > p:not(.onlycat-page__eyebrow) {
	font-size: 17px;
	line-height: 1.6;
	color: var(--oc-ink-soft);
	margin: 0 0 24px;
}

body.onlycat-install .onlycat-install__dimensions {
	margin: 0;
}

body.onlycat-install .onlycat-install__dimensions > div {
	padding: 24px 0;
	border-bottom: 1px solid var(--oc-line);
}

body.onlycat-install .onlycat-install__dimensions dt {
	font-size: 13px;
	color: var(--oc-ink-soft);
	margin-bottom: 10px;
}

body.onlycat-install .onlycat-install__dimensions dd {
	margin: 0;
	font-family: var(--oc-sans);
	font-size: 45px;
	line-height: 1.1;
	letter-spacing: -0.04em;
	color: var(--oc-ink);
}

body.onlycat-install .onlycat-install__dimensions dd small {
	font-size: 20px;
}

body.onlycat-install .onlycat-install__dimensions .onlycat-install__dimension-text {
	font-size: 22px;
	line-height: 1.5;
	letter-spacing: -0.025em;
}

/* ---- Store call --------------------------------------------------------- */

body.onlycat-install .onlycat-install__cta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	padding-block: 78px;
}

body.onlycat-install .onlycat-install__cta > div:last-child {
	align-self: center;
	justify-self: end;
}

body.onlycat-install .onlycat-install__cta .onlycat-install__heading {
	font-size: 47px;
	margin-bottom: 0;
}

body.onlycat-install .onlycat-install__cta p {
	font-size: 17px;
	line-height: 1.6;
	color: var(--oc-ink-soft);
	margin: 0 0 20px;
}

body.onlycat-install .onlycat-install__cta small {
	display: block;
	margin-top: 15px;
	font-size: 12px;
	color: var(--oc-ink-soft);
}

body.onlycat-install .onlycat-install__cta small a {
	color: inherit;
}

/* ---- Small screens ------------------------------------------------------ */

@media (max-width: 1100px) {
	body.onlycat-install .onlycat-install__jump-inner {
		gap: 20px;
	}

	body.onlycat-install .onlycat-install__jump-links {
		gap: 8px;
	}

	body.onlycat-install .onlycat-install__jump-links a {
		padding: 14px 12px;
		gap: 10px;
		font-size: 12px;
	}

	body.onlycat-install .onlycat-install__replacing {
		gap: 60px;
	}
}

@media (max-width: 900px) {
	body.onlycat-install .onlycat-install__copy {
		padding: 60px 40px;
	}

	body.onlycat-install .onlycat-install__photo {
		min-height: 470px;
	}

	body.onlycat-install .onlycat-install__grid {
		gap: 16px;
	}

	body.onlycat-install .onlycat-install__grid article {
		padding: 24px;
	}

	body.onlycat-install .onlycat-install__grid p {
		font-size: 14px;
	}
}

@media (max-width: 760px) {
	body.onlycat-install .onlycat-install__split {
		grid-template-columns: 1fr;
	}

	body.onlycat-install .onlycat-install__photo {
		min-height: 370px;
		order: 0 !important;
	}

	body.onlycat-install .onlycat-install__copy {
		padding: 45px 30px;
		order: 1 !important;
		max-width: none;
	}

	body.onlycat-install .onlycat-install__title {
		font-size: 43px;
	}

	body.onlycat-install .onlycat-install__copy > p:not(.onlycat-page__eyebrow) {
		font-size: 16px;
	}

	body.onlycat-install .onlycat-install__jump-inner {
		display: block;
		padding-block: 22px;
		min-height: 0;
	}

	body.onlycat-install .onlycat-install__jump-label {
		display: block;
		max-width: none;
		margin-bottom: 13px;
	}

	body.onlycat-install .onlycat-install__jump-links {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	body.onlycat-install .onlycat-install__jump-links a {
		min-height: 52px;
		font-size: 12px;
		padding: 12px;
		gap: 8px;
	}

	body.onlycat-install .onlycat-install__jump-links a:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	body.onlycat-install .onlycat-install__choices {
		padding-block: 55px;
	}

	body.onlycat-install .onlycat-install__grid {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-top: 28px;
	}

	body.onlycat-install .onlycat-install__grid article {
		padding: 26px;
	}

	body.onlycat-install .onlycat-install__grid article > .onlycat-icon {
		margin-bottom: 20px;
	}

	body.onlycat-install .onlycat-install__grid h3 {
		font-size: 25px;
	}

	body.onlycat-install .onlycat-install__grid p {
		font-size: 15px;
	}

	body.onlycat-install .onlycat-install__heading {
		font-size: 36px;
	}

	body.onlycat-install .onlycat-install__replacing {
		padding-block: 60px;
		grid-template-columns: 1fr;
		gap: 40px;
	}

	body.onlycat-install .onlycat-install__replacing > div {
		min-width: 0;
	}

	body.onlycat-install .onlycat-install__dimensions dd {
		font-size: 38px;
	}

	body.onlycat-install .onlycat-install__cta {
		padding-block: 50px;
		grid-template-columns: 1fr;
		gap: 28px;
	}

	body.onlycat-install .onlycat-install__cta .onlycat-install__heading {
		font-size: 40px;
	}

	body.onlycat-install .onlycat-install__cta > div:last-child {
		justify-self: start;
	}
}

@media (max-width: 480px) {
	body.onlycat-install .onlycat-install__photo {
		min-height: 300px;
	}

	body.onlycat-install .onlycat-install__copy {
		padding-inline: 24px;
	}

	body.onlycat-install .onlycat-install__title {
		font-size: 39px;
	}
}
