/* =============================================================================
   Aurum PMG – Custom Stylesheet
   Loaded via functions.php; style.css is metadata only.
   ============================================================================= */

/* ── Brand Tokens ──────────────────────────────────────────────────────────── */
:root {
	--aurum-purple:       #704abe;
	--aurum-purple-dark:  #4f3486;
	--aurum-purple-light: #ece4f7;
	--aurum-gold:         #eac392;
	--aurum-gold-dark:    #d9a868;
	--aurum-charcoal:     #2b2730;
	--aurum-offwhite:     #f7f5f2;
	--aurum-white:        #ffffff;
	--aurum-gray:         #8a8590;

	/* Semantic aliases (wire up to GP Customizer colours later) */
	--color-primary:     var(--aurum-purple);
	--color-primary-dk:  var(--aurum-purple-dark);
	--color-accent:      var(--aurum-gold);
	--color-accent-dk:   var(--aurum-gold-dark);
	--color-text:        var(--aurum-charcoal);
	--color-muted:       var(--aurum-gray);
	--color-bg:          var(--aurum-offwhite);
	--color-bg-alt:      var(--aurum-white);
	--color-bg-tint:     var(--aurum-purple-light);
}

/* ── Layout utility ──────────────────────────────────────────────────────────  */
/*
 * .container is used in both header and footer as the max-width inner wrapper.
 * GeneratePress uses .inside-* for its own containers, so .container is safe.
 */
.container {
	width: 100%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 1.5rem;
	padding-left: 1.5rem;
}

/* ── Skip link (screen-reader / keyboard nav) ────────────────────────────── */
.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.skip-link:focus {
	position: static;
	left: auto;
	width: auto;
	height: auto;
	overflow: visible;
	display: inline-block;
	padding: 0.5rem 1rem;
	background: var(--aurum-purple);
	color: var(--aurum-white);
	font-weight: 600;
	z-index: 9999;
}

/* =============================================================================
   HEADER
   ============================================================================= */

/* ── Outer wrapper ───────────────────────────────────────────────────────── */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	width: 100%;
	background-color: var(--aurum-offwhite);
	border-bottom: 1px solid transparent;
	/* Smooth transition between default and sticky states */
	transition: background-color 0.25s ease,
	            box-shadow 0.25s ease,
	            border-color 0.25s ease;
}

/* Sticky state — triggered by .is-sticky added via aurum-header.js */
.site-header.is-sticky {
	background-color: var(--aurum-white);
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
	border-bottom-color: rgba(0, 0, 0, 0.06);
}

/* ── Inner flex row ──────────────────────────────────────────────────────── */
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

/* ── Logo ─────────────────────────────────────────────────────────────────── */
.site-logo-link {
	display: flex;          /* removes inline-block baseline gap */
	flex-shrink: 0;
	text-decoration: none;
}

.site-logo {
	height: 65px;
	width: auto;
	display: block;
}

/* ── Primary nav — desktop ───────────────────────────────────────────────── */
.site-nav {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

/* Top-level menu list (wp_nav_menu outputs this as <ul class="nav-menu">) */
.nav-menu {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0.125rem;
}

/* Each top-level item needs position:relative so the dropdown can anchor to it */
.nav-menu > li {
	position: relative;
}

/* Top-level links */
.nav-menu > li > a {
	display: block;
	padding: 0.5rem 0.875rem;
	font-size: 0.9375rem; /* 15px */
	font-weight: 500;
	color: var(--aurum-charcoal);
	text-decoration: none;
	border-radius: 4px;
	white-space: nowrap;
	transition: color 0.15s ease, background-color 0.15s ease;
}

/* Hover and active states */
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a,
.nav-menu > li.current-page-ancestor > a {
	color: var(--aurum-purple);
	background-color: var(--aurum-purple-light);
}

/* ── Dropdown sub-menu (desktop — pure CSS hover) ────────────────────────── */
.nav-menu .sub-menu {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	min-width: 230px;
	list-style: none;
	margin: 0;
	padding: 0.375rem 0;
	background-color: var(--aurum-white);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 6px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
	z-index: 100;
	/* Hidden by default — revealed on hover/focus-within */
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.15s ease,
	            visibility 0.15s ease,
	            transform 0.15s ease;
}

/* Reveal on parent hover or keyboard focus anywhere inside the item */
.nav-menu > li:hover > .sub-menu,
.nav-menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Dropdown link styles */
.nav-menu .sub-menu li a {
	display: block;
	padding: 0.5625rem 1.125rem;
	font-size: 0.9rem;
	color: var(--aurum-charcoal);
	text-decoration: none;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-menu .sub-menu li a:hover {
	color: var(--aurum-purple);
	background-color: var(--aurum-purple-light);
}

/* ── Contact Us CTA button ───────────────────────────────────────────────── */
/* Sits after .nav-menu inside <nav>; not a menu item — always gold-styled */
.nav-cta {
	display: inline-block;
	flex-shrink: 0;
	margin-left: 0.875rem;
	padding: 0.5rem 1.25rem;
	background-color: var(--aurum-gold);
	color: var(--aurum-charcoal);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 4px;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}

.nav-cta:hover {
	background-color: var(--aurum-gold-dark);
	color: var(--aurum-charcoal); /* keep charcoal — readable on both gold shades */
}

/* ── Hamburger button ────────────────────────────────────────────────────── */
/* Hidden on desktop; shown via media query below */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 0;
	background: none;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	flex-shrink: 0;
	transition: background-color 0.15s ease;
}

.nav-toggle:hover {
	background-color: var(--aurum-purple-light);
}

/* The three bars */
.hamburger-bar {
	display: block;
	width: 22px;
	height: 2px;
	background-color: var(--aurum-charcoal);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

/*
 * Animate bars into an × when .nav-open is on the header.
 * Offsets calculated from bar height (2px) + gap (5px):
 *   top bar travels down 7px, bottom bar travels up 7px, to meet at the middle.
 */
.site-header.nav-open .hamburger-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.site-header.nav-open .hamburger-bar:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}
.site-header.nav-open .hamburger-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ── Submenu expand button (injected by JS — only visible on mobile) ─────── */
/* Hidden on desktop so the hover-only dropdown stays uncluttered */
.submenu-toggle {
	display: none;
}

/* ── Mobile nav — 768px and below ───────────────────────────────────────── */
@media ( max-width: 768px ) {

	/* Show hamburger button */
	.nav-toggle {
		display: flex;
		order: 3;
	}

	/* Hide the nav by default; shown when .nav-open is on header */
	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		background-color: var(--aurum-purple-dark);
		padding: 0.5rem 0 1.25rem;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
		z-index: 999;
	}

	.site-header.nav-open .site-nav {
		display: flex;
	}

	/* Stack menu items vertically */
	.nav-menu {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 0;
	}

	.nav-menu > li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	}

	.nav-menu > li > a {
		padding: 0.875rem 1.5rem;
		color: var(--aurum-offwhite);
		font-size: 1rem;
		border-radius: 0;
	}

	.nav-menu > li > a:hover,
	.nav-menu > li.current-menu-item > a,
	.nav-menu > li.current-menu-ancestor > a {
		color: var(--aurum-gold);
		background-color: rgba(255, 255, 255, 0.05);
	}

	/* Sub-menu on mobile: collapsed by default, expanded by JS class */
	.nav-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: hidden;
		max-height: 0;
		overflow: hidden;
		transform: none;
		box-shadow: none;
		border: none;
		border-radius: 0;
		background-color: rgba(0, 0, 0, 0.18);
		transition: max-height 0.25s ease, visibility 0.25s ease;
		padding: 0;
	}

	.nav-menu .sub-menu.is-open {
		visibility: visible;
		max-height: 500px; /* large enough to fit any sub-menu list */
	}

	.nav-menu .sub-menu li a {
		padding: 0.75rem 2.25rem;
		font-size: 0.9rem;
		color: rgba(247, 245, 242, 0.8);
	}

	.nav-menu .sub-menu li a:hover {
		color: var(--aurum-gold);
		background-color: rgba(255, 255, 255, 0.05);
	}

	/* Submenu expand button — positioned to the right of the parent link */
	.submenu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 0;
		right: 0;
		width: 54px;
		height: 100%; /* match the parent <li> row height */
		background: none;
		border: none;
		border-left: 1px solid rgba(255, 255, 255, 0.07);
		color: var(--aurum-offwhite);
		font-size: 1.25rem;
		line-height: 1;
		cursor: pointer;
		padding: 0;
		transition: background-color 0.15s ease;
	}

	.submenu-toggle:hover {
		background-color: rgba(255, 255, 255, 0.07);
		color: var(--aurum-gold);
	}

	/* CTA button on mobile — full-width, centred, with top margin */
	.nav-cta {
		display: block;
		margin: 1rem 1.5rem 0;
		padding: 0.75rem 1.25rem;
		text-align: center;
	}
}

