/*
Theme Name: Whop Field Guide
Description: A custom block theme scaffolded by Studio Code.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.4.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: whop-field-guide
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, accessibility-ready, style-variations
*/

/* WordPress inserts a margin-block-start equal to the block gap (24px unless
   theme.json sets styles.spacing.blockGap) between the template's top-level
   sections (header part, main, footer part) — a gap that exists even when no
   markup asks for it. Zero it so sections butt edge-to-edge and own their
   vertical rhythm via padding; this does not affect block gaps inside nested
   layouts. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* With that gap gone, main carries its own vertical padding so templates this
   theme does not author (WooCommerce shop, product, cart…) still clear the
   header and footer. A descendant selector, not a child one: WooCommerce wraps
   the single-product main in an extra group. Templates built from full-bleed
   sections opt out with is-flush and let the sections own the rhythm. */
.wp-site-blocks main {
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70);
}
.wp-site-blocks main.is-flush {
	padding-block: 0;
}

:root {
	--guide-width: 72rem;
	--guide-gutter: clamp(1.25rem, 5vw, 3rem);
	--guide-ink: var(--wp--preset--color--text);
	--guide-paper: var(--wp--preset--color--background);
	--guide-dark: var(--wp--preset--color--primary);
	--guide-rust: var(--wp--preset--color--accent);
	--guide-rule: var(--wp--preset--color--line);
	--guide-tint: var(--wp--preset--color--panel);
}

body { margin: 0; }
a { text-underline-offset: .19em; }
a:hover { text-decoration-thickness: 2px; }
:where(a, summary):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
:where(h2[id], section[id], div[id]) { scroll-margin-top: 1.25rem; }
.masthead { border-bottom: 1px solid var(--guide-rule); }
.masthead-inner, .footer-inner {
	width: min(var(--guide-width), calc(100% - 2 * var(--guide-gutter)));
	margin-inline: auto;
}
.masthead-inner {
	min-height: 4.3rem;
	display: flex;
	gap: 1rem 2rem;
	justify-content: space-between;
	align-items: center;
}
.wordmark { margin: 0; font-weight: 750; letter-spacing: -.025em; font-size: 1.35rem; line-height: 1.15; }
.wordmark a { color: inherit; text-decoration: none; }
.guide-nav { margin: 0; font-size: .92rem; font-weight: 650; }
.guide-nav ul { gap: .75rem clamp(.9rem, 2.2vw, 2rem); }
.guide-nav a:hover, .wordmark a:hover { color: var(--guide-rust); text-decoration: underline; }

