/* ==========================================================================
   Baltimore in a Box: base, layout, header/footer, homepage
   Palette: Maryland flag red + gold, ink black, kraft-paper cream.
   ========================================================================== */

:root {
	--red: #c21f32;
	--red-deep: #9b1727;
	--gold: #f0b323;
	--gold-deep: #d49800;
	--ink: #171513;
	--ink-2: #3d3934;
	--muted: #6f6860;
	--paper: #fbf6ec;
	--kraft: #efe3cc;
	--kraft-2: #e2d1b0;
	--white: #fff;
	--line: rgba(23, 21, 19, .12);
	--line-strong: rgba(23, 21, 19, .22);

	--font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
	--font-body: "Gabarito", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 1px 2px rgba(23, 21, 19, .06), 0 8px 24px -8px rgba(23, 21, 19, .18);
	--shadow-pop: 0 2px 4px rgba(23, 21, 19, .08), 0 18px 40px -12px rgba(23, 21, 19, .32);

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 72px;

	/* Calvert gold/black and Crossland red/white, as CSS patterns */
	--calvert: repeating-linear-gradient(135deg, var(--gold) 0 10px, var(--ink) 10px 20px);
	--crossland: repeating-linear-gradient(45deg, var(--red) 0 10px, var(--white) 10px 20px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html.no-scroll { overflow: hidden; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.55 var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--red); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.1; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }

.display {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .01em;
	line-height: .98;
}

.eyebrow {
	display: inline-flex; align-items: center; gap: .6em;
	margin: 0 0 .9rem;
	font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--red);
}
.eyebrow::before { content: ""; width: 22px; height: 10px; border-radius: 2px; background: var(--calvert); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 46ch; }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--ink); color: var(--white); padding: .6em 1em; border-radius: 8px; }

/* ---------- Buttons ---------- */

.btn {
	--b: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 46px; padding: .7em 1.4em;
	border: 2px solid var(--b); border-radius: 999px;
	background: var(--b); color: var(--white);
	font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; letter-spacing: .01em;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
	box-shadow: 0 3px 0 0 rgba(23, 21, 19, .9);
}
.btn:hover { color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 0 0 rgba(23, 21, 19, .9); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 0 rgba(23, 21, 19, .9); }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: .45; transform: none; box-shadow: none; }

.btn-red { --b: var(--red); }
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-ink { --b: var(--ink); }
.btn-gold { --b: var(--gold); color: var(--ink); }
.btn-gold:hover { color: var(--ink); background: #ffc93d; }
.btn-outline { background: var(--white); color: var(--ink); box-shadow: 0 2px 0 0 var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); color: var(--white); box-shadow: none; }
.btn-sm { min-height: 38px; padding: .45em 1em; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: .85em 1.8em; font-size: 1.08rem; }
.btn-block { width: 100%; }

.icon-btn {
	display: inline-grid; place-items: center;
	width: 44px; height: 44px; padding: 0;
	border: 0; border-radius: 999px; background: transparent; cursor: pointer;
	position: relative;
}
.icon-btn:hover { background: var(--kraft); }

.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .88rem; }
.link-btn:hover { color: var(--red); }

/* ---------- Announcement + header ---------- */

