/* Purple Wave Creative — site-wide styles (header, footer, inner pages, form, 404). */

:root {
	--pwc-ink: #19141f;
	--pwc-ink2: #2a2430;
	--pwc-plum: #5e4572;
	--pwc-lav: #b2a7d1;
	--pwc-sage: #7e9a76;
	--pwc-warm: #cfc8bf;
	--pwc-paper: #f7f3ee;
	--pwc-muted: #a59cad;
	--pwc-line: rgba(247, 243, 238, .1);
	--pwc-serif: 'Instrument Serif', Georgia, serif;
	--pwc-sans: 'Manrope', system-ui, -apple-system, sans-serif;
	--pwc-bar: var(--wp-admin--admin-bar--height, 0px);
}

/* ---------- Base ---------- */
body.pwc-site {
	background: var(--pwc-ink) !important;
	color: var(--pwc-paper);
	font-family: var(--pwc-sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
/* Some themes set html/body to 100% height, which turns <body> into the scroller
   and freezes every scroll effect. Keep the window as the scroller. */
html:has(body.pwc-site),
body.pwc-site { height: auto !important; min-height: 100%; overflow-y: visible !important; }
body.pwc-site a { color: var(--pwc-lav); }
body.pwc-site a:hover { color: var(--pwc-paper); }
.pwc-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Buttons */
.pwc-btn,
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
	padding: 13px 22px; border-radius: 999px; border: 0;
	font-family: var(--pwc-sans); font-weight: 600; font-size: .93rem; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: transform .2s, background .2s, box-shadow .2s, border-color .2s;
}
.pwc-btn-lav,
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) .wp-block-button__link { background: var(--pwc-lav) !important; color: var(--pwc-ink) !important; }
.pwc-btn-lav:hover,
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(178, 167, 209, .7); color: var(--pwc-ink) !important; }
.pwc-btn-ghost { border: 1px solid rgba(247, 243, 238, .25); color: var(--pwc-paper) !important; background: transparent; }
.pwc-btn-ghost:hover { border-color: var(--pwc-paper); }

/* ---------- Header ---------- */
.pwc-nav {
	position: fixed; left: 0; right: 0; top: var(--pwc-bar); z-index: 999;
	border-bottom: 1px solid transparent; transition: background .4s, border-color .4s;
}
.pwc-nav.is-inner,
.pwc-nav.solid {
	background: rgba(22, 18, 27, .82);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-color: var(--pwc-line);
}
body.pwc-chrome:not(.pwc-home) { padding-top: 72px; }
.pwc-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.pwc-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; letter-spacing: .01em; color: var(--pwc-paper) !important; font-family: var(--pwc-sans); }
.pwc-brand svg { width: 34px; height: 34px; flex: none; }
.pwc-links { display: flex; align-items: center; gap: 26px; }
.pwc-menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; align-items: center; }
.pwc-menu li { position: relative; margin: 0; }
.pwc-menu a { color: var(--pwc-warm) !important; text-decoration: none; font-size: .92rem; transition: color .2s; }
.pwc-menu a:hover { color: var(--pwc-paper) !important; }
.pwc-menu .has-sub > a::after,
.pwc-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.pwc-sub,
.pwc-menu .sub-menu {
	position: absolute; top: 100%; left: -16px; min-width: 230px; list-style: none; margin: 0; padding: 10px;
	background: var(--pwc-ink2); border: 1px solid var(--pwc-line); border-radius: 14px;
	box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.pwc-menu li:hover > .pwc-sub,
.pwc-menu li:focus-within > .pwc-sub,
.pwc-menu li:hover > .sub-menu,
.pwc-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.pwc-sub a,
.pwc-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; }
.pwc-sub a:hover,
.pwc-menu .sub-menu a:hover { background: rgba(178, 167, 209, .12); }
.pwc-nav-cta { padding: 10px 18px; }
.pwc-burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.pwc-burger i { display: block; height: 2px; background: var(--pwc-paper); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.pwc-nav.open .pwc-burger i:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.pwc-nav.open .pwc-burger i:nth-child(3) { opacity: 0; }
.pwc-nav.open .pwc-burger i:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.pwc-burger { display: block; }
	.pwc-links {
		position: fixed; left: 0; right: 0; top: calc(72px + var(--pwc-bar)); bottom: 0;
		flex-direction: column; align-items: stretch; gap: 0; padding: 18px 24px 40px; overflow-y: auto;
		background: var(--pwc-ink); border-top: 1px solid var(--pwc-line);
		opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s;
	}
	.pwc-nav.open .pwc-links { opacity: 1; visibility: visible; transform: none; }
	.pwc-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.pwc-menu > li { border-bottom: 1px solid var(--pwc-line); }
	.pwc-menu a { display: block; padding: 14px 0; font-size: 1.05rem; }
	.pwc-menu .has-sub > a::after,
	.pwc-menu .menu-item-has-children > a::after { display: none; }
	.pwc-sub,
	.pwc-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 10px 14px; min-width: 0; }
	.pwc-sub a,
	.pwc-menu .sub-menu a { padding: 8px 0; font-size: .95rem; color: var(--pwc-muted) !important; }
	.pwc-nav-cta { margin-top: 22px; justify-content: center; }
	.pwc-brand span { font-size: .95rem; }
}
@media (max-width: 380px) { .pwc-brand span { display: none; } }

