/*
Theme Name: PrettyCool
Theme URI: https://getprettycool.com/
Author: GetPrettyCool
Author URI: https://getprettycool.com/
Description: Get a Pretty Cool Website, FREE! A fun, sticker-book theme for GetPrettyCool.com built on hot pink, sky blue, clean white and thick black outlines. Full WooCommerce support, block editor styles and a playful set of hand-drawn doodles.
Version: 1.0.2
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prettycool
Tags: e-commerce, blog, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, block-styles, wide-blocks, accessibility-ready, translation-ready
*/

/* --------------------------------------------------------------
 * Table of contents
 * 1.  Design tokens
 * 2.  Reset & base
 * 3.  Typography
 * 4.  Layout & containers
 * 5.  Doodles & decoration
 * 6.  Buttons
 * 7.  Forms
 * 8.  Header & navigation
 * 9.  Hero & front page sections
 * 10. Cards, posts & archives
 * 11. Comments
 * 12. Sidebar & widgets
 * 13. Footer
 * 14. Blocks & alignment
 * 15. Accessibility helpers
 * 16. Motion
 * 17. Print
 * ------------------------------------------------------------ */

/* 1. Design tokens
 * ------------------------------------------------------------ */

:root {
	/* The whole palette: hot pink, sky blue, clean white, hard black. */
	--pc-pink: #ff4d9d;
	--pc-pink-dark: #e62e82;
	--pc-pink-darker: #b91f65;
	--pc-pink-200: #ffc7e0;
	--pc-pink-100: #ffe0ee;
	--pc-pink-50: #fff2f8;

	/*
	 * The sky blue is the second accent: it is light enough that ink stays
	 * the text colour on top of it, so it never carries white text the way
	 * the pink does. --pc-sky-darker is the one shade that passes as text on
	 * white.
	 */
	--pc-sky: #6cd0ff;
	--pc-sky-dark: #39c0ff;
	--pc-sky-darker: #0088c8;
	--pc-sky-200: #a9e4ff;
	--pc-sky-100: #c8edff;
	--pc-sky-50: #e6f7ff;
	--pc-ink: #101014;
	--pc-ink-70: #4a4a52;
	--pc-ink-40: #8b8b94;
	--pc-white: #ffffff;
	--pc-cream: #fffaf7;

	/* Surfaces */
	--pc-bg: #fffdfe;
	--pc-surface: var(--pc-white);
	--pc-surface-alt: var(--pc-pink-50);

	/* The signature outline + hard shadow */
	--pc-line-width: 3px;
	--pc-line: var(--pc-line-width) solid var(--pc-ink);
	--pc-line-thin: 2px solid var(--pc-ink);
	--pc-shadow: 6px 6px 0 var(--pc-ink);
	--pc-shadow-sm: 4px 4px 0 var(--pc-ink);
	--pc-shadow-lg: 10px 10px 0 var(--pc-ink);
	--pc-shadow-pink: 6px 6px 0 var(--pc-pink);
	--pc-shadow-sky: 6px 6px 0 var(--pc-sky);

	/* Radii — soft and hand-drawn, never sharp */
	--pc-radius-sm: 10px;
	--pc-radius: 18px;
	--pc-radius-lg: 28px;
	--pc-radius-pill: 999px;
	--pc-radius-blob: 62% 38% 46% 54% / 47% 43% 57% 53%;

	/* Type */
	--pc-font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--pc-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--pc-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

	--pc-step--1: clamp(0.83rem, 0.79rem + 0.2vw, 0.94rem);
	--pc-step-0: clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
	--pc-step-1: clamp(1.2rem, 1.11rem + 0.44vw, 1.5rem);
	--pc-step-2: clamp(1.44rem, 1.28rem + 0.78vw, 2rem);
	--pc-step-3: clamp(1.73rem, 1.45rem + 1.38vw, 2.66rem);
	--pc-step-4: clamp(2.07rem, 1.6rem + 2.36vw, 3.55rem);
	--pc-step-5: clamp(2.49rem, 1.71rem + 3.9vw, 4.73rem);

	/* Space */
	--pc-space-2xs: 0.375rem;
	--pc-space-xs: 0.625rem;
	--pc-space-sm: 1rem;
	--pc-space-md: 1.5rem;
	--pc-space-lg: 2.5rem;
	--pc-space-xl: 4rem;
	--pc-space-2xl: 6rem;

	/* Measure */
	--pc-content-width: 46rem;
	--pc-wide-width: 74rem;
	--pc-gutter: clamp(1.25rem, 4vw, 3rem);

	--pc-ease-bounce: cubic-bezier(0.2, 1.6, 0.4, 1);
	--pc-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Reset & base
 * ------------------------------------------------------------ */

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

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

body {
	margin: 0;
	background-color: var(--pc-bg);
	color: var(--pc-ink);
	font-family: var(--pc-font-body);
	font-size: var(--pc-step-0);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

/* A whisper of pink and sky polka dots behind everything, interleaved. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		radial-gradient(var(--pc-pink-100) 1.5px, transparent 1.6px),
		radial-gradient(var(--pc-sky-100) 1.5px, transparent 1.6px);
	background-size: 26px 26px, 26px 26px;
	background-position: 0 0, 13px 13px;
	opacity: 0.75;
}

/* The custom designer shows the customer's page in a frame; plain white
   behind it, no polka dots. The plugin adds the class on that page. */
body.ssg-designer-page {
	background-color: var(--pc-white);
}

body.ssg-designer-page::before {
	display: none;
}

img,
svg,
video,
canvas,
iframe {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

svg {
	fill: currentColor;
}

hr {
	border: 0;
	height: 0;
	border-top: var(--pc-line);
	border-radius: 3px;
	margin: var(--pc-space-lg) 0;
}

/* 3. Typography
 * ------------------------------------------------------------ */

h1, h2, h3, h4, h5, h6,
.pc-display {
	font-family: var(--pc-font-display);
	font-weight: 700;
	font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin: 0 0 var(--pc-space-sm);
	text-wrap: balance;
}

h1 { font-size: var(--pc-step-4); }
h2 { font-size: var(--pc-step-3); }
h3 { font-size: var(--pc-step-2); }
h4 { font-size: var(--pc-step-1); }
h5 { font-size: var(--pc-step-0); }
h6 {
	font-size: var(--pc-step--1);
	font-family: var(--pc-font-body);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 700;
}

p,
ul,
ol,
dl,
table,
pre,
figure,
blockquote {
	margin: 0 0 var(--pc-space-md);
}

a {
	color: var(--pc-pink-dark);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
	transition: color 0.15s var(--pc-ease);
}

a:hover,
a:focus {
	color: var(--pc-ink);
}

strong, b { font-weight: 700; }

/* Highlighter marker, drawn by hand. */
mark,
.pc-highlight {
	background: linear-gradient(104deg, transparent 0.5%, var(--pc-pink-200) 2%, var(--pc-pink-200) 98%, transparent 99.5%);
	color: inherit;
	padding: 0.1em 0.25em;
	border-radius: var(--pc-radius-sm);
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

mark.pc-highlight--sky,
.pc-highlight--sky {
	background: linear-gradient(104deg, transparent 0.5%, var(--pc-sky-200) 2%, var(--pc-sky-200) 98%, transparent 99.5%);
}

blockquote {
	position: relative;
	border: var(--pc-line);
	border-left-width: 10px;
	border-radius: var(--pc-radius);
	background: var(--pc-surface);
	box-shadow: var(--pc-shadow-sm);
	padding: var(--pc-space-md);
	font-family: var(--pc-font-display);
	font-size: var(--pc-step-1);
	font-variation-settings: "SOFT" 60, "WONK" 1;
}

blockquote p:last-child { margin-bottom: 0; }

blockquote cite {
	display: block;
	margin-top: var(--pc-space-xs);
	font-family: var(--pc-font-body);
	font-size: var(--pc-step--1);
	font-style: normal;
	color: var(--pc-ink-70);
}

code, kbd, samp, pre {
	font-family: var(--pc-font-mono);
	font-size: 0.9em;
}

code {
	background: var(--pc-pink-100);
	border: var(--pc-line-thin);
	border-radius: 6px;
	padding: 0.1em 0.35em;
}

pre {
	background: var(--pc-ink);
	color: var(--pc-white);
	border: var(--pc-line);
	border-radius: var(--pc-radius);
	box-shadow: var(--pc-shadow-sm);
	padding: var(--pc-space-md);
	overflow-x: auto;
}

pre code {
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
}

table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: var(--pc-line);
	border-radius: var(--pc-radius);
	overflow: hidden;
	background: var(--pc-surface);
}

th, td {
	padding: 0.75rem 1rem;
	text-align: left;
	border-bottom: var(--pc-line-thin);
}

th {
	background: var(--pc-pink-100);
	font-weight: 700;
}

tr:last-child td { border-bottom: 0; }

/* 4. Layout & containers
 * ------------------------------------------------------------ */

/* Keeps the footer at the bottom of the viewport on short pages. */
.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site > .site-footer { margin-top: auto; }

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

.pc-container--narrow {
	max-width: calc(var(--pc-content-width) + var(--pc-gutter) * 2);
}

.site-main {
	padding-block: var(--pc-space-xl);
}

/*
 * The two-column layout owns the vertical padding rather than .site-main,
 * because the sidebar is main's grid sibling: padding on main alone pushes the
 * content down and leaves the sidebar jammed against the header.
 */
.pc-layout {
	display: grid;
	gap: var(--pc-space-xl);
	grid-template-columns: 1fr;
	align-items: start;
	padding-block: var(--pc-space-md) var(--pc-space-xl);
}

.pc-layout > * { min-width: 0; }

.pc-layout > .site-main { padding-block: 0; }

/* Front page sections bring their own generous padding. */
.site-main--front { padding-block: 0; }

@media (min-width: 62rem) {
	.pc-layout--sidebar {
		grid-template-columns: minmax(0, 1fr) 20rem;
	}
}

.pc-section {
	padding-block: var(--pc-space-2xl);
	position: relative;
}

.pc-section--tint {
	background: var(--pc-surface-alt);
	border-block: var(--pc-line);
}

.pc-section--sky {
	background: var(--pc-sky-50);
	border-block: var(--pc-line);
}

.pc-section__head {
	max-width: 40rem;
	margin: 0 auto var(--pc-space-xl);
	text-align: center;
}

.pc-section__head p {
	font-size: var(--pc-step-1);
	color: var(--pc-ink-70);
	margin-bottom: 0;
}

.pc-eyebrow {
	display: inline-block;
	font-size: var(--pc-step--1);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	background: var(--pc-pink);
	color: var(--pc-white);
	border: var(--pc-line-thin);
	border-radius: var(--pc-radius-pill);
	padding: 0.3em 0.9em;
	margin-bottom: var(--pc-space-sm);
	rotate: -1.5deg;
}

.pc-eyebrow--sky {
	background: var(--pc-sky);
	color: var(--pc-ink);
	rotate: 1.5deg;
}

.pc-grid {
	display: grid;
	gap: var(--pc-space-md);
	grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
}

.pc-grid > * { min-width: 0; }

/* 5. Doodles & decoration
 * ------------------------------------------------------------ */

/* The sticker: the single most reused shape in the theme. */
.pc-sticker {
	background: var(--pc-surface);
	border: var(--pc-line);
	border-radius: var(--pc-radius);
	box-shadow: var(--pc-shadow);
	transition: transform 0.25s var(--pc-ease-bounce), box-shadow 0.25s var(--pc-ease-bounce);
}

a.pc-sticker:hover,
.pc-sticker--lift:hover,
.pc-sticker:focus-within {
	transform: translate(-3px, -3px);
	box-shadow: var(--pc-shadow-lg);
}

.pc-sticker--pink { background: var(--pc-pink); color: var(--pc-white); }
.pc-sticker--sky { background: var(--pc-sky); color: var(--pc-ink); }
.pc-sticker--tint { background: var(--pc-pink-100); }
.pc-sticker--tint-sky { background: var(--pc-sky-100); }
.pc-sticker--ink { background: var(--pc-ink); color: var(--pc-white); }

/* Tilts. Applied in a rotating pattern so nothing lines up too neatly.
 * These use the independent `rotate` property rather than a transform so the
 * reveal-on-scroll and hover transforms compose with them instead of
 * overwriting them. */
.pc-tilt-1 { rotate: -2deg; }
.pc-tilt-2 { rotate: 1.5deg; }
.pc-tilt-3 { rotate: -1deg; }
.pc-tilt-4 { rotate: 2.5deg; }

/* The sparkle that sits beside the wordmark. */
.pc-brand-mark {
	display: inline-block;
	color: var(--pc-sky);
	animation: pc-float 4s ease-in-out infinite;
}

.pc-brand-mark svg path { fill: var(--pc-sky); }

@keyframes pc-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

@keyframes pc-twinkle {
	0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
	50% { opacity: 0.4; transform: scale(0.82) rotate(18deg); }
}

.pc-sparkle { animation: pc-twinkle 2.6s ease-in-out infinite; }
.pc-sparkle--delay-1 { animation-delay: 0.4s; }
.pc-sparkle--delay-2 { animation-delay: 0.9s; }
.pc-sparkle--delay-3 { animation-delay: 1.4s; }

/* 6. Buttons
 * ------------------------------------------------------------ */

.pc-button,
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	font-family: var(--pc-font-body);
	font-size: var(--pc-step-0);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	padding: 0.85em 1.6em;
	color: var(--pc-white);
	background: var(--pc-pink);
	border: var(--pc-line);
	border-radius: var(--pc-radius-pill);
	box-shadow: var(--pc-shadow-sm);
	transition: transform 0.15s var(--pc-ease-bounce), box-shadow 0.15s var(--pc-ease-bounce), background-color 0.15s var(--pc-ease);
}

.pc-button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.wp-block-button__link:hover {
	color: var(--pc-white);
	background: var(--pc-pink-dark);
	transform: translate(-2px, -2px);
	box-shadow: var(--pc-shadow);
}

/* Press it down like a real button. */
.pc-button:active,
button:active,
input[type="submit"]:active,
.wp-block-button__link:active {
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0 var(--pc-ink);
}

.pc-button--ghost,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: var(--pc-white);
	color: var(--pc-ink);
}

.pc-button--ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--pc-sky-100);
	color: var(--pc-ink);
}