.announce {
	display: flex; align-items: center; justify-content: center; gap: .7em;
	padding: .55em var(--gutter);
	background: var(--ink); color: var(--white);
	font-size: .88rem; font-weight: 600; letter-spacing: .04em; text-align: center;
}
.flag-chip {
	flex: none; width: 26px; height: 16px; border-radius: 3px;
	background:
		var(--calvert) 0 0 / 50% 50% no-repeat,
		var(--crossland) 100% 0 / 50% 50% no-repeat,
		var(--crossland) 0 100% / 50% 50% no-repeat,
		var(--calvert) 100% 100% / 50% 50% no-repeat;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(251, 246, 236, .92);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(23, 21, 19, .4); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand-stamp { display: block; height: auto; }

/*
 * Stamp logo. On wide screens it hangs below the header bar like a postage
 * stamp; once the page scrolls it shrinks to sit inside the sticky bar.
 * --stamp-w is the hanging width; the brand box keeps that width reserved.
 */
.brand {
	--stamp-w: 98px;
	position: relative; flex: none;
	align-self: stretch;
	width: var(--stamp-w);
	text-decoration: none;
}
.brand-stamp {
	position: absolute; top: 10px; left: 0; z-index: 2;
	width: var(--stamp-w);
	transform: rotate(-4deg);
	transform-origin: 50% 0;
	filter: drop-shadow(3px 4px 0 rgba(23, 21, 19, .85));
	transition: width .25s ease, top .25s ease, transform .25s ease, filter .25s ease;
}
.brand:hover .brand-stamp { transform: rotate(-1deg) translateY(-2px); }
.site-header.is-scrolled .brand-stamp { top: 8px; width: 46px; transform: none; filter: drop-shadow(1px 2px 0 rgba(23, 21, 19, .6)); }

/* Room under the header so the hanging stamp doesn't sit on page content. */
:root { --stamp-clear: 0px; }
@media (min-width: 901px) {
	:root { --stamp-clear: 88px; }
	.hero, .builder-intro, .corp-hero, .page-head, .not-found {
		padding-top: max(clamp(32px, 5vw, 64px), var(--stamp-clear)) !important;
	}
	.site-main > .woo-body:first-child { padding-top: var(--stamp-clear); }
}

/* Phones and tablets: no hang, the stamp lives inside the bar. */
@media (max-width: 900px) {
	.brand { --stamp-w: 46px; }
	.brand-stamp { top: 8px; transform: none; filter: drop-shadow(1px 2px 0 rgba(23, 21, 19, .6)); }
	.brand:hover .brand-stamp { transform: none; }
}

.primary-nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
	display: block; padding: .5em .85em; border-radius: 999px;
	font-weight: 600; text-decoration: none; font-size: .98rem;
}
.nav-list a:hover, .nav-list .current-menu-item > a { background: var(--kraft); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.primary-nav + .header-actions { margin-left: 8px; }

.cart-count {
	position: absolute; top: 2px; right: 0;
	min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: 999px; background: var(--red); color: var(--white);
	font-size: .72rem; font-weight: 800; line-height: 20px; text-align: center;
	box-shadow: 0 0 0 2px var(--paper);
}
.cart-count[hidden] { display: none; }

.menu-btn { display: none; }
.menu-btn span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn { gap: 4px; grid-auto-flow: row; align-content: center; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
	.menu-btn { display: inline-grid; }
	.header-actions, .primary-nav + .header-actions { margin-left: auto; }
	.primary-nav {
		position: absolute; inset: 100% 0 auto 0;
		margin: 0; padding: 8px var(--gutter) 20px;
		background: var(--paper); border-bottom: 1px solid var(--line);
		box-shadow: 0 20px 30px -20px rgba(23, 21, 19, .35);
		display: none;
	}
	.primary-nav.is-open { display: block; }
	.nav-list { flex-direction: column; }
	.nav-list a { padding: .8em .4em; border-radius: 8px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
	.header-cta { display: none; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head > p:last-child { color: var(--ink-2); font-size: 1.08rem; }
.section-title { font-size: clamp(2.3rem, 5.5vw, 3.8rem); }

/* ---------- Hero ---------- */

.hero { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(8px, 2vw, 16px); }
.hero-copy { display: grid; justify-items: start; }
.hero-title {
	font-size: clamp(3rem, 9.4vw, 7.4rem);
	max-width: 13ch;
	margin-bottom: .25em;
}
/* Headline accents: **red** and *gold* in the Customizer text. Gold gets an
   ink outline + offset shadow, since gold on cream is too low-contrast alone. */
.hl-red { color: var(--red); }
.hl-gold {
	color: var(--gold);
	-webkit-text-stroke: .03em var(--ink);
	paint-order: stroke fill;
	text-shadow: .045em .045em 0 var(--ink);
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: .4rem 0 0; }
@media (min-width: 960px) {
	.hero-copy { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 72px); align-items: end; }
	.hero-copy .eyebrow { grid-column: 1 / -1; }
	.hero-title { grid-column: 1; grid-row: 2 / span 2; max-width: none; margin: 0; font-size: clamp(3.4rem, 7.2vw, 6.6rem); }
	.hero-copy .lede { grid-column: 2; grid-row: 2; align-self: end; margin-bottom: 1.2rem; }
	.hero-copy .hero-actions { grid-column: 2; grid-row: 3; align-self: end; margin: 0 0 .4rem; }
}
.hero-price { color: var(--ink-2); font-size: .98rem; }
.hero-price strong { color: var(--ink); font-size: 1.1rem; }

.hero-photo {
	position: relative;
	margin: clamp(28px, 4vw, 48px) 0 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-pop);
	border: 3px solid var(--ink);
}
.hero-photo img { width: 100%; aspect-ratio: 1920 / 644; object-fit: cover; }
@media (max-width: 700px) {
	.hero-photo img { aspect-ratio: 4 / 3; object-position: 52% 50%; }
}

.stamp {
	position: absolute; top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px);
	display: grid; place-content: center; text-align: center;
	width: clamp(88px, 12vw, 132px); aspect-ratio: 1;
	border-radius: 50%;
	background: var(--gold); color: var(--ink);
	border: 3px solid var(--ink);
	box-shadow: 0 0 0 5px var(--gold), 0 0 0 7px var(--ink);
	font-family: var(--font-display); text-transform: uppercase; line-height: .95;
	transform: rotate(-12deg);
}
.stamp span:nth-child(1) { font-size: clamp(1.3rem, 2.6vw, 2rem); }
.stamp span:nth-child(2) { font-size: clamp(.8rem, 1.4vw, 1.05rem); }
.stamp span:nth-child(3) { font-family: var(--font-body); font-weight: 800; font-size: clamp(.6rem, 1vw, .75rem); letter-spacing: .12em; margin-top: 3px; }

/* ---------- Perks ---------- */

.perks { padding-block: clamp(24px, 3vw, 36px); }
.perk-list {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
	list-style: none; margin-block: 0;
}
.perk-list li {
	padding: 14px 16px; border-radius: var(--radius);
	background: var(--white); border: 1px solid var(--line);
	font-size: .95rem; color: var(--ink-2);
}
.perk-list strong { display: block; color: var(--ink); font-size: 1.02rem; }
@media (max-width: 800px) { .perk-list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sizes ---------- */

.sizes { background: var(--kraft); border-block: 3px solid var(--ink); }
.size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 760px) { .size-grid { grid-template-columns: 1fr; } }

.size-card {
	position: relative;
	display: grid; gap: 4px;
	padding: 26px 24px 22px;
	background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-lg);
	text-decoration: none;
	box-shadow: 0 5px 0 0 var(--ink);
	transition: transform .15s, box-shadow .15s;
}
.size-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 8px 0 0 var(--ink); }
.size-card.is-popular { background: var(--gold); }

