/*
Theme Name: Nothing On Purpose
Theme URI: https://onenothingplease.com
Author: Nothing On Purpose
Author URI: https://onenothingplease.com
Description: A handwritten notebook theme for a shop that sells one honest product: absolutely nothing. Pairs with the Nothing Wall plugin for pay-what-you-want checkout, numbered Certificates of Nothing, and the Wall of Nothing. Ruled paper, stickers, tape and a red margin line, with a WooCommerce checkout stripped down to an email address, and a gift flow for buying nothing for someone else.
Version: 1.1.2
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nothing-on-purpose
Tags: e-commerce, one-column, custom-menu, translation-ready, block-styles
*/

/* ==================================================================
   01 Tokens
   The plugin's component CSS reads these, so restyling the whole
   certificate and wall is a matter of changing values here.
   ================================================================== */

:root {
	--paper: #fbf6e6;
	--paper-deep: #f2ead4;
	--ink: #191712;
	--ink-soft: #5d5744;
	--ink-faint: rgba(25, 23, 18, 0.42);

	--rule: rgba(120, 165, 205, 0.34);
	--margin-red: #d9584d;
	--marker: #ffe45e;
	--marker-2: #b8ecd0;
	--sticky-pink: #ffc9dc;
	--sticky-blue: #c2e5f7;
	--sticky-yellow: #ffeaa0;
	--tape: rgba(246, 228, 150, 0.62);

	--hand: "Caveat", "Bradley Hand", "Comic Sans MS", cursive;
	--neat: "Patrick Hand", "Comic Sans MS", "Chalkboard SE", cursive;
	--type: "Special Elite", "Courier New", monospace;

	/* Tune the top and bottom of the page here. */
	--space-header: 8px;
	--space-footer: 26px;

	--page: 1140px;
	--gutter: clamp(20px, 5vw, 40px);
	--rule-height: 34px;
	--sketch: 255px 14px 225px 16px / 16px 225px 14px 255px;
	--sketch-2: 18px 220px 16px 240px / 240px 16px 220px 18px;
	--ink-line: 2.5px solid var(--ink);
}

/* ==================================================================
   02 Reset & base
   ================================================================== */

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

html {
	background: var(--paper);
	overflow-x: hidden;
	scroll-behavior: smooth;
	scroll-padding-top: 72px;
}

body {
	margin: 0;
	overflow-x: hidden;
	isolation: isolate;
	color: var(--ink);
	background-color: var(--paper);
	background-image:
		linear-gradient(
			90deg,
			transparent 0 calc(var(--gutter) + 34px),
			rgba(217, 88, 77, 0.5) calc(var(--gutter) + 35px),
			transparent calc(var(--gutter) + 37px)
		),
		repeating-linear-gradient(
			180deg,
			transparent 0,
			transparent calc(var(--rule-height) - 1px),
			var(--rule) calc(var(--rule-height) - 1px),
			var(--rule) var(--rule-height)
		);
	font-family: var(--neat);
	font-size: 19px;
	line-height: var(--rule-height);
	-webkit-font-smoothing: antialiased;
}

@supports (overflow: clip) {
	html,
	body {
		overflow-x: clip;
	}
}

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

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

button {
	cursor: pointer;
}

