/* ==========================================================================
   Aviarium — design system  ·  Editorial Grid

   Direction: print-inspired editorial. High-contrast didone display type over a
   quiet grotesque, asymmetric section heads, hairline rules, drop caps and pull
   quotes. Libre Bodoni is chosen because the Aviary Needs wordmark is itself a
   high-contrast didone — the page and the logo now speak the same language.

   Palette stays the four colours from that wordmark, deepened, with brass added
   as the one luxury note. MOBILE FIRST throughout; min-width queries only.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
	/* Brand — overridden by the Customizer via inline CSS. */
	--av-pine: #1F5C55;
	--av-brick: #A8341F;
	--av-ember: #E2571F;
	--av-amber: #F0A81C;
	--av-pine-soft: #34675F;
	--av-pine-deep: #14403A;
	--av-brick-soft: #B14831;

	/* Brass — the single added note. Used for rules, seals and small marks,
	   never for text on light ground, where it would fail contrast. */
	--av-brass: #A98637;        /* rules, seals, marks — never text */
	--av-brass-ink: #7F6228;    /* the text-safe version: 5.5:1 on paper */
	--av-brass-soft: #D8C79A;   /* on dark ground only */

	/* Neutrals — warm, never grey-blue. Ink deepened for the higher contrast
	   a didone needs to look intentional rather than washed out. */
	--av-ink: #12100C;
	--av-ink-2: #34302A;
	--av-ink-3: #635C52;
	--av-ink-4: #726A5C;
	--av-line: #E0D8C8;
	--av-line-soft: #EEE8DC;
	--av-parchment: #F5F0E6;
	--av-paper: #FCFAF6;
	--av-white: #FFFFFF;

	/* Surfaces */
	--av-bg: var(--av-paper);
	--av-surface: var(--av-white);
	--av-dark: #100E0A;

	/* Type — didone display, grotesque for everything you actually read. */
	--av-display: "Libre Bodoni", "Didot", "Bodoni MT", Georgia, serif;
	--av-sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--av-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

	/* Editorial scale. A didone earns its keep at size, so the top of the scale
	   is taller and the tracking tighter than a workhorse serif would want. */
	--fs-xs: 0.75rem;
	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-md: clamp(1.0625rem, 0.5vw + 0.95rem, 1.25rem);
	--fs-lg: clamp(1.3rem, 1.4vw + 1rem, 1.75rem);
	--fs-xl: clamp(1.65rem, 2.8vw + 1.05rem, 2.6rem);
	--fs-2xl: clamp(2.1rem, 5vw + 1.05rem, 3.9rem);
	--fs-3xl: clamp(2.5rem, 7.5vw + 0.9rem, 6rem);

	/* Space */
	--sp-1: 0.25rem;
	--sp-2: 0.5rem;
	--sp-3: 0.75rem;
	--sp-4: 1rem;
	--sp-5: 1.5rem;
	--sp-6: 2rem;
	--sp-7: 3rem;
	--sp-8: 4rem;

	/* Layout */
	--wrap: 1280px;
	--wrap-narrow: 680px;
	--gutter: 1.15rem;
	--radius: 2px;
	--radius-lg: 4px;

	--tap: 46px;

	/* Depth — warm shadows, never black. */
	--shadow-sm: 0 1px 2px rgba(18, 16, 12, 0.05);
	--shadow-md: 0 14px 30px -16px rgba(18, 16, 12, 0.26);
	--shadow-lg: 0 34px 66px -34px rgba(18, 16, 12, 0.4);

	/* Motion — Standard tier: 300–450ms, one easing family. */
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);

	--header-h: 60px;

	--safe-b: env(safe-area-inset-bottom, 0px);
	--safe-l: env(safe-area-inset-left, 0px);
	--safe-r: env(safe-area-inset-right, 0px);
}

@media (min-width: 720px) {
	:root {
		--gutter: 2rem;
		--header-h: 72px;
	}
}

@media (min-width: 1024px) {
	:root {
		--gutter: 2.5rem;
		--header-h: 76px;
	}
}

@media (min-width: 1280px) {
	:root {
		--gutter: 3rem;
	}
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

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

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

body {
	margin: 0;
	background: var(--av-bg);
	color: var(--av-ink);
	font-family: var(--av-sans);
	font-size: var(--fs-base);
	line-height: 1.62;
	font-feature-settings: "kern", "liga", "calt";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	overscroll-behavior-y: contain;
}

body.is-locked {
	overflow: hidden;
	position: fixed;
	inset: 0;
	width: 100%;
}

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	transition: color 0.2s var(--ease);
	-webkit-tap-highlight-color: rgba(31, 92, 85, 0.12);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
	-webkit-tap-highlight-color: rgba(31, 92, 85, 0.12);
}

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

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

hr {
	border: 0;
	border-top: 1px solid var(--av-line);
	margin: var(--sp-6) 0;
}

@media (hover: hover) and (pointer: fine) {
	a:hover {
		color: var(--av-brick);
	}
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--av-display);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.012em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

p { margin: 0 0 1.1em; }

p:last-child { margin-bottom: 0; }

.display {
	font-family: var(--av-display);
	font-size: var(--fs-3xl);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.02em;
}

.display em,
.display i,
h1 em,
h2 em {
	font-style: italic;
	font-weight: 400;
	color: var(--av-brick);
}

.lede {
	font-size: var(--fs-md);
	line-height: 1.5;
	color: var(--av-ink-2);
	max-width: 46ch;
}

/* Eyebrow — small caps with a brass rule, the editorial section marker. */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65em;
	margin: 0 0 var(--sp-3);
	font-family: var(--av-sans);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--av-ink-3);
}

.eyebrow__tick {
	width: 26px;
	height: 1px;
	background: var(--av-brass);
	display: inline-block;
	flex: none;
}

.section--ink .eyebrow {
	color: var(--av-brass-soft);
}

.section--ink .eyebrow__tick {
	background: var(--av-brass-soft);
}

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

.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999;
	padding: 0.75rem 1.25rem;
	background: var(--av-ink);
	color: var(--av-white);
}

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

@media (min-width: 720px) {
	.eyebrow {
		margin-bottom: var(--sp-4);
	}

	.eyebrow__tick {
		width: 36px;
	}
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-left: max(var(--gutter), var(--safe-l));
	padding-right: max(var(--gutter), var(--safe-r));
}

