/*
 * Roar Atelier: base, layout and components.
 *
 * Colour, type and shape tokens are printed inline from the Customizer and
 * override the fallbacks below. WooCommerce styles live in woocommerce.css.
 */

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

:root {
	--at-ink: #1f1b19;
	--at-accent: #c3912e;
	--at-bg: #fff;
	--at-surface: #f5f4f2;
	--at-muted: #6b6661;
	--at-line: #e4e0db;
	--at-sale: #a8321f;
	--at-footer-bg: #1f1b19;
	--at-footer-text: #d9d4cd;
	--at-font-display: Georgia, serif;
	--at-font-body: system-ui, sans-serif;
	--at-base: 16px;
	--at-radius: 2px;
	--at-container: 1320px;
	--at-ratio: 3 / 4;
	--at-logo-h: 44px;
	--at-logo-h-sm: 32px;

	/* Gold is too light for small text on white; this is its readable partner. */
	--at-accent-ink: color-mix(in srgb, var(--at-accent) 68%, #000);
	--at-on-ink: #fff;
	--at-whatsapp: #25d366;
	--at-on-whatsapp: #06281d;

	--at-gutter: clamp(16px, 4vw, 48px);
	--at-section: clamp(56px, 8vw, 112px);
	--at-header-h: 76px;
	--at-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--at-arch: 999px 999px var(--at-radius) var(--at-radius);
}

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

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

html {
	font-size: var(--at-base);
	-webkit-text-size-adjust: 100%;
	scrollbar-gutter: stable; /* No sideways jump when a drawer locks scrolling. */
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--at-header-h) + 16px);
}

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

body.at-lock {
	overflow: hidden;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img,
video {
	height: auto;
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-family: var(--at-font-display);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.005em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.25rem, 4.2vw, 3.5rem);
}

h2 {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
	font-size: 1.5rem;
}

h4 {
	font-size: 1.25rem;
}

h5,
h6 {
	font-family: var(--at-font-body);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0;
}

p {
	margin: 0 0 1em;
}

a {
	color: inherit;
	text-decoration-color: var(--at-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
	transition: color 0.2s, text-decoration-color 0.2s;
}

a:hover {
	color: var(--at-accent-ink);
}

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

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

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	padding: 0.75em 0.5em;
	border-bottom: 1px solid var(--at-line);
	text-align: start;
	vertical-align: top;
}

th {
	font-weight: 500;
}

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

::selection {
	background: var(--at-ink);
	color: var(--at-on-ink);
}

.at-icon {
	flex: none;
	display: inline-block;
	vertical-align: middle;
}

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

.skip-link:focus {
	position: fixed !important;
	inset-block-start: 8px;
	inset-inline-start: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 20px;
	clip: auto;
	background: var(--at-ink);
	color: var(--at-on-ink);
}

[hidden] {
	display: none !important;
}

/* ---------------------------------------------------------------- Layout */

.at-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

.at-content {
	flex: 1;
}

.at-container {
	width: 100%;
	max-width: calc(var(--at-container) + var(--at-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--at-gutter);
}

.at-container--narrow {
	max-width: calc(760px + var(--at-gutter) * 2);
}

.at-section {
	padding-block: calc(var(--at-section) / 2);
}

.at-home > .at-section:last-child {
	padding-block-end: var(--at-section);
}

.at-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px 32px;
	flex-wrap: wrap;
	margin-block-end: clamp(20px, 3vw, 36px);
}

.at-section__title {
	margin: 0;
}

.at-section__intro {
	margin: 8px 0 0;
	color: var(--at-muted);
	max-width: 60ch;
}

/* --------------------------------------------------------- Buttons, links */

.at-btn,
.wp-block-button__link,
.at-prose input[type="submit"],
.at-comments input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 12px 28px;
	border: 1px solid var(--at-ink);
	border-radius: var(--at-radius);

	/* The hover colour rises from the bottom edge like a fill. */
	--at-btn-fill: var(--at-accent);
	background-color: var(--at-ink);
	background-image: linear-gradient(var(--at-btn-fill), var(--at-btn-fill));
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 100% 0;
	color: var(--at-on-ink);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-size 0.35s var(--at-ease), border-color 0.25s, color 0.25s;
}

.at-btn:hover,
.wp-block-button__link:hover,
.at-prose input[type="submit"]:hover,
.at-comments input[type="submit"]:hover {
	border-color: var(--at-accent);
	background-size: 100% 100%;
	color: var(--at-ink);
}

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

.at-btn--ghost:hover {
	border-color: var(--at-ink);
	color: var(--at-on-ink);
}

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

.at-btn--small {
	min-height: 40px;
	padding: 8px 18px;
	font-size: 0.875rem;
}

.at-btn--whatsapp {
	--at-btn-fill: var(--at-on-whatsapp);
	border-color: var(--at-whatsapp);
	background-color: var(--at-whatsapp);
	color: var(--at-on-whatsapp);
}

.at-btn--whatsapp:hover {
	border-color: var(--at-on-whatsapp);
	color: #fff;
}

.at-link {
	display: inline-block;
	padding: 0;
	border: 0;
	background: none;
	color: var(--at-ink);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--at-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.35em;
	cursor: pointer;
}

.at-link:hover {
	color: var(--at-ink);
	text-decoration-thickness: 2px;
}

.at-iconbtn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: inherit;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s;
}

.at-iconbtn:hover {
	background: var(--at-surface);
	color: inherit;
}

.at-count {
	position: absolute;
	inset-block-start: 4px;
	inset-inline-end: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--at-ink);
	color: var(--at-on-ink);
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

/* ----------------------------------------------------------------- Forms */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="date"],
select,
textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--at-line);
	border-radius: var(--at-radius);
	background: var(--at-bg);
	color: var(--at-ink);
	font: inherit;
	font-size: 1rem; /* 16px keeps iOS from zooming on focus. */
	line-height: 1.4;
	transition: border-color 0.2s;
}

input:hover,
select:hover,
textarea:hover {
	border-color: var(--at-muted);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--at-ink);
	outline: 2px solid var(--at-accent);
	outline-offset: 1px;
}

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

select {
	appearance: none;
	padding-inline-end: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231f1b19' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

[dir="rtl"] select {
	background-position: left 14px center;
}

input[type="checkbox"],
input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0 8px 0 0;
	accent-color: var(--at-ink);
	vertical-align: -3px;
}

label {
	font-size: 0.9375rem;
}

::placeholder {
	color: var(--at-muted);
	opacity: 1;
}

.at-hp {
	position: absolute;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.at-searchform {
	display: flex;
	gap: 8px;
	max-width: 520px;
}

.at-searchform input {
	flex: 1;
}

/* ---------------------------------------------------------------- Topbar */

.at-topbar {
	background: var(--at-ink);
	color: var(--at-on-ink);
	font-size: 0.8125rem;
	line-height: 1.4;
}

.at-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
	padding-block: 6px;
}