/* ---------- Footer ---------- */
.pwc-footer { border-top: 1px solid var(--pwc-line); padding: 64px 0 30px; color: var(--pwc-muted); font-size: .9rem; background: var(--pwc-ink); position: relative; z-index: 2; }
.pwc-footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; }
.pwc-footer-brand p { margin: 16px 0 0; max-width: 22rem; line-height: 1.6; }
.pwc-footer-col h4 { font-family: var(--pwc-sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pwc-paper); margin: 0 0 14px; font-weight: 600; }
.pwc-footer-col a { display: block; color: var(--pwc-muted) !important; text-decoration: none; padding: 4px 0; }
.pwc-footer-col a:hover { color: var(--pwc-paper) !important; }
.pwc-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--pwc-line); font-size: .84rem; }
.pwc-footer-bottom a { color: var(--pwc-muted) !important; }
.pwc-footer-bottom a:hover { color: var(--pwc-paper) !important; }
@media (max-width: 860px) { .pwc-footer-top { grid-template-columns: 1fr 1fr; } .pwc-footer-brand { grid-column: 1 / -1; } }

/* ---------- Kadence overrides on inner pages ---------- */
body.pwc-site #wrapper,
body.pwc-site .site,
body.pwc-site #inner-wrap,
body.pwc-site .site-container,
body.pwc-site .content-area,
body.pwc-site .site-main,
body.pwc-site .content-bg,
body.pwc-site .entry,
body.pwc-site .entry-content-wrap,
body.pwc-site .entry-hero-container-inner,
body.pwc-site .loop-entry { background: transparent !important; box-shadow: none !important; }
body.pwc-site .entry-title,
body.pwc-site .archive-title,
body.pwc-site .page-title { color: var(--pwc-paper); font-family: var(--pwc-serif); font-weight: 400; }
body.pwc-has-hero .entry-hero,
body.pwc-has-hero .entry-header,
body.pwc-has-hero .page-header { display: none !important; }
body.pwc-has-hero .content-area { margin-top: 0 !important; margin-bottom: 0 !important; }
body.pwc-has-hero .entry-content-wrap { padding: 0 !important; }
body.pwc-has-hero .content-container.site-container { max-width: none !important; padding: 0 !important; }
body.pwc-site .entry-meta,
body.pwc-site .entry-taxonomies a { color: var(--pwc-muted); }