/* ── Small mobile — 480px and below ─────────────────────────────────────── */
@media ( max-width: 480px ) {

	.site-logo {
		height: 40px;
	}

	.header-inner {
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
	}
}

/* =============================================================================
   FOOTER
   ============================================================================= */

/* ── Wrapper ──────────────────────────────────────────────────────────────── */
.site-footer {
	background-color: var(--aurum-purple-dark);
	color: var(--aurum-offwhite);
}

/* ── Four-column grid ────────────────────────────────────────────────────── */
/*
 * Column widths: brand col is slightly wider (2fr) to accommodate the
 * logo, tagline, and social icon together. Contact col is also wider (1.5fr).
 */
.footer-columns {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.5fr;
	gap: 3rem;
	padding: 4rem 0 3rem;
}

/* ── Column heading (uppercase label above each list) ────────────────────── */
.footer-col-heading {
	margin: 0 0 1.25rem;
	font-size: 0.8125rem; /* 13px */
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--aurum-gold);
}

/* ── Column 1: Brand ─────────────────────────────────────────────────────── */
.footer-logo-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
	margin-bottom: 1rem;
	background-color: var(--aurum-white);
	border-radius: 10px;
}

.footer-logo {
	display: block;
	height: 62px;
	width: auto;
}

.footer-tagline {
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
	line-height: 1.65;
	color: rgba(247, 245, 242, 0.72);
}

/* Social icon row */
.footer-social {
	display: flex;
	gap: 0.75rem;
}

.footer-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: var(--aurum-offwhite);
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.footer-social-link:hover {
	border-color: var(--aurum-gold);
	background-color: rgba(234, 195, 146, 0.12);
	color: var(--aurum-gold);
}

.footer-social-link svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	display: block;
}

/* ── Columns 2 & 3: Link lists ───────────────────────────────────────────── */
.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.footer-links a {
	font-size: 0.9rem;
	color: rgba(247, 245, 242, 0.72);
	text-decoration: none;
	transition: color 0.15s ease;
}

.footer-links a:hover {
	color: var(--aurum-gold);
}

/* ── Column 4: Contact list ──────────────────────────────────────────────── */
.footer-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

.footer-contact-item {
	font-size: 0.875rem;
	line-height: 1.55;
	color: rgba(247, 245, 242, 0.72);
}

.footer-contact-item a {
	color: rgba(247, 245, 242, 0.72);
	text-decoration: none;
	transition: color 0.15s ease;
}

.footer-contact-item a:hover {
	color: var(--aurum-gold);
}

/* "Get in touch →" is slightly more prominent */
.footer-contact-item--link a {
	color: var(--aurum-offwhite);
	font-weight: 500;
}

/* ── Bottom bar ───────────────────────────────────────────────────────────── */
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.10);
	padding: 1.25rem 0;
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
}

.footer-copy,
.footer-credit {
	margin: 0;
	font-size: 0.8125rem;
	color: rgba(247, 245, 242, 0.45);
}

.footer-credit a {
	color: inherit;
	text-decoration: none;
}

.footer-credit a:hover {
	color: var(--aurum-gold);
}

/* ── Responsive: tablet (768px and below) ────────────────────────────────── */
@media ( max-width: 768px ) {

	.footer-columns {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
		padding: 3rem 0 2rem;
	}

	/* Brand column spans both columns on tablet so the logo/tagline have room */
	.footer-col--brand {
		grid-column: 1 / -1;
	}
}

/* ── Responsive: mobile (480px and below) ────────────────────────────────── */
@media ( max-width: 480px ) {

	.footer-columns {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 2.5rem 0 1.5rem;
	}

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

	.footer-bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.375rem;
	}
}

/* =============================================================================
   HOMEPAGE — LAYOUT RESET
   Ensures GP's content wrapper doesn't constrain our full-width sections.
   ============================================================================= */

/*
 * GP Free may apply flex / max-width to its content container.
 * On the front page we override to a simple block flow so each
 * homepage section can span the full viewport width independently.
 */
.home #site-content,
.front-page {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 0;
	margin: 0;
}

/* =============================================================================
   HOMEPAGE — SHARED UTILITIES
   Button system, section headings, image placeholders.
   ============================================================================= */

/* ── Buttons ─────────────────────────────────────────────────────────────────
 * Used across Hero and CTA Band. Keep variants here so they stay in sync.
 */
.btn {
	display: inline-block;
	padding: 0.75rem 1.875rem;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 4px;
	border: 2px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.15s ease,
	            color 0.15s ease,
	            border-color 0.15s ease;
}

