@import url("fonts.css");

/* =========================================================================
   WATERSEDGE FORM & STEEL LLC
   Design system. Tokens first, then structure, then components.
   ========================================================================= */

:root {
	/* --- Surfaces: cold, because steel is cold ------------------------- */
	--c-hoarfrost: #eceff1;
	--c-steel-50: #dce3e8;
	--c-steel-100: #ccd5db;
	--c-steel-300: #b7c2ca;
	--c-steel-600: #5d6c79;
	--c-ink-900: #141719;
	--c-ink-800: #23282b;

	/* --- The one hot colour. Marks what you can act on ------------------ */
	--c-oxide: #c2521f;
	--c-oxide-dark: #9e3f14;

	/* --- Warm counterweights to the steel ------------------------------ */
	--c-rust-50: #f3dccf;
	--c-oak: #b07a46;
	--c-brass: #a8a277;
	--c-blacksteel: #33383c;

	/* --- Semantic ------------------------------------------------------- */
	--c-text: var(--c-ink-900);
	--c-text-mute: var(--c-steel-600);
	--c-rule: var(--c-steel-300);
	--c-rule-soft: rgba(20, 23, 25, 0.14);
	--c-surface: var(--c-hoarfrost);
	--c-surface-alt: var(--c-steel-50);
	--c-focus: var(--c-oxide);

	/* --- Type ----------------------------------------------------------- */
	--f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
	--f-body: "Plex", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--ts-sm: 0.875rem;
	--ts-base: 1.0625rem;
	--ts-lg: 1.1875rem;
	--ts-xl: 1.5rem;
	--ts-2xl: 2rem;
	--ts-display-sm: clamp(2.5rem, 5.5vw, 4.25rem);
	--ts-display: clamp(2.75rem, 7.2vw, 6.5rem);
	--ts-heading: clamp(1.75rem, 3.4vw, 3rem);

	--lh-display: 0.92;
	--lh-heading: 1.04;
	--lh-body: 1.65;
	--ls-display: -0.028em;
	--ls-heading: -0.018em;

	/* --- Space ---------------------------------------------------------- */
	--sp-3xs: 0.25rem;
	--sp-2xs: 0.5rem;
	--sp-xs: 0.75rem;
	--sp-s: 1rem;
	--sp-m: 1.5rem;
	--sp-l: 2.25rem;
	--sp-xl: 3.5rem;
	--sp-2xl: 5rem;
	--sp-3xl: 7rem;
	--section: clamp(3.5rem, 7vw, 7.5rem);

	/* --- Structure ------------------------------------------------------ */
	--rail-w: 76px;
	--gutter: clamp(1.25rem, 4vw, 4.5rem);
	--measure: 66ch;
	--header-h: 76px;

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================================
   Reset
   ========================================================================= */

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

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

body {
	margin: 0;
	background: var(--c-surface);
	color: var(--c-text);
	font-family: var(--f-body);
	font-size: var(--ts-base);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

img {
	height: auto;
}

address {
	font-style: normal;
}

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

a {
	color: var(--c-oxide);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--c-oxide-dark);
}

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

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

/* =========================================================================
   Type registers
   ========================================================================= */

.display {
	font-family: var(--f-display);
	font-weight: 830;
	font-stretch: 122%;
	font-size: var(--ts-display);
	line-height: var(--lh-display);
	letter-spacing: var(--ls-display);
	text-transform: uppercase;
	text-wrap: balance;
}

.display--sm {
	font-size: var(--ts-display-sm);
}

.heading {
	font-family: var(--f-display);
	font-weight: 740;
	font-stretch: 114%;
	font-size: var(--ts-heading);
	line-height: var(--lh-heading);
	letter-spacing: var(--ls-heading);
	text-transform: uppercase;
	text-wrap: balance;
}

.subhead {
	font-family: var(--f-display);
	font-weight: 700;
	font-stretch: 108%;
	font-size: var(--ts-xl);
	line-height: 1.12;
	letter-spacing: -0.012em;
}

/* Small factual text: sentence case, not telegraphed capitals. */
.spec-label,
.spec__label,
.rail__key-title,
.footer__heading,
.contact-block__label,
.card__cat,
.eyebrow {
	font-family: var(--f-display);
	font-weight: 640;
	font-stretch: 92%;
	font-size: 0.8125rem;
	letter-spacing: 0.005em;
	line-height: 1.3;
}

.spec-label,
.spec__label,
.rail__key-title,
.footer__heading,
.contact-block__label,
.card__cat {
	color: var(--c-text-mute);
}

.prose {
	max-width: var(--measure);
}

.prose > * + * {
	margin-top: 1.1em;
}

.prose h2 {
	font-family: var(--f-display);
	font-weight: 740;
	font-stretch: 112%;
	font-size: var(--ts-2xl);
	line-height: 1.1;
	letter-spacing: var(--ls-heading);
	text-transform: uppercase;
	margin-top: 2.4em;
}

.prose h3 {
	font-family: var(--f-display);
	font-weight: 700;
	font-stretch: 108%;
	font-size: var(--ts-xl);
	line-height: 1.2;
	margin-top: 2em;
}

.prose ul,
.prose ol {
	padding-left: 1.15em;
	list-style: disc;
}

.prose ol {
	list-style: decimal;
}

.prose li + li {
	margin-top: 0.4em;
}

.prose blockquote {
	border-left: 3px solid var(--c-oxide);
	padding-left: var(--sp-m);
	font-size: var(--ts-lg);
}

.prose strong {
	font-weight: 600;
}

/* =========================================================================
   Structure: technical rail + shell
   ========================================================================= */

.shell {
	min-height: 100vh;
}

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

/* Ragged right, never centred — the page reads as a drawing sheet. */
.wrap--narrow {
	max-width: 880px;
	margin-inline: 0;
}

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

.section--tight {
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

/* A material change is marked by one oxide hairline and nothing else. */
.section--edge {
	border-top: 1px solid var(--c-oxide);
}

.section--ink {
	background: var(--c-ink-900);
	color: var(--c-hoarfrost);
}

.section--oxide {
	background: var(--c-oxide);
	color: var(--c-ink-900);
}

.section--alt {
	background: var(--c-surface-alt);
}

.section--ink .spec__label,
.section--ink .spec-label,
.section--ink .card__cat,
.section--ink .contact-block__label,
.section--ink .footer__heading {
	color: var(--c-steel-300);
}

.section--ink a {
	color: var(--c-hoarfrost);
	text-decoration-color: var(--c-oxide);
	text-decoration-thickness: 2px;
}

.section--ink a:hover {
	color: var(--c-oxide);
}

.section--oxide a {
	color: var(--c-ink-900);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--c-ink-900);
	color: var(--c-hoarfrost);
	padding: var(--sp-xs) var(--sp-s);
}

.skip-link:focus {
	left: 0;
}

/* --- The rail ---------------------------------------------------------- */

.rail {
	display: none;
}

@media (min-width: 1180px) {
	.rail {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		position: fixed;
		inset-block: 0;
		left: 0;
		width: var(--rail-w);
		padding-block: var(--sp-m);
		background: var(--c-ink-900);
		color: var(--c-hoarfrost);
		border-right: 1px solid var(--c-oxide);
		z-index: 20;
	}

	.shell {
		padding-left: var(--rail-w);
	}

	.rail__mark {
		writing-mode: vertical-rl;
		transform: rotate(180deg);
		display: flex;
		gap: var(--sp-xs);
		align-items: baseline;
		font-family: var(--f-display);
		font-weight: 840;
		font-stretch: 124%;
		text-transform: uppercase;
		letter-spacing: 0.02em;
		line-height: 1;
	}

	.rail__mark-water {
		font-size: 1.0625rem;
	}

	.rail__mark-form {
		font-size: 0.6875rem;
		color: var(--c-oxide);
		letter-spacing: 0.08em;
	}

	.rail__key {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: var(--sp-2xs);
	}

	.rail__key .finish-key {
		writing-mode: vertical-rl;
	}

	.rail__key-title {
		color: var(--c-steel-600);
		font-size: 0.6875rem;
	}

	.rail__foot {
		writing-mode: vertical-rl;
		transform: rotate(180deg);
		display: flex;
		gap: var(--sp-xs);
		font-size: 0.75rem;
		color: var(--c-steel-300);
	}

	.rail__foot a {
		color: var(--c-hoarfrost);
		text-decoration: none;
	}

	.rail__foot a:hover {
		color: var(--c-oxide);
	}
}

/* Below the rail breakpoint the same information continues in the footer. */
@media (max-width: 1179px) {
	.rail {
		display: none;
	}
}

/* =========================================================================
   Masthead
   ========================================================================= */

.masthead {
	position: sticky;
	top: 0;
	z-index: 30;
	background: var(--c-surface);
	border-bottom: 1px solid var(--c-rule);
	transition: box-shadow 0.2s var(--ease);
}

.masthead.is-stuck {
	box-shadow: 0 1px 0 var(--c-rule), 0 12px 28px -20px rgba(20, 23, 25, 0.45);
}

.masthead__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-m);
	min-height: var(--header-h);
	padding-inline: var(--gutter);
	max-width: 1560px;
	margin-inline: auto;
}

