/*
Theme Name: RCC Refresh
Theme URI: https://example.com/
Author: Richards, Cranston, & Chapman, LLC
Description: A custom WordPress theme for Richards, Cranston, & Chapman, LLC.
Version: 2.9.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: rcc-refresh
*/

:root {
	--rcc-navy: #09120c;
	--rcc-slate: #1a2a1e;
	--rcc-cream: #f3eedf;
	--rcc-paper: #0c140f;
	--rcc-gold: #c6a45f;
	--rcc-green: #315f3d;
	--rcc-text: #f3eedf;
	--rcc-text-light: #bdc7bc;
	--rcc-logo-paper: #faf7ef;
	--rcc-panel: #142019;
	--rcc-panel-alt: #1a281f;
	--rcc-border: rgba(198, 164, 95, 0.28);
	--rcc-input: #f8f4e8;
	--rcc-content: 1000px;
	--rcc-wide: 1200px;
}

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

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

body {
	margin: 0;
	color: var(--rcc-text);
	background: var(--rcc-paper);
	font-family: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", serif;
	font-size: 18px;
	line-height: 1.7;
}

a {
	color: #365c3f;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

a:hover,
a:focus {
	color: var(--rcc-navy);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--rcc-navy);
	font-family: "Cormorant Garamond", "Baskerville", "Palatino Linotype", serif;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.25;
}

.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 {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	color: var(--rcc-navy);
	background: var(--rcc-paper);
	font-family: Arial, sans-serif;
	font-size: 0.9rem;
	font-weight: 700;
}

/* Header and navigation */
.site-header {
	position: relative;
	z-index: 100;
	padding: 0.45rem 1.5rem 0.85rem;
	border-bottom: 4px double var(--rcc-gold);
	background: var(--rcc-paper);
	box-shadow: 0 2px 12px rgba(24, 53, 34, 0.12);
}

.nav-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.15rem;
	max-width: var(--rcc-wide);
	margin: 0 auto;
}

.site-branding {
	width: 100%;
	text-align: center;
}

.brand-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.brand-logo {
	display: block;
	width: auto;
	max-width: min(680px, 88vw);
	height: auto;
}

.header-tagline {
	margin: -0.2rem 0 0.4rem;
	color: var(--rcc-green);
	font-size: clamp(0.95rem, 2vw, 1.12rem);
	font-style: italic;
	letter-spacing: 0.04em;
}

