/*!
Theme Name: Ryland Designs 2026
Theme URI: https://rylanddesign.co.uk
Author: SquareOne Systems Ltd
Author URI: https://squareonesystems.co.uk
Description: Bespoke theme for Ryland Design Architecture.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ryland-designs-2026
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
/* =============================================================================
   FONT — Helvetica Neue
   Files live in this theme's /fonts/ folder:
   HelveticaNeueRoman.otf, HelveticaNeueMedium.otf, HelveticaNeueBold.otf,
   HelveticaNeueHeavy.otf, HelveticaNeueBlack.otf, HelveticaNeueItalic.ttf
   ============================================================================= */
@font-face {
	font-family: 'Helvetica Neue';
	src: url('fonts/HelveticaNeueRoman.otf') format('opentype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Helvetica Neue';
	src: url('fonts/HelveticaNeueItalic.ttf') format('truetype');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Helvetica Neue';
	src: url('fonts/HelveticaNeueMedium.otf') format('opentype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Helvetica Neue';
	src: url('fonts/HelveticaNeueBold.otf') format('opentype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Helvetica Neue';
	src: url('fonts/HelveticaNeueHeavy.otf') format('opentype');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Helvetica Neue';
	src: url('fonts/HelveticaNeueBlack.otf') format('opentype');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}
p {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}
html, body {
	overflow-x: hidden !important;
	width: 100%;
}
/* =============================================================================
   TABLE OF CONTENTS
   1. CSS Custom Properties (design tokens)
   2. Base / Reset
   3. Utility Bar
   4. Main Navigation
   5. Offcanvas Mobile Menu
   6. Accreditation Bar
   7. Footer
   8. Responsive overrides
   ============================================================================= */
/* =============================================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================================= */
:root {
	--rd-black:        #0a0a0a;
	--rd-dark:         #141414;
	--rd-border:       rgba(255, 255, 255, 0.1);
	--rd-white:        #FFF;
	--rd-accent:       #ffffff;
	--rd-muted:        #FFF;
	--rd-font-display: 'Helvetica Neue', Arial, sans-serif;
	--rd-font-body:    'Helvetica Neue', Arial, sans-serif;
}
/* =============================================================================
   2. BASE / RESET
   ============================================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}
body {
	font-family: var(--rd-font-body);
	background: #eef1f2;
	margin: 0;
	overflow-x: hidden !important;
}
body:has(.rd-page-hero):not(.home) .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;          /* see the hero image on load */
  transition: background .3s ease;
}
/* When your scroll JS adds the .scrolled class, go solid */
body:has(.rd-page-hero):not(.home) .site-header.scrolled {
  background: #000;                 /* match your homepage scrolled colour */
}
/* =============================================================================
   3. SITE HEADER WRAPPER + UTILITY BAR + MAIN NAVIGATION
   Single <header id="siteHeader"> contains both elements so they always
   move together. No z-index fights, no JS measurement needed for stacking.
   ============================================================================= */
/* ── Wrapper ─────────────────────────────────────────────────────────────── */
.site-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1040;
	width: 100%;
	background: var(--rd-black);
	transition: background 0.4s ease, box-shadow 0.4s ease;
}
/* On the home page the whole header overlays the hero — starts transparent */
.home-page .site-header {
	position: fixed;
	background: transparent;
}
/* Once scrolled — both bars become opaque together */
.site-header.scrolled {
	background: rgba(10, 10, 10, 0.97) !important;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(14px);
}
/* ── Utility bar ─────────────────────────────────────────────────────────── */
.utility-bar {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rd-muted);
	padding: 0.45rem 0;
}
.utility-bar a {
	color: var(--rd-muted);
	text-decoration: none;
	transition: color 0.2s;
}
.utility-bar a:hover { color: var(--rd-accent); }
.utility-bar .sep {
	display: inline-block;
	width: 1px;
	height: 0.8em;
	background: rgba(255, 255, 255, 0.25);
	vertical-align: middle;
	margin: 0 0.75rem;
}
/* ── Main nav ────────────────────────────────────────────────────────────── */
.main-nav {
	padding: 0;
	border-bottom: 1px solid var(--rd-border);
}
/* Flex container inside nav */
.main-nav .container-xl {
	display: flex;
	align-items: stretch;
	padding-top: 0;
	padding-bottom: 0;
}
/* ── Logo ────────────────────────────────────────────────────────────────── */
.nav-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	padding: 0.5rem 0;
	flex-shrink: 0;
}
.nav-logo img {
	height: 120px;
	width: auto;
	display: block;
}
/* ── Desktop nav links ───────────────────────────────────────────────────── */
.nav-links {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-links li a {
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rd-muted);
	text-decoration: none;
	padding: 0 0rem 0 1rem;
	display: flex;
	align-items: center;
	height: 94px; /* match logo height so underline reaches the bottom */
	position: relative;
	transition: color 0.2s;
}
.nav-links li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 1rem;
	right: 1rem;
	height: 2px;
	background: var(--rd-accent);
	transform: scaleX(0);
	transition: transform 0.3s ease;
	transform-origin: center;
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--rd-white); }
.nav-links li a:hover::after,
.nav-links li a.active::after { transform: scaleX(1); }
/* ── Hamburger toggler ───────────────────────────────────────────────────── */
.nav-toggler {
	background: none;
	border: 1px solid var(--rd-border);
	color: var(--rd-white);
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}
.nav-toggler:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: var(--rd-accent);
	color: var(--rd-accent);
}
/* =============================================================================
   5. OFFCANVAS MOBILE MENU
   ============================================================================= */
