/*
 * Bluds — core styles.
 *
 * Light theme only, by decision: the brief asks for a white site and no dark
 * mode, so there are no prefers-color-scheme blocks to keep in sync.
 * No framework, no reset library — just the small amount of normalisation the
 * theme actually relies on.
 */

/* -------------------------------------------------------------------------
 * Tokens
 * ---------------------------------------------------------------------- */

:root {
	/*
	 * Brand, taken from the logo artwork. Orange leads.
	 *
	 * The logo orange cannot carry white text — #ff9500 against #fff is only
	 * 2.2:1, far below AA. So it is used as a FILL behind dark ink (8.2:1),
	 * and a deeper orange carries white text on buttons (5.2:1). Measured, not
	 * guessed; re-check with a contrast tool before changing any of these.
	 */
	--brand: #ff9500;           /* logo orange: fills, badges, highlights */
	--brand-deep: #c2410c;      /* buttons and anything with white text */
	--brand-deeper: #9a3412;    /* button hover */
	--brand-link: #b45309;      /* links and inline text on white */
	--brand-tint: #fff4e3;
	--brand-tint-2: #ffe7c4;
	--ink-on-brand: #241300;    /* text placed on --brand */

	/* Kept from the logo as a secondary, used sparingly. */
	--blue: #0077b6;
	--blue-tint: #e8f3f9;

	/* Discounts read as urgent, so they get their own red. */
	--sale: #d92d20;
	--sale-tint: #fdecea;

	/* Back-compat aliases so older rules keep resolving. */
	--brand-dark: var(--brand-deeper);
	--accent: var(--brand);
	--accent-dark: #e07f00;
	--accent-tint: var(--brand-tint);

	/* Ink and surfaces. All body/background pairs meet WCAG AA. */
	--ink: #14181d;
	--ink-2: #48525c;
	--ink-3: #6d7883;
	--bg: #ffffff;
	--bg-soft: #f6f8fa;
	--bg-sink: #eef2f5;
	--line: #e2e7ec;
	--line-strong: #cbd3da;

	/* Dark surfaces: promo banner and footer. */
	--ink-deep: #171a1f;
	--ink-deep-2: #22262d;
	--ink-footer: #1b1f26;
	--on-dark: #ffffff;
	--on-dark-muted: #c9d1d9;
	--on-dark-faint: #8b95a1;
	--brand-on-dark: #ffab3d;   /* orange lifted for dark grounds */

	--ok: #1a7f4b;
	--ok-tint: #e7f5ed;
	--warn: #9a3412;
	--warn-tint: #fdf1e7;

	--radius-sm: 6px;
	--radius: 12px;
	--radius-lg: 20px;

	--shadow-sm: 0 1px 2px rgba(20, 24, 29, .06), 0 1px 3px rgba(20, 24, 29, .04);
	--shadow: 0 4px 12px rgba(20, 24, 29, .07), 0 2px 4px rgba(20, 24, 29, .04);
	--shadow-lg: 0 18px 40px rgba(20, 24, 29, .12), 0 4px 12px rgba(20, 24, 29, .06);

	--container: 1240px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--header-h: 68px;

	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
		Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";

	--ease: cubic-bezier(.4, 0, .2, 1);
}

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

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

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

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

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

img {
	height: auto;
}

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

button {
	cursor: pointer;
}

a {
	color: var(--brand-link);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--brand-deeper);
}

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.02em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

ul, ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 2rem 0;
}

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

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* -------------------------------------------------------------------------
 * Utilities
 * ---------------------------------------------------------------------- */

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

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

.skip-link:focus {
	position: fixed !important;
	top: .75rem;
	left: .75rem;
	z-index: 999;
	width: auto;
	height: auto;
	margin: 0;
	padding: .75rem 1.25rem;
	clip-path: none;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-sm);
	text-decoration: none;
}

.icon {
	flex: none;
}