a {
	color: inherit;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

:focus-visible {
	outline: 3px dashed var(--margin-red);
	outline-offset: 4px;
}

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

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

.skip-link {
	position: fixed;
	z-index: 60;
	top: 12px;
	left: 12px;
	padding: 10px 16px;
	color: var(--paper);
	background: var(--ink);
	transform: translateY(-250%);
}

.skip-link:focus {
	transform: none;
}

/* ==================================================================
   03 Paper
   ================================================================== */

.paper-grain {
	position: fixed;
	z-index: -1;
	inset: 0;
	pointer-events: none;
	opacity: 0.5;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
}

.spiral {
	position: fixed;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 0;
	width: 26px;
	pointer-events: none;
	opacity: 0.75;
	background-image: repeating-radial-gradient(
		circle at 13px 26px,
		rgba(25, 23, 18, 0.22) 0 7px,
		transparent 7.5px 8px
	);
	background-size: 26px 74px;
}

/* ==================================================================
   04 Hand-drawn primitives
   ================================================================== */

.marked {
	padding: 0 0.16em;
	border-radius: 0.35em;
	background-image: linear-gradient(
		104deg,
		transparent 0.5%,
		var(--marker) 2.2%,
		var(--marker) 95.5%,
		transparent 98.5%
	);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.underlined {
	padding-bottom: 0.06em;
	background-repeat: repeat-x;
	background-position: 0 88%;
	background-size: 44px 12px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='12'%3E%3Cpath d='M1 7c8-5 14 4 22-1s13 3 20-1' fill='none' stroke='%23d9584d' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.tape {
	position: absolute;
	width: 132px;
	height: 34px;
	background: var(--tape);
	border-left: 1px dashed rgba(25, 23, 18, 0.18);
	border-right: 1px dashed rgba(25, 23, 18, 0.18);
	box-shadow: 0 1px 3px rgba(25, 23, 18, 0.14);
}

.tape-top {
	z-index: 5;
	top: -18px;
	left: 50%;
	transform: translateX(-50%) rotate(-2.6deg);
}

.sticker {
	position: absolute;
	z-index: 6;
	display: grid;
	place-items: center;
	padding: 0.4em 0.7em;
	font-family: var(--hand);
	font-weight: 700;
	line-height: 1.02;
	text-align: center;
	text-transform: lowercase;
	color: var(--ink);
	filter: drop-shadow(2px 3px 0 rgba(25, 23, 18, 0.18));
}

.sticker-round {
	width: 84px;
	height: 84px;
	padding: 0;
	border: 3px solid var(--ink);
	border-radius: 50%;
	background: var(--marker);
	font-size: 1.9rem;
}

.sticker-round small {
	font-size: 0.5em;
}

.sticker-oval {
	padding: 0.7em 1.1em;
	border: 2.5px solid var(--ink);
	border-radius: 50%;
	background: var(--sticky-blue);
	font-size: 1.15rem;
}

.sticker-star {
	width: 104px;
	height: 104px;
	padding: 0;
	background: var(--margin-red);
	color: #fff8ec;
	font-size: 1.05rem;
	clip-path: polygon(
		50% 0%, 61% 18%, 82% 12%, 80% 33%, 100% 43%, 84% 57%,
		95% 76%, 74% 78%, 68% 98%, 50% 87%, 32% 98%, 26% 78%,
		5% 76%, 16% 57%, 0% 43%, 20% 33%, 18% 12%, 39% 18%
	);
}

.sticky-note {
	position: absolute;
	z-index: 6;
	width: 176px;
	padding: 20px 18px;
	font-family: var(--hand);
	font-size: 1.35rem;
	line-height: 1.15;
	text-align: center;
	background: var(--sticky-yellow);
	box-shadow: 3px 5px 0 rgba(25, 23, 18, 0.15);
}

.sticky-pink {
	background: var(--sticky-pink);
}

.arrow {
	width: 74px;
	height: 38px;
	fill: none;
	stroke: var(--ink);
	stroke-width: 2.4;
	stroke-linecap: round;
}

/* ==================================================================
   05 Buttons
   ================================================================== */

.btn,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order {
	position: relative;
	display: inline-block;
	border: var(--ink-line);
	border-radius: var(--sketch);
	color: var(--paper);
	background: var(--ink);
	font-family: var(--hand);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	box-shadow: 4px 5px 0 var(--paper), 6px 7px 0 var(--ink);
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-small {
	padding: 7px 16px;
	font-size: 1.15rem;
	line-height: 1.25;
}

.btn-big,
.woocommerce #place_order {
	padding: 14px 28px;
	font-size: clamp(1.25rem, 2.4vw, 1.6rem);
	line-height: 1.2;
}

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

.btn-ghost {
	padding: 12px 24px;
	color: var(--ink);
	background: var(--paper);
	font-size: 1.25rem;
}

.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover {
	color: var(--ink);
	background: var(--marker);
}

.btn:active,
.woocommerce #place_order:active {
	box-shadow: none;
	transform: translate(5px, 6px);
}

.btn:disabled,
.woocommerce #place_order:disabled {
	opacity: 0.34;
	cursor: not-allowed;
	transform: none;
	box-shadow: 4px 5px 0 var(--paper), 6px 7px 0 var(--ink);
}

.scribble-link {
	font-family: var(--hand);
	font-size: 1.3rem;
	text-decoration: none;
	background-repeat: repeat-x;
	background-position: 0 95%;
	background-size: 44px 12px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='12'%3E%3Cpath d='M1 7c8-5 14 4 22-1s13 3 20-1' fill='none' stroke='%23191712' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.scribble-link:hover {
	color: var(--margin-red);
}

/* ==================================================================
   06 Layout
   ================================================================== */

.topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	position: sticky;
	top: 0;
	z-index: 40;
	width: min(100% - 24px, var(--page));
	margin: 0 auto;
	padding: var(--space-header) 8px;
	border-bottom: var(--ink-line);
	background: linear-gradient(var(--paper) 78%, rgba(251, 246, 230, 0.86));
	backdrop-filter: blur(2px);
}

/* The logged-in admin bar is fixed at the top, so the sticky header has to
   start below it rather than sliding underneath. */
body.admin-bar .topbar {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .topbar {
		top: 46px;
	}
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--hand);
	font-size: 1.5rem;
	font-weight: 700;
	text-decoration: none;
}