/* Gold — primary CTA (hero, etc.) */
.btn--gold {
	background-color: var(--aurum-gold);
	border-color: var(--aurum-gold);
	color: var(--aurum-charcoal);
}
.btn--gold:hover {
	background-color: var(--aurum-gold-dark);
	border-color: var(--aurum-gold-dark);
	color: var(--aurum-charcoal);
}

/* White outline — secondary CTA on dark backgrounds */
.btn--outline {
	background-color: transparent;
	border-color: rgba(255, 255, 255, 0.70);
	color: var(--aurum-white);
}
.btn--outline:hover {
	background-color: rgba(255, 255, 255, 0.12);
	border-color: var(--aurum-white);
	color: var(--aurum-white);
}

/* Solid purple — used on gold/light backgrounds */
.btn--purple {
	background-color: var(--aurum-purple);
	border-color: var(--aurum-purple);
	color: var(--aurum-white);
}
.btn--purple:hover {
	background-color: var(--aurum-purple-dark);
	border-color: var(--aurum-purple-dark);
	color: var(--aurum-white);
}

/* Purple outline — used on light / tinted backgrounds */
.btn--purple-outline {
	background-color: transparent;
	border-color: var(--aurum-purple);
	color: var(--aurum-purple);
}
.btn--purple-outline:hover {
	background-color: var(--aurum-purple);
	color: var(--aurum-white);
}

/* ── Section header block ────────────────────────────────────────────────── */
/* Shared heading + label used above multiple sections */
.home-section-header {
	margin-bottom: 3rem;
}

.home-section-header--centered {
	text-align: center;
}

/* Small uppercase label above the h2 */
.section-label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--aurum-purple);
}

.home-section-heading {
	margin: 0 0 1rem;
	font-size: clamp( 1.625rem, 3vw, 2.25rem );
	line-height: 1.2;
	color: var(--aurum-charcoal);
}

.home-section-intro {
	max-width: 560px;
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--aurum-gray);
}

.home-section-header--centered .home-section-intro {
	margin-right: auto;
	margin-left: auto;
}

/* ── Image placeholder ───────────────────────────────────────────────────── */
/* Styled stand-in for images not yet supplied. Replace with <img> when ready. */
.img-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	border-radius: 8px;
	background-color: var(--aurum-purple-light);
	color: var(--aurum-gray);
	font-size: 0.8125rem;
	font-style: italic;
	text-align: center;
	padding: 2rem;
	gap: 0.5rem;
}

/* =============================================================================
   SECTION 1 — HERO
   ============================================================================= */

.home-hero {
	position: relative;
	min-height: 600px;
	display: flex;
	align-items: center;
	overflow: hidden; /* contain ::after pseudo-element */
	/* Fallback: purple-dark solid colour (shows while image loads or if missing) */
	background-color: var(--aurum-purple-dark);
}

/*
 * Background photo layer — separate pseudo-element so the CSS filter
 * (colour-grading) applies only to the image, not the text or buttons.
 * Image file: assets/images/hero-dubai-skyline.jpg
 * Position biased right so the Burj Khalifa area stays in frame.
 */
.home-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url( '../images/hero-dubai-skyline.jpg' );
	background-size: cover;
	background-position: 65% center;
	/* Colour-grade to harmonise with the purple brand — mutes the bright blue sky */
	filter: saturate( 0.75 ) brightness( 0.85 );
	z-index: 0;
}

/*
 * Gradient overlay — left-to-right purple wash.
 * Left: 88% opacity (strong — text sits here, contrast stays high)
 * Right: 45% opacity (lighter — skyline shows through)
 */
.home-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(79, 52, 134, 0.88) 0%,
		rgba(79, 52, 134, 0.45) 100%
	);
	z-index: 1; /* above the photo layer */
}

.home-hero__inner {
	position: relative;
	z-index: 2; /* above both photo and gradient */
	padding-top: 6rem;
	padding-bottom: 5rem;
}

.home-hero__content {
	max-width: 720px;
}

.home-hero__headline {
	margin: 0 0 1.25rem;
	font-size: clamp( 2rem, 4.5vw, 3.25rem );
	font-weight: 700;
	line-height: 1.15;
	color: var(--aurum-white);
}

.home-hero__subhead {
	margin: 0 0 2.25rem;
	font-size: clamp( 1rem, 1.5vw, 1.1875rem );
	line-height: 1.7;
	color: rgba(247, 245, 242, 0.85);
	max-width: 640px;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* ── Hero responsive ─────────────────────────────────────────────────────── */
@media ( max-width: 768px ) {
	.home-hero {
		min-height: 480px;
	}
	.home-hero__inner {
		padding-top: 4rem;
		padding-bottom: 3.5rem;
	}
}

@media ( max-width: 480px ) {
	.home-hero {
		min-height: auto;
	}
	.home-hero__inner {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}
	.home-hero__actions {
		flex-direction: column;
	}
	.home-hero__actions .btn {
		text-align: center;
	}
}

/* =============================================================================
   SECTION 2 — WHO WE ARE
   ============================================================================= */

.home-who {
	background-color: var(--aurum-offwhite);
	padding: 5rem 0;
}

.home-who__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.home-who__text .section-label {
	/* Inherit from shared .section-label — no override needed */
}

.home-who__heading {
	margin: 0 0 1.25rem;
	font-size: clamp( 1.5rem, 2.5vw, 2rem );
	line-height: 1.25;
	color: var(--aurum-charcoal);
}

.home-who__text p {
	margin: 0 0 1.125rem;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--aurum-charcoal);
}

.home-who__text .btn {
	margin-top: 0.75rem;
}

/* Image column */
.home-who__image img,
.home-who__image .img-placeholder {
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.home-who__image .img-placeholder {
	min-height: 380px;
}

.home-who__image img {
	display: block;
	width: 100%;
	height: auto;
}

/* ── Who We Are responsive ───────────────────────────────────────────────── */
@media ( max-width: 768px ) {
	.home-who {
		padding: 3.5rem 0;
	}
	.home-who__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	/* Stack image after text on mobile */
	.home-who__image {
		order: 2;
	}
	.home-who__text {
		order: 1;
	}
}

@media ( max-width: 480px ) {
	.home-who {
		padding: 2.5rem 0;
	}
	.home-who__image .img-placeholder {
		min-height: 240px;
	}
}

/* =============================================================================
   SECTION 3 — WHY AURUM (STATS BAND)
   ============================================================================= */

.home-stats {
	background-color: var(--aurum-purple-dark);
	padding: 4rem 0;
}

.home-stats__grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 2rem;
	text-align: center;
}