.is-flipped {
	transform: rotate(180deg);
}

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

.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .7rem 1.25rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--brand-deep);
	color: #fff;
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color .18s var(--ease), border-color .18s var(--ease),
		transform .18s var(--ease), box-shadow .18s var(--ease);
}

.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: var(--brand-deeper);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: var(--shadow);
}

.btn:active {
	transform: translateY(0);
}

.btn--primary {
	background: var(--brand-deep);
	color: #fff;
}

.btn--accent {
	background: var(--accent);
	color: #241300;
}

.btn--accent:hover {
	background: var(--accent-dark);
	color: #241300;
}

.btn--outline {
	background: transparent;
	border-color: var(--line-strong);
	color: var(--ink);
}

.btn--outline:hover {
	background: var(--bg-soft);
	border-color: var(--ink-3);
	color: var(--ink);
}

.btn--lg {
	padding: .9rem 1.6rem;
	font-size: 1.02rem;
}

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

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	text-decoration: none;
	transition: background-color .18s var(--ease);
}

.icon-btn:hover {
	background: var(--bg-sink);
	color: var(--ink);
}

/* -------------------------------------------------------------------------
 * Badges
 * ---------------------------------------------------------------------- */

.badge {
	display: inline-block;
	padding: .3rem .6rem;
	border-radius: 999px;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .01em;
	line-height: 1;
	white-space: nowrap;
}

.badge--sale {
	background: var(--accent);
	color: #241300;
}

.badge--oos {
	background: var(--ink);
	color: #fff;
}

/* Discount red carries white text at 4.8:1, so it passes AA. */
.badge--discount {
	background: var(--sale);
	color: #fff;
	font-size: .78rem;
	padding: .35rem .65rem;
	box-shadow: 0 2px 8px rgba(217, 45, 32, .35);
}

.badge--pick {
	background: var(--ink);
	color: #fff;
}

/* Draws the eye to a live reduction without becoming a distraction. */
.badge--deal {
	background: var(--brand);
	color: var(--ink-on-brand);
	animation: badge-throb 2.4s ease-in-out infinite;
}

@keyframes badge-throb {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
	.badge--deal {
		animation: none;
	}
}

/* -------------------------------------------------------------------------
 * Announcement bar
 * ---------------------------------------------------------------------- */

.announcement {
	background: var(--ink);
	color: #fff;
	font-size: .85rem;
}

.announcement__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 38px;
	text-align: center;
}

.announcement p {
	margin: 0;
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: var(--header-h);
}

.site-header__burger {
	display: none;
}

.site-branding {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1;
}

.site-branding a {
	display: inline-block;
	text-decoration: none;
}

.site-branding__text {
	color: var(--ink);
	font-weight: 800;
	letter-spacing: -.03em;
}

/*
 * Size from the height, not the width. The logo sits in a flex item with no
 * intrinsic width, so the global img { max-width: 100% } resolves to 100% of
 * zero and the logo collapses to nothing. An explicit height plus
 * max-width: none breaks that circular dependency.
 */
.site-branding img,
.site-branding__img,
.custom-logo {
	height: 40px;
	width: auto;
	max-width: none;
	max-height: none;
}

.site-branding__link {
	display: inline-block;
	line-height: 0;
}

.primary-nav {
	margin-inline: auto;
}

.primary-nav__list {
	display: flex;
	align-items: center;
	gap: .25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav__list a {
	display: block;
	padding: .55rem .85rem;
	border-radius: var(--radius-sm);
	color: var(--ink-2);
	font-size: .95rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color .18s var(--ease), color .18s var(--ease);
}

.primary-nav__list a:hover,
.primary-nav__list .current-menu-item > a {
	background: var(--bg-sink);
	color: var(--ink);
}

.primary-nav__list .sub-menu {
	display: none;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: .15rem;
	margin-left: auto;
}

.primary-nav + .site-header__actions {
	margin-left: 0;
}

.cart-link__count {
	position: absolute;
	top: 3px;
	right: 2px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--accent);
	color: #241300;
	font-size: .7rem;
	font-weight: 700;
	line-height: 19px;
	text-align: center;
}

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