.at-topbar a {
	color: inherit;
	text-decoration: none;
}

.at-topbar a:hover {
	color: var(--at-accent);
}

.at-topbar__phones {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-topbar__phones a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

/* Up to four numbers on wide screens; two where the bar is narrower. */
@media (max-width: 1199.98px) {
	.at-topbar__phones li:nth-child(n + 3) {
		display: none;
	}
}

.at-topbar__text {
	flex: 1;
	margin: 0;
	text-align: center;
}

.at-topbar__tools {
	display: flex;
	align-items: center;
	gap: 16px;
}

.at-currency select {
	min-height: 28px;
	width: auto;
	padding: 2px 30px 2px 8px;
	border-color: rgba(255, 255, 255, 0.3);
	background-color: transparent;
	color: inherit;
	font-size: 0.8125rem;
}

.at-social {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: inherit;
}

.at-social--bar a {
	width: 26px;
	height: 26px;
}

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

.at-header {
	position: relative;
	z-index: 50;
	background: var(--at-bg);
	border-bottom: 1px solid var(--at-line);
	transition: transform 0.3s var(--at-ease);
}

.at-sticky-header .at-header {
	position: sticky;
	inset-block-start: 0;
}

.admin-bar.at-sticky-header .at-header {
	inset-block-start: var(--wp-admin--admin-bar--height, 32px);
}

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

.at-header__toggle {
	display: none;
	margin-inline-start: -10px;
}

.at-header__brand {
	flex: none;
	display: flex;
	align-items: center;
}

.at-header__brand img,
.custom-logo {
	width: auto;
	height: var(--at-logo-h);
	max-width: 260px;
	object-fit: contain;
}

.at-wordmark {
	font-family: var(--at-font-display);
	font-size: 1.75rem;
	line-height: 1;
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
}

.at-wordmark:hover {
	color: inherit;
}

.at-header__tools {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-inline-start: auto;
	margin-inline-end: -10px;
}

.at-header--minimal .at-header__inner {
	justify-content: space-between;
}

.at-header__secure {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--at-muted);
	font-size: 0.875rem;
}

/* Main menu */

.at-nav {
	flex: 1;
	min-width: 0;
}

.at-nav__list,
.at-nav__list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0 clamp(16px, 2.2vw, 34px);
}

.at-nav__list > li {
	position: relative;
}

.at-nav__list > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: var(--at-header-h);
	font-size: 0.9375rem;
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
}

.at-nav__list > li > a::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-end: calc(var(--at-header-h) / 2 - 16px);
	height: 1px;
	background: var(--at-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--at-ease);
}

.at-nav__list > li:hover > a,
.at-nav__list > li > a:hover {
	color: var(--at-ink);
}

.at-nav__list > li:hover > a::after,
.at-nav__list > li:focus-within > a::after,
.at-nav__list > .current-menu-item > a::after,
.at-nav__list > .current-menu-ancestor > a::after,
.at-nav__list > .current-product-ancestor > a::after {
	transform: scaleX(1);
}

.at-nav__list > li > a .at-icon {
	opacity: 0.6;
}

.at-nav__list .sub-menu {
	position: absolute;
	inset-block-start: 100%;
	inset-inline-start: -24px;
	z-index: 60;
	min-width: 240px;
	padding: 16px 24px 20px;
	border: 1px solid var(--at-line);
	border-top: 0;
	background: var(--at-bg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

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

.at-nav__list .sub-menu a {
	display: block;
	padding: 7px 0;
	font-size: 0.9375rem;
	text-decoration: none;
}

.at-nav__list .sub-menu a:hover {
	text-decoration: underline;
}

.at-nav__list .sub-menu .sub-menu {
	position: static;
	min-width: 0;
	padding: 0 0 6px 14px;
	border: 0;
	opacity: 1;
	visibility: inherit;
	transform: none;
}

.at-nav__list .sub-menu .sub-menu a {
	color: var(--at-muted);
	font-size: 0.875rem;
}

/* Add the CSS class "mega" to a top-level menu item for a multi-column panel. */

.at-nav__list > li.mega {
	position: static;
}

.at-nav__list > li.mega > a::after {
	display: none;
}

.at-nav__list > li.mega > .sub-menu {
	inset-inline: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 8px 40px;
	padding: 28px max(var(--at-gutter), calc((100vw - var(--at-container)) / 2)) 36px;
	border-inline: 0;
}

.at-nav__list > li.mega > .sub-menu > li > a {
	margin-block-end: 6px;
	font-family: var(--at-font-display);
	font-size: 1.25rem;
}

.at-nav__list > li.mega > .sub-menu .sub-menu {
	padding-inline-start: 0;
}

/* Logo centred, menu below */

@media (min-width: 1024px) {
	.at-header-logo-center .at-header__inner {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		grid-template-areas: ". brand tools" "nav nav nav";
		gap: 0 24px;
		padding-block-start: 18px;
	}

	.at-header-logo-center .at-header__brand {
		grid-area: brand;
	}

	.at-header-logo-center .at-header__tools {
		grid-area: tools;
		justify-self: end;
	}

	.at-header-logo-center .at-nav {
		grid-area: nav;
		--at-header-h: 54px;
	}

	.at-header-logo-center .at-nav__list {
		justify-content: center;
	}
}

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

	.at-header__toggle {
		display: inline-flex;
	}

	.at-nav,
	.at-header__account,
	.at-topbar__phones,
	.at-topbar__tools {
		display: none;
	}

	.at-has-mobile-bar .at-header__wishlist {
		display: none;
	}

	.at-header__inner {
		gap: 8px;
	}

	.at-header__brand {
		flex: 1;
		justify-content: center;
	}

	.at-header__brand img,
	.custom-logo {
		height: var(--at-logo-h-sm);
		max-width: 180px;
	}

	.at-wordmark {
		font-size: 1.375rem;
	}

	.at-header__tools {
		margin-inline-start: 0;
	}

	.at-topbar__inner {
		justify-content: center;
	}

	.at-header--minimal .at-header__brand {
		flex: none;
	}

	/* With no announcement, phones are the only content: show them. */
	.at-topbar__phones:first-child:last-child {
		display: flex;
	}
}

/* ------------------------------------------------- Drawers, modals, toast */

.at-backdrop {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(31, 27, 25, 0.45);
	opacity: 0;
	transition: opacity 0.3s;
}

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

.at-drawer {
	position: fixed;
	inset-block: 0;
	z-index: 100;
	display: flex;
	flex-direction: column;
	width: min(420px, 92vw);
	background: var(--at-bg);
	visibility: hidden;
	transition: transform 0.35s var(--at-ease), visibility 0.35s;
}

.at-drawer--left {
	inset-inline-start: 0;
	transform: translateX(-100%);
}

.at-drawer--right {
	inset-inline-end: 0;
	transform: translateX(100%);
}

[dir="rtl"] .at-drawer--left {
	transform: translateX(100%);
}

[dir="rtl"] .at-drawer--right {
	transform: translateX(-100%);
}

.at-drawer--wide {
	width: min(560px, 94vw);
}

.at-drawer--top {
	inset-block: 0 auto;
	inset-inline: 0;
	width: auto;
	max-height: 100dvh;
	padding-block: 20px 28px;
	overflow-y: auto;
	transform: translateY(-100%);
}

.at-drawer.is-open {
	visibility: visible;
	transform: none;
}

.admin-bar .at-drawer {
	inset-block-start: var(--wp-admin--admin-bar--height, 32px);
}

.at-drawer__head {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 16px 14px 24px;
	border-bottom: 1px solid var(--at-line);
}

.at-drawer__title {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-family: var(--at-font-display);
	font-size: 1.375rem;
	line-height: 1.2;
}

.at-drawer__title .at-count {
	position: static;
}

.at-drawer__body {
	flex: 1;
	min-height: 0;
	padding: 20px 24px 28px;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.at-modal {
	position: fixed;
	inset-block-start: 50%;
	inset-inline-start: 50%;
	z-index: 100;
	width: min(940px, calc(100vw - 32px));
	max-height: calc(100dvh - 48px);
	overflow-y: auto;
	border-radius: var(--at-radius);
	background: var(--at-bg);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -48%);
	transition: opacity 0.25s, transform 0.25s var(--at-ease), visibility 0.25s;
}

[dir="rtl"] .at-modal {
	transform: translate(50%, -48%);
}

.at-modal.is-open {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%);
}