.offcanvas {
	background: var(--rd-dark) !important;
	border-right: 1px solid var(--rd-border) !important;
	max-width: 320px;
}
.offcanvas-header {
	border-bottom: 1px solid var(--rd-border);
	padding: 1.25rem 1.5rem;
}
.offcanvas-header img {
	height: 44px;
	width: auto;
}
.offcanvas-header .btn-close {
	filter: invert(1) opacity(0.6);
	transition: opacity 0.2s;
}
.offcanvas-header .btn-close:hover {
	opacity: 1;
	filter: invert(1);
}
.offcanvas-body {
	padding: 1.5rem;
}
/* Nav list */
.offcanvas-nav {
	list-style: none;
	padding: 0;
	margin: 0;
}
.offcanvas-nav li {
	border-bottom: 1px solid var(--rd-border);
}
.offcanvas-nav li:last-child {
	border-bottom: none;
}
.offcanvas-nav li a {
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rd-muted);
	text-decoration: none;
	padding: 1rem 0.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: color 0.2s, padding-left 0.2s;
}
.offcanvas-nav li a:hover {
	color: var(--rd-white);
	padding-left: 0.5rem;
}
.offcanvas-nav li a .fa-chevron-right {
	font-size: 0.6rem;
	opacity: 0.4;
}
/* Contact block inside offcanvas */
.offcanvas-contact {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rd-border);
}
.offcanvas-contact p {
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rd-accent);
	margin-bottom: 0.75rem;
	font-weight: 500;
}
.offcanvas-contact a {
	display: block;
	color: var(--rd-muted);
	text-decoration: none;
	font-size: 0.8rem;
	margin-bottom: 0.4rem;
	transition: color 0.2s;
}
.offcanvas-contact a:hover {
	color: var(--rd-white);
}
/* Social icons row in offcanvas */
.offcanvas-social {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.5rem;
}
.offcanvas-social a {
	width: 36px;
	height: 36px;
	border: 1px solid var(--rd-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--rd-muted);
	text-decoration: none;
	font-size: 0.85rem;
	transition: all 0.2s;
}
.offcanvas-social a:hover {
	border-color: var(--rd-accent);
	color: var(--rd-accent);
	background: rgba(200, 169, 110, 0.08);
}
/* =============================================================================
   6. ACCREDITATION BAR
   ============================================================================= */
.accreditation-bar {
	background: #fff;
	border-bottom: 1px solid #e2ddd7;
	padding: 1.25rem 0;
	overflow-x: auto; /* scroll on very small screens rather than wrapping */
}
.accreditation-bar .row {
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
}
.acc-img-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 0.75rem;
}
.acc-img-wrap img {
	width: 176px;
	max-width: 100%;
	height: 80px;
	object-fit: contain;
	object-position: center;
	filter: grayscale(30%);
	opacity: 0.8;
	transition: filter 0.2s, opacity 0.2s;
}
.acc-img-wrap img:hover {
	filter: grayscale(0);
	opacity: 1;
}
/* =============================================================================
   7. FOOTER
   ============================================================================= */
.site-footer {
	background: var(--rd-dark);
	padding: 4rem 0 0;
	color: var(--rd-muted);
}
/* Footer logo */
.footer-logo img {
	height: 185px;
	width: auto;
	display: block;
	margin-bottom: 1.25rem;
}
.mt-4-5 {
	margin-top: 4.5rem!important;
}
/* Tagline */
.footer-tagline {
	font-family: var(--rd-font-display);
	font-size: 0.9rem;
	color: var(--rd-muted);
	font-style: italic;
	margin-bottom: 1.5rem;
	line-height: 1.5;
}
/* Column heading */
.footer-col-title {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--rd-accent);
	margin-bottom: 1.5rem;
}
/* Quick links list */
.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-links li {
	margin-bottom: 0.65rem;
}
.footer-links li a {
	color: #FFF;
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 300;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: color 0.2s, padding-left 0.2s;
}
.footer-links li a .fa-chevron-right {
	font-size: 0.55rem;
	opacity: 0.4;
}
.footer-links li a:hover {
	color: var(--rd-white);
	padding-left: 0.35rem;
}
/* Office contact items */
.contact-item {
	margin-bottom: 0.85rem;
}
.contact-item .location {
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rd-accent);
	display: block;
	margin-bottom: 0.15rem;
}
.contact-item a {
	color: var(--rd-muted);
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 300;
	transition: color 0.2s;
}
.contact-item a:hover {
	color: var(--rd-white);
}
/* Email row */
.email-item {
	margin-bottom: 1.5rem;
}
.email-item a {
	color: var(--rd-muted);
	text-decoration: none;
	font-size: 0.85rem;
	transition: color 0.2s;
}
.email-item a:hover {
	color: var(--rd-white);
}
/* Social icon circles */
.footer-social {
	display: flex;
	gap: 0.6rem;
	margin-top: 0.5rem;
}
.footer-social a {
	width: 38px;
	height: 38px;
	border: 1px solid var(--rd-border);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--rd-muted);
	text-decoration: none;
	font-size: 0.85rem;
	transition: all 0.25s;
}
.footer-social a:hover {
	border-color: var(--rd-accent);
	color: var(--rd-accent);
	background: rgba(200, 169, 110, 0.08);
	transform: translateY(-2px);
}
/* Follow Us column — icon + label links */
.footer-social-icon {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	transition: all 0.2s;
}
a:hover .footer-social-icon {
	border-color: var(--rd-accent);
	color: var(--rd-accent);
	background: rgba(200, 169, 110, 0.08);
}
/* Bottom bar */
.footer-divider {
	border-top: 1px solid var(--rd-border);
	margin-top: 3rem;
}
.footer-bottom {
	padding: 1.25rem 0;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
	color: rgba(245, 245, 245, 0.3);
}
.footer-bottom a {
	color: rgba(245, 245, 245, 0.4);
	text-decoration: none;
	transition: color 0.2s;
}
.footer-bottom a:hover {
	color: var(--rd-accent);
}
/* =============================================================================
   8. RESPONSIVE OVERRIDES
   ============================================================================= */
@media (max-width: 991.98px) {
	.footer-col {
		margin-bottom: 2.5rem;
	}
	.nav-logo img {
	height: 85px;
	width: auto;
	display: block;
}
}
@media (max-width: 575.98px) {
	.footer-bottom .text-end {
		text-align: start !important;
		margin-top: 0.35rem;
	}
}
/* =============================================================================
   9. HERO SECTION  (front-page.php)
   ============================================================================= */
/*
 * CSS custom properties set by JS once the nav/utility-bar heights are known.
 * Fallbacks cover the static render before JS fires.
 * --rd-nav-h   = combined utility bar + main nav height (px)
 * --rd-strip-h = portfolio carousel strip height (px)
 */
