:root {
	--plum: hsl(307 69% 30%);
	--plum-deep: hsl(307 34% 20%);
	--plum-line: hsl(307 24% 34%);
	--ink: hsl(307 35% 15%);
	--ink-soft: hsl(307 14% 34%);
	--paper: hsl(307 20% 96%);
	--card: hsl(307 30% 99%);
	--tint: hsl(307 25% 92%);
	--rule: hsl(307 18% 78%);
	--rose: hsl(337 45% 42%);
	--rose-tint: hsl(337 45% 88%);
	--on-dark: hsl(307 25% 94%);
	--on-dark-soft: hsl(307 18% 80%);
	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
	scroll-padding-top: 5rem;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.65;
}

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

a {
	color: var(--plum);
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}

a:hover {
	color: var(--rose);
}

h1,
h2,
h3 {
	font-family: var(--serif);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.8rem;
	color: inherit;
}

h1 {
	font-size: clamp(2rem, 5.4vw, 3.4rem);
	font-weight: 800;
	letter-spacing: -0.01em;
}

h2 {
	font-size: clamp(1.55rem, 3.6vw, 2.3rem);
}

h3 {
	font-size: 1.2rem;
}

p {
	margin: 0 0 1rem;
}

.sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.topbar {
	position: sticky;
	top: 0;
	z-index: 10;
	background: var(--paper);
	border-bottom: 1px solid var(--rule);
}

.bar {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0.75rem 1.25rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-right: auto;
	color: var(--ink);
	text-decoration: none;
}

.brand:hover {
	color: var(--ink);
}

.brand svg {
	width: 36px;
	height: 36px;
	flex: none;
}

.brand span {
	font-family: var(--serif);
	font-weight: 800;
	font-size: 1.3rem;
	line-height: 1.05;
	white-space: nowrap;
}

.brand small {
	display: block;
	font-family: var(--sans);
	font-weight: 400;
	font-size: 0.66rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.mainnav ul {
	list-style: none;
	display: flex;
	gap: 1.6rem;
	margin: 0;
	padding: 0;
}

.mainnav a {
	display: block;
	padding: 0.3rem 0;
	color: var(--ink);
	font-weight: 500;
	font-size: 0.95rem;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.mainnav a:hover,
.mainnav a[aria-current="page"] {
	color: var(--plum);
	border-bottom-color: var(--rose);
}

.langs {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0.2rem 0.75rem;
	border: 1px solid var(--rule);
	border-radius: 999px;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: var(--ink-soft);
}

.langs a {
	color: var(--ink-soft);
	text-decoration: none;
}

.langs a[aria-current="true"] {
	color: var(--plum);
	font-weight: 600;
}

.menubtn {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.7rem;
	height: 2.2rem;
	padding: 0;
	border: 1px solid var(--rule);
	border-radius: 999px;
	background: var(--card);
	color: var(--ink);
	cursor: pointer;
}

.menubtn span:first-child,
.menubtn span:first-child::before,
.menubtn span:first-child::after {
	display: block;
	width: 1.05rem;
	height: 1.5px;
	background: currentColor;
	position: relative;
}

.menubtn span:first-child::before,
.menubtn span:first-child::after {
	content: "";
	position: absolute;
	left: 0;
}

.menubtn span:first-child::before {
	top: -5px;
}

.menubtn span:first-child::after {
	top: 5px;
}

main {
	max-width: 1160px;
	margin: 0 auto;
	padding: 1.5rem 1.25rem 3rem;
	display: grid;
	gap: 1.25rem;
}

.panel {
	background: var(--card);
	color: var(--ink);
	border: 1px solid var(--rule);
}

.panel-head {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin: 0;
	padding: 0.55rem 1.25rem;
	border-bottom: 1px solid var(--rule);
	font-size: 0.74rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.panel-body {
	padding: clamp(1.4rem, 4vw, 3rem);
}

.panel-body > p,
.panel-body > div > p {
	max-width: 42em;
}

.eyebrow {
	margin: 0 0 0.9rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rose);
}

.lead {
	font-size: 1.12rem;
	color: var(--ink-soft);
}

.hero .panel-body {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 2.5rem;
	align-items: center;
}

.hero figure {
	margin: 0;
	padding-left: 2rem;
	border-left: 1px solid var(--rule);
}

.hero figure svg {
	display: block;
	width: 100%;
	height: auto;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.6rem;
}

.pill {
	display: inline-flex;
	align-items: center;
	padding: 0.7rem 1.45rem;
	border: 1px solid var(--plum);
	border-radius: 999px;
	background: var(--plum);
	color: #fff;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	max-width: 100%;
	overflow-wrap: anywhere;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.pill:hover {
	background: var(--rose);
	border-color: var(--rose);
	color: #fff;
}

.pill.ghost {
	background: transparent;
	color: var(--plum);
}

.pill.ghost:hover {
	background: var(--plum);
	border-color: var(--plum);
	color: #fff;
}

.tiles {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin: 1.75rem 0 0;
	padding: 0;
	border-top: 1px solid var(--rule);
	border-left: 1px solid var(--rule);
}

.tiles > li {
	padding: 1.5rem;
	background: var(--card);
	color: var(--ink);
	border-right: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
}

.tiles svg {
	display: block;
	width: 42px;
	height: 42px;
	margin-bottom: 0.9rem;
}

.tiles p {
	margin: 0;
	color: var(--ink-soft);
}

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: start;
}

.panel.dark {
	background: var(--plum-deep) url("../../pics/pattern.svg");
	color: var(--on-dark);
	border-color: var(--plum-deep);
}

.panel.dark .panel-head {
	color: var(--on-dark-soft);
	border-bottom-color: var(--plum-line);
}

.panel.dark a {
	color: var(--rose-tint);
}

.note {
	margin: 0;
	padding: 1.6rem 1.75rem;
	background: var(--card);
	color: var(--ink);
	border-left: 4px solid var(--rose);
	font-family: var(--serif);
	font-size: 1.25rem;
	font-style: italic;
	line-height: 1.5;
}

.note p {
	margin: 0;
	color: var(--ink);
}

.panel.dark .note a,
.note a {
	color: var(--plum);
	overflow-wrap: anywhere;
}

.panel.dark .note a:hover {
	color: var(--rose);
}

.facts {
	margin: 0;
	border-top: 1px solid var(--rule);
}

.facts div {
	display: grid;
	grid-template-columns: 10rem 1fr;
	gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--rule);
}

.facts dt {
	font-size: 0.76rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-soft);
	padding-top: 0.2rem;
}

