/* ==========================================================================
   Natyne Workshop – main styles
   Contents: tokens · base · layout · buttons & forms · header · footer
             · homepage · blog · pages · custom order form · utilities
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--paper: #f3f4ef;
	--card: #ffffff;
	--ink: #1c2230;
	--ink-soft: #4d5566;
	--line: #d6d9cf;

	--mat: #1e5b47;
	--mat-deep: #174a3a;
	--mat-line: rgba(170, 222, 192, 0.22);
	--mat-line-strong: rgba(170, 222, 192, 0.42);
	--mat-text: #e8f2ec;

	--tape: #ffd23f;
	--tape-soft: #ffe58a;
	--biro: #2740b8;
	--kraft: #c8a273;
	--kraft-deep: #8f6d43;
	--ply: #e8d2aa;
	--burn: #5a3a22;
	--alert: #b3261e;

	--font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--hand: "Reenie Beanie", "Segoe Print", "Bradley Hand", cursive;

	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
	--step-3: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
	--step-4: clamp(2.4rem, 1.5rem + 3.6vw, 4.75rem);

	--wrap: 1220px;
	--wrap-text: 720px;
	--gutter: clamp(1rem, 4vw, 2.5rem);

	--wobble: 255px 15px 225px 15px / 15px 225px 15px 255px;
	--wobble-soft: 14px 9px 12px 8px / 8px 12px 9px 14px;
	--lift: 0 1px 2px rgba(28, 34, 48, 0.1), 0 14px 22px -16px rgba(28, 34, 48, 0.45);
	--focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--biro);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 1rem;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--step-0);
	line-height: 1.6;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

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

img {
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-weight: 760;
	font-stretch: 88%;
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
h5,
h6 { font-size: var(--step-0); }

p,
ul,
ol,
dl,
blockquote,
figure,
table,
pre {
	margin: 0 0 1.25em;
}

a {
	color: inherit;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--biro);
}

:focus-visible {
	outline: none;
	box-shadow: var(--focus);
	border-radius: 4px;
}

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

hr {
	border: 0;
	height: 14px;
	margin: 2.5rem 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 14'%3E%3Cpath d='M2 8c14-6 24 4 38-1s22-5 36 0 26 4 40-1 26-2 42 1' fill='none' stroke='%231c2230' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 160px 14px no-repeat;
}

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

.wrap--text {
	max-width: calc(var(--wrap-text) + var(--gutter) * 2);
}

.wrap--wide {
	max-width: calc(1040px + var(--gutter) * 2);
}

.site-main {
	padding-bottom: clamp(3rem, 7vw, 6rem);
}

.site-main.home {
	padding-bottom: 0;
}

.section {
	padding-block: clamp(3rem, 7vw, 6rem);
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-head .section-title {
	margin: 0;
}

.section-title {
	font-size: var(--step-3);
	max-width: 22ch;
}

.content-area {
	display: block;
}

.has-blog-sidebar .content-area {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.content-area--single .content-main {
	max-width: var(--wrap-text);
	margin-inline: auto;
	width: 100%;
}

.has-blog-sidebar .content-area--single .content-main {
	margin-inline: 0;
}

.page-head {
	padding-top: clamp(2.5rem, 6vw, 5rem);
	padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.page-title {
	font-size: var(--step-4);
	margin-bottom: 0.3em;
}

.page-intro {
	font-size: var(--step-1);
	color: var(--ink-soft);
	max-width: 56ch;
}

.page-intro p:last-child {
	margin-bottom: 0;
}

/* ---------- Handwritten notes & tape ---------- */
.note {
	display: inline-block;
	font-family: var(--hand);
	font-size: 1.9rem;
	line-height: 0.95;
	color: var(--biro);
	transform: rotate(-3deg);
	font-weight: 400;
	letter-spacing: 0;
}

.taped {
	position: relative;
	margin: 0;
	background: var(--card);
	padding: 10px;
	box-shadow: var(--lift);
}

.taped img {
	width: 100%;
	height: auto;
}

.taped::before,
.polaroid::before,
.card-photo::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: -12px;
	left: 50%;
	width: 92px;
	height: 26px;
	background: rgba(255, 220, 110, 0.78);
	transform: translateX(-50%) rotate(-2.5deg);
	clip-path: polygon(3% 0, 97% 4%, 100% 22%, 96% 44%, 100% 68%, 97% 100%, 2% 96%, 0 74%, 4% 50%, 0 26%);
	box-shadow: inset 0 0 0 40px rgba(255, 255, 255, 0.12);
	pointer-events: none;
}

/* Material swatches – drawn textures used when there is no photo */
.swatch {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
}

.swatch--printed {
	background:
		radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.45), transparent 55%),
		repeating-linear-gradient(0deg, #ffd23f 0 5px, #e9b92a 5px 6px);
}

