/*
Theme Name: Gözde Eren
Theme URI: https://gozdeeren.com
Author: GRKN Studios
Author URI: https://www.grknstudios.co.uk
Description: Custom multilingual (TR / EN / IT) corporate theme for Gözde Eren Madencilik.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: gozdeeren
*/

/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--navy: #1c1971;
	--navy-deep: #110f48;
	--blue: #00aeef;
	--blue-ink: #0072b1;
	--white: #fff;
	--tint: #f2f5f9;
	--line: #e0e6ee;
	--text: #3a4150;
	--muted: #687180;
	--error: #b3261e;
	--ok: #1f7a4d;

	--font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;

	--step-0: 1.0625rem;
	--step-1: 1.1875rem;
	--step-2: clamp(1.3rem, 1.15rem + 0.5vw, 1.5rem);
	--step-3: clamp(1.75rem, 1.35rem + 1.4vw, 2.5rem);
	--step-4: clamp(2.1rem, 1.5rem + 2.2vw, 3.25rem);
	--step-5: clamp(2.5rem, 1.4rem + 3.8vw, 4.5rem);

	--gutter: clamp(16px, 4vw, 48px);
	--maxw: 1320px;
	--header-h: 84px;
	--section: clamp(64px, 8vw, 120px);
	--r-sm: 6px;
	--r: 10px;
	--r-lg: 16px;
	--shadow: 0 1px 2px rgb(17 15 72 / 0.06), 0 8px 24px -12px rgb(17 15 72 / 0.18);
	--shadow-lg: 0 2px 4px rgb(17 15 72 / 0.06), 0 24px 48px -20px rgb(17 15 72 / 0.3);
	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

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

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font);
	font-size: var(--step-0);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

img,
svg,
iframe,
object {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	color: var(--navy);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.012em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
	text-wrap: pretty;
}

p:last-child {
	margin-bottom: 0;
}

sub {
	font-size: 0.7em;
	line-height: 0;
	vertical-align: -0.25em;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

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

::selection {
	background: var(--navy);
	color: var(--white);
}

.visually-hidden,
.hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 12px 18px;
	border-radius: var(--r-sm);
	background: var(--navy);
	color: var(--white);
	transform: translateY(-160%);
	transition: transform 0.2s;
}

.skip:focus {
	transform: none;
}

.wrap {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.main:focus {
	outline: none;
}

.section {
	padding-block: var(--section);
}

.section--tint {
	background: var(--tint);
}

ul.pgrid,
.primary__list,
.sub,
.lang,
.drawer ul,
.site-footer ul,
.topbar ul,
.awards,
.logos,
.gallery,
.ticks,
.picks,
.features__list,
.sites__list,
.contact__social,
.sidecard ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Type roles ------------------------------------------------------------- */

.h2 {
	font-size: var(--step-4);
	line-height: 1.1;
}

.h3 {
	font-size: var(--step-3);
	line-height: 1.15;
}

.lead {
	font-size: var(--step-1);
	line-height: 1.65;
}

.prose {
	max-width: 72ch;
}

.prose p {
	margin-bottom: 1.1em;
}

.prose--essay > p:first-child {
	color: var(--navy);
	font-size: var(--step-1);
}

.link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--blue-ink);
	font-weight: 650;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.3em;
}

.link:hover {
	color: var(--navy);
}

.link--button {
	border: 0;
	padding: 0;
	background: none;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 26px;
	border: 1.5px solid transparent;
	border-radius: var(--r-sm);
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn .icon {
	width: 18px;
	height: 18px;
}

.btn--small {
	min-height: 44px;
	padding: 8px 18px;
	font-size: 0.9375rem;
}

.btn--block {
	width: 100%;
}

.btn--accent {
	background: var(--blue);
	color: var(--navy-deep);
}

.btn--accent:hover {
	background: #3cc4f6;
}

.btn--primary {
	background: var(--navy);
	color: var(--white);
}

.btn--primary:hover {
	background: var(--navy-deep);
}

.btn--primary-line {
	border-color: var(--navy);
	color: var(--navy);
}

.btn--primary-line:hover {
	background: var(--navy);
	color: var(--white);
}

.btn--white-line {
	border-color: rgb(255 255 255 / 0.7);
	color: var(--white);
}

.btn--white-line:hover {
	background: var(--white);
	color: var(--navy);
}

.icon {
	width: 20px;
	height: 20px;
	flex: none;
}

.swatch {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: inset 0 0 0 1px rgb(28 25 113 / 0.2);
	flex: none;
}

.spec {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--tint);
	color: var(--navy);
	font-size: 0.8125rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.spec__k {
	color: var(--muted);
}

/* ==========================================================================
   Top bar + header
   ========================================================================== */

.topbar {
	background: var(--navy);
	color: rgb(255 255 255 / 0.85);
	font-size: 0.875rem;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 42px;
}

.topbar__contact {
	display: flex;
	gap: 24px;
}

.topbar a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.topbar a:hover {
	color: var(--white);
}

.topbar .icon {
	width: 15px;
	height: 15px;
	color: var(--blue);
}

.topbar__side {
	display: flex;
	align-items: center;
	gap: 20px;
}

.topbar__social {
	display: flex;
	gap: 14px;
}

.topbar__social .icon {
	width: 16px;
	height: 16px;
	color: inherit;
}

.lang {
	display: flex;
	gap: 2px;
}

.lang a {
	display: block;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 0.8125rem;
	font-weight: 650;
	text-decoration: none;
}

.lang--top a {
	color: rgb(255 255 255 / 0.7);
}

.lang--top a[aria-current] {
	background: var(--blue);
	color: var(--navy-deep);
}

@media (max-width: 719px) {
	.topbar__contact li + li,
	.topbar__social {
		display: none;
	}
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--white);
	transition: box-shadow 0.3s;
}