.menu-toggle {
	display: none;
	padding: 0.55rem 0.75rem;
	border: 1px solid var(--rcc-green);
	border-radius: 2px;
	color: var(--rcc-green);
	background: transparent;
	font: 700 0.75rem/1 Arial, sans-serif;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus {
	border-color: var(--rcc-gold);
	color: var(--rcc-gold);
}

.primary-menu,
.primary-menu ul {
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu li {
	position: relative;
}

.submenu-toggle {
	display: none;
}

.primary-menu .sub-menu {
	position: absolute;
	z-index: 20;
	top: 100%;
	left: 50%;
	display: none;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	width: max-content;
	min-width: 245px;
	padding: 0.55rem 1rem;
	border-top: 3px solid var(--rcc-gold);
	background: var(--rcc-paper);
	box-shadow: 0 12px 28px rgba(24, 53, 34, 0.16);
	transform: translateX(-50%);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	display: flex;
}

.primary-menu .sub-menu a {
	padding: 0.65rem 0;
	border-bottom: 1px solid rgba(41, 74, 50, 0.14);
}

.primary-menu .sub-menu li:last-child a {
	border-bottom: 0;
}

.primary-menu a {
	display: block;
	padding: 0.4rem 0;
	color: var(--rcc-navy);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	letter-spacing: 1.5px;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.2s ease;
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current-menu-item > a {
	color: var(--rcc-gold);
}

/* Homepage */
.hero {
	position: relative;
	overflow: hidden;
	padding: 5rem 2rem;
	color: var(--rcc-cream);
	text-align: center;
	background: linear-gradient(135deg, #10291a, var(--rcc-slate));
}

.hero::before {
	position: absolute;
	inset: 0;
	content: "";
	background-image:
		linear-gradient(rgba(16, 41, 26, 0.88), rgba(67, 82, 61, 0.93)),
		url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 92c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.hero-content {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
}

.hero h1 {
	margin: 0 0 1rem;
	color: var(--rcc-cream);
	font-size: clamp(2.25rem, 6vw, 3.2rem);
}

.hero-subtitle {
	margin: 0 0 2.5rem;
	color: rgba(244, 241, 234, 0.85);
	font-size: 1.15rem;
	font-style: italic;
}

.motto-box {
	max-width: 600px;
	padding: 2rem;
	margin: 2rem auto 0;
	border-top: 1px solid var(--rcc-gold);
	border-bottom: 1px solid var(--rcc-gold);
}

.motto {
	margin-bottom: 0.5rem;
	color: var(--rcc-gold);
	font-size: clamp(1.65rem, 5vw, 2.2rem);
	font-style: italic;
	letter-spacing: 2px;
}

.motto-pronounce {
	margin-bottom: 1rem;
	color: rgba(244, 241, 234, 0.7);
	font-size: 1rem;
	font-style: italic;
	letter-spacing: 1px;
}

.motto-meaning {
	color: rgba(244, 241, 234, 0.9);
	font-size: 1rem;
	line-height: 1.6;
}

.home-section {
	max-width: var(--rcc-content);
	padding: 5rem 2rem;
	margin: 0 auto;
}

.section-title {
	position: relative;
	padding-bottom: 1rem;
	margin: 0 0 1.5rem;
	color: var(--rcc-navy);
	font-size: 2rem;
	text-align: center;
}

.section-title::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 60px;
	height: 2px;
	content: "";
	background: var(--rcc-gold);
	transform: translateX(-50%);
}

.section-intro {
	max-width: 700px;
	margin: 0 auto 3rem;
	color: var(--rcc-text-light);
	font-size: 1.1rem;
	text-align: center;
}

.about-content p {
	margin: 0 0 1.2rem;
	font-size: 1.05rem;
	text-align: center;
}

.bridge {
	max-width: none;
	padding: 3rem 2rem;
	background: var(--rcc-cream);
	text-align: center;
}

.bridge-text {
	max-width: 700px;
	margin: 0 auto;
	color: var(--rcc-slate);
	font-size: 1.2rem;
	font-style: italic;
	line-height: 1.8;
}

.heritage-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 3rem;
	align-items: start;
}

.heritage-card {
	padding: 2.5rem;
	border-left: 4px solid var(--rcc-gold);
	background: var(--rcc-cream);
}

.heritage-card h3 {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1rem;
	font-size: 1.3rem;
}

.heritage-card p {
	margin: 0;
	color: var(--rcc-text-light);
	font-size: 0.95rem;
}

.heritage-icon {
	color: var(--rcc-gold);
	font-size: 1.5rem;
}

.services-section {
	max-width: none;
	background: var(--rcc-navy);
}

.services-section .section-title {
	color: var(--rcc-cream);
}

.services-section .section-intro {
	color: rgba(244, 241, 234, 0.85);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 2rem;
	max-width: var(--rcc-content);
	margin: 3rem auto 0;
}

.service-item {
	padding: 2rem;
	border: 1px solid rgba(184, 134, 11, 0.3);
	background: rgba(255, 255, 255, 0.05);
	transition: transform 0.2s ease, background 0.2s ease;
}

.service-item:hover {
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-4px);
}

.service-item h3 {
	margin: 0 0 0.75rem;
	color: var(--rcc-gold);
	font-size: 1.2rem;
}

.service-item p {
	margin: 0;
	color: rgba(244, 241, 234, 0.8);
	font-size: 0.95rem;
	line-height: 1.6;
}

.contact-section {
	max-width: none;
	background: var(--rcc-cream);
	text-align: center;
}

.contact-details {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	margin-top: 2rem;
	color: var(--rcc-slate);
	font-size: 1.05rem;
}

.contact-label {
	color: var(--rcc-navy);
	font-family: Arial, sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.contact-note {
	margin-top: 1rem;
	color: var(--rcc-navy);
	font-style: italic;
}

/* Standard WordPress content */
.site-main {
	min-height: 55vh;
}

.content-wrap {
	width: min(calc(100% - 3rem), var(--rcc-content));
	margin: 0 auto;
	padding: 4rem 0;
}

.entry-header {
	margin-bottom: 2.75rem;
	text-align: center;
}

.entry-title {
	margin: 0;
	font-size: clamp(2rem, 5vw, 3rem);
	text-align: center;
}

.entry-title::after {
	display: block;
	width: 3.5rem;
	height: 1px;
	margin: 0.75rem auto 0;
	content: "";
	background: var(--rcc-gold);
}

.entry-meta {
	margin-top: 0.5rem;
	color: var(--rcc-text-light);
	font-family: Arial, sans-serif;
	font-size: 0.82rem;
}

.entry-content > * {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
}

.entry-content > .alignwide {
	max-width: var(--rcc-content);
}

.entry-content > .alignfull {
	max-width: none;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.post-card {
	padding: 0 0 2.5rem;
	margin: 0 0 2.5rem;
	border-bottom: 1px solid #d8d2c6;
}

/* Surveyor profile */
.surveyor-profile {
	display: grid;
	grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 4.5rem);
	align-items: start;
	max-width: var(--rcc-content);
	padding: clamp(2rem, 5vw, 3.5rem);
	border-top: 5px solid var(--rcc-green);
	background: var(--rcc-cream);
	box-shadow: 0 18px 45px rgba(24, 57, 43, 0.08);
}

.surveyor-profile__identity {
	padding-right: 2rem;
	border-right: 1px solid rgba(47, 81, 63, 0.25);
}

.surveyor-profile__name {
	margin: 0 0 0.5rem;
	color: var(--rcc-navy);
	font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.surveyor-profile__role {
	margin: 0;
	color: var(--rcc-green);
	font-family: Arial, sans-serif;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.surveyor-profile__bio p:first-child {
	margin-top: 0;
}

.credentials-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	max-width: var(--rcc-content);
	margin-top: 2rem;
}

.credential-card {
	padding: 1.75rem;
	border-left: 3px solid var(--rcc-gold);
	background: #fffef9;
}

.credential-card h3 {
	margin: 0 0 0.75rem;
	color: var(--rcc-green);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 1.3px;
	text-transform: uppercase;
}

.credential-card p,
.credential-card ul {
	margin-top: 0;
	margin-bottom: 0;
}

.credential-card ul {
	padding-left: 1.2rem;
}

.credential-card li + li {
	margin-top: 0.45rem;
}

.resume-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	max-width: var(--rcc-content);
	margin-top: 1.25rem;
}

.resume-section {
	padding: clamp(1.5rem, 4vw, 2.25rem);
	border-top: 3px solid var(--rcc-green);
	background: #fffef9;
	box-shadow: 0 12px 30px rgba(24, 53, 34, 0.06);
}

.resume-section--wide {
	grid-column: 1 / -1;
}

.resume-section h2 {
	margin: 0 0 1.25rem;
	color: var(--rcc-green);
	font-family: Arial, sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.resume-section > *:last-child {
	margin-bottom: 0;
}

.publication-list {
	display: grid;
	gap: 1.5rem;
}

.publication {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(41, 74, 50, 0.18);
}

.publication:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.publication p {
	margin: 0;
}

.publication-title {
	color: var(--rcc-navy);
	font-weight: 700;
}

/* Resource pages */
.resource-intro {
	max-width: 800px;
	padding: 1.5rem 1.75rem;
	border-left: 4px solid var(--rcc-gold);
	background: var(--rcc-cream);
}

.registry-grid,
.resource-link-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	max-width: var(--rcc-content);
	margin-top: 2rem;
}

.registry-search {
	max-width: 760px;
	padding: 1.5rem;
	margin: 2rem auto;
	border: 1px solid var(--rcc-border);
	background: var(--rcc-panel);
}

.registry-search label {
	display: block;
	margin-bottom: 0.45rem;
	color: var(--rcc-gold);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.registry-search input {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid var(--rcc-gold);
	color: #172319;
	background: var(--rcc-input);
	font: inherit;
}

.registry-search input:focus {
	outline: 3px solid rgba(198, 164, 95, 0.25);
	outline-offset: 2px;
}

.registry-search__status {
	margin: 0.55rem 0 0;
	color: var(--rcc-text-light);
	font-size: 0.82rem;
}

.registry-card,
.resource-link-card {
	padding: 1.6rem;
	border-top: 3px solid var(--rcc-green);
	background: #fffef9;
	box-shadow: 0 10px 28px rgba(24, 53, 34, 0.06);
}

.registry-card h2,
.resource-link-card h2 {
	margin: 0 0 0.8rem;
	font-size: 1.25rem;
}

.registry-card address {
	margin-bottom: 1rem;
	font-style: normal;
}

.registry-card p,
.resource-link-card p {
	margin-top: 0;
}

.registry-card__contact {
	color: var(--rcc-text-light);
	font-family: Arial, sans-serif;
	font-size: 0.88rem;
}

.resource-link-card a,
.registry-card__link {
	display: inline-block;
	padding: 0.55rem 0.85rem;
	border: 1px solid var(--rcc-green);
	color: var(--rcc-green);
	font-family: Arial, sans-serif;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-decoration: none;
	text-transform: uppercase;
}

.resource-link-card a:hover,
.resource-link-card a:focus,
.registry-card__link:hover,
.registry-card__link:focus {
	color: var(--rcc-paper);
	background: var(--rcc-green);
}

/* Contact form */
.rcc-contact-form-wrap {
	max-width: 820px;
	padding: clamp(1.5rem, 5vw, 3rem);
	margin-top: 2rem;
	border-top: 4px solid var(--rcc-green);
	background: var(--rcc-cream);
}

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

.form-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.form-field--full {
	grid-column: 1 / -1;
}

.form-field label {
	color: var(--rcc-navy);
	font-family: Arial, sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.7px;
	text-transform: uppercase;
}

.form-field input,
.form-field textarea {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #a7aa9d;
	border-radius: 0;
	color: var(--rcc-text);
	background: #fffef9;
	font: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
	border-color: var(--rcc-green);
	outline: 2px solid rgba(41, 74, 50, 0.25);
	outline-offset: 1px;
}

.form-submit {
	padding: 0.8rem 1.2rem;
	margin-top: 1.25rem;
	border: 1px solid var(--rcc-green);
	color: var(--rcc-paper);
	background: var(--rcc-green);
	font-family: Arial, sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
}

.form-submit:hover,
.form-submit:focus {
	border-color: var(--rcc-gold);
	background: var(--rcc-navy);
}

.form-required-note {
	margin: 0.5rem 0 0;
	color: var(--rcc-text-light);
	font-family: Arial, sans-serif;
	font-size: 0.75rem;
}

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

.form-notice {
	padding: 0.85rem 1rem;
	margin-bottom: 1.25rem;
	border-left: 4px solid var(--rcc-green);
	background: #fffef9;
}

.form-notice--error {
	border-left-color: #8b352e;
}

/* Dark editorial presentation */
body {
	background:
		radial-gradient(circle at 12% 8%, rgba(49, 95, 61, 0.12), transparent 34rem),
		var(--rcc-paper);
}

a {
	color: #dfbd72;
}

a:hover,
a:focus {
	color: #fff8e7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.section-title {
	color: var(--rcc-cream);
}

.site-header,
.primary-menu .sub-menu {
	background: var(--rcc-logo-paper);
}

.primary-menu .sub-menu a {
	color: #183522;
}

.hero {
	display: grid;
	min-height: 620px;
	align-items: center;
	background-image:
		linear-gradient(90deg, rgba(6, 14, 9, 0.9), rgba(10, 25, 16, 0.68)),
		url("assets/images/ScenicSurvey.jpg");
	background-position: center;
	background-size: cover;
}

.hero::before {
	background:
		linear-gradient(180deg, rgba(9, 18, 12, 0.12), rgba(9, 18, 12, 0.76)),
		radial-gradient(circle at center, transparent, rgba(5, 10, 7, 0.32));
}

.motto-box {
	border-color: var(--rcc-gold);
	background: rgba(7, 16, 10, 0.54);
	backdrop-filter: blur(3px);
}

.about-section,
.heritage-section {
	background: transparent;
}

.about-content p,
.bridge-text {
	color: var(--rcc-text-light);
}

.heritage-banner {
	position: relative;
	max-width: 1100px;
	margin: 1rem auto 4rem;
	overflow: hidden;
	border: 1px solid var(--rcc-border);
	background: var(--rcc-panel);
}

.heritage-banner::after {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
	box-shadow: inset 0 0 80px rgba(5, 12, 7, 0.45);
}

.heritage-banner img {
	display: block;
	width: 100%;
	filter: saturate(0.72) brightness(0.72);
}

.heritage-banner figcaption {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 1rem 1.5rem;
	color: var(--rcc-cream);
	background: linear-gradient(transparent, rgba(6, 14, 9, 0.92));
	font-size: 0.88rem;
	font-style: italic;
	text-align: center;
}

.bridge,
.contact-section {
	background: var(--rcc-panel);
}

.heritage-card,
.service-item,
.surveyor-profile,
.credential-card,
.resume-section,
.registry-card,
.resource-link-card,
.rcc-contact-form-wrap,
.resource-intro {
	border-color: var(--rcc-border);
	background: var(--rcc-panel-alt);
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.services-section,
.site-footer {
	background: #07100a;
}

.service-item h3,
.service-item h3 a,
.credential-card h3,
.resume-section h2,
.resource-link-card h2,
.registry-card h2,
.publication-title {
	color: var(--rcc-gold);
}

.service-item h3 a {
	text-decoration: none;
}

.heritage-card p,
.service-item p,
.section-intro,
.contact-details,
.entry-meta,
.registry-card__contact,
.form-required-note {
	color: var(--rcc-text-light);
}

.contact-label {
	color: var(--rcc-gold);
}

.content-wrap {
	width: min(calc(100% - 3rem), 1120px);
}

.entry-content > * {
	max-width: 820px;
}

.entry-content > .surveyor-profile,
.entry-content > .resume-grid,
.entry-content > .registry-grid,
.entry-content > .resource-link-grid,
.entry-content > .page-feature,
.entry-content > .service-detail-grid,
.entry-content > .resume-header,
.entry-content > .resume-facts,
.entry-content > .resume-editorial,
.entry-content > .about-profile,
.entry-content > .about-legacy {
	max-width: 1050px;
}

.entry-content p,
.entry-content li {
	color: var(--rcc-text-light);
}

.post-card,
.page-numbers {
	border-color: var(--rcc-border);
}

.form-field label {
	color: var(--rcc-gold);
}

.form-field input,
.form-field textarea {
	color: #172319;
	background: var(--rcc-input);
}

.form-notice {
	background: var(--rcc-panel);
}

.screen-reader-text:focus {
	color: #183522;
	background: var(--rcc-logo-paper);
}

.resource-link-card a,
.registry-card__link {
	border-color: var(--rcc-gold);
	color: var(--rcc-gold);
}

.resource-link-card a:hover,
.resource-link-card a:focus,
.registry-card__link:hover,
.registry-card__link:focus {
	color: var(--rcc-navy);
	background: var(--rcc-gold);
}

.form-submit {
	border-color: var(--rcc-gold);
	color: var(--rcc-cream);
	background: var(--rcc-green);
}

.contact-note {
	color: var(--rcc-cream);
}

.theme-button,
.profile-resume-link,
.services-action a {
	display: inline-block;
	padding: 0.7rem 1rem;
	border: 1px solid var(--rcc-gold);
	color: var(--rcc-navy);
	background: var(--rcc-gold);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.9px;
	text-decoration: none;
	text-transform: uppercase;
}

.theme-button:hover,
.theme-button:focus,
.profile-resume-link:hover,
.profile-resume-link:focus,
.services-action a:hover,
.services-action a:focus {
	color: var(--rcc-cream);
	background: transparent;
}

.services-action {
	margin: 2.5rem auto 0;
	text-align: center;
}

/* Homepage search */
.home-search-section {
	padding: 1rem 1.5rem;
	border-top: 1px solid rgba(198, 164, 95, 0.15);
	border-bottom: 1px solid rgba(198, 164, 95, 0.18);
	background: #07100a;
}

.home-search-panel {
	display: grid;
	grid-template-columns: auto minmax(280px, 620px);
	gap: clamp(1.25rem, 4vw, 3rem);
	align-items: center;
	justify-content: center;
	width: min(100%, 1000px);
	padding: 0;
	margin: 0 auto;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.home-search-panel h2 {
	margin: 0;
	color: var(--rcc-gold);
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	font-weight: 600;
	white-space: nowrap;
}

.home-search-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.5rem;
	width: 100%;
	margin: 0;
}

.home-search-form input {
	width: 100%;
	min-height: 2.65rem;
	padding: 0.55rem 0.85rem;
	border: 1px solid rgba(198, 164, 95, 0.55);
	border-radius: 0;
	color: #172319;
	background: var(--rcc-input);
	font: inherit;
}

.home-search-form input:focus {
	outline: 2px solid var(--rcc-gold);
	outline-offset: 2px;
}

.home-search-form button {
	min-height: 2.65rem;
	padding: 0.55rem 1rem;
	border: 1px solid var(--rcc-gold);
	color: var(--rcc-navy);
	background: var(--rcc-gold);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.9px;
	text-transform: uppercase;
	cursor: pointer;
}

.home-search-form button:hover,
.home-search-form button:focus-visible {
	color: var(--rcc-cream);
	background: transparent;
}

/* Editable service and profile pages */
.page-feature {
	position: relative;
	margin-bottom: 3rem;
	overflow: hidden;
	border: 1px solid var(--rcc-border);
	background: var(--rcc-panel);
}

.page-feature img {
	display: block;
	width: 100%;
	max-height: 620px;
	object-fit: cover;
	filter: brightness(0.68) saturate(0.82);
}

.page-feature figcaption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 3.5rem 2rem 1.5rem;
	color: var(--rcc-cream);
	background: linear-gradient(transparent, rgba(5, 12, 7, 0.95));
	font-style: italic;
}

.service-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 2.5rem;
}

.service-detail {
	padding: 1.75rem;
	border-top: 3px solid var(--rcc-gold);
	background: var(--rcc-panel-alt);
}

.service-detail h2,
.service-detail h3 {
	margin-top: 0;
	color: var(--rcc-gold);
}

.service-detail figure {
	margin: -1.75rem -1.75rem 1.5rem;
	overflow: hidden;
}

.service-detail figure img {
	display: block;
	width: 100%;
	max-height: 330px;
	object-fit: cover;
	filter: brightness(0.72) saturate(0.8);
}

.page-cta {
	max-width: 900px;
	padding: 2rem;
	margin-top: 2.5rem;
	border: 1px solid var(--rcc-border);
	background: linear-gradient(135deg, rgba(49, 95, 61, 0.34), var(--rcc-panel));
	text-align: center;
}

.scenic-feature {
	max-width: 1050px !important;
	margin-top: 4rem !important;
	margin-bottom: 4rem !important;
	overflow: hidden;
	border: 1px solid var(--rcc-border);
	background: var(--rcc-panel);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.scenic-feature img {
	display: block;
	width: 100%;
	height: auto;
}

.scenic-feature figcaption {
	padding: 0.9rem 1.25rem;
	margin: 0;
	border-top: 1px solid var(--rcc-border);
	color: var(--rcc-text-light);
	background: var(--rcc-panel-alt);
	font-style: italic;
	text-align: center;
}

.about-profile,
.resume-header {
	display: grid;
	grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 4rem);
	align-items: center;
}

.about-profile {
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid var(--rcc-border);
	background: var(--rcc-panel);
}

.about-profile img,
.resume-header img {
	width: 100%;
	border: 1px solid var(--rcc-border);
	filter: saturate(0.82) contrast(1.04);
}

.about-profile h2,
.resume-header h1 {
	margin-top: 0;
}

.about-legacy {
	max-width: 1050px;
	margin-top: 3rem;
}

.about-legacy img {
	width: 100%;
	border: 1px solid var(--rcc-border);
	filter: brightness(0.7) saturate(0.68);
}

.about-legacy figcaption {
	color: var(--rcc-text-light);
	font-size: 0.86rem;
	font-style: italic;
	text-align: center;
}

.resume-header {
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--rcc-border);
}

.resume-kicker {
	color: var(--rcc-gold) !important;
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.resume-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 3rem;
}

.resume-fact {
	padding: 1.5rem;
	border-top: 3px solid var(--rcc-gold);
	background: var(--rcc-panel-alt);
}

.resume-fact h2 {
	margin-top: 0;
	color: var(--rcc-gold);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.resume-editorial {
	margin-top: 3rem;
}

.resume-editorial > h2 {
	padding-bottom: 0.8rem;
	border-bottom: 1px solid var(--rcc-border);
}

.resume-publication {
	padding: 1.5rem 0;
	border-bottom: 1px solid rgba(198, 164, 95, 0.18);
}

.resume-publication:last-child {
	border-bottom: 0;
}

/* Donald Richards résumé */
.page-template-page-resume .entry-content {
	text-align: center;
}

.page-template-page-resume .resume-header {
	display: block;
	max-width: 1000px;
	padding: clamp(2rem, 5vw, 3.5rem);
	border: 1px solid var(--rcc-border);
	background:
		linear-gradient(135deg, rgba(49, 95, 61, 0.22), transparent 45%),
		var(--rcc-panel);
	box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
}

.page-template-page-resume .resume-header > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 4rem);
	align-items: center;
}

.page-template-page-resume .resume-header figure {
	width: 100%;
	max-width: 280px;
	margin: 0 auto;
}

.page-template-page-resume .resume-header > .wp-block-group__inner-container > .wp-block-group {
	width: 100%;
	max-width: 610px;
	margin: 0 auto;
}

.page-template-page-resume .resume-header p {
	text-align: center;
}

.page-template-page-resume .resume-kicker {
	margin-bottom: 1.4rem;
}

.page-template-page-resume .resume-facts {
	display: block;
	max-width: 1050px;
	margin-top: 3rem;
}

.page-template-page-resume .resume-facts > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	align-items: stretch;
}