.logo-mark {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 2.5px solid var(--ink);
	border-radius: 50%;
	background: var(--marker);
	font-size: 1.2rem;
}

.topnav {
	display: flex;
	align-items: center;
	gap: clamp(12px, 2.4vw, 26px);
}

.topnav a:not(.btn) {
	font-family: var(--hand);
	font-size: 1.25rem;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.topnav a:not(.btn):hover {
	border-bottom-color: var(--margin-red);
}

.page {
	width: min(100% - 24px, var(--page));
	margin: 0 auto;
	padding: clamp(56px, 8vw, 104px) clamp(8px, 3vw, 30px);
}

.section {
	position: relative;
	border-top: 2px dashed rgba(25, 23, 18, 0.2);
}

.section-label,
.eyebrow {
	margin: 0 0 6px;
	font-family: var(--type);
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--margin-red);
}

h1,
h2,
h3 {
	margin: 0;
	font-family: var(--hand);
	font-weight: 700;
	line-height: 0.98;
	overflow-wrap: break-word;
}

h1 {
	font-size: clamp(3.2rem, 9.5vw, 6.2rem);
}

h2 {
	font-size: clamp(2.4rem, 6vw, 4.1rem);
	margin-bottom: 0.35em;
}

h3 {
	font-size: 1.6rem;
}

.lede {
	max-width: 46ch;
	margin: 0 0 26px;
	font-size: 1.14rem;
	color: var(--ink-soft);
}

.punchline {
	margin: 46px 0 0;
	font-family: var(--hand);
	font-size: clamp(2rem, 5.5vw, 3.4rem);
	font-weight: 700;
	line-height: 1.02;
	text-align: center;
}

/* ==================================================================
   07 Hero
   ================================================================== */

.hero {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: clamp(30px, 5vw, 70px);
	align-items: center;
	padding-top: clamp(28px, 4vw, 52px);
}

.hero-text {
	min-width: 0;
}

.hero h1 {
	margin-bottom: 22px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
	margin-bottom: 30px;
}

.trust-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--type);
	font-size: 0.76rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.trust-row li::before {
	content: "\2713 ";
	color: var(--margin-red);
}

.hero-art {
	position: relative;
	min-width: 0;
	padding: 10px;
	transform: rotate(1.4deg);
}

.hero-art .caption {
	margin: 16px 0 0;
	font-size: 0.98rem;
	text-align: center;
	color: var(--ink-soft);
}

.sticker-hero-1 {
	top: -34px;
	right: -18px;
	transform: rotate(11deg);
}

.sticker-hero-2 {
	bottom: 66px;
	left: -40px;
	transform: rotate(-8deg);
}

.hero-foot {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 10px 0 0;
	font-family: var(--hand);
	font-size: 1.25rem;
	color: var(--ink-soft);
}

/* ==================================================================
   08 Proof strip
   ================================================================== */

.proof {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 10px 26px;
	width: min(100% - 24px, var(--page));
	margin: 0 auto;
	padding: 20px 16px;
	border-top: var(--ink-line);
	border-bottom: var(--ink-line);
	background: var(--paper-deep);
	text-align: center;
}

.proof-count {
	margin: 0;
	font-family: var(--hand);
	font-size: 1.5rem;
}

.proof-count strong {
	font-size: 2.1rem;
	padding: 0 0.12em;
	background-image: linear-gradient(
		104deg,
		transparent 0.5%,
		var(--marker-2) 2.2%,
		var(--marker-2) 95.5%,
		transparent 98.5%
	);
}