/* ---------- Inner page blocks ---------- */
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) { color: var(--pwc-warm); font-size: 1.06rem; line-height: 1.7; }
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) h1,
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) h2,
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) h3,
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) h4 { font-family: var(--pwc-serif); font-weight: 400; color: var(--pwc-paper); letter-spacing: -.01em; }
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; margin: 0 0 22px; }
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) h3 { font-size: 1.6rem; line-height: 1.15; margin: 34px 0 8px; }
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) p { margin: 0 0 18px; }
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) strong { color: var(--pwc-paper); font-weight: 600; }
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) em { color: var(--pwc-lav); }
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) a:not(.wp-block-button__link) { color: var(--pwc-lav); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.pwc-hero {
	position: relative; overflow: hidden;
	padding: clamp(110px, 16vw, 170px) 24px clamp(130px, 14vw, 170px) !important;
	margin: 0 !important; max-width: none !important;
	background:
		radial-gradient(900px 500px at 80% 10%, rgba(94, 69, 114, .45), transparent 60%),
		radial-gradient(700px 400px at 5% 100%, rgba(126, 154, 118, .12), transparent 60%);
}
.pwc-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 110px; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 110' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M0 40 C150 10 300 70 450 40 S750 10 900 40 S1100 70 1200 40' stroke='%23b2a7d1'/%3E%3Cpath d='M0 58 C150 28 300 88 450 58 S750 28 900 58 S1100 88 1200 58' stroke='%23f7f3ee' opacity='.8'/%3E%3Cpath d='M0 76 C150 46 300 106 450 76 S750 46 900 76 S1100 106 1200 76' stroke='%237e9a76'/%3E%3C/g%3E%3C/svg%3E") repeat-x 0 0 / 1200px 110px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
	animation: pwcDrift 40s linear infinite;
	opacity: .9;
}
@keyframes pwcDrift { to { background-position: -1200px 0; } }
.pwc-hero > * { max-width: 1072px !important; margin-left: auto !important; margin-right: auto !important; position: relative; z-index: 1; }
body.pwc-site .pwc-hero h1 {
	font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -.02em; margin-top: 22px !important; margin-bottom: 26px !important; max-width: 14ch;
}
.pwc-eyebrow { font-size: .78rem !important; letter-spacing: .18em; text-transform: uppercase; color: var(--pwc-lav) !important; display: flex; align-items: center; gap: 12px; margin-bottom: 0 !important; font-family: var(--pwc-sans); }
.pwc-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--pwc-lav); flex: none; }
.pwc-lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem) !important; color: var(--pwc-warm); max-width: 38rem; }

.pwc-section,
.pwc-cta { padding: 90px 24px !important; margin: 0 !important; max-width: none !important; position: relative; }
.pwc-section + .pwc-section { border-top: 1px solid var(--pwc-line); }
.pwc-section > *,
.pwc-cta > * { max-width: 820px !important; margin-left: auto !important; margin-right: auto !important; }
.pwc-cta { text-align: center; padding: 120px 24px 130px !important; background: radial-gradient(520px 320px at 50% 40%, rgba(178, 167, 209, .14), transparent 70%); border-top: 1px solid var(--pwc-line); }
.pwc-cta .wp-block-buttons { justify-content: center; }
body.pwc-site .pwc-cta h2 { margin-bottom: 16px; }

.pwc-big { font-family: var(--pwc-serif); font-size: clamp(1.6rem, 3vw, 2.2rem) !important; line-height: 1.2; color: var(--pwc-paper) !important; }
.pwc-role { font-size: .78rem !important; letter-spacing: .16em; text-transform: uppercase; color: var(--pwc-lav) !important; margin-top: -10px !important; }
.pwc-quiet { font-size: .92rem !important; color: var(--pwc-muted) !important; margin-top: 10px !important; }
.pwc-photo-note {
	border: 1px dashed rgba(230, 194, 122, .6); color: #e6c27a !important; border-radius: 14px;
	padding: 28px 20px !important; text-align: center; font-size: .85rem !important; letter-spacing: .04em; margin-top: 26px !important;
}

body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) ul.wp-block-list,
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) ol.wp-block-list { list-style: none; padding: 0; margin: 10px 0 24px; display: grid; gap: 14px; }
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) ul.wp-block-list > li { position: relative; padding-left: 26px; }
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) ul.wp-block-list > li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--pwc-lav); box-shadow: 0 0 0 4px rgba(178, 167, 209, .15); }
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) ol.wp-block-list { counter-reset: pwcstep; gap: 18px; }
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) ol.wp-block-list > li { counter-increment: pwcstep; position: relative; padding: 18px 20px 18px 74px; border: 1px solid var(--pwc-line); border-radius: 16px; background: rgba(42, 36, 48, .5); }
body.pwc-site :is(.pwc-hero, .pwc-section, .pwc-cta) ol.wp-block-list > li::before { content: "0" counter(pwcstep); position: absolute; left: 20px; top: 18px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--pwc-lav); color: var(--pwc-lav); font-size: .78rem; display: grid; place-items: center; }