.header-search {
	border-top: 1px solid var(--line);
	background: var(--bg);
	padding-block: 1rem;
}

.header-search[hidden] {
	display: none;
}

/* -------------------------------------------------------------------------
 * Mobile nav
 * ---------------------------------------------------------------------- */

.mobile-nav {
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 200;
	width: min(320px, 86vw);
	padding: 1rem;
	background: var(--bg);
	box-shadow: var(--shadow-lg);
	overflow-y: auto;
	transform: translateX(-100%);
	transition: transform .28s var(--ease);
}

.mobile-nav[hidden] {
	display: block;
	visibility: hidden;
}

.mobile-nav.is-open {
	visibility: visible;
	transform: translateX(0);
}

.mobile-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: .75rem;
	border-bottom: 1px solid var(--line);
}

.mobile-nav__title {
	font-weight: 700;
}

.mobile-nav__list {
	margin: 0;
	padding: .5rem 0 0;
	list-style: none;
}

.mobile-nav__list a {
	display: block;
	padding: .75rem .25rem;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
}

.mobile-nav__list .sub-menu {
	margin: 0;
	padding-left: 1rem;
	list-style: none;
}

.nav-backdrop {
	position: fixed;
	inset: 0;
	z-index: 150;
	background: rgba(20, 24, 29, .45);
	opacity: 0;
	transition: opacity .28s var(--ease);
}

.nav-backdrop.is-visible {
	opacity: 1;
}

body.nav-open {
	overflow: hidden;
}

/* -------------------------------------------------------------------------
 * Search form
 * ---------------------------------------------------------------------- */

.search-form__field {
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .35rem .35rem .35rem .85rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--bg);
	transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.search-form__field:focus-within {
	border-color: var(--brand);
	box-shadow: 0 0 0 3px var(--brand-tint);
}

.search-form__icon {
	color: var(--ink-3);
}

.search-form__input {
	flex: 1;
	min-width: 0;
	padding: .5rem 0;
	border: 0;
	background: transparent;
	font-size: 1rem;
}

.search-form__input:focus {
	outline: none;
}

.search-form__submit {
	flex: none;
	padding: .6rem 1.1rem;
}

/* -------------------------------------------------------------------------
 * Promotional banner
 * ---------------------------------------------------------------------- */

.promo {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(90rem 40rem at 12% -30%, rgba(255, 149, 0, .20), transparent 62%),
		linear-gradient(160deg, var(--ink-deep-2) 0%, var(--ink-deep) 70%);
	color: var(--on-dark);
}

/* Soft moving sheen. Decorative only, and stilled for reduced motion. */
.promo::after {
	content: "";
	position: absolute;
	inset: -50% -20%;
	background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .06) 50%, transparent 65%);
	transform: translateX(-60%);
	animation: promo-sheen 7s var(--ease) infinite;
	pointer-events: none;
}

@keyframes promo-sheen {
	0%, 60% { transform: translateX(-60%); }
	100% { transform: translateX(60%); }
}

.promo__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding-block: clamp(2.25rem, 5vw, 3.75rem);
}

.promo__copy {
	max-width: 46rem;
}

.promo__flag {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin-bottom: .9rem;
	padding: .35rem .85rem;
	border-radius: 999px;
	background: rgba(255, 149, 0, .14);
	color: var(--brand-on-dark);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.promo__pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--brand-on-dark);
	animation: promo-pulse 1.8s ease-in-out infinite;
}

@keyframes promo-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: .35; transform: scale(.7); }
}

.promo__title {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0 0 .6rem;
	color: var(--on-dark);
	letter-spacing: -.03em;
}

