/*
Theme Name: Prudentia
Theme URI: https://prudentia.com.cy/
Author: InsightX Advisory Ltd
Author URI: https://insightxadvisory.com/
Description: Editorial block theme for Prudentia Capital (Cyprus) Limited. "Colonnade" layout: centred, symmetrical, built on the columns of the Prudentia temple mark. Self-hosted fonts, no trackers, no cookies.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
Version: 3.3.1
License: Proprietary
Text Domain: prudentia
*/

/* ---------- tokens ---------- */
:root {
	--pcc-gutter: clamp(1rem, 4.4vw, 4rem);
	--pcc-max: 1312px;
	--pcc-rule: color-mix(in srgb, var(--wp--preset--color--ink) 14%, transparent);
	--pcc-rule-strong: var(--wp--preset--color--ink);
	--pcc-rule-light: rgb(255 255 255 / .16);
	--pcc-frame: 14px;
	--pcc-ease: cubic-bezier(.16, 1, .3, 1);
	--pcc-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(.wp-site-blocks) [id] { scroll-margin-top: 120px; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
::selection { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--forest-deep); }
:focus-visible { outline: 2px solid var(--wp--preset--color--gold); outline-offset: 3px; }
main a { overflow-wrap: anywhere; }
.pcc-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* long URLs in the legal texts wrap instead of widening the page */

/* ---------- header: white bar floating over the page — logo left, title-case links divided by full-height hairlines ---------- */
.pcc-header-wrap { position: fixed; top: 18px; left: 0; right: 0; z-index: 100; padding: 0 var(--pcc-gutter); pointer-events: none; }
.admin-bar .pcc-header-wrap { top: calc(32px + 18px); }
@media (max-width: 782px) { .admin-bar .pcc-header-wrap { top: calc(46px + 12px); } }
@media (max-width: 600px) { .pcc-header-wrap { top: 12px; } .admin-bar .pcc-header-wrap { top: 12px; } }
.pcc-header {
	pointer-events: auto; max-width: var(--pcc-max); margin: 0 auto; min-height: 64px;
	background: var(--wp--preset--color--white); border-radius: 2px;
	box-shadow: 0 12px 40px -18px rgb(0 0 0 / .45);
	padding: 0 0 0 1.4rem !important; align-items: stretch !important;
	transition: box-shadow .6s var(--pcc-ease);
}
.pcc-scrolled .pcc-header { box-shadow: 0 18px 50px -20px rgb(0 0 0 / .55); }
.pcc-header > * { margin: 0 !important; }
.pcc-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.pcc-brand img { display: block; height: auto; }
.pcc-brand .pcc-brand-house { width: 42px; }
.pcc-brand .pcc-brand-letters { width: 140px; }
.pcc-header .pcc-nav { align-self: stretch; }
.pcc-header .wp-block-navigation {
	font-family: var(--wp--preset--font-family--body); font-size: 15px !important; font-weight: 400 !important;
	letter-spacing: normal !important; text-transform: none !important;
}
.pcc-header .wp-block-navigation__container { gap: 0 !important; align-self: stretch; align-items: stretch !important; }
.pcc-header .wp-block-navigation-item { border-left: 1px solid #ececec; padding: 0 !important; align-items: stretch; }
.pcc-header .wp-block-navigation-item__content {
	display: flex !important; align-items: center; height: 100%; min-height: 64px; padding: 0 1.55rem !important;
	color: #444 !important; text-decoration: none;
}
.pcc-header .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--ink) !important; background: var(--wp--preset--color--cream); }
@media (max-width: 1080px) { .pcc-header { padding-right: .6rem !important; align-items: center !important; } }
@media (max-width: 600px) {
	.pcc-header { padding-left: 1rem !important; }
	.pcc-brand .pcc-brand-letters { width: 118px; }
	.pcc-brand .pcc-brand-house { width: 38px; }
}
.pcc-page-top { padding-top: calc(100px + clamp(3rem, 7vw, 5.5rem)) !important; }