.site-header.is-scrolled {
	box-shadow: 0 6px 20px -12px rgb(17 15 72 / 0.25);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--header-h);
}

.brand img {
	width: auto;
	height: 56px;
}

.primary {
	display: none;
	margin-left: auto;
}

.primary__list {
	display: flex;
	align-items: center;
	gap: 2px;
}

.primary__item {
	position: relative;
	display: flex;
	align-items: center;
}

.primary__link {
	display: block;
	padding: 10px 12px;
	border: 0;
	background: none;
	color: var(--navy);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s;
}

.primary__link:hover,
.primary__item.is-current > .primary__link {
	color: var(--blue-ink);
}

.primary__toggle {
	display: grid;
	place-items: center;
	width: 22px;
	height: 32px;
	margin-left: -8px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--navy);
}

.primary__toggle::after {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.2s;
}

.primary__toggle--label {
	display: flex;
	align-items: center;
	gap: 8px;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 12px;
}

.primary__toggle[aria-expanded="true"]::after {
	transform: translateY(2px) rotate(-135deg);
}

.sub {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 250px;
	padding: 8px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.sub::before {
	content: "";
	position: absolute;
	inset: -12px 0 auto;
	height: 12px;
}

.primary__item:hover > .sub,
.primary__item.is-open > .sub {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.sub a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: var(--r-sm);
	color: var(--navy);
	font-size: 0.9375rem;
	font-weight: 550;
	text-decoration: none;
}

.sub a:hover,
.sub a[aria-current] {
	background: var(--tint);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.site-header__actions .btn {
	display: none;
}

.burger {
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
}

.burger__lines,
.burger__lines::before,
.burger__lines::after {
	position: absolute;
	left: 10px;
	width: 24px;
	height: 2px;
	background: var(--navy);
	transition: transform 0.3s var(--ease), opacity 0.2s;
}

.burger__lines {
	top: 21px;
}

.burger__lines::before,
.burger__lines::after {
	content: "";
	left: 0;
}

.burger__lines::before {
	top: -7px;
}

.burger__lines::after {
	top: 7px;
}

.burger[aria-expanded="true"] .burger__lines {
	background: transparent;
}

.burger[aria-expanded="true"] .burger__lines::before {
	transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__lines::after {
	transform: translateY(-7px) rotate(-45deg);
}

.drawer {
	position: fixed;
	inset: var(--header-h) 0 0;
	z-index: 39;
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 16px var(--gutter) 40px;
	overflow-y: auto;
	background: var(--white);
	border-top: 1px solid var(--line);
}

.drawer[hidden] {
	display: none;
}

.drawer__nav > ul > li {
	border-bottom: 1px solid var(--line);
	padding-block: 12px;
}

.drawer__link {
	display: block;
	color: var(--navy);
	font-size: 1.25rem;
	font-weight: 650;
	text-decoration: none;
}

.drawer__link--group {
	color: var(--muted);
	font-size: 0.9375rem;
}

.drawer__sub {
	display: grid;
	gap: 2px;
	margin-top: 8px !important;
}

.drawer__sub a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 0;
	color: var(--navy);
	font-size: 1.0625rem;
	text-decoration: none;
}

.drawer__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.lang--drawer a {
	color: var(--muted);
	font-size: 0.9375rem;
}

.lang--drawer a[aria-current] {
	background: var(--navy);
	color: var(--white);
}

@media (min-width: 720px) {
	.site-header__actions .btn {
		display: inline-flex;
	}
}

@media (min-width: 1200px) {
	.primary {
		display: block;
	}

	.burger,
	.drawer {
		display: none !important;
	}

	.site-header__actions {
		margin-left: 8px;
	}
}

body.drawer-open {
	overflow: hidden;
}

/* ==========================================================================
   Homepage hero: full-width photo slider
   ========================================================================== */

.hero {
	position: relative;
	background: var(--navy-deep);
	color: var(--white);
}

.hero__slides {
	position: relative;
	display: grid;
	min-height: clamp(520px, 78vh, 760px);
}

.hero__slide {
	position: relative;
	grid-area: 1 / 1;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s var(--ease), visibility 1s;
}

.hero__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.06);
	transition: transform 8s linear;
}

