/* Irrawaddy Leather: professional theme redesign mockups.
   One stylesheet shared by home, shop, product, cart and about.
   White page, near-black type, one jade accent used only on primary buttons.
   Tokens, type scale and spacing follow review/professional-critique.md section 3. */

@font-face {
	font-family: "EB Garamond";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/eb-garamond-latin-400-normal.woff2") format("woff2");
}

@font-face {
	font-family: "EB Garamond";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("fonts/eb-garamond-latin-500-normal.woff2") format("woff2");
}

:root {
	--ink: #141414;
	--muted: #5c5c58; /* 6.6:1 on white */
	--bg: #ffffff;
	--surface: #f3f3f1;
	--line: #e3e3e0;
	--edge: #8c8c87; /* control borders, 3.3:1 non-text */
	--accent: #0c6b58;
	--accent-hover: #08503f;
	--error: #b3261e;
	--serif: "EB Garamond", Georgia, serif;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--gutter: 16px;
	--header-h: 56px;
	--radius: 2px;
	--pop: 0 12px 32px rgb(20 20 20 / 0.18);
}

@media (min-width: 768px) {
	:root {
		--gutter: 24px;
		--header-h: 72px;
	}
}

/* ---------- Base ---------- */

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

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

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	font: 400 1rem / 1.6 var(--sans);
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

/* A class that sets display must not beat the hidden attribute */
.line[hidden],
.mini-line[hidden] {
	display: none;
}

main {
	flex: 1;
}

main:focus {
	outline: none;
}

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

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

h1,
h2,
h3,
h4 {
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.15;
}

h1 {
	font-size: 1.875rem;
	line-height: 1.2;
}

h2 {
	font-size: 1.375rem;
	line-height: 1.3;
}

h3 {
	font-size: 1.125rem;
	line-height: 1.3;
}

@media (min-width: 900px) {
	h1 {
		font-size: 2.5rem;
		line-height: 1.1;
	}

	h2 {
		font-size: 1.875rem;
		line-height: 1.2;
	}
}

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

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

img {
	height: auto;
}

a {
	color: inherit;
	text-underline-offset: 3px;
}

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

button {
	cursor: pointer;
}

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

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

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip {
	position: absolute;
	top: -100px;
	left: 8px;
	z-index: 100;
	padding: 12px 16px;
	background: var(--ink);
	color: #fff;
}

.skip:focus {
	top: 8px;
}

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

.num {
	font-variant-numeric: tabular-nums;
}

/* ---------- Top of page: demo bar and header ---------- */

.demo-bar {
	padding: 4px var(--gutter);
	background: var(--surface);
	color: var(--ink);
	font-size: 0.75rem;
	line-height: 1rem;
	text-align: center;
}

.demo-short {
	display: none;
}

@media (min-width: 768px) {
	.demo-bar {
		padding-block: 6px;
	}
}

@media (max-width: 767px) {
	.demo-long {
		display: none;
	}

	.demo-short {
		display: inline;
	}
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	padding-top: env(safe-area-inset-top, 0px);
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}

.header-row {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 16px;
	min-height: calc(var(--header-h) - 1px);
}

.brand {
	font: 500 1.125rem / 1 var(--serif);
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
}

.main-nav {
	display: none;
}

.main-nav ul {
	display: flex;
	gap: 32px;
}

.main-nav a {
	display: flex;
	align-items: center;
	min-height: 44px;
	font-size: 1rem;
	text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 8px;
}

.header-actions {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 4px;
	margin-right: -12px;
}

.hbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 0;
	background: none;
	font-size: 0.875rem;
	text-decoration: none;
}

.hbtn svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hbtn .lbl {
	display: none;
}

.hbtn.saved {
	display: none;
}

.count {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 4px;
	border-radius: 10px;
	background: var(--ink);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
	.brand {
		font-size: 1.375rem;
	}

	.header-actions {
		margin-right: -12px;
	}
}

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

	.main-nav {
		display: block;
	}

	.hbtn .lbl {
		display: inline;
	}

	.hbtn.saved {
		display: inline-flex;
	}

	.hbtn.menu-btn {
		display: none;
	}
}

/* ---------- Buttons: the accent lives on primary actions only ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 32px;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	background: var(--accent);
	color: #fff;
	font: 600 1rem / 1 var(--sans);
	letter-spacing: 0.02em;
	text-decoration: none;
}

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

.btn-lg {
	min-height: 52px;
}

.btn-block {
	width: 100%;
}

.btn-ghost {
	background: transparent;
	border-color: var(--ink);
	color: var(--ink);
}

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

.btn-light {
	border-color: #fff;
	background: #fff;
	color: var(--ink);
}

.btn-light:hover {
	border-color: #d9d9d6;
	background: #d9d9d6;
}

.btn svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.link-btn {
	padding: 4px 0;
	border: 0;
	background: none;
	font-size: 0.875rem;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.more {
	font-size: 1rem;
	font-weight: 600;
}

/* ---------- Sections and headings ---------- */

.section {
	padding-top: 64px;
}

main > .section:last-child,
main > .section:last-of-type {
	padding-bottom: 64px;
}

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.section-head .more {
	display: none;
}

.section-head .more.keep {
	display: inline;
	font-size: 0.875rem;
}

.mobile-more {
	margin-top: 24px;
}