/* ---------- shared: eyebrow, centred heads, the column rule ---------- */
.pcc-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--xs) !important;
	letter-spacing: .22em; text-transform: uppercase; font-weight: 700;
	color: var(--wp--preset--color--gold-ink);
	display: flex; align-items: center; gap: .9rem;
}
.pcc-eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; display: inline-block; }
.has-forest-deep-background-color .pcc-eyebrow { color: var(--wp--preset--color--gold); }
.pcc-heading-caps { letter-spacing: .02em; }

/* centred section head, introduced by a single gold column line */
.pcc-c-head { text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem) !important; }
.pcc-c-head::before { content: ""; display: block; width: 1px; height: clamp(40px, 5vw, 64px); background: var(--wp--preset--color--gold); margin: 0 auto 1.6rem; }
.pcc-c-head .pcc-eyebrow { justify-content: center; margin-bottom: 1rem; }
.pcc-c-head .pcc-eyebrow::before { display: none; }
.pcc-c-head h2 { max-width: 20em; margin-inline: auto; }

/* italic line that introduces a colonnade (industries, steps) */
.pcc-colonnade-intro {
	font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: var(--wp--preset--font-size--lead);
	text-align: center; color: var(--wp--preset--color--ink);
	margin-block: clamp(4rem, 8vw, 6.5rem) 0 !important; padding: 1.6rem 0 !important;
	border-top: 1px solid var(--pcc-rule-strong);
}