[dir="rtl"] .at-modal.is-open {
	transform: translate(50%, -50%);
}

.at-modal__close {
	position: absolute;
	inset-block-start: 8px;
	inset-inline-end: 8px;
	z-index: 2;
	background: var(--at-bg);
}

.at-modal__body {
	padding: clamp(20px, 4vw, 40px);
}

.at-popup {
	width: min(520px, calc(100vw - 32px));
}

.at-popup__title {
	font-size: 2rem;
}

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

.at-toast {
	position: fixed;
	inset-block-end: 88px;
	inset-inline-start: 50%;
	z-index: 120;
	max-width: calc(100vw - 32px);
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--at-ink);
	color: var(--at-on-ink);
	font-size: 0.875rem;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 12px);
	transition: opacity 0.25s, transform 0.25s;
}

.at-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

.at-toast:empty {
	display: none;
}

/* Drawer menu */

.at-mnav__list,
.at-mnav__list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-mnav__list li {
	position: relative;
	border-bottom: 1px solid var(--at-line);
}

.at-mnav__list a {
	display: block;
	padding: 14px 48px 14px 0;
	font-size: 1.0625rem;
	text-decoration: none;
}

.at-mnav__list .sub-menu {
	display: none;
	padding: 0 0 10px 14px;
}

.at-mnav__list li.is-open > .sub-menu {
	display: block;
}

.at-mnav__list .sub-menu li {
	border: 0;
}

.at-mnav__list .sub-menu a {
	padding-block: 9px;
	color: var(--at-muted);
	font-size: 0.9375rem;
}

.at-sub-toggle {
	position: absolute;
	inset-block-start: 4px;
	inset-inline-end: -8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.at-sub-toggle .at-icon {
	transition: transform 0.25s;
}

.at-sub-toggle[aria-expanded="true"] .at-icon {
	transform: rotate(45deg);
}

.at-drawer__links {
	margin: 20px 0;
	padding: 0;
	list-style: none;
}

.at-drawer__links a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	font-size: 0.9375rem;
	text-decoration: none;
}

/* Search panel */

.at-search__form {
	display: flex;
	align-items: center;
	gap: 12px;
	border-bottom: 1px solid var(--at-ink);
}

.at-search__form input[type="search"] {
	flex: 1;
	min-height: 56px;
	padding-inline: 0;
	border: 0;
	background: none;
	font-family: var(--at-font-display);
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	outline: 0;
}

.at-search__form input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

.at-search__results {
	padding-block-start: 16px;
}

.at-search__results:empty {
	display: none;
}

.at-search__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-search__item a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 0;
	text-decoration: none;
}

.at-search__item img {
	width: 56px;
	aspect-ratio: var(--at-ratio);
	object-fit: cover;
	border-radius: var(--at-radius);
	background: var(--at-surface);
}

.at-search__item strong {
	display: block;
	color: var(--at-ink);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.3;
}

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

.at-search__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.at-search__note {
	margin: 12px 0 0;
	color: var(--at-muted);
}

.at-search__more {
	margin-block-start: 16px;
}

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

.at-hero {
	position: relative;
	background: var(--at-surface);
	overflow: hidden;
}

.at-hero__slides {
	display: grid;
}

.at-hero__slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s, visibility 0.6s;
}

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

.at-hero__title {
	margin: 0 0 0.3em;
	font-size: clamp(2.75rem, 6.4vw, 5.5rem);
	line-height: 1.02;
	letter-spacing: -0.012em;
}

.at-hero__lede {
	max-width: 36ch;
	margin: 0 0 1.75em;
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	line-height: 1.5;
}

.at-hero__media {
	background: color-mix(in srgb, var(--at-line) 70%, var(--at-surface));
	overflow: hidden;
}

.at-hero__media img,
.at-hero__media .at-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.at-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--at-accent) 22%, transparent), transparent 70%),
		color-mix(in srgb, var(--at-line) 70%, var(--at-surface));
}

/* Split: words beside a framed image */

.at-hero--split .at-hero__slide {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
	align-items: center;
	gap: clamp(24px, 6vw, 96px);
	width: 100%;
	max-width: calc(var(--at-container) + var(--at-gutter) * 2);
	margin-inline: auto;
	padding: clamp(28px, 4vw, 56px) var(--at-gutter) 0;
}

.at-hero--split .at-hero__text {
	order: 1;
	padding-block: 24px clamp(72px, 9vw, 112px);
}

.at-hero--split .at-hero__media {
	order: 2;
	align-self: end;
	height: min(74vh, 720px);
	min-height: 380px;
}

.at-shape-arch .at-hero--split .at-hero__media {
	border-radius: 999px 999px 0 0;
}

.at-hero--split .at-hero__lede {
	color: var(--at-muted);
}

/* Cover: words over a full-width image */

.at-hero--cover .at-hero__slide {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(82vh, 780px);
	color: #fff;
}

.at-hero--cover .at-hero__media {
	position: absolute;
	inset: 0;
}

.at-hero--cover .at-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(20, 17, 15, 0.72), rgba(20, 17, 15, 0.08) 62%);
}

.at-hero--cover .at-hero__text {
	position: relative;
	width: 100%;
	max-width: calc(var(--at-container) + var(--at-gutter) * 2);
	margin-inline: auto;
	padding: 48px var(--at-gutter) clamp(84px, 9vw, 120px);
}