.swatch--engraved {
	background:
		repeating-radial-gradient(ellipse 140% 60% at 20% 130%, transparent 0 10px, rgba(143, 109, 67, 0.28) 10px 11px),
		linear-gradient(160deg, #eedbb6, #dfc293);
	position: relative;
}

.swatch--engraved::after {
	content: "";
	position: absolute;
	inset: 26% 22%;
	border: 3px solid var(--burn);
	border-radius: 50%;
	opacity: 0.75;
	box-shadow: inset 0 0 0 7px transparent, inset 0 0 0 9px rgba(90, 58, 34, 0.55);
}

.swatch--paper {
	background:
		conic-gradient(from 210deg at 42% 58%, #ffffff 0 14%, #e6e8e0 14% 31%, #f7f7f2 31% 52%, #d9dcd2 52% 68%, #fbfbf8 68% 86%, #eceee6 86%);
}

.swatch--printed,
.swatch--engraved,
.swatch--paper {
	transition: transform 0.4s ease;
}

/* ---------- Buttons ---------- */
.btn,
.wp-block-button__link,
input[type="submit"],
button[type="submit"]:not(.search-submit):not(.tool-btn) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.8em 1.35em;
	border: 2px solid var(--ink);
	border-radius: var(--wobble);
	background: transparent;
	color: var(--ink);
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary,
.wp-block-button__link,
input[type="submit"],
button[type="submit"]:not(.search-submit):not(.tool-btn) {
	background: var(--tape);
}

.btn--primary:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:not(.search-submit):not(.tool-btn):hover {
	background: var(--ink);
	color: var(--tape);
}

.btn--ghost:hover {
	background: var(--card);
	color: var(--ink);
}

.btn--tape {
	background: var(--tape);
	border-color: var(--tape);
	color: var(--ink);
}

.btn--tape:hover {
	background: var(--paper);
	border-color: var(--paper);
	color: var(--ink);
}

.btn--big {
	font-size: 1.1rem;
	padding: 0.95em 1.6em;
}

.text-link {
	font-weight: 650;
	color: var(--biro);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.25em;
}

.text-link:hover {
	text-decoration-style: wavy;
}

/* ---------- Forms ---------- */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
select,
textarea {
	width: 100%;
	padding: 0.7em 0.85em;
	border: 1.5px solid var(--ink-soft);
	border-radius: var(--wobble-soft);
	background: var(--card);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea {
	min-height: 8em;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--biro);
	box-shadow: 0 0 0 3px rgba(39, 64, 184, 0.22);
}

label {
	font-weight: 600;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.search-form {
	display: flex;
	align-items: stretch;
	gap: 0;
	max-width: 520px;
}

.search-form .search-field {
	border-right: 0;
	border-radius: 14px 0 0 12px / 12px 0 0 14px;
}

.search-submit {
	display: inline-grid;
	place-items: center;
	padding: 0 1rem;
	border: 1.5px solid var(--ink);
	border-radius: 0 14px 12px 0 / 0 12px 14px 0;
	background: var(--ink);
	color: var(--paper);
	cursor: pointer;
}

.search-submit:hover {
	background: var(--biro);
	border-color: var(--biro);
}

/* ---------- Announcement + header ---------- */
.announce {
	background: var(--mat);
	color: var(--mat-text);
	text-align: center;
	font-size: var(--step--1);
	padding: 0.55rem var(--gutter);
}

.announce a {
	color: inherit;
	text-decoration-color: var(--tape);
}

.announce a:hover {
	color: var(--tape);
}

.site-header {
	position: relative;
	z-index: 50;
	background: var(--paper);
	border-bottom: 1.5px solid var(--ink);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 84px;
}

.site-branding {
	flex: 0 0 auto;
}

.custom-logo-link {
	display: block;
}

.custom-logo-link img {
	max-height: 76px;
	width: auto;
}

@media (max-width: 600px) {
	.custom-logo-link img {
		max-height: 58px;
	}
}

.wordmark {
	position: relative;
	display: inline-block;
	text-decoration: none;
	color: var(--ink);
	padding-bottom: 6px;
}

.wordmark__name {
	font-size: 2.1rem;
	font-weight: 800;
	font-stretch: 78%;
	letter-spacing: -0.035em;
	line-height: 1;
}

.wordmark__squiggle {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	width: 100%;
	height: 10px;
	color: var(--tape);
}

.wordmark:hover {
	color: var(--ink);
}

.wordmark:hover .wordmark__squiggle {
	color: var(--biro);
}

/* Navigation */
.main-nav {
	flex: 1 1 auto;
}

.main-nav .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.25rem 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav li {
	position: relative;
}

.main-nav a {
	display: inline-block;
	padding: 0.4em 0.1em;
	font-weight: 560;
	text-decoration: none;
	color: var(--ink);
}

.main-nav a:hover {
	color: var(--biro);
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current-product_cat-ancestor > a {
	background: linear-gradient(transparent 58%, var(--tape) 58%, var(--tape) 88%, transparent 88%);
}

.main-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	min-width: 220px;
	margin: 0;
	padding: 0.6rem 0;
	list-style: none;
	background: var(--card);
	border: 1.5px solid var(--ink);
	border-radius: var(--wobble-soft);
	box-shadow: var(--lift);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.main-nav .sub-menu a {
	display: block;
	padding: 0.45rem 1.1rem;
}

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

.main-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 0.45em;
	height: 0.45em;
	margin-left: 0.4em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-0.2em) rotate(45deg);
}

.nav-toggle {
	display: none;
}

.header-tools {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin-left: auto;
}

.tool-btn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	text-decoration: none;
}

.tool-btn:hover,
.tool-btn[aria-expanded="true"] {
	background: var(--card);
	color: var(--biro);
}

.cart-count {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--tape);
	color: var(--ink);
	font-size: 0.75rem;
	font-weight: 750;
	line-height: 20px;
	text-align: center;
	border: 1.5px solid var(--ink);
}

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

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