/* The sky button: the secondary action next to a pink primary. Ink text, since
 * white would not clear contrast on a light blue. */
.pc-button--sky {
	background: var(--pc-sky);
	color: var(--pc-ink);
}

.pc-button--sky:hover {
	background: var(--pc-sky-dark);
	color: var(--pc-ink);
}

.pc-button--ink {
	background: var(--pc-ink);
	color: var(--pc-white);
}

.pc-button--ink:hover { background: var(--pc-pink); }

.pc-button--lg {
	font-size: var(--pc-step-1);
	padding: 0.9em 1.9em;
	box-shadow: var(--pc-shadow);
}

.pc-button--sm {
	font-size: var(--pc-step--1);
	padding: 0.6em 1.2em;
}

.pc-button-group {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pc-space-sm);
	align-items: center;
}

/* 7. Forms
 * ------------------------------------------------------------ */

label {
	display: block;
	font-weight: 700;
	font-size: var(--pc-step--1);
	margin-bottom: var(--pc-space-2xs);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
	width: 100%;
	font-family: inherit;
	font-size: var(--pc-step-0);
	color: var(--pc-ink);
	background: var(--pc-white);
	border: var(--pc-line);
	border-radius: var(--pc-radius-sm);
	padding: 0.7em 0.9em;
	transition: box-shadow 0.15s var(--pc-ease), border-color 0.15s var(--pc-ease);
}

