/* ==========================================================================
   Reset, typography, container, buttons
   ========================================================================== */

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

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

body {
	font-family: var(--f);
	background: var(--bg);
	color: var(--ink);
	line-height: 1.55;
	font-size: 15px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
	max-width: 100vw;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font-family: inherit;
	border: none;
	background: none;
	color: inherit;
	cursor: pointer;
}

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

img {
	height: auto;
}

ul,
ol {
	list-style: none;
}

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

::selection {
	background: var(--ch3);
	color: var(--ink);
}

::-webkit-scrollbar {
	width: 9px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: var(--surf);
}

::-webkit-scrollbar-thumb {
	background: var(--line2);
	border-radius: 9px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--ch2);
}

/* The panels get a display value of their own further on, and an author rule
   beats the browser's own rule for the hidden attribute. Without this the
   closed cart drawer and the closed popup still sit in the tab order, just off
   screen, so a keyboard runs into controls nobody can see. */

[hidden] {
	display: none !important;
}

/* ---- focus: visible for keyboards, quiet for mice ---- */

:focus {
	outline: none;
}

:focus-visible {
	outline: 2px solid var(--ch1);
	outline-offset: 3px;
	border-radius: 4px;
}

.scrollable:focus-visible {
	outline-offset: -2px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--ink);
	color: var(--on-dark);
	padding: 12px 20px;
	border-radius: 0 0 var(--r2) 0;
	font-size: 13px;
	font-weight: 700;
}

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

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   Container
   ========================================================================== */

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding-left: max(var(--pad), env(safe-area-inset-left, 0px));
	padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.08;
	letter-spacing: -0.03em;
	font-weight: 700;
	text-wrap: balance;
}

.h-xl {
	font-size: clamp(2.3rem, 5.6vw, 4.6rem);
	font-weight: 700;
}

.h-l {
	font-size: clamp(1.7rem, 3.6vw, 2.9rem);
}

.h-m {
	font-size: clamp(1.15rem, 2vw, 1.6rem);
}

.em {
	font-style: italic;
	font-weight: 300;
}

.eyebrow {
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ch4);
}

.lead {
	color: var(--ink2);
	font-size: clamp(13.5px, 1.25vw, 16px);
}

p {
	text-wrap: pretty;
}

/* ==========================================================================
   Icons
   ========================================================================== */

.ico {
	width: 1em;
	height: 1em;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: 0 0 auto;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 24px;
	font-size: 13px;
	font-weight: 700;
	border-radius: 999px;
	transition: all 0.3s var(--e);
	white-space: nowrap;
	border: 1.5px solid transparent;
	letter-spacing: 0.01em;
	text-align: center;
}

.btn .ico {
	font-size: 16px;
}

.btn--g {
	color: var(--on-dark);
	background: var(--grad);
	background-size: 260% 100%;
	animation: gmove 7s linear infinite;
	box-shadow: var(--sh-gold);
}

.btn--g:hover {
	transform: translateY(-2px);
	box-shadow: var(--sh-gold-lg);
}

.btn--d {
	background: var(--ink);
	color: var(--on-dark);
}

.btn--d:hover {
	transform: translateY(-2px);
	box-shadow: var(--sh-dark);
}

.btn--o {
	border-color: var(--line2);
	background: var(--bg);
	color: var(--ink);
}

.btn--o:hover {
	border-color: var(--ink);
	background: var(--surf);
}

.btn--gh {
	border-color: var(--on-dark-border);
	color: var(--on-dark);
	background: var(--on-dark-fill);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.btn--gh:hover {
	background: var(--on-dark-fill-2);
	border-color: var(--on-dark);
}

.btn--red {
	background: var(--red);
	color: var(--on-dark);
	border-color: var(--red);
}

.btn--red:hover {
	background: var(--red2);
	border-color: var(--red2);
}

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

.btn--lg {
	padding: 16px 30px;
	font-size: 14px;
}

.btn[disabled],
.btn[aria-disabled='true'] {
	opacity: 0.55;
	pointer-events: none;
}

.btn.is-busy {
	opacity: 0.7;
	pointer-events: none;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.sec {
	padding-block: clamp(48px, 6.5vw, 100px);
}

.sec--tight {
	padding-top: 0;
}

.sec-hd {
	margin-bottom: clamp(22px, 3vw, 42px);
}

.sec-hd .eyebrow {
	display: block;
	margin-bottom: 11px;
}

.sec-hd p {
	max-width: 540px;
	margin-top: 10px;
}

.sec-hd--ctr {
	text-align: center;
}

.sec-hd--ctr p {
	margin-inline: auto;
}

.sec-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
}

.lnk {
	font-size: 13px;
	font-weight: 700;
	color: var(--ch4);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}

.lnk .ico {
	font-size: 15px;
	transition: transform 0.3s var(--e);
}

.lnk:hover .ico {
	transform: translateX(4px);
}

.empty {
	text-align: center;
	padding: 56px 20px;
	color: var(--ink2);
	font-size: 13.5px;
	grid-column: 1 / -1;
}

.more {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.rv {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.7s var(--e), transform 0.7s var(--e);
}

.rv.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.rv {
		opacity: 1;
		transform: none;
	}
}

/* ==========================================================================
   Body states
   ========================================================================== */

body.dkm-locked {
	overflow: hidden;
}