.wrap--narrow {
	max-width: var(--wrap-narrow);
}

/* Section rhythm. Eight stacked sections at the old 3rem/6rem meant the page
   spent more height on gaps than on content, so every step is pulled in. */
.section {
	padding-block: 2rem;
}

.section--tight {
	padding-block: 1.5rem;
}

/* Two sections sharing a background read as one block, so the seam between
   them does not need two full pads. */
.section--parchment + .section--parchment,
.section + .section--tight,
.section--tight + .section--tight {
	padding-top: 0;
}

.section--parchment {
	background: var(--av-parchment);
}

.section--ink {
	background: var(--av-dark);
	color: #EDE7DA;
}

.section--ink h1,
.section--ink h2,
.section--ink h3 {
	color: var(--av-white);
}

.section--ink .eyebrow {
	color: var(--av-amber);
}

/* Section heads are numbered and ruled, the way a magazine numbers its
   departments. The counter is real information — it tells you where you are in
   the page — and it resets per page rather than being typed into each block. */
.site-main {
	counter-reset: av-section;
}

.section__head {
	position: relative;
	margin-bottom: var(--sp-4);
	padding-top: var(--sp-3);
	border-top: 1px solid var(--av-ink);
}

.section__head::before {
	counter-increment: av-section;
	content: counter(av-section, decimal-leading-zero);
	position: absolute;
	top: var(--sp-4);
	right: 0;
	font-family: var(--av-mono);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	color: var(--av-brass-ink);
}

.section--ink .section__head {
	border-top-color: rgba(216, 199, 154, 0.5);
}

.section__head p.lede {
	margin-top: 0.35em;
}

.section__title {
	margin: 0;
	font-size: var(--fs-2xl);
}

/* On a phone the "see all" link goes under the heading, full-width and
   tappable, rather than squeezing onto the same line. */
.section__head .link-arrow {
	margin-top: var(--sp-4);
}

.grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 720px) {
	.section {
		padding-block: 3rem;
	}

	.section--tight {
		padding-block: 2rem;
	}

	.section__head {
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
		gap: var(--sp-6);
		flex-wrap: wrap;
		margin-bottom: var(--sp-5);
	}

	.section__head .link-arrow {
		margin-top: 0;
	}

	.grid {
		gap: 1.4rem;
	}
}

@media (min-width: 1024px) {
	.section {
		padding-block: 4rem;
	}

	.section--tight {
		padding-block: 2.75rem;
	}

	.grid {
		gap: 1.75rem;
	}
}

/* Reveal-on-scroll — off by default on phones, where it costs more than it
   adds; enabled from tablet up. */
[data-reveal] {
	opacity: 1;
}

@media (min-width: 720px) {
	[data-reveal] {
		opacity: 0;
		transform: translateY(18px);
		transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
	}

	[data-reveal].is-revealed {
		opacity: 1;
		transform: none;
	}
}

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

	[data-reveal] {
		opacity: 1;
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn,
button.btn,
a.btn {
	--btn-bg: var(--av-ink);
	--btn-fg: var(--av-white);
	--btn-bd: var(--av-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	padding: 0.95em 1.7em;
	min-height: 52px;
	border: 1px solid var(--btn-bd);
	border-radius: var(--radius);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--av-sans);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.28s var(--ease), color 0.28s var(--ease),
		border-color 0.28s var(--ease), transform 0.15s var(--ease);
}

.btn:active {
	transform: scale(0.985);
}

.btn--primary {
	--btn-bg: var(--av-pine);
	--btn-bd: var(--av-pine);
	--btn-fg: #FFFDF8;
}

.btn--accent {
	--btn-bg: var(--av-brick);
	--btn-bd: var(--av-brick);
	--btn-fg: #FFF8F2;
}

.btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--av-ink);
	--btn-bd: var(--av-ink);
}

.section--ink .btn--ghost {
	--btn-fg: #EDE7DA;
	--btn-bd: rgba(237, 231, 218, 0.4);
}

.btn--sm {
	padding: 0.7em 1.1em;
	min-height: var(--tap);
	font-size: var(--fs-xs);
}

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

/* Standalone buttons go full-width on a phone — easier to hit, and it reads as
   a deliberate stacked layout rather than a shrunken desktop one. */
@media (max-width: 479px) {
	.section > .wrap > .btn,
	.hero__actions .btn {
		width: 100%;
	}
}

@media (hover: hover) and (pointer: fine) {
	.btn:hover {
		transform: translateY(-2px);
		color: var(--btn-fg);
	}

	.btn--primary:hover {
		--btn-bg: var(--av-pine-deep);
		--btn-bd: var(--av-pine-deep);
	}

	.btn--accent:hover {
		--btn-bg: #8E2A17;
		--btn-bd: #8E2A17;
	}

	.btn--ghost:hover {
		--btn-bg: var(--av-ink);
		--btn-fg: var(--av-white);
	}

	.section--ink .btn--ghost:hover {
		--btn-bg: #EDE7DA;
		--btn-fg: var(--av-ink);
		--btn-bd: #EDE7DA;
	}
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-height: var(--tap);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--av-ink);
	border-bottom: 1px solid var(--av-brass);
	padding-bottom: 3px;
}

.link-arrow .icon {
	transition: transform 0.35s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
	.link-arrow:hover {
		color: var(--av-brick);
	}

	.link-arrow:hover .icon {
		transform: translateX(4px);
	}
}

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--tap);
	height: var(--tap);
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--av-ink);
	cursor: pointer;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.icon-btn:active {
	background: var(--av-line-soft);
}

@media (hover: hover) and (pointer: fine) {
	.icon-btn:hover {
		background: var(--av-line-soft);
		color: var(--av-pine);
	}
}

/* --------------------------------------------------------------------------
   6. Announcement bar
   -------------------------------------------------------------------------- */

.announce {
	background: var(--av-dark);
	color: #E6DFD0;
	font-size: var(--fs-xs);
	letter-spacing: 0.03em;
	position: relative;
	z-index: 60;
}

/* The four brand rules from the wordmark, as a hairline under the bar. */
.announce::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 2px;
	background: linear-gradient(
		to right,
		var(--av-pine) 0 25%,
		var(--av-brick) 25% 50%,
		var(--av-ember) 50% 75%,
		var(--av-amber) 75% 100%
	);
}