@media (min-width: 900px) {
	.section {
		padding-top: 96px;
	}

	main > .section:last-child,
	main > .section:last-of-type {
		padding-bottom: 96px;
	}

	.section-head {
		margin-bottom: 32px;
	}

	.section-head .more {
		display: inline;
	}

	.mobile-more {
		display: none;
	}
}

.page-head {
	padding-block: 32px 24px;
}

.page-head p {
	margin-top: 8px;
	color: var(--muted);
}

.page-head .lead {
	margin-top: 16px;
	color: var(--ink);
}

@media (min-width: 900px) {
	.page-head {
		padding-block: 64px 32px;
	}
}

/* ---------- Product card and grid ---------- */

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

.grid--four {
	container-type: inline-size;
}

@media (min-width: 900px) {
	.grid {
		gap: 48px 24px;
	}

	.grid--four,
	.grid--shop {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.grid--shop {
		container-type: inline-size;
	}

	.grid--shop .card--wide {
		grid-column: span 2;
	}

	.grid--shop.is-filtered {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.grid--shop.is-filtered .card--wide {
		grid-column: auto;
	}

	/* Wide card image matches the height of its 4:5 neighbours */
	.grid--shop:not(.is-filtered) .card--wide .card-media img {
		aspect-ratio: auto;
		height: calc((100cqw - 72px) / 4 * 1.25);
	}
}

.card {
	position: relative;
	min-width: 0;
}

.card-media {
	position: relative;
	overflow: hidden;
	background: var(--surface);
}

.card-img {
	display: block;
}

.card-media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: var(--surface);
}

.card-media .alt {
	position: absolute;
	inset: 0;
	height: 100%;
	opacity: 0;
}

.card-name {
	margin-top: 12px;
	font-size: 1.125rem;
	line-height: 1.3;
}

.card-name a {
	text-decoration: none;
}

.card-name a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.card-price {
	margin-top: 2px;
	font-size: 0.875rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

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

/* Heart and quick-add sit on the image, 40px hit area with a 32px white disc */
.heart,
.qa-btn {
	position: absolute;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: none;
}

.heart {
	top: 4px;
	right: 4px;
}

.qa-btn {
	right: 4px;
	bottom: 4px;
}

.heart::before,
.qa-btn::before {
	content: "";
	position: absolute;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
}

.heart svg,
.qa-btn svg {
	position: relative;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: var(--ink);
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.heart[aria-pressed="true"] svg {
	fill: var(--ink);
}

/* Desktop: hover or focus reveals a white size bar over the image bottom */
.qa-bar {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 3;
	display: none;
	gap: 4px;
	padding: 8px;
	background: #fff;
	border-top: 1px solid var(--line);
}

.qa-bar button {
	flex: 1;
	min-width: 0;
	height: 40px;
	padding: 0;
	border: 1px solid var(--edge);
	border-radius: var(--radius);
	background: #fff;
	font-size: 0.875rem;
	font-weight: 600;
}

.qa-bar button:hover {
	border-color: var(--ink);
}

@media (min-width: 900px) {
	.card.is-open .qa-bar {
		display: flex;
	}

	/* Open by tap or click: the "+" becomes a close mark above the size bar */
	.card.is-open .qa-btn {
		bottom: 64px;
	}

	.card.is-open .qa-btn svg {
		transform: rotate(45deg);
	}
}

@media (min-width: 900px) and (hover: hover) {
	.card:hover .qa-bar,
	.card:focus-within .qa-bar {
		display: flex;
	}

	/* The size bar replaces the "+" while hovering. It stays in the tab order. */
	.card:not(.is-open):hover .qa-btn,
	.card:not(.is-open):focus-within .qa-btn {
		opacity: 0;
		pointer-events: none;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.card-media .alt {
		transition: opacity 0.15s;
	}

	.btn,
	.chip,
	.size {
		transition:
			background-color 0.15s,
			border-color 0.15s,
			color 0.15s;
	}
}

@media (hover: hover) {
	.card:hover .alt {
		opacity: 1;
	}
}

/* ---------- Home: hero ---------- */

.hero {
	position: relative;
	background: #060607;
	color: #fff;
}

.hero picture,
.hero img {
	width: 100%;
}

.hero :focus-visible {
	outline-color: #fff;
}

.hero img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.hero-copy {
	padding: 12px var(--gutter) 0;
	background: var(--bg);
	color: var(--ink);
}

.hero-copy h1 {
	font-size: 2.25rem;
	line-height: 1.05;
	text-wrap: balance;
}

.hero-copy p {
	margin-top: 4px;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--muted);
}

.hero-copy .btn {
	width: 100%;
	margin-top: 12px;
}

.hero-copy .hero-more {
	display: none;
}

@media (min-width: 768px) {
	.hero {
		height: min(88vh, 760px);
		min-height: 520px;
		overflow: hidden;
	}

	.hero picture {
		position: absolute;
		inset: 0;
		height: 100%;
	}

	.hero img {
		height: 100%;
		aspect-ratio: auto;
		object-position: 85% 50%;
	}

	.hero::after {
		content: "";
		position: absolute;
		inset: auto 0 0;
		height: 40%;
		background: linear-gradient(to top, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0));
		pointer-events: none;
	}

	.hero-copy {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1;
		width: 100%;
		max-width: 1320px;
		margin-inline: auto;
		padding: 0 var(--gutter) 64px;
		background: none;
		color: #fff;
	}

	.hero-copy h1 {
		max-width: 11em;
		font-size: 3.5rem;
	}

	.hero-copy p {
		max-width: 30em;
		margin-top: 16px;
		font-size: 1.125rem;
		line-height: 1.5;
		color: rgb(255 255 255 / 0.86);
		text-wrap: balance;
	}

	.hero-copy .btn {
		width: auto;
		margin-top: 32px;
		min-height: 52px;
	}

	.hero-copy .hero-more {
		display: inline;
	}
}

/* ---------- Home: craft, proof, facts ---------- */

.craft-media {
	display: grid;
	gap: 12px;
}

.craft-media img {
	width: 100%;
	object-fit: cover;
	background: var(--surface);
}

.craft-media .shot-b {
	display: none;
}

.craft-media .shot-a {
	aspect-ratio: 4 / 5;
	object-position: 26% 50%;
}

.craft-text {
	display: grid;
	gap: 16px;
	margin-top: 32px;
}

.craft-text .copy {
	display: grid;
	gap: 16px;
	max-width: 65ch;
}

.craft-text .copy p {
	font-size: 1.125rem;
}

.spec {
	display: grid;
	gap: 0;
	margin-top: 8px;
	max-width: 65ch;
	border-top: 1px solid var(--line);
}

.spec div {
	display: grid;
	grid-template-columns: 7rem 1fr;
	gap: 16px;
	padding-block: 12px;
	border-bottom: 1px solid var(--line);
	font-size: 1rem;
}

.spec dt {
	color: var(--muted);
}

.spec dd {
	margin: 0;
}

@media (min-width: 900px) {
	.craft-media {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 24px;
	}

	.craft-media img {
		height: 600px;
	}

	.craft-media .shot-a {
		aspect-ratio: auto;
		object-position: 50% 50%;
	}

	.craft-media .shot-b {
		display: block;
	}

	.craft-text {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: 24px;
		margin-top: 48px;
	}
}

.proof {
	display: flex;
	gap: 12px;
	margin-inline: calc(var(--gutter) * -1);
	padding-inline: var(--gutter);
	overflow-x: auto;
	scroll-padding-inline: var(--gutter);
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.proof::-webkit-scrollbar {
	display: none;
}

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

.quote {
	display: flex;
	flex: 0 0 85%;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	padding: 24px;
	background: var(--surface);
	scroll-snap-align: start;
}

.quote blockquote {
	font: 400 1.125rem / 1.45 var(--serif);
}

.quote figcaption {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.875rem;
	line-height: 1.4;
}

.quote figcaption img {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.quote figcaption strong {
	display: block;
	font-weight: 600;
}

.quote figcaption span {
	color: var(--muted);
}

@media (min-width: 900px) {
	.proof {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
	}

	.quote {
		flex: none;
		padding: 32px;
	}

	.quote blockquote {
		font-size: 1.375rem;
	}
}

.facts {
	display: grid;
	margin-top: 32px;
	border-top: 1px solid var(--line);
}

.facts > div {
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.facts strong {
	display: block;
	font: 400 1.375rem / 1.3 var(--serif);
}

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

@media (min-width: 900px) {
	.facts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin-top: 64px;
		border-top: 0;
	}

	.facts > div {
		padding: 8px 32px;
		border-bottom: 0;
		border-left: 1px solid var(--line);
	}

	.facts > div:first-child {
		padding-left: 0;
		border-left: 0;
	}
}

/* ---------- Shop: toolbar ---------- */

.toolbar {
	display: grid;
	gap: 8px;
	padding-block: 12px;
	border-bottom: 1px solid var(--line);
}

.chips {
	display: flex;
	gap: 8px;
	margin-inline: calc(var(--gutter) * -1);
	padding-inline: var(--gutter);
	overflow-x: auto;
	scrollbar-width: none;
}

.chips::-webkit-scrollbar {
	display: none;
}

.chip {
	flex: none;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--edge);
	border-radius: var(--radius);
	background: var(--bg);
	font-size: 0.875rem;
	font-weight: 500;
	white-space: nowrap;
}

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

.chip[aria-pressed="true"] {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

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

.sort {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
}

.sort select {
	min-height: 40px;
	padding: 0 32px 0 12px;
	border: 1px solid var(--edge);
	border-radius: var(--radius);
	background: var(--bg)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23141414' stroke-width='1.5'/%3E%3C/svg%3E")
		no-repeat right 12px center;
	font-size: 0.875rem;
	appearance: none;
}

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

.shop-body {
	padding-block: 24px 64px;
}

@media (min-width: 900px) {
	.toolbar {
		grid-template-columns: 1fr auto;
		align-items: center;
		padding-block: 16px;
	}

	.chips {
		margin-inline: 0;
		padding-inline: 0;
	}

	.tool-end {
		gap: 32px;
	}

	.shop-body {
		padding-block: 32px 96px;
	}
}

/* ---------- Dialogs, bottom sheet, toast ---------- */

dialog {
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--ink);
	box-shadow: var(--pop);
}

dialog::backdrop {
	background: rgb(20 20 20 / 0.55);
}

.dialog-close {
	position: absolute;
	top: 4px;
	right: 4px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
}

.dialog-close svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
}

.sheet {
	position: fixed;
	bottom: 0;
	width: 100%;
	max-width: none;
	margin: auto 0 0;
	padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
	border-radius: var(--radius) var(--radius) 0 0;
}

.sheet-head {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 16px;
	align-items: center;
	padding-right: 48px;
}

.sheet-head img {
	width: 64px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.sheet-head h2 {
	font-size: 1.125rem;
}

.sheet .size-row {
	margin-top: 24px;
}

.sheet .btn {
	margin-top: 16px;
}

.sheet .sheet-link {
	display: block;
	margin-top: 12px;
	font-size: 0.875rem;
	text-align: center;
}

.menu {
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: calc(8px + env(safe-area-inset-top, 0px)) var(--gutter)
		env(safe-area-inset-bottom, 0px);
	border-radius: 0;
}

.menu .dialog-close {
	top: calc(8px + env(safe-area-inset-top, 0px));
	right: calc(var(--gutter) - 10px);
}

.menu-brand {
	display: flex;
	align-items: center;
	min-height: 48px;
	font: 500 1.125rem / 1 var(--serif);
	letter-spacing: 0.01em;
}

.menu nav {
	padding-top: 16px;
}

.menu a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font: 400 1.875rem / 1.2 var(--serif);
	text-decoration: none;
}

.zoom {
	width: 100vw;
	max-width: none;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 56px 16px 16px;
	border-radius: 0;
	background: var(--surface);
	box-shadow: none;
}

.zoom img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	cursor: zoom-out;
}

.toast {
	position: fixed;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	left: 50%;
	z-index: 60;
	display: flex;
	align-items: center;
	gap: 12px;
	width: max-content;
	max-width: calc(100vw - 32px);
	padding: 8px 16px 8px 8px;
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	font-size: 0.875rem;
	line-height: 1.35;
	transform: translateX(-50%);
}

.toast[hidden] {
	display: none;
}

.toast img {
	width: 36px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.toast strong {
	display: block;
	font-weight: 600;
}

.toast a {
	margin-left: 8px;
	font-weight: 600;
}

@media (max-width: 899px) {
	body.has-dock .toast {
		bottom: calc(80px + env(safe-area-inset-bottom, 0px));
	}
}

/* ---------- Size buttons (shared by quick-add sheet and product page) ---------- */

.size-row {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 8px;
}

.size {
	height: 48px;
	padding: 0;
	border: 1px solid var(--edge);
	border-radius: var(--radius);
	background: var(--bg);
	font-size: 1rem;
	font-weight: 600;
}

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

.size[aria-pressed="true"] {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.size[aria-disabled="true"] {
	border-color: var(--line);
	color: var(--edge);
	text-decoration: line-through;
	cursor: not-allowed;
}

.field-msg {
	margin-top: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--error);
}

.field-msg:empty {
	display: none;
}

/* ---------- Product page ---------- */

.crumbs {
	padding-block: 16px;
	font-size: 0.875rem;
	color: var(--muted);
}

.crumbs a {
	text-decoration: none;
}

.crumbs [aria-current="page"] {
	color: var(--ink);
}

.crumbs a:hover {
	text-decoration: underline;
}

.crumbs li {
	display: inline;
}

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

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

.pdp-gallery {
	display: flex;
	margin-inline: calc(var(--gutter) * -1);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.pdp-gallery::-webkit-scrollbar {
	display: none;
}

.pdp-gallery figure {
	flex: 0 0 100%;
	scroll-snap-align: start;
}

.zoom-btn {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: var(--surface);
	cursor: zoom-in;
}

.pdp-gallery img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.pdp-count {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 0.875rem;
	color: var(--muted);
}

.pdp-count .cap {
	text-align: right;
}

.pdp-cap {
	display: none;
	margin-top: 12px;
	font-size: 0.875rem;
	color: var(--muted);
}

.pdp-name {
	font-size: 1.875rem;
	line-height: 1.15;
}

.pdp-price {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-top: 8px;
}

.pdp-price strong {
	font-size: 1.375rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.pdp-price span {
	font-size: 0.875rem;
	color: var(--muted);
}

.pdp-desc {
	margin-top: 16px;
	font-size: 1.125rem;
	line-height: 1.5;
}

.opt {
	margin-top: 24px;
}

.opt-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 8px;
	font-size: 0.875rem;
}

.opt-head strong {
	font-weight: 600;
}

.swatches {
	display: flex;
	align-items: center;
	gap: 12px;
}

.swatch {
	position: relative;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid var(--edge);
	border-radius: 50%;
}

.swatch[aria-pressed="true"] {
	box-shadow:
		0 0 0 2px var(--bg),
		0 0 0 4px var(--ink);
}

.swatch.black {
	background: #1b1b1b;
}

.swatch.cognac {
	background: #9a5a32;
}

.swatch-name {
	margin-left: 4px;
	font-size: 0.875rem;
}

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

.mini {
	margin-top: 8px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.mini summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	font-size: 1rem;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.mini summary::-webkit-details-marker,
.acc summary::-webkit-details-marker {
	display: none;
}

.mini summary::after,
.acc summary::after {
	content: "+";
	font: 400 1.5rem / 1 var(--sans);
}

.mini[open] summary::after,
.acc[open] summary::after {
	content: "\2212";
}

@supports (content: "x" / "") {
	.mini summary::after,
	.acc summary::after {
		content: "+" / "";
	}

	.mini[open] summary::after,
	.acc[open] summary::after {
		content: "\2212" / "";
	}
}

.mini-body {
	padding-bottom: 16px;
}

.unit {
	display: inline-flex;
	margin-bottom: 8px;
	border: 1px solid var(--edge);
	border-radius: var(--radius);
}

.unit button {
	min-width: 44px;
	height: 32px;
	padding: 0 8px;
	border: 0;
	background: none;
	font-size: 0.875rem;
	font-weight: 600;
}

.unit button[aria-pressed="true"] {
	background: var(--ink);
	color: #fff;
}

.measure {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
}

.measure th,
.measure td {
	padding: 8px 4px;
	border-bottom: 1px solid var(--line);
	text-align: right;
}

.measure th:first-child {
	padding-left: 8px;
	text-align: left;
}

.measure td:last-child,
.measure th:last-child {
	padding-right: 8px;
}

.measure thead th {
	border-bottom-color: var(--ink);
	font-weight: 600;
	line-height: 1.3;
}

.measure thead th i {
	display: block;
	font-style: normal;
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--muted);
}

.measure tbody th {
	font-weight: 600;
}

.measure tbody th small {
	display: block;
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--muted);
}

.measure tr.you > * {
	background: var(--surface);
}

.measure-note {
	margin-top: 8px;
	font-size: 0.875rem;
	color: var(--muted);
}

.buy {
	display: grid;
	gap: 8px;
	margin-top: 24px;
}

[data-save][aria-pressed="true"] svg {
	fill: currentColor;
}

.measure-fig {
	margin-top: 16px;
	display: grid;
	grid-template-columns: 152px 1fr;
	gap: 16px;
	align-items: center;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--muted);
}

.measure-fig svg {
	width: 152px;
	height: auto;
}

.measure-fig .outline {
	fill: var(--surface);
	stroke: var(--ink);
	stroke-width: 1.5;
	stroke-linejoin: round;
}

.measure-fig .dim {
	fill: none;
	stroke: var(--edge);
	stroke-width: 1.5;
	stroke-dasharray: 4 3;
}

.measure-fig .dot {
	fill: var(--ink);
}

.measure-fig text {
	fill: #fff;
	font: 600 18px var(--sans);
}

.delivery {
	margin-top: 16px;
	padding: 16px;
	background: var(--surface);
	font-size: 0.875rem;
	line-height: 1.5;
}

.delivery p + p {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid var(--line);
}

.acc {
	border-bottom: 1px solid var(--line);
}

.acc:first-of-type {
	margin-top: 24px;
	border-top: 1px solid var(--line);
}

.acc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	padding-block: 12px;
	font: 400 1.375rem / 1.3 var(--serif);
	list-style: none;
	cursor: pointer;
}