.header-search .search-form {
	margin-inline: auto;
}

/* ---------- Footer: cutting mat ---------- */
.mat,
.site-footer {
	background-color: var(--mat);
	background-image:
		linear-gradient(var(--mat-line-strong) 1px, transparent 1px),
		linear-gradient(90deg, var(--mat-line-strong) 1px, transparent 1px),
		linear-gradient(var(--mat-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--mat-line) 1px, transparent 1px);
	background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
	background-position: -1px -1px;
	color: var(--mat-text);
}

.mat a:not(.btn),
.site-footer a:not(.btn) {
	color: var(--mat-text);
}

.mat a:not(.btn):hover,
.site-footer a:not(.btn):hover {
	color: var(--tape);
}

.site-footer {
	position: relative;
	padding-top: 28px;
}

.ruler {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 28px;
	background-color: var(--mat-deep);
	background-image:
		linear-gradient(90deg, var(--mat-text) 1.5px, transparent 1.5px),
		linear-gradient(90deg, var(--mat-text) 1px, transparent 1px),
		linear-gradient(90deg, var(--mat-text) 1px, transparent 1px);
	background-size: 100px 18px, 50px 12px, 10px 7px;
	background-repeat: repeat-x;
	background-position: 0 0;
	opacity: 0.95;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1.2fr;
	gap: clamp(2rem, 5vw, 4rem);
	padding-block: clamp(3rem, 6vw, 4.5rem);
}

.site-footer__inner:has(.footer-extra) {
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
}

.footer-brand {
	font-size: 2rem;
	font-weight: 800;
	font-stretch: 78%;
	letter-spacing: -0.03em;
	line-height: 1;
	margin-bottom: 0.75rem;
}

.footer-about p {
	max-width: 40ch;
}

.footer-heading,
.site-footer .widget-title {
	font-size: var(--step-1);
	font-weight: 700;
	margin-bottom: 0.9rem;
	color: var(--tape);
}

.footer-menu,
.site-footer .footer-nav .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.4rem;
}

.footer-menu a,
.site-footer .footer-nav .menu a {
	text-decoration: none;
}

.footer-menu a:hover,
.site-footer .footer-nav .menu a:hover {
	text-decoration: underline;
}

.social-links {
	display: flex;
	gap: 0.5rem;
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
}

.social-links a {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1.5px solid var(--mat-line-strong);
	border-radius: 50%;
}

.social-links a:hover {
	border-color: var(--tape);
}

.site-footer__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	padding-block: 1.25rem 1.75rem;
	border-top: 1px dashed var(--mat-line-strong);
	font-size: var(--step--1);
}

.site-footer__base p {
	margin: 0;
}

.legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ---------- Homepage: hero ---------- */
.hero {
	padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 7vw, 6rem);
	overflow: hidden;
}

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.hero__title {
	font-size: clamp(2.8rem, 1.6rem + 4.6vw, 5.6rem);
	font-weight: 800;
	font-stretch: 80%;
	letter-spacing: -0.035em;
	line-height: 0.96;
	margin-bottom: 0.45em;
	max-width: 12ch;
}