.announce__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: var(--sp-4);
	min-height: 38px;
	padding-block: 0.4rem;
}

.announce__msg {
	margin: 0;
	font-weight: 500;
}

.announce__msg a {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	text-decoration: none;
	color: var(--av-amber);
}

/* Phone numbers and email belong in the footer on a phone, not the top bar. */
.announce__contact {
	display: none;
}

@media (min-width: 900px) {
	.announce__inner {
		justify-content: space-between;
		text-align: left;
		min-height: 40px;
	}

	.announce__contact {
		display: flex;
		gap: var(--sp-5);
		color: #A99F8B;
	}

	.announce__contact a {
		display: inline-flex;
		align-items: center;
		gap: 0.4em;
		text-decoration: none;
	}

	.announce__contact a:hover {
		color: var(--av-white);
	}
}

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--av-paper);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s var(--ease), transform 0.35s var(--ease),
		box-shadow 0.3s var(--ease);
}

.site-header.is-stuck {
	border-bottom-color: var(--av-line);
	box-shadow: var(--shadow-sm);
}

/* Hiding the bar on scroll-down gives a phone back ~60px of viewport. */
.site-header.is-hidden {
	transform: translateY(-100%);
}

.site-header__inner {
	display: grid;
	grid-template-columns: var(--tap) 1fr auto;
	align-items: center;
	gap: var(--sp-2);
	min-height: var(--header-h);
}

.site-header__brand {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.nav-burger {
	margin-left: -8px;
}

/* Wordmark ---------------------------------------------------------------- */

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	text-decoration: none;
	color: var(--av-ink);
	min-width: 0;
}

.site-brand__rules {
	display: grid;
	gap: 2px;
	flex: none;
}

.site-brand__rules i {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 0;
}

.site-brand__rules i:nth-child(1) { background: var(--av-pine); }
.site-brand__rules i:nth-child(2) { background: var(--av-brick); }
.site-brand__rules i:nth-child(3) { background: var(--av-ember); }
.site-brand__rules i:nth-child(4) { background: var(--av-amber); }

.site-brand__name {
	font-family: var(--av-display);
	font-weight: 600;
	font-size: 1.1rem;
	line-height: 0.96;
	letter-spacing: -0.015em;
	display: grid;
}

.site-brand__rest {
	color: var(--av-ink-2);
}

.site-brand--image img {
	max-height: 38px;
	width: auto;
}

/* Primary nav ------------------------------------------------------------- */

/* Hidden until there is room for it; the off-canvas drawer serves phones. */
.site-nav {
	display: none;
}

.primary-menu,
.footer-menu,
.legal-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu .menu-toggle {
	border: 0;
	background: none;
	padding: 0.35rem;
	cursor: pointer;
}

/* Header actions ---------------------------------------------------------- */

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0;
	justify-self: end;
}

/* Search lives inside the menu drawer on a phone — one fewer icon competing
   with the cart, which is the button that actually earns money. */
.site-header__actions [data-search-open],
.icon-btn--account {
	display: none;
}

.header-cart {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	height: var(--tap);
	min-width: var(--tap);
	padding: 0 0.6rem;
	border-radius: 999px;
	text-decoration: none;
	font-size: var(--fs-sm);
	font-weight: 600;
	position: relative;
	justify-content: center;
}

.header-cart__count {
	position: absolute;
	top: 3px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: var(--av-brick);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	transform: scale(0);
	transition: transform 0.3s var(--ease-out);
}

.header-cart.has-items .header-cart__count {
	transform: scale(1);
}

.header-cart__total {
	display: none;
	font-variant-numeric: tabular-nums;
}

@media (min-width: 480px) {
	.site-brand__name {
		font-size: 1.2rem;
	}

	.site-brand__rules i {
		width: 26px;
		height: 3px;
	}

	.site-header__actions [data-search-open] {
		display: inline-flex;
	}
}

@media (min-width: 720px) {
	.site-brand--image img {
		max-height: 46px;
	}

	.icon-btn--account {
		display: inline-flex;
	}

	.site-header__actions {
		gap: 0.15rem;
	}
}

@media (min-width: 1024px) {
	.site-header {
		background: rgba(251, 249, 245, 0.86);
		backdrop-filter: saturate(1.4) blur(14px);
		-webkit-backdrop-filter: saturate(1.4) blur(14px);
	}

	.site-header__inner {
		grid-template-columns: auto 1fr auto;
		gap: var(--sp-5);
	}

	.site-header__brand {
		justify-content: flex-start;
	}

	.nav-burger {
		display: none;
	}

	.site-brand__name {
		font-size: 1.4rem;
	}

	.site-brand__rules i {
		width: 30px;
	}

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

	.primary-menu {
		display: flex;
		align-items: center;
		gap: clamp(0.5rem, 1.8vw, 1.75rem);
	}

	.primary-menu > li {
		position: relative;
	}

	.primary-menu .menu-link {
		display: inline-flex;
		align-items: center;
		padding: 0.6rem 0.15rem;
		font-size: 0.74rem;
		font-weight: 500;
		letter-spacing: 0.19em;
		text-transform: uppercase;
		text-decoration: none;
		white-space: nowrap;
	}

	.primary-menu .menu-link span {
		position: relative;
		padding-bottom: 3px;
		background-image: linear-gradient(var(--av-brick), var(--av-brick));
		background-repeat: no-repeat;
		background-position: 0 100%;
		background-size: 0 2px;
		transition: background-size 0.35s var(--ease-out);
	}

	.primary-menu > li:hover > .menu-link span,
	.primary-menu > li:focus-within > .menu-link span,
	.primary-menu > li.current-menu-item > .menu-link span,
	.primary-menu > li.current-menu-ancestor > .menu-link span {
		background-size: 100% 2px;
	}

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

	.primary-menu .sub-menu {
		position: absolute;
		top: calc(100% + 10px);
		left: -1rem;
		min-width: 240px;
		list-style: none;
		margin: 0;
		padding: 0.6rem;
		background: var(--av-surface);
		border: 1px solid var(--av-line);
		border-radius: var(--radius-lg);
		box-shadow: var(--shadow-md);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-6px);
		transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
		z-index: 10;
	}

	.primary-menu > li:hover > .sub-menu,
	.primary-menu > li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-menu .sub-menu a {
		display: block;
		padding: 0.55rem 0.75rem;
		border-radius: var(--radius);
		font-size: var(--fs-sm);
		text-decoration: none;
		text-transform: none;
		letter-spacing: 0;
		font-weight: 500;
	}

	.primary-menu .sub-menu a:hover {
		background: var(--av-parchment);
		color: var(--av-pine);
	}

	.header-cart {
		gap: 0.5rem;
		padding: 0 0.9rem;
	}

	.header-cart__count {
		right: auto;
		left: 24px;
		top: 2px;
	}

	.header-cart__total {
		display: inline;
	}

	.header-cart:hover {
		background: var(--av-line-soft);
		color: var(--av-pine);
	}
}