.wordmark {
	display: flex;
	align-items: baseline;
	gap: 0.4em;
	text-decoration: none;
	color: var(--c-ink-900);
	font-family: var(--f-display);
	font-weight: 860;
	font-stretch: 124%;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 1;
	font-size: 1.25rem;
	white-space: nowrap;
}

.wordmark__form {
	font-size: 0.6875rem;
	font-weight: 700;
	font-stretch: 100%;
	letter-spacing: 0.04em;
	color: var(--c-oxide);
}

.wordmark img {
	width: auto;
	max-height: 46px;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: var(--sp-2xs);
	background: none;
	border: 0;
	padding: var(--sp-2xs) 0;
	cursor: pointer;
	font-family: var(--f-display);
	font-weight: 660;
	font-size: 0.875rem;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--c-ink-900);
}

.nav-toggle__bars {
	position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle__bars::before {
	top: -6px;
}

.nav-toggle__bars::after {
	top: 6px;
}

.nav__list {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2vw, 2.25rem);
}

.nav__list a {
	font-family: var(--f-display);
	font-weight: 660;
	font-stretch: 104%;
	font-size: 0.9375rem;
	letter-spacing: 0.002em;
	color: var(--c-ink-900);
	text-decoration: none;
	padding-block: 0.35em;
	border-bottom: 2px solid transparent;
}

