/*
Theme Name: PublicHelp UK — People
Theme URI: https://publichelp.co.uk/
Author: Woolford Labs
Author URI: https://woolfordlabs.com/
Description: An original WordPress coming-soon theme for PublicHelp.co.uk, a future public-support portal for people and families in the United Kingdom.
Version: 1.0.0
Requires at least: 6.2
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: publichelp-uk
Tags: accessibility-ready, custom-logo, custom-menu, block-styles, featured-images, translation-ready
*/

:root {
	--phuk-navy: #0b1739;
	--phuk-navy-soft: #172650;
	--phuk-blue: #2169d8;
	--phuk-blue-dark: #164b9e;
	--phuk-aqua: #2ed6c5;
	--phuk-aqua-pale: #dff9f5;
	--phuk-apricot: #ffcf7d;
	--phuk-coral: #df5549;
	--phuk-paper: #f7f8fc;
	--phuk-white: #ffffff;
	--phuk-ink-muted: #53617f;
	--phuk-border: #d9dfeb;
	--phuk-shadow: 0 24px 70px rgba(11, 23, 57, 0.16);
	--phuk-shadow-small: 0 10px 30px rgba(11, 23, 57, 0.09);
	--phuk-container: 1180px;
	--phuk-radius: 22px;
	--phuk-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	background: var(--phuk-paper);
	color: var(--phuk-navy);
	font-family: var(--phuk-font);
	font-size: 16px;
	line-height: 1.65;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--phuk-blue-dark); text-underline-offset: 0.2em; }
a:hover { color: var(--phuk-navy); }
button, input, textarea, select { font: inherit; }

:focus-visible {
	outline: 3px solid var(--phuk-apricot);
	outline-offset: 4px;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--phuk-navy);
	font-weight: 780;
	letter-spacing: -0.045em;
	line-height: 1.03;
	margin: 0 0 0.72em;
}

p { margin: 0 0 1.1em; }

.phuk-container {
	margin-left: auto;
	margin-right: auto;
	max-width: calc(var(--phuk-container) + 48px);
	padding-left: 24px;
	padding-right: 24px;
	width: 100%;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}

.screen-reader-text:focus {
	background: var(--phuk-white);
	clip: auto !important;
	clip-path: none;
	color: var(--phuk-navy);
	display: block;
	font-weight: 800;
	height: auto;
	left: 10px;
	padding: 12px 18px;
	top: 10px;
	width: auto;
	z-index: 100000;
}

/* Header */
.site-header {
	background: rgba(247, 248, 252, 0.96);
	border-bottom: 1px solid rgba(11, 23, 57, 0.1);
	position: relative;
	z-index: 10;
}

.site-header__inner {
	align-items: center;
	display: flex;
	gap: 24px;
	min-height: 86px;
}

.site-branding { flex: 0 0 auto; }

.site-branding > a,
.site-branding .custom-logo-link {
	align-items: center;
	color: var(--phuk-navy);
	display: flex;
	font-size: 1.25rem;
	font-weight: 850;
	gap: 11px;
	letter-spacing: -0.035em;
	text-decoration: none;
}

.site-branding img { height: 46px; width: 46px; }
.site-branding .custom-logo { height: auto; max-height: 62px; max-width: 290px; width: auto; }
.site-branding em { color: var(--phuk-blue); font-style: normal; }

.phuk-audience {
	background: var(--phuk-aqua-pale);
	border-radius: 999px;
	color: #08685e;
	font-size: 0.66rem;
	font-weight: 850;
	letter-spacing: 0.05em;
	padding: 6px 10px;
	text-transform: uppercase;
}

.primary-navigation { margin-left: auto; }
.primary-navigation ul { display: flex; gap: 7px; list-style: none; margin: 0; padding: 0; }
.primary-navigation a {
	border-radius: 999px;
	color: var(--phuk-navy);
	font-size: 0.78rem;
	font-weight: 750;
	padding: 9px 12px;
	text-decoration: none;
}
.primary-navigation a:hover { background: var(--phuk-white); }

