/* NUVÈN — main styles. Mobile first; larger screens from 750px and 990px. */

/* 1. Fonts (bundled with the theme, SIL Open Font License) ------------------------------- */

@font-face {
	font-family: 'Bricolage Grotesque';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('../fonts/bricolage-latin.woff2') format('woff2');
	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;
}
@font-face {
	font-family: 'Bricolage Grotesque';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('../fonts/bricolage-latin-ext.woff2') format('woff2');
	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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Onest';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/onest-latin.woff2') format('woff2');
	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;
}
@font-face {
	font-family: 'Onest';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/onest-latin-ext.woff2') format('woff2');
	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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/fraunces-latin.woff2') format('woff2');
	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;
}
@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/fraunces-latin-ext.woff2') format('woff2');
	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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Reenie Beanie';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/reenie-beanie-latin.woff2') format('woff2');
}

/* 2. Tokens --------------------------------------------------------------------------- */

:root {
	/* Quiet-luxury neutrals: ivory paper, warm stone, espresso. The cognac comes from the leather. */
	--bone: 248, 245, 239;
	--ivory: 248, 245, 239;
	--stone: 238, 232, 222;
	--taupe: 220, 210, 196;
	--sand: 238, 232, 222;
	--ink: 28, 22, 18;
	--ink-soft: 107, 94, 84;
	--cognac: 138, 75, 42;
	--line: 224, 215, 202;
	/* Neon: only for doodles and small touches on buttons. Never a background. */
	--lime: 212, 255, 46;
	--pink: 255, 46, 147;

	--bg: var(--bone);
	--fg: var(--ink);
	--fg-soft: var(--ink-soft);
	--label: var(--cognac);
	--doodle: var(--pink);

	--font-display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
	--font-body: 'Onest', 'Helvetica Neue', Arial, sans-serif;
	--font-brand: 'Fraunces', Georgia, serif;
	--font-hand: 'Reenie Beanie', 'Bradley Hand', 'Segoe Print', cursive;

	--gutter: 1rem;
	--page: min(100% - 2rem, 90rem);
	--r-card: 1.125rem;
	--r-panel: 1.375rem;
	--r-pill: 999px;
	--glass: rgba(255, 255, 255, 0.6);
	--glass-strong: rgba(255, 255, 255, 0.82);
	--glass-edge: rgba(255, 255, 255, 0.75);
	--blur: saturate(1.6) blur(20px);
	--shadow: 0 0.75rem 2.5rem -1rem rgba(43, 32, 26, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.8);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--header-h: 3.75rem;
	--gap: 0.625rem;
	--phone-bar-h: 4.25rem;
	--section-y: clamp(4rem, 3rem + 4vw, 7rem);
}

@media (min-width: 990px) {
	:root {
		--gutter: 3rem;
		--page: min(100% - 6rem, 90rem);
		--header-h: 4.5rem;
	}
}

/* 3. Base ----------------------------------------------------------------------------- */

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

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

body {
	margin: 0;
	background: rgb(var(--bone));
	color: rgb(var(--ink));
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

@media (max-width: 989px) {
	body {
		padding-bottom: calc(var(--phone-bar-h) + env(safe-area-inset-bottom) + 1rem);
	}
}

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

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

button {
	cursor: pointer;
}

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

h1,
h2,
h3,
h4,
.section-title,
.page-title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.02;
	text-wrap: balance;
}

h1,
.page-title {
	font-size: clamp(2.25rem, 1.6rem + 3vw, 4rem);
}

h2,
.section-title {
	font-size: clamp(1.85rem, 1.4rem + 2vw, 3rem);
}

h3 {
	font-size: 1.25rem;
	letter-spacing: -0.02em;
}

p {
	margin: 0 0 1em;
}

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

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

.skip-link:focus {
	position: fixed !important;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1rem;
	clip: auto;
	clip-path: none;
	background: rgb(var(--ink));
	color: rgb(var(--bone));
	border-radius: var(--r-pill);
}

.site-main {
	overflow-x: clip;
}

.page-width {
	width: var(--page);
	margin-inline: auto;
}

.page-pad {
	padding-block: 2.5rem var(--section-y);
}

.has-hero .page-pad {
	padding-top: var(--section-y);
}

[hidden] {
	display: none !important;
}

/* 4. Tones ---------------------------------------------------------------------------- */

.tone-bone,
.tone-ivory { --bg: var(--ivory); }
.tone-stone,
.tone-sand { --bg: var(--stone); }
.tone-taupe { --bg: var(--taupe); }
.tone-ink {
	--bg: var(--ink);
	--fg: var(--bone);
	--fg-soft: 231, 222, 210;
	--label: 214, 170, 132;
	--doodle: var(--lime);
	--line: 70, 58, 50;
}

[class*='tone-'] {
	background: rgb(var(--bg));
	color: rgb(var(--fg));
}

/* 5. Buttons and links ---------------------------------------------------------------- */

.button,
.wp-element-button,
button.button,
input[type='submit'] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: 3rem;
	padding: 0.35rem 1.5rem;
	border: 0;
	border-radius: var(--r-pill);
	background: rgb(var(--ink));
	color: rgb(var(--bone));
	font-family: var(--font-body);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background-color 0.2s;
}

.button--arrow {
	padding: 0.35rem 0.35rem 0.35rem 1.5rem;
}

/* Neon touch on calls to action: the lime arrow disc. */
.button__disc {
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	background: rgb(var(--lime));
	color: rgb(var(--ink));
	transition: transform 0.3s var(--ease);
}

.button__disc .icon {
	width: 1.1rem;
	height: 1.1rem;
	stroke-width: 2;
}

.button--light {
	background: rgb(var(--bone));
	color: rgb(var(--ink));
}