/* Search panel ------------------------------------------------------------ */

.search-panel {
	border-top: 1px solid var(--av-line);
	background: var(--av-surface);
	padding-block: var(--sp-4);
}

.search-panel .wrap {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
}

.search-panel form {
	flex: 1;
}

.search-form {
	display: flex;
	gap: var(--sp-3);
	align-items: center;
}

.search-form label {
	flex: 1;
}

.search-form .search-field {
	width: 100%;
	border: 0;
	border-bottom: 2px solid var(--av-ink);
	background: none;
	padding: 0.6rem 0;
	font-family: var(--av-display);
	font-size: var(--fs-md);
	min-height: var(--tap);
}

.search-form .search-field:focus {
	outline: none;
	border-bottom-color: var(--av-brick);
}

/* --------------------------------------------------------------------------
   8. Drawers & overlay
   -------------------------------------------------------------------------- */

.site-overlay {
	position: fixed;
	inset: 0;
	z-index: 70;
	background: rgba(23, 20, 15, 0.45);
	opacity: 0;
	transition: opacity 0.32s var(--ease);
}

.site-overlay.is-visible {
	opacity: 1;
}

/* Full-bleed on a phone: a 92vw drawer with a sliver of page behind it just
   invites mis-taps. */
.drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: 80;
	width: 100%;
	display: flex;
	flex-direction: column;
	background: var(--av-paper);
	box-shadow: var(--shadow-lg);
	transition: transform 0.35s var(--ease-out);
	padding-bottom: var(--safe-b);
}

.drawer--nav {
	left: 0;
	transform: translateX(-100%);
}

.drawer--cart {
	right: 0;
	transform: translateX(100%);
}

.drawer.is-open {
	transform: none;
}

.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	padding: var(--sp-3) var(--sp-4);
	border-bottom: 1px solid var(--av-line);
}

.drawer__title {
	font-family: var(--av-display);
	font-size: var(--fs-lg);
	font-weight: 600;
}

.drawer__body {
	flex: 1;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: var(--sp-4);
}

.drawer--nav .primary-menu {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.drawer--nav .primary-menu > li {
	border-bottom: 1px solid var(--av-line-soft);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.drawer--nav .menu-link {
	flex: 1;
	display: flex;
	align-items: center;
	min-height: 56px;
	font-size: var(--fs-md);
	font-family: var(--av-display);
	text-transform: none;
	letter-spacing: -0.01em;
	font-weight: 600;
	text-decoration: none;
}

.drawer--nav .menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--tap);
	height: var(--tap);
	border-radius: 50%;
	transition: transform 0.3s var(--ease), background-color 0.2s var(--ease);
}

.drawer--nav li.is-open > .menu-toggle {
	transform: rotate(90deg);
	background: var(--av-line-soft);
}

.drawer--nav .sub-menu {
	flex-basis: 100%;
	list-style: none;
	margin: 0;
	padding: 0 0 0.5rem 0.9rem;
	display: none;
	border-left: 2px solid var(--av-line);
}

.drawer--nav li.is-open > .sub-menu {
	display: block;
}

.drawer--nav .sub-menu a {
	display: flex;
	align-items: center;
	min-height: var(--tap);
	font-size: var(--fs-sm);
	text-decoration: none;
	color: var(--av-ink-2);
}

.drawer__search {
	margin-bottom: var(--sp-5);
}

.drawer__links {
	margin-top: var(--sp-5);
	display: grid;
	gap: 0.4rem;
}

.drawer__links a {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	min-height: 52px;
	padding: 0 0.85rem;
	border-radius: var(--radius);
	background: var(--av-parchment);
	text-decoration: none;
	font-size: var(--fs-sm);
	font-weight: 600;
}

.drawer__foot {
	padding: var(--sp-4);
	border-top: 1px solid var(--av-line);
	display: grid;
	gap: 0.35rem;
	font-size: var(--fs-sm);
	color: var(--av-ink-3);
}

.drawer__foot a {
	display: flex;
	align-items: center;
	min-height: 40px;
	text-decoration: none;
}

.drawer__note {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: var(--sp-4);
	border-top: 1px solid var(--av-line);
	font-size: var(--fs-xs);
	color: var(--av-ink-3);
	background: var(--av-parchment);
}

@media (min-width: 480px) {
	.drawer {
		width: min(420px, 92vw);
	}

	.drawer__head,
	.drawer__body,
	.drawer__foot,
	.drawer__note {
		padding-inline: var(--sp-5);
	}
}

@media (min-width: 1024px) {
	.site-overlay {
		backdrop-filter: blur(2px);
	}

	.drawer__search {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   9. Hero — full-bleed photograph, copy over it

   The scrim is load-bearing. The theme has no idea what photograph will be
   uploaded, so text is anchored to the bottom of the frame where the gradient
   is densest, and never floats over the middle of an image where a pale sky
   would swallow it.
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	background: var(--av-parchment);
	overflow: hidden;
}

.hero__track {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	outline: none;
}

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

.hero--single .hero__track {
	overflow-x: hidden;
}

/* 62svh leaves the proof strip visibly cut off underneath, which is what
   invites the scroll. svh is the height with the browser bar showing, so the
   hero does not grow as that bar hides. */
.hero__slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	display: grid;
	align-items: end;
	min-height: 62vh;
	min-height: 62svh;
	background: linear-gradient(160deg, #F6F1E7, #E4D9C2);
}

.hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(20, 18, 14, 0.94) 0%,
		rgba(20, 18, 14, 0.78) 26%,
		rgba(20, 18, 14, 0.25) 55%,
		rgba(20, 18, 14, 0) 76%
	);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	padding-block: 1.5rem 1.9rem;
	color: #F3EDE1;
}