.at-hero__controls {
	position: absolute;
	inset-block-end: clamp(16px, 3vw, 36px);
	inset-inline-start: max(var(--at-gutter), calc((100% - var(--at-container)) / 2));
	display: flex;
	align-items: center;
	gap: 6px;
	margin-inline-start: -10px;
}

.at-hero--cover .at-hero__controls {
	color: #fff;
}

.at-hero--cover .at-hero__controls .at-iconbtn:hover {
	background: rgba(255, 255, 255, 0.18);
}

.at-hero__count {
	margin: 0;
	min-width: 3.5em;
	font-size: 0.875rem;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

/* One orchestrated arrival: on load, and again each time the slide changes. */

@media (prefers-reduced-motion: no-preference) {
	.at-hero__slide.is-active .at-hero__text > * {
		animation: at-rise 0.9s var(--at-ease) both;
	}

	.at-hero__slide.is-active .at-hero__text > :nth-child(2) {
		animation-delay: 0.12s;
	}

	.at-hero__slide.is-active .at-hero__text > :nth-child(3) {
		animation-delay: 0.24s;
	}

	.at-hero__slide.is-active .at-hero__media img {
		animation: at-settle 1.6s var(--at-ease) both;
	}
}

@keyframes at-rise {
	from {
		opacity: 0;
		transform: translateY(22px);
	}
}

@keyframes at-settle {
	from {
		transform: scale(1.07);
	}
}

@media (max-width: 899.98px) {
	.at-hero--split .at-hero__slide {
		grid-template-columns: 1fr;
		gap: 0;
		padding-block-start: 20px;
	}

	.at-hero--split .at-hero__media {
		order: 1;
		height: auto;
		min-height: 0;
		aspect-ratio: 4 / 5;
		max-height: 46vh; /* Leaves the headline and button in view on a phone. */
		width: min(100%, 440px);
		margin-inline: auto;
	}

	.at-hero--split .at-hero__text {
		order: 2;
		padding-block: 24px 76px;
	}

	.at-hero--split .at-hero__lede {
		margin-block-end: 1.25em;
	}

	.at-hero--cover .at-hero__slide {
		min-height: min(78vh, 620px);
	}
}

/* ------------------------------------------------------ Store promises */

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

.at-usp__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 20px 32px;
	margin-block: 0;
	padding-block: 26px;
	list-style: none;
}

.at-usp__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.at-usp__item .at-icon {
	margin-block-start: 2px;
	color: var(--at-accent-ink);
}

.at-usp__item p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--at-muted);
}

.at-usp__item strong {
	display: block;
	color: var(--at-ink);
	font-size: 0.9375rem;
	font-weight: 500;
}

@media (max-width: 599.98px) {
	.at-usp__list {
		grid-template-columns: 1fr 1fr;
		gap: 18px 16px;
	}

	.at-usp__item span {
		display: none;
	}
}

/* ------------------------------------------------------------ Categories */

.at-cats__list {
	--at-cats-gap: clamp(14px, 2.2vw, 32px);
	display: grid;

	/* Tiles share the row evenly, never more than six across; a seventh starts a new row. */
	grid-template-columns: repeat(auto-fit, minmax(max(150px, calc((100% - 5 * var(--at-cats-gap)) / 6)), 1fr));
	gap: clamp(28px, 3.4vw, 48px) var(--at-cats-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-cats__link {
	display: block;
	text-align: center;
	text-decoration: none;
}

.at-cats__frame {
	display: block;
	aspect-ratio: 3 / 4;
	margin-block-end: 16px;
	border-radius: var(--at-radius);
	background: var(--at-surface);
	overflow: hidden;
}

.at-shape-arch .at-cats__frame {
	border-radius: var(--at-arch);
}

.at-shape-circle .at-cats__frame {
	aspect-ratio: 1;
	border-radius: 50%;
}

.at-cats__frame img,
.at-cats__frame .at-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--at-ease);
}

.at-cats__link:hover .at-cats__frame img {
	transform: scale(1.045);
}

.at-cats__name {
	display: block;
	font-family: var(--at-font-display);
	font-size: clamp(1.125rem, 1.6vw, 1.375rem);
	line-height: 1.2;
}

.at-cats__count {
	display: block;
	margin-block-start: 4px;
	color: var(--at-muted);
	font-size: 0.8125rem;
}

@media (max-width: 699.98px) {
	.at-cats__list {
		display: flex;
		gap: 14px;
		margin-inline: calc(var(--at-gutter) * -1);
		padding-inline: var(--at-gutter);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.at-cats__list::-webkit-scrollbar {
		display: none;
	}

	.at-cats__item {
		flex: 0 0 42%;
		scroll-snap-align: start;
	}
}

/* ------------------------------------------- Banner, tiles, story, quotes */

.at-split__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 6vw, 96px);
}

.at-split--flip .at-split__media {
	order: 2;
}

.at-split__media {
	aspect-ratio: 4 / 5;
	max-height: 760px;
	border-radius: var(--at-radius);
	background: var(--at-surface);
	overflow: hidden;
}

.at-split__media img,
.at-split__media .at-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.at-split__text {
	max-width: 44ch;
}

.at-split__title {
	font-size: clamp(2rem, 3.6vw, 3rem);
}

.at-split__text p {
	color: var(--at-muted);
	font-size: 1.0625rem;
}

.at-split__text .at-btn {
	margin-block-start: 12px;
}

.at-duo__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(14px, 2.2vw, 32px);
}

.at-duo__tile {
	position: relative;
	display: block;
	aspect-ratio: 5 / 6;
	max-height: 720px;
	border-radius: var(--at-radius);
	background: var(--at-surface);
	color: #fff;
	text-decoration: none;
	overflow: hidden;
}

.at-duo__tile img,
.at-duo__tile .at-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--at-ease);
}

.at-duo__tile:hover img {
	transform: scale(1.04);
}

.at-duo__tile::after {
	content: "";
	position: absolute;
	inset: 40% 0 0;
	background: linear-gradient(to top, rgba(20, 17, 15, 0.66), transparent);
}

.at-duo__title {
	position: absolute;
	inset-inline: clamp(18px, 3vw, 36px);
	inset-block-end: clamp(18px, 3vw, 32px);
	z-index: 1;
	font-family: var(--at-font-display);
	font-size: clamp(1.5rem, 2.6vw, 2.25rem);
	line-height: 1.1;
}

.at-duo__tile:hover {
	color: #fff;
}

.at-story {
	background: var(--at-surface);
	padding-block: var(--at-section);
	margin-block: calc(var(--at-section) / 2);
}

.at-story__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(24px, 6vw, 96px);
	align-items: start;
}

.at-story:not(.at-story--image) .at-story__inner {
	grid-template-columns: 1fr;
}