.acc-body {
	display: grid;
	gap: 16px;
	padding-bottom: 24px;
	font-size: 1rem;
	color: var(--muted);
}

.acc-body .spec {
	margin-top: 0;
	max-width: none;
}

.acc-body .spec div {
	grid-template-columns: 6rem 1fr;
	padding-block: 8px;
	font-size: 0.875rem;
}

.acc-body .spec dd {
	color: var(--ink);
}

.acc-body img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.reviews-head {
	display: grid;
	gap: 12px;
}

.rating {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 1rem;
	color: var(--muted);
}

.rating strong {
	font: 400 2.5rem / 1 var(--serif);
	color: var(--ink);
}

.photo-strip {
	display: flex;
	gap: 8px;
	margin: 24px calc(var(--gutter) * -1) 0;
	padding-inline: var(--gutter);
	overflow-x: auto;
	scrollbar-width: none;
}

.photo-strip::-webkit-scrollbar {
	display: none;
}

.photo-strip button {
	flex: none;
	width: 120px;
	height: 120px;
	padding: 0;
	border: 0;
	background: var(--surface);
}

.photo-strip img {
	width: 120px;
	height: 120px;
	object-fit: cover;
}

.review-list {
	display: grid;
	gap: 0;
	margin-top: 32px;
	border-top: 1px solid var(--line);
}

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