.nav__list a:hover {
	border-bottom-color: var(--c-oxide);
}

.nav__list .current-menu-item > a,
.nav__list .current_page_item > a,
.nav__list .current_page_parent > a,
.nav__list .current-menu-ancestor > a {
	border-bottom-color: var(--c-oxide);
}

.nav__contact {
	display: none;
}

@media (max-width: 900px) {
	.nav-toggle {
		display: flex;
	}

	.nav {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		background: var(--c-surface);
		border-bottom: 1px solid var(--c-oxide);
		padding: var(--sp-s) var(--gutter) var(--sp-l);
		display: none;
	}

	.nav.is-open {
		display: block;
	}

	.nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav__list li + li {
		border-top: 1px solid var(--c-rule-soft);
	}

	.nav__list a {
		display: block;
		padding-block: 0.85em;
		border-bottom: 0;
		font-size: 1.125rem;
	}

	.nav__contact {
		display: flex;
		flex-direction: column;
		gap: 0.25em;
		margin-top: var(--sp-m);
		padding-top: var(--sp-m);
		border-top: 1px solid var(--c-rule-soft);
	}

	.nav__contact a {
		color: var(--c-oxide);
		text-decoration: none;
		font-size: var(--ts-sm);
	}
}

/* =========================================================================
   Hero — the one loud moment
   ========================================================================= */

.hero {
	position: relative;
	background: var(--c-ink-900);
	color: var(--c-hoarfrost);
	overflow: hidden;
}

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

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
}

.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(20, 23, 25, 0.55) 0%, rgba(20, 23, 25, 0.12) 34%, rgba(20, 23, 25, 0.88) 100%),
		linear-gradient(90deg, rgba(20, 23, 25, 0.72) 0%, rgba(20, 23, 25, 0) 62%);
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: min(88vh, 860px);
	padding-block: var(--sp-xl) var(--sp-l);
	padding-inline: var(--gutter);
	max-width: 1560px;
	margin-inline: auto;
}

/* On small screens let the photograph carry the top and stop it towering. */
@media (max-width: 700px) {
	.hero__inner {
		min-height: min(74vh, 620px);
	}
}

.hero__eyebrow {
	display: block;
	margin-bottom: var(--sp-m);
	color: var(--c-hoarfrost);
	max-width: 34ch;
}