:root {
	--rd-nav-h:   120px; /* fallback — JS overwrites on load + resize */
	--rd-strip-h: 300px; /* must match .rd-portfolio-strip__slide height below */
}
.rd-hero {
	position: relative;
	width: 100%;
	/*
	 * Exact height so hero + carousel = 100vh with no scrolling needed.
	 * The nav is fixed (position:fixed) on the home page so we do NOT
	 * subtract its height from the hero — it floats above.
	 * We DO subtract the carousel strip height so both fit in one viewport.
	 */
	height: calc(100vh - var(--rd-strip-h));
	min-height: 400px; /* safety floor on very short screens */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--rd-black);
}
/* Background image — geo pattern dropped via ACF / inline style */
.rd-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	/* subtle Ken-Burns drift — feels alive without being distracting */
	animation: rd-hero-drift 20s ease-in-out infinite alternate;
	will-change: transform;
}
/* Fallback dark colour if no image is set */
.rd-hero__bg--fallback {
	background: var(--rd-black);
}
@keyframes rd-hero-drift {
	from { transform: scale(1.00) translate(0, 0); }
	to   { transform: scale(1.06) translate(-1%, -1%); }
}
/* Dark gradient overlay — sharpens text legibility */
.rd-hero__overlay {
	position: absolute;
	inset: 0;
}
/* Content */
.rd-hero__content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 0 1.5rem;
	max-width: 1140px;
}
.rd-hero__title {
	border-bottom: 6px solid #FFF;
	font-family: var(--rd-font-body);
	font-size: clamp(3rem, 9vw, 7.5rem);
	font-weight: 800;
	color: var(--rd-white);
	letter-spacing: -0.01em;
	line-height: 1;
	margin-bottom: 1.25rem;
	text-transform: uppercase;
}
.rd-hero__tagline {
	font-family: var(--rd-font-body);
	font-size: clamp(0.75rem, 1.5vw, 1.50rem);
	font-weight: 400;
	color: rgba(245, 245, 245, 0.85);
	letter-spacing: 0.04em;
	margin: 0;
}
/* Animated scroll cue */
.rd-hero__scroll-cue {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	color: rgba(245, 245, 245, 0.5);
	font-size: 1.1rem;
	text-decoration: none;
	animation: rd-cue-bounce 2s ease-in-out infinite;
	transition: color 0.2s;
}
.rd-hero__scroll-cue:hover {
	color: var(--rd-accent);
}
@keyframes rd-cue-bounce {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50%       { transform: translateX(-50%) translateY(6px); }
}
/* =============================================================================
   10. PORTFOLIO STRIP — OWL CAROUSEL  (front-page.php)
   ============================================================================= */
.rd-portfolio-strip {
	background: #1a1a1a;
	padding: 0;
	overflow: hidden;
	position: relative;
}
/* Each slide — uniform fixed height, image fills it */
.rd-portfolio-strip__slide {
	height: 300px;
	overflow: hidden;
}
.rd-portfolio-strip__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.4s ease;
}
.rd-portfolio-strip__slide:hover .rd-portfolio-strip__img {
	transform: scale(1.05);
}
/* Owl nav buttons — styled to match the site */
.rd-portfolio-strip .owl-nav button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	background: rgba(10, 10, 10, 0.7) !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
	border-radius: 0 !important;
	color: var(--rd-white) !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, border-color 0.2s;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 0 !important; /* hide Owl's default < > text */
	line-height: 0 !important;
}
.rd-portfolio-strip .owl-nav button::after {
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 0.8rem;
	color: var(--rd-white);
}
.rd-portfolio-strip .owl-nav button.owl-prev { left: 0.75rem; }
.rd-portfolio-strip .owl-nav button.owl-next { right: 0.75rem; }
.rd-portfolio-strip .owl-nav button.owl-prev::after { content: '\f053'; } /* fa-chevron-left  */
.rd-portfolio-strip .owl-nav button.owl-next::after { content: '\f054'; } /* fa-chevron-right */
.rd-portfolio-strip .owl-nav button:hover {
	background: var(--rd-accent) !important;
	border-color: var(--rd-accent) !important;
}
/* Hide Owl dots — not needed on a strip */
.rd-portfolio-strip .owl-dots { display: none; }
/* =============================================================================
   11. HERO + STRIP RESPONSIVE
   ============================================================================= */
@media (max-width: 575.98px) {
	.rd-hero__tagline { letter-spacing: 0.06em; }
	.rd-portfolio-strip__slide { height: 200px; }
	:root { --rd-strip-h: 200px; }
}
@media (min-width: 576px) and (max-width: 767.98px) {
	.rd-portfolio-strip__slide { height: 220px; }
	:root { --rd-strip-h: 220px; }
}
/* =============================================================================
   12. INTRO SECTION  (front-page.php)
   ============================================================================= */
.rd-intro {
	padding: 6rem 0;
}
/* Heading */
.rd-intro__heading {
	font-family: var(--rd-font-display);
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 400;
	color: var(--rd-black);
	line-height: 1.15;
	margin-bottom: 1.25rem;
}
/* Bold subheading */
.rd-intro__subheading {
	font-family: var(--rd-font-body);
	font-size: 1rem;
	font-weight: 700;
	color: var(--rd-black);
	line-height: 1.5;
	margin-bottom: 1.25rem;
}
/* Body copy */
.rd-intro__body {
	text-align: justify;
	font-family: var(--rd-font-body);
	font-size: 0.92rem;
	font-weight: 300;
	color: #555;
	line-height: 1.8;
}
.rd-intro__body p { margin-bottom: 0; }
/* ── Fading image carousel ───────────────────────────────────── */
.rd-intro__carousel {
	position: relative;
	width: 100%;
	/* Fixed aspect ratio — 4:3 feels right for property photography */
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f0ede8;
}
/* All slides stacked, hidden by default */
.rd-intro__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	pointer-events: none;
}
/* Active slide fades in */
.rd-intro__slide--active {
	opacity: 1;
	pointer-events: auto;
}
.rd-intro__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
/* Responsive */
@media (max-width: 991.98px) {
	.rd-intro {
		padding: 4rem 0;
	}
	.rd-intro__carousel {
		aspect-ratio: 16 / 9;
	}
}
@media (max-width: 575.98px) {
	.rd-intro {
		padding: 3rem 0;
	}
}
/* =============================================================================
   13. SERVICES SECTION  (front-page.php → services CPT)
   ============================================================================= */