.review h3 {
	font: 600 1rem / 1.4 var(--sans);
}

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

.review .verdict {
	margin-top: 12px;
	font-size: 0.875rem;
	font-weight: 600;
}

.review p {
	margin-top: 4px;
	max-width: 52ch;
}

.reviews-more {
	margin-top: 24px;
}

/* The dock is a layout row. On mobile the page scrolls inside .shell-scroll and
   the dock is the last row of .shell, so it never covers content, the home
   indicator or the toast. From 900px up the dock is hidden and the document
   scrolls as normal. */
.shell,
.shell-scroll {
	display: contents;
}

.buybar {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	padding: 7px var(--gutter) calc(8px + env(safe-area-inset-bottom, 0px));
	background: var(--bg);
	border-top: 1px solid var(--line);
}

.buybar .p {
	line-height: 1.2;
}

.buybar .p strong {
	display: block;
	font-size: 1.125rem;
	font-variant-numeric: tabular-nums;
}

.buybar .p span {
	font-size: 0.75rem;
	color: var(--muted);
}

.buybar .btn {
	flex: 1;
	max-width: 220px;
}

@media (min-width: 900px) {
	.crumbs {
		padding-block: 24px 16px;
	}

	.pdp {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 64px;
		align-items: start;
	}

	.pdp-gallery {
		display: grid;
		gap: 8px;
		margin-inline: 0;
		overflow: visible;
	}

	.pdp-count {
		display: none;
	}

	.pdp-cap {
		display: block;
	}

	/* Sticky buy panel. It is taller than most laptop screens once an accordion
	   is open, so it scrolls inside itself instead of hiding its lower half.
	   The 6px side padding keeps focus rings and the colour ring from clipping. */
	.pdp-panel {
		position: sticky;
		top: calc(var(--header-h) + 24px);
		max-width: 452px;
		max-height: calc(100vh - var(--header-h) - 48px);
		margin-inline: -6px;
		padding-inline: 6px;
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
		scrollbar-color: var(--edge) transparent;
	}

	.pdp-name {
		font-size: 2.5rem;
		line-height: 1.1;
	}

	.reviews-head {
		grid-template-columns: 1fr auto;
		align-items: baseline;
	}

	.photo-strip {
		margin-inline: 0;
		padding-inline: 0;
	}

	.review-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 48px;
		border-top: 0;
	}

	.review {
		padding-block: 24px 0;
		border-top: 1px solid var(--ink);
		border-bottom: 0;
	}

	.buybar {
		display: none;
	}
}