.hero__eyebrow::before {
	content: "";
	display: block;
	width: 64px;
	height: 3px;
	background: var(--c-oxide);
	margin-bottom: var(--sp-s);
}

.hero__title {
	margin: 0;
	max-width: 20ch;
}

/* The headline is allowed to run past the container — it is the design.
   Spans carry their own descender room so the wipe mask never clips a glyph. */
.hero__title span {
	display: block;
	overflow: hidden;
	padding-top: 0.14em;
	margin-top: -0.14em;
}

.hero__title i {
	display: block;
	font-style: normal;
	animation: wipe 0.66s var(--ease) both;
}

.hero__title span:nth-child(2) i {
	animation-delay: 0.09s;
}

.hero__title span:nth-child(3) i {
	animation-delay: 0.18s;
}

@keyframes wipe {
	from {
		transform: translateY(105%);
	}
	to {
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__title i {
		animation: none;
	}
}

.hero__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sp-m);
	margin-top: var(--sp-xl);
	padding-top: var(--sp-m);
	border-top: 1px solid rgba(236, 239, 241, 0.28);
}

.hero__note {
	max-width: 46ch;
	color: var(--c-steel-50);
	font-size: var(--ts-base);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-s);
}

/* =========================================================================
   Buttons
   ========================================================================= */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.85em 1.5em;
	border: 1px solid transparent;
	border-radius: 0;
	background: none;
	font-family: var(--f-display);
	font-weight: 700;
	font-stretch: 106%;
	font-size: 0.9375rem;
	letter-spacing: 0.004em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.16s var(--ease), color 0.16s var(--ease),
		border-color 0.16s var(--ease);
}

.btn--solid {
	background: var(--c-oxide);
	color: var(--c-hoarfrost);
	border-color: var(--c-oxide);
}

.btn--solid:hover {
	background: var(--c-oxide-dark);
	border-color: var(--c-oxide-dark);
	color: var(--c-hoarfrost);
}

.btn--ghost {
	border-color: currentColor;
	color: var(--c-hoarfrost);
}

.btn--ghost:hover {
	background: var(--c-hoarfrost);
	color: var(--c-ink-900);
}

.btn--ink {
	border-color: var(--c-ink-900);
	color: var(--c-ink-900);
}

.btn--ink:hover {
	background: var(--c-ink-900);
	color: var(--c-hoarfrost);
}

.btn--light {
	background: var(--c-hoarfrost);
	color: var(--c-ink-900);
	border-color: var(--c-hoarfrost);
}

.btn--light:hover {
	background: transparent;
	color: var(--c-hoarfrost);
}

.link-more {
	font-family: var(--f-display);
	font-weight: 680;
	font-stretch: 106%;
	font-size: 0.9375rem;
	color: var(--c-oxide);
	text-decoration: none;
	border-bottom: 2px solid var(--c-oxide);
	padding-bottom: 0.15em;
}

.link-more:hover {
	color: var(--c-oxide-dark);
	border-bottom-color: var(--c-oxide-dark);
}

/* =========================================================================
   Section headers
   ========================================================================= */

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sp-m);
	margin-bottom: var(--sp-xl);
}

.section-head__title {
	max-width: 34ch;
}

.section-head__aside {
	max-width: 40ch;
	color: var(--c-text-mute);
}

.section--ink .section-head__aside {
	color: var(--c-steel-300);
}

/* =========================================================================
   Statement band — the oxide field
   ========================================================================= */

.statement {
	display: grid;
	gap: var(--sp-xl);
	align-items: center;
}

@media (min-width: 900px) {
	.statement {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	}
}

.statement__title {
	max-width: 24ch;
}

.statement__body {
	max-width: 46ch;
	font-size: var(--ts-lg);
}

.statement__body > * + * {
	margin-top: 1em;
}

.statement__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

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

/* =========================================================================
   Product cards
   ========================================================================= */

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: var(--sp-l) var(--sp-m);
}

.grid--4 {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.card__media {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--c-steel-50);
}

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

.card__link:hover .card__img {
	transform: scale(1.035);
}

.card__img--empty {
	background: linear-gradient(135deg, var(--c-steel-50), var(--c-steel-100));
}

.card__body {
	display: block;
	padding-top: var(--sp-s);
	border-top: 1px solid var(--c-rule);
	margin-top: var(--sp-s);
}

.card__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sp-s);
}