.rd-services {
	padding: 5rem 0;
}
/* Section header */
.rd-services__header {
	margin-bottom: 2.5rem;
}
.rd-services__title {
	font-family: var(--rd-font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	color: var(--rd-black);
	line-height: 1.1;
	margin-bottom: 0.75rem;
}
.rd-services__subtitle {
	font-size: 0.9rem;
	font-weight: 300;
	color: #555;
	max-width: 560px;
	line-height: 1.7;
	margin: 0;
}
/* ── Service card ────────────────────────────────────────────── */
.rd-service-card {
	background: #ffffff;
	border: none;
	padding: 1.5rem 1.5rem 1.25rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s, box-shadow 0.25s;
}
.rd-service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
/* Icon — image centred */
.rd-service-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	height: 64px;
}
.rd-service-card__icon img {
	height: 64px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}
/* Title */
.rd-service-card__title {
	font-family: var(--rd-font-body);
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--rd-black);
	margin-bottom: 0.65rem;
	line-height: 1.35;
}
/* Description */
.rd-service-card__text {
	font-size: 0.82rem;
	font-weight: 300;
	color: #555;
	line-height: 1.7;
	flex: 1;
	margin-bottom: 1rem;
}
/* Read More link */
.rd-service-card__link {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rd-black);
	text-decoration: none;
	border-bottom: 1px solid var(--rd-black);
	padding-bottom: 0.1rem;
	align-self: center;
	transition: color 0.2s, border-color 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}
.rd-service-card__link i {
	font-size: 0.65rem;
	transition: transform 0.2s;
}
.rd-service-card__link:hover {
	color: #444;
	border-color: #444;
}
.rd-service-card__link:hover i {
	transform: translateX(3px);
}
/* Responsive */
@media (max-width: 575.98px) {
	.rd-services {
		padding: 3rem 0;
	}
}
/* =============================================================================
   14. WHY CHOOSE RYLAND SECTION  (front-page.php → ACF repeater)
   ============================================================================= */
.rd-why {
	padding: 5rem 0;
}
.rd-why__header {
	margin-bottom: 2.5rem;
}
.rd-why__title {
	font-family: var(--rd-font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	color: var(--rd-black);
	line-height: 1.1;
	margin-bottom: 0.75rem;
}
.rd-why__subtitle {
	font-size: 0.9rem;
	font-weight: 300;
	color: #555;
	max-width: 560px;
	line-height: 1.7;
	margin: 0;
}
/* ── Why card — same style as service card ───────────────────── */
.rd-why-card {
	background: #ffffff;
	border: none;
	padding: 1.5rem 1.5rem 1.25rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s, box-shadow 0.25s;
}
.rd-why-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.rd-why-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	height: 64px;
}
.rd-why-card__icon img {
	height: 64px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}
.rd-why-card__title {
	font-family: var(--rd-font-body);
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--rd-black);
	margin-bottom: 0.65rem;
	line-height: 1.35;
}
.rd-why-card__text {
	font-size: 0.82rem;
	font-weight: 300;
	color: #555;
	line-height: 1.7;
	margin: 0;
}
@media (max-width: 575.98px) {
	.rd-why {
		padding: 3rem 0;
	}
}
/* =============================================================================
   15. CTA BLOCK  (front-page.php)
   ============================================================================= */
.rd-cta {
	background: var(--rd-black);
	padding: 5rem 1.5rem;
}
.rd-cta__inner {
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}
.rd-cta__icon {
	font-size: 2.8rem;
	color: var(--rd-white);
	margin-bottom: 1.5rem;
	opacity: 0.75;
}
.rd-cta__heading {
	font-family: var(--rd-font-body);
	font-size: clamp(1.2rem, 2.5vw, 1.6rem);
	font-weight: 600;
	color: var(--rd-white);
	margin-bottom: 0.6rem;
	letter-spacing: 0.01em;
}
.rd-cta__sub {
	font-size: 0.9rem;
	font-weight: 300;
	color: var(--rd-muted);
	margin-bottom: 2rem;
}
.rd-cta__btn {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rd-white);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	padding-bottom: 0.2rem;
	transition: border-color 0.2s, color 0.2s;
}
.rd-cta__btn:hover {
	color: var(--rd-white);
	border-color: var(--rd-white);
}
/* =============================================================================
   16. DESIGN PROCESS SECTION  (front-page.php)
   ============================================================================= */
.rd-process {
	padding: 0;
}
/* Process banner — no background, text sits on page background */
.rd-process__banner {
	padding: 3.5rem 0 2rem;
}
.rd-process__eyebrow {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #888;
	margin-bottom: 0.6rem;
}
.rd-process__title {
	font-family: var(--rd-font-body);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 800;
	color: var(--rd-black);
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 1;
	margin: 0;
}
/* Body area */
.rd-process__body {
	padding: 4rem 0 5rem;
}
.rd-process__intro {
	font-size: 0.9rem;
	font-weight: 300;
	color: #444;
	line-height: 1.8;
	max-width: 860px;
	margin-bottom: 3rem;
}
/* Individual step */
.rd-process__step {
	max-width: 860px;
	margin-bottom: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.rd-process__step:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.rd-process__step-title {
	font-family: var(--rd-font-body);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--rd-black);
	margin-bottom: 0.65rem;
}
.rd-process__step-text {
	font-size: 0.88rem;
	font-weight: 300;
	color: #555;
	line-height: 1.8;
}
.rd-process__step-text p { margin-bottom: 0.75rem; }
.rd-process__step-text p:last-child { margin-bottom: 0; }
.rd-process__step-text ol,
.rd-process__step-text ul {
	padding-left: 1.25rem;
	margin-bottom: 0.75rem;
}
.rd-process__step-text li {
	margin-bottom: 0.3rem;
}
@media (max-width: 575.98px) {
	.rd-process__banner { padding: 2.5rem 0 2rem; }
	.rd-process__body   { padding: 3rem 0; }
	.rd-cta             { padding: 3.5rem 1.5rem; }
}
/* Follow Us column text links */
.footer-follow-link {
	color: var(--rd-muted);
	font-size: 0.78rem;
	transition: color 0.2s;
}
.footer-follow-link:hover {
	color: var(--rd-white);
}
.footer-follow-link:hover .footer-social-icon {
	border-color: var(--rd-accent);
	color: var(--rd-accent);
}
/* =============================================================================
   17. PAGE HERO  (shared — used on About, Services, etc.)
   ============================================================================= */