.hero .eyebrow {
	color: var(--av-amber);
}

.hero__title {
	margin: 0 0 0.5rem;
	font-family: var(--av-display);
	font-weight: 500;
	font-size: clamp(2rem, 8.5vw, 3.2rem);
	line-height: 1.02;
	letter-spacing: -0.018em;
	color: #fff;
	max-width: 15ch;
	text-wrap: balance;
}

.hero__title em,
.hero__title i {
	font-style: italic;
	font-variation-settings: "SOFT" 8, "WONK" 1;
	color: var(--av-amber);
}

.hero__text {
	margin: 0 0 1.1rem;
	max-width: 38ch;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #CFC5B2;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.hero__price {
	font-family: var(--av-display);
	font-size: var(--fs-md);
	font-weight: 600;
	color: #F3EDE1;
	font-variant-numeric: tabular-nums;
}

/* Counter, dots, arrows --------------------------------------------------- */

.hero__count {
	position: absolute;
	top: 1rem;
	right: max(var(--gutter), var(--safe-r));
	z-index: 3;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.72);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero__count b {
	color: #fff;
	font-weight: 600;
}

.hero__dots {
	position: absolute;
	left: max(var(--gutter), var(--safe-l));
	bottom: 0.75rem;
	z-index: 3;
	display: flex;
	gap: 0.3rem;
}

.hero__dot {
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	display: grid;
	place-items: center;
}

.hero__dot span {
	display: block;
	width: 100%;
	height: 3px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.35);
	transition: background-color 0.3s var(--ease);
}

.hero__dot.is-current span {
	background: var(--av-amber);
}

/* Arrows are pointer-only: on a phone the gesture is the control. */
.hero__arrow {
	display: none;
	position: absolute;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: rgba(20, 18, 14, 0.35);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}

.hero__arrow--prev {
	left: clamp(0.75rem, 2vw, 1.5rem);
}

.hero__arrow--prev .icon {
	transform: rotate(180deg);
}

.hero__arrow--next {
	right: clamp(0.75rem, 2vw, 1.5rem);
}

.hero__arrow:disabled {
	opacity: 0.25;
	cursor: default;
}

@media (min-width: 720px) {
	.hero__slide {
		min-height: 64vh;
		min-height: 64svh;
	}

	.hero__inner {
		padding-block: 2.5rem 3rem;
	}

	.hero__title {
		font-size: clamp(2.8rem, 5.6vw, 4.4rem);
		margin-bottom: 0.7rem;
	}

	.hero__text {
		font-size: var(--fs-md);
		max-width: 44ch;
		margin-bottom: 1.5rem;
		display: block;
		-webkit-line-clamp: none;
		overflow: visible;
	}

	.hero__count {
		top: 1.5rem;
		font-size: var(--fs-xs);
	}

	.hero__dots {
		bottom: 1.25rem;
	}

	.hero__dot {
		width: 34px;
	}
}

@media (min-width: 1024px) {
	.hero__slide {
		min-height: 68vh;
		min-height: 68svh;
		max-height: 780px;
	}

	.hero__arrow {
		display: grid;
	}
}

@media (hover: hover) and (pointer: fine) {
	.hero__arrow:not(:disabled):hover {
		background: rgba(20, 18, 14, 0.72);
		border-color: rgba(255, 255, 255, 0.6);
	}
}

/* --------------------------------------------------------------------------
   10. Proof points
   -------------------------------------------------------------------------- */

.proof {
	border-block: 1px solid var(--av-line);
	background: var(--av-paper);
}

.proof__list b {
	font-family: var(--av-display);
}

.proof__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--sp-2);
	list-style: none;
	margin: 0;
	padding: var(--sp-3) 0;
	text-align: center;
}

.proof__list li + li {
	border-left: 1px solid var(--av-line-soft);
}

.proof__list b {
	display: block;
	font-family: var(--av-display);
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1.2;
}

.proof__list span {
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--av-ink-3);
}

@media (min-width: 720px) {
	.proof__list {
		padding-block: var(--sp-5);
	}

	.proof__list b {
		font-size: var(--fs-lg);
	}

	.proof__list span {
		font-size: var(--fs-xs);
		letter-spacing: 0.1em;
	}
}

/* --------------------------------------------------------------------------
   11. Marquee
   -------------------------------------------------------------------------- */

.marquee {
	background: var(--av-dark);
	color: #DCD4C2;
	overflow: hidden;
	padding-block: 0.75rem;
	border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee__track {
	display: flex;
	width: max-content;
	animation: av-marquee 42s linear infinite;
}

.marquee__group {
	display: flex;
	align-items: center;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0 1rem;
}

.marquee__group li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	white-space: nowrap;
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 500;
}

.marquee__group .icon {
	color: var(--av-brass);
	flex: none;
}

@keyframes av-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (min-width: 720px) {
	.marquee {
		padding-block: 0.85rem;
	}

	.marquee__group {
		gap: clamp(2rem, 5vw, 4rem);
		padding-inline: clamp(1rem, 2.5vw, 2rem);
	}

	.marquee__group li {
		font-size: var(--fs-xs);
		letter-spacing: 0.16em;
	}

	.marquee:hover .marquee__track {
		animation-play-state: paused;
	}
}

/* --------------------------------------------------------------------------
   12. Category rows

   A row, not a tile. Square tiles gave the artwork more room than the category
   name deserved and cost three screens of height for six links; this keeps the
   drawing at icon size and lets the words lead.
   -------------------------------------------------------------------------- */

.cats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
}

.cat-row {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 56px;
	padding: 0.5rem 0.6rem;
	border: 1px solid var(--av-line);
	border-radius: 8px;
	background: var(--av-surface);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.25s var(--ease), transform 0.25s var(--ease-out),
		box-shadow 0.3s var(--ease-out);
	--cat-ink: var(--av-pine);
	--cat-tint: var(--av-parchment);
}

.cat-row__art {
	position: relative;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	flex: none;
	border-radius: 6px;
	overflow: hidden;
	background: var(--cat-tint);
	color: var(--cat-ink);
}

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