.card__price {
	font-family: var(--f-display);
	font-weight: 700;
	font-stretch: 104%;
	font-size: 0.875rem;
	color: var(--c-oxide);
	white-space: nowrap;
}

.card__title {
	display: block;
	margin-top: var(--sp-2xs);
	font-family: var(--f-display);
	font-weight: 760;
	font-stretch: 112%;
	font-size: 1.3125rem;
	line-height: 1.14;
	letter-spacing: -0.012em;
	text-transform: uppercase;
	color: var(--c-ink-900);
}

.card__dims {
	display: block;
	margin-top: 0.35em;
	font-size: var(--ts-sm);
	color: var(--c-text-mute);
}

.section--ink .card__body {
	border-top-color: rgba(236, 239, 241, 0.2);
}

.section--ink .card__title {
	color: var(--c-hoarfrost);
}

.section--ink .card__media {
	background: var(--c-ink-800);
}

/* =========================================================================
   Facts
   ========================================================================= */

.facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
	gap: var(--sp-m);
	margin-top: var(--sp-xl);
	padding-top: var(--sp-m);
	border-top: 1px solid var(--c-rule);
}

.fact__value {
	font-family: var(--f-display);
	font-weight: 800;
	font-stretch: 116%;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--c-oxide);
}

.fact__label {
	margin-top: 0.5em;
	font-size: var(--ts-sm);
	color: var(--c-text-mute);
	max-width: 24ch;
}

.section--ink .facts {
	border-top-color: rgba(236, 239, 241, 0.2);
}

.section--ink .fact__label {
	color: var(--c-steel-300);
}

/* =========================================================================
   Process sequence — numbered because it genuinely is one
   ========================================================================= */

.process {
	display: grid;
	gap: 0;
	counter-reset: step;
}

@media (min-width: 800px) {
	.process {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0;
	}
}

.step {
	padding: var(--sp-m) 0;
	border-top: 1px solid var(--c-rule);
}

@media (min-width: 800px) {
	.step {
		border-top: 1px solid var(--c-rule);
		padding: var(--sp-m) var(--sp-m) var(--sp-m) 0;
	}
}

.step__num {
	display: block;
	font-family: var(--f-display);
	font-weight: 800;
	font-stretch: 118%;
	font-size: 1.75rem;
	line-height: 1;
	color: var(--c-oxide);
}

.step__title {
	margin-top: var(--sp-s);
	font-family: var(--f-display);
	font-weight: 740;
	font-stretch: 110%;
	font-size: 1.125rem;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: -0.008em;
}

.step__body {
	margin-top: 0.6em;
	max-width: 34ch;
	color: var(--c-text-mute);
	font-size: var(--ts-base);
}

.section--ink .step {
	border-top-color: rgba(236, 239, 241, 0.2);
}

.section--ink .step__body {
	color: var(--c-steel-300);
}

/* =========================================================================
   Finish key
   ========================================================================= */

.finish-key {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-s);
}

@media (min-width: 1180px) {
	.rail .finish-key {
		flex-direction: column;
		gap: var(--sp-2xs);
	}
}

.finish-key__item {
	display: flex;
	align-items: center;
	gap: 0.45em;
	font-size: 0.8125rem;
}

@media (min-width: 1180px) {
	.rail .finish-key__item {
		writing-mode: vertical-rl;
	}
}

.finish-key__chip {
	width: 14px;
	height: 14px;
	flex: none;
	border: 1px solid rgba(20, 23, 25, 0.28);
}

.rail .finish-key__chip {
	border-color: rgba(236, 239, 241, 0.35);
}

.finish-key__name {
	color: var(--c-text-mute);
}

.rail .finish-key__name {
	color: var(--c-steel-300);
}

.footer .finish-key__name {
	color: var(--c-steel-300);
}

.footer .finish-key__chip {
	border-color: rgba(236, 239, 241, 0.35);
}

/* =========================================================================
   Page header
   ========================================================================= */

.page-head {
	padding-top: clamp(1.5rem, 3vw, 2.75rem);
	padding-bottom: clamp(1rem, 2vw, 1.75rem);
}

.page-head__lede {
	margin-top: var(--sp-m);
	max-width: 54ch;
	font-size: var(--ts-lg);
	color: var(--c-text-mute);
}