.promo__lead {
	font-size: clamp(1.5rem, 3.6vw, 2.5rem);
	font-weight: 800;
}

.promo__number {
	display: inline-flex;
	align-items: baseline;
	color: var(--brand);
	font-size: clamp(3.2rem, 9vw, 5.5rem);
	font-weight: 900;
	line-height: .95;
	letter-spacing: -.05em;
}

.promo__pct {
	font-size: .5em;
	font-weight: 800;
	margin-left: .05em;
}

.promo__text {
	max-width: 44ch;
	margin: 0 0 1.5rem;
	color: var(--on-dark-muted);
	font-size: 1.02rem;
	font-weight: 500;
}

/* White pill button, for use on the orange banner. */
.btn--onbrand {
	background: var(--brand);
	color: var(--ink-on-brand);
	box-shadow: 0 8px 22px rgba(255, 149, 0, .28);
}

.btn--onbrand:hover {
	background: var(--on-dark);
	color: var(--ink-deep);
}

/*
 * Only the dashed ring turns. Rotating the whole seal would orbit the text
 * around the circle's centre — counter-rotating the children fixes their
 * orientation but not their position, so they swirl and collide. The ring is
 * therefore a separate, absolutely positioned pseudo-element.
 */
.promo__seal {
	position: relative;
	display: grid;
	place-content: center;
	flex: none;
	width: clamp(8rem, 14vw, 11.5rem);
	aspect-ratio: 1;
	text-align: center;
	color: var(--brand);
}

.promo__seal::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px dashed rgba(255, 149, 0, .45);
	border-radius: 50%;
	animation: promo-spin 22s linear infinite;
}

@keyframes promo-spin {
	to { transform: rotate(360deg); }
}

.promo__seal-num,
.promo__seal-label {
	position: relative;
	display: block;
}

.promo__seal-num {
	font-size: clamp(1.8rem, 4vw, 2.9rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -.04em;
}

.promo__seal-label {
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .3em;
}

/* -------------------------------------------------------------------------
 * Secondary promo strip
 * ---------------------------------------------------------------------- */

.promo-strip {
	padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.promo-strip__inner {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.25rem clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--brand-tint-2);
	border-radius: var(--radius-lg);
	background: linear-gradient(120deg, var(--brand-tint) 0%, #fffaf3 100%);
}

.promo-strip__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--brand);
	color: var(--ink-on-brand);
}

.promo-strip__copy {
	flex: 1;
}

.promo-strip__title {
	margin: 0;
	font-size: clamp(1.05rem, 2.2vw, 1.3rem);
}

.promo-strip__text {
	margin: .2rem 0 0;
	color: var(--ink-2);
	font-size: .93rem;
}

.promo-strip__cta {
	flex: none;
}

/* -------------------------------------------------------------------------
 * Featured trio
 * ---------------------------------------------------------------------- */

.trio {
	padding-block: clamp(2rem, 4vw, 3rem);
}

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

.trio__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.trio__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-lg);
	background: var(--bg-soft);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

.trio__item:hover .trio__media {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

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

.trio__item:hover .trio__img {
	transform: scale(1.06);
}

.trio__badges {
	position: absolute;
	top: .9rem;
	left: .9rem;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: .35rem;
	align-items: flex-start;
}

/* Slides up on hover, and is revealed on keyboard focus too. */
.trio__peek {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	padding: .85rem;
	background: rgba(255, 255, 255, .95);
	color: var(--brand-deeper);
	font-size: .92rem;
	font-weight: 700;
	transform: translateY(101%);
	transition: transform .3s var(--ease);
}

.trio__item:hover .trio__peek,
.trio__link:focus-visible .trio__peek {
	transform: translateY(0);
}

.trio__body {
	display: block;
	padding-top: .85rem;
}

.trio__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
}

.trio__price {
	display: block;
	margin-top: .25rem;
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--ink);
}