.page-template-page-resume .resume-fact {
	display: block;
	height: 100%;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--rcc-border);
	border-top: 3px solid var(--rcc-gold);
	background: var(--rcc-panel-alt);
}

.page-template-page-resume .resume-fact > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}

.page-template-page-resume .resume-fact h2,
.page-template-page-resume .resume-fact p,
.page-template-page-resume .resume-fact li {
	text-align: center;
}

.page-template-page-resume .resume-fact ul {
	padding: 0;
	margin-bottom: 0;
	list-style: none;
}

.page-template-page-resume .resume-editorial {
	display: block;
	max-width: 960px;
	margin-top: 4rem;
}

.page-template-page-resume .resume-editorial > .wp-block-group__inner-container {
	width: 100%;
}

.page-template-page-resume .resume-editorial h2 {
	padding-bottom: 0.75rem;
	margin-top: 3.5rem;
	border-bottom: 1px solid var(--rcc-border);
	color: var(--rcc-gold);
	text-align: center;
}

.page-template-page-resume .resume-editorial h2:first-child {
	margin-top: 0;
}

.page-template-page-resume .resume-publication {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	margin: 1rem 0;
	border: 1px solid rgba(198, 164, 95, 0.22);
	background: var(--rcc-panel-alt);
}

.page-template-page-resume .resume-publication p,
.page-template-page-resume .resume-editorial > .wp-block-group__inner-container > p {
	max-width: 820px;
	margin-right: auto;
	margin-left: auto;
	line-height: 1.78;
	text-align: center;
}