.at-story:not(.at-story--image) .at-story__text {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 16px clamp(24px, 6vw, 96px);
}

.at-story:not(.at-story--image) .at-story__text > :not(.at-story__title) {
	grid-column: 2;
}

.at-story__media {
	aspect-ratio: 4 / 5;
	border-radius: var(--at-radius);
	overflow: hidden;
}

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

.at-story--image .at-story__text {
	align-self: center;
	max-width: 52ch;
}

.at-story__title {
	font-size: clamp(2rem, 3.6vw, 3rem);
}

.at-story__text p {
	font-size: 1.125rem;
	line-height: 1.65;
	max-width: 58ch;
}

.at-quotes__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 32px clamp(24px, 4vw, 56px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-quotes__item {
	padding-block-start: 24px;
	border-top: 1px solid var(--at-ink);
}

.at-quotes__item figure,
.at-quotes__item blockquote {
	margin: 0;
}

.at-quotes__item blockquote p {
	font-family: var(--at-font-display);
	font-size: 1.375rem;
	line-height: 1.35;
}

.at-quotes__item blockquote p::before {
	content: "\201C";
}

.at-quotes__item blockquote p::after {
	content: "\201D";
}

.at-quotes__item figcaption {
	font-size: 0.875rem;
}

.at-quotes__item figcaption strong {
	display: block;
	font-weight: 500;
}

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

/* ------------------------------------------------------------- Instagram */

.at-insta__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0 32px;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--at-line);
}

.at-insta__feed + .at-insta__list {
	margin-block-start: 32px;
}

.at-insta__profile {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 0;
	border-bottom: 1px solid var(--at-line);
	text-decoration: none;
}

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

.at-insta__text strong {
	font-weight: 500;
}

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

.at-insta__profile:hover .at-icon {
	color: var(--at-accent-ink);
}

/* ----------------------------------------------------------------- Posts */

.at-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px);
}

.at-blog--sidebar .at-posts {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 899.98px) {
	.at-posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599.98px) {
	.at-posts,
	.at-blog--sidebar .at-posts {
		grid-template-columns: minmax(0, 1fr);
	}
}

.at-post__media {
	display: block;
	aspect-ratio: 4 / 3;
	margin-block-end: 18px;
	border-radius: var(--at-radius);
	background: var(--at-surface);
	overflow: hidden;
}

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

.at-post:hover .at-post__media img {
	transform: scale(1.04);
}

.at-post__title {
	margin: 0 0 8px;
	font-size: 1.5rem;
}

.at-post__title a {
	text-decoration: none;
}

.at-post__excerpt {
	margin: 0;
	color: var(--at-muted);
}

.at-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin: 0 0 8px;
	color: var(--at-muted);
	font-size: 0.8125rem;
}

/* ------------------------------------------------------------ Newsletter */

.at-newsband {
	padding-block: clamp(40px, 6vw, 72px);
	background: var(--at-surface);
}

.at-home .at-newsband {
	margin-block-start: calc(var(--at-section) / 2);
}

.at-newsband__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 24px clamp(24px, 6vw, 96px);
}