/* The first band after a page title should not double the space. */
.page-head + .section,
.page-head + .wrap + .section {
	padding-top: clamp(1.25rem, 2.5vw, 2.25rem);
}

.section--ink .page-head__lede {
	color: var(--c-steel-300);
}

.context-line {
	font-size: var(--ts-sm);
	color: var(--c-text-mute);
	margin-bottom: var(--sp-m);
}

.context-line a {
	color: var(--c-text-mute);
	text-decoration: none;
}

.context-line a:hover {
	color: var(--c-oxide);
}

.context-line__sep {
	padding-inline: 0.45em;
	color: var(--c-steel-300);
}

/* =========================================================================
   Shop filters
   ========================================================================= */

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2xs) var(--sp-m);
	align-items: baseline;
	padding-block: var(--sp-s);
	border-block: 1px solid var(--c-rule);
	margin-bottom: var(--sp-xl);
}

.filters__item {
	font-family: var(--f-display);
	font-weight: 660;
	font-stretch: 104%;
	font-size: 0.9375rem;
	color: var(--c-text-mute);
	text-decoration: none;
	padding-bottom: 0.15em;
	border-bottom: 2px solid transparent;
}

.filters__item:hover {
	color: var(--c-ink-900);
}

.filters__item.is-current {
	color: var(--c-ink-900);
	border-bottom-color: var(--c-oxide);
}

.filters__count {
	margin-left: auto;
	color: var(--c-text-mute);
	font-size: var(--ts-sm);
}

/* =========================================================================
   Product single
   ========================================================================= */

.product {
	display: grid;
	gap: var(--sp-xl);
	padding-top: var(--sp-l);
}

@media (min-width: 1000px) {
	.product {
		grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
		align-items: start;
		gap: clamp(2rem, 5vw, 5rem);
	}
}

.product__gallery {
	display: grid;
	gap: var(--sp-s);
}

.product__figure {
	margin: 0;
	overflow: hidden;
	background: var(--c-steel-50);
}

.product__figure img {
	width: 100%;
	height: auto;
}

.product__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: var(--sp-2xs);
}

.product__thumb {
	border: 0;
	padding: 0;
	background: none;
	cursor: pointer;
	aspect-ratio: 1;
	overflow: hidden;
}

.product__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.62;
	transition: opacity 0.18s var(--ease);
}

.product__thumb:hover img,
.product__thumb.is-active img {
	opacity: 1;
}

.product__thumb.is-active {
	outline: 2px solid var(--c-oxide);
	outline-offset: -2px;
}

.product__info {
	position: sticky;
	top: calc(var(--header-h) + var(--sp-m));
}

@media (max-width: 999px) {
	.product__info {
		position: static;
	}
}

.product__title {
	margin-top: var(--sp-2xs);
}

.product__price {
	margin-top: var(--sp-s);
	font-family: var(--f-display);
	font-weight: 800;
	font-stretch: 112%;
	font-size: 1.5rem;
	color: var(--c-oxide);
	letter-spacing: -0.01em;
}

.product__intro {
	margin-top: var(--sp-m);
	max-width: 46ch;
}

.specs {
	margin-top: var(--sp-l);
	border-top: 1px solid var(--c-rule);
}

.spec {
	display: grid;
	grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
	gap: var(--sp-m);
	padding-block: var(--sp-xs);
	border-bottom: 1px solid var(--c-rule-soft);
}

.spec__value {
	margin: 0;
}

.product__actions {
	margin-top: var(--sp-l);
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-s);
}

.product__reassure {
	margin-top: var(--sp-m);
	font-size: var(--ts-sm);
	color: var(--c-text-mute);
	max-width: 40ch;
}

/* Keep a gap proportional to the viewport between the figure and the details. */
@media (min-width: 1000px) {
	.product__figure {
		width: 92%;
	}
}

.related {
	margin-top: clamp(2.75rem, 5vw, 5rem);
}

.related .grid {
	margin-bottom: 0;
}

/* =========================================================================
   Studio / about
   ========================================================================= */

.split {
	display: grid;
	gap: var(--sp-xl);
	align-items: start;
}

@media (min-width: 900px) {
	.split {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: clamp(2rem, 5vw, 5rem);
	}
}