.hero__lede {
	font-size: var(--step-1);
	color: var(--ink-soft);
	max-width: 46ch;
	margin-bottom: 2rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

/* The printed headline: layer lines + a one-off layer-by-layer reveal */
.print-in {
	position: relative;
}

.print-in__text {
	display: block;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.print-in__text,
	.lost__code {
		background: repeating-linear-gradient(180deg, var(--ink) 0 3px, #3d4760 3px 4px);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
	}
}

.print-in__nozzle {
	display: none;
}

@media (prefers-reduced-motion: no-preference) {
	.print-in__text {
		animation: print-layers 2.1s steps(22, end) 0.2s both;
	}

	.print-in__nozzle {
		display: block;
		position: absolute;
		left: -0.15em;
		right: -0.15em;
		bottom: 0;
		height: 3px;
		background: var(--tape);
		box-shadow: 0 0 0 1px var(--ink);
		animation: print-nozzle 2.1s steps(22, end) 0.2s both, nozzle-off 0.3s ease 2.35s forwards;
	}

	.print-in__nozzle::after {
		content: "";
		position: absolute;
		top: -9px;
		left: 0;
		width: 16px;
		height: 12px;
		background: var(--ink);
		clip-path: polygon(0 0, 100% 0, 70% 100%, 30% 100%);
		animation: nozzle-sweep 0.095s linear 0.2s 22 alternate both;
	}
}

@keyframes print-layers {
	from { clip-path: inset(100% -5% 0 -5%); }
	to { clip-path: inset(0 -5% 0 -5%); }
}

@keyframes print-nozzle {
	from { bottom: 0; }
	to { bottom: 100%; }
}

@keyframes nozzle-off {
	to { opacity: 0; }
}

@keyframes nozzle-sweep {
	from { left: 0; }
	to { left: calc(100% - 16px); }
}

/* Taped photo board */
.hero__board {
	position: relative;
	min-height: 580px;
}

.polaroid {
	position: absolute;
	margin: 0;
	width: 54%;
	padding: 10px 10px 0;
	background: var(--card);
	box-shadow: var(--lift);
	transition: transform 0.25s ease;
}

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

.polaroid__img {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--paper);
}

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

.polaroid figcaption {
	font-family: var(--hand);
	font-size: 1.65rem;
	line-height: 1;
	color: var(--biro);
	padding: 0.45rem 0.2rem 0.6rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.polaroid--1 {
	top: 0;
	left: 0;
	transform: rotate(-4deg);
	z-index: 1;
}

.polaroid--2 {
	top: 17%;
	right: 0;
	transform: rotate(4.5deg);
	z-index: 3;
}

.polaroid--3 {
	bottom: 0;
	left: 7%;
	transform: rotate(-1.5deg);
	z-index: 2;
}

.polaroid:hover {
	transform: rotate(0) scale(1.02);
	z-index: 4;
}

.hero__note {
	position: absolute;
	right: 0;
	bottom: 9%;
	z-index: 4;
	width: 170px;
	text-align: center;
}

.hero__note::before {
	content: "";
	display: block;
	width: 64px;
	height: 44px;
	margin: 0 auto 0.2rem 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 44' fill='none' stroke='%232740b8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M58 40C46 36 30 26 10 8'/%3E%3Cpath d='M8 20 9 7l13 1'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Homepage: materials ---------- */
.materials {
	padding-top: 0;
}

.section + .section {
	padding-top: 0;
}

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

.material {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--card);
	padding: 12px;
	text-decoration: none;
	color: var(--ink);
	box-shadow: var(--lift);
	transition: transform 0.2s ease;
}

.materials__list li:nth-child(1) .material { transform: rotate(-0.8deg); }
.materials__list li:nth-child(2) .material { transform: rotate(0.6deg); }
.materials__list li:nth-child(3) .material { transform: rotate(-0.3deg); }

.materials__list li .material:hover {
	transform: rotate(0) translateY(-3px);
	color: var(--ink);
}

.material:hover .swatch {
	transform: scale(1.03);
}

.material .swatch {
	overflow: hidden;
}

.material__body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.1rem 0.5rem 0.5rem;
	flex: 1;
}

.material__name {
	font-size: var(--step-2);
	font-weight: 760;
	font-stretch: 88%;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.material__desc {
	color: var(--ink-soft);
}

.material__count {
	margin-top: auto;
	padding-top: 0.6rem;
	font-weight: 650;
	color: var(--biro);
}

/* ---------- Homepage: custom work on the mat ---------- */
.custom-work {
	padding-block: clamp(3.5rem, 8vw, 7rem);
}

.custom-work__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
}

.custom-work .section-title {
	color: #fff;
}

.custom-work__intro p {
	font-size: var(--step-1);
	max-width: 40ch;
	margin-bottom: 2rem;
}

.steps {
	counter-reset: step;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 2.5rem;
}

.steps li {
	counter-increment: step;
	position: relative;
	padding-top: 1.25rem;
	border-top: 2px dashed var(--mat-line-strong);
	display: grid;
	gap: 0.35rem;
}

.steps li::before {
	content: counter(step);
	font-family: var(--hand);
	font-size: 3.4rem;
	line-height: 0.8;
	color: var(--tape);
}

.steps b {
	font-size: var(--step-1);
	font-weight: 700;
	color: #fff;
}

.steps span {
	color: var(--mat-text);
	opacity: 0.92;
}

/* ---------- Blog cards ---------- */
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.25rem);
}