.page-template-page-resume .resume-publication strong {
	color: var(--rcc-cream);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.18em;
}

.primary-menu a,
.menu-toggle,
.submenu-toggle,
.contact-label,
.entry-meta,
.credential-card h3,
.resume-section h2,
.registry-card__contact,
.resource-link-card a,
.registry-card__link,
.form-field label,
.form-submit,
.form-required-note,
.theme-button,
.profile-resume-link,
.services-action a,
.resume-kicker,
.resume-fact h2 {
	font-family: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", serif;
}

.post-card .entry-title {
	font-size: 2rem;
}

.pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.page-numbers {
	padding: 0.35rem 0.7rem;
	border: 1px solid #c9c1b1;
	text-decoration: none;
}

/* Footer */
.site-footer {
	padding: 2rem;
	color: rgba(244, 241, 234, 0.66);
	background: var(--rcc-navy);
	font-size: 0.9rem;
	text-align: center;
}

.site-footer p {
	margin: 0;
}

.motto-small {
	margin-bottom: 0.5rem;
	color: var(--rcc-gold);
	font-style: italic;
	letter-spacing: 1px;
}

.site-footer {
	position: relative;
	padding: 0 2rem;
	border-top: 1px solid var(--rcc-border);
	background:
		radial-gradient(circle at 15% 0%, rgba(49, 95, 61, 0.22), transparent 28rem),
		#07100a;
	text-align: left;
}