/* ==================================================================
   09 Comic strip, product, spec sheet
   ================================================================== */

.comic-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(18px, 3vw, 34px);
	margin-top: 26px;
}

.panel {
	position: relative;
	padding: 26px 22px 24px;
	border: var(--ink-line);
	border-radius: var(--sketch);
	background: var(--paper);
	box-shadow: 4px 6px 0 rgba(25, 23, 18, 0.13);
}

.comic-strip .panel:nth-child(1) { transform: rotate(-1.4deg); }
.comic-strip .panel:nth-child(2) { transform: rotate(0.7deg); }
.comic-strip .panel:nth-child(3) { transform: rotate(-0.6deg); }

.panel h3 {
	margin: 8px 0 4px;
}

.panel p {
	margin: 0;
	color: var(--ink-soft);
}

.face {
	display: block;
	font-family: var(--hand);
	font-size: 3.4rem;
	font-weight: 700;
	line-height: 1;
}

.note-why {
	right: clamp(-4px, 2vw, 40px);
	bottom: -34px;
	transform: rotate(6deg);
}

.two-columns {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(30px, 5vw, 66px);
	align-items: start;
	margin-top: 20px;
}

.two-columns > * {
	min-width: 0;
}

.box-joke {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 32px;
	padding: 20px 24px;
	border: 2px dashed var(--ink);
	border-radius: var(--sketch-2);
}

.box-joke h3 {
	margin: 0 0 2px;
}

.box-joke p {
	margin: 0;
	color: var(--ink-soft);
}

.stickman {
	margin: 0;
	font-family: var(--type);
	font-size: 1rem;
	line-height: 1.15;
	white-space: pre;
}

.stickman-big {
	font-size: 1.5rem;
	margin-bottom: 18px;
}

.spec-sheet {
	position: relative;
	padding: 28px 26px 22px;
	border: var(--ink-line);
	border-radius: var(--sketch-2);
	background: var(--paper);
	transform: rotate(-0.9deg);
	box-shadow: 5px 7px 0 rgba(25, 23, 18, 0.13);
}

.spec-title {
	margin: 0 0 12px;
	font-family: var(--type);
	font-size: 0.76rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--margin-red);
}

.spec-sheet dl {
	margin: 0;
}

.spec-sheet dl > div {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 5px 0;
	border-bottom: 1px dotted rgba(25, 23, 18, 0.35);
	line-height: 1.4;
}

.spec-sheet dt {
	font-family: var(--type);
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}

.spec-sheet dd {
	flex: 1;
	margin: 0;
	font-family: var(--hand);
	font-size: 1.4rem;
	text-align: right;
}

.spec-sheet small {
	display: block;
	margin-top: 10px;
	font-size: 0.85rem;
	color: var(--ink-soft);
}

.sticker-spec {
	top: -40px;
	right: -34px;
	transform: rotate(14deg);
}

/* ==================================================================
   10 Wall section furniture (the grid itself lives in the plugin)
   ================================================================== */

.wall-lede {
	max-width: 52ch;
}

.wall-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 44px;
	padding: 26px 30px;
	border: 2.5px dashed var(--ink);
	border-radius: var(--sketch-2);
	background: var(--paper-deep);
}

.wall-cta p {
	max-width: 34ch;
	margin: 0;
	font-family: var(--hand);
	font-size: 1.6rem;
	line-height: 1.15;
}

.free-note {
	margin-top: 24px;
	font-family: var(--hand);
	font-size: 1.3rem;
	text-align: center;
}

/* ==================================================================
   11 FAQ, final, footer
   ================================================================== */

.faq-list {
	max-width: 74ch;
	margin-top: 24px;
}

.faq details {
	border-bottom: 2px solid var(--ink);
}

.faq summary {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 4px;
	font-family: var(--hand);
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	list-style: none;
	cursor: pointer;
}

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

.faq summary::after {
	content: "+";
	font-size: 1.4em;
	line-height: 0.8;
	color: var(--margin-red);
}

.faq details[open] summary::after {
	content: "\2013";
}

.faq summary:hover {
	color: var(--margin-red);
}

.faq details p {
	margin: 0 0 20px;
	max-width: 58ch;
	color: var(--ink-soft);
}

.final {
	text-align: center;
	border-top: 2px dashed rgba(25, 23, 18, 0.2);
}