/* ---------- Contact form ---------- */
.pwc-form { display: grid; gap: 18px; margin: 10px 0; }
.pwc-form *, .pwc-form *::before, .pwc-form *::after { box-sizing: border-box; }
.pwc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pwc-field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.pwc-field > span,
.pwc-field > legend { font-size: .82rem; letter-spacing: .06em; color: var(--pwc-paper); font-weight: 600; padding: 0; margin-bottom: 8px; }
.pwc-field em { color: var(--pwc-muted) !important; font-style: normal; font-weight: 400; }
.pwc-form input[type=text],
.pwc-form input[type=email],
.pwc-form select,
.pwc-form textarea {
	width: 100%; background: rgba(42, 36, 48, .7); border: 1px solid rgba(247, 243, 238, .16); border-radius: 12px;
	color: var(--pwc-paper); padding: 13px 14px; font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.pwc-form select option { color: #16121b; }
.pwc-form input:focus,
.pwc-form select:focus,
.pwc-form textarea:focus { outline: none; border-color: var(--pwc-lav); box-shadow: 0 0 0 3px rgba(178, 167, 209, .2); }
.pwc-checks { display: flex; flex-wrap: wrap; gap: 10px; }
.pwc-checks label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid rgba(247, 243, 238, .16); border-radius: 999px; cursor: pointer; color: var(--pwc-warm); font-size: .94rem; }
.pwc-checks input { accent-color: #b2a7d1; }
.pwc-form .pwc-btn { justify-self: start; margin-top: 6px; }
.pwc-form-error { color: #f0a7a7; border: 1px solid rgba(240, 167, 167, .4); border-radius: 12px; padding: 12px 14px; }
.pwc-form-done { border: 1px solid rgba(178, 167, 209, .35); border-radius: 18px; padding: 34px 30px; background: rgba(42, 36, 48, .6); }
@media (max-width: 640px) { .pwc-field-row { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.pwc-404 { min-height: 70vh; display: flex; align-items: center; text-align: center; padding: 160px 0 120px; }
.pwc-404 .pwc-wrap { width: 100%; }
.pwc-404 svg,
.pwc-404 .pwc-bruce { width: 160px; height: 160px; object-fit: cover; border-radius: 28px; margin: 0 auto 30px; display: block; }
.pwc-404 .pwc-eyebrow { justify-content: center; }
.pwc-404 h1 { font-family: var(--pwc-serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; margin: 18px 0 20px; color: var(--pwc-paper); }
.pwc-404 .pwc-lede { margin: 0 auto; }

/* ---------- Reveal ---------- */
.js-pwc .pwc-reveal,
.js-pwc .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js-pwc .pwc-reveal.in,
.js-pwc .rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }

/* Block editor: never hide content while editing. */
.editor-styles-wrapper .pwc-reveal { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.js-pwc .pwc-reveal, .js-pwc .rv { opacity: 1; transform: none; transition: none; }
	.pwc-hero::after { animation: none; }
}

/* v0.1.2: same softening on inner-page heroes */
.pwc-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(transparent, var(--pwc-ink)); pointer-events: none; z-index: 0; }


/* v0.1.8: real photos */
.pwc-photo { margin: 26px auto 26px 0 !important; }
.pwc-photo img { display: block; height: auto; }
.pwc-photo--round img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; border: 1px solid var(--pwc-line); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); }
.pwc-hero .pwc-photo--wide { margin-top: 34px !important; }
.pwc-photo--wide img { width: 100%; max-width: 420px; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }

/* v0.1.8: article thumbnails show the whole cover, no cropping */
body.pwc-site .loop-entry .post-thumbnail { height: auto !important; padding-bottom: 0 !important; overflow: hidden; border-radius: 14px; }
body.pwc-site .loop-entry .post-thumbnail .post-thumbnail-inner { position: static !important; height: auto !important; }
body.pwc-site .loop-entry .post-thumbnail img { position: static !important; width: 100% !important; height: auto !important; object-fit: contain !important; }
body.pwc-site .loop-entry { border: 1px solid var(--pwc-line); border-radius: 16px; overflow: hidden; }
body.pwc-site .loop-entry .entry-title a { color: var(--pwc-paper); text-decoration: none; font-family: var(--pwc-serif); font-weight: 400; }
body.pwc-site .loop-entry .entry-title a:hover { color: var(--pwc-lav); }
body.pwc-site .loop-entry .entry-summary,
body.pwc-site .loop-entry .entry-summary p { color: var(--pwc-warm); }

/* =========================================================================
   v0.2.0: rhythm on inner pages: alternating tones, a light band,
   heading-left layout and card grids. All automatic, no page edits needed.
   ========================================================================= */

/* 1. Alternate the dark tones so each section reads as its own room. */
body.pwc-site .pwc-section { border-top: 0 !important; }
body.pwc-site .pwc-section:nth-of-type(odd) { background: #211b28; }

/* 2. Every fourth block becomes a softer "dusk" band: lifted plum, not white. */
body.pwc-site .pwc-section:nth-of-type(4n) {
	background:
		radial-gradient(900px 420px at 85% 0%, rgba(178, 167, 209, .16), transparent 70%),
		linear-gradient(180deg, #342b40, #2b2335);
}
body.pwc-site .pwc-section:nth-of-type(4n) ol.wp-block-list > li { background: rgba(22, 18, 27, .35); border-color: rgba(247, 243, 238, .12); }
body.pwc-site .pwc-section:nth-of-type(4n) .pwc-photo-note { border-color: rgba(230, 194, 122, .5); }

/* 3. Desktop: heading on the left (it stays put while you read), content on the right. */
@media (min-width: 1000px) {
	body.pwc-site .pwc-section > .wp-block-group__inner-container,
	body.pwc-site .pwc-section.is-layout-constrained {
		display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 72px; align-items: start;
		max-width: 1120px !important; margin-left: auto !important; margin-right: auto !important;
	}
	body.pwc-site .pwc-section > .wp-block-group__inner-container > *,
	body.pwc-site .pwc-section.is-layout-constrained > * { grid-column: 2; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
	body.pwc-site .pwc-section > .wp-block-group__inner-container > h2:first-child,
	body.pwc-site .pwc-section.is-layout-constrained > h2:first-child {
		grid-column: 1; grid-row: 1 / span 30; position: sticky; top: calc(110px + var(--pwc-bar)); font-size: clamp(2rem, 3.4vw, 2.9rem);
	}
	body.pwc-site .pwc-section > .wp-block-group__inner-container > h2:first-child::after,
	body.pwc-site .pwc-section.is-layout-constrained > h2:first-child::after {
		content: ""; display: block; width: 64px; height: 14px; margin-top: 22px;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 14'%3E%3Cpath d='M2 7c5-5 10 5 15 0s10-5 15 0 10 5 15 0 10-5 15 0' fill='none' stroke='%23b2a7d1' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
	}
}

/* 4. Lists whose items start with a bold lead-in become a grid of cards. */
body.pwc-site .pwc-section ul.wp-block-list:has(> li > strong:first-child) {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px;
}
body.pwc-site .pwc-section ul.wp-block-list:has(> li > strong:first-child) > li {
	padding: 22px 22px 24px; border: 1px solid var(--pwc-line); border-radius: 16px;
	background: linear-gradient(180deg, rgba(42, 36, 48, .85), rgba(42, 36, 48, .35));
	transition: transform .3s, border-color .3s;
}
body.pwc-site .pwc-section ul.wp-block-list:has(> li > strong:first-child) > li:hover { transform: translateY(-4px); border-color: rgba(178, 167, 209, .35); }
body.pwc-site .pwc-section ul.wp-block-list:has(> li > strong:first-child) > li::before {
	position: static; display: block; width: 34px; height: 8px; border-radius: 0; box-shadow: none; margin-bottom: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 8'%3E%3Cpath d='M1 4c3-3 6 3 9 0s6-3 9 0 6 3 9 0 4-3 5-1' fill='none' stroke='%23b2a7d1' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
}
body.pwc-site .pwc-section ul.wp-block-list:has(> li > strong:first-child) > li:nth-child(3n+2)::before { filter: grayscale(1) brightness(1.6); }
body.pwc-site .pwc-section ul.wp-block-list:has(> li > strong:first-child) > li:nth-child(3n)::before { filter: hue-rotate(-140deg) saturate(.7); }
body.pwc-site .pwc-section ul.wp-block-list:has(> li > strong:first-child) > li > strong:first-child {
	display: block; font-family: var(--pwc-serif); font-weight: 400; font-size: 1.35rem; line-height: 1.2; margin-bottom: 6px;
}
body.pwc-site .pwc-section:nth-of-type(4n) ul.wp-block-list:has(> li > strong:first-child) > li { background: rgba(22, 18, 27, .35); border-color: rgba(247, 243, 238, .12); }
@media (max-width: 640px) {
	body.pwc-site .pwc-section ul.wp-block-list:has(> li > strong:first-child) { grid-template-columns: 1fr; }
}

/* 5. The lede-sized line under a heading gets a little more presence. */
body.pwc-site .pwc-section .pwc-big { margin-bottom: 14px !important; }

/* v0.2.9: two-line headlines, second line in lavender italic */
body.pwc-site .pwc-hero h1 { max-width: 1072px !important; text-wrap: balance; font-size: clamp(2.5rem, 5.4vw, 4.6rem) !important; line-height: 1.04 !important; }
body.pwc-site .pwc-hero h1 em { font-style: italic; color: var(--pwc-lav); }

/* =========================================================================
   v0.3.0: Articles page + article reading layout
   ========================================================================= */
.pwc-hero .pwc-eyebrow a { color: inherit !important; text-decoration: none; }
.pwc-hero .pwc-eyebrow a:hover { color: var(--pwc-paper) !important; }
.pwc-hero h1 em { font-style: italic; color: var(--pwc-lav); }
.pwc-hero.pwc-hero--plain { padding-bottom: clamp(140px, 15vw, 180px) !important; }
.pwc-article .pwc-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.1rem) !important; text-wrap: balance; }
.pwc-article-meta { color: var(--pwc-muted); font-size: .92rem; letter-spacing: .02em; margin-top: 22px !important; }

/* Filters */
.pwc-library { padding-top: 10px; padding-bottom: 120px; }
.pwc-filterbar { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding: 0 0 28px; border-bottom: 1px solid var(--pwc-line); margin-bottom: 30px; }
.pwc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pwc-chip { font: 600 .9rem/1 var(--pwc-sans); color: var(--pwc-warm); background: rgba(42, 36, 48, .7); border: 1px solid rgba(247, 243, 238, .14); border-radius: 999px; padding: 10px 16px; cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .2s; }
.pwc-chip span { color: var(--pwc-muted); font-weight: 500; margin-left: 4px; }
.pwc-chip:hover { border-color: var(--pwc-lav); color: var(--pwc-paper); transform: translateY(-1px); }
.pwc-chip.is-on { background: var(--pwc-lav); border-color: var(--pwc-lav); color: var(--pwc-ink); }
.pwc-chip.is-on span { color: rgba(22, 18, 27, .6); }
.pwc-search { display: flex; align-items: center; gap: 10px; background: rgba(42, 36, 48, .7); border: 1px solid rgba(247, 243, 238, .14); border-radius: 999px; padding: 0 16px; color: var(--pwc-muted); min-width: 240px; }
.pwc-search:focus-within { border-color: var(--pwc-lav); box-shadow: 0 0 0 3px rgba(178, 167, 209, .2); }
.pwc-search input { background: none; border: 0; outline: none; color: var(--pwc-paper); font: 400 .95rem var(--pwc-sans); padding: 11px 0; width: 100%; }
.pwc-results { color: var(--pwc-muted); font-size: .9rem; margin: -8px 0 18px; min-height: 1px; }
.pwc-empty { color: var(--pwc-warm); padding: 40px 0; }

/* Cards */
.pwc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pwc-acard { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--pwc-line); border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(42, 36, 48, .85), rgba(42, 36, 48, .35)); transition: transform .3s, border-color .3s, box-shadow .3s; }
.pwc-acard[hidden] { display: none; }
.pwc-acard:hover { transform: translateY(-5px); border-color: rgba(178, 167, 209, .4); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8); }
.pwc-acard-img { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--pwc-ink2); }
.pwc-acard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.pwc-acard:hover .pwc-acard-img img { transform: scale(1.03); }
.pwc-acard-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.pwc-acard-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pwc-acard-tags span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pwc-lav); }
.pwc-acard-tags span + span::before { content: "·"; margin-right: 6px; color: var(--pwc-muted); }
.pwc-acard-title { font-family: var(--pwc-serif); font-size: 1.45rem; line-height: 1.15; color: var(--pwc-paper); }
.pwc-acard-excerpt { color: var(--pwc-warm); font-size: .93rem; line-height: 1.55; }
.pwc-acard-meta { margin-top: auto; padding-top: 6px; color: var(--pwc-muted); font-size: .82rem; }
.pwc-acard:hover .pwc-acard-meta span { color: var(--pwc-lav); }
@media (max-width: 1000px) { .pwc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pwc-grid { grid-template-columns: 1fr; } .pwc-search { min-width: 0; width: 100%; } }