.ribbon {
	position: absolute; top: -13px; left: 20px;
	padding: 4px 12px; border-radius: 999px;
	background: var(--red); color: var(--white);
	font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}

.size-slots, .tier-slots { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.size-slots i, .tier-slots i { width: 16px; height: 16px; border-radius: 4px; background: var(--kraft-2); border: 1.5px solid var(--ink); }
.size-card.is-popular .size-slots i { background: var(--white); }

.size-count { font-weight: 700; font-size: 1.1rem; }
.size-count .display { font-size: 3.6rem; margin-right: 4px; vertical-align: -6px; }
.size-price { font-size: 1.6rem; font-weight: 800; }
.size-per { color: var(--muted); font-size: .92rem; }
.size-card.is-popular .size-per { color: var(--ink-2); }
.size-go { margin-top: 14px; font-weight: 700; color: var(--red); }
.size-card.is-popular .size-go { color: var(--ink); }

/* ---------- Goods marquee ---------- */

.goods { overflow: hidden; }
.marquee {
	--speed: 60s;
	margin-bottom: 36px;
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
	display: flex; gap: 18px; width: max-content;
	list-style: none; margin: 0; padding: 8px 0 12px;
	animation: marquee var(--speed) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { width: 170px; flex: none; text-align: center; }
.goods-img {
	display: block; aspect-ratio: 1; padding: 14px;
	background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
	box-shadow: 0 4px 0 0 var(--ink);
}
.goods-img img { width: 100%; height: 100%; object-fit: contain; }
.goods-name { display: block; margin-top: 10px; font-weight: 600; font-size: .92rem; line-height: 1.25; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
@media (prefers-reduced-motion: reduce) {
	.marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
	.marquee-track li[aria-hidden] { display: none; }
	.marquee { mask-image: none; -webkit-mask-image: none; }
}

/* ---------- How it works ---------- */

.how { background: var(--white); border-block: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } }
.how-photo {
	position: relative;
	background: var(--kraft); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 32px);
	border: 2px solid var(--ink);
}
.how-photo::after {
	content: ""; position: absolute; inset: auto -10px -10px auto; width: 70px; height: 70px;
	background: var(--calvert); border: 2px solid var(--ink); border-radius: 12px; z-index: -1;
}
.how-photo img { width: 100%; mix-blend-mode: multiply; }

.steps { list-style: none; counter-reset: s; margin: 8px 0 30px; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; }
.steps li::before {
	content: counter(s);
	grid-row: span 2;
	display: grid; place-items: center; width: 52px; height: 52px;
	background: var(--red); color: var(--white); border-radius: 50%;
	font-family: var(--font-display); font-size: 1.6rem;
}
.steps h3 { font-size: 1.25rem; margin: 4px 0 4px; }
.steps p { margin: 0; color: var(--ink-2); }

/* ---------- Reviews ---------- */

.review-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(20px, 3vw, 32px); align-items: stretch; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }
.review-card {
	margin: 0; padding: clamp(24px, 3vw, 36px);
	background: var(--red); color: var(--white);
	border-radius: var(--radius-lg); border: 2px solid var(--ink);
	box-shadow: 0 6px 0 0 var(--ink);
	display: flex; flex-direction: column;
}
.stars { color: var(--gold); font-size: 1.4rem; letter-spacing: .12em; margin-bottom: 12px; }
.review-card blockquote { margin: 0 0 20px; flex: 1; }
.review-card blockquote p { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.4; font-weight: 500; }
.review-card blockquote p::before { content: "“"; }
.review-card blockquote p::after { content: "”"; }
.review-card figcaption { display: flex; flex-direction: column; font-size: .95rem; }
.review-card figcaption strong { font-size: 1.05rem; }
.review-card figcaption span { opacity: .8; }