.trio__price del {
	margin-right: .4rem;
	color: var(--ink-3);
	font-size: .82em;
	font-weight: 500;
}

.trio__price ins {
	background: none;
	text-decoration: none;
	color: var(--sale);
}

/* -------------------------------------------------------------------------
 * Scroll reveal
 * ---------------------------------------------------------------------- */

/*
 * Only elements the script has marked get hidden. Without JS, [data-reveal]
 * never receives .reveal-ready, so content stays visible: the animation can
 * never hide content permanently.
 */
[data-reveal].reveal-ready {
	opacity: 0;
	transform: translateY(18px);
}

[data-reveal].reveal-in {
	opacity: 1;
	transform: none;
	transition: opacity .55s var(--ease) var(--reveal-delay, 0ms),
		transform .55s var(--ease) var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
	[data-reveal].reveal-ready {
		opacity: 1;
		transform: none;
	}

	.promo::after,
	.promo__pulse,
	.promo__seal::before {
		animation: none;
	}
}

/* -------------------------------------------------------------------------
 * Trust bar
 * ---------------------------------------------------------------------- */

.trustbar {
	border-block: 1px solid var(--line);
	background: var(--bg-soft);
}

.trustbar__inner {
	display: grid;
	/* minmax(0, 1fr), not 1fr: a bare 1fr track refuses to shrink below its
	   content, which makes the columns visibly uneven on narrow screens. */
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	padding-block: 1.5rem;
}

.trustbar__item {
	display: flex;
	align-items: center;
	gap: .75rem;
}

.trustbar__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--bg);
	border: 1px solid var(--line);
	color: var(--brand-deep);
}