textarea { min-height: 9rem; resize: vertical; }

input:focus,
select:focus,
textarea:focus {
	outline: none;
	box-shadow: var(--pc-shadow-sky);
}

::placeholder { color: var(--pc-ink-40); opacity: 1; }

/* Keyboard focus is always visible and always obviously pink. */
:focus-visible {
	outline: 3px solid var(--pc-pink);
	outline-offset: 3px;
	border-radius: 4px;
}

.pc-search-form {
	display: flex;
	gap: var(--pc-space-xs);
	align-items: stretch;
}

.pc-search-form input[type="search"] { flex: 1 1 auto; min-width: 0; }
.pc-search-form .pc-button { flex: 0 0 auto; }
.pc-search-form .pc-button svg { width: 1.125rem; height: 1.125rem; }

.pc-empty .pc-search-form {
	max-width: 26rem;
	margin-inline: auto;
}

/* 8. Header & navigation
 * ------------------------------------------------------------ */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--pc-white);
	border-bottom: var(--pc-line);
	transition: box-shadow 0.2s var(--pc-ease);
}

.site-header.is-stuck { box-shadow: 0 6px 0 rgba(16, 16, 20, 0.08); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--pc-space-md);
	min-height: 4.75rem;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-right: auto;
}

.site-branding a {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	text-decoration: none;
	color: var(--pc-ink);
}