/* Plain inline icon here — the tile version was absolutely positioned. */
.cat-art {
	position: static;
	inset: auto;
	width: 24px;
	height: 24px;
	margin: 0;
	color: currentColor;
	transition: transform 0.35s var(--ease-out);
}

.cat-row__text {
	min-width: 0;
}

.cat-row__text b {
	display: block;
	font-family: var(--av-display);
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--av-ink);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cat-row__text span {
	font-size: 0.66rem;
	font-weight: 600;
	color: var(--av-ink-4);
	font-variant-numeric: tabular-nums;
}

.cat-row--bird      { --cat-ink: var(--av-pine);      --cat-tint: #DDE8E2; }
.cat-row--cage      { --cat-ink: #3B352C;             --cat-tint: #E4DDCC; }
.cat-row--nest      { --cat-ink: var(--av-brick);     --cat-tint: #F0DCCF; }
.cat-row--light     { --cat-ink: #B67A0E;             --cat-tint: #F6E7C2; }
.cat-row--organizer { --cat-ink: var(--av-ember);     --cat-tint: #F3DECD; }
.cat-row--feeder    { --cat-ink: #6E7A3E;             --cat-tint: #E5E9D2; }
.cat-row--perch     { --cat-ink: var(--av-pine-deep); --cat-tint: #E0E6E1; }

@media (min-width: 640px) {
	.cats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.7rem;
	}

	.cat-row {
		min-height: 64px;
		padding: 0.6rem 0.75rem;
		gap: 0.7rem;
	}

	.cat-row__art {
		width: 44px;
		height: 44px;
	}

	.cat-art {
		width: 28px;
		height: 28px;
	}

	.cat-row__text b {
		font-size: 0.95rem;
	}

	.cat-row__text span {
		font-size: 0.7rem;
	}
}

@media (hover: hover) and (pointer: fine) {
	.cat-row:hover {
		border-color: var(--cat-ink);
		transform: translateY(-2px);
		box-shadow: var(--shadow-md);
	}

	.cat-row:hover .cat-art {
		transform: scale(1.1);
	}
}

/* --------------------------------------------------------------------------
   13. Spotlight
   -------------------------------------------------------------------------- */

.spotlight__inner {
	display: grid;
	gap: var(--sp-5);
}

.spotlight__media {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background:
		radial-gradient(60% 55% at 50% 42%, rgba(240, 168, 28, 0.22), transparent 70%),
		linear-gradient(160deg, #1C1A15, #0E0D0A);
	display: grid;
	place-items: center;
}

.spotlight__media img {
	width: 70%;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55));
}

.spotlight__price {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	padding: 0.5rem 0.9rem;
	border-radius: 999px;
	background: rgba(251, 249, 245, 0.94);
	color: var(--av-ink);
	font-size: var(--fs-sm);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.spotlight__list {
	list-style: none;
	margin: var(--sp-4) 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.spotlight__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: var(--fs-sm);
	color: #D6CDBA;
}

.section--ink .spotlight__list .icon {
	color: var(--av-amber);
	flex: none;
	margin-top: 2px;
}

@media (min-width: 900px) {
	.spotlight__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
		gap: clamp(2rem, 6vw, 5.5rem);
	}

	.spotlight__media {
		aspect-ratio: 1 / 1;
	}

	.spotlight__media img {
		width: 78%;
	}

	.spotlight__list {
		margin-bottom: var(--sp-6);
	}
}

/* --------------------------------------------------------------------------
   14. Story
   -------------------------------------------------------------------------- */

.story__inner {
	display: grid;
	gap: var(--sp-5);
}

.story__media {
	position: relative;
	aspect-ratio: 5 / 4;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--av-parchment);
	border: 1px solid var(--av-line);
}

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

/* A stamped "since" seal, echoing the wordmark's SINCE 2024. */
.story__seal {
	position: absolute;
	right: 0.85rem;
	bottom: 0.85rem;
	width: 84px;
	height: 84px;
	display: grid;
	place-items: center;
	text-align: center;
	border-radius: 50%;
	background: var(--av-brick);
	box-shadow: 0 0 0 1px var(--av-brass), inset 0 0 0 3px rgba(255, 246, 239, 0.22);
	color: #FFF6EF;
	font-family: var(--av-display);
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.4;
	box-shadow: var(--shadow-md);
}

.story__seal b {
	display: block;
	font-size: 1.1rem;
	letter-spacing: 0.04em;
}

.story__points {
	list-style: none;
	margin: var(--sp-4) 0;
	padding: 0;
	display: grid;
	gap: var(--sp-4);
}

.story__points li {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: var(--sp-4);
	align-items: start;
}

.story__points .icon {
	color: var(--av-pine);
	width: 40px;
	height: 40px;
	padding: 9px;
	border: 1px solid var(--av-line);
	border-radius: 50%;
	background: var(--av-white);
	box-sizing: border-box;
}

.story__points b {
	display: block;
	font-family: var(--av-display);
	font-size: var(--fs-md);
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 0.15rem;
}

.story__points p {
	margin: 0;
	font-size: var(--fs-sm);
	color: var(--av-ink-3);
}

@media (min-width: 900px) {
	.story__inner {
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
		align-items: center;
		gap: clamp(2rem, 6vw, 5rem);
	}

	.story__seal {
		right: -1.25rem;
		bottom: -1.25rem;
		width: 116px;
		height: 116px;
		font-size: 0.7rem;
		letter-spacing: 0.16em;
	}

	.story__seal b {
		font-size: 1.35rem;
	}

	.story__points {
		margin-bottom: var(--sp-6);
	}
}

/* --------------------------------------------------------------------------
   15. Assurance row
   -------------------------------------------------------------------------- */

.assurance {
	grid-template-columns: 1fr;
	gap: 0;
	border: 1px solid var(--av-line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--av-surface);
}

.assurance__item {
	padding: 1.35rem;
	border-bottom: 1px solid var(--av-line);
}

.assurance__item:last-child {
	border-bottom: 0;
}

.assurance__item .icon {
	color: var(--av-brick);
	margin-bottom: var(--sp-3);
}

.assurance__item h3 {
	font-size: var(--fs-md);
	margin-bottom: 0.3rem;
}

.assurance__item p {
	margin: 0;
	font-size: var(--fs-sm);
	color: var(--av-ink-3);
}

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

	.assurance__item {
		padding: clamp(1.5rem, 3vw, 2.5rem);
		border-bottom: 0;
		border-right: 1px solid var(--av-line);
	}

	.assurance__item:last-child {
		border-right: 0;
	}

	.assurance__item .icon {
		margin-bottom: var(--sp-4);
	}
}

/* --------------------------------------------------------------------------
   16. Newsletter
   -------------------------------------------------------------------------- */

.newsletter__inner {
	display: grid;
	gap: var(--sp-5);
	padding: 1.5rem;
	border-radius: var(--radius-lg);
	background: var(--av-dark);
	color: #E6DFD0;
	position: relative;
	overflow: hidden;
}

.newsletter__inner::before {
	content: "";
	position: absolute;
	inset: auto auto -40% -10%;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(31, 92, 85, 0.55), transparent 65%);
	pointer-events: none;
}

.newsletter__copy {
	position: relative;
}

.newsletter__copy h2 {
	color: var(--av-white);
	margin-bottom: 0.4rem;
}

.newsletter__copy p {
	margin: 0;
	color: #B7AE9B;
	max-width: 40ch;
}

.newsletter__form {
	position: relative;
	display: grid;
	gap: 0.5rem;
}

.newsletter__form input[type="email"] {
	min-height: 52px;
	padding: 0 1rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.06);
	color: var(--av-white);
	font-size: var(--fs-base);
}

.newsletter__form input[type="email"]::placeholder {
	color: #8C8474;
}

.newsletter__form input[type="email"]:focus {
	outline: none;
	border-color: var(--av-amber);
	background: rgba(255, 255, 255, 0.1);
}

.newsletter__form .btn {
	--btn-bg: var(--av-amber);
	--btn-bd: var(--av-amber);
	--btn-fg: var(--av-ink);
}

.newsletter__note {
	margin: 0.25rem 0 0;
	font-size: var(--fs-xs);
	color: #8C8474;
}

@media (min-width: 560px) {
	.newsletter__form {
		grid-template-columns: 1fr auto;
	}

	.newsletter__note {
		grid-column: 1 / -1;
	}
}

@media (min-width: 900px) {
	.newsletter__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
		gap: clamp(2rem, 5vw, 4rem);
		padding: clamp(2rem, 5vw, 4rem);
	}
}