.home-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.625rem;
	/* Subtle separator between items on desktop */
	border-right: 1px solid rgba(255, 255, 255, 0.12);
	padding: 0 1.5rem;
}

.home-stats__item:last-child {
	border-right: none;
}

.home-stats__number {
	display: block;
	font-size: clamp( 2.5rem, 4vw, 3.5rem );
	font-weight: 700;
	line-height: 1;
	color: var(--aurum-gold);
}

.home-stats__label {
	display: block;
	font-size: 0.9rem;
	line-height: 1.5;
	color: rgba(247, 245, 242, 0.80);
}

/* ── Stats responsive ────────────────────────────────────────────────────── */
@media ( max-width: 768px ) {
	.home-stats {
		padding: 3rem 0;
	}
	.home-stats__grid {
		grid-template-columns: repeat( 2, 1fr );
		gap: 0;
	}
	.home-stats__item {
		border-right: 1px solid rgba(255, 255, 255, 0.12);
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		padding: 2rem 1rem;
	}
	/* Remove right border from even items, bottom border from last two */
	.home-stats__item:nth-child(2n) {
		border-right: none;
	}
	.home-stats__item:nth-last-child(-n+2) {
		border-bottom: none;
	}
}

@media ( max-width: 480px ) {
	.home-stats__grid {
		grid-template-columns: 1fr;
	}
	.home-stats__item {
		border-right: none;
	}
	.home-stats__item:nth-last-child(-n+2) {
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}
	.home-stats__item:last-child {
		border-bottom: none;
	}
}

/* =============================================================================
   SECTION 4 — OUR SERVICES (CARD GRID)
   ============================================================================= */

.home-services {
	background-color: var(--aurum-white);
	padding: 5rem 0;
}

.home-services__grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 1.5rem;
}

/* ── Service card ────────────────────────────────────────────────────────── */
.service-card {
	display: flex;
	flex-direction: column;
	padding: 2rem 1.75rem;
	background-color: var(--aurum-offwhite);
	border-radius: 8px;
	border: 1px solid transparent;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.service-card:hover {
	border-color: var(--aurum-purple-light);
	box-shadow: 0 6px 24px rgba(112, 74, 190, 0.10);
	transform: translateY(-2px);
}

.service-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 1.25rem;
	background-color: var(--aurum-purple-light);
	border-radius: 10px;
	color: var(--aurum-purple);
	flex-shrink: 0;
}

.service-card__icon svg {
	width: 24px;
	height: 24px;
}

.service-card__title {
	margin: 0 0 0.75rem;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--aurum-charcoal);
}

.service-card__desc {
	margin: 0 0 1.5rem;
	font-size: 0.9rem;
	line-height: 1.65;
	color: var(--aurum-gray);
	flex-grow: 1; /* pushes "Learn more" to the card bottom */
}

.service-card__link {
	margin-top: auto;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--aurum-purple);
	text-decoration: none;
	transition: color 0.15s ease;
}

.service-card__link:hover {
	color: var(--aurum-purple-dark);
}

/* ── Services responsive ─────────────────────────────────────────────────── */
@media ( max-width: 900px ) {
	.home-services__grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 768px ) {
	.home-services {
		padding: 3.5rem 0;
	}
}

@media ( max-width: 480px ) {
	.home-services {
		padding: 2.5rem 0;
	}
	.home-services__grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

/* =============================================================================
   SECTION 5 — SECTORS WE SERVE
   ============================================================================= */

.home-sectors {
	background-color: var(--aurum-purple-light);
	padding: 5rem 0;
}

/* Tint the shared heading labels for this background */
.home-sectors .section-label {
	color: var(--aurum-purple-dark);
}

.home-sectors .home-section-heading {
	color: var(--aurum-purple-dark);
}

/* Pill / tag row */
.home-sectors__tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.875rem;
	margin-bottom: 2.5rem;
}

.sector-tag {
	display: inline-block;
	padding: 0.625rem 1.375rem;
	background-color: var(--aurum-white);
	color: var(--aurum-purple-dark);
	font-size: 0.9375rem;
	font-weight: 500;
	border-radius: 100px; /* pill shape */
	border: 1px solid rgba(112, 74, 190, 0.20);
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.sector-tag:hover {
	background-color: var(--aurum-purple);
	border-color: var(--aurum-purple);
	color: var(--aurum-white);
}

.home-sectors__cta {
	text-align: center;
}

/* ── Sectors responsive ──────────────────────────────────────────────────── */
@media ( max-width: 768px ) {
	.home-sectors {
		padding: 3.5rem 0;
	}
}

@media ( max-width: 480px ) {
	.home-sectors {
		padding: 2.5rem 0;
	}
	.home-sectors__tags {
		gap: 0.625rem;
	}
}

/* =============================================================================
   SECTION 6 — INSIGHTS TEASER
   ============================================================================= */

.home-insights {
	background-color: var(--aurum-white);
	padding: 5rem 0;
}

.home-insights__grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 1.75rem;
	margin-bottom: 2.5rem;
}

.home-insights__footer {
	text-align: center;
}

/* ── Insight card ────────────────────────────────────────────────────────── */
.insight-card {
	display: flex;
	flex-direction: column;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.07);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
	background-color: var(--aurum-white);
}

.insight-card:hover {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
	transform: translateY(-3px);
}

/* Image area — fixed aspect ratio */
.insight-card__image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: var(--aurum-purple-light);
	flex-shrink: 0;
}

.insight-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.insight-card:hover .insight-card__image img {
	transform: scale(1.03);
}

.insight-card__image .img-placeholder {
	width: 100%;
	height: 100%;
	min-height: auto;
	border-radius: 0;
	font-size: 0.75rem;
}

.insight-card__body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 1.5rem;
}

.insight-card__title {
	margin: 0 0 0.625rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
}

.insight-card__title a {
	color: var(--aurum-charcoal);
	text-decoration: none;
	transition: color 0.15s ease;
}

.insight-card__title a:hover {
	color: var(--aurum-purple);
}

.insight-card__excerpt {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--aurum-gray);
	flex-grow: 1;
}

.insight-card__link {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--aurum-purple);
	text-decoration: none;
	transition: color 0.15s ease;
}

.insight-card__link:hover {
	color: var(--aurum-purple-dark);
}

/* ── Insights responsive ─────────────────────────────────────────────────── */
@media ( max-width: 900px ) {
	.home-insights__grid {
		grid-template-columns: repeat( 2, 1fr );
	}
	/* Hide third card on tablet to keep the grid even */
	.insight-card:nth-child(3) {
		display: none;
	}
}

@media ( max-width: 768px ) {
	.home-insights {
		padding: 3.5rem 0;
	}
}