.at-newsband__title {
	margin: 0 0 8px;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.at-newsband__text p {
	margin: 0;
	color: var(--at-muted);
}

.at-newsletter__row {
	display: flex;
	gap: 8px;
}

.at-newsletter__row input {
	flex: 1;
	min-width: 0;
}

.at-newsletter__consent {
	display: flex;
	align-items: flex-start;
	gap: 2px;
	margin-block-start: 12px;
	color: var(--at-muted);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.at-newsletter__consent input {
	flex: none;
	margin-block-start: 1px;
}

.at-newsletter__msg {
	margin: 10px 0 0;
	font-size: 0.875rem;
}

.at-newsletter__msg:empty {
	display: none;
}

.at-newsletter__msg.is-error {
	color: var(--at-sale);
}

/* ------------------------------------------------------- Pages and prose */

.at-page-header {
	padding-block: clamp(24px, 4vw, 48px) clamp(20px, 3vw, 36px);
}

.at-page-header__title {
	margin: 0;
}

.at-page-header__intro {
	max-width: 68ch;
	margin-block-start: 12px;
	color: var(--at-muted);
}

.at-page-header__intro > :last-child {
	margin-block-end: 0;
}

.woocommerce-breadcrumb {
	margin: 0 0 14px;
	color: var(--at-muted);
	font-size: 0.8125rem;
}

.woocommerce-breadcrumb a {
	text-decoration: none;
}

.at-crumb-sep {
	margin-inline: 8px;
	opacity: 0.5;
}

.at-page {
	padding-block-end: var(--at-section);
}

.at-prose {
	font-size: 1.0625rem;
	line-height: 1.7;
}

.at-prose > * {
	max-width: 760px;
}

.at-prose > .alignwide {
	max-width: 1240px;
}

.at-prose > .alignfull {
	max-width: none;
	margin-inline: calc(var(--at-gutter) * -1);
}

.at-prose h2,
.at-prose h3,
.at-prose h4 {
	margin-block-start: 1.6em;
}

.at-prose > :first-child {
	margin-block-start: 0;
}

.at-prose a:not(.at-btn):not(.wp-block-button__link) {
	text-decoration: underline;
}

.at-prose blockquote {
	margin: 2em 0;
	padding-inline-start: 24px;
	border-inline-start: 2px solid var(--at-accent);
	font-family: var(--at-font-display);
	font-size: 1.375rem;
	line-height: 1.4;
}

.at-prose figure {
	margin-inline: 0;
}

.at-prose figcaption,
.wp-caption-text {
	margin-block-start: 8px;
	color: var(--at-muted);
	font-size: 0.8125rem;
}

.at-prose details,
.wp-block-details {
	padding: 16px 0;
	border-bottom: 1px solid var(--at-line);
}

.at-prose summary,
.wp-block-details summary {
	font-weight: 500;
	cursor: pointer;
}

.at-fullwidth > * {
	margin-block: 0;
}

.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.aligncenter {
	margin-inline: auto;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: var(--at-surface);
}

.wp-block-table {
	overflow-x: auto;
}

.wp-block-table td {
	font-variant-numeric: tabular-nums;
}

/* A highlighted remark, such as a price note between two parts of a size chart. */
p.at-note {
	padding: 10px 14px;
	border-inline-start: 3px solid var(--at-accent);
	background: color-mix(in srgb, var(--at-accent) 10%, var(--at-bg));
	font-weight: 500;
}

.at-page-links,
.at-tags {
	margin-block: 24px;
	font-size: 0.875rem;
}

.at-tags a {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 4px 12px;
	border: 1px solid var(--at-line);
	border-radius: 999px;
	text-decoration: none;
}

/* Blog */

.at-blog {
	padding-block-end: var(--at-section);
}

.at-blog--sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(32px, 5vw, 72px);
}

.at-sidebar .widget,
.at-footer__col--widgets .widget {
	margin-block-end: 36px;
}

.widget-title,
.widgettitle {
	margin: 0 0 14px;
	font-family: var(--at-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li {
	padding: 5px 0;
}

.widget a {
	text-decoration: none;
}

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

.at-pagination,
.navigation.pagination {
	margin-block-start: clamp(32px, 5vw, 64px);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border-radius: var(--at-radius);
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}

.page-numbers.current {
	background: var(--at-ink);
	color: var(--at-on-ink);
}

a.page-numbers:hover {
	background: var(--at-surface);
	color: var(--at-ink);
}

/* Single post */

.at-single {
	padding-block-end: var(--at-section);
}

.at-article__head {
	padding-block: clamp(24px, 4vw, 48px) 24px;
}

.at-article__title {
	margin: 0 0 14px;
}

.at-article__media {
	margin-block: 0 clamp(28px, 4vw, 48px);
}

.at-article__media img {
	width: 100%;
	max-height: 76vh;
	object-fit: cover;
	border-radius: var(--at-radius);
}

.at-article__foot {
	margin-block-start: 32px;
}

.at-postnav .nav-links {
	justify-content: space-between;
	align-items: stretch;
	gap: 24px;
	margin-block-start: 32px;
	padding-block-start: 24px;
	border-top: 1px solid var(--at-line);
}

.at-postnav a {
	display: block;
	max-width: 32ch;
	text-decoration: none;
}

.at-postnav .nav-next {
	margin-inline-start: auto;
	text-align: end;
}

.at-postnav__dir {
	display: block;
	color: var(--at-muted);
	font-size: 0.8125rem;
}

.at-postnav__title {
	font-family: var(--at-font-display);
	font-size: 1.25rem;
	line-height: 1.25;
}

.at-share {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-block: 20px;
}

.at-share__label {
	color: var(--at-muted);
	font-size: 0.875rem;
}

.at-share__list {
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-share__list a,
.at-share__list button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: inherit;
	cursor: pointer;
}

.at-share__list a:hover,
.at-share__list button:hover {
	background: var(--at-surface);
	color: var(--at-ink);
}

/* Comments */

.at-comments {
	margin-block-start: clamp(40px, 6vw, 72px);
	padding-block-start: 32px;
	border-top: 1px solid var(--at-line);
}

.at-comments__title,
.comment-reply-title {
	font-size: 1.75rem;
}

.at-comments__list,
.at-comments__list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-comments__list .children {
	padding-inline-start: clamp(16px, 4vw, 48px);
}

.comment-body {
	padding: 20px 0;
	border-bottom: 1px solid var(--at-line);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 500;
}

.comment-author img {
	border-radius: 50%;
}

.comment-metadata,
.comment-reply-link {
	color: var(--at-muted);
	font-size: 0.8125rem;
}

.comment-metadata a {
	text-decoration: none;
}

.comment-form > p {
	margin-block-end: 16px;
}

.comment-form label {
	display: block;
	margin-block-end: 6px;
}

.comment-form-cookies-consent label {
	display: inline;
}

/* Empty states and 404 */

.at-empty,
.at-404 {
	padding-block: clamp(32px, 6vw, 80px);
}

.at-404 > .at-container {
	padding-block-end: clamp(24px, 4vw, 48px);
}

.at-404__text,
.at-empty p {
	max-width: 56ch;
	color: var(--at-muted);
}

.at-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-block-start: 24px;
}

/* Contact page */

.at-contactpage {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 40px clamp(32px, 6vw, 96px);
	padding-block-end: var(--at-section);
}

.at-contactpage__heading {
	margin-block: 0 14px;
	font-size: 1.5rem;
}

.at-contactpage__details > * + .at-contactpage__heading {
	margin-block-start: 36px;
}

.at-contactpage__map {
	grid-column: 1 / -1;
}

.at-map iframe {
	display: block;
	width: 100%;
	height: clamp(280px, 44vw, 460px);
	border: 0;
	border-radius: var(--at-radius);
	filter: grayscale(0.4);
}

.at-contact,
.at-hours {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.at-contact li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 6px 0;
}

.at-contact .at-icon {
	margin-block-start: 3px;
	color: var(--at-accent-ink);
}

.at-contact a {
	text-decoration: none;
}

.at-contact a:hover {
	text-decoration: underline;
}

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

.at-contact__label::after {
	content: ":";
}

.at-contact__wa {
	margin-inline-start: 8px;
	font-size: 0.8125rem;
	text-decoration: underline !important;
}

.at-hours__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 6px 0;
}

.at-hours dt,
.at-hours dd {
	margin: 0;
}

.at-hours dd {
	text-align: end;
	font-variant-numeric: tabular-nums;
}

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

.at-footer {
	background: var(--at-footer-bg);
	color: var(--at-footer-text);
	font-size: 0.9375rem;
}

.at-footer a {
	color: inherit;
	text-decoration: none;
}

.at-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.at-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 40px clamp(24px, 4vw, 64px);
	padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px);
}

.at-footer__col--brand {
	grid-column: span 1;
	max-width: 36ch;
}

.at-footer__name {
	margin: 0 0 14px;
	color: #fff;
	font-family: var(--at-font-display);
	font-size: 1.75rem;
	line-height: 1.1;
}

.at-footer__about {
	line-height: 1.6;
}