@media (max-width: 899px) {
	body.has-dock {
		height: 100dvh;
		min-height: 0;
		overflow: hidden;
	}

	.shell {
		display: flex;
		flex-direction: column;
		height: 100%;
		min-height: 0;
	}

	.shell-scroll {
		display: flex;
		flex: 1;
		flex-direction: column;
		min-height: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		scroll-padding-top: calc(var(--header-h) + 16px);
	}
}

/* ---------- Cart and checkout ---------- */

.frame-tag {
	display: inline-block;
	margin-bottom: 24px;
	padding: 4px 8px;
	border: 1px dashed var(--edge);
	border-radius: var(--radius);
	font:
		500 0.75rem / 1.4 ui-monospace,
		"Cascadia Mono",
		Menlo,
		monospace;
	color: var(--muted);
}

.frame {
	padding-block: 32px 64px;
}

.frame + .frame {
	border-top: 1px solid var(--line);
}

.frame h1 {
	margin-bottom: 24px;
}

.frame h1 .muted {
	font-size: 1.375rem;
}

.cart {
	display: grid;
	gap: 32px;
}

.lines {
	border-top: 1px solid var(--line);
}

.line {
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr) auto;
	gap: 16px;
	padding-block: 24px;
	border-bottom: 1px solid var(--line);
}

