/* Keys Professional. Values follow the Figma "01_Home — Desktop 1440" frame. */

:root {
	--black: #000;
	--ink: #010101;
	--white: #fff;
	--about-bg: #1d1d1d;
	--paper: #f2f1f0;
	--panel: #f3f3f3;
	--card: #f3f3f3;
	--note: #efefef;
	--line: #000;

	--font: "Libre Franklin", "Franklin Gothic Book", "Franklin Gothic", "Helvetica Neue", Arial, sans-serif;
	--w-light: 300;
	--w-book: 400;
	--w-medium: 600;

	--header-h: 85px;
	--gutter: clamp(16px, 6.67vw, 96px);
	/* One content frame. Every section's content shares these two edges. */
	--frame: min(100% - 2 * var(--gutter), 1248px);
	--display: clamp(44px, 5.28vw, 76px);
	--tight: -.015em;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font);
	font-weight: var(--w-book);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3, p, ul, ol { margin: 0; }

ul, ol { padding: 0; }

button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

[id] { scroll-margin-top: var(--header-h); }

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--white);
	color: var(--ink);
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--black);
	color: var(--white);
}
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 0px); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 62px;
	width: var(--frame);
	height: var(--header-h);
	margin: 0 auto;
}

.brand,
.custom-logo-link { flex: none; display: block; }
.brand img,
.custom-logo { width: 84px; height: auto; }

.nav__list {
	display: flex;
	gap: 42px;
	list-style: none;
}
.nav__list a {
	display: block;
	padding: 6px 0;
	font-size: 18px;
	line-height: 30px;
	text-decoration: none;
	text-transform: capitalize;
	color: var(--white);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
.nav__list a:hover { border-bottom-color: currentColor; }

/* ---------- Hero ---------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(560px, 51.9vw, 747px);
	overflow: hidden;
	background: #c9cace;
}

.hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 63%;
}

.hero__inner {
	position: relative;
	width: var(--frame);
	margin: 0 auto;
	padding: 40px 0;
}

.hero__eyebrow {
	display: inline-block;
	padding: 0 14px;
	background: var(--black);
	color: var(--white);
	font-size: clamp(17px, 1.74vw, 25px);
	line-height: 40px;
	text-transform: capitalize;
}

.hero__title {
	margin-top: 13px;
	font-size: var(--display);
	font-weight: var(--w-light);
	line-height: .92;
	letter-spacing: var(--tight);
	text-transform: capitalize;
}
.hero__title span { display: block; }

.hero__text {
	max-width: 640px;
	margin: 30px 0 0;
	font-size: clamp(19px, 1.94vw, 28px);
	line-height: 1.07;
	letter-spacing: -.005em;
}

.hero__features {
	display: flex;
	width: fit-content;
	max-width: 100%;
	margin: 56px 0 0;
	padding: 16px 0;
	list-style: none;
	background: linear-gradient(90deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .95) 65%, rgba(255, 255, 255, .8));
}

.hero__feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 6px 22px 0;
	text-align: center;
}
.hero__feature + .hero__feature { border-left: 1px solid #777; }
.hero__feature img { width: 62px; height: 62px; }
.hero__feature strong {
	margin-top: 18px;
	font-size: 14px;
	font-weight: var(--w-medium);
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
}
.hero__feature span {
	margin-top: 6px;
	font-size: 12.5px;
	line-height: 1.05;
	white-space: nowrap;
}

/* ---------- About ---------- */

.about {
	position: relative;
	min-height: clamp(360px, 30vw, 432px);
	overflow: hidden;
	background: var(--about-bg);
	color: var(--white);
}

.about__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 100% 28%;
}

.about__inner {
	position: relative;
	width: var(--frame);
	margin: 0 auto;
	padding: 111px 0 100px;
}

.about__title {
	font-size: var(--display);
	font-weight: var(--w-light);
	line-height: .92;
	letter-spacing: var(--tight);
	text-transform: capitalize;
}