/* Article layout: text column + sticky contents, together as wide as the hero */
.pwc-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 72px; align-items: start; padding-top: 10px; padding-bottom: 110px; }
.pwc-toc { position: sticky; top: calc(100px + var(--pwc-bar)); border-left: 1px solid var(--pwc-line); padding-left: 22px; }
.pwc-toc-title { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pwc-muted); margin: 0 0 14px; }
.pwc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: toc; }
.pwc-toc li { counter-increment: toc; }
.pwc-toc a { display: grid; grid-template-columns: 26px 1fr; padding: 7px 0; color: var(--pwc-warm) !important; text-decoration: none; font-size: .92rem; line-height: 1.35; transition: color .2s; }
.pwc-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--pwc-muted); font-size: .75rem; padding-top: 2px; }
.pwc-toc a:hover,
.pwc-toc a.is-current { color: var(--pwc-paper) !important; }
.pwc-toc a.is-current::before { color: var(--pwc-lav); }
@media (max-width: 1000px) {
	.pwc-article-grid { grid-template-columns: 1fr; gap: 0; }
	.pwc-toc { position: static; order: -1; border: 1px solid var(--pwc-line); border-radius: 16px; padding: 18px 20px; margin-bottom: 34px; background: rgba(42, 36, 48, .5); }
}