@media (hover: hover) {
	.button:hover {
		transform: translateY(-2px);
		box-shadow: 0 0 0 4px rgba(var(--lime), 0.35), 0 0.75rem 1.5rem -0.75rem rgba(var(--ink), 0.5);
	}

	.button:hover .button__disc {
		transform: translateX(3px) rotate(-8deg);
	}
}

.button:active {
	transform: scale(0.97);
}

.link-dot {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
}

.link-dot::before {
	content: '';
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: rgb(var(--doodle));
	box-shadow: 0 0 0.5rem rgba(var(--doodle), 0.6);
}

.link-dot:hover {
	text-decoration: underline;
}

.icon-button {
	display: inline-grid;
	place-items: center;
	position: relative;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	text-decoration: none;
}

.icon-button .icon {
	width: 1.375rem;
	height: 1.375rem;
}

.cart-count {
	position: absolute;
	top: 0.2rem;
	right: 0.1rem;
	min-width: 1.15rem;
	height: 1.15rem;
	padding: 0 0.3rem;
	border-radius: var(--r-pill);
	background: rgb(var(--ink));
	color: rgb(var(--bone));
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.15rem;
	text-align: center;
}

.cart-count.is-empty {
	display: none;
}

/* 6. Announcement + header ------------------------------------------------------------ */

.announcement {
	padding: 0.55rem 1rem;
	background: rgb(var(--ink));
	color: rgb(var(--bone));
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-align: center;
	text-transform: uppercase;
}

.announcement p {
	margin: 0;
}

.site-header {
	position: sticky;
	top: var(--gap);
	z-index: 50;
	margin: var(--gap) var(--gap) 0;
}

