/*
Theme Name: Stillform
Description: An editorial WordPress storefront with a responsive Three.js showroom and WooCommerce support.
Version: 1.3.1
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: stillform
*/

@font-face {
	font-family: "Instrument Serif";
	src: url("assets/fonts/instrument-serif.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "Instrument Serif";
	src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
	font-style: italic;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: Inter;
	src: url("assets/fonts/inter.woff2") format("woff2");
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
}

:root {
	--paper: #f7f4ed;
	--ink: #25221f;
	--muted: #625e55;
	--rust: #9c412e;
	--rule: #d8d0c1;
	--display: "Instrument Serif", Georgia, serif;
	--body: Inter, "Segoe UI", sans-serif;
	--gutter: clamp(24px, 5.55vw, 108px);
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 15px/1.6 var(--body);
	-webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

img {
	max-width: 100%;
	height: auto;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }

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

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

.screen-reader-text:focus {
	z-index: 100;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 12px 20px;
	background: var(--paper);
	clip: auto;
	overflow: visible;
}

.site-shell {
	width: min(100%, 1560px);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-header {
	position: relative;
	z-index: 2;
	border-bottom: 1px solid var(--rule);
}

.header-inner, .footer-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 20px;
	width: min(100%, 1760px);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.header-inner { min-height: 75px; }

.wordmark {
	display: inline-block;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1;
	text-decoration: none;
}

.wordmark span { color: var(--rust); }
.custom-logo { display: block; width: auto; max-width: min(170px, 36vw); max-height: 42px; }

.primary-menu {
	display: flex;
	align-items: center;
	gap: clamp(20px, 3.4vw, 46px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav a,
.header-actions a,
.header-search summary,
.site-footer nav a {
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.primary-nav a:hover,
.header-actions a:hover,
.header-search summary:hover,
.site-footer nav a:hover { color: var(--rust); }

.header-actions {
	display: flex;
	justify-self: end;
	align-items: center;
	gap: clamp(12px, 2vw, 28px);
}

.header-search { position: relative; }

.header-search summary {
	cursor: pointer;
	list-style: none;
}

.header-search summary::-webkit-details-marker { display: none; }

.header-search form {
	position: absolute;
	top: calc(100% + 15px);
	right: 0;
	display: flex;
	gap: 8px;
	width: min(340px, 88vw);
	padding: 12px;
	border: 1px solid var(--rule);
	background: var(--paper);
	box-shadow: 0 7px 16px #25221f16;
}

.header-search input[type="search"] { flex: 1; min-width: 0; }

.header-search input,
.header-search button {
	padding: 8px 10px;
	border: 1px solid var(--rule);
	background: transparent;
	color: var(--ink);
}

.home-hero {
	display: grid;
	grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
	width: min(100%, 1760px);
	min-height: clamp(565px, 48vw, 760px);
	margin-inline: auto;
	border-bottom: 1px solid var(--rule);
}

.hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 62px clamp(28px, 4.45vw, 84px) 68px var(--gutter);
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: var(--rust);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .19em;
	line-height: 1.4;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 20px;
	height: 1px;
	background: currentColor;
	content: "";
}

.hero-copy h1 {
	margin: 24px 0 23px;
	font: 400 clamp(74px, 7.85vw, 134px)/.84 var(--display);
	letter-spacing: -.052em;
}

.hero-copy h1 em {
	color: var(--rust);
	font-weight: inherit;
}

.hero-lede {
	max-width: 350px;
	margin: 0;
	color: var(--muted);
	font-size: clamp(14px, 1.25vw, 17px);
	line-height: 1.7;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 24px;
	margin-top: 35px;
}

.button.button-primary {
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
	gap: 22px;
	min-height: 49px;
	padding: 10px 16px;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: var(--paper);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s, border-color .2s;
}

.button.button-primary:hover { background: var(--rust); border-color: var(--rust); }

.text-link {
	font-size: 13px;
	font-weight: 600;
	text-underline-offset: 5px;
	text-decoration-thickness: 1px;
}

.text-link:hover { color: var(--rust); }

.hero-stage {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-width: 0;
	min-height: 100%;
	background: #30231e;
	color: #fff7e7;
}

.hero-visual,
.hero-poster,
.hero-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero-visual {
	overflow: hidden;
	background: radial-gradient(ellipse at 52% 59%, #72513b 0%, #3e2c23 45%, #241916 100%);
}

.hero-poster {
	object-fit: cover;
	object-position: 50% 47%;
}

.hero-canvas {
	display: block;
	opacity: 0;
	pointer-events: none;
	touch-action: pan-y;
	transition: opacity .35s ease;
}

.hero-visual[data-scene-ready="true"] .hero-canvas {
	opacity: 1;
	pointer-events: auto;
}

.hero-visual[data-scene-ready="true"] .hero-canvas { cursor: grab; }
.hero-visual[data-scene-dragging="true"] .hero-canvas { cursor: grabbing; }

.hero-credit {
	position: absolute;
	z-index: 1;
	bottom: clamp(20px, 3vw, 40px);
	left: clamp(20px, 3vw, 40px);
	display: grid;
	gap: 2px;
	pointer-events: none;
	text-shadow: 0 1px 4px #15110e;
}

.hero-credit-name { font: 400 29px/1 var(--display); }
.hero-credit-caption { font-size: 11px; color: #eee1cb; }

.hero-controls {
	position: absolute;
	z-index: 1;
	right: clamp(20px, 3vw, 40px);
	bottom: clamp(20px, 3vw, 40px);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
	margin: 0;
	padding: 4px 6px;
	border: 1px solid #ddcfb96e;
	border-radius: 100px;
	background: #251912bf;
}

.hero-controls button {
	display: grid;
	place-items: center;
	width: 37px;
	height: 37px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
}

.hero-controls button::before {
	width: 19px;
	height: 19px;
	border: 1px solid #fff9ed55;
	border-radius: 50%;
	background: var(--swatch);
	content: "";
}

.hero-controls button[data-scene-tone="amber"] { --swatch: #eeb570; }
.hero-controls button[data-scene-tone="ivory"] { --swatch: #e8deca; }
.hero-controls button[data-scene-tone="oxide"] { --swatch: #b65c45; }
.hero-controls button[aria-pressed="true"] { border-color: #ffefcf; }
.hero-controls button:hover { background: #ffffff20; }
.hero-controls button:focus-visible { outline-color: #ffefcf; outline-offset: 1px; }

.collection-section { padding-block: clamp(60px, 7.1vw, 106px); }

.section-heading {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 16px;
	margin-bottom: 29px;
}

.section-heading h2,
.studio-section h2,
.page-heading,
.shop-shell .woocommerce-products-header__title,
.shop-shell .product_title {
	margin: 0;
	font: 400 clamp(49px, 5.7vw, 88px)/.95 var(--display);
	letter-spacing: -.038em;
}

.collection-caption {
	margin: 9px 0 0;
	color: var(--muted);
	font-size: 13px;
}

.collection-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(13px, 2vw, 30px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.collection-card-link {
	display: block;
	text-decoration: none;
}

.collection-card-image {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	aspect-ratio: 5 / 4;
	background: #e7ddce;
}

.collection-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.collection-card-link:hover img { transform: scale(1.04); }

.collection-card-copy h3 {
	margin: 13px 0 3px;
	font: 400 clamp(26px, 3vw, 39px)/1 var(--display);
	letter-spacing: -.024em;
}

.collection-card-copy p,
.collection-price {
	margin: 0;
	color: var(--muted);
	font-size: 12px;
}

.studio-section { background: #ede6da; }

.studio-inner {
	display: grid;
	grid-template-columns: 1fr minmax(260px, .65fr);
	align-items: end;
	gap: 16px 52px;
	padding-block: clamp(54px, 6vw, 94px);
}

.studio-inner .eyebrow { grid-column: 1 / -1; }
.studio-inner > p:last-child { max-width: 390px; margin: 0; color: var(--muted); }

.site-footer {
	border-top: 1px solid var(--rule);
	background: var(--paper);
}

.footer-inner { min-height: 98px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 15px 25px; }
.site-footer small { justify-self: end; color: var(--muted); font-size: 11px; }

.page-shell {
	min-height: 65vh;
	padding-block: clamp(40px, 6vw, 88px);
}

.page-heading { margin-bottom: 30px; }
.front-content { padding-block: 56px; }
.entry-content { overflow-wrap: anywhere; }
.index-entry + .index-entry { margin-top: 32px; }

.shop-shell .woocommerce-products-header__title,
.shop-shell .product_title { margin-bottom: 27px; }

.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
	font: 400 32px/1 var(--display);
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--rust); }

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-cart .wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	border-radius: 0;
	background: var(--ink);
	color: var(--paper);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover { background: var(--rust); color: var(--paper); }

@media (max-width: 900px) {
	.home-hero { min-height: 520px; }
	.hero-copy h1 { font-size: clamp(61px, 9.25vw, 88px); }
}

@media (max-width: 680px) {
	.header-inner {
		grid-template-columns: 1fr auto;
		gap: 10px 16px;
		padding-block: 17px;
	}
	.primary-nav { grid-row: 2; grid-column: 1 / -1; }
	.primary-menu { gap: 18px; }
	.home-hero { grid-template-columns: 1fr; min-height: auto; }
	.hero-copy { padding: 48px var(--gutter) 49px; }
	.hero-copy h1 { font-size: clamp(63px, 14vw, 92px); }
	.hero-lede { max-width: 310px; }
	.hero-actions { margin-top: 26px; }
	.hero-stage { aspect-ratio: 1 / 1.02; min-height: 344px; }
	.hero-controls { right: 14px; bottom: 14px; }
	.hero-credit { left: 19px; bottom: 20px; }
	.collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
	.studio-inner { grid-template-columns: 1fr; gap: 16px; }
	.footer-inner { grid-template-columns: 1fr auto; padding-block: 25px; }
	.site-footer nav { grid-column: 1 / -1; grid-row: 2; }
	.section-heading { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.button.button-primary, .collection-card-image img, .hero-canvas { transition: none; }
}


/* Storefront navigation and editorial sections. */
.site-announcement {
	padding: 8px 16px;
	background: #39241d;
	color: #fff8eb;
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
}

.site-header { background: var(--paper); z-index: 5; }
.header-inner { grid-template-columns: 1fr auto 1fr; }
.primary-menu { gap: clamp(16px, 2.5vw, 38px); }
.store-panel { position: relative; }
.store-panel summary { cursor: pointer; list-style: none; }
.store-panel summary::-webkit-details-marker { display: none; }
.header-more summary { white-space: nowrap; font-size: 13px; }
.header-more summary span { margin-left: 4px; font-size: 12px; }

.header-actions { gap: clamp(5px, 1vw, 15px); }

.header-actions .header-icon,
.header-actions .store-panel > summary {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 40px;
	min-height: 42px;
}

.site-cart-count {
	display: grid;
	width: max-content;
	min-width: 19px;
	height: 19px;
	padding-inline: 4px;
	place-items: center;
	border-radius: 100px;
	background: var(--rust);
	color: #fff;
	font: 600 10px/1 var(--body);
}

.store-icon {
	position: relative;
	display: block;
	width: 19px;
	height: 19px;
}

.store-icon::before, .store-icon::after { content: ""; position: absolute; }
.store-icon-search::before { top: 1px; left: 1px; width: 13px; height: 13px; border: 1.5px solid; border-radius: 50%; }
.store-icon-search::after { bottom: 3px; right: 0; width: 7px; height: 1.5px; background: currentColor; transform: rotate(45deg); transform-origin: left; }
.store-icon-account::before { top: 0; left: 6px; width: 7px; height: 7px; border: 1.5px solid; border-radius: 50%; }
.store-icon-account::after { bottom: 0; left: 2px; width: 15px; height: 8px; border: 1.5px solid; border-radius: 9px 9px 2px 2px; }
.store-icon-bag::before { left: 2px; right: 2px; bottom: 1px; height: 13px; border: 1.5px solid; border-radius: 1px 1px 3px 3px; }
.store-icon-bag::after { top: 1px; left: 6px; width: 7px; height: 7px; border: 1.5px solid; border-bottom: 0; border-radius: 5px 5px 0 0; }

.panel-body {
	position: absolute;
	z-index: 6;
	top: calc(100% + 12px);
	right: 0;
	width: min(340px, calc(100vw - 30px));
	padding: 19px;
	margin: 0;
	list-style: none;
	border: 1px solid var(--rule);
	background: #fffcf7;
	box-shadow: 0 14px 36px #25180f33;
}

.more-panel-body { width: max-content; min-width: 180px; right: auto; left: 0; }
.more-panel-body li + li { margin-top: 10px; }

.search-panel-body form {
	position: static;
	display: grid;
	gap: 8px;
	width: auto;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.search-panel-body label, .catalog-field label { display: block; font-size: 12px; font-weight: 600; }

.search-panel-body input[type="search"],
.search-panel-body select,
.catalog-field input,
.catalog-field select {
	width: 100%;
	min-height: 42px;
	padding: 7px 9px;
	border: 1px solid var(--rule);
	background: #fffefa;
	color: var(--ink);
}

.search-panel-body input[type="search"] { margin-bottom: 6px; }
.search-panel-body .button { justify-content: center; margin-top: 7px; }
.cart-panel-body h2 { margin: 0 0 14px; font: 400 36px/1 var(--display); }
.cart-panel-body .widget_shopping_cart_content { max-height: min(65vh, 500px); overflow-y: auto; }
.cart-panel-body .woocommerce-mini-cart-item a { white-space: normal; }
.cart-panel-body .woocommerce-mini-cart-item img { width: 48px; }
.cart-panel-body .woocommerce-mini-cart__buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.cart-panel-body .cart-panel-link { margin: 9px 0 0; }
.cart-panel-body .cart-panel-link a { text-decoration: underline; text-underline-offset: 3px; }

.hero-copy h1 { max-width: 7.5ch; color: #34221b; line-height: .9; overflow-wrap: anywhere; }
.hero-stage { background: #271a17; }
.hero-credit-caption { color: #ecded0; }

.promo-band { border-bottom: 1px solid var(--rule); background: #e9ded0; }
.promo-inner, .service-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px 32px;
	padding-block: clamp(28px, 5vw, 52px);
}

.promo-inner h2, .service-inner h2, .newsletter-section h2 {
	margin: 7px 0 2px;
	font: 400 clamp(36px, 4vw, 60px)/.95 var(--display);
	letter-spacing: -.03em;
}

.promo-inner p:not(.eyebrow), .service-inner p { max-width: 580px; margin: 5px 0; color: var(--muted); }
.service-inner .button { flex: 0 0 auto; }

.collection-section + .collection-section,
.store-content-section + .store-content-section { border-top: 1px solid var(--rule); }
#best-sellers { padding-block: clamp(44px, 5vw, 78px); }
.store-content-section { padding-block: clamp(35px, 5vw, 72px); }
.store-content-section .section-heading h2 { font-size: clamp(40px, 5vw, 66px); }
.store-community { background: #efe8dc; }
.gallery-empty { padding: 16px 0; margin: 0; color: var(--muted); }
.store-service { background: #e3d6c7; }
.newsletter-section { padding-block: clamp(35px, 5vw, 70px); }
.newsletter-section form { max-width: 655px; }

.footer-inner {
	grid-template-columns: minmax(150px, .65fr) minmax(0, 2fr);
	align-items: start;
	gap: 38px 60px;
	padding-block: 52px 26px;
}

.footer-brand p { max-width: 18rem; margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.site-footer .footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 27px; }
.footer-columns h2 { margin: 0 0 10px; font-size: 13px; }
.footer-columns ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.footer-columns a { white-space: normal; }
.site-footer small { grid-column: 1 / -1; justify-self: start; width: 100%; padding-top: 14px; border-top: 1px solid var(--rule); }

.catalog-filters {
	margin: 26px 0 30px;
	padding: 13px 16px;
	border: 1px solid var(--rule);
	background: #efe8db;
}

.catalog-filters summary { width: max-content; cursor: pointer; font-size: 13px; font-weight: 650; }
.catalog-filters > form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px 15px;
	margin-top: 13px;
}
.catalog-filters .catalog-field { flex: 1 1 145px; }
.catalog-filters [type="submit"] { min-height: 42px; }
.catalog-filters a { align-self: center; font-size: 12px; font-weight: 600; }
.stillform-empty-products {
	padding: clamp(18px, 3vw, 32px);
	border: 1px solid var(--rule);
	background: #fffcf5;
}
.stillform-empty-products h2 {
	margin: 0 0 14px;
	font: 400 clamp(31px, 4vw, 46px)/1 var(--display);
}
.stillform-empty-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	max-width: 480px;
	margin-bottom: 16px;
}
.stillform-empty-search label { grid-column: 1 / -1; }
.stillform-empty-search input {
	min-width: 0;
	min-height: 44px;
	padding-inline: 10px;
	border: 1px solid var(--rule);
	background: #fff;
	color: var(--ink);
	font-size: 16px;
}
.woocommerce .woocommerce-ordering select { min-height: 38px; padding-inline: 8px; background: transparent; }
.woocommerce .woocommerce-breadcrumb a { color: var(--ink); }

@media (max-width: 850px) {
	.primary-menu { gap: 15px; }
	.hero-copy h1 { max-width: 8ch; }
}

@media (max-width: 680px) {
	.header-inner { grid-template-columns: 1fr auto; }
	.header-inner .site-brand { grid-column: 1; grid-row: 1; }
	.header-actions { grid-column: 2; grid-row: 1; }
	.primary-nav { overflow: visible; }
	.primary-menu { gap: 17px; flex-wrap: wrap; }
	.header-search .panel-body { position: fixed; top: 92px; right: 14px; }
	.more-panel-body { right: 0; left: auto; }
	.hero-copy h1 { max-width: 9ch; }
	.promo-inner, .service-inner { flex-wrap: wrap; justify-content: start; gap: 14px 24px; }
	.footer-inner { grid-template-columns: 1fr; gap: 25px; }
	.site-footer .footer-columns { grid-column: 1; grid-row: auto; gap: 13px; }
}

@media (max-width: 375px) {
	.primary-menu { gap: 12px; }
	.site-footer .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}



.woocommerce div.product form.cart .stillform-buy-now {
	margin-inline-start: 8px;
	border: 1px solid var(--rust);
	background: transparent;
	color: var(--rust);
}
.woocommerce div.product form.cart .stillform-buy-now:hover {
	background: var(--rust);
	color: var(--paper);
}



.welcome-offer {
	width: min(490px, calc(100% - 32px));
	max-height: calc(100% - 32px);
	padding: clamp(25px, 6vw, 50px);
	border: 1px solid var(--rule);
	background: #fffcf7;
	color: var(--ink);
	box-shadow: 0 16px 60px #22171067;
}
.welcome-offer::backdrop { background: #2b1e1ab8; }
.welcome-offer h2 { margin: 0 32px 12px 0; font: 400 clamp(36px, 6vw, 58px)/.95 var(--display); }
.welcome-offer p { color: var(--muted); margin: 9px 0 0; }
.welcome-offer .button { margin-top: 23px; }
.welcome-offer-close { position: absolute; top: 10px; right: 10px; }
.welcome-close-button {
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: var(--ink);
	font-size: 24px;
	font-weight: 500;
}



/* Imported homepage media and editorial references. */
.source-announcement {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px 22px;
	flex-wrap: wrap;
	padding-inline: var(--gutter);
	text-align: left;
}

.source-announcement > span { color: #efcbb8; white-space: nowrap; }
.source-announcement ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.source-announcement li { max-width: 34ch; }

.home-hero-source { min-height: clamp(460px, 39vw, 690px); }
.home-hero-source .hero-copy h1 {
	max-width: 15ch;
	font-size: clamp(52px, 6.2vw, 99px);
	overflow-wrap: break-word;
	text-wrap: balance;
}

.source-hero-stage {
	display: grid;
	align-content: center;
	gap: 14px;
	min-width: 0;
	padding: clamp(18px, 2.5vw, 42px);
	background: #e8ded2;
}

.source-hero-frame {
	display: grid;
	place-items: center;
	aspect-ratio: 1.8;
	background: #f3ebdf;
	border: 1px solid #d4c9ba;
}

.source-hero-frame img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1.8;
	object-fit: contain;
}

.source-hero-buttons {
	display: flex;
	gap: 9px;
	flex-wrap: wrap;
}

.source-hero-buttons button {
	display: block;
	width: clamp(50px, 6.2vw, 86px);
	aspect-ratio: 1.6;
	padding: 2px;
	border: 1px solid #b4a595;
	background: #f1e9de;
}

.source-hero-buttons button[aria-pressed="true"] { border: 2px solid var(--rust); }
.source-hero-buttons img { display: block; width: 100%; height: 100%; object-fit: cover; }

.source-credit {
	flex: 0 0 auto;
	margin: 10px 0 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.45;
}

.source-credit a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.source-promo { background: #ede3d5; }

.source-details {
	padding-block: clamp(38px, 5.5vw, 86px);
	border-top: 1px solid var(--rule);
}

.source-details .section-heading {
	flex-wrap: wrap;
	align-items: end;
	gap: 12px;
	margin-bottom: 23px;
}

.source-details .section-heading h2 { max-width: 20ch; font-size: clamp(40px, 5.1vw, 70px); }
.source-section-copy { max-width: 68ch; margin: 0 0 22px; color: var(--muted); white-space: pre-line; }

.source-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(12px, 2vw, 24px);
}

.source-info-card, .source-quote {
	display: grid;
	align-content: start;
	gap: 12px;
	min-width: 0;
	margin: 0;
	padding: clamp(16px, 2.5vw, 29px);
	border: 1px solid var(--rule);
	background: #f2ece2;
}

.source-service-image {
	display: block;
	width: 100%;
	height: 145px;
	object-fit: contain;
	object-position: center;
}

.source-info-card h3 { margin: 0; font: 400 30px/1.05 var(--display); }
.source-info-card p, .source-quote blockquote { margin: 0; font-size: 14px; overflow-wrap: anywhere; }

.source-gallery-grid figure { margin: 0; min-width: 0; }
.source-gallery-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #e9dfd3; }
.source-gallery-grid figcaption, .source-quote figcaption { margin-top: 5px; color: var(--muted); font-size: 12px; }
.source-quote .source-rating { margin: 0; color: var(--rust); font-size: 12px; font-weight: 600; }

.source-faq { max-width: 820px; }
.source-faq details { border-bottom: 1px solid var(--rule); padding: 15px 0; }
.source-faq summary { cursor: pointer; font-weight: 600; }
.source-faq p { margin: 10px 0 0; color: var(--muted); white-space: pre-line; }

@media (max-width: 680px) {
	.source-announcement { justify-content: start; gap: 4px 13px; }
	.source-announcement ul { justify-content: start; gap: 4px 13px; }
	.source-announcement li { max-width: 100%; }
	.home-hero-source .hero-copy { padding-top: 40px; }
	.home-hero-source .hero-copy h1 { font-size: clamp(54px, 11vw, 73px); }
	.source-details .section-heading { align-items: start; }
	.source-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 410px) {
	.source-details .source-card-grid:not(.source-gallery-grid) { grid-template-columns: 1fr; }
}

/* Shared navigation, commerce views and modal surfaces. */
.site-header {
	background: #faf7f0;
}

.header-inner {
	position: relative;
	min-height: 76px;
}

.mobile-navigation {
	display: none;
}

.store-icon-menu::before {
	inset: 4px 1px auto;
	height: 1.5px;
	background: currentColor;
	box-shadow: 0 5px currentColor, 0 10px currentColor;
}

.header-actions .header-icon,
.header-actions .store-panel > summary {
	min-width: 44px;
	min-height: 44px;
}

.header-actions .store-panel[open] > summary {
	color: var(--rust);
	background: #e9dfd1;
}

.store-panel:not([open]) > .panel-body {
	display: none;
}

.store-panel[open] > .panel-body {
	animation: stillform-panel-in 180ms cubic-bezier(.2,.65,.25,1) both;
}

.panel-body {
	max-height: min(68vh, 540px);
	max-height: min(68dvh, 540px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.source-announcement {
	z-index: 7;
	display: block;
	padding: 0;
	background: #252421;
	color: #fff8eb;
}

.source-announcement > summary {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 40px;
	gap: 13px;
	padding: 8px 16px;
	text-align: center;
}

.source-announcement > summary:focus-visible {
	outline-offset: -3px;
	outline-color: #fae3bc;
}

.announcement-source {
	color: #f0c89f;
	font-weight: 650;
}

.announcement-expand {
	font-size: 17px;
	font-weight: 400;
	line-height: 1;
	transition: rotate 180ms ease;
}

.source-announcement[open] .announcement-expand {
	rotate: 45deg;
}

.source-announcement .announcement-panel-body {
	display: grid;
	left: 50%;
	top: 100%;
	right: auto;
	translate: -50% 0;
	width: min(470px, calc(100% - 28px));
	gap: 0;
	padding: 5px 15px;
	color: var(--ink);
	text-align: start;
	letter-spacing: 0;
}

.source-announcement .announcement-panel-body li {
	max-width: none;
	padding: 10px 0;
}

.source-announcement .announcement-panel-body li + li {
	border-top: 1px solid var(--rule);
}

.footer-end {
	grid-column: 1 / -1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--rule);
}

.site-footer .footer-end small {
	width: auto;
	padding: 0;
	border: 0;
}

.footer-end a {
	font-size: 12px;
	text-underline-offset: 3px;
}

.welcome-offer {
	overscroll-behavior: contain;
	overflow: auto;
}

.welcome-offer[open] {
	animation: stillform-dialog-in 240ms cubic-bezier(.2,.65,.25,1) both;
}

.welcome-offer[open]::backdrop {
	animation: stillform-backdrop-in 180ms ease-out both;
}

.welcome-close-button {
	width: 44px;
	height: 44px;
}

@keyframes stillform-panel-in {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes stillform-dialog-in {
	from { opacity: 0; transform: translateY(10px) scale(.985); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes stillform-backdrop-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.woocommerce .shop-shell ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.woocommerce .shop-shell ul.products::before,
.woocommerce .shop-shell ul.products::after {
	display: none;
}

.woocommerce .shop-shell ul.products li.product {
	display: flex;
	flex-direction: column;
	float: none;
	min-width: 0;
	width: auto;
	margin: 0;
	padding: 13px;
	border: 1px solid var(--rule);
	background: #fffcf5;
}

.woocommerce .shop-shell ul.products li.product a img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fff;
}

.woocommerce .shop-shell ul.products li.product .woocommerce-loop-product__title {
	overflow-wrap: anywhere;
	font-size: 17px;
}

.woocommerce .shop-shell ul.products li.product > .button {
	align-self: flex-start;
	min-height: 42px;
	margin-top: auto;
	padding: .7em .8em;
	line-height: 1.25;
}

.woocommerce .shop-shell span.onsale {
	z-index: 1;
	min-height: auto;
	padding: 5px 10px;
	border-radius: 0;
	background: var(--ink);
	color: #fff;
	font: 650 11px/1.4 var(--body);
}

.woocommerce div.product form.cart :is(select, .qty) {
	min-height: 44px;
	border: 1px solid var(--rule);
	background: #fffcf5;
	color: var(--ink);
}

.woocommerce div.product form.cart :is(.single_add_to_cart_button, .stillform-buy-now) {
	min-height: 44px;
	margin-block: 2px;
}

.woocommerce div.product form.cart .variations select {
	max-width: 100%;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	white-space: normal;
}

@media (max-width: 1050px) {
	.woocommerce .shop-shell ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px;
	}
}

@media (max-width: 820px) {
	.header-inner {
		grid-template-columns: minmax(0, 1fr) auto;
		min-height: 62px;
		gap: 8px;
		padding-block: 8px;
	}

	.desktop-navigation { display: none; }
	.mobile-navigation { display: block; }
	.header-actions { gap: 0; }
	.header-actions > .store-panel { position: static; }

	.header-actions > .store-panel > .panel-body {
		position: absolute;
		inset: 100% var(--gutter) auto;
		width: auto;
	}

	.mobile-panel-body .primary-menu {
		display: grid;
		gap: 0;
	}

	.mobile-panel-body .primary-menu > li + li {
		border-top: 1px solid var(--rule);
	}

	.mobile-panel-body .primary-menu a,
	.mobile-panel-body .header-more summary {
		display: flex;
		align-items: center;
		gap: 5px;
		min-height: 44px;
	}

	.mobile-panel-body .more-panel-body {
		position: static;
		width: auto;
		max-height: none;
		padding: 0 14px;
		border: 0;
		box-shadow: none;
		animation: none;
	}

	.mobile-panel-body .more-panel-body li + li {
		margin-top: 0;
	}
}

@media (max-width: 610px) {
	.source-announcement > summary { gap: 8px; font-size: 10px; }
	.announcement-source { white-space: nowrap; }
	.announcement-text { text-align: left; line-height: 1.4; }
	.woocommerce .shop-shell ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
	.woocommerce .shop-shell ul.products li.product { padding: 9px; }
	.woocommerce .shop-shell ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }
	.woocommerce .shop-shell ul.products li.product .price { font-size: 12px; }
	.woocommerce .shop-shell ul.products li.product > .button { font-size: 13px; }
	.woocommerce div.product form.cart .variations select,
	.woocommerce form.checkout .input-text,
	.search-panel-body input[type="search"],
	.search-panel-body select,
	.catalog-field input,
	.catalog-field select { font-size: 16px; }
	.woocommerce form.checkout :is(.form-row-first, .form-row-last) { float: none; width: 100%; }
}

@media (max-width: 375px) {
	.header-inner { padding-inline: 14px; }
	.header-actions > .store-panel > .panel-body { inset-inline: 14px; }
	.site-brand .wordmark { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
	.store-panel[open] > .panel-body,
	.welcome-offer[open],
	.welcome-offer[open]::backdrop { animation: none; }
	.announcement-expand { transition: none; }
}


/* Cart and checkout use the storefront palette around WooCommerce's native controls. */
body:is(.woocommerce-cart, .woocommerce-checkout) .page-shell {
	padding-block: clamp(35px, 4vw, 64px);
}

body.woocommerce-checkout .woocommerce form.checkout #customer_details > :is(.col-1, .col-2) {
	float: none;
	width: 100%;
}

body.woocommerce-checkout .woocommerce form.checkout :is(.woocommerce-billing-fields h3, #order_review_heading) {
	margin-block: 0 15px;
	font: 400 clamp(29px, 3vw, 42px)/1.05 var(--display);
}

body.woocommerce-checkout .woocommerce form.checkout #ship-to-different-address {
	margin-block: 20px 12px;
	font-size: 15px;
}

body.woocommerce-checkout .woocommerce form.checkout .woocommerce-additional-fields h3 {
	margin-block: 20px 8px;
	font-size: 16px;
}

body.woocommerce-checkout .woocommerce form.checkout .form-row {
	margin-bottom: 9px;
}

body.woocommerce-checkout .woocommerce form.checkout .form-row label {
	font-size: 13px;
	font-weight: 550;
}

body.woocommerce-checkout .woocommerce :is(form.checkout, form.checkout_coupon) :is(input.input-text, textarea.input-text, select:not(.select2-hidden-accessible)),
body.woocommerce-checkout .woocommerce form.checkout .select2-selection--single {
	min-height: 44px;
	border: 1px solid #a49a8d;
	border-radius: 0;
	background: #fdfbf6;
	color: var(--ink);
}

body.woocommerce-checkout .woocommerce form.checkout .select2-selection--single .select2-selection__rendered {
	line-height: 42px;
	color: var(--ink);
}

body.woocommerce-checkout .woocommerce form.checkout .select2-selection--single .select2-selection__arrow {
	height: 42px;
}

body.woocommerce-checkout .woocommerce form.checkout .woocommerce-invalid :is(.input-text, select, .select2-selection--single) {
	border-color: #9a3525;
}

body.woocommerce-checkout .woocommerce form.checkout textarea.input-text {
	min-height: 72px;
}

body.woocommerce-checkout .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info {
	border-color: #746858;
	background: #eee7db;
	color: var(--ink);
}

body.woocommerce-checkout .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info::before {
	color: #746858;
}

body.woocommerce-checkout .woocommerce #order_review table.shop_table {
	table-layout: fixed;
	border-color: var(--rule);
	border-radius: 0;
	background: #fbf8f1;
}

body.woocommerce-checkout .woocommerce #order_review table.shop_table :is(th, td) {
	padding: 10px 11px;
	font-size: 13px;
	overflow-wrap: anywhere;
}

body.woocommerce-checkout .woocommerce #order_review table.shop_table .product-total {
	width: 36%;
}

body.woocommerce-checkout .woocommerce #payment {
	border: 1px solid var(--rule);
	border-radius: 0;
	background: #ede7db;
}

body.woocommerce-checkout .woocommerce #payment ul.payment_methods {
	border-bottom-color: var(--rule);
}

body.woocommerce-checkout .woocommerce #payment div.payment_box {
	background: #e3dacb;
	color: var(--ink);
}

body.woocommerce-checkout .woocommerce #payment div.payment_box::before {
	border-bottom-color: #e3dacb;
}

body.woocommerce-checkout .woocommerce #payment .woocommerce-privacy-policy-text {
	font-size: 13px;
}

body.woocommerce-checkout .woocommerce #payment #place_order {
	float: none;
	width: 100%;
	min-height: 46px;
	margin-bottom: 0;
	border-radius: 0;
	background: var(--ink);
	color: var(--paper);
}

body.woocommerce-checkout .woocommerce #payment #place_order:hover {
	background: var(--rust);
}

@media (min-width: 900px) {
	body.woocommerce-checkout .woocommerce form.checkout:has(> #customer_details) {
		display: grid;
		grid-template:
			"customer heading" auto
			"customer review" auto
			"customer ." 1fr
			/ minmax(0, 1.18fr) minmax(0, .82fr);
		column-gap: clamp(30px, 5vw, 70px);
		align-items: start;
	}

	body.woocommerce-checkout .woocommerce form.checkout:has(> .woocommerce-NoticeGroup) {
		grid-template-areas:
			"notice notice"
			"customer heading"
			"customer review"
			"customer .";
		grid-template-rows: auto auto auto 1fr;
	}

	body.woocommerce-checkout .woocommerce form.checkout > .woocommerce-NoticeGroup { grid-area: notice; }
	body.woocommerce-checkout .woocommerce form.checkout > #customer_details { grid-area: customer; }
	body.woocommerce-checkout .woocommerce form.checkout > #order_review_heading { grid-area: heading; }
	body.woocommerce-checkout .woocommerce form.checkout > #order_review { grid-area: review; }
}

@media (max-width: 680px) {
	body.woocommerce-checkout .woocommerce form.checkout :is(input.input-text, textarea.input-text, select:not(.select2-hidden-accessible), .select2-selection__rendered) {
		font-size: 16px;
	}
}