/* The text itself */
.pwc-prose { color: var(--pwc-warm); font-size: 1.1rem; line-height: 1.78; }
.pwc-prose > * { max-width: 760px; }
.pwc-prose p { margin: 0 0 1.25em; }
.pwc-prose > p:first-child { font-size: 1.28rem; line-height: 1.6; color: var(--pwc-paper); }
.pwc-prose a { color: var(--pwc-lav); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pwc-prose strong { color: var(--pwc-paper); }
.pwc-prose h2 {
	font-family: var(--pwc-serif); font-weight: 400; color: var(--pwc-paper); font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1.1;
	margin: 2.6em 0 .6em; padding-top: 1.4em; position: relative; scroll-margin-top: 110px;
}
.pwc-prose h2::before {
	content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 14'%3E%3Cpath d='M2 7c5-5 10 5 15 0s10-5 15 0 10 5 15 0 10-5 15 0' fill='none' stroke='%23b2a7d1' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
}
.pwc-prose > h2:first-child { margin-top: 0; }
.pwc-prose h3 { font-family: var(--pwc-serif); font-weight: 400; color: var(--pwc-paper); font-size: 1.45rem; line-height: 1.2; margin: 1.8em 0 .4em; }
.pwc-prose ul,
.pwc-prose ol { margin: 0 0 1.4em; padding: 0; list-style: none; display: grid; gap: 10px; }
.pwc-prose ul > li { position: relative; padding-left: 26px; }
.pwc-prose ul > li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--pwc-lav); box-shadow: 0 0 0 4px rgba(178, 167, 209, .15); }
.pwc-prose ol { counter-reset: pl; }
.pwc-prose ol > li { counter-increment: pl; position: relative; padding-left: 40px; }
.pwc-prose ol > li::before { content: counter(pl); position: absolute; left: 0; top: .1em; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--pwc-lav); color: var(--pwc-lav); font-size: .78rem; display: grid; place-items: center; }
.pwc-prose blockquote { margin: 1.8em 0; padding: 22px 26px; border-left: 3px solid var(--pwc-lav); background: rgba(42, 36, 48, .6); border-radius: 0 14px 14px 0; color: var(--pwc-paper); }
.pwc-prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; }
.pwc-prose th, .pwc-prose td { border-bottom: 1px solid var(--pwc-line); padding: 12px 10px; text-align: left; }
.pwc-prose th { color: var(--pwc-paper); font-weight: 600; }
.pwc-prose img { max-width: 100%; height: auto; border-radius: 14px; }