.hero__slide.is-active .hero__media img {
	transform: scale(1);
}

.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgb(17 15 72 / 0.88) 0%, rgb(17 15 72 / 0.62) 45%, rgb(17 15 72 / 0.1) 100%),
		linear-gradient(0deg, rgb(17 15 72 / 0.45), transparent 40%);
}

.hero__content {
	position: relative;
	padding-block: 96px 170px;
}

.hero__sub {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	color: var(--blue);
	font-size: 1.0625rem;
	font-weight: 650;
}

.hero__sub::before {
	content: "";
	width: 36px;
	height: 2px;
	background: var(--blue);
}

.hero__title {
	max-width: 13em;
	margin: 0 0 22px;
	color: var(--white);
	font-size: var(--step-5);
	font-weight: 750;
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.hero__text {
	max-width: 36em;
	color: rgb(255 255 255 / 0.88);
	font-size: var(--step-1);
	line-height: 1.6;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.hero__slide .hero__sub,
.hero__slide .hero__title,
.hero__slide .hero__text,
.hero__slide .hero__actions {
	transform: translateY(18px);
	opacity: 0;
	transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
}

.hero__slide.is-active .hero__sub,
.hero__slide.is-active .hero__title,
.hero__slide.is-active .hero__text,
.hero__slide.is-active .hero__actions {
	transform: none;
	opacity: 1;
}

.hero__slide.is-active .hero__title {
	transition-delay: 0.1s;
}

.hero__slide.is-active .hero__text {
	transition-delay: 0.2s;
}

.hero__slide.is-active .hero__actions {
	transition-delay: 0.3s;
}

.hero__controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 108px;
	display: flex;
	align-items: center;
	gap: 24px;
	margin-inline: auto;
}

.hero__nav {
	display: flex;
	align-items: center;
	gap: 14px;
}

.hero__arrow {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgb(255 255 255 / 0.4);
	border-radius: 50%;
	background: transparent;
	color: var(--white);
	transition: background-color 0.2s, color 0.2s;
}

.hero__arrow:hover {
	background: var(--white);
	color: var(--navy);
}

.hero__arrow .icon {
	width: 18px;
	height: 18px;
}

.hero__count {
	min-width: 48px;
	font-size: 0.9375rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.hero__bar {
	flex: 1;
	max-width: 240px;
	height: 2px;
	background: rgb(255 255 255 / 0.25);
	overflow: hidden;
}

.hero__bar span {
	display: block;
	height: 100%;
	background: var(--blue);
	transform: scaleX(0);
	transform-origin: left;
}

.hero__bar.is-running span {
	animation: herobar var(--slide-ms, 7000ms) linear forwards;
}

.hero.is-paused .hero__bar span {
	animation-play-state: paused;
}

@keyframes herobar {
	to {
		transform: scaleX(1);
	}
}

@media (max-width: 699px) {
	.hero__content {
		padding-block: 64px 150px;
	}

	.hero__controls {
		bottom: 96px;
	}
}

/* Facts card overlapping the hero. */
.facts {
	position: relative;
	z-index: 2;
	margin-top: -72px;
}

.facts__card {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin: 0;
	background: var(--white);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}

.facts__item {
	padding: 24px 22px;
	border-bottom: 1px solid var(--line);
}

.facts__item:nth-child(odd) {
	border-right: 1px solid var(--line);
}

.facts__item:last-child {
	grid-column: 1 / -1;
	border-right: 0;
	border-bottom: 0;
}

.facts__value {
	color: var(--navy);
	font-size: clamp(1.5rem, 1rem + 1.1vw, 2rem);
	white-space: nowrap;
	font-weight: 750;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.facts__value::after {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	margin: 12px 0 10px;
	border-radius: 2px;
	background: var(--blue);
}

.facts__label {
	margin: 0;
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.45;
}

@media (min-width: 1000px) {
	.facts__card {
		grid-template-columns: repeat(5, 1fr);
	}

	.facts__item,
	.facts__item:nth-child(odd),
	.facts__item:last-child {
		grid-column: auto;
		padding: 30px 26px;
		border-bottom: 0;
		border-right: 1px solid var(--line);
	}

	.facts__item:last-child {
		border-right: 0;
	}
}

/* ==========================================================================
   Homepage sections
   ========================================================================== */

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 40px;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head > div {
	max-width: 640px;
}

.section-head__text {
	margin-top: 14px;
	color: var(--muted);
	font-size: var(--step-1);
	line-height: 1.6;
}

.section-head--center {
	justify-content: center;
	text-align: center;
}

.section-head--center > div {
	margin-inline: auto;
}

/* About / sustainability */
.about__grid {
	display: grid;
	gap: 56px;
	align-items: center;
}

.about__media {
	position: relative;
	padding: 0 12% 12% 0;
}

.about__img {
	margin: 0;
	overflow: hidden;
	border-radius: var(--r-lg);
}

.about__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about__img--main img {
	aspect-ratio: 4 / 3.4;
}

.about__img--inset {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 46%;
	border: 6px solid var(--white);
	box-shadow: var(--shadow-lg);
}

.about__img--inset img {
	aspect-ratio: 4 / 3;
}

.about__badge {
	position: absolute;
	left: 20px;
	bottom: calc(12% + 20px);
	display: grid;
	gap: 4px;
	max-width: 190px;
	padding: 18px 20px;
	border-radius: var(--r);
	background: var(--navy);
	color: rgb(255 255 255 / 0.8);
	font-size: 0.8125rem;
	line-height: 1.35;
	box-shadow: var(--shadow-lg);
}

.about__badge strong {
	color: var(--white);
	font-size: 2rem;
	font-weight: 750;
	line-height: 1;
}

.about__copy .h2 {
	margin-bottom: 20px;
}

.about__awards-title {
	margin: 32px 0 14px;
	font-size: var(--step-1);
}

.awards {
	display: grid;
	gap: 12px;
}

.award {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--white);
	color: var(--navy);
	font-weight: 600;
	line-height: 1.35;
}

.award__icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 50%;
	background: rgb(0 174 239 / 0.12);
	color: var(--blue-ink);
}

.award__icon svg {
	width: 20px;
	height: 20px;
}

.about__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-top: 32px;
}