.final .stickman {
	display: inline-block;
	text-align: left;
}

.final h2 {
	margin-bottom: 0.2em;
}

.final > p {
	margin: 0 0 26px;
	color: var(--ink-soft);
}

.final-sub {
	margin-top: 22px;
	font-size: 0.98rem;
}

.site-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	width: min(100% - 24px, var(--page));
	margin: 0 auto;
	padding: 22px 8px var(--space-footer);
	border-top: var(--ink-line);
	font-size: 0.95rem;
	color: var(--ink-soft);
}

.site-footer b {
	font-family: var(--hand);
	font-size: 1.3rem;
	color: var(--ink);
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-widgets {
	flex-basis: 100%;
}

/* ==================================================================
   12 Sticky bar
   ================================================================== */

.sticky-bar {
	position: fixed;
	z-index: 45;
	right: 12px;
	bottom: 12px;
	left: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 10px 14px;
	border: 2.5px solid var(--ink);
	border-radius: var(--sketch);
	background: var(--paper);
	box-shadow: 3px 4px 0 rgba(25, 23, 18, 0.2);
}

.sticky-bar span {
	font-family: var(--hand);
	font-size: 1.15rem;
	line-height: 1.1;
}

.sticky-bar[hidden] {
	display: none;
}

@media (min-width: 861px) {
	.sticky-bar {
		display: none;
	}
}

/* ==================================================================
   13 WooCommerce
   A checkout that looks like the rest of the notebook.
   ================================================================== */

.woo-page {
	border-top: none;
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
	border: 2.5px solid var(--ink);
	border-top-color: var(--ink);
	border-radius: var(--sketch);
	background: var(--paper-deep);
	font-family: var(--neat);
	color: var(--ink);
}

.woocommerce-notices-wrapper .woocommerce-error {
	background: #fde8e6;
	border-color: var(--margin-red);
}

.woocommerce-notices-wrapper li::before,
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none;
}

.woocommerce form .form-row label,
.woocommerce-checkout label {
	font-family: var(--type);
	font-size: 0.74rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="text"] {
	padding: 10px 14px;
	border: 2.5px solid var(--ink);
	border-radius: var(--sketch);
	background: var(--paper);
	font-family: var(--hand);
	font-size: 1.4rem;
	line-height: 1.3;
}

.woocommerce form .form-row.woocommerce-invalid input.input-text {
	border-color: var(--margin-red);
}

.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading {
	font-family: var(--hand);
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	margin: 0 0 12px;
}

.woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
	border: 2.5px solid var(--ink);
	border-radius: var(--sketch);
	background: var(--paper);
	font-family: var(--neat);
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	padding: 12px 16px;
	border-bottom: 1px dotted rgba(25, 23, 18, 0.35);
	text-align: left;
}

.woocommerce-checkout-review-order-table .order-total td,
.woocommerce-checkout-review-order-table .order-total th {
	border-top: 2px solid var(--ink);
	border-bottom: none;
	font-family: var(--hand);
	font-size: 1.5rem;
}

.woocommerce-checkout #payment {
	border: 2.5px solid var(--ink);
	border-radius: var(--sketch);
	background: var(--paper-deep);
}

.woocommerce-checkout #payment ul.payment_methods {
	border-bottom: 2px dashed rgba(25, 23, 18, 0.3);
}

.woocommerce-checkout #payment div.payment_box {
	background: var(--paper);
	border-radius: 12px;
	font-family: var(--neat);
	color: var(--ink);
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: var(--paper);
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
	font-family: var(--neat);
	font-size: 0.95rem;
}

.woocommerce .quantity,
.woocommerce-checkout .product-quantity {
	font-family: var(--type);
	font-size: 0.9rem;
}

/* Hide the parts of a normal shop that a store selling nothing does not need. */
.nop-checkout .woocommerce-form-coupon-toggle,
.nop-checkout .woocommerce-form-login-toggle,
.nop-checkout .woocommerce-additional-fields,
.nop-checkout .woocommerce-shipping-fields,
.nop-checkout .product-thumbnail {
	display: none;
}

.woocommerce-order-received .woocommerce-order-overview,
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
	font-family: var(--neat);
	font-size: 0.95rem;
}

.woocommerce-order-received .woocommerce-order-overview {
	list-style: none;
	padding: 0;
}

/* ==================================================================
   14 Editor & post lists
   ================================================================== */