.site-title {
	font-family: var(--pc-font-display);
	font-size: var(--pc-step-2);
	font-weight: 900;
	font-variation-settings: "SOFT" 60, "WONK" 1;
	line-height: 1;
	margin: 0;
	letter-spacing: -0.03em;
}

.site-title__mark { color: var(--pc-pink); transition: color 0.15s var(--pc-ease); }
.site-title__mark--sky { color: var(--pc-sky-darker); }
.site-title a:hover .site-title__mark { color: var(--pc-pink-dark); }
.site-title a:hover .site-title__mark--sky { color: var(--pc-ink); }

.site-description {
	margin: 0;
	font-size: var(--pc-step--1);
	color: var(--pc-ink-70);
}

.custom-logo { max-height: 3rem; width: auto; }

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: var(--pc-space-xs);
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation a {
	display: block;
	padding: 0.5rem 0.85rem;
	font-weight: 600;
	color: var(--pc-ink);
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: var(--pc-radius-pill);
	transition: all 0.15s var(--pc-ease-bounce);
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	background: var(--pc-pink-100);
	border-color: var(--pc-ink);
	color: var(--pc-ink);
	transform: rotate(-1.5deg);
}

/* Sub-menus */
.main-navigation ul ul {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 13rem;
	background: var(--pc-white);
	border: var(--pc-line);
	border-radius: var(--pc-radius);
	box-shadow: var(--pc-shadow-sm);
	padding: 0.4rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.18s var(--pc-ease), transform 0.18s var(--pc-ease), visibility 0.18s;
}

.main-navigation li { position: relative; }

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-navigation ul ul a { border-radius: var(--pc-radius-sm); }
.main-navigation ul ul a:hover { transform: none; }

.site-header__actions {
	display: flex;
	align-items: center;
	gap: var(--pc-space-xs);
}

/* The account item lives in the menu only on small screens; wide screens use
 * the header button in .site-header__actions instead. */
.menu-item--account { display: none; }

/* Mobile menu toggle */
.menu-toggle {
	display: none;
	padding: 0.6em 1em;
	background: var(--pc-white);
	color: var(--pc-ink);
}

@media (max-width: 61.99rem) {
	.menu-toggle { display: inline-flex; }

	.main-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--pc-white);
		border-bottom: var(--pc-line);
		padding: var(--pc-space-sm) var(--pc-gutter) var(--pc-space-md);
		display: none;
		max-height: calc(100vh - 4.75rem);
		overflow-y: auto;
	}

	.main-navigation.is-open { display: block; }

	.main-navigation ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0.25rem;
	}

	.main-navigation a { padding: 0.7rem 1rem; }

	.menu-item--account { display: block; }

	.menu-item--account a {
		display: flex;
		align-items: center;
		gap: 0.5rem;
	}

	.menu-item--account svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }

	.menu-toggle ~ .site-header__actions { display: none; }

	.main-navigation a:hover,
	.main-navigation .current-menu-item > a { transform: none; }

	.main-navigation ul ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-left: var(--pc-line);
		border-radius: 0;
		margin-left: 1rem;
		padding: 0.25rem 0 0.25rem 0.5rem;
	}
}

/* 9. Hero & front page sections
 * ------------------------------------------------------------ */