.site-header__bar {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.25rem;
	height: var(--header-h);
	padding-inline: 0.5rem;
	border: 1px solid var(--glass-edge);
	border-radius: var(--r-panel);
	background: var(--glass-strong);
	-webkit-backdrop-filter: var(--blur);
	backdrop-filter: var(--blur);
	box-shadow: var(--shadow);
	transition: background-color 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.site-brand {
	justify-self: center;
	text-decoration: none;
}

.wordmark {
	font-family: var(--font-brand);
	font-size: 1.375rem;
	font-weight: 400;
	letter-spacing: 0.26em;
	padding-inline-start: 0.26em;
	white-space: nowrap;
	line-height: 1;
}

.wordmark--large {
	font-size: 2rem;
}

.site-logo {
	max-height: 2.25rem;
	width: auto;
}

.site-nav {
	display: none;
}

.site-header__actions {
	display: flex;
	justify-self: end;
}

.hide-phone {
	display: none;
}

@media (min-width: 990px) {
	.site-header__bar {
		grid-template-columns: auto 1fr auto;
		padding-inline: 1.75rem 1rem;
	}

	.header-menu-toggle {
		display: none;
	}

	.site-brand {
		justify-self: start;
	}

	.wordmark {
		font-size: 1.75rem;
	}

	.site-nav {
		display: block;
		justify-self: center;
	}

	.site-nav .menu {
		display: flex;
		gap: 2rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.site-nav .menu > li {
		position: relative;
	}

	.site-nav a {
		position: relative;
		font-size: 0.9375rem;
		font-weight: 500;
		text-decoration: none;
	}

	.site-nav a[aria-current='page']::after,
	.site-nav a:hover::after {
		content: '';
		position: absolute;
		left: 50%;
		bottom: -0.55rem;
		width: 0.35rem;
		height: 0.35rem;
		border-radius: 50%;
		background: rgb(var(--pink));
		transform: translateX(-50%);
	}

	.site-nav .sub-menu {
		position: absolute;
		top: calc(100% + 1.25rem);
		left: 50%;
		min-width: 13rem;
		margin: 0;
		padding: 0.75rem;
		list-style: none;
		border: 1px solid var(--glass-edge);
		border-radius: var(--r-card);
		background: var(--glass-strong);
		-webkit-backdrop-filter: var(--blur);
		backdrop-filter: var(--blur);
		box-shadow: var(--shadow);
		color: rgb(var(--ink));
		opacity: 0;
		visibility: hidden;
		transform: translate(-50%, 0.5rem);
		transition: opacity 0.2s, transform 0.3s var(--ease), visibility 0.2s;
	}

	.site-nav .menu > li:hover > .sub-menu,
	.site-nav .menu > li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translate(-50%, 0);
	}

	.site-nav .sub-menu a {
		display: block;
		padding: 0.5rem 0.75rem;
		border-radius: 0.6rem;
	}

	.site-nav .sub-menu a:hover {
		background: rgba(var(--ink), 0.05);
	}

	.site-nav .sub-menu a::after {
		display: none;
	}

	.hide-phone {
		display: inline-grid;
	}
}

/* Clear glass with white type over the opening photos, until the page scrolls. */
.has-hero .site-header:not(.is-scrolled) .site-header__bar {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
	box-shadow: none;
}

.has-hero .site-header:not(.is-scrolled) .cart-count {
	background: rgb(var(--bone));
	color: rgb(var(--ink));
}

.has-hero .site-header:not(.is-scrolled) .site-logo {
	filter: brightness(0) invert(1);
}

/* 7. Drawer and search sheet ---------------------------------------------------------- */

.drawer,
.search-sheet {
	position: fixed;
	inset: 0;
	z-index: 100;
}

.drawer__scrim {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(var(--ink), 0.35);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.drawer__panel {
	position: absolute;
	inset: var(--gap) auto var(--gap) var(--gap);
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(24rem, calc(100% - 2 * var(--gap)));
	padding: 1rem 1.25rem 1.5rem;
	overflow: auto;
	border: 1px solid var(--glass-edge);
	border-radius: var(--r-panel);
	background: rgba(250, 248, 245, 0.9);
	-webkit-backdrop-filter: var(--blur);
	backdrop-filter: var(--blur);
	box-shadow: var(--shadow);
	animation: drawer-in 0.45s var(--ease);
}

@keyframes drawer-in {
	from {
		transform: translateX(-1.5rem);
		opacity: 0;
	}
}

.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.drawer__nav .menu,
.drawer__nav .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.drawer__nav .menu > li > a {
	display: block;
	padding: 0.55rem 0;
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 600;
	letter-spacing: -0.03em;
	text-decoration: none;
}

.drawer__nav .sub-menu {
	margin: 0 0 0.75rem;
	padding-left: 0.25rem;
}

.drawer__nav .sub-menu a {
	display: block;
	padding: 0.3rem 0;
	color: rgb(var(--ink-soft));
	text-decoration: none;
}

.drawer__foot {
	display: flex;
	gap: 1.5rem;
	margin-top: auto;
	padding-top: 2rem;
	font-size: 0.9375rem;
}

.search-sheet__panel {
	position: absolute;
	inset: var(--gap) var(--gap) auto;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem;
	border: 1px solid var(--glass-edge);
	border-radius: var(--r-panel);
	background: rgba(250, 248, 245, 0.92);
	-webkit-backdrop-filter: var(--blur);
	backdrop-filter: var(--blur);
	box-shadow: var(--shadow);
	animation: sheet-in 0.4s var(--ease);
}

@keyframes sheet-in {
	from {
		transform: translateY(-1rem);
		opacity: 0;
	}
}

.search-sheet__panel .search-form {
	flex: 1;
}

.search-form {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.search-form__icon {
	position: absolute;
	left: 1rem;
	width: 1.2rem;
	height: 1.2rem;
	color: rgb(var(--ink-soft));
	pointer-events: none;
}

.search-form__input {
	flex: 1;
	min-width: 0;
	height: 3rem;
	padding: 0 1rem 0 2.75rem;
	border: 1px solid rgb(var(--line));
	border-radius: var(--r-pill);
	background: #fff;
	font-size: 1rem;
}

.search-form__submit {
	height: 3rem;
	padding: 0 1.25rem;
	border: 0;
	border-radius: var(--r-pill);
	background: rgb(var(--ink));
	color: rgb(var(--bone));
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* 8. Phone bottom bar ----------------------------------------------------------------- */

.phone-bar {
	position: fixed;
	left: var(--gap);
	right: var(--gap);
	bottom: calc(var(--gap) + env(safe-area-inset-bottom));
	z-index: 60;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	height: var(--phone-bar-h);
	padding: 0.35rem;
	border: 1px solid var(--glass-edge);
	border-radius: var(--r-panel);
	background: var(--glass-strong);
	-webkit-backdrop-filter: var(--blur);
	backdrop-filter: var(--blur);
	box-shadow: var(--shadow);
}

.phone-bar__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.15rem;
	padding: 0;
	border: 0;
	background: none;
	color: rgb(var(--ink));
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.phone-bar__item .icon {
	width: 1.375rem;
	height: 1.375rem;
}

.phone-bar__item[aria-current='page']::after {
	content: '';
	position: absolute;
	bottom: 0.2rem;
	width: 0.35rem;
	height: 0.35rem;
	border-radius: 50%;
	background: rgb(var(--pink));
	box-shadow: 0 0 0.5rem rgba(var(--pink), 0.7);
}

.phone-bar__bag {
	position: relative;
}

.phone-bar__bag .cart-count {
	top: -0.45rem;
	right: -0.7rem;
}

@media (min-width: 990px) {
	.phone-bar {
		display: none;
	}
}

/* 9. Hero ----------------------------------------------------------------------------- */

.hero {
	position: relative;
	margin-top: calc((var(--header-h) + var(--gap) + 2px) * -1);
	height: min(100svh - var(--phone-bar-h) - 1.25rem, 56rem);
	min-height: 34rem;
	overflow: hidden;
	background: rgb(var(--ink));
	color: #fff;
	isolation: isolate;
}

.hero__track,
.hero__slide,
.hero__media {
	position: absolute;
	inset: 0;
}

.hero__slide {
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s var(--ease), visibility 1s;
}

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

.hero__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 14, 10, 0.25) 0%, rgba(20, 14, 10, 0) 30%, rgba(20, 14, 10, 0.05) 50%, rgba(20, 14, 10, 0.62) 100%);
}

.hero__img,
.hero picture {
	width: 100%;
	height: 100%;
}

.hero__img {
	object-fit: cover;
	transform: scale(1.06);
	transition: transform 7s linear;
}

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

/* With no photo yet: a woven pattern in leather tones. */
.hero__placeholder {
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(45deg, rgba(154, 79, 40, 0.55) 0 14px, rgba(43, 32, 26, 0.9) 14px 28px),
		repeating-linear-gradient(-45deg, rgba(154, 79, 40, 0.35) 0 14px, transparent 14px 28px),
		rgb(var(--ink));
	background-blend-mode: multiply;
}

.hero__content {
	position: absolute;
	inset: auto 0 6.5rem;
	z-index: 2;
}

.hero__eyebrow {
	color: #fff;
}

.hero__heading {
	position: relative;
	max-width: 14ch;
	margin-bottom: 1.75rem;
	padding-bottom: 0.25em;
	font-size: clamp(2.5rem, 1.6rem + 4.5vw, 5.25rem);
	font-weight: 650;
	letter-spacing: -0.045em;
	line-height: 0.95;
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.hero__controls {
	position: absolute;
	inset: auto 0 2rem;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.hero__dots {
	display: flex;
	flex: 1;
	gap: 0.5rem;
	max-width: 22rem;
}

.hero__dot {
	position: relative;
	flex: 1;
	height: 2px;
	padding: 0.75rem 0;
	border: 0;
	background: none;
}

.hero__dot::before,
.hero__dot::after {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	height: 2px;
	border-radius: 2px;
}

.hero__dot::before {
	right: 0;
	background: rgba(255, 255, 255, 0.35);
}

.hero__dot::after {
	width: 0;
	background: #fff;
}

.hero__dot.is-active::after {
	width: 100%;
	transition: width var(--slide-ms, 6000ms) linear;
}

.hero.is-paused .hero__dot.is-active::after,
.no-motion .hero__dot.is-active::after {
	transition: none;
}

.hero__pause {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #fff;
}

.hero__pause .icon {
	width: 1rem;
	height: 1rem;
}

.hero__play-icon,
.hero.is-paused .hero__pause-icon {
	display: none;
}

.hero.is-paused .hero__play-icon {
	display: block;
}

@media (min-width: 990px) {
	.hero {
		height: min(92vh, 56rem);
	}

	.hero__content {
		inset-block-end: 7.5rem;
	}
}

/* 10. Moving word band ---------------------------------------------------------------- */

.band {
	overflow: hidden;
	background: rgb(var(--ink));
	color: rgb(var(--bone));
}

.band__track {
	display: flex;
	width: max-content;
	animation: band 36s linear infinite;
}

.band:hover .band__track {
	animation-play-state: paused;
}

.band__group {
	display: flex;
	flex: none;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.band__item {
	display: flex;
	align-items: center;
	padding-block: 1rem;
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: 560;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.band__item:nth-child(even) {
	font-family: var(--font-hand);
	font-size: 2rem;
	font-weight: 400;
	letter-spacing: 0;
	color: rgb(var(--lime));
}

.band__item::after {
	content: '';
	width: 0.5rem;
	height: 0.5rem;
	margin-inline: 1.75rem;
	border-radius: 1px;
	background: rgb(var(--pink));
	rotate: 45deg;
	box-shadow: 0 0 0.6rem rgba(var(--pink), 0.7);
}

@keyframes band {
	to {
		transform: translateX(-50%);
	}
}

/* 11. Sections ------------------------------------------------------------------------ */

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

.section-head {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	margin-bottom: 2.25rem;
}

.section-head--stack {
	display: block;
}

.section-text {
	max-width: 38rem;
	margin-top: 1rem;
	color: rgb(var(--fg-soft));
	font-size: 1.0625rem;
}

.section-foot {
	margin: 2.5rem 0 0;
	text-align: center;
}

/* A loose pen stroke under section headings, drawn when the heading arrives. */
.has-doodles .section-title,
.has-doodles .page-title {
	position: relative;
	padding-bottom: 0.32em;
}

.has-doodles .section-title::after,
.has-doodles .page-title::after {
	content: '';
	position: absolute;
	left: -0.05em;
	bottom: 0;
	width: min(3.6em, 80%);
	height: 0.32em;
	background: rgb(var(--doodle));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13C40 6 90 4 128 7C150 9 170 11 197 6' fill='none' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13C40 6 90 4 128 7C150 9 170 11 197 6' fill='none' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	clip-path: inset(0 0 0 0);
	transition: clip-path 0.9s var(--ease) 0.35s;
}

.has-doodles .hero__heading::after {
	content: '';
	position: absolute;
	left: -0.04em;
	bottom: -0.05em;
	width: min(4.2em, 75%);
	height: 0.28em;
	background: rgb(var(--lime));
	filter: drop-shadow(0 0 0.35rem rgba(var(--lime), 0.55));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13C40 6 90 4 128 7C150 9 170 11 197 6' fill='none' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13C40 6 90 4 128 7C150 9 170 11 197 6' fill='none' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	clip-path: inset(0 100% 0 0);
	transition: clip-path 0.9s var(--ease) 0.6s;
}

.has-doodles .hero__slide.is-active .hero__heading::after {
	clip-path: inset(0 0 0 0);
}

.js-motion [data-reveal]:not(.is-in) .section-title::after,
.js-motion .section-title[data-reveal]:not(.is-in)::after {
	clip-path: inset(0 100% 0 0);
}

.rtl.has-doodles .section-title::after,
.rtl.has-doodles .hero__heading::after {
	left: auto;
	right: -0.05em;
	transform: scaleX(-1);
}

/* Shop by category */
.cats__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cats__tile:nth-child(even) {
	margin-top: 2rem;
}

.cats__tile a {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--r-card);
	color: #fff;
	text-decoration: none;
}

.cats__media {
	display: block;
	aspect-ratio: 4 / 5;
	background: rgb(var(--sand));
}

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

.cats__placeholder {
	display: block;
	height: 100%;
	background: repeating-linear-gradient(45deg, rgba(var(--cognac), 0.25) 0 10px, transparent 10px 20px), rgb(var(--sand));
}

.cats__tile a::after {
	content: '';
	position: absolute;
	inset: 50% 0 0;
	background: linear-gradient(180deg, transparent, rgba(20, 14, 10, 0.45));
	pointer-events: none;
}

.cats__label {
	z-index: 1;
	position: absolute;
	inset: auto 0.6rem 0.6rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.6rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: var(--r-pill);
	background: rgba(255, 255, 255, 0.16);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	font-size: 0.9375rem;
	font-weight: 500;
}

.cats__label .icon {
	width: 1.1rem;
	height: 1.1rem;
	flex: none;
}

@media (hover: hover) {
	.cats__tile a:hover img {
		transform: scale(1.05);
	}
}

@media (min-width: 750px) {
	.cats__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.25rem;
	}

	.cats__tile:nth-child(even) {
		margin-top: 0;
	}

	.cats__tile:nth-child(3n + 2) {
		margin-top: 3rem;
	}
}

@media (min-width: 1200px) {
	.cats__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.cats__tile:nth-child(3n + 2) {
		margin-top: 0;
	}

	.cats__tile:nth-child(even) {
		margin-top: 3rem;
	}
}

/* Product cards (home) */
.chips {
	display: flex;
	gap: 0.5rem;
	margin: 0 calc(50% - 50vw) 1.75rem;
	padding: 0.25rem calc(50vw - 50%);
	overflow-x: auto;
	scrollbar-width: none;
}

.chip {
	flex: none;
	min-height: 2.75rem;
	padding: 0 1.25rem;
	border: 1px solid rgba(var(--ink), 0.14);
	border-radius: var(--r-pill);
	background: rgba(255, 255, 255, 0.55);
	font-size: 0.9375rem;
	font-weight: 500;
	transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.chip.is-active {
	background: rgb(var(--ink));
	color: rgb(var(--bone));
	border-color: rgb(var(--ink));
	box-shadow: inset 0 -3px 0 rgb(var(--lime));
}

.cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.75rem 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.card.is-hidden {
	display: none;
}

.card__link {
	display: block;
	text-decoration: none;
	transition: translate 0.35s var(--ease);
}

.card-media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	margin-bottom: 0.85rem;
	border-radius: var(--r-card);
	background: rgb(var(--sand));
}

.card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.5s, transform 0.9s var(--ease);
}

.card-media .card-image-alt {
	position: absolute;
	inset: 0;
	opacity: 0;
}

@media (hover: hover) {
	.card__link:hover,
	.woocommerce ul.products li.product a.woocommerce-LoopProduct-link:hover {
		translate: 0 -4px;
	}

	.card__link:hover .card-image-alt,
	a:hover > .card-media .card-image-alt {
		opacity: 1;
	}

	.card__link:hover .card-media img:first-child {
		transform: scale(1.04);
	}
}

.badge {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	padding: 0.3rem 0.65rem;
	border: 1px solid var(--glass-edge);
	border-radius: var(--r-pill);
	background: var(--glass-strong);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: rgb(var(--ink));
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.card__title {
	display: block;
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.2;
}

.card__price {
	display: block;
	margin-top: 0.25rem;
	color: rgb(var(--fg-soft));
	font-size: 0.9375rem;
}

@media (min-width: 750px) {
	.cards {
		grid-template-columns: repeat(3, 1fr);
		gap: 2.5rem 1.25rem;
	}
}

@media (min-width: 1200px) {
	.cards {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* The bags, by name */
.names__inner {
	display: grid;
	gap: 2rem;
}

.names__list {
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(var(--ink), 0.12);
}

.names__item {
	display: grid;
	grid-template-columns: 2.25rem 1fr auto;
	align-items: baseline;
	gap: 0.75rem;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(var(--ink), 0.12);
	text-decoration: none;
	transition: padding 0.35s var(--ease), color 0.2s;
}

.names__num {
	color: rgb(var(--cognac));
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
}

.names__title {
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 1.2rem + 2vw, 2.75rem);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1;
	color: rgba(var(--ink), 0.35);
	transition: color 0.3s;
}

.names__item.is-active .names__title,
.names__item:hover .names__title {
	color: rgb(var(--ink));
}

.names__item.is-active {
	padding-left: 0.5rem;
}

.names__price {
	color: rgb(var(--ink-soft));
	font-size: 0.9375rem;
}

.names__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--r-panel);
	background: rgb(var(--sand));
}

.names__photo {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: scale(1.04);
	transition: opacity 0.6s var(--ease), transform 1.2s var(--ease);
}

.names__photo.is-active {
	opacity: 1;
	transform: none;
}

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

@media (min-width: 990px) {
	.names__inner {
		grid-template-columns: 1.1fr 0.9fr;
		align-items: center;
		gap: 5rem;
	}

	.names__media {
		order: 2;
	}
}

@media (max-width: 989px) {
	.names__media {
		order: -1;
		max-width: 26rem;
	}
}

/* Story */
.story__steps {
	display: grid;
	gap: 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.story__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	margin-bottom: 1.25rem;
	border-radius: var(--r-card);
}

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

.story__num {
	display: block;
	margin-bottom: 0.5rem;
	color: rgb(var(--lime));
	font-family: var(--font-hand);
	font-size: 2rem;
	line-height: 1;
}

.story__title {
	margin-bottom: 0.5rem;
	font-size: 1.75rem;
}

.story__text {
	color: rgb(var(--fg-soft));
}

.story__fact {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	color: rgb(var(--fg-soft));
	font-size: 0.875rem;
}

.story__fact strong {
	color: rgb(var(--bone));
	font-family: var(--font-display);
	font-size: 2.25rem;
	font-weight: 600;
	letter-spacing: -0.03em;
}

@media (min-width: 750px) {
	.story__steps {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}
}

/* Promises */
.promises {
	padding-block: 3rem;
}

.promises__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem 1.25rem;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.promises__item .icon {
	width: 1.75rem;
	height: 1.75rem;
	margin-bottom: 0.75rem;
	color: rgb(var(--cognac));
}

.promises__title {
	margin-bottom: 0.35rem;
	font-size: 1rem;
	letter-spacing: -0.01em;
}

.promises__text {
	margin: 0;
	color: rgb(var(--ink-soft));
	font-size: 0.875rem;
	line-height: 1.5;
}

@media (min-width: 990px) {
	.promises__list {
		grid-template-columns: repeat(4, 1fr);
		gap: 2.5rem;
	}
}

/* Instagram row */
.social__row {
	display: flex;
	gap: 0.75rem;
	margin: 0;
	padding: 0 max(var(--gutter), calc((100% - 90rem) / 2));
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.social__item {
	flex: none;
	width: min(68vw, 20rem);
	scroll-snap-align: start;
}

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

/* Newsletter */
.newsletter__inner {
	position: relative;
	display: grid;
	gap: 2rem;
	max-width: 52rem;
}

.signup__row {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.signup__input {
	height: 3.25rem;
	padding: 0 1.25rem;
	border: 1px solid rgba(var(--ink), 0.25);
	border-radius: var(--r-pill);
	background: rgba(255, 255, 255, 0.7);
	font-size: 1rem;
}

.signup__trap {
	position: absolute;
	left: -9999px;
}

.signup__msg {
	margin-top: 0.75rem;
	font-weight: 500;
}

.signup__msg.is-error {
	color: #a0281e;
}

@media (min-width: 750px) {
	.signup__row {
		flex-direction: row;
	}

	.signup__input {
		flex: 1;
	}
}

/* 12. Doodles ------------------------------------------------------------------------- */

.doodle-note {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.125rem;
	color: rgb(var(--doodle));
	pointer-events: none;
	rotate: -4deg;
}

.doodle-note__text {
	font-family: var(--font-hand);
	font-size: 1.75rem;
	line-height: 1;
	white-space: nowrap;
}

:lang(ja) .doodle-note__text,
:lang(ar) .doodle-note__text,
:lang(zh) .doodle-note__text {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 500;
}

.doodle-note__arrow {
	width: 3.25rem;
	margin-top: 0.5rem;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.doodle-note--cats {
	flex-basis: 100%;
	order: 3;
	margin: -0.5rem 0 -1rem 18%;
}

.doodle-note--news {
	margin: 0.75rem 0 0.25rem 0.25rem;
}

.doodle-path {
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1.1s var(--ease) 0.35s;
}

.doodle-path--late {
	transition-delay: 1.3s;
	transition-duration: 0.35s;
}

.js-motion [data-reveal='draw']:not(.is-in) .doodle-path {
	stroke-dashoffset: 1;
}

.doodle-squiggle {
	width: 7.5rem;
	margin: 1rem 0 0.5rem;
	color: rgb(var(--doodle));
}

.doodle-squiggle svg {
	width: 100%;
	stroke: currentColor;
	stroke-width: 3;
	stroke-linecap: round;
	filter: drop-shadow(0 0 0.3rem rgba(var(--doodle), 0.45));
}

.doodle-sticker {
	position: absolute;
	z-index: 4;
	right: 1rem;
	top: calc(var(--header-h) + var(--gap) + 1.25rem);
	width: 5.75rem;
	aspect-ratio: 1;
	pointer-events: none;
	filter: drop-shadow(0 0.5rem 1rem rgba(0, 0, 0, 0.3));
}

.doodle-sticker svg {
	width: 100%;
	height: 100%;
}

/* The ring turns inside this wrapper: turning the SVG itself made the browser lay out its text
   again on every frame. */
.doodle-sticker__spin {
	display: block;
	width: 100%;
	height: 100%;
}

.doodle-sticker__disc {
	fill: rgb(var(--ink));
}

.doodle-sticker__inner {
	fill: none;
	stroke: rgba(var(--lime), 0.45);
	stroke-width: 1;
	stroke-dasharray: 2 3;
}

.doodle-sticker__text {
	fill: rgb(var(--lime));
	font-family: var(--font-body);
	font-size: 9.5px;
	font-weight: 640;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.doodle-sticker .doodle-sticker__star {
	position: absolute;
	inset: 34%;
	width: 32%;
	height: 32%;
	color: rgb(var(--pink));
}

@media (min-width: 750px) {
	.doodle-sticker {
		right: 2.5rem;
		top: calc(var(--header-h) + var(--gap) + 2rem);
		width: 7.5rem;
	}
}

.doodle-sparkles {
	position: absolute;
	inset: 0;
	pointer-events: none;
	color: rgb(var(--doodle));
}

.doodle-sparkles .icon {
	position: absolute;
	filter: drop-shadow(0 0 0.3rem rgba(var(--doodle), 0.45));
}

.doodle-sparkles .icon:nth-child(1) {
	top: 12%;
	right: 8%;
	width: 1.5rem;
}

.doodle-sparkles .icon:nth-child(2) {
	top: 24%;
	right: 15%;
	width: 0.75rem;
	opacity: 0.7;
}

.doodle-sparkles .icon:nth-child(3) {
	bottom: 14%;
	left: 5%;
	width: 1rem;
	opacity: 0.8;
}

.doodle-sparkles--story .icon:nth-child(3) {
	bottom: auto;
	top: 0;
	left: auto;
	right: 28%;
}

.site-footer .doodle-sparkles {
	--doodle: var(--lime);
}

/* 13. Footer -------------------------------------------------------------------------- */

.site-footer {
	position: relative;
	padding-block: 4rem 2rem;
	background: rgb(var(--ink));
	color: rgb(var(--bone));
}

.site-footer__inner {
	display: grid;
	gap: 2.5rem;
}

.site-footer__tagline {
	margin: 0.75rem 0 0;
	font-family: var(--font-hand);
	font-size: 1.75rem;
	color: rgb(var(--lime));
}

.site-footer__text {
	max-width: 24rem;
	color: rgba(var(--bone), 0.75);
}

.site-footer__social {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
}

.site-footer__social .icon {
	width: 1.25rem;
	height: 1.25rem;
}

.site-footer__nav .menu {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__nav .menu > li > a {
	display: block;
	margin-bottom: 0.75rem;
	color: rgb(232, 180, 140);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
}

.site-footer__nav .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__nav .sub-menu a {
	display: block;
	padding: 0.3rem 0;
	color: rgba(var(--bone), 0.85);
	text-decoration: none;
}

.site-footer__nav a:hover {
	text-decoration: underline;
}

.site-footer__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(var(--bone), 0.65);
	font-size: 0.8125rem;
}

.site-footer__base p {
	margin: 0;
}

.site-footer__base .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

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

@media (min-width: 990px) {
	.site-footer__inner {
		grid-template-columns: 1fr 1.4fr;
	}

	.site-footer__nav .menu {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* 14. Pages and posts ----------------------------------------------------------------- */

.page-head {
	margin-bottom: 2.5rem;
}

.page-intro {
	max-width: 40rem;
	margin-top: 1rem;
	color: rgb(var(--ink-soft));
	font-size: 1.125rem;
}

.page--prose .entry-content {
	max-width: 44rem;
	font-size: 1.0625rem;
}

.entry-content > * + * {
	margin-top: 1.25em;
}

.entry-content h2 {
	margin-top: 2em;
	font-size: 1.875rem;
}

.entry-content h3 {
	margin-top: 1.75em;
}

.entry-content img {
	border-radius: var(--r-card);
}

.entry-content blockquote {
	margin-inline: 0;
	padding-left: 1.25rem;
	border-left: 3px solid rgb(var(--pink));
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.25;
}

.page-hero-image {
	margin: 0 0 2.5rem;
}

.page-hero-image img {
	width: 100%;
	border-radius: var(--r-panel);
}

.post-grid {
	display: grid;
	gap: 2.5rem 1.25rem;
}

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

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

.post-card__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	margin-bottom: 1rem;
	border-radius: var(--r-card);
}

.post-card__title {
	margin-bottom: 0.5rem;
	font-size: 1.375rem;
}

.post-card__excerpt {
	color: rgb(var(--ink-soft));
}

.not-found .page-title {
	max-width: 14ch;
}

.empty-note {
	color: rgb(var(--ink-soft));
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 3rem;
}

.nav-links a,
.nav-links span {
	display: inline-grid;
	place-items: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 0.85rem;
	border: 1px solid rgb(var(--line));
	border-radius: var(--r-pill);
	text-decoration: none;
}

.nav-links .current {
	background: rgb(var(--ink));
	color: rgb(var(--bone));
}

/* Forms (comments and general) */
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'],
input[type='number'],
input[type='url'],
input[type='search'],
select,
textarea {
	max-width: 100%;
	min-height: 3rem;
	padding: 0.6rem 1rem;
	border: 1px solid rgba(var(--ink), 0.22);
	border-radius: 0.875rem;
	background: #fff;
}

textarea {
	min-height: 8rem;
}

/* 15. Motion -------------------------------------------------------------------------- */
/* js-motion is set on <html> by main.js only when movement is allowed, so nothing is
   hidden without the script there to show it again. */

.js-motion [data-reveal] {
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.9s var(--ease);
	transition-delay: calc(var(--i, 0) * 70ms);
}

.js-motion [data-reveal]:not([data-reveal='draw']):not(.is-in) {
	opacity: 0;
	transform: translateY(2rem);
}

.js-motion .section-title[data-reveal]:not(.is-in) {
	transform: translateY(1rem);
	filter: blur(8px);
}

@media (prefers-reduced-motion: no-preference) {
	.js-motion .doodle-sticker__spin {
		animation: spin 18s linear infinite;
	}

	.js-motion .doodle-sticker {
		animation: float 5s ease-in-out infinite;
	}

	.js-motion .doodle-sticker__star,
	.js-motion .doodle-sparkles .icon {
		animation: twinkle 2.8s ease-in-out infinite;
	}

	.js-motion .doodle-sparkles .icon:nth-child(2) {
		animation-delay: -0.9s;
	}

	.js-motion .doodle-sparkles .icon:nth-child(3) {
		animation-delay: -1.8s;
	}

	.js-motion .doodle-note__text {
		display: inline-block;
		animation: wiggle 4.5s ease-in-out infinite;
	}

	@supports (animation-timeline: view()) {
		.js-motion .card-media img:first-child,
		.js-motion .cats__media img,
		.js-motion .social__item img {
			animation: settle linear both;
			animation-timeline: view();
			animation-range: entry 0% cover 45%;
		}
	}
}

@keyframes spin {
	to {
		rotate: 360deg;
	}
}

@keyframes float {
	50% {
		translate: 0 -10px;
	}
}

@keyframes twinkle {
	50% {
		scale: 0.55;
		rotate: 45deg;
	}
}

@keyframes wiggle {
	50% {
		rotate: 3deg;
	}
}

@keyframes settle {
	from {
		scale: 1.12;
	}
	to {
		scale: 1;
	}
}

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

	.band__track {
		width: auto;
		overflow-x: auto;
	}
}

.no-motion .band__track {
	animation: none;
	width: auto;
	overflow-x: auto;
}

/* Glass falls back to nearly solid where blur is missing or less transparency is asked for. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	:root {
		--glass: rgba(250, 248, 245, 0.96);
		--glass-strong: rgba(250, 248, 245, 0.97);
	}
}

@media (prefers-reduced-transparency: reduce) {
	:root {
		--glass: rgba(250, 248, 245, 0.96);
		--glass-strong: rgba(250, 248, 245, 0.97);
		--blur: none;
	}
}

/* 16. Quiet-luxury refinements (palette, type, layout from the Shopify design) ------------ */

h1,
h2,
h3,
.section-title,
.page-title {
	font-weight: 520;
	letter-spacing: -0.04em;
}

.hero__heading {
	font-weight: 560;
}

.section-text,
.page-intro {
	font-weight: 380;
}

.eyebrow {
	font-weight: 550;
	letter-spacing: 0.2em;
}

.button,
.wp-element-button,
button.button,
input[type='submit'] {
	font-weight: 550;
	letter-spacing: 0.16em;
}

/* Hairline rules instead of heavy borders. */
.names__list,
.names__item {
	border-color: rgba(255, 255, 255, 0.22);
}

/* Big word filled with the weave photo. */
.cats__word {
	grid-column: 1 / -1;
	display: grid;
	place-items: center;
	padding-block: 1.5rem 0.5rem;
	list-style: none;
}

.cats__word span {
	display: block;
	background: var(--word-img) center / cover, rgb(var(--cognac));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-family: var(--font-display);
	font-size: clamp(5rem, 3rem + 14vw, 15rem);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 0.85;
	text-transform: uppercase;
}

@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
	.cats__word span {
		color: rgb(var(--cognac));
		background: none;
	}
}

.cats__tile:nth-child(even) {
	margin-top: 0;
}

.cats__grid > .cats__tile:nth-of-type(even) {
	margin-top: 2.5rem;
}

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

	.cats__grid > .cats__tile:nth-of-type(even) {
		margin-top: 0;
	}

	.cats__grid > .cats__tile:nth-of-type(3n + 2) {
		margin-top: 4rem;
	}
}

@media (min-width: 1200px) {
	.cats__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.cats__grid > .cats__tile:nth-of-type(3n + 2) {
		margin-top: 0;
	}

	.cats__grid > .cats__tile:nth-of-type(even) {
		margin-top: 4rem;
	}
}

/* The bags, by name: full-width photo with names over it. */
.names {
	position: relative;
	min-height: min(100svh, 54rem);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: rgb(var(--ink));
	color: rgb(var(--bone));
	isolation: isolate;
}

.names .names__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	max-width: none;
	aspect-ratio: auto;
	border-radius: 0;
	order: 0;
	background: rgb(var(--ink));
}

.names .names__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 14, 10, 0.35) 0%, rgba(20, 14, 10, 0.15) 35%, rgba(20, 14, 10, 0.78) 100%);
}

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