/* "Frequently asked questions" and similar H3 groups read as cards when a section is all H3 + text */
.pwc-article-cta { margin-top: 70px; padding: 34px 34px 36px; border-radius: 20px; background: radial-gradient(500px 240px at 90% 0%, rgba(178, 167, 209, .18), transparent 70%), linear-gradient(180deg, #342b40, #2b2335); border: 1px solid rgba(247, 243, 238, .1); }
.pwc-article-cta .pwc-big { margin: 0 0 6px !important; }
.pwc-article-cta p { margin: 0 0 20px; }

.pwc-related { background: #211b28; padding: 90px 0 110px; }
.pwc-related h2 { font-family: var(--pwc-serif); font-weight: 400; color: var(--pwc-paper); font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 0 0 32px; }
.pwc-library, .pwc-article-grid, .pwc-related .pwc-wrap { box-sizing: border-box; }

/* v0.4.0 mailing list signup */
.pwc-signup *, .pwc-signup *::before, .pwc-signup *::after { box-sizing: border-box; }
.pwc-signup--band { background: linear-gradient(135deg, #3a2a4a 0%, #2a2133 60%, #231c2b 100%); padding: 84px 0; border-top: 1px solid var(--pwc-line); border-bottom: 1px solid var(--pwc-line); }
.pwc-signup-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; box-sizing: border-box; }
.pwc-signup-copy h2 { font-family: var(--pwc-serif); font-weight: 400; color: var(--pwc-paper); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.08; margin: 0 0 16px; text-wrap: balance; }
.pwc-signup-copy h2 em { color: var(--pwc-lav); }
.pwc-signup-copy p { color: var(--pwc-warm); line-height: 1.65; margin: 0; max-width: 32rem; }
.pwc-signup-form { display: grid; gap: 14px; }
.pwc-signup-form input[type=text],
.pwc-signup-form input[type=email] {
	width: 100%; background: rgba(25, 20, 31, .55); border: 1px solid rgba(247, 243, 238, .18); border-radius: 12px;
	color: var(--pwc-paper); padding: 13px 14px; font: inherit; font-size: 1rem;
}
.pwc-signup-form input:focus { outline: none; border-color: var(--pwc-lav); box-shadow: 0 0 0 3px rgba(178, 167, 209, .2); }
.pwc-signup-form .pwc-btn { justify-self: start; }
.pwc-signup-form .pwc-quiet { margin: 0 !important; }
.pwc-signup-form .pwc-quiet a { color: var(--pwc-muted); }
.pwc-signup-form .pwc-field > span { margin-bottom: 0; }
.pwc-signup--footer { margin-top: 26px; max-width: 22rem; }
.pwc-signup--footer .pwc-signup-title { margin: 0 0 10px !important; color: var(--pwc-paper); font-weight: 600; font-size: .95rem; }
.pwc-signup--footer .pwc-signup-form { grid-template-columns: 1fr auto; gap: 8px; }
.pwc-signup--footer .pwc-field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pwc-signup--footer input[type=email] { padding: 10px 12px; font-size: .95rem; }
.pwc-signup--footer .pwc-btn { padding: 10px 16px; font-size: .9rem; white-space: nowrap; }
.pwc-signup--footer .pwc-quiet, .pwc-signup--footer .pwc-form-error { grid-column: 1 / -1; font-size: .82rem !important; }
.pwc-signup-done { color: var(--pwc-lav) !important; margin: 0 !important; }
@media (max-width: 860px) { .pwc-signup-inner { grid-template-columns: 1fr; gap: 28px; } .pwc-signup--band { padding: 64px 0; } }

/* v0.4.4 chip hover fix (Kadence's button hover was painting chips light) and text-only cards */
.pwc-chip:hover, .pwc-chip:focus-visible { background: rgba(94, 69, 114, .45) !important; color: var(--pwc-paper) !important; border-color: var(--pwc-lav) !important; box-shadow: none !important; }
.pwc-chip:hover span, .pwc-chip:focus-visible span { color: var(--pwc-warm) !important; }
.pwc-chip.is-on, .pwc-chip.is-on:hover, .pwc-chip.is-on:focus-visible { background: var(--pwc-lav) !important; color: var(--pwc-ink) !important; border-color: var(--pwc-lav) !important; }
.pwc-chip.is-on span, .pwc-chip.is-on:hover span { color: rgba(22, 18, 27, .6) !important; }
.pwc-chip:focus { outline: none; }
.pwc-chip:focus-visible { outline: 2px solid var(--pwc-lav) !important; outline-offset: 2px; }
.pwc-acard-img { display: none !important; }

/* v0.4.5 hero photo beside the headline on wide screens (About); stacks under it on phones */
@media (min-width: 960px) {
	.pwc-hero:has(.pwc-photo--wide) > .wp-block-group__inner-container {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
		column-gap: clamp(40px, 5vw, 80px);
		align-items: center;
	}
	.pwc-hero:has(.pwc-photo--wide) > .wp-block-group__inner-container > * { grid-column: 1; margin-left: 0 !important; margin-right: 0 !important; }
	.pwc-hero:has(.pwc-photo--wide) > .wp-block-group__inner-container > .pwc-photo--wide {
		grid-column: 2; grid-row: 1 / span 6; align-self: center;
		width: 100%; max-width: 420px !important; margin: 0 !important;
	}
	.pwc-hero:has(.pwc-photo--wide) .pwc-photo--wide img { width: 100%; height: auto; }
}