.pc-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 8vw, 6.5rem);
	background: var(--pc-sky-50);
	border-bottom: var(--pc-line);
}

.pc-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: var(--pc-space-xl);
	align-items: center;
	grid-template-columns: 1fr;
}

.pc-hero__inner > * { min-width: 0; }

@media (min-width: 54rem) {
	.pc-hero__inner { grid-template-columns: 1.05fr 0.95fr; }
}

.pc-hero__title {
	font-size: var(--pc-step-5);
	font-weight: 900;
	font-variation-settings: "SOFT" 80, "WONK" 1, "opsz" 100;
	margin-bottom: var(--pc-space-md);
}

.pc-hero__title .pc-hero__pretty,
.pc-hero__title .pc-hero__cool,
.pc-hero__title .pc-hero__free {
	position: relative;
	display: inline-block;
}

/* "Pretty" goes pink. */
.pc-hero__title .pc-hero__pretty { color: var(--pc-pink); }

/* "Cool" sits on a swipe of sky-blue highlighter, drawn slightly askew. */
.pc-hero__title .pc-hero__cool { z-index: 0; padding-inline: 0.08em; }

.pc-hero__title .pc-hero__cool::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: -0.04em;
	right: -0.04em;
	top: 0.12em;
	bottom: 0.02em;
	background: var(--pc-sky);
	border-radius: var(--pc-radius-sm);
	transform: rotate(-1.5deg);
}

/* Hand-drawn underline scribbled beneath "FREE!". */
.pc-hero__title .pc-hero__free::after {
	content: "";
	position: absolute;
	left: -2%;
	right: -2%;
	bottom: -0.08em;
	height: 0.14em;
	background: var(--pc-pink);
	border: 2px solid var(--pc-ink);
	border-radius: var(--pc-radius-pill);
	transform: rotate(-1deg);
}

.pc-hero__lede {
	font-size: var(--pc-step-1);
	color: var(--pc-ink-70);
	max-width: 34rem;
	margin-bottom: var(--pc-space-lg);
}

.pc-hero__note {
	margin-top: var(--pc-space-md);
	font-size: var(--pc-step--1);
	color: var(--pc-ink-70);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.pc-hero__art {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 18rem;
}

.pc-hero__art svg { width: 100%; max-width: min(30rem, 100%); height: auto; }

/* Floating stat/feature stickers scattered over the hero art. */
.pc-hero__chip {
	position: absolute;
	background: var(--pc-white);
	border: var(--pc-line);
	border-radius: var(--pc-radius-pill);
	box-shadow: var(--pc-shadow-sm);
	padding: 0.45rem 0.95rem;
	font-size: var(--pc-step--1);
	font-weight: 700;
	white-space: nowrap;
	animation: pc-float 5s ease-in-out infinite;
}

.pc-hero__chip--1 { top: 6%; left: -2%; rotate: -6deg; }
.pc-hero__chip--2 { bottom: 12%; right: -1%; rotate: 5deg; animation-delay: 1.2s; background: var(--pc-sky); }
.pc-hero__chip--3 { bottom: -2%; left: 12%; rotate: 3deg; animation-delay: 2.1s; background: var(--pc-pink); color: var(--pc-white); }

/* Numbered "how it works" steps. */
.pc-steps { counter-reset: pc-step; }

.pc-step {
	position: relative;
	padding: var(--pc-space-lg) var(--pc-space-md) var(--pc-space-md);
	text-align: center;
}

.pc-step::before {
	counter-increment: pc-step;
	content: counter(pc-step);
	position: absolute;
	top: -1.35rem;
	left: 50%;
	transform: translateX(-50%) rotate(-6deg);
	display: grid;
	place-items: center;
	width: 2.7rem;
	height: 2.7rem;
	font-family: var(--pc-font-display);
	font-size: 1.35rem;
	font-weight: 900;
	color: var(--pc-ink);
	background: var(--pc-sky);
	border: var(--pc-line);
	border-radius: 50%;
}

.pc-feature {
	padding: var(--pc-space-md);
	text-align: left;
}

.pc-feature__icon {
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	margin-bottom: var(--pc-space-sm);
	color: var(--pc-ink);
	background: var(--pc-pink-100);
	border: var(--pc-line);
	border-radius: var(--pc-radius-blob);
}

/* Every other feature card gets a sky icon so the grid reads two-tone. */
.pc-feature:nth-child(even) .pc-feature__icon { background: var(--pc-sky-100); }

.pc-feature__icon svg { width: 1.75rem; height: 1.75rem; }
.pc-feature h3 { margin-bottom: var(--pc-space-2xs); }
.pc-feature p { margin-bottom: 0; color: var(--pc-ink-70); }

.pc-cta {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: var(--pc-space-xl) var(--pc-space-md);
	background: var(--pc-pink);
	color: var(--pc-white);
	border: var(--pc-line);
	border-radius: var(--pc-radius-lg);
	box-shadow: var(--pc-shadow-lg);
}

.pc-cta h2 { color: var(--pc-white); }
.pc-cta p { font-size: var(--pc-step-1); max-width: 34rem; margin-inline: auto; }
.pc-cta .pc-button { background: var(--pc-white); color: var(--pc-ink); }
.pc-cta .pc-button:hover { background: var(--pc-ink); color: var(--pc-white); }

/* 10. Cards, posts & archives
 * ------------------------------------------------------------ */

.page-header {
	margin-bottom: var(--pc-space-xl);
	text-align: center;
}

.page-header .archive-description { color: var(--pc-ink-70); }

.pc-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	height: 100%;
}