/* ---------- hero: full screen, centred title, film grain, the colonnade as faint lines ---------- */
.pcc-hero {
	min-height: 100svh !important; padding: 150px var(--pcc-gutter) 130px !important;
	text-align: center; overflow: hidden; isolation: isolate; align-items: center !important;
}
.pcc-hero .wp-block-cover__image-background { filter: saturate(.72) contrast(1.08); }
.pcc-hero .wp-block-cover__background {
	opacity: 1 !important;
	background:
		var(--pcc-grain),
		radial-gradient(ellipse 70% 60% at 50% 52%, color-mix(in srgb, var(--wp--preset--color--forest-deep) 30%, transparent) 0%, color-mix(in srgb, var(--wp--preset--color--forest-deep) 78%, transparent) 100%),
		linear-gradient(180deg, color-mix(in srgb, var(--wp--preset--color--forest-deep) 70%, transparent) 0%, transparent 28%, transparent 62%, color-mix(in srgb, var(--wp--preset--color--forest-deep) 90%, transparent) 100%) !important;
	background-size: 180px, auto, auto !important;
}
/* five faint columns over the photo */
.pcc-hero::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), rgb(255 255 255 / .09) calc(20% - 1px) 20%);
}
@media (max-width: 600px) { .pcc-hero::after { background: repeating-linear-gradient(90deg, transparent 0 calc(33.333% - 1px), rgb(255 255 255 / .09) calc(33.333% - 1px) 33.333%); } }
/* letterbox bars (open on load, see motion.css) */
.pcc-hero::before {
	content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
	background: linear-gradient(#000, #000) top / 100% 0 no-repeat, linear-gradient(#000, #000) bottom / 100% 0 no-repeat;
}
.pcc-hero .wp-block-cover__inner-container { position: static; width: 100% !important; }
.pcc-hero .wp-block-cover__inner-container > * { position: relative; z-index: 2; }
.pcc-hero h1 {
	color: var(--wp--preset--color--white); font-weight: 300; font-variation-settings: "opsz" 144;
	font-size: clamp(2.6rem, 7.4vw, 7.2rem); letter-spacing: -.03em; line-height: .96;
	max-width: 11.5em; margin-inline: auto !important; text-shadow: 0 2px 40px rgb(0 0 0 / .25);
}
.pcc-hero h1 em { font-style: italic; font-weight: 300; color: var(--wp--preset--color--gold); }
.pcc-hero .pcc-hero-lead {
	max-width: 38em; margin: clamp(1.6rem, 3vw, 2.4rem) auto 0 !important;
	font-size: var(--wp--preset--font-size--lead); line-height: 1.7; color: rgb(255 255 255 / .84);
}
.pcc-hero .pcc-hero-actions { margin-top: clamp(1.8rem, 3vw, 2.6rem) !important; gap: .8rem; }
.pcc-hero .wp-block-button:not(.pcc-btn-ghost) .wp-block-button__link { background: var(--wp--preset--color--white); border-color: var(--wp--preset--color--white); color: var(--wp--preset--color--ink); }
.pcc-hero .wp-block-button:not(.pcc-btn-ghost) .wp-block-button__link:hover { background: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--gold); color: var(--wp--preset--color--forest-deep); }
.pcc-btn-ghost .wp-block-button__link { background: transparent !important; color: var(--wp--preset--color--white) !important; border-color: rgb(255 255 255 / .6) !important; }
.pcc-btn-ghost .wp-block-button__link:hover { background: var(--wp--preset--color--white) !important; color: var(--wp--preset--color--ink) !important; }
.pcc-btn-ghost-dark .wp-block-button__link { background: transparent !important; color: var(--wp--preset--color--forest) !important; border-color: var(--wp--preset--color--forest) !important; }
.pcc-btn-ghost-dark .wp-block-button__link:hover { background: var(--wp--preset--color--forest) !important; color: var(--wp--preset--color--white) !important; }
/* scroll cue: a light travelling down a gold column line */
.pcc-hero .wp-block-cover__inner-container > .pcc-cue-wrap { position: absolute; left: 50%; bottom: clamp(18px, 4vh, 40px); translate: -50% 0; margin: 0 !important; z-index: 2; }
.pcc-cue { display: block; position: relative; width: 44px; height: 72px; }
.pcc-cue::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: rgb(255 255 255 / .22); }
.pcc-cue::after { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 36%; background: var(--wp--preset--color--gold); animation: pcc-cue 2.6s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes pcc-cue { 0% { transform: translateY(-100%); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(280%); opacity: 0; } }
@media (max-height: 640px) { .pcc-hero .pcc-cue-wrap { display: none; } }

/* ---------- title card: full-bleed widescreen photo opening Investment Approach ---------- */
.pcc-title-card { min-height: clamp(380px, 72vh, 780px) !important; padding: clamp(5rem, 10vw, 8rem) var(--pcc-gutter) !important; overflow: hidden; isolation: isolate; text-align: center; }
.pcc-title-card .wp-block-cover__image-background { filter: saturate(.7) contrast(1.06); scale: 1.16; }
.pcc-title-card .wp-block-cover__background {
	opacity: 1 !important;
	background:
		var(--pcc-grain),
		linear-gradient(180deg, color-mix(in srgb, var(--wp--preset--color--forest-deep) 82%, transparent) 0%, color-mix(in srgb, var(--wp--preset--color--forest-deep) 40%, transparent) 45%, color-mix(in srgb, var(--wp--preset--color--forest-deep) 88%, transparent) 100%) !important;
	background-size: 180px, auto !important;
}
.pcc-title-card .wp-block-cover__inner-container { position: relative; z-index: 2; }
.pcc-title-card .pcc-c-head { margin-bottom: 0 !important; }
.pcc-title-card .pcc-eyebrow { color: var(--wp--preset--color--gold); }
.pcc-title-card h2 { color: var(--wp--preset--color--white); font-size: clamp(2.1rem, 5vw, 4.4rem); line-height: 1.04; font-weight: 300; }

/* ---------- about ---------- */
.pcc-hero + #about { padding-top: clamp(4rem, 8vw, 7.5rem) !important; }
#about > .wp-block-columns { gap: clamp(2rem, 6vw, 5.5rem) !important; }
.pcc-lead-col p { color: var(--wp--preset--color--muted); }
.pcc-lead-col p:first-child { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.5; color: var(--wp--preset--color--ink); }

/* five industries as pillars */
.pcc-colonnade { margin-block: 0 !important; }
.pcc-pillars, .pcc-steps {
	display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 !important;
	border-top: 1px solid var(--pcc-rule); border-bottom: 1px solid var(--pcc-rule-strong);
	margin-block: 0 !important; counter-reset: pccpillar;
}
.pcc-pillars > * { margin: 0 !important; }
.pcc-pillar {
	counter-increment: pccpillar; min-height: clamp(200px, 20vw, 270px);
	padding: 1.8rem 1.4rem !important; border-right: 1px solid var(--pcc-rule);
	display: flex !important; flex-direction: column; justify-content: space-between; align-items: center; text-align: center;
}
.pcc-pillar:last-child { border-right: 0; }
.pcc-pillar::before { content: counter(pccpillar, upper-roman); font-family: var(--wp--preset--font-family--display); font-weight: 300; font-size: 2rem; line-height: 1; color: var(--wp--preset--color--gold); }
.pcc-pillar p { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.28; color: var(--wp--preset--color--ink); margin: 0; }
@media (max-width: 720px) {
	.pcc-pillars { grid-template-columns: 1fr; }
	.pcc-pillar { min-height: 0; flex-direction: row; justify-content: flex-start; gap: 1.4rem; text-align: left; padding: 1.2rem .25rem !important; border-right: 0; border-bottom: 1px solid var(--pcc-rule); }
	.pcc-pillar:last-child { border-bottom: 0; }
	.pcc-pillar::before { font-size: 1.4rem; min-width: 2.2rem; }
}

/* ---------- investment approach ---------- */
.pcc-invest-cols { align-items: center !important; gap: clamp(2rem, 6vw, 5.5rem) !important; }
.pcc-frame, .pcc-sub-photo { margin: 0 !important; padding: var(--pcc-frame); border: 1px solid var(--pcc-rule); }
.pcc-frame img, .pcc-sub-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pcc-lead { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.5; color: var(--wp--preset--color--ink); }
#invest .pcc-invest-cols p:not(.pcc-lead) { color: var(--wp--preset--color--muted); }
/* the four steps as a colonnade */
.pcc-steps { list-style: none; padding: 0 !important; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pcc-steps > li { counter-increment: pccpillar; position: relative; padding: 1.8rem 1.6rem 2.2rem; border-right: 1px solid var(--pcc-rule); line-height: 1.6; }
.pcc-steps > li:last-child { border-right: 0; }
.pcc-steps > li::before { content: counter(pccpillar, upper-roman); display: block; margin-bottom: 1.4rem; font-family: var(--wp--preset--font-family--display); font-weight: 300; font-size: 2rem; line-height: 1; color: var(--wp--preset--color--gold); }
.pcc-steps ul { list-style: none; padding: .6rem 0 0; margin: 0; }
.pcc-steps ul li { position: relative; padding-left: 1.1rem; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.pcc-steps ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border: 1px solid var(--wp--preset--color--gold-ink); border-radius: 50%; }
@media (max-width: 900px) { .pcc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pcc-steps > li:nth-child(2) { border-right: 0; } .pcc-steps > li:nth-child(-n+2) { border-bottom: 1px solid var(--pcc-rule); } }
@media (max-width: 560px) { .pcc-steps { grid-template-columns: 1fr; } .pcc-steps > li { border-right: 0; border-bottom: 1px solid var(--pcc-rule); padding-inline: .25rem; } .pcc-steps > li:last-child { border-bottom: 0; } }
/* invitation: centred under its own column line, no box */
.pcc-callout { max-width: 40rem; margin: clamp(4rem, 8vw, 6.5rem) auto 0 !important; text-align: center; }
.pcc-callout::before { content: ""; display: block; width: 1px; height: clamp(40px, 5vw, 64px); background: var(--wp--preset--color--gold); margin: 0 auto 1.6rem; }
.pcc-callout h3 { font-size: var(--wp--preset--font-size--x-large); line-height: 1.1; }
.pcc-callout p { color: var(--wp--preset--color--muted); }

/* ---------- subsidiaries: framed gallery ---------- */
.pcc-projects h2 { color: var(--wp--preset--color--white); }
.pcc-gallery { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 3.4vw, 3rem) !important; padding-inline: calc(var(--pcc-frame) + 1px); }
.pcc-gallery > * { margin: 0 !important; }
.pcc-gal-item { position: relative; }
.pcc-gal-photo {
	margin: 0 !important; overflow: hidden;
	box-shadow: 0 0 0 var(--pcc-frame) var(--wp--preset--color--forest-deep), 0 0 0 calc(var(--pcc-frame) + 1px) var(--pcc-rule-light);
	transition: box-shadow .4s ease;
}
.pcc-gal-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: scale 1.2s cubic-bezier(.16, 1, .3, 1); }
.pcc-gal-item:hover .pcc-gal-photo img { scale: 1.04; }
.pcc-gal-photo.is-contain { background: var(--wp--preset--color--sage); }
.pcc-gal-photo.is-contain img { object-fit: contain; padding: 12% 10%; mix-blend-mode: multiply; }
.pcc-gal-item.is-divested .pcc-gal-photo img { filter: grayscale(.6); }
.pcc-gal-cap {
	display: flex !important; justify-content: space-between; align-items: baseline; gap: 1rem;
	margin-top: calc(var(--pcc-frame) + 1.1rem) !important; padding-bottom: 1rem; border-bottom: 1px solid var(--pcc-rule-light);
}
.pcc-gal-cap > * { margin: 0 !important; }
.pcc-gal-cap h3 { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.2; color: var(--wp--preset--color--white); }
.pcc-gal-cap h3 a { color: inherit; text-decoration: none; transition: color .3s; }
.pcc-gal-cap h3 a::after { content: ""; position: absolute; inset: calc(-1 * var(--pcc-frame)); z-index: 2; } /* whole frame is the link */
.pcc-gal-item:hover h3 a { color: var(--wp--preset--color--gold); }
.pcc-gal-cap h3 a:focus-visible { outline: none; }
.pcc-gal-item:has(a:focus-visible) .pcc-gal-photo { box-shadow: 0 0 0 var(--pcc-frame) var(--wp--preset--color--forest-deep), 0 0 0 calc(var(--pcc-frame) + 2px) var(--wp--preset--color--gold); }
.pcc-gal-cap p { font-size: var(--wp--preset--font-size--xs); letter-spacing: .04em; color: rgb(255 255 255 / .62); text-align: right; flex-shrink: 0; max-width: 45%; }
/* spotlight: hovering one frame dims the others */
.pcc-gal-photo img { transition: scale 1.2s var(--pcc-ease), filter .7s var(--pcc-ease); }
.pcc-gal-photo { transition: box-shadow .4s ease, filter .7s var(--pcc-ease); }
@media (hover: hover) { .pcc-gallery:has(.pcc-gal-item:hover) .pcc-gal-item:not(:hover) .pcc-gal-photo { filter: brightness(.5) saturate(.5); } }
@media (max-width: 900px) { .pcc-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
	.pcc-gallery { grid-template-columns: 1fr; }
	.pcc-gal-photo img { aspect-ratio: 4 / 3; }
	.pcc-gal-photo.is-contain img { padding: 6% 25%; }
}

