/*
Theme Name: Bilansfera
Theme URI: https://biurorachunkowebilansfera.pl/
Author: Bilansfera
Description: Elegancki, responsywny motyw dla Biura Rachunkowego Bilansfera. Granatowo-złota identyfikacja, nowoczesna strona główna, oferta, blog i dane kontaktowe.
Version: 1.1.2
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: bilansfera
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--navy-950: #001333;
	--navy-900: #001b4d;
	--navy-800: #06285f;
	--navy-700: #11396f;
	--gold-500: #d8a62d;
	--gold-400: #e7bd55;
	--gold-300: #f0d17b;
	--ivory-100: #fbf7ef;
	--ivory-200: #f5eddf;
	--ivory-300: #eadfce;
	--white: #ffffff;
	--ink: #14213b;
	--muted: #5e6676;
	--line: rgba(0, 27, 77, 0.13);
	--shadow-soft: 0 18px 60px rgba(0, 19, 51, 0.1);
	--shadow-card: 0 12px 34px rgba(0, 19, 51, 0.08);
	--radius-sm: 12px;
	--radius-md: 22px;
	--radius-lg: 38px;
	--container: 1180px;
	--font-display: Georgia, 'Times New Roman', serif;
	--font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

body {
	margin: 0;
	background: var(--ivory-100);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
h4,
p {
	margin-top: 0;
}

h1,
h2,
h3,
h4 {
	color: var(--navy-900);
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.08;
}

h1 {
	font-size: clamp(3rem, 7vw, 6.2rem);
}

h2 {
	font-size: clamp(2.3rem, 4.2vw, 4rem);
}

h3 {
	font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.container {
	width: min(calc(100% - 40px), var(--container));
	margin-inline: auto;
}

.container-narrow {
	max-width: 820px;
}

.section-space {
	padding-block: clamp(82px, 10vw, 140px);
}

.section-dark {
	background: var(--navy-950);
	color: rgba(255, 255, 255, 0.76);
}

.section-light {
	background: var(--white);
}

.section-ivory {
	background: var(--ivory-100);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 10px;
	left: 10px;
	z-index: 99999;
	display: block;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: var(--white);
	color: var(--navy-900);
	font-weight: 700;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 14px 26px;
	border: 1px solid var(--gold-400);
	border-radius: 999px;
	background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
	box-shadow: 0 10px 24px rgba(216, 166, 45, 0.16);
	color: var(--navy-950);
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(216, 166, 45, 0.25);
	filter: brightness(1.04);
}

.button-small {
	min-height: 42px;
	padding: 11px 18px;
	font-size: 0.72rem;
}

.text-link {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	color: var(--white);
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-decoration: none;
	text-transform: uppercase;
}

.text-link span {
	color: var(--gold-400);
	font-size: 1.2rem;
	transition: transform 180ms ease;
}

.text-link:hover span {
	transform: translateX(4px);
}

.text-link-dark {
	color: var(--navy-900);
}

.eyebrow {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 22px;
	color: var(--gold-300);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	line-height: 1.3;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 38px;
	height: 1px;
	background: currentColor;
	content: '';
}

.eyebrow-dark {
	color: #a77712;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 19, 51, 0.9);
	backdrop-filter: blur(16px);
	transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
	background: rgba(0, 19, 51, 0.98);
	box-shadow: 0 12px 40px rgba(0, 10, 28, 0.24);
}

.header-inner {
	display: flex;
	min-height: 84px;
	gap: 36px;
	align-items: center;
	justify-content: space-between;
}

.site-branding,
.brand-link,
.custom-logo-link {
	display: flex;
	align-items: center;
}

.brand-link,
.custom-logo-link {
	padding: 5px 12px;
	border: 1px solid rgba(231, 189, 85, 0.55);
	border-radius: 14px;
	background: rgba(251, 247, 239, 0.98);
	box-shadow: 0 8px 24px rgba(0, 7, 25, 0.18);
}

.brand-logo,
.custom-logo {
	width: min(230px, 40vw);
	max-height: 58px;
	object-fit: contain;
}

.primary-navigation {
	display: flex;
	gap: 26px;
	align-items: center;
}

.primary-navigation ul {
	display: flex;
	gap: 30px;
	align-items: center;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-navigation a:not(.button) {
	position: relative;
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.primary-navigation a:not(.button)::after {
	position: absolute;
	right: 0;
	bottom: -8px;
	left: 0;
	height: 1px;
	background: var(--gold-400);
	content: '';
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
}

.primary-navigation a:not(.button):hover::after,
.primary-navigation .current-menu-item > a::after {
	transform: scaleX(1);
}

.menu-toggle {
	display: none;
	gap: 10px;
	align-items: center;
	padding: 8px;
	border: 0;
	background: transparent;
	color: var(--white);
	cursor: pointer;
}

.menu-toggle-label {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.menu-toggle-lines {
	display: grid;
	width: 24px;
	gap: 5px;
}

.menu-toggle-lines span {
	display: block;
	height: 2px;
	background: var(--gold-300);
	transition: transform 180ms ease, opacity 180ms ease;
}

/* Hero */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(86px, 10vw, 150px) 0 0;
	background:
		radial-gradient(circle at 82% 18%, rgba(40, 75, 138, 0.42), transparent 34%),
		linear-gradient(145deg, var(--navy-950) 0%, var(--navy-900) 64%, #03245a 100%);
}