@media ( max-width: 480px ) {
	.home-insights {
		padding: 2.5rem 0;
	}
	.home-insights__grid {
		grid-template-columns: 1fr;
	}
	/* Show all cards again on single-column mobile */
	.insight-card:nth-child(3) {
		display: flex;
	}
}

/* =============================================================================
   SECTION 7 — CLOSING CTA BAND
   ============================================================================= */

.cta-band {
	background-color: var(--aurum-gold);
	padding: 4rem 0;
}

.cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.cta-band__text {
	flex: 1 1 400px; /* grows but doesn't shrink below 400px before wrapping */
}

.cta-band__headline {
	margin: 0 0 0.5rem;
	font-size: clamp( 1.25rem, 2.5vw, 1.625rem );
	font-weight: 700;
	line-height: 1.25;
	color: var(--aurum-charcoal);
}

.cta-band__subhead {
	margin: 0;
	font-size: 1.0625rem;
	color: rgba(43, 39, 48, 0.75);
}

.cta-band .btn--purple {
	flex-shrink: 0;
}

/* ── CTA Band responsive ─────────────────────────────────────────────────── */
@media ( max-width: 768px ) {
	.cta-band {
		padding: 3rem 0;
	}
	.cta-band__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.5rem;
	}
}

@media ( max-width: 480px ) {
	.cta-band {
		padding: 2.5rem 0;
	}
	.cta-band .btn {
		width: 100%;
		text-align: center;
	}
}

/* =============================================================================
   SERVICE PAGE — PAGE HERO
   ============================================================================= */

.service-hero {
	background-color: var(--aurum-purple-dark);
	padding: 2.5rem 0 3rem;
}

.service-hero__inner {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	gap: 0;
}

/* Separator injected via CSS — no extra markup needed */
.breadcrumb__item + .breadcrumb__item::before {
	content: '/';
	margin: 0 0.5rem;
	color: rgba(247, 245, 242, 0.35);
	font-size: 0.8125rem;
}

.breadcrumb__item a {
	font-size: 0.8125rem;
	color: rgba(247, 245, 242, 0.60);
	text-decoration: none;
	transition: color 0.15s ease;
}

.breadcrumb__item a:hover {
	color: var(--aurum-gold);
}

.breadcrumb__item--current {
	font-size: 0.8125rem;
	color: rgba(247, 245, 242, 0.40);
}

/* ── Hero title & subtitle ───────────────────────────────────────────────── */
.service-hero__title {
	margin: 0;
	font-size: clamp( 1.75rem, 3.5vw, 2.75rem );
	font-weight: 700;
	line-height: 1.15;
	color: var(--aurum-white);
}

.service-hero__subtitle {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: rgba(247, 245, 242, 0.78);
	max-width: 640px;
}

/* ── Service hero responsive ─────────────────────────────────────────────── */
@media ( max-width: 768px ) {
	.service-hero {
		padding: 2rem 0 2.5rem;
	}
}

@media ( max-width: 480px ) {
	.service-hero {
		padding: 1.75rem 0 2rem;
	}
}

/* =============================================================================
   SERVICE PAGE — TWO-COLUMN BODY (CONTENT + SIDEBAR)
   ============================================================================= */

.service-body {
	background-color: var(--aurum-white);
	padding-bottom: 5rem;
}

/* Two-column grid: ~65% content, ~35% sidebar */
.service-body__inner {
	display: grid;
	grid-template-columns: minmax(0, 2fr) 340px;
	gap: 4rem;
	align-items: start;
	padding-top: 3.5rem;
}

/* ── Service body responsive ─────────────────────────────────────────────── */
@media ( max-width: 900px ) {
	.service-body__inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	/* Move sidebar above Why Aurum but below content on tablet/mobile */
	.service-sidebar {
		order: 2;
	}
	.service-main {
		order: 1;
	}
}

@media ( max-width: 768px ) {
	.service-body {
		padding-bottom: 3.5rem;
	}
	.service-body__inner {
		padding-top: 2.5rem;
	}
}

@media ( max-width: 480px ) {
	.service-body {
		padding-bottom: 2.5rem;
	}
}

/* =============================================================================
   CONTENT AREA TYPOGRAPHY — the_content()
   Scoped to .service-content to avoid touching GP's own content styles.
   ============================================================================= */

/* Headings */
.service-content h2 {
	margin: 2.25rem 0 0.875rem;
	font-size: clamp( 1.375rem, 2vw, 1.75rem );
	font-weight: 700;
	line-height: 1.25;
	color: var(--aurum-charcoal);
}

.service-content h3 {
	margin: 1.875rem 0 0.75rem;
	font-size: clamp( 1.125rem, 1.5vw, 1.375rem );
	font-weight: 600;
	line-height: 1.3;
	color: var(--aurum-charcoal);
}

.service-content h4 {
	margin: 1.5rem 0 0.625rem;
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--aurum-charcoal);
}

/* Reset top margin on first heading */
.service-content > :first-child {
	margin-top: 0;
}

/* Paragraphs */
.service-content p {
	margin: 0 0 1.25rem;
	font-size: 1rem;
	line-height: 1.8;
	color: var(--aurum-charcoal);
}

/* Lists */
.service-content ul,
.service-content ol {
	margin: 0 0 1.25rem;
	padding-left: 1.5rem;
}

.service-content li {
	margin-bottom: 0.5rem;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--aurum-charcoal);
}

/* Inline emphasis */
.service-content strong,
.service-content b {
	font-weight: 700;
	color: var(--aurum-charcoal);
}

.service-content em,
.service-content i {
	font-style: italic;
}

/* Blockquotes — used for pull-quotes or client statements */
.service-content blockquote {
	margin: 2rem 0;
	padding: 1.5rem 1.75rem;
	border-left: 4px solid var(--aurum-purple);
	background-color: var(--aurum-purple-light);
	border-radius: 0 6px 6px 0;
}

.service-content blockquote p {
	margin: 0;
	font-size: 1.0625rem;
	font-style: italic;
	color: var(--aurum-purple-dark);
}

/* Links within content */
.service-content a {
	color: var(--aurum-purple);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.15s ease;
}

.service-content a:hover {
	color: var(--aurum-purple-dark);
}

/* Gutenberg separator block */
.service-content hr,
.service-content .wp-block-separator {
	margin: 2.5rem 0;
	border: none;
	border-top: 1px solid rgba(0, 0, 0, 0.10);
}

/* =============================================================================
   SERVICE PAGE — SIDEBAR
   ============================================================================= */