.post-card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.post-card .taped img,
.post-card__blank .swatch {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.post-card:nth-child(3n + 1) .taped { transform: rotate(-0.7deg); }
.post-card:nth-child(3n + 2) .taped { transform: rotate(0.5deg); }

.post-card__blank {
	display: block;
	position: relative;
	background: var(--card);
	padding: 10px;
	box-shadow: var(--lift);
}

.post-card__body {
	padding-inline: 0.25rem;
}

.post-cat {
	display: inline-block;
	margin-bottom: 0.4rem;
	color: var(--biro);
	font-weight: 650;
	font-size: var(--step--1);
	text-decoration: none;
}

.post-cat:hover {
	text-decoration: underline;
}

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

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

.post-card__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	color: var(--ink);
}

.post-card__excerpt {
	color: var(--ink-soft);
	margin-bottom: 0.6rem;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	font-size: var(--step--1);
	color: var(--ink-soft);
}

.post-meta__read::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 1rem;
	border-radius: 50%;
	background: var(--kraft);
	vertical-align: middle;
}

/* Pagination */
.pagination,
.woocommerce-pagination {
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

.nav-links .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 0.6rem;
	border: 1.5px solid var(--ink);
	border-radius: var(--wobble);
	background: var(--card);
	text-decoration: none;
	font-weight: 650;
}

.nav-links .page-numbers.current {
	background: var(--ink);
	color: var(--paper);
}

.nav-links .page-numbers.dots {
	border: 0;
	background: none;
}

.nav-links a.page-numbers:hover {
	background: var(--tape);
	color: var(--ink);
}

/* ---------- Single post ---------- */
.post-head {
	padding-top: clamp(2.5rem, 6vw, 5rem);
	padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.post-title {
	font-size: var(--step-4);
	margin-bottom: 0.4em;
}

.post-hero {
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.post-hero .taped {
	transform: rotate(-0.5deg);
}

.post-hero .taped::before {
	width: 130px;
	height: 32px;
}

.post-foot {
	margin-top: 3rem;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
}

.tag-list a {
	display: inline-block;
	padding: 0.3em 0.8em 0.3em 1.3em;
	background: var(--kraft);
	color: var(--ink);
	text-decoration: none;
	font-size: var(--step--1);
	font-weight: 600;
	clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
	position: relative;
}

.tag-list a::before {
	content: "";
	position: absolute;
	left: 11px;
	top: 50%;
	width: 5px;
	height: 5px;
	margin-top: -2.5px;
	border-radius: 50%;
	background: var(--paper);
}

.tag-list a:hover {
	background: var(--tape);
	color: var(--ink);
}

.post-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding: 1.5rem 1.75rem;
	background: var(--card);
	border: 2px dashed var(--ink-soft);
	border-radius: var(--wobble-soft);
}

.post-cta p {
	margin: 0;
	font-size: var(--step-1);
	font-weight: 650;
}

.post-navigation {
	margin-top: 3rem;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.post-navigation a {
	display: grid;
	gap: 0.2rem;
	height: 100%;
	padding: 1rem 1.25rem;
	background: var(--card);
	box-shadow: var(--lift);
	text-decoration: none;
}

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

.nav-dir {
	font-size: var(--step--1);
	color: var(--ink-soft);
}

.nav-title {
	font-weight: 700;
}

/* ---------- Entry content (blog posts, pages, block editor) ---------- */
.entry-content > * {
	margin-block: 0 1.25em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.8em;
}

.entry-content > :first-child {
	margin-top: 0;
}

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

.entry-content li + li {
	margin-top: 0.35em;
}

.entry-content ul li::marker {
	color: var(--kraft-deep);
}

.entry-content a {
	color: var(--biro);
}

.entry-content blockquote,
.wp-block-quote {
	position: relative;
	margin-inline: 0;
	padding: 1.5rem 1.75rem;
	background: var(--tape-soft);
	font-size: var(--step-1);
	transform: rotate(-0.6deg);
	box-shadow: var(--lift);
}

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

.entry-content blockquote cite,
.wp-block-quote cite {
	display: block;
	margin-top: 0.75rem;
	font-family: var(--hand);
	font-size: 1.6rem;
	font-style: normal;
	color: var(--biro);
}

.wp-block-pullquote {
	border-block: 2px solid var(--ink);
	padding-block: 2rem;
}

.entry-content figure img {
	height: auto;
}

figcaption,
.wp-caption-text,
.wp-element-caption {
	margin-top: 0.5rem;
	font-family: var(--hand);
	font-size: 1.45rem;
	line-height: 1.1;
	color: var(--biro);
	text-align: center;
}

.wp-block-image img {
	border-radius: 2px;
}

.entry-content pre,
.entry-content code {
	font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
	font-size: 0.92em;
}

.entry-content pre {
	padding: 1.25rem;
	background: var(--ink);
	color: var(--paper);
	overflow-x: auto;
	border-radius: 6px;
}

.entry-content :not(pre) > code {
	background: var(--card);
	padding: 0.1em 0.35em;
	border-radius: 4px;
}

.entry-content table,
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	background: var(--card);
}

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

.entry-content th {
	font-weight: 700;
}

.entry-content mark {
	background: linear-gradient(transparent 45%, var(--tape) 45%);
	color: inherit;
	padding: 0 0.1em;
}

.alignwide {
	margin-inline: calc(-1 * min(8vw, 120px));
	max-width: none;
}

.alignfull {
	margin-inline: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
}

.entry-content--full > .alignfull {
	margin-inline: 0;
	width: 100%;
}

.entry-content--full > :not(.alignfull):not(.alignwide) {
	max-width: var(--wrap-text);
	margin-inline: auto;
	padding-inline: var(--gutter);
	box-sizing: content-box;
}

.entry-content--full > .alignwide {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

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

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

.aligncenter {
	margin-inline: auto;
	text-align: center;
}

.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }

.wp-block-separator {
	border: 0;
}

.wp-block-button__link {
	color: var(--ink);
}

.is-style-outline .wp-block-button__link {
	background: transparent;
}

.wp-block-cover,
.wp-block-group.has-background {
	padding: clamp(1.5rem, 4vw, 3rem);
}

.page-links {
	margin-top: 2rem;
	font-weight: 650;
}

/* ---------- Comments ---------- */
.comments {
	margin-top: 4rem;
	padding-top: 2.5rem;
	border-top: 1.5px solid var(--ink);
}

.comments__title,
.comment-reply-title {
	font-size: var(--step-2);
}

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

.comment-list .children {
	margin-left: clamp(1rem, 4vw, 2.5rem);
}

.comment-card {
	margin-bottom: 1.25rem;
	padding: 1.25rem 1.4rem;
	background: var(--card);
	box-shadow: var(--lift);
}

.comment-card__head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 0.75rem;
}

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