/* ---------- subsidiaries: write-ups ---------- */
.pcc-sub { padding-block: var(--wp--preset--spacing--50) !important; border-top: 1px solid var(--pcc-rule); }
.pcc-sub:first-child { border-top: 0; padding-top: 0 !important; }
.pcc-sub .wp-block-columns { align-items: center !important; gap: clamp(2rem, 6vw, 5.5rem) !important; }
.pcc-sub:nth-of-type(even) .wp-block-columns { flex-direction: row-reverse; }
.pcc-sub-photo.is-contain img { object-fit: contain; background: var(--wp--preset--color--white); padding: 8%; }
.pcc-sub.is-divested .pcc-sub-photo img { filter: grayscale(.45); }
.pcc-sub-logo { margin-bottom: .4rem !important; }
.pcc-sub-logo img { max-height: 48px; width: auto !important; max-width: 180px; object-fit: contain; }
.pcc-sub h3 { margin: .2rem 0; }
.pcc-sub p:not(.pcc-meta):not(.pcc-sector):not(.pcc-sub-link) { color: var(--wp--preset--color--muted); }
.pcc-meta { font-size: var(--wp--preset--font-size--xs) !important; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--wp--preset--color--gold-ink); margin: 0 !important; }
.pcc-sector { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: var(--wp--preset--font-size--lead); color: var(--wp--preset--color--ink); margin-top: .3rem !important; }
.pcc-sub-link a { font-weight: 700; font-size: var(--wp--preset--font-size--small); letter-spacing: .06em; text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--gold); padding-bottom: 2px; color: var(--wp--preset--color--ink); }
.pcc-sub-link a::after { content: " \2197"; }
@media (max-width: 781px) { .pcc-sub:nth-of-type(even) .wp-block-columns { flex-direction: column; } .pcc-sub-photo img { aspect-ratio: 16 / 10; } }