.facts dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.facts address {
	font-style: normal;
}

.hours {
	width: 100%;
	border-collapse: collapse;
}

.hours td {
	padding: 0 0 0.2rem;
	vertical-align: top;
}

.hours td:first-child {
	padding-right: 1rem;
	white-space: nowrap;
}

.steps {
	list-style: none;
	counter-reset: step;
	margin: 1.5rem 0 0;
	padding: 0;
	border-top: 1px solid var(--rule);
}

.steps li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 3.5rem 1fr;
	gap: 1rem;
	padding: 1.1rem 0;
	border-bottom: 1px solid var(--rule);
}

.steps li::before {
	content: "0" counter(step);
	font-family: var(--serif);
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1;
	color: var(--rose);
}

.steps h3 {
	margin-bottom: 0.3rem;
}

.steps p {
	margin: 0;
	color: var(--ink-soft);
}

.policy h2 {
	font-size: 1.35rem;
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--rule);
}

.policy ul {
	padding-left: 1.2rem;
	max-width: 42em;
}

.policy li {
	margin-bottom: 0.4rem;
}

.stamp {
	font-size: 0.9rem;
	color: var(--ink-soft);
}

.foot {
	border-top: 1px solid var(--rule);
	background: var(--tint);
	color: var(--ink-soft);
	font-size: 0.9rem;
}

.foot-in {
	max-width: 1160px;
	margin: 0 auto;
	padding: 2rem 1.25rem 1.5rem;
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 1.5rem;
}

.foot p,
.foot address {
	margin: 0;
	font-style: normal;
}

.foot-name {
	font-family: var(--serif);
	font-weight: 700;
	color: var(--ink);
}

.copy {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0.9rem 1.25rem 1.4rem;
	border-top: 1px solid var(--rule);
	font-size: 0.8rem;
	letter-spacing: 0.04em;
}

@media (max-width: 860px) {
	.hero .panel-body,
	.split {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.hero figure {
		padding: 2rem 0 0;
		border-left: 0;
		border-top: 1px solid var(--rule);
	}

	.foot-in {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	.bar {
		flex-wrap: wrap;
		gap: 0.6rem;
		padding: 0.65rem 1rem;
	}

	.js .menubtn {
		display: inline-flex;
	}

	.mainnav {
		order: 5;
		width: 100%;
	}

	.js .mainnav {
		display: none;
	}

	.js .mainnav.is-open {
		display: block;
	}

	.mainnav ul {
		flex-direction: column;
		gap: 0;
	}

	.mainnav li {
		border-top: 1px solid var(--rule);
	}

	.mainnav a {
		padding: 0.7rem 0;
		border-bottom: 0;
	}

	main {
		padding: 1rem 0.75rem 2.5rem;
	}

	.facts div {
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}

	.foot-in {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 400px) {
	.brand svg {
		width: 30px;
		height: 30px;
	}

	.brand span {
		font-size: 1.1rem;
	}

	.brand small {
		font-size: 0.6rem;
		letter-spacing: 0.18em;
	}

	.langs {
		padding: 0.15rem 0.55rem;
	}

	.panel-head {
		padding: 0.5rem 1rem;
	}

	.steps li {
		grid-template-columns: 2.6rem 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.pill {
		transition: none;
	}
}