@media (min-width: 1000px) {
	.about__grid {
		grid-template-columns: 1fr 1fr;
		gap: clamp(56px, 6vw, 96px);
	}
}

/* Product cards ------------------------------------------------------------ */

.pgrid {
	display: grid;
	gap: 24px;
}

.pcard__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--white);
	color: var(--text);
	text-decoration: none;
	transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s;
}

.pcard__link:hover {
	border-color: transparent;
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px);
}

.pcard__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--tint);
}

.pcard__media::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: var(--c);
}

.pcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.pcard__link:hover .pcard__media img {
	transform: scale(1.05);
}

.pcard__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 10px;
	padding: 22px 22px 24px;
}

.pcard__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.375rem;
}

.pcard__text {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--muted);
	font-size: 0.96875rem;
	line-height: 1.6;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.pcard__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 2px 0 0;
}

.pcard__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 8px;
	color: var(--blue-ink);
	font-weight: 650;
}

.pcard__more .icon {
	width: 16px;
	height: 16px;
	transition: transform 0.3s var(--ease);
}

.pcard__link:hover .pcard__more .icon {
	transform: translateX(4px);
}

@media (min-width: 640px) {
	.pgrid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.pgrid {
		grid-template-columns: repeat(3, 1fr);
	}

	.pgrid--featured {
		grid-template-columns: repeat(4, 1fr);
	}

	.pgrid--featured .pcard--wide {
		grid-column: span 2;
	}

	.pgrid--featured .pcard--wide .pcard__link {
		flex-direction: row;
	}

	.pgrid--featured .pcard--wide .pcard__media {
		flex: 1.15;
		aspect-ratio: auto;
	}

	.pgrid--featured .pcard--wide .pcard__media::after {
		top: 0;
		left: auto;
		width: 6px;
		height: auto;
	}

	.pgrid--featured .pcard--wide .pcard__body {
		flex: 1;
		justify-content: center;
		padding: 32px;
	}

	.pgrid--featured .pcard--wide .pcard__title {
		font-size: 1.75rem;
	}

	.pgrid--featured .pcard--wide .pcard__text {
		-webkit-line-clamp: 6;
	}

	.pgrid--featured .pcard--wide .pcard__more {
		margin-top: 12px;
	}
}

/* Pillars: health & safety, environment ----------------------------------- */

.pillars__grid {
	display: grid;
	gap: 28px;
}

.pillar {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--white);
}

.pillar__media {
	margin: 0;
}

.pillar__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.pillar__body {
	padding: clamp(24px, 3vw, 40px);
}

.pillar__body .h3 {
	margin-bottom: 14px;
	font-size: var(--step-2);
}

.pillar__body .link {
	margin-top: 8px;
}

@media (min-width: 900px) {
	.pillars__grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* Reference logos --------------------------------------------------------- */

.logos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.logos__item {
	display: grid;
	place-items: center;
	aspect-ratio: 3 / 2;
	padding: 14%;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--white);
	transition: box-shadow 0.3s, border-color 0.3s;
}

.logos__item:hover {
	border-color: transparent;
	box-shadow: var(--shadow);
}

.logos__item img {
	width: 100%;
	height: 100%;
	min-width: 0;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.75;
	transition: filter 0.3s, opacity 0.3s;
}

.logos__item:hover img {
	filter: none;
	opacity: 1;
}