/* --------------------------------------------------------------------------
   17. Breadcrumbs, pagination, page headers
   -------------------------------------------------------------------------- */

/* Breadcrumbs scroll rather than wrap to three lines on a narrow screen. */
.breadcrumbs {
	overflow-x: auto;
	scrollbar-width: none;
	margin-bottom: var(--sp-4);
}

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

.breadcrumbs ol {
	display: flex;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--fs-xs);
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--av-ink-4);
	white-space: nowrap;
}

.breadcrumbs li + li::before {
	content: "/";
	margin-right: 0.5rem;
	color: var(--av-line);
}

.breadcrumbs a {
	text-decoration: none;
}

.page-hero {
	padding-block: 2rem 1.75rem;
	background: var(--av-parchment);
	border-bottom: 1px solid var(--av-line);
}

.page-hero__title {
	margin: 0;
	font-size: var(--fs-2xl);
	max-width: 20ch;
}

.page-hero__text {
	margin-top: var(--sp-4);
	max-width: 60ch;
	color: var(--av-ink-2);
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: center;
	margin-top: var(--sp-7);
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: var(--tap);
	height: var(--tap);
	padding: 0 0.75rem;
	border: 1px solid var(--av-line);
	border-radius: var(--radius);
	text-decoration: none;
	font-size: var(--fs-sm);
	font-weight: 600;
	background: var(--av-surface);
	transition: all 0.25s var(--ease);
}

.pagination .page-numbers.current {
	background: var(--av-ink);
	border-color: var(--av-ink);
	color: var(--av-white);
}

.pagination .dots {
	border: 0;
	background: none;
}

@media (min-width: 720px) {
	.page-hero {
		padding-block: 3.5rem 2.75rem;
	}

	.breadcrumbs {
		margin-bottom: var(--sp-5);
	}
}

/* --------------------------------------------------------------------------
   18. Editorial content
   -------------------------------------------------------------------------- */

.entry-content {
	font-size: var(--fs-base);
	color: var(--av-ink-2);
}

.entry-content > * {
	max-width: var(--wrap-narrow);
	margin-inline: auto;
}

.entry-content > .alignwide {
	max-width: 1080px;
}

.entry-content > .alignfull {
	max-width: none;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--av-ink);
	margin-top: 1.7em;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.2em;
}

.entry-content li {
	margin-bottom: 0.4em;
}

.entry-content a {
	color: var(--av-brick);
	text-decoration-color: rgba(168, 52, 31, 0.35);
}

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

/* Pull quote — centred, ruled above and below, set in the display italic.
   A left bar reads as a code block; this reads as a magazine. */
.entry-content blockquote {
	margin: 2em auto;
	padding: 1.2em 0;
	border-top: 1px solid var(--av-brass);
	border-bottom: 1px solid var(--av-brass);
	border-left: 0;
	font-family: var(--av-display);
	font-size: var(--fs-lg);
	font-style: italic;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.01em;
	text-align: center;
	color: var(--av-ink);
	max-width: 34ch;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

/* Drop cap on the opening paragraph of an article or a product description. */
.entry-content > p:first-of-type::first-letter,
.accordion__item.is-open .accordion__inner > p:first-of-type::first-letter {
	float: left;
	font-family: var(--av-display);
	font-size: 3.4em;
	line-height: 0.82;
	font-weight: 500;
	padding: 0.06em 0.09em 0 0;
	color: var(--av-brick);
}

/* Tables scroll inside their own box; the page never scrolls sideways. */
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--fs-sm);
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.entry-content th,
.entry-content td {
	padding: 0.7rem 0.85rem;
	border-bottom: 1px solid var(--av-line);
	text-align: left;
}

.entry-content th {
	font-weight: 600;
	color: var(--av-ink);
}

.entry-content pre {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.entry-meta {
	font-size: var(--fs-xs);
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--av-ink-4);
	display: flex;
	gap: 0.5rem;
}

.page-thumb {
	margin: 0 0 var(--sp-6);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--av-parchment);
}

.page-thumb img {
	width: 100%;
	height: auto;
}