/* Sticky positioning — offset by header height + gap */
.service-sidebar {
	position: sticky;
	top: 100px;
	align-self: start; /* required for sticky inside a grid */
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* ── Shared card base ────────────────────────────────────────────────────── */
.sidebar-card {
	border-radius: 8px;
	padding: 1.5rem;
}

/* ── Other Services card ─────────────────────────────────────────────────── */
.sidebar-card--nav {
	background-color: var(--aurum-offwhite);
	border: 1px solid rgba(0, 0, 0, 0.07);
}

.sidebar-card__heading {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--aurum-purple-dark);
}

.sidebar-services-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.sidebar-services-list__item {
	border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.sidebar-services-list__item:first-child {
	border-top: none;
}

.sidebar-services-list__link {
	display: block;
	padding: 0.625rem 0;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--aurum-charcoal);
	text-decoration: none;
	transition: color 0.15s ease;
}

.sidebar-services-list__link::after {
	content: ' →';
	font-style: normal;
	color: var(--aurum-purple);
	opacity: 0;
	transition: opacity 0.15s ease;
}

.sidebar-services-list__link:hover {
	color: var(--aurum-purple);
}

.sidebar-services-list__link:hover::after {
	opacity: 1;
}

/* ── Contact CTA card ────────────────────────────────────────────────────── */
.sidebar-card--cta {
	background-color: var(--aurum-purple-dark);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
}

.sidebar-cta__prompt {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--aurum-offwhite);
}

.sidebar-card--cta .btn--gold {
	align-self: stretch;
	text-align: center;
}

/* ── Sidebar responsive ──────────────────────────────────────────────────── */
@media ( max-width: 900px ) {
	/* Unstick sidebar when it stacks below content on tablet */
	.service-sidebar {
		position: static;
		top: auto;
	}
}

/* =============================================================================
   SERVICE PAGE — WHY AURUM MINI-SECTION
   ============================================================================= */

.service-why {
	background-color: var(--aurum-offwhite);
	padding: 4.5rem 0;
}

.service-why__header {
	margin-bottom: 2.75rem;
}

.service-why__heading {
	margin: 0;
	font-size: clamp( 1.375rem, 2.5vw, 1.875rem );
	font-weight: 700;
	line-height: 1.25;
	color: var(--aurum-charcoal);
}

/* ── Three-column grid ───────────────────────────────────────────────────── */
.service-why__grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 2.5rem;
}

/* ── Individual trust item ───────────────────────────────────────────────── */
.service-why-item {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

.service-why-item__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background-color: var(--aurum-purple-light);
	color: var(--aurum-purple);
	flex-shrink: 0;
}

.service-why-item__icon svg {
	width: 22px;
	height: 22px;
}

.service-why-item__heading {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--aurum-charcoal);
}

.service-why-item__body {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--aurum-gray);
}

/* ── Why Aurum responsive ────────────────────────────────────────────────── */
@media ( max-width: 768px ) {
	.service-why {
		padding: 3.5rem 0;
	}
	.service-why__grid {
		grid-template-columns: repeat( 2, 1fr );
		gap: 2rem;
	}
}

@media ( max-width: 480px ) {
	.service-why {
		padding: 2.5rem 0;
	}
	.service-why__grid {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}
}

/* =============================================================================
   ABOUT PAGE — SIDEBAR BULLET LIST
   ============================================================================= */

/* Purple-dot bullet list used in the about sidebar "Why Aurum" card.
   No arrow affordance — this is informational, not navigational. */
.about-sidebar-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

.about-sidebar-list li {
	position: relative;
	padding-left: 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--aurum-charcoal);
}

.about-sidebar-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--aurum-purple);
	flex-shrink: 0;
}

/* =============================================================================
   TEAM PAGE
   ============================================================================= */

/* Intro paragraph above the grid */
.team-intro {
	background-color: var(--aurum-white);
	padding: 3.5rem 0 0;
}

.team-intro__content {
	max-width: 760px;
}

/* Section wrapper */
.team-section {
	background-color: var(--aurum-offwhite);
	padding: 5rem 0;
}

/* 3-column grid — collapses to 2 at 768 px, 1 at 480 px */
.team-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 2rem;
	margin-top: 3rem;
}

.team-card {
	background-color: var(--aurum-white);
	border-radius: 8px;
	padding: 2rem 1.5rem;
	text-align: center;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.team-card:hover {
	box-shadow: 0 6px 24px rgba(79, 52, 134, 0.12);
	transform: translateY( -2px );
}

/* Circular photo container */
.team-card__photo-wrap {
	width: 110px;
	height: 110px;
	border-radius: 50%;
	margin: 0 auto 1.25rem;
	background-color: var(--aurum-purple-light);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Placeholder fill shown until a real photo is dropped in */
.team-card__photo-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		var(--aurum-purple-light) 0%,
		rgba(112, 74, 190, 0.22) 100%
	);
}

/* Real photo (added via <img> when available) */
.team-card__photo-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.team-card__name {
	margin: 0 0 0.25rem;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--aurum-charcoal);
}

.team-card__title {
	margin: 0 0 0.875rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--aurum-purple);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.team-card__bio {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--aurum-gray);
}

/* ── Team grid responsive ────────────────────────────────────────────────── */
@media ( max-width: 768px ) {
	.team-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 480px ) {
	.team-grid {
		grid-template-columns: 1fr;
	}
	.team-intro {
		padding-top: 2.5rem;
	}
	.team-section {
		padding: 3.5rem 0;
	}
}

/* =============================================================================
   CONTACT PAGE
   ============================================================================= */

.contact-body {
	background-color: var(--aurum-white);
	padding: 5rem 0;
}

/* 60 / 40 two-column split */
.contact-body__inner {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 4rem;
	align-items: start;
}

/* ── Form wrapper ────────────────────────────────────────────────────────── */
.contact-form__heading {
	margin: 0 0 1.75rem;
	font-size: clamp( 1.375rem, 2vw, 1.625rem );
	color: var(--aurum-charcoal);
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* Two equal columns inside the form (Name+Email, Company+Phone rows) */
.contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

/* ── Field groups ────────────────────────────────────────────────────────── */
.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.form-group__label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--aurum-charcoal);
}

.form-group__required {
	color: var(--aurum-purple);
	margin-left: 0.125rem;
}

.form-group__optional {
	font-weight: 400;
	color: var(--aurum-gray);
	font-size: 0.8125rem;
	margin-left: 0.25rem;
}

.form-group input,
.form-group textarea {
	padding: 0.75rem 1rem;
	border: 1.5px solid #d8d5de;
	border-radius: 6px;
	font-size: 0.9375rem;
	font-family: inherit;
	color: var(--aurum-charcoal);
	background-color: var(--aurum-white);
	line-height: 1.5;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--aurum-purple);
	box-shadow: 0 0 0 3px rgba(112, 74, 190, 0.12);
}