.line img {
	width: 80px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: var(--surface);
}

.line h3 {
	font-size: 1.125rem;
}

.line h3 a {
	text-decoration: none;
}

.line h3 a:hover {
	text-decoration: underline;
}

.line .meta {
	margin-top: 2px;
	font-size: 0.875rem;
	color: var(--muted);
}

.line-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 12px;
}

.qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--edge);
	border-radius: var(--radius);
}

.qty button {
	width: 40px;
	height: 40px;
	border: 0;
	background: none;
	font-size: 1.125rem;
}

.qty button:hover {
	background: var(--surface);
}

.qty output {
	min-width: 32px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.line-total {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.cart-foot {
	padding-top: 16px;
	font-size: 1rem;
}

.summary {
	padding: 24px;
	background: var(--surface);
}

.summary h2 {
	font-size: 1.375rem;
}

.totals {
	margin-top: 16px;
}

.totals > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-block: 8px;
	font-size: 1rem;
}

.totals dt {
	color: var(--muted);
}

.totals dd {
	margin: 0;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.ship-progress {
	margin-top: 8px;
	font-size: 0.875rem;
	color: var(--muted);
}

.ship-progress .bar {
	height: 2px;
	margin-top: 8px;
	background: var(--edge);
}

.ship-progress .bar i {
	display: block;
	height: 100%;
	background: var(--ink);
}

.grand {
	margin-top: 24px;
}

.grand .row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.grand .label {
	font-weight: 600;
}

.grand .label small {
	display: block;
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--muted);
}

.grand .amount {
	font: 400 1.875rem / 1 var(--serif);
	font-variant-numeric: tabular-nums;
}

.grand .eta {
	margin-top: 12px;
	font-size: 0.875rem;
}

.summary .btn {
	margin-top: 24px;
}

.trust {
	display: grid;
	gap: 8px;
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--muted);
}