.press { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 2px solid var(--ink); background: #e8e8ea; display: grid; place-items: center; }
.press img { width: 100%; height: auto; }

/* ---------- Gifting ---------- */

.gifting { background: var(--kraft); border-top: 3px solid var(--ink); }
.gift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 760px) {
	.gift-grid { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	.gift-card { scroll-snap-align: start; }
}
.gift-card {
	display: block; border-radius: var(--radius-lg); overflow: hidden;
	border: 2px solid var(--ink); box-shadow: 0 5px 0 0 var(--ink);
	transition: transform .15s, box-shadow .15s;
}
.gift-card:hover { transform: translateY(-3px); box-shadow: 0 8px 0 0 var(--ink); }
.gift-card img { width: 100%; aspect-ratio: 322 / 422; object-fit: cover; }

/* ---------- Videos ---------- */

.video-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(16px, 3vw, 32px); align-items: center; }
@media (max-width: 760px) { .video-grid { grid-template-columns: 1fr 1fr; } .video-grid > div { grid-column: 1 / -1; } }
.video-card {
	position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
	border: 2px solid var(--ink); box-shadow: 0 5px 0 0 var(--ink); background: var(--ink);
}
.video-card img { width: 100%; aspect-ratio: 237 / 422; object-fit: cover; transition: transform .3s, opacity .3s; opacity: .92; }
.video-card:hover img { transform: scale(1.03); opacity: 1; }
.play {
	position: absolute; inset: 50% auto auto 50%; translate: -50% -50%;
	width: 64px; height: 64px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ink);
}
.play::after { content: ""; position: absolute; left: 25px; top: 19px; border-left: 18px solid var(--ink); border-block: 12px solid transparent; }