.pc-card__thumb {
	display: block;
	border-bottom: var(--pc-line);
	background: var(--pc-pink-100);
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.pc-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--pc-ease);
}

.pc-card:hover .pc-card__thumb img { transform: scale(1.05); }

.pc-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: var(--pc-space-md);
}

.pc-card__title {
	font-size: var(--pc-step-1);
	margin-bottom: var(--pc-space-2xs);
}

.pc-card__title a { color: var(--pc-ink); text-decoration: none; }
.pc-card__title a:hover { color: var(--pc-pink-dark); }
.pc-card__excerpt { color: var(--pc-ink-70); margin-bottom: var(--pc-space-sm); }
.pc-card__footer { margin-top: auto; }

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.9rem;
	font-size: var(--pc-step--1);
	color: var(--pc-ink-70);
	margin-bottom: var(--pc-space-sm);
}

.entry-meta a { color: inherit; }
.entry-meta a:hover { color: var(--pc-pink-dark); }

.entry-meta > span {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.entry-meta svg { width: 1em; height: 1em; color: var(--pc-pink); }

.pc-tag,
.tags-links a,
.cat-links a {
	display: inline-block;
	font-size: var(--pc-step--1);
	font-weight: 600;
	text-decoration: none;
	color: var(--pc-ink);
	background: var(--pc-pink-100);
	border: var(--pc-line-thin);
	border-radius: var(--pc-radius-pill);
	padding: 0.15em 0.7em;
	margin: 0 0.25rem 0.35rem 0;
	transition: all 0.15s var(--pc-ease-bounce);
}

.pc-tag:hover,
.tags-links a:hover,
.cat-links a:hover {
	background: var(--pc-pink);
	color: var(--pc-white);
	transform: rotate(-2deg);
}

/* Single post */
.pc-entry {
	background: var(--pc-surface);
	border: var(--pc-line);
	border-radius: var(--pc-radius-lg);
	box-shadow: var(--pc-shadow);
	--pc-entry-pad: clamp(1.5rem, 4vw, 3.5rem);
	padding: var(--pc-entry-pad);
}

.pc-entry .entry-title { font-size: var(--pc-step-4); }

.entry-content > * { max-width: var(--pc-content-width); margin-inline: auto; }

.pc-entry .post-thumbnail img {
	width: 100%;
	border: var(--pc-line);
	border-radius: var(--pc-radius);
	margin-bottom: var(--pc-space-lg);
}

.entry-footer {
	margin-top: var(--pc-space-lg);
	padding-top: var(--pc-space-md);
	border-top: var(--pc-line-thin);
	font-size: var(--pc-step--1);
}

/* Pagination */
.pagination,
.woocommerce-pagination {
	margin-top: var(--pc-space-xl);
	display: flex;
	justify-content: center;
}

.pagination .nav-links,
.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.pagination .page-numbers,
.woocommerce-pagination .page-numbers li .page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 0.75rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--pc-ink);
	background: var(--pc-white);
	border: var(--pc-line);
	border-radius: var(--pc-radius-pill);
	box-shadow: var(--pc-shadow-sm);
	transition: all 0.15s var(--pc-ease-bounce);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current,
.woocommerce-pagination .page-numbers li .page-numbers:hover,
.woocommerce-pagination .page-numbers li .page-numbers.current {
	background: var(--pc-pink);
	color: var(--pc-white);
	transform: translate(-2px, -2px);
	box-shadow: var(--pc-shadow);
}

.post-navigation {
	margin-top: var(--pc-space-xl);
	display: grid;
	gap: var(--pc-space-md);
	grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
}

.post-navigation a {
	display: block;
	padding: var(--pc-space-md);
	text-decoration: none;
	color: var(--pc-ink);
	background: var(--pc-white);
	border: var(--pc-line);
	border-radius: var(--pc-radius);
	box-shadow: var(--pc-shadow-sm);
	transition: transform 0.2s var(--pc-ease-bounce), box-shadow 0.2s var(--pc-ease-bounce);
}

.post-navigation a:hover {
	transform: translate(-3px, -3px);
	box-shadow: var(--pc-shadow);
}

.post-navigation .nav-subtitle {
	display: block;
	font-size: var(--pc-step--1);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--pc-pink-dark);
	margin-bottom: 0.25rem;
}

.post-navigation .nav-title { font-family: var(--pc-font-display); font-size: var(--pc-step-1); }
.post-navigation .nav-next { text-align: right; }

/* No results / 404 */
.pc-empty {
	text-align: center;
	max-width: 34rem;
	margin-inline: auto;
	padding: var(--pc-space-xl) var(--pc-space-md);
}