.footer-ornament {
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: var(--rcc-wide);
	padding-top: 0.55rem;
	margin: 0 auto;
	color: var(--rcc-gold);
}

.footer-ornament::before,
.footer-ornament::after {
	flex: 1;
	height: 1px;
	content: "";
	background: linear-gradient(90deg, transparent, var(--rcc-border));
}

.footer-ornament::after {
	background: linear-gradient(90deg, var(--rcc-border), transparent);
}

.footer-inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 3vw, 2.5rem);
	max-width: var(--rcc-wide);
	padding: 0.9rem 0;
	margin: 0 auto;
	text-align: center;
}

.footer-motto {
	margin-bottom: 0.65rem;
	color: var(--rcc-gold);
	font-family: "Cormorant Garamond", "Baskerville", serif;
	font-size: clamp(1.65rem, 3vw, 2.2rem);
	font-style: italic;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1;
}

.footer-brand {
	display: grid;
	align-content: center;
	justify-items: center;
	min-height: 76px;
	border-right: 1px solid var(--rcc-border);
}

.footer-heading {
	padding-bottom: 0.35rem;
	margin: 0 0 0.65rem;
	border-bottom: 1px solid var(--rcc-border);
	color: var(--rcc-cream);
	font-size: 1.08rem;
}

.footer-menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-menu li + li {
	margin-top: 0.45rem;
}