.hero::before {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image:
		linear-gradient(rgba(231, 189, 85, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(231, 189, 85, 0.045) 1px, transparent 1px);
	background-size: 72px 72px;
	content: '';
	mask-image: linear-gradient(to right, transparent, #000 42%, #000);
}

.hero-grid {
	display: grid;
	min-height: 610px;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
	gap: clamp(48px, 7vw, 100px);
	align-items: center;
}

.hero-copy {
	position: relative;
	z-index: 2;
}

.hero h1 {
	max-width: 760px;
	margin-bottom: 28px;
	color: var(--ivory-100);
}

.hero h1::first-line {
	color: var(--white);
}

.hero-lead {
	max-width: 650px;
	margin-bottom: 36px;
	color: rgba(255, 255, 255, 0.72);
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	align-items: center;
}

.hero-visual {
	position: relative;
}

.hero-logo-card {
	position: relative;
	padding: clamp(34px, 5vw, 62px);
	border: 1px solid rgba(231, 189, 85, 0.55);
	border-radius: var(--radius-lg);
	background: linear-gradient(150deg, rgba(251, 247, 239, 0.99), rgba(245, 237, 223, 0.94));
	box-shadow: 0 44px 90px rgba(0, 7, 25, 0.4);
	transform: rotate(2deg);
}

.hero-logo-card::before,
.hero-logo-card::after {
	position: absolute;
	border: 1px solid rgba(216, 166, 45, 0.3);
	border-radius: 50%;
	content: '';
}

.hero-logo-card::before {
	top: -48px;
	right: -42px;
	width: 136px;
	height: 136px;
}

.hero-logo-card::after {
	right: -18px;
	bottom: -24px;
	width: 78px;
	height: 78px;
}

.hero-logo-card img {
	width: 100%;
	transform: rotate(-2deg);
}

.hero-card-line {
	width: 66px;
	height: 1px;
	margin: 32px auto 20px;
	background: var(--gold-500);
}

.hero-logo-card p {
	margin: 0;
	color: var(--navy-800);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-align: center;
	text-transform: uppercase;
}

.hero-orbit {
	position: absolute;
	z-index: -1;
	border: 1px solid rgba(231, 189, 85, 0.34);
	border-radius: 50%;
	pointer-events: none;
}

.orbit-one {
	top: -320px;
	right: -230px;
	width: 760px;
	height: 760px;
}

.orbit-two {
	right: 180px;
	bottom: -480px;
	width: 720px;
	height: 720px;
}

.hero-trust {
	display: grid;
	margin-top: 70px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	grid-template-columns: repeat(4, 1fr);
}

.hero-trust span {
	padding: 24px 18px;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}

.hero-trust span:last-child {
	border-right: 0;
}

.page-intro {
	padding-block: 48px;
}

/* Section headings */
.section-heading {
	display: grid;
	margin-bottom: 66px;
	grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
	gap: 60px;
	align-items: end;
}

.section-heading h2 {
	max-width: 780px;
	margin-bottom: 0;
}

.section-heading > p {
	margin-bottom: 8px;
	color: var(--muted);
}

.section-heading-light h2 {
	color: var(--ivory-100);
}

.section-heading-light > p {
	color: rgba(255, 255, 255, 0.64);
}

/* Services */
.services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.service-card {
	display: flex;
	min-height: 390px;
	flex-direction: column;
	padding: 32px 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-card);
	transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
	transform: translateY(-8px);
	border-color: rgba(216, 166, 45, 0.7);
	box-shadow: var(--shadow-soft);
}

.service-number {
	display: inline-flex;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	margin-bottom: 54px;
	border: 1px solid rgba(216, 166, 45, 0.65);
	border-radius: 50%;
	color: #94690b;
	font-family: var(--font-display);
	font-size: 0.86rem;
	font-weight: 700;
}

.service-card h3 {
	margin-bottom: 20px;
}

.service-card p {
	margin-bottom: 28px;
	color: var(--muted);
	font-size: 0.96rem;
}

.service-card a {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: auto;
	color: var(--navy-900);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.service-card a span {
	color: var(--gold-500);
	font-size: 1rem;
}

/* About */
.about-grid {
	display: grid;
	grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(60px, 10vw, 130px);
	align-items: center;
}

.about-art {
	display: grid;
	min-height: 520px;
	place-items: center;
	border: 1px solid rgba(216, 166, 45, 0.34);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(circle at 50% 50%, rgba(216, 166, 45, 0.13), transparent 48%),
		linear-gradient(145deg, var(--navy-950), var(--navy-800));
	box-shadow: var(--shadow-soft);
}

.about-seal {
	position: relative;
	display: grid;
	width: 310px;
	aspect-ratio: 1;
	place-items: center;
	border: 3px solid var(--gold-400);
	border-radius: 50%;
	background: radial-gradient(circle at 38% 30%, #fffefa, #f5ecdc 74%);
	box-shadow:
		0 0 0 12px var(--navy-950),
		0 0 0 14px rgba(216, 166, 45, 0.9),
		0 28px 60px rgba(0, 0, 0, 0.34);
}

.about-seal::before {
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(216, 166, 45, 0.76);
	border-radius: 50%;
	content: '';
}

.about-seal-mark {
	position: relative;
	z-index: 1;
	display: block;
	width: 76%;
	height: auto;
	filter: drop-shadow(0 10px 12px rgba(0, 19, 51, 0.2));
}

.about-copy h2 {
	margin-bottom: 28px;
}

.about-copy > p:not(.eyebrow) {
	color: var(--muted);
	font-size: 1.06rem;
}

.check-list {
	display: grid;
	gap: 16px;
	padding: 0;
	margin: 34px 0 0;
	list-style: none;
}

.check-list li {
	position: relative;
	padding-left: 34px;
	font-weight: 700;
}

.check-list li::before {
	position: absolute;
	top: 0.36em;
	left: 0;
	display: grid;
	width: 20px;
	height: 20px;
	place-items: center;
	border: 1px solid var(--gold-500);
	border-radius: 50%;
	color: #94690b;
	content: '✓';
	font-size: 0.68rem;
	line-height: 1;
}

/* Process */
.process {
	position: relative;
	overflow: hidden;
}

.process::after {
	position: absolute;
	right: -300px;
	bottom: -500px;
	width: 760px;
	height: 760px;
	border: 1px solid rgba(216, 166, 45, 0.24);
	border-radius: 50%;
	content: '';
}

.process-grid {
	position: relative;
	z-index: 1;
	display: grid;
	padding: 0;
	margin: 0;
	grid-template-columns: repeat(4, 1fr);
	list-style: none;
}

.process-grid li {
	min-height: 300px;
	padding: 36px 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.process-grid li:last-child {
	border-right: 0;
}

.process-grid span {
	display: block;
	margin-bottom: 70px;
	color: var(--gold-300);
	font-family: var(--font-display);
	font-size: 1.1rem;
}

.process-grid h3 {
	margin-bottom: 16px;
	color: var(--white);
}

.process-grid p {
	margin: 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.94rem;
}

/* FAQ */
.faq-grid {
	display: grid;
	grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(50px, 9vw, 120px);
}

.faq-intro p:not(.eyebrow) {
	max-width: 500px;
	color: var(--muted);
}

.accordion {
	border-top: 1px solid var(--line);
}

.accordion details {
	border-bottom: 1px solid var(--line);
}

.accordion summary {
	position: relative;
	padding: 28px 48px 28px 0;
	color: var(--navy-900);
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.accordion summary::-webkit-details-marker {
	display: none;
}

.accordion summary::after {
	position: absolute;
	top: 24px;
	right: 0;
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border: 1px solid rgba(216, 166, 45, 0.65);
	border-radius: 50%;
	color: #94690b;
	content: '+';
	font-size: 1.2rem;
	font-weight: 400;
}

.accordion details[open] summary::after {
	content: '–';
}

.accordion details p {
	max-width: 650px;
	padding: 0 48px 26px 0;
	margin: 0;
	color: var(--muted);
}

/* Contact */
.contact-card {
	position: relative;
	display: grid;
	overflow: hidden;
	padding: clamp(42px, 5vw, 72px);
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow-soft);
	grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
	gap: clamp(36px, 5vw, 64px);
	align-items: start;
}

.contact-card::after {
	position: absolute;
	top: -160px;
	right: -160px;
	width: 340px;
	height: 340px;
	border: 1px solid rgba(216, 166, 45, 0.42);
	border-radius: 50%;
	content: '';
}

.contact-copy {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.contact-copy h2 {
	margin-bottom: 24px;
}

.contact-title {
	max-width: 100%;
	font-size: clamp(2.35rem, 3.6vw, 3.25rem);
	letter-spacing: -0.035em;
}

.contact-title span {
	display: block;
}

.contact-copy > p:not(.eyebrow) {
	max-width: 650px;
	margin-bottom: 32px;
	color: var(--muted);
}

.contact-details {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 8px;
	margin: 34px 0 0;
}

.contact-details > div {
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.contact-details dt {
	margin-bottom: 4px;
	color: #94690b;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.contact-details dd {
	margin: 0;
	color: var(--navy-900);
	font-weight: 700;
	word-break: break-word;
}

.contact-details a {
	text-decoration: none;
}

.contact-form-wrap {
	position: relative;
	z-index: 2;
	padding: clamp(26px, 4vw, 42px);
	border: 1px solid rgba(0, 27, 77, 0.1);
	border-radius: var(--radius-md);
	background: var(--ivory-100);
}

.contact-form {
	display: grid;
	gap: 20px;
}

.form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.form-field {
	display: grid;
	gap: 7px;
}

.form-field label {
	color: var(--navy-900);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.form-field label span {
	color: #a77712;
}

.form-field input,
.form-field textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid rgba(0, 27, 77, 0.18);
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	outline: none;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field textarea {
	min-height: 148px;
	resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
	border-color: var(--gold-500);
	box-shadow: 0 0 0 4px rgba(216, 166, 45, 0.14);
}

.form-consent {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 11px;
	align-items: start;
	color: var(--muted);
	font-size: 0.76rem;
	line-height: 1.55;
	cursor: pointer;
}

.form-consent input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--navy-900);
}

.form-consent a {
	color: var(--navy-700);
	font-weight: 700;
}

.contact-submit {
	justify-self: start;
	border: 0;
	cursor: pointer;
}

.required-note {
	margin: -8px 0 0;
	color: var(--muted);
	font-size: 0.7rem;
}

.form-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.form-notice {
	padding: 13px 15px;
	margin-bottom: 20px;
	border: 1px solid;
	border-radius: 10px;
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.5;
}

.form-notice-success {
	border-color: #88b896;
	background: #eef8f0;
	color: #1f6031;
}

.form-notice-error {
	border-color: #dca2a2;
	background: #fff2f2;
	color: #8a2626;
}

/* Footer */
.site-footer {
	padding-top: 78px;
	background: #000f2a;
	color: rgba(255, 255, 255, 0.62);
}

.footer-grid {
	display: grid;
	padding-bottom: 62px;
	grid-template-columns: 1.4fr 0.7fr 0.9fr;
	gap: 80px;
}

.footer-brand img {
	width: 230px;
	margin: 0;
}

.footer-brand > a {
	display: inline-block;
	padding: 9px 13px;
	margin-bottom: 18px;
	border: 1px solid rgba(231, 189, 85, 0.45);
	border-radius: 16px;
	background: var(--ivory-100);
}

.footer-brand p {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.2rem;
}

.footer-column h2 {
	margin-bottom: 22px;
	color: var(--white);
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.footer-column ul {
	display: grid;
	gap: 8px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-column a {
	color: rgba(255, 255, 255, 0.66);
	text-decoration: none;
}

.footer-column a:hover {
	color: var(--gold-300);
}

.footer-contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.footer-contact a,
.footer-contact span {
	margin-bottom: 8px;
}

.footer-bottom {
	display: flex;
	padding-block: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	gap: 30px;
	align-items: center;
	justify-content: space-between;
	font-size: 0.76rem;
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom a {
	color: inherit;
}

/* Interior pages and posts */
.page-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(90px, 11vw, 150px);
}

.page-hero::after {
	position: absolute;
	top: -250px;
	right: -180px;
	width: 520px;
	height: 520px;
	border: 1px solid rgba(216, 166, 45, 0.32);
	border-radius: 50%;
	content: '';
}

.page-hero h1 {
	position: relative;
	z-index: 1;
	max-width: 1000px;
	margin: 0;
	font-size: clamp(3rem, 6vw, 5rem);
}

.article-hero .container {
	position: relative;
	z-index: 1;
}

.prose {
	color: var(--ink);
}

.prose > * {
	max-width: 820px;
	margin-right: auto;
	margin-left: auto;
}

.prose > .alignwide {
	max-width: 1100px;
}

.prose > .alignfull {
	max-width: none;
}

.prose h2,
.prose h3 {
	margin-top: 1.6em;
}

.prose a {
	color: var(--navy-700);
	font-weight: 700;
}

.prose blockquote {
	padding: 26px 32px;
	border-left: 3px solid var(--gold-500);
	background: var(--ivory-100);
	font-family: var(--font-display);
	font-size: 1.3rem;
}

.prose img,
.featured-image img {
	border-radius: var(--radius-md);
}

.featured-image {
	margin-bottom: 46px;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.post-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-card);
}

.post-card-image {
	display: grid;
	height: 230px;
	place-items: center;
	overflow: hidden;
	background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
	text-decoration: none;
}

.post-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.post-card:hover .post-card-image img {
	transform: scale(1.04);
}

.post-placeholder {
	color: var(--gold-300);
	font-family: var(--font-display);
	font-size: 5rem;
}

.post-card-body {
	padding: 28px;
}

.post-meta {
	margin-bottom: 12px;
	color: #94690b;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.post-card h2 {
	margin-bottom: 16px;
	font-size: 1.65rem;
}

.post-card h2 a {
	text-decoration: none;
}

.post-card-body > p:not(.post-meta) {
	color: var(--muted);
	font-size: 0.94rem;
}

.pagination {
	grid-column: 1 / -1;
	margin-top: 36px;
}

.nav-links {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.page-numbers {
	display: grid;
	min-width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 50%;
	text-decoration: none;
}

.page-numbers.current {
	border-color: var(--gold-500);
	background: var(--navy-900);
	color: var(--white);
}

.post-navigation {
	padding-bottom: 70px;
}

.post-navigation .nav-links {
	justify-content: space-between;
}

.post-navigation a {
	color: var(--navy-900);
	font-weight: 700;
	text-decoration: none;
}

.comments-area {
	padding-bottom: 80px;
}

.comment-list {
	padding: 0;
	list-style: none;
}

.comment-list li {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}

.comment-form input,
.comment-form textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}

.comment-form .submit {
	padding: 14px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--navy-900);
	color: var(--white);
	font-weight: 700;
	cursor: pointer;
}

.empty-state {
	grid-column: 1 / -1;
	padding: 60px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	text-align: center;
}

.error-page {
	display: grid;
	min-height: 70vh;
	align-items: center;
	text-align: center;
}

.error-page .eyebrow {
	justify-content: center;
}

.error-page h1 {
	color: var(--white);
}

.error-page p:not(.eyebrow) {
	margin-bottom: 32px;
}

/* Reveal animation */
.reveal {
	opacity: 1;
	transform: none;
}

.js .reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 600ms ease, transform 600ms ease;
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 1100px) {
	.hero-grid {
		grid-template-columns: minmax(0, 1fr) minmax(330px, 0.75fr);
		gap: 46px;
	}

	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.service-card {
		min-height: 340px;
	}

	.process-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.process-grid li:nth-child(2) {
		border-right: 0;
	}

	.footer-grid {
		gap: 45px;
	}
}

@media (max-width: 920px) {
	.header-inner {
		min-height: 74px;
	}

	.menu-toggle {
		display: flex;
	}

	.primary-navigation {
		position: fixed;
		top: 74px;
		right: 0;
		bottom: 0;
		left: 0;
		display: flex;
		visibility: hidden;
		flex-direction: column;
		padding: 50px 28px;
		background: rgba(0, 19, 51, 0.99);
		opacity: 0;
		transform: translateY(-12px);
		transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
	}

	.primary-navigation.is-open {
		visibility: visible;
		opacity: 1;
		transform: none;
	}

	.primary-navigation ul {
		flex-direction: column;
		gap: 26px;
	}

	.primary-navigation a:not(.button) {
		font-family: var(--font-display);
		font-size: 1.8rem;
		font-weight: 600;
	}

	.menu-toggle[aria-expanded='true'] .menu-toggle-lines span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.menu-toggle[aria-expanded='true'] .menu-toggle-lines span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle[aria-expanded='true'] .menu-toggle-lines span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.hero-grid {
		grid-template-columns: 1fr;
	}

	.hero-copy {
		max-width: 760px;
	}

	.hero-visual {
		max-width: 620px;
	}

	.section-heading,
	.about-grid,
	.faq-grid,
	.contact-card {
		grid-template-columns: 1fr;
	}

	.section-heading {
		gap: 24px;
	}

	.about-art {
		min-height: 430px;
	}

	.footer-grid {
		grid-template-columns: 1.4fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 680px) {
	body {
		font-size: 16px;
	}

	.container {
		width: min(calc(100% - 28px), var(--container));
	}

	.section-space {
		padding-block: 76px;
	}

	.brand-logo,
	.custom-logo {
		width: 180px;
	}

	.hero {
		padding-top: 70px;
	}

	.hero-grid {
		min-height: auto;
	}

	.hero h1 {
		font-size: clamp(3.2rem, 15vw, 4.8rem);
	}

	.hero-logo-card {
		padding: 32px 24px;
		border-radius: 28px;
		transform: none;
	}

	.hero-logo-card img {
		transform: none;
	}

	.hero-trust {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero-trust span:nth-child(2) {
		border-right: 0;
	}

	.hero-trust span:nth-child(-n+2) {
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.services-grid,
	.process-grid,
	.posts-grid {
		grid-template-columns: 1fr;
	}

	.service-card {
		min-height: 0;
	}

	.service-number {
		margin-bottom: 34px;
	}

	.process-grid li,
	.process-grid li:nth-child(2) {
		min-height: 0;
		border-right: 0;
	}

	.process-grid span {
		margin-bottom: 42px;
	}

	.about-art {
		min-height: 350px;
	}

	.about-seal {
		width: 230px;
	}

	.contact-card {
		padding: 38px 24px;
		border-radius: 26px;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.contact-form-wrap {
		padding: 24px 18px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.footer-brand {
		grid-column: auto;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}
}