.trustbar__text {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.trustbar__text strong {
	font-size: .95rem;
}

.trustbar__text span {
	color: var(--ink-3);
	font-size: .84rem;
}

/* -------------------------------------------------------------------------
 * Section heads and strips
 * ---------------------------------------------------------------------- */

.strip {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.strip__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.75rem;
}

.strip__title {
	margin: 0;
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.strip__subtitle {
	margin: .35rem 0 0;
	color: var(--ink-3);
	font-size: .95rem;
}

.strip__link {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	flex: none;
	font-size: .95rem;
	font-weight: 600;
	text-decoration: none;
}

.strip__link:hover .icon {
	transform: translateX(3px);
}

.strip__link .icon {
	transition: transform .2s var(--ease);
}

/* -------------------------------------------------------------------------
 * Category grid
 * ---------------------------------------------------------------------- */

.cats {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.cats__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cats__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.cats__media {
	display: block;
	aspect-ratio: 1;
	border-radius: var(--radius);
	background: var(--bg-soft);
	overflow: hidden;
}

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

.cats__link:hover .cats__img {
	transform: scale(1.05);
}

.cats__body {
	display: block;
	padding-top: .6rem;
	text-align: center;
}

.cats__name {
	display: block;
	font-size: .92rem;
	font-weight: 600;
}

.cats__count {
	display: block;
	color: var(--ink-3);
	font-size: .8rem;
}

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

.how {
	background: var(--bg-soft);
	border-block: 1px solid var(--line);
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.how__title {
	margin-bottom: 2rem;
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	text-align: center;
}

.how__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.how__step {
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg);
}

.how__num {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin-bottom: .85rem;
	border-radius: 50%;
	background: var(--brand-deep);
	color: #fff;
	font-size: .9rem;
	font-weight: 700;
}

.how__step h3 {
	margin: 0 0 .4rem;
	font-size: 1.05rem;
}

.how__step p {
	margin: 0;
	color: var(--ink-2);
	font-size: .92rem;
}

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

.cta {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, var(--brand) 0%, #01598a 100%);
	color: #fff;
}

.cta__title {
	margin: 0 0 .35rem;
	color: #fff;
	font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

.cta__text {
	max-width: 52ch;
	margin: 0;
	color: rgba(255, 255, 255, .88);
}

.cta .btn {
	flex: none;
	background: #fff;
	color: var(--brand-dark);
}

.cta .btn:hover {
	background: var(--accent);
	color: #241300;
}

/* -------------------------------------------------------------------------
 * Page furniture
 * ---------------------------------------------------------------------- */

.site-main {
	min-height: 50vh;
}

.breadcrumbs {
	padding-block: 1.25rem .25rem;
}

.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .35rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--ink-3);
	font-size: .85rem;
}

.breadcrumbs__item {
	display: flex;
	align-items: center;
	gap: .35rem;
}

.breadcrumbs__item a {
	color: var(--ink-3);
	text-decoration: none;
}

.breadcrumbs__item a:hover {
	color: var(--brand);
	text-decoration: underline;
}

.breadcrumbs__item [aria-current] {
	color: var(--ink);
	font-weight: 500;
}

.page-header {
	padding-block: 1.5rem 2rem;
}

.page-header__title {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.page-header__desc {
	max-width: 70ch;
	margin-top: .75rem;
	color: var(--ink-2);
}

.page-article {
	max-width: 780px;
	margin-inline: auto;
	padding-bottom: 3rem;
}

.page-article__media {
	margin: 0 0 2rem;
	border-radius: var(--radius);
	overflow: hidden;
}

.post-meta {
	margin: .5rem 0 0;
	color: var(--ink-3);
	font-size: .88rem;
}

/* Long-form content: policies, blog posts, page copy. */
.prose {
	font-size: 1.02rem;
	line-height: 1.75;
}

.prose > * + * {
	margin-top: 1.1em;
}

.prose h2 {
	margin-top: 2.25em;
	font-size: 1.5rem;
}

.prose h3 {
	margin-top: 1.75em;
	font-size: 1.18rem;
}

.prose ul,
.prose ol {
	padding-left: 1.4em;
}

.prose li + li {
	margin-top: .4em;
}

.prose img {
	border-radius: var(--radius);
}

.prose blockquote {
	margin: 1.5em 0;
	padding: .25em 0 .25em 1.25em;
	border-left: 3px solid var(--brand);
	color: var(--ink-2);
	font-style: italic;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: .95rem;
}

.prose th,
.prose td {
	padding: .65rem .75rem;
	border: 1px solid var(--line);
	text-align: left;
}

.prose th {
	background: var(--bg-soft);
}

/* -------------------------------------------------------------------------
 * Post grid
 * ---------------------------------------------------------------------- */

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem 1.5rem;
	padding-bottom: 3rem;
}

.post-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	margin-bottom: .9rem;
	border-radius: var(--radius);
	background: var(--bg-soft);
	overflow: hidden;
}

.post-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__title {
	margin: 0 0 .25rem;
	font-size: 1.1rem;
}

.post-card__title a {
	color: var(--ink);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--brand);
}

.post-card__excerpt {
	margin: .5rem 0 0;
	color: var(--ink-2);
	font-size: .93rem;
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}

.post-nav__link {
	display: block;
	padding: 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: inherit;
	text-decoration: none;
}

.post-nav__link:hover {
	border-color: var(--brand);
}

.post-nav__link--next {
	text-align: right;
	grid-column: 2;
}

.post-nav__label {
	display: block;
	color: var(--ink-3);
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.post-nav__title {
	display: block;
	font-weight: 600;
}

/* -------------------------------------------------------------------------
 * Pagination
 * ---------------------------------------------------------------------- */

.pagination {
	padding-block: 1rem 3rem;
}

.pagination__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination__list .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding-inline: .6rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--ink-2);
	font-size: .92rem;
	font-weight: 500;
	text-decoration: none;
}

.pagination__list .page-numbers:hover {
	border-color: var(--ink-3);
	color: var(--ink);
}

.pagination__list .current {
	background: var(--brand-deep);
	border-color: var(--brand-deep);
	color: #fff;
}

