/* ==========================================================================
   Arock Construction — sitewide brand tokens and type scale

   Loaded on every page before any page-specific stylesheet. Page files may
   override with higher-specificity selectors where a page genuinely needs a
   different treatment, but the defaults here reflect the home-page values so
   every page starts from the same visual baseline.
   ========================================================================== */



:root {
	/* Brand accent */
	--arock-accent:        #FFB214;
	--arock-accent-strong: #D98D00;
	--arock-accent-dim:    rgba(255, 178, 20, 0.12);

	/* Ink / text */
	--arock-ink:           #0C0C0C;
	--arock-text-muted:    #6B6460;
	--arock-text-light:    #9C958F;

	/* Surfaces */
	--arock-surface:       #FAFAF9;
	--arock-surface-warm:  #F4F2EE;
	--arock-surface-dark:  #0D0C09;
	--arock-hairline:      rgba(0, 0, 0, 0.09);

	/* Elevation */
	--arock-shadow-sm:     0 2px 8px rgba(0, 0, 0, 0.07);
	--arock-shadow-md:     0 8px 24px rgba(0, 0, 0, 0.10);
	--arock-shadow-lg:     0 18px 44px rgba(0, 0, 0, 0.12);

	/* Geometry */
	--arock-radius:        4px;
	--arock-ease:          cubic-bezier(0.22, 0.61, 0.36, 1);

	/* Display typography (luxury serif for bespoke sections) */
	--arock-display-font:  'Plus Jakarta Sans', 'Urbanist', sans-serif;
}


/* --------------------------------------------------------------------------
   Global baseline
   -------------------------------------------------------------------------- */

html {
	scroll-behavior: smooth;
}

::selection {
	background-color: rgba(255, 178, 20, 0.22);
	color: var(--arock-ink);
}

a,
button,
[role="button"],
label[for],
summary,
.qodef-qi-button,
.elementor-button {
	cursor: pointer;
}


/* --------------------------------------------------------------------------
   Keyboard focus ring — amber branded, replaces the browser default.
   The theme's main67b1.css sets a:focus { outline: none } at (0,1,1)
   specificity, so we match it with element-qualified selectors and load
   after, winning by source order at equal specificity.
   !important is used only here because WCAG 2.4.11 requires focus
   indicators to survive cascade overrides.
   -------------------------------------------------------------------------- */

:focus-visible {
	outline: 2px solid var(--arock-accent) !important;
	outline-offset: 3px !important;
	border-radius: 2px;
}

/* Navigation links need their own tighter offset */
.nav-menu a:focus-visible {
	outline-offset: 2px !important;
}