.rd-page-hero {
	position: relative;
	height: 480px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--rd-black);
	padding-top: 140px;
}
.rd-page-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
.rd-page-hero__bg--fallback {
	background: var(--rd-black);
}
.rd-page-hero__overlay {
	position: absolute;
	inset: 0;
}
.rd-page-hero__content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 0 1.5rem;
}
.rd-page-hero__title {
	font-family: var(--rd-font-body);
	font-size: clamp(1.8rem, 5vw, 3.0rem);
	font-weight: 800;
	color: var(--rd-white);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-bottom: 2px solid #FFF;
	line-height: 1;
	max-width: max-content;
    margin: 0.6rem auto;
}
.rd-page-hero__subtitle {
	font-size: clamp(0.75rem, 1.5vw, 0.9rem);
	font-weight: 300;
	color: rgba(245, 245, 245, 0.8);
	letter-spacing: 0.04em;
	max-width: 750px;
    margin: 0 auto;
}
@media (max-width: 575.98px) {
	.rd-page-hero {
		height: 220px;
	}
}
/* =============================================================================
   18. ABOUT US PAGE
   ============================================================================= */
.rd-about {
	padding: 5rem 0;
}
/* Intro paragraph */
.rd-about__intro {
	font-size: 0.92rem;
	font-weight: 300;
	color: #444;
	line-height: 1.8;
	margin-bottom: 2.5rem;
}
.rd-about__intro p { margin-bottom: 1rem; }
.rd-about__intro p:last-child { margin-bottom: 0; }
/* Repeating content sections */
.rd-about__section {
	margin-bottom: 2.25rem;
	padding-bottom: 2.25rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.rd-about__section:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.rd-about__section-heading {
	font-family: var(--rd-font-body);
	font-size: 1rem;
	font-weight: 700;
	color: var(--rd-black);
	margin-bottom: 0.75rem;
}
.rd-about__section-content {
	font-size: 0.88rem;
	font-weight: 300;
	color: #555;
	line-height: 1.8;
}
.rd-about__section-content p  { margin-bottom: 0.85rem; }
.rd-about__section-content p:last-child { margin-bottom: 0; }
.rd-about__section-content ul,
.rd-about__section-content ol { padding-left: 1.25rem; margin-bottom: 0.85rem; }
.rd-about__section-content li { margin-bottom: 0.35rem; }
/* Right column image — sticky so it stays visible while text scrolls */
.rd-about__image-wrap {
	position: sticky;
	top: 140px; /* clears the fixed nav + utility bar */
}
.rd-about__image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}
@media (max-width: 991.98px) {
	.rd-about {
		padding: 3rem 0;
	}
	/* Image goes below text on tablet/mobile — no longer sticky */
	.rd-about__image-wrap {
		position: static;
	}
	.rd-about__image {
		max-height: 400px;
		object-fit: cover;
		width: 100%;
	}
}
/* =============================================================================
   19. CONTACT PAGE
   ============================================================================= */
.rd-contact {
	padding: 0;
}
/* ── Left info panel ─────────────────────────────────────────── */
.rd-contact__info {
	padding: 4rem 3rem 4rem 0;
}
.rd-contact__heading {
	font-family: var(--rd-font-display);
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 400;
	color: var(--rd-black);
	line-height: 1.2;
	margin-bottom: 1.5rem;
}
.rd-contact__intro {
	font-size: 0.88rem;
	font-weight: 300;
	color: #555;
	line-height: 1.8;
	margin-bottom: 1.75rem;
}
.rd-contact__intro p { margin-bottom: 0.85rem; }
.rd-contact__intro p:last-child { margin-bottom: 0; }
.rd-contact__detail {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.75rem;
	font-size: 0.88rem;
	color: #444;
}
.rd-contact__detail i { color: var(--rd-black); font-size: 1rem; }
.rd-contact__detail a {
	color: #444;
	text-decoration: none;
	transition: color 0.2s;
}
.rd-contact__detail a:hover { color: var(--rd-black); }
.rd-contact__label {
	font-size: 0.82rem;
	font-weight: 700 !important;
	color: var(--rd-black);
	margin-bottom: 0.5rem;
}
.rd-contact__address {
	margin-bottom: 1.75rem;
}
.rd-contact__address address {
	font-style: normal;
	font-size: 0.88rem;
	font-weight: 300;
	color: #555;
	line-height: 1.9;
}
.rd-contact__phones {
	font-size: 0.88rem;
	color: #555;
}
.rd-contact__phones p {
	margin-bottom: 0.35rem;
	font-weight: 300;
}
.rd-contact__phones a {
	color: #555;
	text-decoration: none;
	transition: color 0.2s;
}
.rd-contact__phones a:hover { color: var(--rd-black); }
/* ── Right form panel ────────────────────────────────────────── */
.rd-contact__form-wrap {
	background: #eef1f2;
	padding: 4rem 3rem 4rem 4rem;
	height: 100%;
}
/* Generic form field styles — covers both CF7 and the fallback form */
.rd-contact__form-wrap .wpcf7-form,
.rd-contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
/* Field wrapper — CF7 wraps fields in <p> by default */
.rd-contact__form-wrap .wpcf7-form p,
.rd-contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0;
}
.rd-contact__form-wrap label,
.rd-contact-form__field label {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--rd-black);
	letter-spacing: 0.02em;
}
.rd-contact__form-wrap input[type="text"],
.rd-contact__form-wrap input[type="email"],
.rd-contact__form-wrap input[type="tel"],
.rd-contact__form-wrap textarea,
.rd-contact-form input[type="text"],
.rd-contact-form input[type="email"],
.rd-contact-form input[type="tel"],
.rd-contact-form textarea {
	width: 100%;
	background: #ffffff;
	border: 1px solid #d8d8d8;
	border-radius: 6px;
	padding: 0.65rem 0.85rem;
	font-size: 0.88rem;
	font-family: var(--rd-font-body);
	color: var(--rd-black);
	transition: border-color 0.2s, box-shadow 0.2s;
	outline: none;
}
.rd-contact__form-wrap input:focus,
.rd-contact__form-wrap textarea:focus,
.rd-contact-form input:focus,
.rd-contact-form textarea:focus {
	border-color: var(--rd-black);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.rd-contact__form-wrap textarea,
.rd-contact-form textarea {
	resize: vertical;
	min-height: 150px;
}
/* Consent checkbox row */
.rd-contact__form-wrap .wpcf7-acceptance,
.rd-contact-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.78rem;
	color: #666;
	line-height: 1.5;
}
.rd-contact-form__consent input[type="checkbox"] {
	margin-top: 0.15rem;
	flex-shrink: 0;
	accent-color: var(--rd-black);
}
/* Submit button */
.rd-contact__form-wrap input[type="submit"],
.rd-contact__form-wrap .wpcf7-submit,
.rd-contact-form__submit {
	display: inline-block;
	background: var(--rd-black);
	color: var(--rd-white);
	border: none;
	border-radius: 6px;
	padding: 0.85rem 2.5rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	cursor: pointer;
	font-family: var(--rd-font-body);
	transition: background 0.2s, transform 0.2s;
	align-self: flex-start;
}
.rd-contact__form-wrap input[type="submit"]:hover,
.rd-contact__form-wrap .wpcf7-submit:hover,
.rd-contact-form__submit:hover {
	background: #222;
	transform: translateY(-1px);
}
/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991.98px) {
	.rd-contact__info    { padding: 3rem 0; }
	.rd-contact__form-wrap { padding: 3rem; }
}
@media (max-width: 575.98px) {
	.rd-contact__form-wrap { padding: 2rem 1.5rem; }
}
/* =============================================================================
   20. LEAFLET MAP
   ============================================================================= */