.mini-lines {
	display: grid;
	gap: 12px;
	margin-top: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.mini-line {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	font-size: 0.875rem;
}

.mini-line img {
	width: 48px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.mini-line strong {
	display: block;
	font: 400 1rem / 1.3 var(--serif);
}

.mini-line span {
	color: var(--muted);
}

.show-order {
	margin-bottom: 24px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.show-order summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	font-size: 1rem;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

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

.show-order summary span:last-child {
	font-variant-numeric: tabular-nums;
}

.show-order .mini-lines {
	margin-top: 0;
	padding-bottom: 24px;
	border-bottom: 0;
}

.steps-ind {
	display: flex;
	gap: 24px;
	margin-bottom: 32px;
	border-bottom: 1px solid var(--line);
	font-size: 1rem;
}

.steps-ind li {
	padding: 0 0 12px;
	margin-bottom: -1px;
	border-bottom: 2px solid transparent;
	color: var(--muted);
}

.steps-ind li[aria-current="step"] {
	border-bottom-color: var(--ink);
	color: var(--ink);
	font-weight: 600;
}

.steps-ind li span {
	margin-right: 8px;
	font-variant-numeric: tabular-nums;
}

.form-grid {
	display: grid;
	gap: 16px;
}

.fld label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.875rem;
	font-weight: 600;
}

.fld label small {
	font-weight: 400;
	color: var(--muted);
}

.fld input,
.fld select,
.fld textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px;
	border: 1px solid var(--edge);
	border-radius: var(--radius);
	background: var(--bg);
	font-size: 1rem;
}

.fld select {
	padding-right: 32px;
	background: var(--bg)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23141414' stroke-width='1.5'/%3E%3C/svg%3E")
		no-repeat right 14px center;
	appearance: none;
}

.fld textarea {
	display: block;
	resize: vertical;
}

.fld input:hover,
.fld select:hover,
.fld textarea:hover {
	border-color: var(--ink);
}

.form-h {
	margin-top: 32px;
	font-size: 1.375rem;
}

.form-actions {
	display: grid;
	gap: 12px;
	margin-top: 8px;
}

.form-actions .hint,
.hint {
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--muted);
}

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

.review-block:first-of-type {
	border-top: 1px solid var(--line);
}

.review-block .totals {
	margin-top: 8px;
}

.only-mobile {
	display: block;
}

@media (min-width: 900px) {
	.only-mobile {
		display: none;
	}
}

.review-block h3 {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	font-size: 1.125rem;
}

.review-block h3 a {
	font: 400 0.875rem var(--sans);
}

.review-block address {
	margin-top: 8px;
	font-style: normal;
	line-height: 1.55;
}

.review-block p {
	margin-top: 8px;
}

.order-ref {
	display: inline-block;
	padding: 4px 8px;
	background: var(--surface);
	font:
		600 1rem / 1.4 ui-monospace,
		"Cascadia Mono",
		Menlo,
		monospace;
	letter-spacing: 0.02em;
}

.pay-box {
	margin-top: 8px;
	padding: 16px;
	background: var(--surface);
	font-size: 1rem;
}

.pay-box strong {
	display: block;
	margin-bottom: 4px;
}

.thanks {
	max-width: 760px;
	padding: 32px 24px;
	border: 1px solid var(--ink);
}

.thanks h2 {
	font-size: 1.875rem;
}

.thanks .ref {
	margin-top: 8px;
	color: var(--muted);
}

.thanks .ref + .ref {
	margin-top: 4px;
}

.next-list {
	display: grid;
	gap: 0;
	margin-top: 24px;
	counter-reset: n;
	border-top: 1px solid var(--line);
}

.next-list li {
	display: grid;
	grid-template-columns: 32px 1fr;
	gap: 8px;
	padding-block: 16px;
	border-bottom: 1px solid var(--line);
	counter-increment: n;
}

.next-list li::before {
	content: counter(n);
	font: 400 1.125rem / 1.2 var(--serif);
	color: var(--muted);
}

.next-list strong {
	display: block;
	font-weight: 600;
}

.next-list span {
	font-size: 1rem;
	color: var(--muted);
}

.thanks .fallback {
	margin-top: 24px;
	font-size: 1rem;
}

.checkout-summary {
	display: none;
}

@media (min-width: 900px) {
	.cart {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 64px;
		align-items: start;
	}

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

	.line {
		grid-template-columns: 96px minmax(0, 1fr) auto;
		gap: 24px;
	}

	.line img {
		width: 96px;
	}

	.show-order {
		display: none;
	}

	.checkout-summary {
		display: block;
	}

	.form-grid.addr {
		grid-template-columns: minmax(0, 1fr) 120px 120px;
	}

	.form-grid.addr .street {
		grid-column: 1 / -1;
	}

	.form-grid.who {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.form-grid.who .wide {
		grid-column: 1 / -1;
	}

	.thanks {
		padding: 48px;
	}
}

/* ---------- About ---------- */

.lead {
	max-width: 65ch;
	margin-top: 16px;
	font-size: 1.125rem;
	line-height: 1.55;
	color: var(--ink);
}

.about-hero {
	margin-top: 32px;
}

.about-hero img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: 50% 40%;
	background: var(--surface);
}

.about-facts {
	display: grid;
	margin-top: 32px;
	border-top: 1px solid var(--line);
}

.about-facts > div {
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.about-facts strong {
	display: block;
	font: 400 2.5rem / 1.1 var(--serif);
	font-variant-numeric: tabular-nums;
}

.about-facts span {
	font-size: 1rem;
	color: var(--muted);
}

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

.split .copy {
	display: grid;
	gap: 16px;
	align-content: start;
	max-width: 65ch;
}

.split img {
	width: 100%;
	object-fit: cover;
	background: var(--surface);
}

.split .shot {
	aspect-ratio: 3 / 2;
}

.cap {
	margin-top: 8px;
	font-size: 0.875rem;
	color: var(--muted);
}

.hours {
	display: grid;
	margin-top: 8px;
	border-top: 1px solid var(--line);
	font-variant-numeric: tabular-nums;
}

.hours div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-block: 12px;
	border-bottom: 1px solid var(--line);
	font-size: 1rem;
}

.hours dt {
	color: var(--muted);
}

.hours dd {
	margin: 0;
	font-weight: 600;
}

.hours .sum dt,
.hours .sum dd {
	color: var(--ink);
	font-weight: 600;
}