/* ---------- CTA band ---------- */

.cta-band {
	position: relative;
	background: var(--red); color: var(--white);
	padding-block: clamp(48px, 7vw, 88px);
	border-top: 3px solid var(--ink);
	overflow: hidden;
}
.cta-band::before {
	content: ""; position: absolute; inset: 0 auto 0 0; width: 18px; background: var(--calvert);
	border-right: 3px solid var(--ink);
}
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); max-width: 16ch; margin: 0; }

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

.site-footer { background: var(--ink); color: #d9d2c5; font-size: .96rem; }
.flag-band {
	height: 14px;
	background:
		var(--calvert) 0 0 / 50% 100% no-repeat,
		var(--crossland) 100% 0 / 50% 100% no-repeat;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-block: 56px 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-stamp { width: 132px; height: auto; margin-bottom: 18px; transform: rotate(-3deg); }
.footer-brand p { max-width: 34ch; }
.footer-head { font-family: var(--font-display); text-transform: uppercase; color: var(--white); font-size: 1.2rem; font-weight: 400; letter-spacing: .02em; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .social a:hover { color: var(--gold); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 20px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: #a59d90; }

/* ---------- Generic pages ---------- */

.page-body { padding-bottom: clamp(48px, 7vw, 96px); }
.page-head { padding-block: clamp(32px, 5vw, 56px) clamp(16px, 2vw, 24px); }
.page-title { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0; }
.prose { max-width: 760px; }
.prose a { color: var(--red); }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose img { border-radius: var(--radius); }
.post-row { padding-block: 20px; border-bottom: 1px solid var(--line); }
.not-found { padding-top: clamp(48px, 8vw, 120px); }
.notice { padding: 16px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }

/* ---------- Cart drawer ---------- */

.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer[hidden] { display: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(23, 21, 19, .5); opacity: 0; transition: opacity .25s; }
.drawer-panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(440px, 100%);
	display: flex; flex-direction: column;
	background: var(--paper);
	border-left: 3px solid var(--ink);
	transform: translateX(100%); transition: transform .25s ease;
	outline: none;
}
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-empty { display: grid; justify-items: center; gap: 14px; padding: 48px 0; text-align: center; color: var(--muted); }
.drawer-items { list-style: none; margin: 0; padding: 0; }
.drawer-item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.drawer-item img, .drawer-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--kraft); }
.drawer-item-top { display: flex; justify-content: space-between; gap: 10px; }
.drawer-item-data { list-style: none; margin: 6px 0 0; padding: 0; font-size: .85rem; color: var(--muted); }
.drawer-item-data span { color: var(--ink-2); font-weight: 600; }
.drawer-item-actions { display: flex; gap: 14px; align-items: center; margin-top: 8px; font-size: .88rem; }
.drawer-foot { padding: 18px 20px 22px; border-top: 2px solid var(--ink); background: var(--white); display: grid; gap: 10px; }
.drawer-foot[hidden] { display: none; }
.drawer-total { display: flex; justify-content: space-between; font-size: 1.15rem; }
.drawer-note { margin: 0; font-size: .88rem; color: var(--muted); }
.drawer-link { text-align: center; font-size: .92rem; }

/* ---------- Skeleton loading ---------- */

.skeleton {
	background: linear-gradient(100deg, var(--kraft) 30%, #f6eedd 50%, var(--kraft) 70%) 0 0 / 300% 100%;
	animation: shimmer 1.4s ease-in-out infinite;
	border-radius: var(--radius);
	list-style: none;
}
@keyframes shimmer { to { background-position: -100% 0; } }

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