/* ---------- contact: dark closing chapter — three columns, then the form ---------- */
.pcc-contact h2 { color: var(--wp--preset--color--white); }
.pcc-contact-cols {
	display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid rgb(255 255 255 / .4); border-bottom: 1px solid var(--pcc-rule-light);
}
.pcc-contact-cols > * { margin: 0 !important; }
.pcc-contact-row { padding: 2.2rem 1.6rem !important; text-align: center; border-right: 1px solid var(--pcc-rule-light); }
.pcc-contact-row:last-child { border-right: 0; }
.pcc-contact-row > * { margin: 0 !important; }
.pcc-contact-row figure { margin: 0 auto 1.2rem !important; width: 24px; }
.pcc-contact-row img { width: 24px; height: auto; filter: brightness(0) invert(1); opacity: .85; }
.pcc-contact-row p { line-height: 1.8; color: rgb(255 255 255 / .86); }
.pcc-contact-row a { color: var(--wp--preset--color--white); text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--gold); }
.pcc-contact-row a:hover { color: var(--wp--preset--color--gold); }
@media (max-width: 900px) {
	.pcc-contact-cols { grid-template-columns: 1fr; }
	.pcc-contact-row { border-right: 0; border-bottom: 1px solid var(--pcc-rule-light); padding: 1.8rem .5rem !important; }
	.pcc-contact-row:last-child { border-bottom: 0; }
}
.pcc-contact-form { max-width: 44rem; margin: clamp(3rem, 6vw, 4.5rem) auto 0 !important; }