.footer-menu a {
	color: var(--rcc-text-light);
	text-decoration: none;
}

.footer-menu a:hover,
.footer-menu a:focus {
	color: var(--rcc-gold);
}

.footer-contact p {
	margin: 0 0 0.25rem;
	color: var(--rcc-text-light);
}

.footer-contact address {
	margin-bottom: 0.25rem;
	color: var(--rcc-text-light);
	font-style: normal;
}

.footer-contact-link {
	display: inline-block;
	padding-bottom: 0.15rem;
	margin-top: 0.35rem;
	border-bottom: 1px solid var(--rcc-gold);
	color: var(--rcc-gold);
	text-decoration: none;
}

.footer-bottom {
	max-width: var(--rcc-wide);
	padding: 0.55rem 0 0.65rem;
	margin: 0 auto;
	border-top: 1px solid rgba(198, 164, 95, 0.15);
	color: rgba(243, 238, 223, 0.58);
	font-size: 0.78rem;
	text-align: center;
}

.footer-bottom p {
	margin: 0;
}

.footer-credit-inline {
	color: rgba(243, 238, 223, 0.78);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
}

/* Project examples carousel */
.rcc-carousel {
	max-width: var(--rcc-wide);
	padding: clamp(1rem, 2.5vw, 1.75rem);
	margin: 3rem auto 1rem;
	border: 1px solid var(--rcc-border);
	border-radius: 4px;
	outline: none;
	background:
		linear-gradient(135deg, rgba(198, 164, 95, 0.07), transparent 32%),
		var(--rcc-panel);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.rcc-carousel:focus-visible {
	outline: 2px solid var(--rcc-gold);
	outline-offset: 4px;
}

.rcc-carousel__stage {
	display: grid;
	min-height: clamp(340px, 62vw, 720px);
	overflow: hidden;
	border: 1px solid rgba(198, 164, 95, 0.22);
	background: #f7f5ee;
	place-items: center;
}

.rcc-carousel__slide {
	display: grid;
	width: 100%;
	height: 100%;
	margin: 0;
	grid-template-rows: 1fr auto;
}

.rcc-carousel__slide[hidden] {
	display: none;
}

.rcc-carousel__image-link {
	display: grid;
	min-height: 0;
	padding: clamp(0.4rem, 1vw, 0.9rem);
	background: #f7f5ee;
	place-items: center;
}

.rcc-carousel__slide img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 660px;
	object-fit: contain;
}

.rcc-carousel__slide figcaption {
	padding: 0.9rem 1rem;
	border-top: 1px solid rgba(49, 95, 61, 0.18);
	color: #183522;
	background: #ede7d7;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	font-weight: 600;
	text-align: center;
}

.rcc-carousel__controls {
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: center;
	padding-top: 1.25rem;
}