@media (min-width: 640px) {
	.logos {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.logos {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

/* CTA over a photo -------------------------------------------------------- */

.cta {
	position: relative;
	overflow: hidden;
	padding-block: clamp(64px, 8vw, 112px);
	background: var(--navy);
	color: rgb(255 255 255 / 0.85);
	isolation: isolate;
}

.cta__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.cta__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.18;
}

.cta__inner {
	display: grid;
	gap: 32px;
	align-items: center;
}

.cta__title {
	max-width: 18em;
	margin-bottom: 14px;
	color: var(--white);
	font-size: var(--step-4);
}

.cta__copy p {
	max-width: 44em;
	font-size: var(--step-1);
}

.cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (min-width: 1000px) {
	.cta__inner {
		grid-template-columns: 1fr auto;
		gap: 64px;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background: var(--navy-deep);
	color: rgb(255 255 255 / 0.7);
	font-size: 0.9375rem;
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--white);
}

.site-footer__inner {
	display: grid;
	gap: 40px;
	padding-block: 72px 48px;
}

.site-footer__brand img {
	width: 200px;
	height: auto;
	margin-bottom: 18px;
}

.site-footer__label {
	display: block;
	margin-bottom: 4px;
	color: var(--white);
	font-weight: 650;
}

.site-footer__contact {
	font-style: normal;
}

.site-footer__contact p {
	margin-bottom: 18px;
}

.site-footer__nav ul {
	display: grid;
	gap: 8px;
}

.site-footer__social ul {
	display: flex;
	gap: 8px;
	margin: 10px 0 24px;
}

.site-footer__social ul a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.08);
	color: var(--white);
	transition: background-color 0.2s, color 0.2s;
}

.site-footer__social ul a:hover {
	background: var(--blue);
	color: var(--navy-deep);
}

.site-footer .lang a {
	color: rgb(255 255 255 / 0.6);
}

.site-footer .lang a[aria-current] {
	background: var(--blue);
	color: var(--navy-deep);
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 22px 28px;
	border-top: 1px solid rgb(255 255 255 / 0.1);
	font-size: 0.8125rem;
}

.site-footer__legal p {
	margin: 0;
}

@media (min-width: 720px) {
	.site-footer__inner {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.site-footer__inner {
		grid-template-columns: 4fr 4fr 3fr 3fr;
	}
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

.pagehead {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(240px, 30vw, 360px);
	background: var(--navy-deep);
	color: var(--white);
	isolation: isolate;
}

.pagehead__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.pagehead__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pagehead__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgb(17 15 72 / 0.9), rgb(17 15 72 / 0.55) 60%, rgb(17 15 72 / 0.35));
}

.pagehead__inner {
	padding-block: 48px 52px;
}

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	color: rgb(255 255 255 / 0.75);
	font-size: 0.875rem;
}

.crumbs li + li::before {
	content: "/";
	margin-inline: 10px;
	opacity: 0.5;
}

.crumbs a {
	text-decoration: none;
}

.crumbs a:hover {
	color: var(--white);
	text-decoration: underline;
}

.pagehead__title {
	color: var(--white);
	font-size: var(--step-5);
	font-weight: 750;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.intro {
	padding-top: clamp(40px, 5vw, 64px);
}

.intro__text {
	max-width: 46em;
	color: var(--navy);
	font-size: var(--step-2);
	line-height: 1.5;
}

.intro + .section {
	padding-top: clamp(32px, 4vw, 56px);
}

/* Biography */
.bio {
	display: grid;
	gap: 40px;
	padding-block: var(--section);
}

.intro + .bio {
	padding-top: clamp(32px, 4vw, 56px);
}

.bio__portrait {
	margin: 0;
	max-width: 380px;
}

.bio__portrait img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--r-lg);
}

.bio__portrait figcaption {
	display: grid;
	margin-top: 16px;
	padding-left: 16px;
	border-left: 3px solid var(--blue);
	color: var(--muted);
	font-size: 0.9375rem;
}

.bio__portrait strong {
	color: var(--navy);
	font-size: var(--step-1);
}

@media (min-width: 900px) {
	.bio {
		grid-template-columns: 4fr 8fr;
		gap: clamp(48px, 6vw, 96px);
	}

	.bio__portrait {
		position: sticky;
		top: calc(var(--header-h) + 32px);
		align-self: start;
	}
}

.sites {
	background: var(--tint);
}

.sites .h2 {
	margin-bottom: 40px;
}

.sites__list {
	display: grid;
	gap: 24px;
}

.sites__item {
	padding: 32px;
	border-top: 4px solid var(--blue);
	border-radius: var(--r-lg);
	background: var(--white);
}

.sites__item .h3 {
	margin-bottom: 10px;
	font-size: var(--step-2);
}

@media (min-width: 800px) {
	.sites__list {
		grid-template-columns: 1fr 1fr;
	}
}