/* Amber-on-dark contexts: switch to white ring */
.site-footer :focus-visible,
.arock-choose-wrap :focus-visible {
	outline-color: #ffffff !important;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}


/* --------------------------------------------------------------------------
   Amber background-stroke underline on the last word of every animated
   section heading — matches the home-page visual idiom site-wide.
   -------------------------------------------------------------------------- */

.qodef-qi-animated-text .qodef-m-title .qodef-e-word-holder:last-child {
	background-image: linear-gradient(var(--arock-accent), var(--arock-accent));
	background-repeat: no-repeat;
	background-position: 0 92%;
	background-size: 100% 0.05em;
}


/* --------------------------------------------------------------------------
   Type scale — refined, architectural elegance applied globally.

   Prevents oversized typography (formerly 116px headings / 17px base HTML /
   94px h1s) by establishing a balanced, restrained, and standardized type ladder.
   -------------------------------------------------------------------------- */

html {
	font-size: 15.5px;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

@media (max-width: 1024px) {
	html {
		font-size: 15px;
	}
}

@media (max-width: 767px) {
	html {
		font-size: 14.5px;
	}
}

body {
	font-size: 15.5px;
	line-height: 1.7;
	color: #3A3630;
}

/* Navigation: clean, crisp luxury measure */
@media screen and (min-width: 992px) {
	.nav-menu > ul {
		font-size: 14.5px !important;
		font-weight: 600 !important;
		letter-spacing: 0.04em;
	}

	.nav-menu ul ul {
		font-size: 14px !important;
		font-weight: 500 !important;
	}
}

/* --------------------------------------------------------------------------
   Standard Heading Scale (H1 – H6)
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--arock-ink);
	margin-top: 0;
	margin-bottom: 0.65em;
	text-rendering: optimizeLegibility;
}

/* H1: Main Page / Hero / Article Headline */
h1,
.entry-title,
.page-title {
	font-size: clamp(38px, 4.2vw, 50px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

@media (max-width: 1024px) {
	h1,
	.entry-title,
	.page-title {
		font-size: 36px;
		line-height: 1.2;
	}
}

@media (max-width: 767px) {
	h1,
	.entry-title,
	.page-title {
		font-size: 28px;
		line-height: 1.25;
	}
}

/* H2: Primary Section Titles */
h2,
.arock-pd-h2,
.wp-block-heading,
.arock-ct-map-head h2 {
	font-size: clamp(26px, 3.0vw, 34px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

@media (max-width: 1024px) {
	h2,
	.arock-pd-h2,
	.wp-block-heading,
	.arock-ct-map-head h2 {
		font-size: 26px;
		line-height: 1.3;
	}
}

@media (max-width: 767px) {
	h2,
	.arock-pd-h2,
	.wp-block-heading,
	.arock-ct-map-head h2 {
		font-size: 22px;
		line-height: 1.35;
	}
}

/* H3: Subsection / Large Card / Accordion / Feature Title */
h3,
.qodef-qi-accordion .qodef-e-title-holder,
.qodef-qi-accordion .qodef-e-title,
.arock-ct-form-intro h3,
.comment-reply-title,
.arock-sl-cat__title,
.footer-subscribe h3,
.qodef-tab-title,
.arock-pf-card__title,
.arock-pj-card__title {
	font-size: clamp(20px, 2.2vw, 24px);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

@media (max-width: 1024px) {
	h3,
	.qodef-qi-accordion .qodef-e-title-holder,
	.qodef-qi-accordion .qodef-e-title,
	.arock-ct-form-intro h3,
	.comment-reply-title,
	.arock-sl-cat__title,
	.footer-subscribe h3,
	.qodef-tab-title,
	.arock-pf-card__title,
	.arock-pj-card__title {
		font-size: 20px;
	}
}

@media (max-width: 767px) {
	h3,
	.qodef-qi-accordion .qodef-e-title-holder,
	.qodef-qi-accordion .qodef-e-title,
	.arock-ct-form-intro h3,
	.comment-reply-title,
	.arock-sl-cat__title,
	.footer-subscribe h3,
	.qodef-tab-title,
	.arock-pf-card__title,
	.arock-pj-card__title {
		font-size: 18px;
	}
}

/* H4: Card Subtitle / Feature Heading / Timeline Step */
h4,
.qodef-e-title,
.arock-sl-item__title,
.nav-desc h4 {
	font-size: 19px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
}

@media (max-width: 1024px) {
	h4,
	.qodef-e-title,
	.arock-sl-item__title,
	.nav-desc h4 {
		font-size: 17px;
	}
}

@media (max-width: 767px) {
	h4,
	.qodef-e-title,
	.arock-sl-item__title,
	.nav-desc h4 {
		font-size: 16px;
	}
}

/* H5: Block Heading / Footer Column Heading / Office Subhead */
h5,
.site-footer .elementor-heading-title,
.site-footer .widget-title,
h5.elementor-heading-title,
.arock-sl-block__title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
	h5,
	.site-footer .elementor-heading-title,
	.site-footer .widget-title,
	h5.elementor-heading-title,
	.arock-sl-block__title {
		font-size: 15px;
	}
}

@media (max-width: 767px) {
	h5,
	.site-footer .elementor-heading-title,
	.site-footer .widget-title,
	h5.elementor-heading-title,
	.arock-sl-block__title {
		font-size: 14px;
	}
}

/* H6: Eyebrow / Overline / Micro Tag */
h6,
.ar-eyebrow,
.cat-links,
.arock-ct-info__label {
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	h6,
	.ar-eyebrow,
	.cat-links,
	.arock-ct-info__label {
		font-size: 11.5px;
		letter-spacing: 0.12em;
	}
}


/* --------------------------------------------------------------------------
   Paragraphs & Body Text
   -------------------------------------------------------------------------- */

p,
.elementor-widget-text-editor p,
.entry-content p,
.arock-pd-prose p,
.qodef-e-text {
	font-size: 15.5px;
	line-height: 1.7;
	color: #3A3630;
	margin-top: 0;
	margin-bottom: 1.25em;
}

p:last-child,
.elementor-widget-text-editor p:last-child,
.entry-content p:last-child,
.arock-pd-prose p:last-child {
	margin-bottom: 0;
}

@media (max-width: 1024px) {
	p,
	.elementor-widget-text-editor p,
	.entry-content p,
	.arock-pd-prose p,
	.qodef-e-text {
		font-size: 15px;
		line-height: 1.65;
	}
}

@media (max-width: 767px) {
	p,
	.elementor-widget-text-editor p,
	.entry-content p,
	.arock-pd-prose p,
	.qodef-e-text {
		font-size: 14.5px;
		line-height: 1.6;
	}
}

/* Lead / Standfirst Copy */
p.lead,
.lead p,
.bdt-slider-excerpt p,
.arock-pd-hero__tagline,
.arock-intro-txt p:first-child,
.arock-projects-intro-txt p:first-child,
.arock-404__text,
.arock-ct-form-intro p {
	font-size: 17.5px;
	line-height: 1.62;
	font-weight: 400;
	color: #2E2A25;
}

@media (max-width: 1024px) {
	p.lead,
	.lead p,
	.bdt-slider-excerpt p,
	.arock-pd-hero__tagline,
	.arock-intro-txt p:first-child,
	.arock-projects-intro-txt p:first-child,
	.arock-404__text,
	.arock-ct-form-intro p {
		font-size: 16px;
		line-height: 1.58;
	}
}

@media (max-width: 767px) {
	p.lead,
	.lead p,
	.bdt-slider-excerpt p,
	.arock-pd-hero__tagline,
	.arock-intro-txt p:first-child,
	.arock-projects-intro-txt p:first-child,
	.arock-404__text,
	.arock-ct-form-intro p {
		font-size: 15px;
		line-height: 1.55;
	}
}

/* Small Text / Captions / Legal / Form Notes */
small,
p.small,
.site-info,
.entry-meta,
.arock-sl-cat__note,
.arock-ct-info__note,
figcaption {
	font-size: 13px;
	line-height: 1.55;
	color: var(--arock-text-muted);
}


/* --------------------------------------------------------------------------
   Elementor Animated Headings & Standfirst Sections
   -------------------------------------------------------------------------- */

/* Animated Display Headings ("What We Do", "Our Services", "Let's Talk", etc.) */
.elementor .elementor-element .elementor-widget-container .qodef-qi-animated-text .qodef-m-title {
	font-size: clamp(40px, 4.2vw, 52px);
	font-weight: 500;
	line-height: 1.15em;
	letter-spacing: -0.015em;
}

/* Section intro / supporting copy beneath animated titles */
.elementor .elementor-element .elementor-widget-container h2.elementor-heading-title {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6em;
	color: #4A453E;
	max-width: 54em;
}

@media (max-width: 1024px) {
	.elementor .elementor-element .elementor-widget-container .qodef-qi-animated-text .qodef-m-title {
		font-size: 36px;
	}

	.elementor .elementor-element .elementor-widget-container h2.elementor-heading-title {
		font-size: 16.5px;
		line-height: 1.55em;
	}
}

@media (max-width: 767px) {
	.elementor .elementor-element .elementor-widget-container .qodef-qi-animated-text .qodef-m-title {
		font-size: 28px;
	}

	.elementor .elementor-element .elementor-widget-container h2.elementor-heading-title {
		font-size: 15px;
		line-height: 1.5em;
	}
}


/* --------------------------------------------------------------------------
   Buttons & UI Elements
   -------------------------------------------------------------------------- */

.button,
button,
html .elementor-button,
html .ekit-wid-con .elementskit-btn,
html .ekit-wid-con .ekit_creative_button,
.more-link,
.qodef-qi-button {
	font-family: var(--arock-display-font, 'Plus Jakarta Sans', sans-serif);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Storeys Filter Toolbar (Projects, Sales, Portfolio)
   -------------------------------------------------------------------------- */

.arock-pj-filterbar,
.arock-sl-filterbar,
.arock-pf-filterbar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 34px;
	align-items: center;
	padding: 0;
}

.arock-pj-filter-btn,
.arock-sl-filter-btn,
.arock-pf-filter-btn,
button.arock-pj-filter-btn,
button.arock-sl-filter-btn,
button.arock-pf-filter-btn {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 10px 18px !important;
	border-radius: 999px !important;
	border: 1px solid rgba(12, 12, 12, 0.16) !important;
	background-color: #ffffff !important;
	color: #0C0C0C !important;
	font-family: var(--arock-display-font, 'Plus Jakarta Sans', sans-serif) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
	line-height: 1.2 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-shadow: none !important;
	box-shadow: none !important;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	transform: translateZ(0);
	transition: background-color 200ms ease,
	            color 200ms ease,
	            border-color 200ms ease,
	            transform 180ms ease !important;
}

.arock-pj-filter-btn:hover,
.arock-sl-filter-btn:hover,
.arock-pf-filter-btn:hover,
button.arock-pj-filter-btn:hover,
button.arock-sl-filter-btn:hover,
button.arock-pf-filter-btn:hover {
	border-color: #FFB214 !important;
	color: #000000 !important;
	background-color: #ffffff !important;
}

.arock-pj-filter-btn:focus-visible,
.arock-sl-filter-btn:focus-visible,
.arock-pf-filter-btn:focus-visible {
	outline: 2px solid #FFB214 !important;
	outline-offset: 2px !important;
}

.arock-pj-filter-btn.is-active,
.arock-sl-filter-btn.is-active,
.arock-pf-filter-btn.is-active,
button.arock-pj-filter-btn.is-active,
button.arock-sl-filter-btn.is-active,
button.arock-pf-filter-btn.is-active {
	background-color: #0C0C0C !important;
	border-color: #0C0C0C !important;
	color: #FFB214 !important;
	font-weight: 600 !important;
	box-shadow: none !important;
	transform: none !important;
	cursor: pointer;
}

.arock-pj-filter-btn.is-active:hover,
.arock-sl-filter-btn.is-active:hover,
.arock-pf-filter-btn.is-active:hover,
button.arock-pj-filter-btn.is-active:hover,
button.arock-sl-filter-btn.is-active:hover,
button.arock-pf-filter-btn.is-active:hover {
	background-color: #0C0C0C !important;
	border-color: #0C0C0C !important;
	color: #FFB214 !important;
}


/* ==========================================================================
   Universal Hero Ken Burns & Gradient Overlay Effect (Matches About page)
   Applied across About, Services, Projects, Portfolio, Sales, Contact
   ========================================================================== */

@keyframes ar-kenburns-hero {
	0%   { transform: scale(1) translate(0, 0); }
	50%  { transform: scale(1.08) translate(-1.2%, -0.8%); }
	100% { transform: scale(1.04) translate(0.8%, 0.5%); }
}

.arock-hero-about,
.arock-hero-services,
.arock-hero-projects,
.arock-hero-portfolio,
.arock-hero-sales,
.arock-hero-contact,
.elementor-993 .elementor-element.elementor-element-b857d32,
.elementor-998 .elementor-element.elementor-element-7d515519,
.elementor-1178 .elementor-element.elementor-element-ac03a1f,
.elementor-element.elementor-element-ac03a1f {
	margin-top: 0 !important;
	position: relative !important;
	overflow: hidden !important;
	background-image: none !important;
	background: #0d0c09 !important;
}

.arock-hero-about::before,
.arock-hero-services::before,
.arock-hero-projects::before,
.arock-hero-portfolio::before,
.arock-hero-sales::before,
.arock-hero-contact::before,
.elementor-993 .elementor-element.elementor-element-b857d32::before,
.elementor-998 .elementor-element.elementor-element-7d515519::before,
.elementor-1178 .elementor-element.elementor-element-ac03a1f::before,
.elementor-element.elementor-element-ac03a1f::before {
	content: "" !important;
	position: absolute !important;
	top: -6% !important;
	left: -6% !important;
	width: 112% !important;
	height: 112% !important;
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	animation: ar-kenburns-hero 22s ease-in-out infinite alternate !important;
	z-index: 0 !important;
	transform-origin: center center !important;
}

.arock-hero-about::after,
.arock-hero-services::after,
.arock-hero-projects::after,
.arock-hero-portfolio::after,
.arock-hero-sales::after,
.arock-hero-contact::after,
.elementor-993 .elementor-element.elementor-element-b857d32::after,
.elementor-998 .elementor-element.elementor-element-7d515519::after,
.elementor-1178 .elementor-element.elementor-element-ac03a1f::after,
.elementor-element.elementor-element-ac03a1f::after {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	pointer-events: none !important;
	background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.4) 100%) !important;
	z-index: 1 !important;
}

.arock-hero-about > .elementor-container,
.arock-hero-services > .elementor-container,
.arock-hero-projects > .elementor-container,
.arock-hero-portfolio > .elementor-container,
.arock-hero-sales > .elementor-container,
.arock-hero-contact > .elementor-container,
.elementor-993 .elementor-element.elementor-element-b857d32 > .elementor-container,
.elementor-998 .elementor-element.elementor-element-7d515519 > .elementor-container,
.elementor-1178 .elementor-element.elementor-element-ac03a1f > .elementor-container,
.elementor-element.elementor-element-ac03a1f > .elementor-container {
	position: relative !important;
	z-index: 2 !important;
	min-height: max(480px, 31.25vw) !important;
}

/* Page-specific background images */
.arock-hero-about::before,
.elementor-993 .elementor-element.elementor-element-b857d32::before,
body.page-id-993 .elementor-element.elementor-element-b857d32::before {
	background-image: url("/assets/Pages%20main%20images/About%20Us.jpg") !important;
}

.arock-hero-services::before,
body.page-id-1178 .elementor-element.elementor-element-ac03a1f::before,
.elementor-1178.arock-services-page .elementor-element.elementor-element-ac03a1f::before {
	background-image: url("/assets/Pages%20main%20images/Services.jpg") !important;
}

.arock-hero-projects::before,
body.page-id-1002 .elementor-element.elementor-element-ac03a1f::before,
.elementor-1178.arock-projects-page .elementor-element.elementor-element-ac03a1f::before {
	background-image: url("/assets/Pages%20main%20images/Projects.jpg") !important;
}

.arock-hero-portfolio::before,
body.page-id-1003 .elementor-element.elementor-element-ac03a1f::before,
.elementor-1178.arock-portfolio-page .elementor-element.elementor-element-ac03a1f::before {
	background-image: url("/assets/Pages%20main%20images/Portfolio.jpg") !important;
}

.arock-hero-sales::before,
body.page-id-1004 .elementor-element.elementor-element-ac03a1f::before,
.elementor-1178.arock-sales-page .elementor-element.elementor-element-ac03a1f::before {
	background-image: url("/assets/Pages%20main%20images/Sales.jpg") !important;
}

.arock-hero-contact::before,
.elementor-998 .elementor-element.elementor-element-7d515519::before,
body.page-id-998 .elementor-element.elementor-element-7d515519::before {
	background-image: url("/assets/Pages%20main%20images/contact.jpg") !important;
}

@media (prefers-reduced-motion: reduce) {
	.arock-hero-about::before,
	.arock-hero-services::before,
	.arock-hero-projects::before,
	.arock-hero-portfolio::before,
	.arock-hero-sales::before,
	.arock-hero-contact::before,
	.elementor-993 .elementor-element.elementor-element-b857d32::before,
	.elementor-998 .elementor-element.elementor-element-7d515519::before,
	.elementor-1178 .elementor-element.elementor-element-ac03a1f::before {
		animation: none !important;
		transform: scale(1) !important;
	}
}

@media (max-width: 767px) {
	.arock-hero-about > .elementor-container,
	.arock-hero-services > .elementor-container,
	.arock-hero-projects > .elementor-container,
	.arock-hero-portfolio > .elementor-container,
	.arock-hero-sales > .elementor-container,
	.arock-hero-contact > .elementor-container,
	.elementor-993 .elementor-element.elementor-element-b857d32 > .elementor-container,
	.elementor-998 .elementor-element.elementor-element-7d515519 > .elementor-container,
	.elementor-1178 .elementor-element.elementor-element-ac03a1f > .elementor-container {
		min-height: 440px !important;
	}
	.arock-hero-about::before,
	.arock-hero-services::before,
	.arock-hero-projects::before,
	.arock-hero-portfolio::before,
	.arock-hero-sales::before,
	.arock-hero-contact::before,
	.elementor-993 .elementor-element.elementor-element-b857d32::before,
	.elementor-998 .elementor-element.elementor-element-7d515519::before,
	.elementor-1178 .elementor-element.elementor-element-ac03a1f::before {
		background-position: center 30% !important;
	}
}

/* Ensure elementor-invisible is smoothly revealed */
.elementor-invisible.animated {
	visibility: visible !important;
}