.at-footer__title,
.at-footer .widget-title {
	margin: 0 0 16px;
	color: #fff;
	font-family: var(--at-font-body);
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.at-footer__menu,
.at-footer__legal {
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-footer__menu li {
	padding: 5px 0;
}

.at-footer .at-contact .at-icon,
.at-footer .at-contact__label {
	color: inherit;
	opacity: 0.7;
}

.at-footer .at-hours {
	margin-block-start: 18px;
	padding-block-start: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.at-social--footer {
	margin-block-start: 18px;
	margin-inline-start: -9px;
}

.at-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 32px;
	padding-block: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.8125rem;
}

.at-footer__copy {
	margin: 0;
}

.at-footer__copy a,
.at-footer__copy span {
	margin-inline-start: 6px;
}

.at-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
}

/* Keep the last footer line clear of the floating chat button. */
@media (min-width: 768px) {
	.at-has-wa .at-footer__bottom {
		padding-inline-end: max(var(--at-gutter), calc(230px - max(var(--at-gutter), (100vw - var(--at-container)) / 2)));
	}
}

@media (max-width: 767.98px) {
	.at-has-wa .at-footer__bottom {
		padding-block-end: 84px;
	}
}

.at-footer--minimal {
	background: none;
	color: var(--at-muted);
}

.at-footer--minimal .at-footer__bottom {
	border-top-color: var(--at-line);
}

.at-footer--minimal a:hover {
	color: var(--at-ink);
}

/* Payment marks */

.at-pay {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-pay img {
	max-height: 28px;
	width: auto;
}

.at-pay__mark {
	padding: 3px 9px;
	border: 1px solid var(--at-line);
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.5;
	white-space: nowrap;
}

.at-pay--footer .at-pay__mark {
	border-color: rgba(255, 255, 255, 0.28);
}

.at-footer--minimal .at-pay__mark {
	border-color: var(--at-line);
}

.at-pay--center {
	justify-content: center;
}

/* ------------------------------------------------------ Floating controls */

.at-wa {
	position: fixed;
	inset-block-end: 20px;
	inset-inline-end: 20px;
	z-index: 80;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
}

.at-wa__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 20px 0 16px;
	border: 0;
	border-radius: 999px;
	background: var(--at-whatsapp);
	color: var(--at-on-whatsapp);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(6, 40, 29, 0.22);
	transition: transform 0.2s var(--at-ease);
}

.at-wa__btn:hover {
	color: var(--at-on-whatsapp);
	transform: translateY(-2px);
}

.at-wa__panel {
	width: min(300px, calc(100vw - 40px));
	padding: 18px 20px 10px;
	border: 1px solid var(--at-line);
	border-radius: 12px;
	background: var(--at-bg);
	box-shadow: 0 12px 40px rgba(31, 27, 25, 0.16);
}

.at-wa__title {
	margin: 0 0 8px;
	font-weight: 500;
}

.at-wa__panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.at-wa__panel a {
	display: flex;
	flex-direction: column;
	padding: 10px 0;
	line-height: 1.35;
	text-decoration: none;
}

.at-wa__panel a strong {
	font-weight: 500;
}

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

.at-totop {
	position: fixed;
	inset-block-end: 20px;
	inset-inline-start: 20px;
	z-index: 70;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--at-line);
	border-radius: 50%;
	background: var(--at-bg);
	color: var(--at-ink);
	cursor: pointer;
}

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

.at-cookie {
	position: fixed;
	inset-block-end: 20px;
	inset-inline-start: 20px;
	z-index: 85;
	display: flex;
	align-items: center;
	gap: 16px;
	width: min(460px, calc(100vw - 40px));
	padding: 16px 18px;
	border: 1px solid var(--at-line);
	border-radius: 10px;
	background: var(--at-bg);
	box-shadow: 0 12px 40px rgba(31, 27, 25, 0.14);
	font-size: 0.875rem;
	line-height: 1.45;
}

.at-cookie p {
	flex: 1;
	margin: 0;
}

.at-mbar {
	display: none;
}

@media (max-width: 767.98px) {
	.at-has-mobile-bar {
		padding-block-end: calc(60px + env(safe-area-inset-bottom));
	}

	.at-mbar {
		position: fixed;
		inset-inline: 0;
		inset-block-end: 0;
		z-index: 75;
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 1fr;
		padding-block-end: env(safe-area-inset-bottom);
		border-top: 1px solid var(--at-line);
		background: var(--at-bg);
	}

	.at-mbar a,
	.at-mbar button {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		height: 60px;
		padding: 0;
		border: 0;
		background: none;
		color: var(--at-muted);
		font: inherit;
		font-size: 0.6875rem;
		line-height: 1;
		text-decoration: none;
		cursor: pointer;
	}

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

	.at-mbar .at-count {
		inset-block-start: 8px;
		inset-inline-end: calc(50% - 22px);
	}

	.at-wa__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.at-wa__btn {
		width: 54px;
		padding: 0;
		justify-content: center;
	}

	/* Phones already have the sticky header and bottom bar; a third floating control only covers content. */
	.at-totop {
		display: none;
	}

	.at-wa,
	.at-cookie {
		inset-block-end: 16px;
	}

	.at-wa {
		inset-inline-end: 16px;
	}

	.at-totop,
	.at-cookie {
		inset-inline-start: 16px;
	}

	.at-has-mobile-bar .at-wa,
	.at-has-mobile-bar .at-totop,
	.at-has-mobile-bar .at-cookie {
		inset-block-end: calc(72px + env(safe-area-inset-bottom));
	}

	.at-cookie {
		width: calc(100vw - 32px);
	}

	.at-toast {
		inset-block-end: calc(140px + env(safe-area-inset-bottom));
	}
}

/* ------------------------------------------------------ Smaller screens */

@media (max-width: 899.98px) {
	.at-split__inner,
	.at-story__inner,
	.at-newsband__inner,
	.at-contactpage,
	.at-blog--sidebar,
	.at-story:not(.at-story--image) .at-story__text {
		grid-template-columns: 1fr;
	}

	.at-story:not(.at-story--image) .at-story__text > :not(.at-story__title) {
		grid-column: auto;
	}

	.at-split--flip .at-split__media {
		order: 0;
	}

	.at-split__media {
		max-height: 70vh;
	}
}

@media (max-width: 479.98px) {
	.at-newsletter__row {
		flex-direction: column;
	}

	/* The checkout header has room for the logo and the way back; the reassurance repeats beside the pay button. */
	.at-header__secure {
		display: none;
	}
}

/* ---------------------------------------------------------- Preferences */

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

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

@media print {
	.at-topbar,
	.at-header,
	.at-footer,
	.at-newsband,
	.at-wa,
	.at-mbar,
	.at-cookie,
	.at-totop,
	.at-drawer,
	.at-modal,
	.at-backdrop {
		display: none !important;
	}
}

/* --------------------------------------------------------------- Marquee */

.at-marquee {
	padding-block: clamp(14px, 1.8vw, 22px);
	background: var(--at-ink);
	color: var(--at-on-ink);
	overflow: hidden;
}

.at-marquee__track {
	display: flex;
	width: max-content;
	animation: at-marquee var(--at-marquee-time, 50s) linear infinite;
}

.at-marquee:hover .at-marquee__track,
.at-marquee:focus-within .at-marquee__track {
	animation-play-state: paused;
}

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

.at-marquee__set li {
	display: flex;
	align-items: center;
	gap: clamp(20px, 3vw, 44px);
	padding-inline-end: clamp(20px, 3vw, 44px);
	font-family: var(--at-font-display);
	font-size: clamp(1.375rem, 2.6vw, 2.25rem);
	line-height: 1.15;
	white-space: nowrap;
}

.at-marquee__set a {
	color: inherit;
	text-decoration: none;
}

.at-marquee__set a:hover {
	color: var(--at-accent);
}

.at-marquee__mark {
	flex: none;
	width: 0.46em;
	height: 0.62em;
	color: var(--at-accent);
}

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

[dir="rtl"] .at-marquee__track {
	animation-name: at-marquee-rtl;
}

@keyframes at-marquee-rtl {
	to {
		transform: translateX(50%);
	}
}

/* Without motion the strip becomes a still, centred line of the same words. */
@media (prefers-reduced-motion: reduce) {
	.at-marquee__track {
		width: auto;
		justify-content: center;
		animation: none;
	}

	.at-marquee__set {
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 6px;
	}

	.at-marquee__set[aria-hidden="true"] {
		display: none;
	}
}