.about__text {
	max-width: 790px;
	margin-top: 43px;
	font-size: clamp(18px, 1.67vw, 24px);
	line-height: 1.25;
}

/* ---------- The power of Colourvault ---------- */

.benefits { background: var(--paper); }

.benefits__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 316px));
	align-items: center;
	width: var(--frame);
	min-height: 249px;
	margin: 0 auto;
	padding: 38px 0 28px;
}

.benefits__title {
	font-weight: var(--w-book);
	text-transform: uppercase;
}
.benefits__title span {
	display: block;
	font-size: 30px;
	line-height: 30px;
}
.benefits__title strong {
	display: block;
	margin-top: 5px;
	font-size: 46px;
	letter-spacing: var(--tight);
	white-space: nowrap;
	font-weight: var(--w-medium);
	line-height: 50px;
}

.benefits__list { display: contents; list-style: none; }

.benefit {
	display: flex;
	flex-direction: column;
	align-items: center;
	align-self: stretch;
	justify-content: flex-start;
	padding: 8px 16px 12px;
	text-align: center;
}
.benefit + .benefit { border-left: 1px solid var(--line); }

.benefit__icon {
	display: grid;
	place-items: center;
	width: 73px;
	height: 73px;
	border: 1px solid var(--line);
	border-radius: 50%;
}
.benefit__icon img { width: 46px; height: 46px; object-fit: contain; }

.benefit__title {
	margin-top: 14px;
	font-size: 18px;
	font-weight: var(--w-medium);
	line-height: 30px;
	text-transform: uppercase;
}

.benefit__text {
	max-width: 210px;
	margin-top: 6px;
	font-size: 16px;
	line-height: 1.05;
}

/* ---------- Find your colour ---------- */

.range {
	padding: 61px 0 64px;
	text-align: center;
}

.range__intro,
.range__tabs,
.series {
	width: var(--frame);
	margin-left: auto;
	margin-right: auto;
}

.range__title {
	font-size: var(--display);
	font-weight: var(--w-light);
	line-height: .92;
	letter-spacing: var(--tight);
	text-transform: capitalize;
}

.range__text {
	margin-top: 32px;
	font-size: clamp(18px, 1.67vw, 24px);
	line-height: 30px;
}

.range__disclaimer {
	margin-top: 47px;
	padding: 15px 20px;
	background: var(--note);
	font-size: 15px;
	line-height: 18px;
}

.range__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px 19px;
	margin-top: 79px;
}