/* -------------------------------------------------------------------------
 * Empty states
 * ---------------------------------------------------------------------- */

.empty-state {
	max-width: 560px;
	margin-inline: auto;
	padding-block: clamp(3rem, 8vw, 5rem);
	text-align: center;
}

.empty-state__code {
	margin: 0;
	color: var(--brand);
	font-size: clamp(3.5rem, 12vw, 6rem);
	font-weight: 800;
	letter-spacing: -.05em;
	line-height: 1;
}

.empty-state__title {
	margin: .5rem 0 .75rem;
	font-size: clamp(1.4rem, 3vw, 2rem);
}

.empty-state p {
	color: var(--ink-2);
}

.empty-state .search-form {
	margin: 1.5rem 0;
	text-align: left;
}

.empty-state__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
	margin: 0;
}

/* -------------------------------------------------------------------------
 * Widgets
 * ---------------------------------------------------------------------- */

.widget {
	padding-bottom: 1.5rem;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid var(--line);
}

.widget:last-child {
	border-bottom: 0;
	margin-bottom: 0;
}

.widget__title {
	margin: 0 0 .75rem;
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: -.01em;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .92rem;
}

.widget li {
	padding: .3rem 0;
}

.widget a {
	color: var(--ink-2);
	text-decoration: none;
}

.widget a:hover {
	color: var(--brand);
}

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

.site-footer {
	margin-top: 4rem;
	background: var(--ink-footer);
	color: var(--on-dark-muted);
	padding-block: 3rem 1.5rem;
	font-size: .93rem;
}

.site-branding--footer .site-branding__img {
	height: 42px;
	width: auto;
	max-width: none;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	gap: 2rem;
}

.site-footer__blurb {
	max-width: 34ch;
	margin: 1rem 0;
	color: var(--on-dark-muted);
}

.site-footer__contact {
	display: flex;
	align-items: center;
	gap: .45rem;
	margin: 0;
}

.site-footer__contact a {
	color: var(--brand-on-dark);
}

.site-footer .widget a {
	color: var(--on-dark-muted);
}

.site-footer .widget a:hover {
	color: var(--brand-on-dark);
}

.site-footer .widget__title {
	color: var(--on-dark);
}

.site-footer__heading {
	margin: 0 0 .75rem;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--on-dark-faint);
}

.site-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__list li {
	padding: .25rem 0;
}

.site-footer__list a {
	color: var(--on-dark-muted);
	text-decoration: none;
}

.site-footer__list a:hover {
	color: var(--brand-on-dark);
	text-decoration: underline;
}

.site-footer__address {
	color: var(--on-dark-muted);
	font-style: normal;
	line-height: 1.7;
}

.site-footer__widgets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
	color: var(--on-dark-faint);
	font-size: .86rem;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__trust {
	display: flex;
	align-items: center;
	gap: .4rem;
}

/* -------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------- */

@media (max-width: 1080px) {
	.cats__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 900px) {
	.site-header__burger {
		display: inline-flex;
	}

	.primary-nav {
		display: none;
	}

	.site-branding {
		margin-right: auto;
	}

	.promo__inner {
		flex-direction: column;
		align-items: flex-start;
	}

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

	/* Three tall cards do not fit two-up without an orphan, so drop the third. */
	.trio__item:last-child {
		display: none;
	}

	.promo-strip__inner {
		flex-wrap: wrap;
	}

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

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

	.post-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.cta__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 600px) {
	:root {
		--header-h: 60px;
	}

	.announcement {
		font-size: .78rem;
	}

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

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

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

	.post-nav__link--next {
		grid-column: 1;
		text-align: left;
	}

	.site-footer__grid,
	.site-footer__widgets {
		grid-template-columns: 1fr;
	}

	.search-form__submit .screen-reader-text {
		position: static !important;
		width: auto;
		height: auto;
		clip-path: none;
	}
}