.rcc-carousel__arrow,
.rcc-carousel__dot {
	border: 1px solid var(--rcc-gold);
	color: var(--rcc-cream);
	background: transparent;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.rcc-carousel__arrow {
	display: grid;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	font-size: 1.25rem;
	place-items: center;
}

.rcc-carousel__arrow:hover,
.rcc-carousel__arrow:focus-visible,
.rcc-carousel__dot:hover,
.rcc-carousel__dot:focus-visible,
.rcc-carousel__dot.is-current {
	color: #09120c;
	background: var(--rcc-gold);
}

.rcc-carousel__arrow:hover {
	transform: translateY(-2px);
}

.rcc-carousel__dots {
	display: flex;
	gap: 0.55rem;
	align-items: center;
}

.rcc-carousel__dot {
	width: 0.72rem;
	height: 0.72rem;
	padding: 0;
	border-radius: 50%;
}

.rcc-carousel__status {
	min-width: 3.3rem;
	margin: 0;
	color: var(--rcc-text-light);
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.rcc-carousel__hint {
	margin: 0.85rem 0 0;
	color: var(--rcc-text-light);
	font-size: 0.84rem;
	text-align: center;
}

/* Centered About page presentation */
.page-template-page-about .entry-header {
	margin-bottom: 2.5rem;
	text-align: center;
}

.page-template-page-about .about-intro {
	max-width: 760px;
	margin: 0 auto 3rem;
	color: var(--rcc-text-light);
	font-size: clamp(1.08rem, 2vw, 1.25rem);
	line-height: 1.8;
	text-align: center;
}

.page-template-page-about .about-profile {
	display: block;
	max-width: 1000px;
	padding: clamp(2rem, 5vw, 4rem);
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.page-template-page-about .about-profile > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 4rem);
	align-items: center;
}

.page-template-page-about .about-profile > .wp-block-group__inner-container > figure {
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
}

.page-template-page-about .about-profile > .wp-block-group__inner-container > .wp-block-group {
	width: 100%;
	max-width: 620px;
	margin: 0 auto;
	text-align: center;
}

.page-template-page-about .about-profile p {
	text-align: center;
}

.page-template-page-about .entry-content > h2 {
	max-width: 900px;
	margin-top: 4rem;
	margin-bottom: 2rem;
	text-align: center;
}

.page-template-page-about .about-advisors {
	display: block;
	max-width: 900px;
	margin-right: auto;
	margin-left: auto;
}

.page-template-page-about .about-advisors > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

.page-template-page-about .about-advisor {
	display: block;
	min-height: 100%;
	padding: clamp(2rem, 4vw, 3rem) 2rem;
	border-top: 3px solid var(--rcc-gold);
	background: var(--rcc-panel-alt);
	text-align: center;
}

.page-template-page-about .about-advisor > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}

.page-template-page-about .about-advisor h3,
.page-template-page-about .about-advisor p {
	text-align: center;
}

.page-template-page-about .about-legacy {
	margin: 4rem auto 0;
	text-align: center;
}

/* Centered Services overview */
.services-page-intro {
	max-width: 780px !important;
	margin-bottom: 3rem !important;
	font-size: clamp(1.08rem, 2vw, 1.25rem);
	line-height: 1.8;
	text-align: center;
}

.services-overview {
	display: block;
	max-width: 1050px !important;
}

.services-overview > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 2.25rem);
	align-items: stretch;
}

.services-overview__card {
	display: block;
	overflow: hidden;
	border: 1px solid var(--rcc-border);
	border-top: 4px solid var(--rcc-gold);
	background: var(--rcc-panel-alt);
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
	text-align: center;
}

.services-overview__card > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
}

.services-overview__card figure {
	width: 100%;
	margin: 0 0 2rem;
}

.services-overview__card figure img {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
	filter: brightness(0.72) saturate(0.8);
}

.services-overview__card h2,
.services-overview__card p {
	max-width: 520px;
	padding-right: 2rem;
	padding-left: 2rem;
	text-align: center;
}

.services-overview__card h2 {
	margin-top: 0;
	color: var(--rcc-gold);
}

.services-overview__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	padding: 0 2rem 2.25rem;
	margin-top: auto;
}

.services-overview__actions .theme-button {
	margin: 0;
}

/* Surveying page */
.surveying-intro {
	max-width: 820px !important;
	margin-bottom: 3.5rem !important;
	color: var(--rcc-text-light);
	font-size: clamp(1.08rem, 2vw, 1.25rem);
	line-height: 1.8;
	text-align: center;
}

.surveying-section-title {
	max-width: 900px !important;
	margin-top: 4.5rem !important;
	margin-bottom: 1.75rem !important;
	color: var(--rcc-cream);
	text-align: center;
}

.notable-surveyors {
	display: block;
	max-width: 1000px !important;
}

.notable-surveyors > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 2.5rem);
	align-items: stretch;
}

.notable-surveyor {
	display: block;
	overflow: hidden;
	border: 1px solid var(--rcc-border);
	border-top: 4px solid var(--rcc-gold);
	background: var(--rcc-panel-alt);
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
	text-align: center;
}

.notable-surveyor > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.notable-surveyor figure {
	display: grid;
	width: 100%;
	height: clamp(390px, 54vw, 560px);
	margin: 0;
	background: #e8e1d0;
	place-items: center;
}

.notable-surveyor img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.notable-surveyors > .wp-block-group__inner-container > .notable-surveyor:nth-child(2) img {
	object-fit: cover;
	object-position: 50% 76%;
}

.notable-surveyor h3 {
	width: 100%;
	max-width: none !important;
	padding: 1.5rem 1.5rem 0.5rem;
	margin: 0;
	color: var(--rcc-gold);
	background: var(--rcc-panel-alt);
	text-align: center;
}

.notable-surveyor p {
	width: 100%;
	max-width: none !important;
	padding: 0 1.75rem 1.75rem;
	margin: 0;
	background: var(--rcc-panel-alt);
	text-align: center;
}

.surveying-services-list,
.survey-archive-grid {
	display: grid;
	gap: 0.85rem;
	max-width: 1000px !important;
	padding: 0;
	list-style: none;
}

.surveying-services-list {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.surveying-services-list li,
.survey-archive-grid li {
	display: grid;
	min-height: 100%;
	padding: 1.25rem;
	border: 1px solid var(--rcc-border);
	background: var(--rcc-panel-alt);
	color: var(--rcc-cream);
	text-align: center;
	place-items: center;
}

.survey-process {
	max-width: 900px !important;
	padding: 0;
	margin-top: 0;
	list-style: none;
	counter-reset: survey-step;
}

.survey-process li {
	position: relative;
	min-height: 4.25rem;
	padding: 1.25rem 1.5rem 1.25rem 5rem;
	margin-bottom: 0.75rem;
	border: 1px solid var(--rcc-border);
	background: linear-gradient(90deg, rgba(49, 95, 61, 0.3), var(--rcc-panel-alt));
	color: var(--rcc-text-light);
	text-align: left;
	counter-increment: survey-step;
}

.survey-process li::before {
	position: absolute;
	top: 50%;
	left: 1.25rem;
	display: grid;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--rcc-gold);
	border-radius: 50%;
	color: var(--rcc-gold);
	content: counter(survey-step);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.25rem;
	font-weight: 700;
	transform: translateY(-50%);
	place-items: center;
}