.pcc-form { display: grid; gap: 1.1rem; }
.pcc-form label { display: block; }
.pcc-form .pcc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pcc-form input[type=text], .pcc-form input[type=email], .pcc-form textarea {
	width: 100%; box-sizing: border-box; font: inherit; color: var(--wp--preset--color--white);
	background: transparent; border: 0; border-bottom: 1px solid rgb(255 255 255 / .32); border-radius: 0;
	padding: .95rem 0; transition: border-color .2s;
}
.pcc-form textarea { resize: vertical; min-height: 130px; }
.pcc-form input:focus, .pcc-form textarea:focus { outline: none; border-bottom-color: var(--wp--preset--color--gold); }
.pcc-form ::placeholder { color: rgb(255 255 255 / .62); opacity: 1; }
.pcc-form button {
	justify-self: center; cursor: pointer; font: inherit; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	background: var(--wp--preset--color--gold); color: var(--wp--preset--color--forest-deep); border: 1px solid var(--wp--preset--color--gold);
	padding: 1rem 2.4rem; min-height: 48px; border-radius: 2px; transition: background .2s, color .2s;
}
.pcc-form button:hover { background: var(--wp--preset--color--white); border-color: var(--wp--preset--color--white); }
.pcc-form .pcc-hp { position: absolute; left: -9999px; }
.pcc-form-note { padding: .9rem 1.1rem; border-left: 2px solid var(--wp--preset--color--gold); background: rgb(255 255 255 / .06); color: var(--wp--preset--color--white); }

/* film grain on the dark chapters */
.pcc-projects, .pcc-contact, .pcc-footer { background-image: var(--pcc-grain); background-size: 180px; }

/* ---------- footer: centred ---------- */
.pcc-footer a { color: rgb(255 255 255 / .8); text-decoration: none; }
.pcc-footer a:hover { color: var(--wp--preset--color--gold); }
.pcc-footer > .wp-block-group { flex-direction: column; justify-content: center !important; align-items: center !important; text-align: center; gap: 1.4rem; }
.pcc-footer .wp-block-navigation, .pcc-footer .wp-block-navigation__container { justify-content: center !important; }
.pcc-footer .pcc-footer-logo img { width: 170px; height: auto; display: block; margin: 0 auto; }
.pcc-footer .wp-block-navigation a { color: rgb(255 255 255 / .8); }
.pcc-footer .wp-block-separator { border: 0; height: 1px; margin: 0; }
.pcc-footer { border-top: 1px solid var(--pcc-rule-light); }
.pcc-footer > .wp-block-group:last-child { gap: .3rem; }