/* Sustainability */
.statement {
	padding-top: clamp(40px, 5vw, 64px);
}

.statement__text {
	max-width: 46em;
	color: var(--navy);
	font-size: var(--step-2);
	line-height: 1.5;
}

.statement__media {
	margin: clamp(32px, 4vw, 56px) 0 0;
}

.statement__media img {
	width: 100%;
	aspect-ratio: 21 / 8;
	object-fit: cover;
	border-radius: var(--r-lg);
}

.duo .wrap {
	display: grid;
	gap: clamp(48px, 6vw, 88px);
}

.duo__item {
	display: grid;
	gap: 32px;
	align-items: center;
}

.duo__media {
	margin: 0;
}

.duo__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--r-lg);
}

.duo__copy .h3 {
	margin-bottom: 16px;
}

@media (min-width: 900px) {
	.duo__item {
		grid-template-columns: 1fr 1fr;
		gap: clamp(48px, 6vw, 96px);
	}

	.duo__item--flip .duo__media {
		order: 2;
	}
}

/* Why ceramics */
.essay {
	display: grid;
	gap: 24px;
	padding-block: var(--section);
}

@media (min-width: 900px) {
	.essay {
		grid-template-columns: 4fr 8fr;
		gap: clamp(48px, 6vw, 96px);
	}

	.essay__title {
		position: sticky;
		top: calc(var(--header-h) + 32px);
		align-self: start;
	}
}

.why {
	background: var(--tint);
}

.why__grid {
	display: grid;
	gap: 40px;
}

.why__index .h2 {
	margin-bottom: 24px;
}

.why__index ol {
	margin: 0;
	padding: 8px;
	list-style: none;
	border-radius: var(--r-lg);
	background: var(--white);
}

.why__index a {
	display: block;
	padding: 10px 14px;
	border-radius: var(--r-sm);
	color: var(--text);
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.why__index a:hover,
.why__index a.is-current {
	background: var(--navy);
	color: var(--white);
}

.why__groups {
	display: grid;
	gap: 20px;
}

.why__group {
	padding: clamp(24px, 3vw, 36px);
	border-radius: var(--r-lg);
	background: var(--white);
}

.why__group .h3 {
	margin-bottom: 18px;
	font-size: var(--step-2);
}

.ticks {
	display: grid;
	gap: 10px 32px;
}

.ticks li {
	position: relative;
	padding-left: 30px;
}

.ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgb(0 174 239 / 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%230072b1' stroke-width='2.6'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.source {
	color: var(--muted);
	font-size: 0.875rem;
}

@media (min-width: 800px) {
	.ticks {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1000px) {
	.why__grid {
		grid-template-columns: 4fr 8fr;
		gap: clamp(48px, 6vw, 96px);
	}

	.why__index {
		position: sticky;
		top: calc(var(--header-h) + 32px);
		align-self: start;
	}
}

/* Galleries */
.gallery-wrap {
	padding-block: clamp(32px, 4vw, 56px) var(--section);
}

.gallery-count {
	margin-bottom: 16px;
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 600;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-flow: dense;
	gap: 10px;
}

.gallery__item a {
	display: block;
	height: 100%;
	overflow: hidden;
	border-radius: var(--r);
}

.gallery__item img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.gallery__item a:hover img {
	transform: scale(1.05);
}

@media (min-width: 900px) {
	.gallery {
		grid-template-columns: repeat(4, 1fr);
		gap: 14px;
	}

	.gallery__item:nth-child(7n + 1) {
		grid-column: span 2;
		grid-row: span 2;
	}
}

.lightbox {
	width: 100vw;
	max-width: none;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgb(17 15 72 / 0.96);
	color: var(--white);
}

.lightbox[open] {
	display: grid;
	place-items: center;
}

.lightbox::backdrop {
	background: rgb(17 15 72 / 0.8);
}

.lightbox__figure {
	margin: 0;
	padding: 72px 72px 56px;
}

.lightbox__figure img {
	max-width: min(1600px, calc(100vw - 144px));
	max-height: calc(100dvh - 128px);
	width: auto;
	object-fit: contain;
	border-radius: var(--r-sm);
}

.lightbox__count {
	position: absolute;
	left: 24px;
	top: 20px;
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
}

.lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgb(255 255 255 / 0.25);
	border-radius: 50%;
	background: rgb(17 15 72 / 0.6);
	color: var(--white);
}

.lightbox__btn:hover {
	background: var(--white);
	color: var(--navy);
}

.lightbox__btn--prev {
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox__btn--next {
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox__btn--close {
	right: 12px;
	top: 12px;
}

@media (max-width: 640px) {
	.lightbox__figure {
		padding: 72px 0;
	}

	.lightbox__figure img {
		max-width: 100vw;
		border-radius: 0;
	}

	.lightbox__btn--prev,
	.lightbox__btn--next {
		top: auto;
		bottom: 16px;
		transform: none;
	}
}

/* References, document */
.refs-page,
.doc {
	padding-block: clamp(32px, 4vw, 56px) var(--section);
}

.doc__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 28px;
}

.doc__frame {
	width: 100%;
	height: min(90vh, 1100px);
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--white);
}

/* ==========================================================================
   Product detail
   ========================================================================== */

.product {
	display: grid;
	gap: 48px;
}

.product__lead {
	margin-bottom: 28px;
	color: var(--navy);
	font-size: var(--step-2);
	line-height: 1.5;
}

.features,
.faq,
.product__images {
	margin-top: 56px;
}

.features .h3,
.faq .h3 {
	margin-bottom: 24px;
	font-size: var(--step-2);
}

.features__list {
	display: grid;
	gap: 16px;
}

.feature {
	display: flex;
	gap: 16px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--white);
}