.about-people {
	display: grid;
	gap: 24px;
}

.about-people img {
	width: 100%;
	max-width: 360px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: var(--surface);
}

.id-block {
	margin-top: 8px;
	padding: 16px;
	background: var(--surface);
	font-size: 1rem;
	line-height: 1.6;
}

.cta-band {
	display: grid;
	gap: 16px;
	justify-items: start;
	padding: 32px 24px;
	background: var(--surface);
}

.cta-band p {
	font: 400 1.375rem / 1.3 var(--serif);
}

@media (min-width: 900px) {
	.about-hero img {
		aspect-ratio: 21 / 9;
	}

	.about-facts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin-top: 48px;
		border-top: 0;
	}

	.about-facts > div {
		padding: 8px 32px;
		border-bottom: 0;
		border-left: 1px solid var(--line);
	}

	.about-facts > div:first-child {
		padding-left: 0;
		border-left: 0;
	}

	.split {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: 64px;
		align-items: start;
	}

	.split.flip {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}

	.split.flip .copy {
		order: 2;
	}

	.about-people {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: 64px;
		align-items: start;
	}

	.cta-band {
		grid-template-columns: 1fr auto;
		align-items: center;
		padding: 48px;
	}
}

/* ---------- Shipping and returns ---------- */

.policy {
	display: grid;
	gap: 32px;
	padding-bottom: 64px;
}

.policy-body {
	max-width: 760px;
}

.policy-body section + section {
	margin-top: 48px;
	padding-top: 48px;
	border-top: 1px solid var(--line);
}

.policy-body h2 {
	margin-bottom: 16px;
}

.policy-body p + p {
	margin-top: 16px;
}

.policy-body .note {
	margin-top: 16px;
	font-size: 0.875rem;
	color: var(--muted);
}

.toc {
	display: none;
}

.rtable {
	width: 100%;
	margin-top: 24px;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.rtable th,
.rtable td {
	padding: 12px 16px 12px 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.rtable thead th {
	border-bottom-color: var(--ink);
	font-size: 0.875rem;
	font-weight: 600;
}

.rtable tbody th {
	font-weight: 400;
}

.rtable td:last-child,
.rtable th:last-child {
	padding-right: 0;
}

.rtable td,
.rtable thead th:not(:first-child) {
	white-space: nowrap;
}

.policy-list {
	margin-top: 0;
}

.policy-list div {
	display: grid;
	grid-template-columns: 9rem 1fr;
	gap: 16px;
	align-items: baseline;
}

.policy-list dd {
	margin: 0;
	font-weight: 400;
	text-align: left;
}

@media (min-width: 900px) {
	.policy {
		grid-template-columns: 200px minmax(0, 1fr);
		gap: 96px;
		padding-bottom: 96px;
	}

	.toc {
		display: block;
		position: sticky;
		top: calc(var(--header-h) + 24px);
		align-self: start;
	}

	.toc-title {
		margin-bottom: 12px;
		font-size: 0.875rem;
		font-weight: 600;
		color: var(--muted);
	}

	.toc li + li {
		margin-top: 8px;
	}

	.toc a {
		font-size: 1rem;
		text-decoration: none;
	}

	.toc a:hover {
		text-decoration: underline;
	}
}

/* ---------- Footer ---------- */

.foot {
	margin-top: auto;
	padding-block: 48px 32px;
	background: var(--ink);
	color: #ecece9;
}

.foot :focus-visible {
	outline-color: #fff;
}

.foot-grid {
	display: grid;
	gap: 32px;
}

.foot h2 {
	margin-bottom: 12px;
	font-size: 1.125rem;
	color: #fff;
}

.foot p,
.foot li {
	font-size: 1rem;
	line-height: 1.6;
}

.foot li + li {
	margin-top: 4px;
}

.foot a {
	text-decoration: none;
}

.foot a:hover {
	text-decoration: underline;
}

.foot .foot-logo {
	margin-bottom: 8px;
	font: 500 1.375rem / 1.2 var(--serif);
	color: #fff;
}

.foot .foot-id {
	margin-top: 16px;
	color: #b9b9b3;
}

.foot .foot-news p {
	max-width: 32ch;
	color: #b9b9b3;
}

.news-form {
	display: flex;
	gap: 8px;
	margin-top: 16px;
}

.news-form input {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 12px;
	border: 1px solid #6b6b66;
	border-radius: var(--radius);
	background: transparent;
	color: #fff;
	font-size: 1rem;
}

.news-form input::placeholder {
	color: #a4a49e;
}

.news-form .btn {
	padding: 0 24px;
}

.legal {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid #3a3a37;
	font-size: 0.75rem;
	line-height: 1.5;
	color: #a4a49e;
}

@media (min-width: 900px) {
	.foot {
		padding-block: 64px 32px;
	}

	.foot-grid {
		grid-template-areas: "brand shop help news";
		grid-template-columns: 1.3fr 0.8fr 0.8fr 1.4fr;
		gap: 48px;
	}

	.foot-brand {
		grid-area: brand;
	}

	.foot-shop {
		grid-area: shop;
	}

	.foot-help {
		grid-area: help;
	}

	.foot-news {
		grid-area: news;
	}

	.foot-grid.no-news {
		grid-template-areas: "brand shop help";
		grid-template-columns: 1.6fr 1fr 1fr;
	}
}