.rd-map {
	width: 100%;
	height: 480px;
	position: relative;
}
#rdLeafletMap {
	width: 100%;
	height: 100%;
}
/* Custom marker popup */
.rd-map-popup .leaflet-popup-content-wrapper {
	background: var(--rd-black);
	color: var(--rd-white);
	border-radius: 0;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
	padding: 0;
	min-width: 200px;
}
.rd-map-popup .leaflet-popup-content {
	margin: 1.1rem 1.4rem;
	font-size: 0.85rem;
	font-family: var(--rd-font-body);
	line-height: 1.8;
	color: var(--rd-white);
	white-space: nowrap;
}
.rd-map-popup .leaflet-popup-tip {
	background: var(--rd-black);
}
.rd-map-popup .leaflet-popup-close-button {
	color: rgba(255, 255, 255, 0.6) !important;
}
@media (max-width: 575.98px) {
	.rd-map { height: 320px; }
}
/* Custom Leaflet pin marker */
.rd-map-pin {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: var(--rd-black);
	filter: drop-shadow( 0 2px 6px rgba(0,0,0,0.35) );
}
/* =============================================================================
   21. AWARDS PAGE
   ============================================================================= */
.rd-awards {
	padding: 5rem 0;
}
/* Intro */
.rd-awards__intro {
	font-size: 0.92rem;
	font-weight: 300;
	color: #444;
	line-height: 1.8;
	margin-bottom: 3rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.rd-awards__intro p  { margin-bottom: 0.85rem; }
.rd-awards__intro ul,
.rd-awards__intro ol { padding-left: 1.25rem; margin-bottom: 0.85rem; }
.rd-awards__intro li { margin-bottom: 0.3rem; }
/* Award group */
.rd-awards__group {
	margin-bottom: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.rd-awards__group:last-of-type {
	border-bottom: none;
}
.rd-awards__group-heading {
	font-family: var(--rd-font-body);
	font-size: 1rem;
	font-weight: 700;
	color: var(--rd-black);
	margin-bottom: 0.85rem;
}
.rd-awards__group-content {
	font-size: 0.88rem;
	font-weight: 300;
	color: #555;
	line-height: 1.8;
}
.rd-awards__group-content p  { margin-bottom: 0.75rem; }
.rd-awards__group-content p:last-child { margin-bottom: 0; }
.rd-awards__group-content ul,
.rd-awards__group-content ol { padding-left: 1.5rem; margin-bottom: 0.75rem; }
.rd-awards__group-content li { margin-bottom: 0.4rem; }
/* Closing section */
.rd-awards__closing {
	font-size: 0.88rem;
	font-weight: 300;
	color: #555;
	line-height: 1.8;
	padding-top: 2.5rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.rd-awards__closing p  { margin-bottom: 0.85rem; }
.rd-awards__closing p:last-child { margin-bottom: 0; }
.rd-awards__closing ul,
.rd-awards__closing ol { padding-left: 1.25rem; margin-bottom: 0.85rem; }
.rd-awards__closing li { margin-bottom: 0.3rem; }
/* Images dropped into the WYSIWYG closing content */
.rd-awards__closing img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 1.5rem 0;
}
.rd-awards__closing h2,
.rd-awards__closing h3 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--rd-black);
	margin-top: 1.5rem;
	margin-bottom: 0.65rem;
}
@media (max-width: 575.98px) {
	.rd-awards { padding: 3rem 0; }
}
/* =============================================================================
   22. SERVICES PAGE — intro section
   (The services cards + CTA reuse existing .rd-services and .rd-cta styles)
   ============================================================================= */
.rd-services-intro {
	padding: 5rem 0 3rem;
}
.rd-services-intro__heading {
	font-family: var(--rd-font-display);
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 400;
	color: var(--rd-black);
	line-height: 1.15;
	margin-bottom: 1.5rem;
}
.rd-services-intro__body {
	font-size: 0.9rem;
	font-weight: 300;
	color: #555;
	line-height: 1.8;
}
.rd-services-intro__body p  { margin-bottom: 0.85rem; }
.rd-services-intro__body p:last-child { margin-bottom: 0; }
.rd-services-intro__body ul,
.rd-services-intro__body ol { padding-left: 1.25rem; margin-bottom: 0.85rem; }
.rd-services-intro__body li { margin-bottom: 0.35rem; }
/* Right column image */
.rd-services-intro__image-wrap {
	position: sticky;
	top: 140px;
}
.rd-services-intro__image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}
/* Button inside the WYSIWYG intro */
.rd-services-intro__body a.button,
.rd-services-intro__body .wp-block-button__link {
	display: inline-block;
	background: var(--rd-black);
	color: var(--rd-white);
	border-radius: 6px;
	padding: 0.75rem 1.75rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	margin-top: 0.5rem;
	transition: background 0.2s;
}
.rd-services-intro__body a.button:hover,
.rd-services-intro__body .wp-block-button__link:hover {
	background: #222;
}
@media (max-width: 991.98px) {
	.rd-services-intro__image-wrap {
		position: static;
	}
}
@media (max-width: 575.98px) {
	.rd-services-intro { padding: 3rem 0 2rem; }
}
/* =============================================================================
   23. SERVICE DETAIL PAGE  (single-services.php)
   ============================================================================= */