.feature__icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 50%;
	background: rgb(0 174 239 / 0.12);
	color: var(--blue-ink);
}

.feature__icon .icon {
	width: 18px;
	height: 18px;
}

.feature__title {
	margin-bottom: 6px;
	font-size: 1.0625rem;
	line-height: 1.3;
}

.feature p {
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

@media (min-width: 700px) {
	.features__list {
		grid-template-columns: 1fr 1fr;
	}
}

.product__images {
	display: grid;
	gap: 14px;
}

.product__images figure {
	margin: 0;
}

.product__images img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--r-lg);
}

@media (min-width: 700px) {
	.product__images {
		grid-template-columns: 1fr 1fr;
	}

	.product__images.is-single {
		grid-template-columns: 1fr;
	}

	.product__images.is-single img {
		aspect-ratio: 16 / 8;
	}
}

.faq__item {
	margin-bottom: 10px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--white);
}

.faq__item summary {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	padding: 18px 22px;
	color: var(--navy);
	font-weight: 650;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__item summary .icon {
	margin-top: 2px;
	color: var(--blue-ink);
	transition: transform 0.3s var(--ease);
}

.faq__item[open] summary .icon {
	transform: rotate(45deg);
}

.faq__answer {
	padding: 0 22px 20px;
}

.product__aside {
	display: grid;
	gap: 20px;
	align-content: start;
}

.sidecard {
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--white);
	box-shadow: var(--shadow);
}

.sidecard__material {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
}

.sidecard__chip {
	width: 56px;
	height: 56px;
	flex: none;
	border-radius: var(--r);
	background: var(--c);
	box-shadow: inset 0 0 0 1px rgb(28 25 113 / 0.15);
}

.sidecard__label {
	display: block;
	color: var(--muted);
	font-size: 0.8125rem;
}

.sidecard__material strong {
	color: var(--navy);
	font-size: 1.125rem;
}

.sidecard__title {
	margin-bottom: 12px;
	font-size: 1.0625rem;
}

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

.chem th,
.chem td {
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	font-weight: 600;
	text-align: left;
}

.chem td {
	color: var(--navy);
	font-weight: 700;
	text-align: right;
}

.sidecard__note {
	margin: 12px 0 0;
	color: var(--muted);
	font-size: 0.8125rem;
	line-height: 1.5;
}

.sidecard__actions {
	display: grid;
	gap: 10px;
	margin-top: 22px;
}

.sidecard--list {
	box-shadow: none;
}

.sidecard--list ul {
	display: grid;
	gap: 2px;
}

.sidecard--list a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 10px;
	border-radius: var(--r-sm);
	color: var(--navy);
	font-weight: 550;
	text-decoration: none;
}

.sidecard--list a:hover {
	background: var(--tint);
}

.sidecard--list a[aria-current] {
	background: var(--navy);
	color: var(--white);
}

@media (min-width: 1000px) {
	.product {
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: clamp(48px, 5vw, 80px);
	}

}

@media (min-width: 1000px) and (min-height: 960px) {
	.product__aside {
		position: sticky;
		top: calc(var(--header-h) + 24px);
		align-self: start;
	}
}

/* ==========================================================================
   Forms
   ========================================================================== */

.contact {
	display: grid;
	gap: 32px;
	padding-block: clamp(32px, 4vw, 56px) var(--section);
}

.contact__info,
.contact__form {
	padding: clamp(24px, 3vw, 40px);
	border-radius: var(--r-lg);
}

.contact__info {
	background: var(--navy);
	color: rgb(255 255 255 / 0.85);
}

.contact__info .h3 {
	margin-bottom: 24px;
	color: var(--white);
	font-size: var(--step-2);
}

.contact__form {
	border: 1px solid var(--line);
	background: var(--white);
}

.contact__form .h3 {
	margin-bottom: 24px;
	font-size: var(--step-2);
}

.contact__list {
	display: grid;
	gap: 22px;
	margin: 0 0 32px;
}

.contact__list dt {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 4px;
	color: var(--white);
	font-weight: 650;
}

.contact__list dt .icon {
	width: 18px;
	height: 18px;
	color: var(--blue);
}