.entry-content > * {
	max-width: 74ch;
}

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

.post-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px;
	margin-top: 30px;
}

.post-meta {
	margin: 4px 0 8px;
	font-family: var(--type);
	font-size: 0.74rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--margin-red);
}

.pagination {
	margin-top: 36px;
	font-family: var(--hand);
	font-size: 1.3rem;
}

/* ==================================================================
   15 Motion & responsive
   ================================================================== */

.reveal {
	opacity: 0;
	transform: translateY(18px);
}

.reveal.is-in {
	opacity: 1;
	transform: none;
	transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (max-width: 980px) {
	.hero {
		grid-template-columns: 1fr;
	}

	.hero-art {
		max-width: 520px;
		margin: 10px auto 0;
	}

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

@media (max-width: 860px) {
	:root {
		--gutter: 2px;
	}

	body {
		font-size: 18px;
	}

	.page,
	.proof,
	.site-footer {
		padding-left: 44px;
		padding-right: 12px;
	}

	.topbar {
		padding-left: 12px;
		padding-right: 12px;
	}

	.logo {
		gap: 7px;
		font-size: 1.15rem;
		white-space: nowrap;
	}

	.logo-mark {
		width: 27px;
		height: 27px;
		font-size: 1rem;
	}

	.topbar .btn-small {
		padding: 6px 12px;
		font-size: 1rem;
		white-space: nowrap;
	}

	.spiral {
		width: 16px;
		background-size: 16px 74px;
		background-image: repeating-radial-gradient(
			circle at 8px 26px,
			rgba(25, 23, 18, 0.2) 0 4.5px,
			transparent 5px 6px
		);
	}

	.comic-strip {
		grid-template-columns: 1fr;
	}

	.comic-strip .panel {
		transform: none;
	}

	.note-why {
		position: static;
		width: auto;
		max-width: 260px;
		margin: 30px auto 0;
		transform: rotate(-2deg);
	}

	.sticker-spec {
		top: auto;
		right: 6px;
		bottom: -46px;
		width: 86px;
		height: 86px;
		font-size: 0.86rem;
	}

	.sticker-hero-1 {
		top: -26px;
		right: -6px;
		width: 66px;
		height: 66px;
		font-size: 1.4rem;
	}

	.sticker-hero-2 {
		left: -12px;
		font-size: 1rem;
	}

	.topnav a:not(.btn) {
		display: none;
	}

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

	.site-footer {
		/* the sticky buy bar sits over the page here, so leave room for it */
		padding-bottom: 92px;
	}
}

@media (max-width: 520px) {
	.hero-art {
		transform: none;
	}
}

@media (max-width: 400px) {
	.logo-word {
		font-size: 0.95rem;
	}

	.topbar .btn-small {
		padding: 5px 10px;
		font-size: 0.9rem;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.topbar,
	.sticky-bar,
	.spiral,
	.paper-grain,
	.proof,
	.wall-toolbar,
	.site-footer {
		display: none !important;
	}
}

/* ==================================================================
   16 Gifts
   ================================================================== */

.btn-gift {
	color: var(--ink);
	background: var(--sticky-pink);
	box-shadow: 4px 5px 0 var(--paper), 6px 7px 0 var(--ink);
}

.btn-gift:hover {
	background: var(--marker);
}

.hero-aside {
	max-width: 46ch;
	margin: 0 0 28px;
	font-size: 1.02rem;
	line-height: 1.5;
	color: var(--ink-soft);
}

.hero-aside .scribble-link {
	font-size: 1.15rem;
	white-space: nowrap;
}

.gift-teaser {
	position: relative;
	text-align: center;
}

.gift-teaser .lede {
	max-width: 54ch;
	margin-left: auto;
	margin-right: auto;
}

.note-gift {
	right: clamp(-4px, 3vw, 60px);
	bottom: 26px;
	background: var(--sticky-blue);
	transform: rotate(-7deg);
}

/* The give-nothing page */

.nop-gift .gift-step h3 {
	margin: 8px 0 6px;
}

.nop-gift .gift-step p {
	margin: 0;
	color: var(--ink-soft);
}

@media (max-width: 860px) {
	.note-gift {
		position: static;
		width: auto;
		max-width: 240px;
		margin: 32px auto 0;
	}

	.hero-actions .btn-big {
		width: 100%;
	}
}