.chip {
	display: inline-block;
	height: 41px;
	text-decoration: none;
	padding: 0 24px;
	border: 0;
	background: var(--panel);
	color: var(--ink);
	font-size: 22px;
	letter-spacing: -.01em;
	font-weight: var(--w-medium);
	line-height: 41px;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .15s, color .15s;
}
.chip:hover { background: #e4e4e4; }
.chip[aria-current="true"] { background: var(--ink); color: var(--white); }

.series {
	margin-top: 90px;
	text-align: left;
	scroll-margin-top: calc(var(--header-h) + 24px);
}
.range__tabs + .series { margin-top: 63px; }

.series__bar {
	padding: 2px 16px;
	background: var(--series, #412e1a);
	color: var(--white);
	font-size: 28px;
	font-weight: var(--w-medium);
	line-height: 40px;
	letter-spacing: -.01em;
	text-align: center;
	text-transform: uppercase;
}

.series__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 17px 15px;
	margin-top: 31px;
	list-style: none;
}

.shade { background: var(--card); }

.shade__swatch {
	width: 100%;
	aspect-ratio: 202 / 182;
	object-fit: cover;
	background: #ddd;
}

.shade__label {
	padding: 15px 11px 18px;
	font-size: 20px;
	line-height: 22px;
}
.shade__label strong { display: block; font-weight: var(--w-medium); }
.shade__label span { display: block; }

/* ---------- Direction of use / Safety ---------- */

.usage {
	padding: 45px 0 90px;
	background: var(--panel);
}

.usage__tabs,
.usage__panels {
	width: var(--frame);
	margin-left: auto;
	margin-right: auto;
}

.usage__tabs {
	display: flex;
	justify-content: center;
	gap: 29px;
}

.usage__tab {
	width: 269px;
	height: 44px;
	border: 0;
	background: var(--white);
	color: var(--ink);
	font-size: 22px;
	line-height: 44px;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}
.usage__tab:hover { background: #e8e8e8; }
.usage__tab[aria-selected="true"] { background: var(--black); color: var(--white); }

.usage__panels {
	display: grid;
	margin-top: 56px;
}
.usage__panel { grid-area: 1 / 1; }
.usage__panel[hidden] { display: block; visibility: hidden; }
html:not(.js) .usage__panel { grid-area: auto; }
html:not(.js) .usage__panel[hidden] { visibility: visible; margin-top: 40px; }

.usage__steps,
.usage__safety {
	list-style-position: inside;
	font-size: 22px;
	line-height: 24px;
}
.usage__steps li + li { margin-top: 24px; }
.usage__safety li + li { margin-top: 12px; }
.usage__steps { list-style-type: decimal; }
.usage__safety { list-style-type: disc; }

.usage__note {
	margin-top: 24px;
	font-size: 22px;
	line-height: 24px;
}

/* ---------- Footer ---------- */

.site-footer { background: var(--black); color: var(--white); }

.site-footer__inner {
	display: flex;
	align-items: center;
	gap: 48px;
	width: var(--frame);
	min-height: 85px;
	margin: 0 auto;
	padding: 12px 0;
}

.site-footer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex: 1;
	min-height: 36px;
	padding: 0 0 4px;
	border-bottom: 1px solid var(--white);
}

.site-footer__copy { font-size: 12px; line-height: 1.3; }

.site-footer__social { display: flex; gap: 10px; }
.site-footer__social a { display: block; transition: opacity .2s; }
.site-footer__social a:hover { opacity: .7; }
.site-footer__social img { width: 20px; height: 20px; }

/* ---------- Generic pages ---------- */

.content {
	max-width: 860px;
	min-height: 50vh;
	margin: 0 auto;
	padding: 72px 20px 96px;
	font-size: 17px;
	line-height: 1.65;
}
.content--center { text-align: center; }
.content__title {
	margin-bottom: 32px;
	font-size: clamp(36px, 4vw, 56px);
	font-weight: var(--w-light);
	line-height: 1.05;
}
.entry + .entry { margin-top: 48px; }
.entry__title { font-size: 26px; font-weight: var(--w-medium); }
.entry__title a { text-decoration: none; }
.entry__body > * + * { margin-top: 1em; }
.entry__body h2, .entry__body h3 { margin-top: 1.6em; font-weight: var(--w-medium); line-height: 1.25; }
.entry__body ul, .entry__body ol { padding-left: 1.3em; }
.button {
	display: inline-block;
	margin-top: 16px;
	padding: 10px 26px;
	background: var(--black);
	color: var(--white);
	text-decoration: none;
	text-transform: uppercase;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
	.benefits__inner {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 36px;
		padding: 48px 0;
	}
	.benefits__title { grid-column: 1 / -1; text-align: center; }
	.chip { font-size: 20px; padding: 0 20px; }
}

@media (max-width: 900px) {
	.series__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.usage__steps, .usage__safety, .usage__note { font-size: 19px; line-height: 1.35; }
	.usage__steps li + li { margin-top: 18px; }
}

@media (max-width: 760px) {
	:root { --header-h: 64px; --gutter: 20px; }

	.site-header__inner { gap: 20px; }
	.brand img, .custom-logo { width: 58px; }
	.nav__list { gap: 18px; }
	.nav__list a { font-size: 15px; }

	/* Hero stacks: copy first, product photo below. */
	.hero { flex-direction: column; align-items: stretch; min-height: 0; background: #c3c4c8; }
	.hero__inner { padding: 32px 0 8px; }
	.hero__bg {
		position: relative;
		order: 2;
		height: 92vw;
		max-height: 520px;
		object-position: 76% 55%;
	}
	.hero__eyebrow { padding: 0 10px; font-size: 15px; line-height: 32px; }
	.hero__title { margin-top: 16px; font-size: 40px; line-height: .95; }
	.hero__text { margin: 16px 0 0; font-size: 18px; line-height: 1.3; }
	.hero__features { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin: 24px 0 0; padding: 4px 0; }
	.hero__feature { padding: 14px 8px; }
	.hero__feature + .hero__feature { border-left: 0; }
	.hero__feature:nth-child(even) { border-left: 1px solid #777; }
	.hero__feature:nth-child(n+3) { border-top: 1px solid #ccc; }
	.hero__feature img { width: 52px; height: 52px; }
	.hero__feature strong { margin-top: 12px; font-size: 13px; }
	.hero__feature span { font-size: 12.5px; line-height: 1.2; white-space: normal; }

	/* About stacks: copy on black, photo below. */
	.about { min-height: 0; display: flex; flex-direction: column; background: #000; }
	.about__inner { padding: 48px 0 28px; }
	.about__bg {
		position: relative;
		order: 2;
		height: 88vw;
		max-height: 460px;
		object-position: 92% 30%;
	}
	.about__title { font-size: 44px; }
	.about__text { margin-top: 20px; font-size: 18px; line-height: 1.4; }

	.benefits__inner { grid-template-columns: 1fr; row-gap: 0; padding: 40px 0 24px; }
	.benefits__title { margin-bottom: 20px; }
	.benefits__title span { font-size: 22px; line-height: 26px; }
	.benefits__title strong { font-size: 34px; line-height: 40px; }
	.benefit { padding: 22px 0; }
	.benefit + .benefit { border-left: 0; border-top: 1px solid var(--line); }

	.range { padding: 48px 0 48px; }
	.range__title { font-size: 44px; }
	.range__text { margin-top: 16px; font-size: 17px; line-height: 1.4; }
	.range__disclaimer { margin-top: 24px; padding: 12px 14px; font-size: 14px; line-height: 1.4; }
	.range__disclaimer br { display: none; }

	/* Series buttons become one swipeable row that sticks under the header. */
	.range__tabs {
		position: sticky;
		top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px));
		z-index: 20;
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 8px;
		width: auto;
		margin-top: 32px;
		padding: 10px var(--gutter);
		overflow-x: auto;
		background: var(--white);
		scroll-snap-type: x proximity;
		scroll-padding-inline: var(--gutter);
		scrollbar-width: none;
	}
	.range__tabs::-webkit-scrollbar { display: none; }
	.series { margin-top: 48px; scroll-margin-top: calc(var(--header-h) + 72px); }
	.range__tabs + .series { margin-top: 18px; }
	.chip { height: 38px; padding: 0 14px; font-size: 15px; line-height: 38px; scroll-snap-align: start; }

	.series__bar { font-size: 19px; line-height: 40px; }
	.series__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; margin-top: 16px; }
	.shade__label { padding: 10px 10px 12px; font-size: 16px; line-height: 20px; }

	.usage { padding: 32px 0 56px; }
	.usage__tabs { gap: 8px; }
	.usage__tab { flex: 1; width: auto; height: 42px; font-size: 15px; line-height: 42px; }
	.usage__panels { margin-top: 28px; }
	.js .usage__panel[hidden] { display: none; }
	.usage__steps, .usage__safety, .usage__note { font-size: 17px; line-height: 1.45; }
	.usage__steps li + li { margin-top: 14px; }
	.usage__safety li + li { margin-top: 8px; }

	.site-footer__inner { gap: 20px; padding: 14px 0; }
	.site-footer__copy { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