.names .names__photo {
	transform: scale(1.06);
	transition: opacity 0.9s var(--ease), transform 2.4s var(--ease);
}

.names .names__photo.is-active {
	transform: scale(1);
}

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

.names .eyebrow {
	color: rgb(214, 170, 132);
}

.names .section-title {
	--doodle: var(--lime);
}

.names .names__title {
	color: rgba(255, 255, 255, 0.4);
}

.names .names__item:hover .names__title,
.names .names__item:focus .names__title,
.names .names__item.is-active .names__title {
	color: #fff;
}

.names .names__num {
	color: rgb(var(--lime));
}

.names .names__price {
	color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 990px) {
	.names__list {
		max-width: 40rem;
	}
}

/* How each one is worn. */
.look {
	display: grid;
	gap: 1.25rem;
	padding-block: 2rem;
	border-top: 1px solid rgb(var(--line));
}

.look__media {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border-radius: var(--r-panel);
	background: rgb(var(--stone));
}

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

.look__title {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
}

.look__num {
	color: rgb(var(--cognac));
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
}

.cards--pair {
	grid-template-columns: repeat(2, 1fr) !important;
}

@media (min-width: 990px) {
	.look {
		grid-template-columns: 1fr 1fr;
		align-items: center;
		gap: 4rem;
		padding-block: 3rem;
	}

	.look--flip .look__media {
		order: 2;
	}

	.look__media {
		aspect-ratio: 5 / 6;
	}
}