.split--wide-first {
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

@media (max-width: 899px) {
	.split--wide-first {
		grid-template-columns: minmax(0, 1fr);
	}
}

.figure {
	margin: 0;
}

.figure img {
	width: 100%;
	height: auto;
}

.figure__caption {
	margin-top: var(--sp-2xs);
	font-size: var(--ts-sm);
	color: var(--c-text-mute);
	max-width: 52ch;
}

.figure--tall {
	aspect-ratio: 3 / 4;
	overflow: hidden;
}

.figure--tall img {
	height: 100%;
	object-fit: cover;
}

.rule-list {
	border-top: 1px solid var(--c-rule);
}

.rule-list__item {
	padding-block: var(--sp-m);
	border-bottom: 1px solid var(--c-rule-soft);
}

.rule-list__title {
	font-family: var(--f-display);
	font-weight: 740;
	font-stretch: 110%;
	font-size: 1.1875rem;
	text-transform: uppercase;
	letter-spacing: -0.008em;
}

.rule-list__body {
	margin-top: 0.5em;
	max-width: 60ch;
	color: var(--c-text-mute);
}

.quote {
	border-left: 3px solid var(--c-oxide);
	padding-left: var(--sp-m);
	max-width: 48ch;
}

.quote__text {
	font-family: var(--f-display);
	font-weight: 600;
	font-stretch: 104%;
	font-size: clamp(1.25rem, 2.2vw, 1.75rem);
	line-height: 1.28;
	letter-spacing: -0.01em;
	text-transform: none;
}

.quote__cite {
	display: block;
	margin-top: var(--sp-s);
	font-size: var(--ts-sm);
	color: var(--c-text-mute);
}

.section--ink .quote__cite {
	color: var(--c-steel-300);
}

/* =========================================================================
   Contact
   ========================================================================= */

.contact-grid {
	display: grid;
	gap: var(--sp-xl);
	align-items: start;
}

@media (min-width: 1000px) {
	.contact-grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: clamp(2rem, 5vw, 5rem);
	}
}

.contact-block__title {
	font-family: var(--f-display);
	font-weight: 740;
	font-stretch: 112%;
	font-size: 1.25rem;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	margin-bottom: var(--sp-m);
}

.contact-block__address {
	font-size: var(--ts-lg);
	line-height: 1.5;
}

.contact-block__list {
	margin-top: var(--sp-m);
	border-top: 1px solid var(--c-rule);
}

.contact-block__list li {
	display: grid;
	grid-template-columns: minmax(88px, 0.38fr) minmax(0, 1fr);
	gap: var(--sp-2xs) var(--sp-s);
	padding-block: var(--sp-xs);
	border-bottom: 1px solid var(--c-rule-soft);
	align-items: baseline;
}

/* Long values sit under their label instead of crowding it. */
@media (max-width: 520px) {
	.contact-block__list li {
		grid-template-columns: minmax(0, 1fr);
	}
}

.contact-block__list a {
	text-decoration: none;
}

.contact-block__list a:hover {
	text-decoration: underline;
}

.section--ink .contact-block__list,
.footer .contact-block__list {
	border-top-color: rgba(236, 239, 241, 0.2);
}

.section--ink .contact-block__list li,
.footer .contact-block__list li {
	border-bottom-color: rgba(236, 239, 241, 0.14);
}

.contact-facts {
	margin-top: var(--sp-m);
}

.contact-facts .contact-block__list {
	margin-top: 0;
}

/* Map */

.map {
	position: relative;
	aspect-ratio: 21 / 9;
	overflow: hidden;
	border: 1px solid var(--c-rule);
	background: var(--c-steel-50);
	min-height: 280px;
}

.map__label {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-s);
	padding: var(--sp-s) var(--sp-m);
	background: var(--c-ink-900);
	color: var(--c-hoarfrost);
}

.map__label a {
	color: var(--c-hoarfrost);
	text-decoration-color: var(--c-oxide);
	text-decoration-thickness: 2px;
	white-space: nowrap;
}

.map__label a:hover {
	color: var(--c-oxide);
}

.map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1) contrast(1.06);
}

/* The map label covers the bottom strip of the frame. */
.map iframe {
	bottom: 52px;
	height: calc(100% - 52px);
}

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

.inquiry {
	margin-top: var(--sp-m);
}

.field {
	display: flex;
	flex-direction: column;
	gap: 0.4em;
	margin-bottom: var(--sp-m);
}