.pc-empty > svg { width: clamp(9rem, 25vw, 14rem); height: auto; color: var(--pc-pink); margin-bottom: var(--pc-space-md); }
.pc-empty .pc-search-form { margin-top: var(--pc-space-md); }

.error-404 .pc-404-code {
	font-family: var(--pc-font-display);
	font-size: clamp(5rem, 18vw, 11rem);
	font-weight: 900;
	line-height: 0.9;
	color: var(--pc-pink);
	-webkit-text-stroke: 3px var(--pc-ink);
	margin: 0;
}

/* 11. Comments
 * ------------------------------------------------------------ */

.comments-area {
	margin-top: var(--pc-space-xl);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: var(--pc-surface);
	border: var(--pc-line);
	border-radius: var(--pc-radius-lg);
	box-shadow: var(--pc-shadow-sm);
}

.comment-list {
	list-style: none;
	margin: 0 0 var(--pc-space-lg);
	padding: 0;
}

.comment-list ol.children {
	list-style: none;
	margin: var(--pc-space-sm) 0 0;
	padding-left: clamp(1rem, 4vw, 2.5rem);
	border-left: var(--pc-line-thin);
}

.comment-body {
	position: relative;
	padding: var(--pc-space-md);
	margin-bottom: var(--pc-space-sm);
	background: var(--pc-pink-50);
	border: var(--pc-line-thin);
	border-radius: var(--pc-radius);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
}

.comment-author img {
	border: var(--pc-line-thin);
	border-radius: 50%;
}

.comment-metadata {
	font-size: var(--pc-step--1);
	color: var(--pc-ink-70);
	margin-bottom: var(--pc-space-xs);
}

.comment-metadata a { color: inherit; }

.bypostauthor > .comment-body { background: var(--pc-pink-100); border-color: var(--pc-pink-dark); }

.reply a {
	display: inline-block;
	font-size: var(--pc-step--1);
	font-weight: 700;
	text-decoration: none;
	color: var(--pc-ink);
	background: var(--pc-white);
	border: var(--pc-line-thin);
	border-radius: var(--pc-radius-pill);
	padding: 0.2em 0.8em;
}

.reply a:hover { background: var(--pc-pink); color: var(--pc-white); }

.comment-form p { margin-bottom: var(--pc-space-sm); }
.comment-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 0.5rem; }
.comment-form .comment-form-cookies-consent input { width: auto; }
.comment-form .comment-form-cookies-consent label { margin-bottom: 0; font-weight: 400; }
.comment-reply-title { font-size: var(--pc-step-2); }
.comment-notes, .form-submit { margin-bottom: 0; }

/* 12. Sidebar & widgets
 * ------------------------------------------------------------ */

.widget-area { display: grid; gap: var(--pc-space-md); }

.widget {
	padding: var(--pc-space-md);
	background: var(--pc-surface);
	border: var(--pc-line);
	border-radius: var(--pc-radius);
	box-shadow: var(--pc-shadow-sm);
}

.widget:nth-child(even) { background: var(--pc-pink-50); }
.widget:nth-child(3n) { background: var(--pc-sky-50); }

.widget-title,
.widget .wp-block-heading {
	font-size: var(--pc-step-1);
	margin-bottom: var(--pc-space-sm);
	padding-bottom: var(--pc-space-2xs);
	border-bottom: var(--pc-line-thin);
}

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

.widget li + li {
	margin-top: 0.4rem;
	padding-top: 0.4rem;
	border-top: 1px dashed var(--pc-pink-200);
}

.widget a { color: var(--pc-ink); text-decoration: none; font-weight: 600; }
.widget a:hover { color: var(--pc-pink-dark); text-decoration: underline; }
.widget :last-child { margin-bottom: 0; }

/* 13. Footer
 * ------------------------------------------------------------ */

.site-footer {
	position: relative;
	background: var(--pc-ink);
	color: var(--pc-white);
	border-top: var(--pc-line);
	padding-block: var(--pc-space-2xl) var(--pc-space-lg);
}

.site-footer a { color: var(--pc-pink-200); }
.site-footer a:hover { color: var(--pc-white); }

.site-footer .widget {
	background: none;
	border: 0;
	box-shadow: none;
	padding: 0;
	color: inherit;
}

.site-footer .widget-title { color: var(--pc-white); border-bottom-color: var(--pc-pink); }
.site-footer .widget a { color: var(--pc-pink-200); font-weight: 500; }
.site-footer .widget a:hover { color: var(--pc-white); }
.site-footer .widget li + li { border-top-color: rgba(255, 255, 255, 0.12); }

.site-footer__grid {
	display: grid;
	gap: var(--pc-space-lg);
	grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
	margin-bottom: var(--pc-space-lg);
}

.site-footer__brand .site-title { color: var(--pc-white); }

/* The footer wordmark is static: no hover recolouring. */
.site-footer__brand .site-title a,
.site-footer__brand .site-title a:hover { color: var(--pc-white); }
.site-footer__brand .site-title__get { color: var(--pc-pink-200); }
.site-footer__brand .site-title a:hover .site-title__mark { color: var(--pc-pink); }
.site-footer__brand .site-title a:hover .site-title__mark--sky { color: var(--pc-sky-darker); }
.site-footer__tagline { color: var(--pc-sky-200); max-width: 22rem; }

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--pc-space-sm);
	padding-top: var(--pc-space-md);
	border-top: 2px solid rgba(255, 255, 255, 0.18);
	font-size: var(--pc-step--1);
}