.post-navigation {
	display: grid;
	gap: var(--sp-4);
	margin-top: var(--sp-6);
	padding-top: var(--sp-5);
	border-top: 1px solid var(--av-line);
}

.post-navigation a {
	display: block;
	font-family: var(--av-display);
	font-size: var(--fs-md);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	min-height: var(--tap);
}

.post-navigation .eyebrow {
	display: block;
	margin-bottom: 0.35rem;
}

.page-links {
	display: flex;
	gap: 0.5rem;
	margin-top: var(--sp-5);
	font-size: var(--fs-sm);
}

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

/* Accordion --------------------------------------------------------------- */

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

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

.accordion__head {
	margin: 0;
	font-size: inherit;
}

.accordion__btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	min-height: 58px;
	padding: 1rem 0;
	border: 0;
	background: none;
	cursor: pointer;
	text-align: left;
	font-family: var(--av-display);
	font-size: var(--fs-md);
	font-weight: 600;
	color: var(--av-ink);
}

.accordion__btn .icon {
	flex: none;
	color: var(--av-ink-3);
	transition: transform 0.35s var(--ease-out);
}

.accordion__item.is-open .accordion__btn .icon {
	transform: rotate(45deg);
	color: var(--av-brick);
}

.accordion__inner {
	padding-bottom: 1.5rem;
	max-width: 68ch;
}

.accordion__inner > * {
	max-width: none;
	margin-inline: 0;
}

/* --------------------------------------------------------------------------
   19. Blog cards
   -------------------------------------------------------------------------- */

.post-grid {
	grid-template-columns: 1fr;
}

.post-card__media {
	aspect-ratio: 3 / 2;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--av-parchment);
	margin-bottom: var(--sp-4);
	display: block;
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease-out);
}

.post-card__title {
	font-size: var(--fs-lg);
	margin-bottom: 0.4rem;
}

.post-card__title a {
	text-decoration: none;
}

.post-card__excerpt {
	font-size: var(--fs-sm);
	color: var(--av-ink-3);
}

@media (min-width: 640px) {
	.post-grid {
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	}
}

@media (hover: hover) and (pointer: fine) {
	.post-card:hover .post-card__media img {
		transform: scale(1.04);
	}
}

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */

.site-footer {
	background: var(--av-dark);
	color: #B7AE9B;
	padding-block: 2.25rem var(--sp-5);
	margin-top: 2rem;
	position: relative;
	padding-bottom: calc(var(--sp-5) + var(--safe-b));
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: linear-gradient(
		to right,
		var(--av-pine) 0 25%,
		var(--av-brick) 25% 50%,
		var(--av-ember) 50% 75%,
		var(--av-amber) 75% 100%
	);
}

.site-footer .site-brand {
	color: var(--av-white);
	margin-bottom: var(--sp-4);
}

.site-footer .site-brand__rest {
	color: #B7AE9B;
}

.site-footer__top {
	display: grid;
	gap: var(--sp-6);
	padding-bottom: var(--sp-6);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__about {
	max-width: 38ch;
	font-size: var(--fs-sm);
	line-height: 1.6;
}

.site-footer__contact {
	display: grid;
	gap: 0.25rem;
	margin-top: var(--sp-4);
	font-size: var(--fs-sm);
}

.site-footer__contact a {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: var(--tap);
	text-decoration: none;
	color: var(--av-white);
	width: fit-content;
}

.site-footer__contact .icon {
	color: var(--av-amber);
}

.site-footer__cols {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--sp-5);
}

.footer-col__title {
	font-family: var(--av-sans);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--av-white);
	margin-bottom: var(--sp-3);
}

.footer-menu {
	display: grid;
	font-size: var(--fs-sm);
}

.footer-menu a,
.legal-menu a {
	display: flex;
	align-items: center;
	min-height: 40px;
	text-decoration: none;
}

.site-footer__bottom {
	display: grid;
	gap: var(--sp-3);
	padding-top: var(--sp-5);
	font-size: var(--fs-xs);
}

.site-footer__copy {
	margin: 0;
}

.legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--sp-4);
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__pay {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
}

.site-footer__pay span {
	padding: 0.25rem 0.6rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 3px;
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

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

@media (min-width: 860px) {
	.site-footer {
		padding-block: clamp(2.5rem, 4vw, 3.5rem) var(--sp-6);
		margin-top: clamp(2rem, 3vw, 3rem);
	}

	.site-footer__top {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
		gap: clamp(2rem, 5vw, 4rem);
		padding-bottom: var(--sp-7);
	}

	.site-footer__cols {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: var(--sp-6);
	}

	.footer-menu a:hover,
	.legal-menu a:hover {
		color: var(--av-amber);
	}

	.site-footer__bottom {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: var(--sp-4);
	}
}

/* --------------------------------------------------------------------------
   21. Forms & comments
   -------------------------------------------------------------------------- */

/* 16px minimum on every field: anything smaller makes iOS Safari zoom the
   whole page the moment a customer taps into checkout. */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
select,
textarea {
	width: 100%;
	min-height: 52px;
	padding: 0.7rem 0.95rem;
	border: 1px solid var(--av-line);
	border-radius: var(--radius);
	background: var(--av-surface);
	font-size: max(16px, var(--fs-sm));
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

textarea {
	min-height: 140px;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--av-pine);
	box-shadow: 0 0 0 3px rgba(31, 92, 85, 0.12);
}

label {
	display: block;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--av-ink-3);
	margin-bottom: 0.35rem;
}

.comments-area {
	margin-top: var(--sp-6);
}

.comment-list {
	list-style: none;
	margin: 0 0 var(--sp-6);
	padding: 0;
}

.comment-list li {
	padding: var(--sp-4) 0;
	border-bottom: 1px solid var(--av-line);
}

/* --------------------------------------------------------------------------
   22. 404
   -------------------------------------------------------------------------- */

.error-404 {
	text-align: center;
	padding-block: 3.5rem;
}

.error-404__code {
	font-family: var(--av-display);
	font-size: clamp(4.5rem, 22vw, 12rem);
	line-height: 0.85;
	color: var(--av-line);
	margin: 0 0 var(--sp-5);
}

.error-404 .eyebrow {
	justify-content: center;
}

@media (min-width: 720px) {
	.error-404 {
		padding-block: clamp(4rem, 10vw, 8rem);
	}
}