.survey-principles,
.survey-archive {
	display: block;
	max-width: 960px !important;
	padding: clamp(2rem, 5vw, 3.5rem);
	margin-top: 3.5rem !important;
	border: 1px solid var(--rcc-border);
	background: var(--rcc-panel);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.survey-principles p,
.survey-archive p {
	max-width: 820px;
	margin-right: auto;
	margin-left: auto;
	line-height: 1.8;
	text-align: center;
}

.survey-principles h2,
.survey-archive h2 {
	color: var(--rcc-gold);
	text-align: center;
}

.survey-archive-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 2rem;
}

.survey-history-gallery {
	display: block;
	max-width: 960px !important;
}

.survey-history-gallery > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 2.5rem);
	align-items: stretch;
}

.survey-history-image {
	display: grid;
	height: 100%;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--rcc-border);
	background: var(--rcc-panel-alt);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
	grid-template-rows: 1fr auto;
}

.survey-history-image a {
	display: grid;
	min-height: 0;
	padding: 0.75rem;
	background: #e8e1d0;
	place-items: center;
}

.survey-history-image img {
	display: block;
	width: 100%;
	height: clamp(420px, 55vw, 620px);
	object-fit: contain;
}

.survey-history-image figcaption {
	padding: 1rem 1.25rem;
	margin: 0;
	border-top: 1px solid var(--rcc-border);
	color: var(--rcc-text-light);
	background: var(--rcc-panel-alt);
	font-style: italic;
	text-align: center;
}

@media (max-width: 782px) {
	.site-header {
		padding: 0.4rem 1rem 0.75rem;
	}

	.menu-toggle {
		display: block;
	}

	.site-navigation {
		width: 100%;
		display: none;
		padding: 0.5rem 0 0;
	}

	.site-navigation.is-open {
		display: block;
	}

	.primary-menu,
	.primary-menu ul {
		display: block;
	}

	.primary-menu .sub-menu {
		position: static;
		display: none;
		width: auto;
		min-width: 0;
		padding: 0 0 0 1rem;
		border-top: 0;
		background: transparent;
		box-shadow: none;
		transform: none;
	}

	.primary-menu li:hover > .sub-menu,
	.primary-menu li:focus-within > .sub-menu {
		display: none;
	}

	.primary-menu li.is-open > .sub-menu {
		display: block;
	}

	.primary-menu .menu-item-has-children > a {
		padding-right: 2.5rem;
	}

	.submenu-toggle {
		position: absolute;
		top: 0.45rem;
		right: 0;
		display: grid;
		width: 2rem;
		height: 2rem;
		padding: 0;
		border: 1px solid rgba(41, 74, 50, 0.3);
		border-radius: 50%;
		color: #183522;
		background: transparent;
		font-size: 1.05rem;
		line-height: 1;
		place-items: center;
		cursor: pointer;
	}

	.submenu-toggle span {
		transition: transform 0.2s ease;
	}

	.submenu-toggle[aria-expanded="true"] span {
		transform: rotate(180deg);
	}

	.primary-menu a {
		padding: 0.7rem 0;
		border-top: 1px solid rgba(41, 74, 50, 0.18);
	}

	.hero {
		min-height: 520px;
		padding: 6rem 1.5rem 4.5rem;
	}

	.home-section {
		padding: 3.5rem 1.5rem;
	}

	.heritage-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.surveyor-profile {
		grid-template-columns: 1fr;
	}

	.surveyor-profile__identity {
		padding-right: 0;
		padding-bottom: 1.5rem;
		border-right: 0;
		border-bottom: 1px solid rgba(47, 81, 63, 0.25);
	}

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

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

	.resume-section--wide {
		grid-column: auto;
	}

	.registry-grid,
	.resource-link-grid,
	.form-grid,
	.service-detail-grid,
	.about-profile,
	.resume-header,
	.resume-facts {
		grid-template-columns: 1fr;
	}

	.page-template-page-resume .resume-header > .wp-block-group__inner-container,
	.page-template-page-resume .resume-facts > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
	}

	.form-field--full {
		grid-column: auto;
	}

	.footer-inner {
		grid-template-columns: 1fr;
		gap: 0.9rem;
		padding: 1rem 0;
	}

	.footer-brand {
		min-height: 0;
		padding-bottom: 0.9rem;
		border-right: 0;
		border-bottom: 1px solid var(--rcc-border);
	}

	.page-template-page-about .about-profile > .wp-block-group__inner-container,
	.page-template-page-about .about-advisors > .wp-block-group__inner-container,
	.services-overview > .wp-block-group__inner-container,
	.notable-surveyors > .wp-block-group__inner-container,
	.survey-history-gallery > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
	}

	.surveying-services-list,
	.survey-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 500px) {
	.brand-logo {
		max-width: 94vw;
	}

	.motto-box {
		padding: 1.5rem 0.5rem;
	}

	.heritage-card,
	.service-item {
		padding: 1.5rem;
	}

	.rcc-carousel {
		padding: 0.65rem;
	}

	.rcc-carousel__stage {
		min-height: 310px;
	}

	.rcc-carousel__controls {
		gap: 0.65rem;
	}

	.home-search-panel {
		grid-template-columns: 1fr;
		gap: 0.65rem;
		text-align: center;
	}

	.home-search-form {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.surveying-services-list,
	.survey-archive-grid {
		grid-template-columns: 1fr;
	}

	.survey-process li {
		padding-left: 4.5rem;
	}
}

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

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