.contact__list dd {
	margin: 0 0 0 28px;
}

.contact__list a {
	text-decoration: none;
}

.contact__list a:hover {
	color: var(--white);
	text-decoration: underline;
}

.contact__social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.contact__social a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgb(255 255 255 / 0.1);
	color: var(--white);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

.contact__social a:hover {
	background: var(--blue);
	color: var(--navy-deep);
}

.contact__social .icon {
	width: 16px;
	height: 16px;
}

@media (min-width: 1000px) {
	.contact {
		grid-template-columns: 4fr 8fr;
		align-items: start;
	}

	.contact__info {
		position: sticky;
		top: calc(var(--header-h) + 24px);
	}
}

.map iframe {
	width: 100%;
	height: clamp(320px, 40vw, 480px);
	border: 0;
}

.quote {
	padding-block: clamp(32px, 4vw, 56px) var(--section);
}

.quote .form {
	max-width: 960px;
	padding: clamp(24px, 3vw, 40px);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
}

.form {
	display: grid;
	gap: 36px;
}

.fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.fieldset legend {
	margin-bottom: 16px;
	padding: 0;
	color: var(--navy);
	font-size: var(--step-1);
	font-weight: 700;
}

.fieldset__hint {
	margin: -6px 0 16px;
	color: var(--muted);
	font-size: 0.9375rem;
}

.fields {
	display: grid;
	gap: 18px;
}

@media (min-width: 640px) {
	.fields {
		grid-template-columns: 1fr 1fr;
	}

	.field--wide {
		grid-column: 1 / -1;
	}
}

.field label,
.field__label {
	display: block;
	margin-bottom: 7px;
	color: var(--navy);
	font-size: 0.9375rem;
	font-weight: 600;
}

.field__req {
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 500;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid #c9d1dc;
	border-radius: var(--r-sm);
	background: var(--white);
	color: var(--navy);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
	min-height: 150px;
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--blue-ink);
	box-shadow: 0 0 0 3px rgb(0 174 239 / 0.25);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
	border-color: var(--error);
}

.field__error {
	margin: 7px 0 0;
	color: var(--error);
	font-size: 0.875rem;
	font-weight: 600;
}

.choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.choice {
	position: relative;
	margin: 0 !important;
}

.choice input {
	position: absolute;
	opacity: 0;
}

.choice span {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 10px 20px;
	border: 1px solid #c9d1dc;
	border-radius: var(--r-sm);
	color: var(--navy);
	font-weight: 600;
	cursor: pointer;
}

.choice input:checked + span {
	border-color: var(--navy);
	background: var(--navy);
	color: var(--white);
}

.choice input:focus-visible + span {
	outline: 2px solid var(--blue);
	outline-offset: 3px;
}

.picks {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
	margin-bottom: 16px;
}

.pick {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 60px;
	padding: 10px 14px;
	border: 1px solid #c9d1dc;
	border-radius: var(--r-sm);
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}

.pick input {
	position: absolute;
	opacity: 0;
}

.pick__swatch {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	flex: none;
	border-radius: 50%;
	background: var(--c);
	box-shadow: inset 0 0 0 1px rgb(28 25 113 / 0.2);
	color: transparent;
}

.pick__swatch .icon {
	width: 16px;
	height: 16px;
}

.pick__name {
	color: var(--navy);
	font-weight: 650;
	line-height: 1.25;
}

.pick:has(input:checked) {
	border-color: var(--navy);
	background: var(--tint);
}

.pick input:checked + .pick__swatch {
	background: var(--navy);
	color: var(--white);
}

.pick:has(input:focus-visible) {
	outline: 2px solid var(--blue);
	outline-offset: 3px;
}

.form__privacy {
	margin: -12px 0 0;
	color: var(--muted);
	font-size: 0.875rem;
}

.form .btn[type="submit"] {
	justify-self: start;
	min-width: 220px;
}

.notice {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 28px;
	padding: 18px 20px;
	border-radius: var(--r);
	font-weight: 600;
}

.notice:focus {
	outline: none;
}

.notice--ok {
	background: #e3f3ea;
	color: var(--ok);
}

.notice--error {
	background: #fbe9e7;
	color: var(--error);
}

/* 404 */
.notfound {
	padding-block: clamp(64px, 8vw, 128px) var(--section);
	text-align: center;
}

.notfound__code {
	margin: 0;
	color: var(--blue);
	font-size: clamp(5rem, 16vw, 11rem);
	font-weight: 800;
	line-height: 1;
}

.notfound .h2 {
	margin: 16px 0;
}

.notfound .lead {
	max-width: 36em;
	margin-inline: auto;
	color: var(--muted);
}

.notfound__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 32px;
}

/* ==========================================================================
   Motion preferences / print
   ========================================================================== */

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

@media print {
	.topbar,
	.site-header,
	.drawer,
	.cta,
	.map {
		display: none !important;
	}
}
