/*
Theme Name: Plans & Progress
Theme URI: https://plansandprogress.com
Author: Plans & Progress
Description: A black-and-white editorial magazine theme. A big opening photo, your 3 newest posts, a free-guide promo and one centered section per category, filled automatically from your posts. Includes one-click starter articles and a Privacy Policy page (Appearance > Plans & Progress setup).
Version: 1.7.3
Requires at least: 6.0
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: plans-progress
Tags: blog, news, three-columns, grid-layout, custom-menu, custom-logo, featured-images, editor-style
*/

/* ---------- Fonts (bundled, no external requests) ---------- */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/bodoni-moda-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/bodoni-moda-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 500; font-display: swap; src: url("assets/fonts/bodoni-moda-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/bodoni-moda-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 600; font-display: swap; src: url("assets/fonts/bodoni-moda-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/dm-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/dm-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--pp-ink: #111111;
	--pp-paper: #ffffff;
	--pp-muted: #555555;
	--pp-line: #e2e2e2;
	--pp-soft: #f3f3f3;
	--pp-serif: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
	--pp-sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
	--pp-wide: 1320px;
	--pp-text: 720px;
	--pp-gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--pp-paper); color: var(--pp-ink); font-family: var(--pp-sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pp-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pp-muted); }
:focus-visible { outline: 2px solid var(--pp-ink); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: var(--pp-ink); color: #fff; padding: 12px 18px; }
.pp-wrap { max-width: var(--pp-wide); margin: 0 auto; padding: 0 var(--pp-gutter); }
.pp-kicker { font-family: var(--pp-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.pp-serif { font-family: var(--pp-serif); }

/* ---------- Buttons ---------- */
.pp-btn, .wp-block-button__link, input[type="submit"], button.pp-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px;
	background: var(--pp-ink); color: #fff; border: 1px solid var(--pp-ink); border-radius: 0;
	font-family: var(--pp-sans); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.pp-btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover { background: #333; color: #fff; }
.pp-btn--ghost { background: transparent; color: var(--pp-ink); }
.pp-btn--ghost:hover { background: var(--pp-ink); color: #fff; }
.pp-btn--light { background: #fff; color: var(--pp-ink); border-color: #fff; }
.pp-btn--light:hover { background: #e9e9e9; color: var(--pp-ink); }

/* ---------- Header ---------- */
.pp-topbar { border-bottom: 1px solid var(--pp-ink); font-size: 12px; letter-spacing: 0.08em; }
.pp-topbar .pp-wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.pp-topbar a { text-decoration: none; }
.pp-topbar__social { display: flex; gap: 18px; }
.pp-masthead { text-align: center; padding: 48px 0 0; }
.pp-logo { font-family: var(--pp-serif); font-weight: 600; font-size: clamp(38px, 7vw, 86px); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; text-decoration: none; color: var(--pp-ink); }
.pp-logo em { font-weight: 500; text-transform: none; }
.pp-logo:hover { color: var(--pp-ink); }
.custom-logo-link { display: inline-block; }
.custom-logo { max-height: 110px; width: auto; margin: 0 auto; }
.pp-tagline { margin: 14px 0 0; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; }
.pp-nav { margin-top: 28px; border-top: 1px solid var(--pp-ink); border-bottom: 3px double var(--pp-ink); }
.pp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 8px 34px; flex-wrap: wrap; }
.pp-nav li { position: relative; }
.pp-nav a { display: inline-block; padding: 15px 0; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.pp-nav .current-menu-item > a, .pp-nav .current-cat > a { text-decoration: underline; }
.pp-nav ul ul { display: none; }
@media (max-width: 700px) {
	.pp-nav ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 26px; padding: 0 2px; scrollbar-width: none; }
	.pp-nav ul::-webkit-scrollbar { display: none; }
	.pp-nav a { white-space: nowrap; }
}

/* ---------- Section headings ---------- */
.pp-section { padding-top: clamp(56px, 8vw, 96px); }
.pp-section__head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 40px; }
.pp-section__head::after { content: ""; width: 56px; border-top: 1px solid var(--pp-ink); order: 1; }
.pp-section__head > :not(.pp-section__title) { order: 2; }
.pp-section__title { margin: 0; font-family: var(--pp-serif); font-weight: 600; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; text-wrap: balance; }
.pp-section__title a { text-decoration: none; }
.pp-section__more { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.pp-section__more:hover { text-decoration: underline; }

/* ---------- Square post grid ---------- */
.pp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
@media (max-width: 900px) { .pp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; } }
@media (max-width: 560px) { .pp-grid { grid-template-columns: minmax(0, 1fr); } }
.pp-card { display: flex; flex-direction: column; gap: 12px; }
.pp-card__img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--pp-soft); }
.pp-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pp-card__img:hover img { transform: scale(1.03); }
.pp-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-family: var(--pp-serif); font-style: italic; font-size: 26px; line-height: 1.15; color: var(--pp-ink); background: var(--pp-soft); }
.pp-card__cat { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pp-muted); text-decoration: none; }
.pp-card__cat:hover { color: var(--pp-ink); }
.pp-card__title { margin: 0; font-family: var(--pp-serif); font-weight: 600; font-size: clamp(21px, 2vw, 26px); line-height: 1.15; }
.pp-card__title a { text-decoration: none; }
.pp-card__title a:hover { text-decoration: underline; }
.pp-card__date { font-size: 13px; color: var(--pp-muted); }

/* ---------- Promo (free guide) ---------- */
.pp-promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; background: var(--pp-soft); }
.pp-promo__img { min-height: 420px; }
.pp-promo__img img { width: 100%; height: 100%; object-fit: cover; }
.pp-promo__body { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.pp-promo__title { margin: 0; font-family: var(--pp-serif); font-weight: 600; font-size: clamp(34px, 4vw, 54px); line-height: 1.02; }
.pp-promo__text { margin: 0; font-size: 17px; max-width: 460px; }
@media (max-width: 800px) { .pp-promo { grid-template-columns: minmax(0, 1fr); } .pp-promo__img { min-height: 0; aspect-ratio: 4 / 3; } }

/* ---------- Newsletter band ---------- */
.pp-signup { margin-top: clamp(56px, 8vw, 96px); background: var(--pp-ink); color: #fff; }
.pp-signup .pp-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; padding-top: 80px; padding-bottom: 80px; }
.pp-signup .pp-wrap > div { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 640px; }
.pp-signup__title { margin: 0; font-family: var(--pp-serif); font-weight: 600; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; }
.pp-signup p { margin: 0; color: #dcdcdc; }
.pp-signup a { color: #fff; }
.pp-signup input[type="email"], .pp-signup input[type="text"] { min-height: 50px; padding: 0 16px; border: 1px solid #fff; background: transparent; color: #fff; font: inherit; width: 100%; }
.pp-signup input[type="submit"], .pp-signup button { background: #fff; color: var(--pp-ink); border-color: #fff; }
.pp-signup .pp-btn--light, .pp-signup .pp-btn--light:hover { color: var(--pp-ink); }

/* ---------- Archive header ---------- */
.pp-archive-head { text-align: center; padding: clamp(48px, 7vw, 80px) 0 0; }
.pp-archive-head h1 { margin: 10px 0 0; font-family: var(--pp-serif); font-weight: 600; font-size: clamp(42px, 6vw, 72px); line-height: 1; }
.pp-archive-head .pp-archive-desc { max-width: 620px; margin: 16px auto 0; color: var(--pp-muted); }
.pp-archive-head + .pp-section { padding-top: 48px; }

/* ---------- Pagination ---------- */
.pp-pagination { margin-top: 64px; display: flex; justify-content: center; }
.pp-pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pp-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 14px; border: 1px solid var(--pp-ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.pp-pagination .page-numbers.current, .pp-pagination .page-numbers:hover { background: var(--pp-ink); color: #fff; }
.pp-pagination .dots { border: 0; }
.pp-center { text-align: center; margin-top: 56px; }

/* ---------- Single post ---------- */
.pp-article-head { max-width: 860px; margin: 0 auto; text-align: center; padding: clamp(48px, 7vw, 80px) var(--pp-gutter) 0; }
.pp-article-head .pp-kicker a { text-decoration: none; }
.pp-article-title { margin: 16px 0 0; font-family: var(--pp-serif); font-weight: 600; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.01em; }
.pp-article-dek { margin: 18px auto 0; max-width: 640px; font-family: var(--pp-serif); font-style: italic; font-size: clamp(19px, 2vw, 23px); line-height: 1.35; color: #333; }
.pp-article-meta { margin-top: 20px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pp-muted); }
.pp-article-hero { max-width: 1100px; margin: 44px auto 0; padding: 0 var(--pp-gutter); }
.pp-article-hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pp-article-hero figcaption { font-size: 13px; color: var(--pp-muted); margin-top: 8px; }

/* ---------- Post / page content ---------- */
.entry-content { max-width: var(--pp-text); margin: 48px auto 0; padding: 0 var(--pp-gutter); font-size: 18px; line-height: 1.75; }
.entry-content > * { margin-top: 0; margin-bottom: 1.3em; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--pp-serif); font-weight: 600; line-height: 1.15; margin-top: 1.8em; margin-bottom: 0.5em; }
.entry-content h2 { font-size: 34px; }
.entry-content h3 { font-size: 26px; }
.entry-content h4 { font-size: 21px; }
.entry-content a { text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content blockquote, .entry-content .wp-block-quote { margin: 2em 0; padding: 0 0 0 24px; border-left: 2px solid var(--pp-ink); font-family: var(--pp-serif); font-style: italic; font-size: 24px; line-height: 1.35; }
.entry-content .wp-block-pullquote { border-top: 1px solid var(--pp-ink); border-bottom: 1px solid var(--pp-ink); padding: 32px 0; text-align: center; }
.entry-content .wp-block-pullquote blockquote { border: 0; padding: 0; font-size: 30px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .wp-element-caption { font-size: 13px; color: var(--pp-muted); margin-top: 8px; }
.entry-content .alignwide { width: min(1100px, 100vw - 2 * var(--pp-gutter)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignleft { float: left; margin: 0.3em 1.5em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: 0.3em 0 1em 1.5em; max-width: 50%; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content hr, .wp-block-separator { border: 0; border-top: 1px solid var(--pp-ink); margin: 2.5em 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--pp-line); padding: 10px 8px; text-align: left; }
.entry-content::after { content: ""; display: table; clear: both; }
.pp-tags { max-width: var(--pp-text); margin: 40px auto 0; padding: 0 var(--pp-gutter); display: flex; gap: 8px; flex-wrap: wrap; }
.pp-tags a { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--pp-ink); padding: 8px 12px; }
.pp-tags a:hover { background: var(--pp-ink); color: #fff; }
.pp-page-title { max-width: var(--pp-text); margin: 0 auto; padding: clamp(48px, 7vw, 80px) var(--pp-gutter) 0; font-family: var(--pp-serif); font-weight: 600; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; }

/* ---------- Comments (kept simple) ---------- */
.pp-comments { max-width: var(--pp-text); margin: 64px auto 0; padding: 0 var(--pp-gutter); }
.pp-comments h2 { font-family: var(--pp-serif); font-weight: 600; font-size: 30px; }
.pp-comments ol { list-style: none; padding: 0; }
.pp-comments textarea, .pp-comments input[type="text"], .pp-comments input[type="email"], .pp-comments input[type="url"] { width: 100%; border: 1px solid var(--pp-ink); padding: 12px; font: inherit; }

/* ---------- Search form ---------- */
.pp-search { display: flex; gap: 8px; max-width: 520px; margin: 24px auto 0; }
.pp-search input[type="search"] { flex: 1 1 auto; min-height: 50px; border: 1px solid var(--pp-ink); padding: 0 16px; font: inherit; }

/* ---------- Footer ---------- */
.pp-footer { margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--pp-ink); }
main:has(> .pp-signup:last-child) + .pp-footer { margin-top: 0; border-top: 0; }
.pp-footer .pp-wrap { padding-top: 48px; padding-bottom: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; }
.pp-footer__logo { font-family: var(--pp-serif); font-weight: 600; font-size: 30px; text-transform: uppercase; text-decoration: none; }
.pp-footer__logo em { font-weight: 500; text-transform: none; }
.pp-footer__site { margin: 8px 0 0; font-size: 14px; color: var(--pp-muted); }
.pp-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px 26px; flex-wrap: wrap; justify-content: flex-end; }
.pp-footer ul a { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.pp-footer__social { margin: 14px 0 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.pp-footer__social a { text-decoration: none; }
.pp-footer__social a:hover { text-decoration: underline; }
.pp-footer__links { display: flex; gap: 18px; flex-wrap: wrap; }
.pp-footer__legal { grid-column: 1 / -1; border-top: 1px solid var(--pp-line); padding-top: 20px; font-size: 13px; color: var(--pp-muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 700px) { .pp-footer .pp-wrap { grid-template-columns: minmax(0, 1fr); } .pp-footer ul { justify-content: flex-start; } }

/* ---------- Empty state / 404 ---------- */
.pp-empty { text-align: center; padding: 80px 0 0; }
.pp-empty p { color: var(--pp-muted); }

/* ---------- Hero (big opening photo) ---------- */
.pp-hero { position: relative; min-height: clamp(480px, 58vw, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #2b2b2b; }
.pp-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.pp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0.62) 60%, rgba(0,0,0,0.15) 85%, rgba(0,0,0,0) 100%), linear-gradient(0deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 45%); }
.pp-hero .pp-wrap { position: relative; z-index: 1; width: 100%; padding-top: 64px; padding-bottom: clamp(40px, 6vw, 80px); }
.pp-hero__body { max-width: 680px; display: flex; flex-direction: column; gap: 18px; }
.pp-hero--right .pp-hero__body { margin-left: auto; }
.pp-hero--right::after { background: linear-gradient(270deg, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0.62) 60%, rgba(0,0,0,0.15) 85%, rgba(0,0,0,0) 100%), linear-gradient(0deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 45%); }
@media (max-width: 700px) { .pp-hero--right .pp-hero__body { margin-left: 0; } .pp-hero::after, .pp-hero--right::after { background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.72) 55%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0.2) 100%); } }
.pp-hero__title { margin: 0; font-family: var(--pp-serif); font-weight: 600; font-size: clamp(44px, 6.4vw, 96px); line-height: 0.98; letter-spacing: -0.01em; }
.pp-hero__title em { font-weight: 500; }
.pp-hero__line { display: block; }
.pp-hero__text { margin: 0; font-size: clamp(16px, 1.4vw, 19px); max-width: 520px; }
.pp-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.pp-hero .pp-btn--ghost { color: #fff; border-color: #fff; }
.pp-hero .pp-btn--ghost:hover { background: #fff; color: var(--pp-ink); }
.pp-hero .pp-btn--light { color: var(--pp-ink); }

/* ---------- Quote band (photo with a big line) ---------- */
.pp-quote { position: relative; margin-top: clamp(56px, 8vw, 96px); min-height: clamp(420px, 44vw, 600px); display: flex; align-items: flex-end; justify-content: center; text-align: center; color: #fff; overflow: hidden; background: #2b2b2b; }
.pp-quote > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.pp-quote::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.3) 100%); }
.pp-quote .pp-wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: clamp(40px, 5vw, 72px); }
.pp-quote blockquote { margin: 0 auto; max-width: 920px; font-family: var(--pp-serif); font-weight: 600; font-size: clamp(32px, 4.6vw, 62px); line-height: 1.08; }
.pp-quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) { .pp-card__img img { transition: none; } }

/* Keyboard focus stays visible on dark backgrounds */
.pp-hero :focus-visible, .pp-quote :focus-visible, .pp-signup :focus-visible { outline-color: #fff; }

/* ---------- Guide popup: full photo on one side, email on the other ---------- */
.pp-guide { padding: 0; border: 0; width: fit-content; max-width: min(1080px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; background: var(--pp-paper); color: var(--pp-ink); }
.pp-guide::backdrop { background: rgba(0, 0, 0, 0.62); }
.pp-guide__inner { display: grid; grid-template-columns: auto 440px; align-items: stretch; }
.pp-guide__img { background: var(--pp-soft); line-height: 0; }
.pp-guide__img img { display: block; height: min(80dvh, 720px); width: auto; max-width: 56vw; object-fit: contain; }
.pp-guide__body { position: relative; padding: 56px 48px 40px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.pp-guide__intro { display: flex; flex-direction: column; gap: 14px; }
.pp-guide__intro[hidden] { display: none; }
.pp-guide__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--pp-ink); cursor: pointer; }
.pp-guide__close:hover { background: var(--pp-soft); }
.pp-guide__title { margin: 0; font-family: var(--pp-serif); font-weight: 600; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.04; text-wrap: balance; }
.pp-guide__title:focus { outline: none; }
.pp-guide__text { margin: 0; font-size: 16px; line-height: 1.6; color: #333; }
.pp-guide__form { display: flex; flex-direction: column; gap: 12px; }
.pp-field { display: flex; flex-direction: column; gap: 6px; }
.pp-field label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.pp-field input { min-height: 52px; padding: 0 16px; border: 1px solid var(--pp-ink); font: inherit; font-size: 16px; background: #fff; color: var(--pp-ink); }
.pp-field input[aria-invalid="true"] { border-width: 2px; }
.pp-guide__form .pp-btn { width: 100%; min-height: 52px; }
.pp-guide__msg { margin: 0; min-height: 1.2em; font-size: 14px; font-weight: 600; }
.pp-guide__msg:empty { min-height: 0; }
.pp-guide__fine { margin: 0; font-size: 12.5px; color: var(--pp-muted); }
.pp-guide__done { display: flex; flex-direction: column; gap: 16px; }
.pp-guide [hidden] { display: none; }
.pp-guide__sign { margin: 0; font-family: var(--pp-serif); font-style: italic; font-size: 18px; color: #333; }
.pp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1000px) {
	.pp-guide__inner { grid-template-columns: auto 380px; }
	.pp-guide__body { padding: 48px 32px 32px; }
}
@media (max-width: 860px) {
	.pp-guide { width: 100%; }
	.pp-guide__inner { grid-template-columns: minmax(0, 1fr); }
	.pp-guide__img img { width: 100%; max-width: none; height: 36dvh; min-height: 220px; object-fit: cover; object-position: center 52%; }
	.pp-guide__body { padding: 28px 20px 24px; gap: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
	.pp-guide[open] { animation: pp-fade 0.25s ease-out; }
	@keyframes pp-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