.rd-service-detail {
	padding: 5rem 0;
}
.rd-service-detail__section {
	margin-bottom: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.rd-service-detail__section:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.rd-service-detail__heading {
	font-family: var(--rd-font-body);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--rd-black);
	margin-bottom: 0.85rem;
}
.rd-service-detail__content {
	text-align: justify;
	font-size: 0.88rem;
	font-weight: 300;
	color: #555;
	line-height: 1.8;
}
.rd-service-detail__content p  { margin-bottom: 0.85rem; }
.rd-service-detail__content p:last-child { margin-bottom: 0; }
.rd-service-detail__content ul,
.rd-service-detail__content ol { padding-left: 1.25rem; margin-bottom: 0.85rem; }
.rd-service-detail__content li { margin-bottom: 0.35rem; }
.rd-service-detail__content h3 {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--rd-black);
	margin: 1.25rem 0 0.5rem;
}
@media (max-width: 575.98px) {
	.rd-service-detail { padding: 3rem 0; }
}
/* =============================================================================
   24. SERVICE GALLERY  (single-services.php — Owl Carousel)
   ============================================================================= */
.rd-service-gallery {
	background: var(--rd-black);
	padding: 0;
	overflow: hidden;
}
.rd-service-gallery__slide {
	height: 800px;
	overflow: hidden;
}
.rd-service-gallery__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.4s ease;
}
.rd-service-gallery__slide:hover .rd-service-gallery__img {
	transform: scale(1.03);
}
/* Owl nav — matches portfolio strip style */
.rd-service-gallery .owl-nav button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	background: rgba(10, 10, 10, 0.7) !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	border-radius: 0 !important;
	color: var(--rd-white) !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, border-color 0.2s;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
}
.rd-service-gallery .owl-nav button::after {
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 0.9rem;
	color: var(--rd-white);
}
.rd-service-gallery .owl-nav button.owl-prev { left: 1rem; }
.rd-service-gallery .owl-nav button.owl-next { right: 1rem; }
.rd-service-gallery .owl-nav button.owl-prev::after { content: '\f053'; }
.rd-service-gallery .owl-nav button.owl-next::after { content: '\f054'; }
.rd-service-gallery .owl-nav button:hover {
	background: var(--rd-accent) !important;
	border-color: var(--rd-accent) !important;
}
/* Dot indicators */
.rd-service-gallery .owl-dots {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.4rem;
}
.rd-service-gallery .owl-dot span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4) !important;
	transition: background 0.2s !important;
}
.rd-service-gallery .owl-dot.active span {
	background: var(--rd-white) !important;
}
@media (max-width: 767.98px) {
	.rd-service-gallery__slide { height: 320px; }
}
@media (max-width: 575.98px) {
	.rd-service-gallery__slide { height: 240px; }
}
/* =============================================================================
   25. PORTFOLIO ARCHIVE — uniform 4-column grid
   ============================================================================= */
.rd-portfolio {
	padding: 0;
}
/* Each item is a block-level anchor filling its Bootstrap column */
.rd-portfolio__item {
	display: block;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	/* Fixed aspect ratio — every cell identical height */
	aspect-ratio: 4 / 3;
}
/* Image fills the cell completely */
.rd-portfolio__img-wrap {
	position: absolute;
	inset: 0;
	overflow: hidden;
}
.rd-portfolio__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.5s ease;
}
.rd-portfolio__img--placeholder {
	width: 100%;
	height: 100%;
	background: #222;
}
.rd-portfolio__item:hover .rd-portfolio__img {
	transform: scale(1.06);
}
/* Hover overlay */
.rd-portfolio__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	display: flex;
	align-items: flex-end;
	padding: 1.25rem 1.5rem;
	opacity: 0;
	transition: opacity 0.35s ease;
}
.rd-portfolio__item:hover .rd-portfolio__overlay {
	opacity: 1;
}
.rd-portfolio__overlay-inner {
	transform: translateY(8px);
	transition: transform 0.35s ease;
}
.rd-portfolio__item:hover .rd-portfolio__overlay-inner {
	transform: translateY(0);
}
.rd-portfolio__title {
	font-family: var(--rd-font-body);
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--rd-white);
	margin-bottom: 0.25rem;
	line-height: 1.3;
}
.rd-portfolio__location {
	font-size: 0.7rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.7);
	letter-spacing: 0.06em;
	margin-bottom: 0.6rem;
}
.rd-portfolio__read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rd-white);
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	padding-bottom: 0.1rem;
}
/* =============================================================================
   26. SINGLE PORTFOLIO PROJECT
   ============================================================================= */