.form-group textarea {
	min-height: 160px;
	resize: vertical;
}

/* ── Submit row ──────────────────────────────────────────────────────────── */
.contact-form__footer {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.contact-form__small {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--aurum-gray);
	line-height: 1.5;
}

/* ── Honeypot — hidden from real users, visible to bots ─────────────────── */
.contact-form__honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

/* ── Feedback notices ────────────────────────────────────────────────────── */
.contact-notice {
	padding: 1rem 1.25rem;
	border-radius: 6px;
	margin-bottom: 1.5rem;
	font-size: 0.9375rem;
	line-height: 1.55;
}

.contact-notice--success {
	background-color: #f0faf4;
	border: 1px solid #34a853;
	color: #1a6b30;
}

.contact-notice--error {
	background-color: #fff5f5;
	border: 1px solid #e53e3e;
	color: #9b2c2c;
}

.contact-notice--error a {
	color: inherit;
}

/* ── Info card ───────────────────────────────────────────────────────────── */
.contact-info-card {
	background-color: var(--aurum-purple-dark);
	border-radius: 8px;
	padding: 2.5rem;
	position: sticky;
	top: 100px;
}

.contact-info-card__heading {
	margin: 0 0 2rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--aurum-white);
}

.contact-info-item {
	margin-bottom: 1.625rem;
}

.contact-info-item:last-child {
	margin-bottom: 0;
}

.contact-info-item__label {
	margin: 0 0 0.3rem;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--aurum-gold);
}

.contact-info-item__value {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: rgba(247, 245, 242, 0.85);
	font-style: normal; /* reset <address> italic */
}

.contact-info-item__value a {
	color: rgba(247, 245, 242, 0.85);
	text-decoration: none;
	transition: color 0.15s ease;
}

.contact-info-item__value a:hover {
	color: var(--aurum-gold);
}

/* LinkedIn link with inline icon */
.contact-linkedin-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

/* ── Contact responsive ──────────────────────────────────────────────────── */
@media ( max-width: 900px ) {
	.contact-body__inner {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
	.contact-info-card {
		position: static;
	}
}

@media ( max-width: 600px ) {
	.contact-form__row {
		grid-template-columns: 1fr;
	}
	.contact-form__footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.875rem;
	}
	.contact-body {
		padding: 3.5rem 0;
	}
}

/* =============================================================================
   SECTORS PAGE
   ============================================================================= */

/* Intro paragraph above the grid (optional, from the_content()) */
.sectors-intro {
	background-color: var(--aurum-white);
	padding: 3.5rem 0 0;
}

.sectors-intro__content {
	max-width: 760px;
}

/* Main grid section — same purple-light bg as homepage sectors strip */
.sectors-page-section {
	background-color: var(--aurum-purple-light);
	padding: 5rem 0;
}

/* Tint shared heading tokens for the purple-light background */
.sectors-page-section .section-label {
	color: var(--aurum-purple-dark);
}

.sectors-page-section .home-section-heading {
	color: var(--aurum-purple-dark);
}

/* 4-column grid — collapses at 900 px and 480 px */
.sectors-card-grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 1.5rem;
	margin-top: 3rem;
}

/* ── Sector card ─────────────────────────────────────────────────────────── */
.sector-card {
	background-color: var(--aurum-white);
	border-radius: 10px;
	padding: 2rem 1.5rem;
	border: 1px solid rgba(112, 74, 190, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sector-card:hover {
	transform: translateY( -3px );
	box-shadow: 0 8px 28px rgba(79, 52, 134, 0.13);
	border-color: rgba(112, 74, 190, 0.42);
}

/* Icon container — same size as .service-card__icon for consistency */
.sector-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 10px;
	/* Slightly stronger tint so the icon reads against the white card */
	background-color: rgba(112, 74, 190, 0.10);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
	color: var(--aurum-purple-dark);
	flex-shrink: 0;
}

.sector-card__icon svg {
	width: 24px;
	height: 24px;
}

.sector-card__title {
	margin: 0 0 0.625rem;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--aurum-purple-dark);
}

.sector-card__desc {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--aurum-gray);
}

/* ── Sectors page responsive ─────────────────────────────────────────────── */
@media ( max-width: 900px ) {
	.sectors-card-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 480px ) {
	.sectors-card-grid {
		grid-template-columns: 1fr;
	}
	.sectors-page-section {
		padding: 3.5rem 0;
	}
	.sectors-intro {
		padding-top: 2.5rem;
	}
}

/* =============================================================================
   INSIGHT CARD — shared additions
   (Base card styles are in SECTION 6 — INSIGHTS TEASER above)
   ============================================================================= */

/* Image link wrapper — resets link decoration, keeps hover states on child */
.insight-card__image-link {
	display: block;
	text-decoration: none;
}

/* No-image placeholder: inherits the purple-light bg of .insight-card__image */
.insight-card__no-image {
	width: 100%;
	height: 100%;
	background-image: repeating-linear-gradient(
		-45deg,
		rgba(112, 74, 190, 0.04) 0px,
		rgba(112, 74, 190, 0.04) 1px,
		transparent 1px,
		transparent 8px
	);
}

/* Date meta — sits above the title */
.insight-card__meta {
	margin: 0 0 0.4rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--aurum-gray);
	letter-spacing: 0.02em;
}

/* =============================================================================
   INSIGHTS ARCHIVE  (home.php / archive.php)
   ============================================================================= */

.insights-archive {
	background-color: var(--aurum-white);
	padding: 3.5rem 0 5rem;
}

.insights-archive__grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 1.75rem;
	margin-bottom: 2.5rem;
}

.insights-archive__empty {
	text-align: center;
	padding: 4rem 0;
	font-size: 1.0625rem;
	color: var(--aurum-gray);
}

/* ── Archive pagination ───────────────────────────────────────────────────── */
.insights-archive__pagination {
	display: flex;
	justify-content: center;
	padding-top: 1rem;
}

.insights-archive__pagination .nav-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.375rem;
}

.insights-archive__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.375rem;
	height: 2.375rem;
	padding: 0 0.625rem;
	border-radius: 6px;
	border: 1px solid rgba(0, 0, 0, 0.13);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--aurum-charcoal);
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	background-color: var(--aurum-white);
}

.insights-archive__pagination .page-numbers:hover,
.insights-archive__pagination .page-numbers:focus-visible {
	background-color: var(--aurum-purple-light);
	border-color: var(--aurum-purple);
	color: var(--aurum-purple-dark);
	outline: none;
}

.insights-archive__pagination .page-numbers.current {
	background-color: var(--aurum-purple);
	border-color: var(--aurum-purple);
	color: var(--aurum-white);
	cursor: default;
}