.comment-card__author {
	display: block;
}

.comment-card__date {
	font-size: var(--step--1);
	color: var(--ink-soft);
	text-decoration: none;
}

.comment-card__body p:last-child {
	margin-bottom: 0;
}

.comment-card__reply a {
	font-size: var(--step--1);
	font-weight: 650;
	color: var(--biro);
}

.comment-awaiting {
	font-family: var(--hand);
	font-size: 1.5rem;
	color: var(--biro);
}

.comment-form p {
	margin-bottom: 1rem;
}

.comment-form label {
	display: block;
	margin-bottom: 0.3rem;
}

.comment-form-cookies-consent {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
}

.comment-form-cookies-consent label {
	font-weight: 400;
}

/* ---------- Sidebars & widgets ---------- */
.sidebar .widget,
.shop-sidebar .widget {
	margin-bottom: 2rem;
	padding: 1.25rem 1.4rem;
	background: var(--card);
	box-shadow: var(--lift);
}

.widget-title,
.widget h2,
.widget .wp-block-heading,
.widget .wp-block-search__label {
	font-size: var(--step-1);
	font-weight: 750;
	margin-bottom: 0.85rem;
}

.widget .wp-block-search__inside-wrapper {
	gap: 0.4rem;
}

.widget .wp-block-search__button {
	margin: 0;
	padding: 0.6em 1em;
}

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

.widget li {
	padding-block: 0.3rem;
}

.widget li a {
	text-decoration: none;
}

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

/* ---------- Custom order page & form ---------- */
.custom-page__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(2rem, 6vw, 5rem);
	padding-top: clamp(2.5rem, 6vw, 5rem);
	align-items: start;
}

.custom-page__intro {
	position: sticky;
	top: 2rem;
}

.custom-page__intro .entry-content h2 {
	font-size: var(--step-2);
}

.custom-page__note {
	margin-top: 1rem;
	margin-left: 1rem;
}

.request-form,
.request-done {
	background: var(--card);
	padding: clamp(1.5rem, 4vw, 2.75rem);
	box-shadow: var(--lift);
	position: relative;
}

.request-form::before,
.request-done::before {
	content: "";
	position: absolute;
	top: -13px;
	left: 2.5rem;
	width: 110px;
	height: 28px;
	background: rgba(255, 220, 110, 0.78);
	transform: rotate(-3deg);
	clip-path: polygon(3% 0, 97% 4%, 100% 22%, 96% 44%, 100% 68%, 97% 100%, 2% 96%, 0 74%, 4% 50%, 0 26%);
}

.request-done h2 {
	font-size: var(--step-3);
}