.phuk-network-link {
	border-left: 1px solid var(--phuk-border);
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	padding-left: 19px;
	text-decoration: none;
}
.phuk-network-link span { color: var(--phuk-ink-muted); font-size: 0.58rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.phuk-network-link strong { color: var(--phuk-blue-dark); font-size: 0.78rem; margin-top: 4px; }

/* Hero */
.phuk-hero {
	background:
		radial-gradient(circle at 12% 87%, rgba(46, 214, 197, 0.16), transparent 24%),
		linear-gradient(125deg, #f9fbff 0%, #f2f5fc 58%, #e9f8f7 100%);
	min-height: 620px;
	overflow: hidden;
	position: relative;
}

.phuk-grid-lines {
	background-image:
		linear-gradient(rgba(33, 105, 216, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(33, 105, 216, 0.07) 1px, transparent 1px);
	background-size: 32px 32px;
	height: 380px;
	-webkit-mask-image: linear-gradient(to left, #000, transparent);
	mask-image: linear-gradient(to left, #000, transparent);
	position: absolute;
	right: 0;
	top: 0;
	width: 48%;
}

.phuk-hero__grid {
	align-items: center;
	display: grid;
	gap: clamp(55px, 8vw, 110px);
	grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
	min-height: 620px;
	padding-bottom: 70px;
	padding-top: 70px;
	position: relative;
}

.phuk-status, .phuk-kicker {
	align-items: center;
	color: var(--phuk-blue-dark);
	display: flex;
	font-size: 0.7rem;
	font-weight: 850;
	gap: 9px;
	letter-spacing: 0.13em;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.phuk-status span {
	background: var(--phuk-aqua);
	border-radius: 50%;
	box-shadow: 0 0 0 5px rgba(46, 214, 197, 0.2);
	height: 9px;
	width: 9px;
}

.phuk-hero h1 {
	font-size: clamp(3.4rem, 5.8vw, 6.1rem);
	letter-spacing: -0.065em;
	margin-bottom: 26px;
	max-width: 760px;
}

.phuk-lead {
	color: var(--phuk-ink-muted);
	font-size: clamp(1.02rem, 1.5vw, 1.22rem);
	line-height: 1.65;
	max-width: 690px;
}

.phuk-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 31px; }

.phuk-button {
	align-items: center;
	background: var(--phuk-blue);
	border: 2px solid var(--phuk-blue);
	border-radius: 999px;
	box-shadow: 0 5px 0 var(--phuk-blue-dark);
	color: var(--phuk-white);
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 850;
	gap: 14px;
	justify-content: center;
	padding: 13px 19px;
	text-decoration: none;
	transition: box-shadow 160ms ease, transform 160ms ease;
}
.phuk-button:hover { box-shadow: 0 3px 0 var(--phuk-blue-dark); color: var(--phuk-white); transform: translateY(2px); }
.phuk-button--outline { background: transparent; border-color: var(--phuk-border); box-shadow: none; color: var(--phuk-navy); }
.phuk-button--outline:hover { background: var(--phuk-white); box-shadow: none; color: var(--phuk-navy); }

.phuk-principles { align-items: center; display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 27px; }
.phuk-principles span { align-items: center; color: var(--phuk-ink-muted); display: flex; font-size: 0.69rem; font-weight: 700; gap: 7px; }
.phuk-principles span::before { color: #078377; content: "✓"; font-weight: 900; }

/* Hero preview */
.phuk-preview {
	background: var(--phuk-navy);
	border-radius: 30px 30px 30px 8px;
	box-shadow: var(--phuk-shadow);
	color: var(--phuk-white);
	overflow: hidden;
	padding: 25px;
	position: relative;
	transform: rotate(1.2deg);
}
.phuk-preview::before { border: 1px solid rgba(46, 214, 197, 0.18); border-radius: 50%; content: ""; height: 310px; position: absolute; right: -110px; top: 35px; width: 310px; }
.phuk-preview__top { align-items: center; display: flex; font-size: 0.62rem; font-weight: 850; justify-content: space-between; letter-spacing: 0.13em; position: relative; }
.phuk-preview__top i { background: var(--phuk-aqua); border-radius: 50%; box-shadow: 0 0 0 5px rgba(46, 214, 197, 0.12); height: 7px; width: 7px; }
.phuk-preview__map { height: 280px; position: relative; }
.phuk-preview__map svg { fill: rgba(46, 214, 197, 0.15); height: 250px; left: 50%; position: absolute; stroke: var(--phuk-aqua); stroke-linejoin: round; stroke-width: 2; top: 12px; transform: translateX(-50%); width: 200px; }
.phuk-map-label { color: rgba(255,255,255,.72); font-size: .47rem; font-weight: 800; left: 2%; letter-spacing: .07em; line-height: 1.25; max-width: 58px; position: absolute; text-transform: uppercase; top: 51%; }
.phuk-map-label::after { background: rgba(255,255,255,.38); content: ""; height: 1px; left: 100%; margin-left: 5px; position: absolute; top: 50%; width: 20px; }
.phuk-pin { background: var(--phuk-apricot); border: 3px solid var(--phuk-navy); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255, 207, 125, 0.17); height: 14px; position: absolute; width: 14px; z-index: 2; }
.phuk-pin--one { left: 49%; top: 31%; }
.phuk-pin--two { left: 42%; top: 58%; }
.phuk-pin--three { left: 52%; top: 73%; }
.phuk-preview__search { align-items: center; background: var(--phuk-white); border-radius: 13px; color: var(--phuk-navy); display: flex; gap: 12px; padding: 14px 16px; position: relative; }
.phuk-preview__search > span { color: var(--phuk-blue); font-size: 1.8rem; line-height: 1; }
.phuk-preview__search p { display: flex; flex-direction: column; margin: 0; }
.phuk-preview__search small { color: var(--phuk-ink-muted); font-size: 0.58rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.phuk-preview__search strong { font-size: 0.75rem; margin-top: 2px; }
.phuk-preview__stats { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 20px; position: relative; }
.phuk-preview__stats > div { align-items: baseline; display: flex; gap: 8px; }
.phuk-preview__stats > div + div { border-left: 1px solid rgba(255,255,255,.15); padding-left: 20px; }
.phuk-preview__stats strong { color: var(--phuk-aqua); font-size: 1.55rem; }
.phuk-preview__stats span { color: rgba(255,255,255,.65); font-size: 0.62rem; }

/* Signal */
.phuk-signal { background: var(--phuk-white); border-bottom: 1px solid var(--phuk-border); border-top: 1px solid var(--phuk-border); }
.phuk-signal__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.phuk-signal p { color: var(--phuk-ink-muted); font-size: 0.69rem; margin: 0; padding: 18px 25px; text-align: center; }
.phuk-signal p + p { border-left: 1px solid var(--phuk-border); }
.phuk-signal strong { color: var(--phuk-navy); display: inline-block; font-size: 0.79rem; margin-right: 8px; }

/* Sections */
.phuk-section { padding-bottom: clamp(76px, 8vw, 116px); padding-top: clamp(76px, 8vw, 116px); }
.phuk-section__head { align-items: end; display: grid; gap: 65px; grid-template-columns: 1.25fr .75fr; margin-bottom: 45px; }
.phuk-section__head h2, .phuk-approach h2, .phuk-contact h2 { font-size: clamp(2.45rem, 4.4vw, 4.5rem); }
.phuk-section__head > p { color: var(--phuk-ink-muted); font-size: 0.94rem; margin: 0 0 8px; }
.phuk-kicker { margin-bottom: 14px; }

.phuk-topics { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.phuk-topic {
	background: var(--phuk-white);
	border: 1px solid var(--phuk-border);
	border-radius: var(--phuk-radius) var(--phuk-radius) var(--phuk-radius) 6px;
	display: flex;
	flex-direction: column;
	min-height: 245px;
	padding: 23px;
	position: relative;
	transition: box-shadow 180ms ease, transform 180ms ease;
}
.phuk-topic:hover { box-shadow: var(--phuk-shadow-small); transform: translateY(-4px); }
.phuk-topic > span { color: var(--phuk-blue); font-size: 0.65rem; font-weight: 900; letter-spacing: .1em; }
.phuk-topic h3 { font-size: 1.18rem; letter-spacing: -.025em; margin-top: 32px; }
.phuk-topic p { color: var(--phuk-ink-muted); font-size: 0.75rem; line-height: 1.55; }
.phuk-topic i { align-items: center; background: var(--phuk-aqua-pale); border-radius: 50%; color: #08685e; display: flex; font-size: .8rem; font-style: normal; height: 31px; justify-content: center; margin-top: auto; width: 31px; }
.phuk-topic:nth-child(4n + 2) i, .phuk-topic:nth-child(4n + 7) i { background: #fff0d7; color: #7a5109; }
.phuk-topic:nth-child(4n + 3) i, .phuk-topic:nth-child(4n + 8) i { background: #e7edfb; color: var(--phuk-blue-dark); }

/* Approach */
.phuk-approach { background: var(--phuk-navy); color: rgba(255,255,255,.68); overflow: hidden; position: relative; }
.phuk-approach::after { border: 1px solid rgba(46,214,197,.12); border-radius: 50%; content: ""; height: 620px; position: absolute; right: -250px; top: -300px; width: 620px; }
.phuk-approach__grid { align-items: center; display: grid; gap: clamp(70px, 10vw, 140px); grid-template-columns: 1fr 1fr; position: relative; z-index: 2; }
.phuk-kicker--light { color: var(--phuk-aqua); }
.phuk-approach h2 { color: var(--phuk-white); }
.phuk-approach__grid > div > p:last-child { font-size: .91rem; margin-top: 23px; }
.phuk-roadmap { list-style: none; margin: 0; padding: 0; }
.phuk-roadmap li { align-items: center; border-bottom: 1px solid rgba(255,255,255,.14); display: grid; gap: 22px; grid-template-columns: 55px 1fr; padding: 23px 0; }
.phuk-roadmap li:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.phuk-roadmap span { color: var(--phuk-apricot); font-size: .65rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.phuk-roadmap strong { color: var(--phuk-white); font-size: .86rem; }

/* Contact */
.phuk-contact { background: var(--phuk-paper); }
.phuk-contact__card { align-items: center; background: var(--phuk-aqua); border-radius: 34px 34px 34px 8px; display: grid; gap: 70px; grid-template-columns: 1fr auto; padding: 55px 62px; }
.phuk-contact h2 { font-size: clamp(2.2rem, 3.8vw, 3.8rem); margin-bottom: 16px; }
.phuk-contact__card > div > p:last-child { font-size: .87rem; margin: 0; max-width: 700px; }
.phuk-contact .phuk-actions { align-items: flex-start; flex-direction: column; margin: 0; }
.phuk-contact .phuk-button { background: var(--phuk-navy); border-color: var(--phuk-navy); box-shadow: 0 5px 0 rgba(11,23,57,.35); }
.phuk-text-link { color: var(--phuk-navy); font-size: .77rem; font-weight: 850; padding-left: 16px; text-decoration: none; }

/* Footer */
.site-footer { background: var(--phuk-white); border-top: 1px solid var(--phuk-border); padding-top: 48px; }
.site-footer__top { align-items: center; display: grid; gap: 45px; grid-template-columns: auto 1fr auto; padding-bottom: 40px; }
.site-footer__brand { align-items: center; display: flex; font-size: 1rem; font-weight: 850; gap: 10px; }
.site-footer__brand img { height: 38px; width: 38px; }
.site-footer__brand em { color: var(--phuk-blue); font-style: normal; }
.site-footer__top p { color: var(--phuk-ink-muted); font-size: .69rem; margin: 0; max-width: 550px; }
.site-footer__top > a { font-size: .72rem; font-weight: 750; }
.site-footer__bottom { border-top: 1px solid var(--phuk-border); color: var(--phuk-ink-muted); display: flex; font-size: .64rem; font-weight: 650; justify-content: space-between; padding-bottom: 20px; padding-top: 20px; }

/* Content pages */
.phuk-content { min-height: 60vh; padding-bottom: 95px; padding-top: 78px; }
.phuk-content__head, .phuk-entry > header { margin-bottom: 42px; max-width: 820px; }
.phuk-content__head h1, .phuk-entry h1, .phuk-empty h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
.phuk-posts { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.phuk-post-card { background: var(--phuk-white); border: 1px solid var(--phuk-border); border-radius: var(--phuk-radius); padding: 27px; }
.phuk-post-card time { color: var(--phuk-ink-muted); font-size: .66rem; font-weight: 750; text-transform: uppercase; }
.phuk-post-card h2 { font-size: 1.5rem; margin-top: 22px; }
.phuk-post-card h2 a { color: var(--phuk-navy); text-decoration: none; }
.phuk-post-card p { color: var(--phuk-ink-muted); font-size: .82rem; }
.phuk-post-card > a { font-size: .75rem; font-weight: 800; text-decoration: none; }
.phuk-reading-width { max-width: 830px; }
.phuk-entry__content { font-size: 1.02rem; }
.phuk-entry__content h2 { font-size: 2.25rem; margin-top: 1.5em; }
.phuk-entry__content blockquote { background: var(--phuk-aqua-pale); border-left: 4px solid var(--phuk-aqua); margin-left: 0; padding: 18px 24px; }
.phuk-entry__lead { color: var(--phuk-ink-muted); font-size: 1.12rem; }
.phuk-entry__image { margin: 0 0 38px; }
.phuk-entry__image img { border-radius: var(--phuk-radius); width: 100%; }
.phuk-source-note { background: #fff0d7; border-left: 4px solid var(--phuk-apricot); border-radius: 0 12px 12px 0; margin-top: 50px; padding: 19px 22px; }
.phuk-source-note strong { display: block; margin-bottom: 4px; }
.phuk-source-note p { color: var(--phuk-ink-muted); font-size: .79rem; margin: 0; }
.phuk-empty { background: var(--phuk-white); border-radius: 30px; box-shadow: var(--phuk-shadow-small); margin: 0 auto; max-width: 760px; padding: 55px; text-align: center; }
.phuk-error-code { color: var(--phuk-blue); font-size: 5rem; font-weight: 850; line-height: 1; }

@media (max-width: 1050px) {
	.phuk-audience { display: none; }
	.phuk-topics { grid-template-columns: repeat(3, 1fr); }
	.phuk-posts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 850px) {
	.site-header__inner { flex-wrap: wrap; padding-bottom: 14px; padding-top: 14px; }
	.primary-navigation { margin-left: auto; order: 3; width: 100%; }
	.primary-navigation ul { justify-content: center; }
	.phuk-network-link { margin-left: auto; }
	.phuk-hero__grid, .phuk-section__head, .phuk-approach__grid { grid-template-columns: 1fr; }
	.phuk-hero__grid { padding-bottom: 65px; padding-top: 65px; }
	.phuk-preview { margin: 0 auto; max-width: 520px; transform: none; width: 100%; }
	.phuk-section__head { align-items: start; gap: 15px; }
	.phuk-topics { grid-template-columns: repeat(2, 1fr); }
	.phuk-contact__card { gap: 35px; grid-template-columns: 1fr; }
	.phuk-contact .phuk-actions { align-items: flex-start; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.site-footer__top p { grid-column: 1 / -1; order: 3; }
}

@media (max-width: 580px) {
	.phuk-container { padding-left: 18px; padding-right: 18px; }
	.site-branding > a { font-size: 1.05rem; }
	.site-branding img { height: 40px; width: 40px; }
	.phuk-network-link span { display: none; }
	.phuk-network-link { padding-left: 13px; }
	.primary-navigation { overflow-x: auto; }
	.primary-navigation ul { justify-content: flex-start; white-space: nowrap; }
	.phuk-hero h1 { font-size: clamp(3rem, 15vw, 4.3rem); }
	.phuk-actions { align-items: stretch; flex-direction: column; }
	.phuk-button { width: 100%; }
	.phuk-principles { align-items: flex-start; flex-direction: column; }
	.phuk-signal__grid { grid-template-columns: 1fr; padding-bottom: 8px; padding-top: 8px; }
	.phuk-signal p { padding: 9px 0; }
	.phuk-signal p + p { border-left: 0; border-top: 1px solid var(--phuk-border); }
	.phuk-topics, .phuk-posts { grid-template-columns: 1fr; }
	.phuk-topic { min-height: 220px; }
	.phuk-contact__card { padding: 40px 25px; }
	.phuk-contact .phuk-actions { width: 100%; }
	.site-footer__top { gap: 24px; grid-template-columns: 1fr; }
	.site-footer__top p { grid-column: auto; order: initial; }
	.site-footer__bottom { flex-direction: column; gap: 5px; }
	.phuk-empty { padding: 38px 20px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media print {
	.site-header, .site-footer, .phuk-contact { display: none !important; }
	body { background: #fff; color: #000; }
}