.rd-project-detail {
	padding: 5rem 0;
}
.rd-project-detail__heading {
	font-family: var(--rd-font-display);
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 400;
	color: var(--rd-black);
	margin-bottom: 1.5rem;
	line-height: 1.2;
}
.rd-project-detail__text {
	font-size: 0.9rem;
	font-weight: 300;
	color: #555;
	line-height: 1.8;
}
.rd-project-detail__text p  { margin-bottom: 0.85rem; }
.rd-project-detail__text p:last-child { margin-bottom: 0; }
.rd-project-detail__text ul,
.rd-project-detail__text ol { padding-left: 1.25rem; margin-bottom: 0.85rem; }
.rd-project-detail__text li { margin-bottom: 0.35rem; }
@media (max-width: 575.98px) {
	.rd-project-detail { padding: 3rem 0; }
}
@media (max-width: 991.98px) {
	.rd-page-hero {
		height: auto;            /* grow with content instead of clipping */
		min-height: 320px;
		padding-top: 120px;      /* clear the fixed header */
		padding-bottom: 2.5rem;  /* the missing bottom breathing room */
	}

	.rd-hero__title {
		border-bottom: none;     /* remove the line under the title */
		font-size: clamp(2rem, 9vw, 7.5rem);
	}

	.rd-page-hero__title {
		border-bottom: none;     /* remove the line under the title */
		font-size: clamp(1rem, 5vw, 3.0rem);
	}
	.rd-page-hero__subtitle {
		max-width: 100%;         /* override the 750px cap */
	}
	/* Beat the Bootstrap w-75 in the template */
	.rd-page-hero__subtitle.w-75 {
		width: 100% !important;
	}
}
@media (max-width: 575.98px) {
	.rd-page-hero {
		height: auto;            /* override the old fixed 220px */
		min-height: 240px;
		padding-top: 110px;
		padding-bottom: 2rem;
	}
}
/* =============================================================================
   6. ACCREDITATION BAR — infinite marquee
   ============================================================================= */
.accreditation-bar {
	background: #fff;
	border-bottom: 1px solid #e2ddd7;
	padding: 1.25rem 0;
	overflow: hidden;            /* clip the overflowing track */
}
.acc-marquee {
	width: 100%;
	overflow: hidden;
}
.acc-marquee__track {
	display: flex;
	width: max-content;          /* track is as wide as all its logos */
	animation: acc-scroll 40s linear infinite;
}
/* Pause on hover so people can actually look at a badge */
.acc-marquee:hover .acc-marquee__track {
	animation-play-state: paused;
}
.acc-img-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1.5rem;      /* horizontal gap between logos */
	flex-shrink: 0;              /* never squash — keeps the loop math exact */
}
.acc-img-wrap img {
	width: 176px;
	height: 80px;
	object-fit: contain;
	object-position: center;
	filter: grayscale(30%);
	opacity: 0.8;
	transition: filter 0.2s, opacity 0.2s;
}
.acc-img-wrap img:hover {
	filter: grayscale(0);
	opacity: 1;
}
/* Move exactly half the track — the second (duplicate) set lands where
   the first began, so the reset is invisible */
@keyframes acc-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
/* Respect users who prefer no motion */
@media (prefers-reduced-motion: reduce) {
	.acc-marquee__track {
		animation: none;
		flex-wrap: wrap;
		justify-content: center;
	}
}
@media (max-width: 767.98px) {
	.acc-img-wrap {
		padding: 0.5rem 1rem;
	}
	.acc-img-wrap img {
		width: 140px;
		height: 64px;
	}
}
/* =============================================================================
   CF7 OVERRIDES — strips CF7's default styles so our rd-contact styles win
   ============================================================================= */
/* Remove CF7's default bottom margin on the form */
.wpcf7 { margin: 0 !important; }
/* CF7 wraps each field in <p> — reset to match our .rd-contact-form__field */
.rd-contact__form-wrap .wpcf7-form > p {
	margin: 0 0 1.25rem !important;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}
.rd-contact__form-wrap .wpcf7-form > p:last-of-type {
	margin-bottom: 0 !important;
}
/* Labels */
.rd-contact__form-wrap .wpcf7-form label {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--rd-black);
	letter-spacing: 0.02em;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}
/* Inputs and textarea */
.rd-contact__form-wrap .wpcf7-form input[type="text"],
.rd-contact__form-wrap .wpcf7-form input[type="email"],
.rd-contact__form-wrap .wpcf7-form input[type="tel"],
.rd-contact__form-wrap .wpcf7-form textarea {
	width: 100%;
	background: #ffffff;
	border: 1px solid #d8d8d8;
	border-radius: 6px;
	padding: 0.65rem 0.85rem;
	font-size: 0.88rem;
	font-family: var(--rd-font-body);
	color: var(--rd-black);
	transition: border-color 0.2s, box-shadow 0.2s;
	outline: none;
	margin: 0;
}
.rd-contact__form-wrap .wpcf7-form input:focus,
.rd-contact__form-wrap .wpcf7-form textarea:focus {
	border-color: var(--rd-black);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.rd-contact__form-wrap .wpcf7-form textarea {
	resize: vertical;
	min-height: 150px;
}
/* Acceptance / consent checkbox */
.rd-contact__form-wrap .wpcf7-acceptance {
	display: block;
}
.rd-contact__form-wrap .wpcf7-acceptance .wpcf7-list-item {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0;
}
.rd-contact__form-wrap .wpcf7-acceptance .wpcf7-list-item-label {
	font-size: 0.78rem;
	color: #666;
	line-height: 1.5;
	font-weight: 400;
}
.rd-contact__form-wrap .wpcf7-acceptance input[type="checkbox"] {
	margin-top: 0.2rem;
	flex-shrink: 0;
	accent-color: var(--rd-black);
	width: 14px;
	height: 14px;
}
/* Submit button */
.rd-contact__form-wrap .wpcf7-submit {
	display: inline-block;
	background: var(--rd-black);
	color: var(--rd-white) !important;
	border: none;
	border-radius: 6px;
	padding: 0.85rem 2.5rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	cursor: pointer;
	font-family: var(--rd-font-body);
	transition: background 0.2s, transform 0.2s;
	width: auto;
}
.rd-contact__form-wrap .wpcf7-submit:hover {
	background: #222;
	transform: translateY(-1px);
}
/* Validation error messages */
.rd-contact__form-wrap .wpcf7-not-valid-tip {
	font-size: 0.72rem;
	color: #c0392b;
	margin-top: 0.25rem;
}
/* Success / error response */
.rd-contact__form-wrap .wpcf7-response-output {
	margin: 1rem 0 0 !important;
	padding: 0.75rem 1rem !important;
	border-radius: 6px !important;
	font-size: 0.8rem;
	border: none !important;
}
.rd-contact__form-wrap .wpcf7-mail-sent-ok {
	background: #e8f5e9;
	color: #2e7d32;
}
.rd-contact__form-wrap .wpcf7-mail-sent-ng,
.rd-contact__form-wrap .wpcf7-aborted {
	background: #fdecea;
	color: #c0392b;
}
.rd-contact__form-wrap .wpcf7-spam-blocked {
	background: #fff3e0;
	color: #e65100;
}