.footer-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-navigation a { text-decoration: none; }

/* 14. Blocks & alignment
 * ------------------------------------------------------------ */

.entry-content > .alignwide {
	max-width: var(--pc-wide-width);
	width: 100%;
}

.entry-content > .alignfull {
	max-width: none;
	width: auto;
	margin-inline: calc(50% - 50vw);
}

/*
 * Full Width template: no card and no container, so blocks span the wide
 * width (matching the header) with just a gutter, instead of the reading
 * width. alignfull pulls back through the gutter to reach the viewport edge.
 */
.site-main--full .entry-content { padding-inline: var(--pc-gutter); }

.site-main--full .entry-content > * { max-width: var(--pc-wide-width); }

.site-main--full .entry-content > .alignfull {
	max-width: none;
	margin-inline: calc(-1 * var(--pc-gutter));
}

.alignleft {
	float: left;
	margin: 0 var(--pc-space-md) var(--pc-space-sm) 0;
}

.alignright {
	float: right;
	margin: 0 0 var(--pc-space-sm) var(--pc-space-md);
}

.aligncenter { margin-inline: auto; }

.wp-block-image img,
.wp-block-video video,
.wp-block-embed iframe {
	border: var(--pc-line);
	border-radius: var(--pc-radius);
}

.wp-block-image figcaption,
.wp-caption-text,
figcaption {
	font-size: var(--pc-step--1);
	color: var(--pc-ink-70);
	text-align: center;
	margin-top: var(--pc-space-xs);
}

.wp-block-pullquote,
.wp-block-quote.is-style-large {
	border: var(--pc-line);
	border-radius: var(--pc-radius-lg);
	background: var(--pc-pink-100);
	box-shadow: var(--pc-shadow);
	padding: var(--pc-space-lg);
}

.wp-block-separator {
	border-top: var(--pc-line);
	max-width: 8rem;
	margin-inline: auto;
}

.wp-block-separator.is-style-wide { max-width: 100%; }

.wp-block-table table { box-shadow: var(--pc-shadow-sm); }

.wp-block-group.has-background,
.wp-block-cover {
	border-radius: var(--pc-radius);
}

.sticky .pc-card,
.sticky.pc-entry {
	border-color: var(--pc-pink);
	box-shadow: var(--pc-shadow-pink);
}

/* WordPress required core classes */
.bypostauthor,
.gallery-caption { display: block; }

.wp-block-image.is-style-pc-sticker img {
	box-shadow: var(--pc-shadow);
	transform: rotate(-2deg);
}

.wp-block-search__button {
	background: var(--pc-pink);
	color: var(--pc-white);
	border: var(--pc-line);
	border-radius: var(--pc-radius-pill);
	box-shadow: var(--pc-shadow-sm);
	padding: 0.7em 1.3em;
	font-weight: 700;
}

.wp-block-search__button:hover { background: var(--pc-pink-dark); color: var(--pc-white); }

.wp-block-search__input {
	border: var(--pc-line);
	border-radius: var(--pc-radius-sm);
	padding: 0.7em 0.9em;
}

.wp-block-search .wp-block-search__inside-wrapper { gap: var(--pc-space-xs); }

/* 15. Accessibility helpers
 * ------------------------------------------------------------ */

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

.screen-reader-text:focus {
	background-color: var(--pc-white);
	clip-path: none;
	color: var(--pc-ink);
	display: block;
	font-size: 1rem;
	font-weight: 700;
	height: auto;
	left: 1rem;
	line-height: normal;
	padding: 1rem 1.5rem;
	text-decoration: none;
	top: 1rem;
	width: auto;
	z-index: 100000;
	border: var(--pc-line);
	border-radius: var(--pc-radius-pill);
	box-shadow: var(--pc-shadow-sm);
}

.skip-link:focus { outline-offset: 0; }

/* 16. Motion
 * ------------------------------------------------------------ */

.pc-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s var(--pc-ease), transform 0.6s var(--pc-ease-bounce);
}

.pc-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Respect the user's motion preference — no floating, no reveals, no bounce. */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

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

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

/* 17. Print
 * ------------------------------------------------------------ */

@media print {
	body::before,
	.site-header,
	.site-footer,
	.widget-area,
	.comments-area,
	.post-navigation { display: none !important; }

	.pc-entry {
		border: 0;
		box-shadow: none;
		--pc-entry-pad: 0px;
		padding: 0;
	}
}

.wp-block-group.is-style-pc-sticker {
	background: var(--pc-surface);
	border: var(--pc-line);
	border-radius: var(--pc-radius);
	box-shadow: var(--pc-shadow);
	padding: var(--pc-space-md);
}

.wp-block-group.is-style-pc-sticker-sky {
	background: var(--pc-sky-100);
	border: var(--pc-line);
	border-radius: var(--pc-radius);
	box-shadow: var(--pc-shadow);
	padding: var(--pc-space-md);
}