.field__label {
	font-family: var(--f-display);
	font-weight: 660;
	font-stretch: 102%;
	font-size: 0.875rem;
	color: var(--c-ink-900);
}

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

.field__input {
	width: 100%;
	padding: 0.75em 0.85em;
	background: var(--c-hoarfrost);
	border: 1px solid var(--c-steel-300);
	border-radius: 2px;
	font-family: var(--f-body);
	font-size: var(--ts-base);
	line-height: 1.45;
	transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.field__input:hover {
	border-color: var(--c-steel-600);
}

.field__input:focus {
	outline: none;
	border-color: var(--c-oxide);
	box-shadow: 0 0 0 3px rgba(194, 82, 31, 0.18);
}

.field__input--area {
	resize: vertical;
	min-height: 9em;
}

select.field__input {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--c-ink-900) 50%),
		linear-gradient(135deg, var(--c-ink-900) 50%, transparent 50%);
	background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 15px) calc(50% + 2px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 2.5em;
}

.field-row {
	display: grid;
	gap: 0 var(--sp-m);
}

@media (min-width: 700px) {
	.field-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Honeypot: hidden from people, present for bots. */
.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.inquiry__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-m);
	margin-top: var(--sp-s);
	padding-top: var(--sp-m);
	border-top: 1px solid var(--c-rule);
}

.inquiry__note {
	font-size: var(--ts-sm);
	color: var(--c-text-mute);
	max-width: 40ch;
}

.notice {
	padding: var(--sp-s) var(--sp-m);
	margin-bottom: var(--sp-m);
	border-left: 3px solid;
	font-size: var(--ts-base);
}

.notice--ok {
	background: var(--c-rust-50);
	border-left-color: var(--c-oxide);
}

.notice--bad {
	background: var(--c-steel-50);
	border-left-color: var(--c-ink-900);
}

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

.footer {
	background: var(--c-ink-900);
	color: var(--c-hoarfrost);
	padding-top: var(--sp-2xl);
}

.footer__top {
	display: grid;
	gap: var(--sp-xl);
	max-width: 1560px;
	margin-inline: auto;
	padding-inline: var(--gutter);
	padding-bottom: var(--sp-2xl);
}

@media (min-width: 800px) {
	.footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

.footer__brand .wordmark {
	color: var(--c-hoarfrost);
	margin-bottom: var(--sp-m);
}

.footer__blurb {
	max-width: 42ch;
	color: var(--c-steel-300);
	margin-bottom: var(--sp-m);
}

.footer__heading {
	margin-bottom: var(--sp-m);
}

.footer__nav ul li,
.footer__collections ul li {
	padding-block: 0.35em;
}

.footer__nav a,
.footer__collections a {
	color: var(--c-hoarfrost);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.footer__nav a:hover,
.footer__collections a:hover {
	border-bottom-color: var(--c-oxide);
	color: var(--c-hoarfrost);
}

.footer__muted {
	color: var(--c-steel-600);
	font-size: var(--ts-sm);
}

.footer .contact-block__title {
	color: var(--c-hoarfrost);
}

.footer .contact-block__address {
	color: var(--c-steel-300);
}

.footer .contact-block__list a {
	color: var(--c-hoarfrost);
}

.footer .contact-block__list a:hover {
	color: var(--c-oxide);
}

.footer .contact-block__label {
	color: var(--c-steel-600);
}

.footer__bottom {
	border-top: 1px solid rgba(236, 239, 241, 0.16);
	max-width: 1560px;
	margin-inline: auto;
	padding: var(--sp-m) var(--gutter) var(--sp-xl);
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2xs) var(--sp-m);
	justify-content: space-between;
}

.footer__legal {
	font-size: var(--ts-sm);
	color: var(--c-steel-300);
}

.footer__legal--muted {
	color: var(--c-steel-600);
}

/* =========================================================================
   Utilities
   ========================================================================= */

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

.no-results {
	padding-block: var(--sp-2xl);
	border-top: 1px solid var(--c-rule);
}

.entry__head {
	padding-top: var(--sp-xl);
}

.entry__title {
	font-family: var(--f-display);
	font-weight: 800;
	font-stretch: 118%;
	font-size: var(--ts-display-sm);
	line-height: var(--lh-display);
	letter-spacing: var(--ls-display);
	text-transform: uppercase;
}

.wp-block-image img,
.alignwide img {
	height: auto;
}