/* Quick add on product cards. */
.card {
	position: relative;
	container-type: inline-size;
}

.card__add {
	position: absolute;
	top: calc((100% - 4rem) - 3.4rem);
	right: 0.6rem;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--glass-edge);
	border-radius: 50%;
	background: var(--glass-strong);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: rgb(var(--ink));
	transition: transform 0.3s var(--ease), background-color 0.2s;
}

.card .card-media {
	position: relative;
}

.card__add {
	top: calc(125cqw - 3.1rem);
	bottom: auto;
}

.card__add:hover {
	transform: scale(1.08);
}

/* Neon highlight: the + turns lime-ringed once the bag is added. */
.card__add.added {
	box-shadow: 0 0 0 2px rgb(var(--lime));
}

.card .added_to_cart {
	display: none;
}

/* Story on espresso. */
.story__step {
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.story__media {
	aspect-ratio: 4 / 5;
}

/* Band: espresso with ivory words; handwritten lines get the neon. */
.band__item {
	font-weight: 450;
}

/* Footer: espresso, ivory text. */
.site-footer__nav .menu > li > a {
	color: rgb(214, 170, 132);
}

/* 17. Seamless motion ------------------------------------------------------------------ */

.js-motion [data-reveal] {
	transition: opacity 1.1s var(--ease), transform 1.2s var(--ease), filter 1.1s var(--ease);
	transition-delay: calc(var(--i, 0) * 90ms);
}

/* Photos open like a curtain while settling from a slight zoom. */
.js-motion [data-reveal='unmask'] {
	opacity: 1 !important;
	transform: none !important;
}

.js-motion [data-reveal='unmask'] > *,
.js-motion [data-reveal='unmask'] > a > .cats__media {
	transition: clip-path 1.3s var(--ease);
	transition-delay: calc(var(--i, 0) * 120ms);
}

.js-motion [data-reveal='unmask']:not(.is-in) > *,
.js-motion [data-reveal='unmask']:not(.is-in) > a > .cats__media {
	clip-path: inset(100% 0 0 0);
}

.js-motion [data-reveal='unmask'] img {
	transition: transform 1.8s var(--ease);
}

.js-motion [data-reveal='unmask']:not(.is-in) img {
	transform: scale(1.18);
}

.js-motion .cats__tile[data-reveal='unmask']:not(.is-in) .cats__label {
	opacity: 0;
	transform: translateY(0.75rem);
}

.cats__label {
	transition: opacity 0.8s var(--ease) 0.6s, transform 0.8s var(--ease) 0.6s;
}

/* Header tucks away while scrolling down, returns on the way up. */
.site-header {
	transition: transform 0.6s var(--ease);
}

.site-header.is-tucked {
	transform: translateY(calc(-100% - var(--gap) - 1rem));
}

/* Page arrives softly. */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.js-motion .look__media img,
		.js-motion .story__media img {
			animation: drift-y linear both;
			animation-timeline: view();
			animation-range: cover 0% cover 100%;
		}
	}
}

@keyframes page-in {
	from {
		opacity: 0;
	}
}

@keyframes drift-y {
	from {
		transform: translateY(-4%) scale(1.08);
	}
	to {
		transform: translateY(4%) scale(1.08);
	}
}