.insights-archive__pagination .prev,
.insights-archive__pagination .next {
	padding: 0 0.875rem;
	gap: 0.25rem;
	letter-spacing: 0.01em;
}

/* ── Archive label — small tag above H1 (archive.php category/tag/author) */
.service-hero__breadcrumb-label {
	margin: 0 0 0.25rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--aurum-gold);
}

/* ── Archive responsive ──────────────────────────────────────────────────── */
@media ( max-width: 900px ) {
	.insights-archive__grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 768px ) {
	.insights-archive {
		padding: 2.5rem 0 4rem;
	}
}

@media ( max-width: 480px ) {
	.insights-archive__grid {
		grid-template-columns: 1fr;
	}
}

/* =============================================================================
   SINGLE POST
   ============================================================================= */

/* ── Post hero additions (extends .service-hero) ─────────────────────────── */
.post-hero__title {
	max-width: 840px; /* long post titles wrap better at a narrower measure */
}

.post-hero__byline {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.375rem 0.5rem;
	margin-top: 0.875rem;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.7);
}

.post-hero__byline time {
	color: inherit;
}

.post-hero__byline-sep {
	opacity: 0.5;
}

/* ── Featured image ──────────────────────────────────────────────────────── */
.post-featured-image {
	background-color: var(--aurum-white);
	padding-top: 2.5rem;
}

.post-featured-image__img {
	display: block;
	width: 100%;
	max-height: 480px;
	object-fit: cover;
	border-radius: 8px;
}

/* ── Post body wrapper ───────────────────────────────────────────────────── */
.post-body {
	background-color: var(--aurum-white);
	padding: 3rem 0 5rem;
}

.post-body__inner {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
}

/* ── Post content — piggybacks .service-content typography (same class used  */
/*    in single.php). Only add genuinely different post-specific rules here.  */
.post-content {
	font-size: 1.0625rem; /* slightly larger than service page body (1rem) */
	line-height: 1.82;
}

.post-content p,
.post-content li {
	font-size: inherit;
	line-height: inherit;
}

/* Multi-page post links (wp_link_pages) */
.post-page-links {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.375rem;
	font-size: 0.9375rem;
}

.post-page-links span:first-child {
	font-weight: 600;
	color: var(--aurum-charcoal);
	margin-right: 0.25rem;
}

.post-page-links__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	padding: 0 0.375rem;
	border-radius: 4px;
	border: 1px solid rgba(0, 0, 0, 0.13);
	text-decoration: none;
	color: var(--aurum-charcoal);
	font-weight: 500;
	transition: background-color 0.12s ease, color 0.12s ease;
}

.post-page-links__item:hover {
	background-color: var(--aurum-purple-light);
	color: var(--aurum-purple-dark);
	border-color: var(--aurum-purple);
}

/* ── Related insights ────────────────────────────────────────────────────── */
.related-insights {
	background-color: var(--aurum-offwhite);
	padding: 4rem 0 5rem;
}

.related-insights__heading {
	margin: 0 0 2rem;
	font-size: clamp( 1.25rem, 2vw, 1.5rem );
	font-weight: 700;
	color: var(--aurum-purple-dark);
}

.related-insights__grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 1.75rem;
}

/* ── Single post responsive ──────────────────────────────────────────────── */
@media ( max-width: 900px ) {
	.related-insights__grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 768px ) {
	.post-body {
		padding: 2.25rem 0 3.5rem;
	}
	.post-featured-image {
		padding-top: 1.75rem;
	}
	.related-insights {
		padding: 3rem 0 4rem;
	}
}

@media ( max-width: 480px ) {
	.post-featured-image__img {
		max-height: 240px;
	}
	.related-insights__grid {
		grid-template-columns: 1fr;
	}
	.related-insights {
		padding: 2.5rem 0 3.5rem;
	}
}

/* =============================================================================
   SERVICES OVERVIEW PAGE  (page-services.php)
   ============================================================================= */

.services-overview-body {
	background-color: var(--aurum-white);
	padding: 3.5rem 0 5rem;
}

.services-overview-intro {
	max-width: 720px;
	margin: 0 0 2.75rem;
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--aurum-charcoal);
}

@media ( max-width: 768px ) {
	.services-overview-body {
		padding: 2.5rem 0 4rem;
	}

	.services-overview-intro {
		margin-bottom: 2rem;
	}
}

/* =============================================================================
   GOVERNANCE PAGE — 8 CHARACTERISTICS OF GOOD GOVERNANCE
   ============================================================================= */

.gov-principles {
	background-color: var(--aurum-purple-light);
	padding: 4.5rem 0;
}

.gov-principles__header {
	text-align: center;
	margin-bottom: 2.75rem;
}

.gov-principles__heading {
	margin: 0;
	font-size: clamp( 1.375rem, 2.5vw, 1.875rem );
	font-weight: 700;
	line-height: 1.25;
	color: var(--aurum-charcoal);
}

/* ── 4-column principles grid ──────────────────────────────────────────────── */
.gov-char-grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 1.25rem;
}

.gov-char-item {
	background-color: var(--aurum-white);
	border-radius: 12px;
	padding: 1.75rem 1.25rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.875rem;
	text-align: center;
	border: 1px solid rgba(112, 74, 190, 0.14);
	transition: transform 0.4s ease, box-shadow 0.4s ease,
	            background-color 0.4s ease, border-color 0.4s ease;
}

.gov-char-item:hover {
	background-color: var(--aurum-purple-dark);
	border-color: var(--aurum-purple-dark);
	transform: translateY( -5px );
	box-shadow: 0 16px 40px rgba(79, 52, 134, 0.28);
}

.gov-char-item__icon {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background-color: rgba(112, 74, 190, 0.10);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--aurum-purple-dark);
	flex-shrink: 0;
	transition: background-color 0.4s ease, color 0.4s ease;
}

.gov-char-item:hover .gov-char-item__icon {
	background-color: rgba(234, 195, 146, 0.18);
	color: var(--aurum-gold);
}

.gov-char-item__icon svg {
	width: 24px;
	height: 24px;
}

.gov-char-item__label {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--aurum-purple-dark);
	transition: color 0.4s ease;
}

.gov-char-item:hover .gov-char-item__label {
	color: var(--aurum-white);
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media ( max-width: 900px ) {
	.gov-char-grid {
		grid-template-columns: repeat( 2, 1fr );
		gap: 1rem;
	}
}

@media ( max-width: 480px ) {
	.gov-principles {
		padding: 3rem 0;
	}
	.gov-char-grid {
		grid-template-columns: 1fr;
	}
}

/* ── Base ───────────────────────────────────────────────────────────────────── */
/* Add page/component-level overrides below as the build progresses.            */