/* ----------------------------------------------------- Richer decoration */

/*
 * "Rich" (Customize, Colours, type and shape, Decoration) brings the accent
 * colour forward: an echoed arch around the hero image, a geometric lattice on
 * the dark and tinted bands, and warmer surfaces. "Quiet" skips this block.
 */

.at-rich {
	--at-tint: color-mix(in srgb, var(--at-accent) 13%, var(--at-bg));
	--at-lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56' fill='none' stroke='%23000'%3E%3Cpath d='M28 6 50 28 28 50 6 28zM12.4 12.4h31.2v31.2H12.4zM28 0v6M28 50v6M0 28h6M50 28h6'/%3E%3C/svg%3E");
}

/* Header */

.at-rich .at-topbar {
	background-image: linear-gradient(90deg, transparent 15%, color-mix(in srgb, var(--at-accent) 20%, transparent) 50%, transparent 85%);
}

.at-rich .at-header .at-count,
.at-rich .at-mbar .at-count {
	background: var(--at-accent);
	color: var(--at-ink);
}

.at-rich .at-mbar [aria-current="page"] {
	color: var(--at-accent-ink);
}

/* Hero: a warm glow behind the image and a gold arch echoing its frame. */

.at-rich .at-hero--split {
	background:
		radial-gradient(64% 84% at 80% 22%, color-mix(in srgb, var(--at-accent) 22%, var(--at-surface)) 0%, transparent 68%),
		var(--at-surface);
}

.at-rich.at-shape-arch .at-hero--split .at-hero__media {
	outline: 1px solid var(--at-accent);
	outline-offset: clamp(8px, 1.1vw, 16px);
}

@media (prefers-reduced-motion: no-preference) {
	.at-rich .at-hero__slide.is-active .at-hero__media img {
		animation: at-settle 9s var(--at-ease) both;
	}
}

/* Section headings carry a small arch, the same shape as the framed images. */

.at-rich .at-section__title::before,
.at-rich :is(.related, .up-sells, .at-recent, .cross-sells) > h2::before {
	content: "";
	display: inline-block;
	width: 0.34em;
	height: 0.52em;
	margin-inline-end: 0.42em;
	border: 1.5px solid var(--at-accent);
	border-bottom: 0;
	border-radius: 999px 999px 0 0;
}

/* Store promises */

.at-rich .at-usp__item {
	align-items: center;
}

.at-rich .at-usp__item .at-icon {
	box-sizing: content-box;
	margin: 0;
	padding: 11px;
	border-radius: 50%;
	background: var(--at-tint);
}

/* Category tiles gain a gold ring on hover. */

.at-rich .at-cats__frame {
	outline: 1px solid transparent;
	outline-offset: 0;
	transition: outline-color 0.3s, outline-offset 0.35s var(--at-ease);
}

.at-rich .at-cats__link:hover .at-cats__frame,
.at-rich .at-cats__link:focus-visible .at-cats__frame {
	outline-color: var(--at-accent);
	outline-offset: 7px;
}

.at-rich .at-cats__count {
	color: var(--at-accent-ink);
}

@media (max-width: 699.98px) {
	/* Room for the ring inside the sideways scroller. */
	.at-rich .at-cats__list {
		padding-block: 8px;
	}
}

/* Feature banner: the image sits in a fine gold mat. */

.at-rich .at-split__media {
	outline: 1px solid var(--at-accent);
	outline-offset: clamp(7px, 0.9vw, 12px);
}

/* Patterned bands: story, newsletter and footer. */

.at-rich :is(.at-story, .at-newsband, .at-footer) {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.at-rich :is(.at-story, .at-newsband, .at-footer)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--at-accent);
	opacity: 0.22;
	pointer-events: none;
	-webkit-mask-image: var(--at-lattice), linear-gradient(100deg, transparent 38%, #000 100%);
	-webkit-mask-size: 56px 56px, 100% 100%;
	-webkit-mask-composite: source-in;
	mask-image: var(--at-lattice), linear-gradient(100deg, transparent 38%, #000 100%);
	mask-size: 56px 56px, 100% 100%;
	mask-composite: intersect;
}

.at-rich .at-story {
	background: var(--at-ink);
	color: color-mix(in srgb, #fff 80%, var(--at-ink));
}

.at-rich .at-story__title,
.at-rich .at-story .at-link {
	color: #fff;
}

.at-rich .at-story__media {
	outline: 1px solid var(--at-accent);
	outline-offset: 10px;
}

.at-rich .at-newsband {
	background: var(--at-tint);
}

.at-rich .at-newsband::before {
	opacity: 0.4;
}

.at-rich .at-newsband__text p,
.at-rich .at-newsband .at-newsletter__consent {
	color: color-mix(in srgb, var(--at-ink) 78%, var(--at-tint));
}

.at-rich .at-footer::before {
	opacity: 0.14;
	-webkit-mask-image: var(--at-lattice), linear-gradient(200deg, #000 0%, transparent 46%);
	mask-image: var(--at-lattice), linear-gradient(200deg, #000 0%, transparent 46%);
}

.at-rich .at-footer--minimal::before {
	display: none;
}

.at-rich .at-footer__name {
	color: var(--at-accent);
}

/* Testimonials */

.at-rich .at-quotes__item {
	border-top-color: var(--at-accent);
}

.at-rich .at-quotes__item blockquote::before {
	content: "\201C";
	display: block;
	height: 0.52em;
	margin-block-end: 6px;
	color: var(--at-accent);
	font-family: var(--at-font-display);
	font-size: 4rem;
	line-height: 1;
}

.at-rich .at-quotes__item blockquote p::before,
.at-rich .at-quotes__item blockquote p::after {
	content: none;
}

/* Instagram, posts and page headers */

.at-rich .at-insta__profile .at-icon {
	color: var(--at-accent-ink);
}

.at-rich .at-page-header {
	background: linear-gradient(180deg, color-mix(in srgb, var(--at-accent) 9%, var(--at-bg)), var(--at-bg));
}

.at-post__title a,
.at-cats__name {
	background: linear-gradient(var(--at-accent), var(--at-accent)) no-repeat 0 100% / 0 1px;
	transition: background-size 0.35s var(--at-ease);
}

.at-post:hover .at-post__title a,
.at-cats__link:hover .at-cats__name {
	background-size: 100% 1px;
	color: var(--at-ink);
}

.at-cats__name {
	display: inline;
	padding-block-end: 2px;
}

.at-cats__count {
	margin-block-start: 6px;
}

/* Block widgets placed in the footer follow the footer's own heading style. */
.at-footer__col--widgets :is(h1, h2, h3, h4) {
	margin: 0 0 16px;
	color: #fff;
	font-family: var(--at-font-body);
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.at-footer__col--widgets ul {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.at-footer__col--widgets li {
	padding: 5px 0;
}