.home-lead, .guide-index, .home-note, .article-lead, .article-grid { box-sizing: border-box; }
.home-lead {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: clamp(1.5rem, 5vw, 6rem);
	align-items: stretch;
	padding-block: clamp(2.75rem, 7vw, 6.5rem);
}
.home-lead-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.section-label {
	font-size: .76rem;
	letter-spacing: .13em;
	font-weight: 750;
	text-transform: uppercase;
	color: var(--guide-rust);
	margin: 0;
}
.home-title, .article-title {
	font-size: clamp(3.6rem, 8.4vw, 8rem);
	line-height: .91;
	letter-spacing: -.037em;
	word-spacing: .025em;
	margin: .22em 0 0;
	text-wrap: balance;
}
.home-title { max-width: 9ch; text-wrap: wrap; }
.home-deck, .article-deck { font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.45; max-width: 39ch; margin: 1.3rem 0 0; }
.home-lead-copy .wp-block-buttons { margin: 1.75rem 0 0; }
.home-lead-copy .wp-element-button { font-size: .98rem; font-weight: 700; line-height: 1.1; }
.home-lead-copy .wp-element-button:hover { background: var(--guide-rust); color: white; }
.home-disclosure { font-size: .86rem; color: #47584a; max-width: 39ch; margin: 1.15rem 0 0; }

.flow-panel {
	background: var(--guide-dark);
	color: var(--guide-paper);
	padding: clamp(1.5rem, 3.8vw, 3rem);
	margin: 0;
	align-content: center;
}
.flow-title { color: inherit; font-size: clamp(1.8rem, 3.1vw, 2.75rem); letter-spacing: -.026em; line-height: 1.04; margin: 0 0 1.1rem; }
.flow-steps { margin: 0; }
.flow-step {
	margin: 0;
	border-top: 1px solid #889988;
	display: grid;
	grid-template-columns: 2.25rem minmax(0, 1fr);
	column-gap: .55rem;
	padding: .85rem 0;
}
.flow-step:last-child { border-bottom: 1px solid #889988; }
.flow-step > * { margin: 0; }
.flow-step h3 { color: inherit; font-size: 1.25rem; line-height: 1.15; letter-spacing: -.025em; }
.flow-step p:last-child { grid-column: 2; color: #e1e9dc; font-size: .9rem; line-height: 1.34; margin: .23rem 0 0; }
.flow-count { color: #ffbb9e; font-weight: 700; font-size: .77rem; letter-spacing: .09em; }

.guide-index { border-top: 1px solid var(--guide-ink); padding-block: 1.4rem 2.4rem; }
.index-heading h2, .home-note h2 { font-size: clamp(1.85rem, 3.3vw, 3rem); margin: 0; line-height: 1.06; }
.index-heading p { margin: .4rem 0 0; }
.index-entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--guide-rule); margin-block-start: 1.5rem; }
.index-entry { padding: 1.2rem clamp(.85rem, 2.6vw, 1.8rem) 1.1rem; margin: 0; display: flex; flex-direction: column; }
.index-entry:first-child { padding-inline-start: 0; }
.index-entry + .index-entry { border-inline-start: 1px solid var(--guide-rule); }
.index-entry h3 { font-size: clamp(1.25rem, 2.2vw, 1.85rem); line-height: 1.08; margin: 0; }
.index-entry h3 a { text-decoration: none; }
.index-entry h3 a:hover { text-decoration: underline; }
.index-entry p { margin: .65rem 0 .8rem; }
.index-entry .index-link { margin-block: auto 0; font-weight: 700; }
.index-link a { color: var(--guide-rust); }
.home-note {
	display: grid;
	grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr);
	gap: 1rem 2rem;
	padding: clamp(1.4rem, 4vw, 2.7rem);
	background: var(--guide-tint);
	margin-block: 0;
}
.home .wp-block-post-content { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.home-note p { margin: 0; max-width: 64ch; }

.article-lead { border-bottom: 1px solid var(--guide-ink); padding-block: clamp(2.25rem, 6vw, 5.25rem) clamp(1.75rem, 5vw, 3rem); }
.article-title { font-size: clamp(3rem, 7.2vw, 6.65rem); max-width: 16ch; }
.article-deck { max-width: 54ch; }
.article-grid {
	display: grid;
	grid-template-columns: minmax(10rem, .35fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 5vw, 5rem);
	margin-block: 0;
	padding-block: 1.8rem clamp(3rem, 7vw, 6rem);
}
.article-toc { padding: 1.1rem 1.2rem; background: var(--guide-tint); align-self: start; margin: 0; }
.article-toc h2 { font-size: 1rem; margin: 0; line-height: 1.2; letter-spacing: 0; }
.article-toc ul { padding-inline-start: 1.05rem; margin: .6rem 0 0; font-size: .94rem; }
.article-toc li + li { margin-top: .4rem; }
.article-content { max-width: 45rem; margin: 0; }
.article-section { margin: 0; padding-block: 1.6rem; border-bottom: 1px solid var(--guide-rule); }
.article-section:first-child { padding-top: 0; }
.article-section > :last-child { margin-bottom: 0; }
.article-section h2 { margin: 0; font-size: clamp(1.7rem, 3.8vw, 2.75rem); letter-spacing: -.026em; line-height: 1.06; }
.article-section p, .article-section ul, .article-section ol { margin: .85rem 0; }
.article-section ul, .article-section ol { padding-inline-start: 1.4rem; }
.article-section li + li { margin-top: .5rem; }
.article-section .wp-block-details { border: 1px solid var(--guide-rule); padding: .75rem 1rem; margin-top: .75rem; }
.article-section summary { cursor: pointer; font-weight: 700; }
.article-section .wp-block-details p { margin-bottom: .1rem; }
.article-next { margin-block: 1.35rem 0; font-weight: 700; }
.article-next p { margin: 0; }
.article-next a { color: var(--guide-rust); }

.footer-band { background: var(--guide-dark); color: var(--guide-paper); padding-block: 2rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem 2rem; }
.footer-inner a, .footer-inner a:hover, .footer-inner a:focus { color: inherit; }
.footer-inner p { margin: 0; }
.footer-copy { max-width: 43ch; font-size: .94rem; }
.footer-name { font-size: 1.22rem; font-weight: 750; }
.footer-name a { text-decoration: none; }
.footer-links { margin: 0; font-size: .94rem; }

@media (max-width: 720px) {
	.masthead-inner { align-items: flex-start; flex-direction: column; gap: .6rem; padding-block: .85rem; }
	.guide-nav { font-size: .82rem; }
	.guide-nav ul { gap: .4rem .85rem; }
	.home-lead, .home-note, .article-grid { grid-template-columns: minmax(0, 1fr); }
	.home-title { font-size: clamp(3.3rem, 13vw, 5.5rem); }
	.index-entries { grid-template-columns: minmax(0, 1fr); }
	.index-entry, .index-entry:first-child { padding: 1rem 0; }
	.index-entry + .index-entry { border-inline-start: 0; border-top: 1px solid var(--guide-rule); }
	.footer-inner { flex-direction: column; }
}

/* Offset-print artwork and chapter numbering share the editorial grid. */
.wordmark a { display: inline-flex; align-items: center; gap: .55rem; }
.wordmark a::before {
	content: ""; width: 1.6rem; height: 1.6rem; flex: none;
	background: url("assets/images/field-guide-mark.png?v=2") center / contain no-repeat;
}
.home-lead {
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: clamp(1.4rem, 4.6vw, 5rem);
	padding-block: clamp(2.6rem, 6vw, 5.25rem);
}
.home-title { font-size: clamp(3.65rem, 8.6vw, 8.25rem); }
.hero-art {
	align-self: stretch; overflow: hidden; margin: 0;
	background: var(--guide-dark); min-width: 0;
}
.hero-art img { display: block; width: 100%; height: 100%; min-height: 25rem; object-fit: cover; }
.flow-panel {
	display: grid; align-items: start; grid-template-columns: minmax(10rem, .65fr) minmax(0, 1.85fr);
	gap: 1rem 1.75rem; padding: 1.45rem clamp(1.1rem, 3vw, 2.2rem);
	background: var(--guide-dark); margin-block-end: clamp(2rem, 5vw, 4rem);
}
.flow-panel .flow-title { font-size: clamp(1.45rem, 2.5vw, 2.15rem); margin: 0; max-width: 10ch; }
.flow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.flow-step { grid-template-columns: 1.55rem minmax(0, 1fr); padding: .55rem 0 0; }
.flow-step:last-child { border-bottom: 0; }
.flow-step h3 { font-size: 1.05rem; }
.flow-step p:last-child { grid-column: 1 / -1; }
.guide-index { margin-block-start: clamp(2rem, 5vw, 4rem); }
.index-entries { border-top: 0; gap: 1px; background: var(--guide-rule); border-block: 1px solid var(--guide-rule); }
.index-entry, .index-entry:first-child, .index-entry + .index-entry {
	padding: clamp(.7rem, 1.6vw, 1.05rem); border: 0; background: var(--guide-paper);
}
.index-entry h3 { display: flex; align-items: flex-start; gap: .45rem; }
.index-entry h3::before {
	content: ""; width: 1.6rem; height: 1.6rem; flex: none;
	background: var(--guide-rust); mask: var(--chapter-icon) center / contain no-repeat;
}
.chapter-buyers { --chapter-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22square%22%20stroke-linejoin%3D%22miter%22%3E%3Ccircle%20cx%3D%2213%22%20cy%3D%2213%22%20r%3D%227%22%2F%3E%3Cpath%20d%3D%22m18.5%2018.5%208%208M13%2010v6m-3-3h6%22%2F%3E%3C%2Fsvg%3E"); }
.chapter-sellers { --chapter-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22square%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M4%2011l12-6%2012%206v11l-12%206-12-6zM4%2011l12%206%2012-6M16%2017v11M10%208l12%206%22%2F%3E%3C%2Fsvg%3E"); }
.chapter-checklist { --chapter-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22square%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M8%205h16v23H8zM12%2012l2%202%204-4M12%2021l2%202%204-4%22%2F%3E%3C%2Fsvg%3E"); }
.index-art { margin: 0 0 .9rem; overflow: hidden; background: var(--guide-tint); }
.index-art img, .chapter-art img {
	display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
}
.index-art img { transition: transform .25s ease; }
.index-entry:where(:hover, :focus-within) .index-art img { transform: scale(1.035); }
.index-entry p { margin-inline-start: 2rem; }
.index-entry .index-link { font-size: .9rem; }

.article-sidebar { margin: 0; min-width: 0; align-self: start; }
.article-toc { border-top: 3px solid var(--guide-rust); }
.article-toc a[aria-current="location"] { color: var(--guide-rust); font-weight: 750; }
.chapter-art { margin: .9rem 0 0; overflow: hidden; background: var(--guide-tint); }
.reading-progress {
	--reading-progress: 0;
	position: fixed; z-index: 20; inset: 0 0 auto; height: 3px; pointer-events: none;
	transform: scaleX(var(--reading-progress)); transform-origin: left;
	background: var(--guide-rust);
}
.checklist-dock { padding: 1.1rem 1.25rem; background: var(--guide-dark); color: var(--guide-paper); margin: 0 0 1.6rem; }
.checklist-dock:not(:has(.checklist-controls)) { display: none; }
.checklist-controls { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: center; }
.checklist-status { margin: 0; font-weight: 720; }
.checklist-controls progress { width: 100%; height: .7rem; grid-column: 1; accent-color: #f0a080; }
.checklist-controls button {
	grid-row: 1 / span 2; grid-column: 2; border: 1px solid currentColor; padding: .45rem .7rem;
	font: inherit; font-size: .9rem; color: var(--guide-paper); background: transparent; cursor: pointer;
}
.checklist-controls button:disabled { opacity: .55; cursor: default; }
.checklist-controls button:not(:disabled):hover { background: var(--guide-paper); color: var(--guide-dark); }
.checklist-controls button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.checklist-item-group .wp-block-list:has(.checklist-task) { padding-inline-start: 0; }
.checklist-task {
	display: grid; grid-template-columns: 1.35rem minmax(0, 1fr);
	align-items: start; gap: 0 .65rem; border-top: 1px solid var(--guide-rule); padding: .62rem .3rem;
}
.checklist-task:last-child { border-bottom: 1px solid var(--guide-rule); }
.checklist-task + .checklist-task { margin-top: 0; }
.checklist-task input { margin: .22rem 0 0; width: 1.1rem; height: 1.1rem; accent-color: var(--guide-dark); }
.checklist-task label { cursor: pointer; }
.checklist-task:has(input:checked) { background: var(--guide-tint); }
.checklist-reference { grid-column: 2; font-size: .87rem; }
@media (max-width: 720px) {
	.home-lead, .flow-panel { grid-template-columns: minmax(0, 1fr); }
	.home-title { font-size: clamp(3.3rem, 13vw, 5.5rem); }
	.hero-art img { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
	.flow-panel .flow-title { max-width: none; }
	.index-entries { border-block: 0; }
	.index-entry, .index-entry:first-child, .index-entry + .index-entry { padding: 1rem 0; }
	.chapter-art img { max-height: 12rem; }
}
@media (max-width: 560px) {
	.flow-step { grid-template-columns: minmax(0, 1fr); row-gap: .2rem; }
}
@media (prefers-reduced-motion: reduce) {
	.index-art img { transition: none; transform: none !important; }
}

.footer-inner { align-items: flex-start; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(7.5rem, auto)); gap: 1rem clamp(1rem, 4vw, 3rem); }
.footer-links > .footer-column { margin: 0; }
.footer-column h2 { color: inherit; font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; margin: .1rem 0 .65rem; }
.footer-column p + p { margin-block-start: .22rem; }
.cookie-settings {
	padding: 0; margin-top: .25rem; border: 0; background: none;
	font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .19em; cursor: pointer;
}
.cookie-settings:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.cookie-notice {
	position: fixed; z-index: 30; inset: auto auto 1rem 1rem;
	max-width: min(31rem, calc(100vw - 2rem)); box-sizing: border-box;
	padding: 1rem 1.2rem; color: var(--guide-ink); background: var(--guide-paper);
	border: 1px solid var(--guide-dark); border-top: 4px solid var(--guide-rust);
	box-shadow: 0 .4rem 1.65rem #1a271e33;
}
.admin-bar .cookie-notice { z-index: 9999; }
.cookie-notice h2 { font-size: 1.33rem; line-height: 1.16; margin: 0; }
.cookie-notice p { font-size: .91rem; line-height: 1.4; margin: .5rem 0 .8rem; }
.cookie-notice-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.cookie-notice-actions button {
	font: inherit; font-size: .85rem; line-height: 1.2; font-weight: 700; cursor: pointer;
	min-height: 2.75rem; color: var(--guide-dark); background: var(--guide-paper);
	border: 1px solid var(--guide-dark); padding: .4rem .55rem;
}
.cookie-notice-actions button:hover { color: var(--guide-paper); background: var(--guide-dark); }
.cookie-notice-actions button:focus-visible, .cookie-notice a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.article-section .support-template { background: var(--guide-tint); border-inline-start: 3px solid var(--guide-rust); padding: .85rem 1.1rem; }
.support-template p:first-child { margin-block-start: 0; }
.support-template p:last-child { margin-block-end: 0; }
.article-section code { overflow-wrap: anywhere; }
@media (max-width: 720px) {
	.footer-links { gap: 1rem 1.5rem; }
}

.troubleshooting-banner {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem;
	padding: clamp(1.1rem, 4vw, 2.3rem);
	border-top: 3px solid var(--guide-rust); background: #f2e4d9;
}
.troubleshooting-banner h2 { font-size: clamp(1.45rem, 3vw, 2.2rem); line-height: 1.08; margin: .4rem 0; }
.troubleshooting-banner p:last-child { margin: 0; }
.troubleshooting-banner .wp-block-buttons { flex: none; margin: 0; }
.troubleshooting-banner .wp-element-button { font-size: .94rem; line-height: 1.25; }
@media (max-width: 720px) {
	.troubleshooting-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 430px) {
	.guide-nav ul { column-gap: .48rem; }
}

.footer-inner .footer-address { font-style: normal; margin-block-start: 1rem; }
.footer-inner .footer-address p + p { margin-block-start: .5rem; }
.offer-worksheet:not(:has(.offer-comparison)) { display: none; }
.offer-comparison {
	background: var(--guide-tint); padding: clamp(1rem, 3vw, 1.5rem);
	border-top: 3px solid var(--guide-rust);
}
.offer-comparison .offer-comparison-note { margin: 0 0 1rem; }
.offer-comparison-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.offer-comparison fieldset {
	min-width: 0; padding: .65rem .8rem .8rem; margin: 0;
	border: 1px solid var(--guide-rule); background: var(--guide-paper);
}
.offer-comparison legend { font-weight: 750; padding-inline: .3rem; }
.offer-comparison label { display: block; font-size: .9rem; font-weight: 650; }
.offer-comparison label + label { margin-block-start: .55rem; }
.offer-comparison input {
	display: block; margin-block-start: .12rem; width: 100%; box-sizing: border-box;
	padding: .35rem .5rem; border: 1px solid var(--guide-dark); border-radius: 0;
	background: var(--guide-paper); color: var(--guide-ink); font: inherit; font-size: 1rem;
}
.offer-comparison input:focus-visible { outline: 2px solid var(--guide-rust); outline-offset: 2px; }
.offer-comparison .wp-element-button {
	margin-block-start: .9rem; cursor: pointer; border: 0; font: inherit; font-size: .91rem; font-weight: 700;
}
.offer-comparison .offer-comparison-result { font-weight: 700; margin: .7rem 0 0; }
.offer-comparison .offer-comparison-result:empty { margin: 0; }
@media (max-width: 520px) {
	.offer-comparison-columns { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
}

/* Motion follows the movement of a page through a printing press. */
.buyer-walkthrough {
	background: var(--guide-tint); padding: clamp(1rem, 3vw, 1.5rem);
	border-top: 3px solid var(--guide-rust); overflow: hidden;
}
.buyer-walkthrough .walkthrough-step { position: relative; padding-block: .95rem; border-top: 1px solid var(--guide-rule); }
.buyer-walkthrough .walkthrough-step:first-child { border: 0; padding-top: 0; }
.buyer-walkthrough .walkthrough-step:last-child { padding-bottom: 0; }
.walkthrough-step h3 { font-size: clamp(1.2rem, 3vw, 1.55rem); line-height: 1.2; margin: 0; }
.walkthrough-step p:last-child { margin-bottom: 0; }
.walkthrough-evidence {
	display: flex; flex-direction: column; max-width: 33rem;
	margin-block: .85rem; border: 1px solid var(--guide-rule);
	background: var(--guide-paper);
}
.walkthrough-evidence img { display: block; width: 100%; height: auto; }
.walkthrough-evidence .wp-element-caption { order: -1; color: var(--guide-ink); padding: .5rem .75rem; margin: 0; border-bottom: 1px solid var(--guide-rule); }
@media (prefers-reduced-motion: no-preference) {
	.field-guide-motion { --guide-motion-ease: cubic-bezier(.2,.65,.25,1); }
	.field-guide-motion .home-lead-copy > :where(.section-label, .home-title, .home-deck, .wp-block-buttons) {
		animation: guide-rise .58s var(--guide-motion-ease) backwards;
	}
	.field-guide-motion .home-title { animation-delay: .07s; }
	.field-guide-motion .home-deck { animation-delay: .13s; }
	.field-guide-motion .home-lead-copy .wp-block-buttons { animation-delay: .19s; }
	.field-guide-motion .hero-art { animation: guide-print-reveal .78s var(--guide-motion-ease) .04s backwards; }
	.field-guide-motion .hero-art img { transition: transform .55s var(--guide-motion-ease); }
	.field-guide-motion .hero-art:hover img { transform: scale(1.035); }
	.field-guide-motion .has-entered-view :where(.flow-step, .index-entry, .walkthrough-step) {
		animation: guide-rise .55s var(--guide-motion-ease) backwards;
	}
	.field-guide-motion .has-entered-view :where(.flow-step, .index-entry, .walkthrough-step):nth-child(2) { animation-delay: .07s; }
	.field-guide-motion .has-entered-view :where(.flow-step, .index-entry, .walkthrough-step):nth-child(3) { animation-delay: .14s; }
	.field-guide-motion .troubleshooting-banner.has-entered-view { animation: guide-paper-slide .62s var(--guide-motion-ease); }
	.field-guide-motion .troubleshooting-banner .wp-element-button,
	.field-guide-motion .home-lead .wp-element-button { transition: background-color .2s ease, transform .2s ease; }
	.field-guide-motion :where(.troubleshooting-banner, .home-lead) .wp-element-button:is(:hover, :focus-visible) {
		transform: translateY(-3px);
	}
	.field-guide-motion .index-entry h3::before { transition: transform .25s var(--guide-motion-ease); }
	.field-guide-motion .index-entry:where(:hover, :focus-within) h3::before { transform: rotate(-10deg) translateY(-2px); }
}
@keyframes guide-rise {
	from { opacity: .2; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes guide-print-reveal {
	from { clip-path: inset(0 100% 0 0); opacity: .35; }
	to { clip-path: inset(0); opacity: 1; }
}
@keyframes guide-paper-slide {
	from { opacity: .35; transform: translateX(-12px); }
	to { opacity: 1; transform: translateX(0); }
}