.form-step + .form-step {
	margin-top: 2.25rem;
	padding-top: 2rem;
	border-top: 2px dashed var(--line);
}

.form-step legend {
	float: left;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 1.25rem;
	padding: 0;
	font-size: var(--step-2);
	font-weight: 760;
	font-stretch: 88%;
	letter-spacing: -0.02em;
}

.form-step legend + * {
	clear: both;
}

.form-step__num {
	display: inline-grid;
	place-items: center;
	width: 2.1rem;
	height: 2.1rem;
	flex: none;
	border-radius: 50%;
	background: var(--tape);
	font-size: 1.1rem;
	font-stretch: 100%;
	letter-spacing: 0;
}

.field {
	display: grid;
	gap: 0.35rem;
	margin: 0 0 1.1rem;
}

.field-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 0 1rem;
}

.field__help {
	font-size: var(--step--1);
	color: var(--ink-soft);
}

.field--check {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
}

.field--check input {
	width: 1.2rem;
	height: 1.2rem;
	margin-top: 0.2rem;
	accent-color: var(--biro);
	flex: none;
}

.field--check label {
	font-weight: 400;
}

.req {
	color: var(--alert);
}

.choice-group {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	margin-bottom: 1.4rem;
}

.choice {
	position: relative;
	min-width: 0;
	overflow: hidden;
	display: grid;
	gap: 0.5rem;
	padding: 8px 8px 10px;
	border: 1.5px solid var(--line);
	border-radius: var(--wobble-soft);
	background: var(--paper);
	cursor: pointer;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.2;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.choice input {
	position: absolute;
	opacity: 0;
	inset: 0;
	cursor: pointer;
}

.choice__swatch {
	display: block;
	aspect-ratio: 3 / 2;
	border-radius: 4px;
	background: repeating-linear-gradient(45deg, #fff 0 6px, #e7e9e1 6px 12px);
}

.choice--3d-printed .choice__swatch { background: repeating-linear-gradient(0deg, #ffd23f 0 4px, #e9b92a 4px 5px); }
.choice--laser-engraved .choice__swatch { background: repeating-radial-gradient(ellipse 140% 60% at 20% 130%, transparent 0 7px, rgba(143, 109, 67, 0.3) 7px 8px), #e8d2aa; }
.choice--papercraft .choice__swatch { background: conic-gradient(from 210deg at 42% 58%, #fff 0 14%, #e6e8e0 14% 31%, #f7f7f2 31% 52%, #d9dcd2 52% 68%, #fbfbf8 68% 86%, #eceee6 86%); }

.choice:hover {
	border-color: var(--ink-soft);
}

.choice:has(input:checked) {
	border-color: var(--ink);
	background: var(--card);
	box-shadow: inset 0 0 0 1px var(--ink);
}

.choice:has(input:checked) .choice__label::before {
	content: "";
	display: inline-block;
	width: 0.6em;
	height: 0.35em;
	margin-right: 0.4em;
	border-left: 2.5px solid var(--biro);
	border-bottom: 2.5px solid var(--biro);
	transform: translateY(-0.2em) rotate(-45deg);
}

.choice:has(input:focus-visible) {
	box-shadow: var(--focus);
}

.dropzone {
	position: relative;
	margin-bottom: 0.5rem;
	border: 2px dashed var(--ink-soft);
	border-radius: var(--wobble-soft);
	background: var(--paper);
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dropzone.is-over {
	border-color: var(--biro);
	background: #e9ecfa;
}

.dropzone input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.dropzone__label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1.75rem 1rem;
	font-weight: 400;
	text-align: center;
	pointer-events: none;
}

.dropzone:has(input:focus-visible) {
	box-shadow: var(--focus);
}

.dropzone__list {
	list-style: none;
	margin: 0;
	padding: 0 1rem;
}

.dropzone__list:not(:empty) {
	padding-bottom: 1rem;
}

.dropzone__list li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.45rem 0;
	border-top: 1px solid var(--line);
	font-size: var(--step--1);
}

.dropzone__list .is-bad {
	color: var(--alert);
}

.based-on {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.75rem;
	padding: 0.75rem;
	background: var(--paper);
	border-radius: var(--wobble-soft);
}

.based-on img {
	width: 64px;
	height: 64px;
	object-fit: cover;
}

.based-on p {
	margin: 0;
}

.based-on a {
	font-weight: 700;
}

.form-submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	margin: 2rem 0 0;
}

.form-errors {
	margin-bottom: 2rem;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--alert);
	background: #fbeceb;
}

.form-errors ul {
	margin: 0.5rem 0 0;
	padding-left: 1.2rem;
}

.hp-field {
	position: absolute !important;
	left: -9999px !important;
	height: 1px;
	overflow: hidden;
}

/* ---------- 404 & empty states ---------- */
.lost {
	padding-top: clamp(3rem, 8vw, 6rem);
	text-align: center;
}

.lost__code {
	font-size: clamp(6rem, 4rem + 12vw, 13rem);
	font-weight: 800;
	font-stretch: 75%;
	line-height: 0.85;
	letter-spacing: -0.05em;
	margin-bottom: 0.25em;
	color: var(--ink);
}

.lost .search-form {
	margin: 2rem auto;
}

.lost__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.nothing {
	padding: 2rem;
	background: var(--card);
	box-shadow: var(--lift);
	max-width: 640px;
}

.nothing .search-form {
	margin-bottom: 1.5rem;
}

/* ---------- Utilities ---------- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 1000;
	padding: 0.75rem 1rem;
	background: var(--tape);
	color: var(--ink);
	font-weight: 700;
}

.sticky .post-card__title::after {
	content: "pinned";
	margin-left: 0.5rem;
	font-family: var(--hand);
	font-size: 1.3rem;
	font-weight: 400;
	color: var(--biro);
}

.bypostauthor > .comment-card {
	border-left: 4px solid var(--tape);
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0.75rem;
}

.gallery-item {
	margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.site-footer__inner,
	.site-footer__inner:has(.footer-extra) {
		grid-template-columns: 1fr 1fr;
	}

	.footer-about {
		grid-column: 1 / -1;
	}

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

@media (max-width: 900px) {
	.site-header__inner {
		flex-wrap: wrap;
		min-height: 72px;
		gap: 0.5rem 1rem;
	}

	.main-nav {
		order: 3;
		flex-basis: 100%;
	}

	.nav-toggle {
		display: inline-flex;
		align-items: center;
		gap: 0.35rem;
		height: 44px;
		margin-right: 0.25rem;
		padding: 0 0.75rem;
		border: 1.5px solid var(--ink);
		border-radius: var(--wobble);
		background: transparent;
		color: var(--ink);
		font: 600 0.95rem var(--font);
		cursor: pointer;
	}

	.nav-toggle[aria-expanded="true"] {
		background: var(--tape);
	}

	.header-tools {
		order: 2;
	}

	.main-nav .menu {
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.5rem 0 1rem;
		border-top: 1px dashed var(--line);
	}

	.main-nav.is-open .menu {
		display: flex;
	}

	.main-nav .menu a {
		display: block;
		padding: 0.7rem 0;
		font-size: var(--step-1);
	}

	.main-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		background: none;
		padding: 0 0 0 1rem;
		min-width: 0;
	}

	.main-nav .sub-menu a {
		padding: 0.45rem 0;
		font-size: var(--step-0);
	}

	.hero__inner,
	.custom-work__inner,
	.custom-page__inner,
	.has-blog-sidebar .content-area {
		grid-template-columns: 1fr;
	}

	.custom-page__intro {
		position: static;
	}

	.hero__board {
		min-height: 0;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.75rem;
		padding-top: 1rem;
	}

	.polaroid {
		position: relative;
		inset: auto;
		width: auto;
		padding: 6px 6px 0;
	}

	.polaroid figcaption {
		font-size: 1.2rem;
	}

	.polaroid::before {
		width: 56px;
		height: 18px;
		top: -8px;
	}

	.hero__note {
		position: static;
		grid-column: 1 / -1;
		justify-self: end;
		max-width: none;
	}

	.hero__note::before {
		display: none;
	}

	.materials__list {
		grid-template-columns: 1fr;
		max-width: 520px;
	}

	.material {
		flex-direction: row;
		align-items: stretch;
	}

	.material .swatch {
		width: 34%;
		flex: none;
		aspect-ratio: auto;
		min-height: 130px;
	}

	.material__body {
		padding: 0.25rem 0.5rem 0.25rem 1rem;
	}
}

@media (max-width: 600px) {
	:root {
		--step-0: 1rem;
	}

	.wordmark__name {
		font-size: 1.75rem;
	}

	.nav-toggle__label {
		display: none;
	}

	.nav-toggle {
		padding: 0 0.6rem;
	}

	.header-tools .tool-btn {
		width: 40px;
	}

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

	.site-footer__inner,
	.site-footer__inner:has(.footer-extra) {
		grid-template-columns: 1fr;
	}

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

	.post-navigation .nav-next {
		grid-column: 1;
	}

	.alignwide {
		margin-inline: 0;
	}

	.alignleft,
	.alignright {
		float: none;
		margin: 0 0 1em;
	}

	.material .swatch {
		width: 30%;
		min-height: 120px;
	}

	.material__desc {
		font-size: var(--step--1);
	}
}

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

@media print {
	.announce,
	.site-header,
	.site-footer,
	.comments,
	.post-navigation {
		display: none;
	}

	body {
		background: #fff;
	}
}