/* ---------- legal pages ---------- */
.pcc-legal { font-size: .98rem; line-height: 1.75; }
.pcc-legal strong { color: var(--wp--preset--color--ink); }
.pcc-legal ul, .pcc-legal ol { padding-left: 1.3rem; }
.pcc-back a { font-size: var(--wp--preset--font-size--xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 700; text-decoration: none; }
.pcc-back a::before { content: "\2190  "; }

/* ---------- touch targets: 44px minimum without moving the layout ---------- */
.pcc-contact-row a, .pcc-sub-link a, .pcc-footer a, .pcc-back a { position: relative; }
.pcc-contact-row a::before, .pcc-sub-link a::before, .pcc-footer a::before, .pcc-back a::before {
	content: ""; position: absolute; left: -6px; right: -6px; top: calc(50% - 22px); bottom: calc(50% - 22px);
}
@media (pointer: coarse) {
	.pcc-contact-row a { display: inline-block; padding-block: 10px; line-height: 1.4; }
	.pcc-contact-row a::before { display: none; }
	.pcc-header .pcc-brand::before { content: ""; position: absolute; inset: calc(50% - 22px) -6px; }
	.pcc-header .pcc-brand { position: relative; }
}

/* ---------- overlay menu (phones and tablets) ---------- */
.pcc-header .wp-block-navigation__responsive-container-open,
.pcc-header .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; touch-action: manipulation; }
/* 601–1080px: the split nav doesn't fit, so use the overlay menu as on phones */
@media (min-width: 600px) and (max-width: 1080px) {
	.pcc-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.pcc-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.pcc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: flex; }
}
.pcc-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--forest-deep) !important; color: var(--wp--preset--color--white) !important;
	padding: 1.25rem var(--pcc-gutter) 2rem !important;
}
.pcc-header .is-menu-open .wp-block-navigation__responsive-container-close { color: var(--wp--preset--color--gold); }
.pcc-header .is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; padding-top: 4.5rem !important; }
.pcc-header .is-menu-open .wp-block-navigation__container { align-items: stretch !important; gap: 0 !important; width: 100%; counter-reset: pccnav; }
.pcc-header .is-menu-open .wp-block-navigation-item {
	margin: 0 !important; border-top: 1px solid var(--pcc-rule-light); padding: 0 !important; width: 100%;
	animation: pcc-menu-in .55s cubic-bezier(.16, 1, .3, 1) both;
}
.pcc-header .is-menu-open .wp-block-navigation-item:last-child { border-bottom: 1px solid var(--pcc-rule-light); }
.pcc-header .is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: .05s; }
.pcc-header .is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: .1s; }
.pcc-header .is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: .15s; }
.pcc-header .is-menu-open .wp-block-navigation-item__content {
	display: flex !important; align-items: baseline; gap: 1.1rem; width: 100%; padding-block: 1.2rem !important;
	color: var(--wp--preset--color--white) !important; font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.35rem, 5vw, 2.1rem); font-weight: 400; letter-spacing: .03em; line-height: 1.15;
}
.pcc-header .is-menu-open .wp-block-navigation-item__content::before {
	counter-increment: pccnav; content: counter(pccnav, upper-roman); min-width: 1.6rem;
	font-family: var(--wp--preset--font-family--display); font-size: 1rem; letter-spacing: 0; color: var(--wp--preset--color--gold);
}
.pcc-header .is-menu-open .wp-block-navigation-item__content::after { display: none; }
.pcc-header .is-menu-open .wp-block-navigation-item__content:hover,
.pcc-header .is-menu-open .wp-block-navigation-item__content:focus-visible { color: var(--wp--preset--color--gold) !important; }
@keyframes pcc-menu-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pcc-header .is-menu-open .wp-block-navigation-item { animation: none; } }

/* overlay menu: undo the desktop bar's dividers, padding and hover fill */
.pcc-header .is-menu-open .wp-block-navigation-item { border-left: 0 !important; }
.pcc-header .is-menu-open .wp-block-navigation-item__content { padding-inline: 0 !important; min-height: 0; height: auto; background: transparent !important; }

/* Motion lives in assets/motion.css */
