/**
 * About Us page.
 *
 * Restyles the existing About Us page output without changing its template,
 * Elementor content, section order or generated element identifiers.
 *
 * The stylesheet is loaded only when the page has the `jr-page-about-us`
 * body class assigned through the Page CSS Classes setting.
 *
 * @package Jedi_Theme_Dark
 * @subpackage Pages
 */

/* ==========================================================================
   Page scope and measurements
   ========================================================================== */

body.jr-page-about-us {
	--jr-about-section-gap: clamp(1.5rem, 3vw, 3rem);
	--jr-about-section-padding: clamp(1.5rem, 3.5vw, 3.5rem);
	--jr-about-copy-width: 45rem;
	--jr-about-radius: 0;
}

/* ==========================================================================
   Main page canvas
   ========================================================================== */

body.jr-page-about-us #primary,
body.jr-page-about-us .site-main,
body.jr-page-about-us .entry-content,
body.jr-page-about-us .entry-content > .elementor {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.jr-page-about-us .entry-content {
	color: var(--jr-text);
}

body.jr-page-about-us .entry-content > .elementor {
	display: block;
}

/* ==========================================================================
   Existing alternating image-and-copy sections
   ========================================================================== */

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 0 0 var(--jr-about-section-gap) !important;
	padding: var(--jr-about-section-padding) !important;
	border: 1px solid rgba(111, 203, 255, 0.2);
	border-radius: var(--jr-about-radius);
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.035),
			transparent 40%
		),
		radial-gradient(
			circle at 100% 0,
			rgba(111, 203, 255, 0.07),
			transparent 24rem
		),
		rgba(8, 14, 22, 0.5) !important;
	box-shadow:
		0 1.5rem 3.5rem rgba(0, 0, 0, 0.24),
		inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section:nth-of-type(even) {
	background:
		linear-gradient(
			225deg,
			rgba(255, 255, 255, 0.03),
			transparent 40%
		),
		radial-gradient(
			circle at 0 100%,
			rgba(45, 166, 83, 0.065),
			transparent 24rem
		),
		rgba(8, 14, 22, 0.5) !important;
}

body.jr-page-about-us
  .entry-content
  > .elementor
  > .elementor-section::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  z-index: 2;
  width: auto;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      rgba(45, 166, 83, 0.12) 0%,
      rgba(69, 217, 107, 0.68) 18%,
      var(--jr-green-light) 50%,
      rgba(69, 217, 107, 0.68) 82%,
      rgba(45, 166, 83, 0.12) 100%
    );
  box-shadow: 0 0 1.25rem rgba(45, 166, 83, 0.22);
  content: "";
  pointer-events: none;
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section::after {
	position: absolute;
	z-index: 0;
	width: clamp(13rem, 24vw, 28rem);
	aspect-ratio: 1;
	border: 1px solid rgba(111, 203, 255, 0.075);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section:nth-of-type(odd)::after {
	top: -18%;
	right: -9%;
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section:nth-of-type(even)::after {
	bottom: -18%;
	left: -9%;
	border-color: rgba(69, 217, 107, 0.075);
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	> .elementor-container {
	position: relative;
	z-index: 1;
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	> .elementor-container {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
	width: 100%;
	max-width: none !important;
	margin: 0 auto;
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	> .elementor-container
	> .elementor-column {
	width: 100% !important;
	min-width: 0;
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.elementor-widget-wrap {
	align-content: center;
	padding: 0 !important;
	background: transparent !important;
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.elementor-widget {
	margin-bottom: 0;
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.elementor-widget
	+ .elementor-widget {
	margin-top: 1rem;
}

/* ==========================================================================
   Editorial typography
   ========================================================================== */

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.elementor-widget-heading
	p.elementor-heading-title {
	margin: 0;
	color: var(--jr-green-light);
	font-weight: 800;
	letter-spacing: 0.15em;
	line-height: 1.3;
	text-transform: uppercase;
	font-size: 0.9rem;
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.elementor-widget-heading
	h2.elementor-heading-title {
	max-width: 42rem;
	margin: 0;
	color: var(--jr-text);
	text-wrap: balance;
	text-shadow: 0 0 1.25rem rgba(255, 255, 255, 0.025);
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.title-left::before,
body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.title-left::after,
body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.title-right::before,
body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.title-right::after {
	content: none !important;
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.elementor-widget-text-editor {
	max-width: var(--jr-about-copy-width);
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.elementor-widget-text-editor
	p {
	margin: 0;
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.elementor-widget-text-editor
	p
	+ p {
	margin-top: 1rem;
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.elementor-widget-text-editor
	a {
	color: var(--jr-green-light) !important;
	font-weight: 700;
	text-decoration-color: rgba(69, 217, 107, 0.5) !important;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.elementor-widget-text-editor
	a:hover {
	color: var(--jr-green-bright) !important;
	text-decoration-color: currentcolor !important;
}

/* ==========================================================================
   Cinematic editorial images
   ========================================================================== */
body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.elementor-widget-image {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	width: 100%;
	border: 1px solid rgba(152, 169, 192, 0.42);
	background: #0a0e15;
	box-shadow:
		0 2.4rem 5.5rem rgba(0, 0, 0, 0.42),
		0 0 2.5rem rgba(111, 203, 255, 0.045),
		0 0 2.5rem rgba(45, 166, 83, 0.035);
}

/**
 * Add the cinematic colour wash above the existing responsive image.
 *
 * @package Jedi_Theme_Dark
 */
body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.elementor-widget-image::before {
	position: absolute;
	z-index: 1;
	inset: 0;
	background:
		linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.055),
			transparent 24%,
			transparent 72%,
			rgba(0, 0, 0, 0.32)
		),
		linear-gradient(
			90deg,
			rgba(111, 203, 255, 0.035),
			transparent 35%,
			transparent 65%,
			rgba(45, 166, 83, 0.035)
		);
	content: "";
	pointer-events: none;
}

/**
 * Draw the approved thin inner frame without changing the source image.
 *
 * @package Jedi_Theme_Dark
 */
body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.elementor-widget-image::after {
	position: absolute;
	z-index: 2;
	inset: 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 0.125rem;
	content: "";
	pointer-events: none;
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.elementor-widget-image
	a {
	display: block;
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section
	.elementor-widget-image
	img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	filter: saturate(1.08) contrast(1.055) brightness(0.97);
    object-fit: cover;
	transition:
		transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1),
		filter 350ms ease;
}

/* Preserve the clean white logo artwork in the third story section. */
body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section:nth-of-type(3)
	.elementor-widget-image
	.elementor-widget-container {
	background: #fff;
}

body.jr-page-about-us
	.entry-content
	> .elementor
	> .elementor-section:nth-of-type(3)
	.elementor-widget-image
	img {
	filter: contrast(1.02);
}

@media (hover: hover) and (pointer: fine) {
	body.jr-page-about-us
		.entry-content
		> .elementor
		> .elementor-section
		.elementor-widget-image:hover
		img {
		filter: saturate(1.12) contrast(1.07) brightness(1.01);
		transform: scale(1.035);
	}

	body.jr-page-about-us
		.entry-content
		> .elementor
		> .elementor-section:nth-of-type(3)
		.elementor-widget-image:hover
		img {
		filter: contrast(1.04);
	}
}

/* ==========================================================================
   Frequently asked questions: page layout only
   ========================================================================== */

/**
 * Keep only the About Us FAQ placement in the page stylesheet.
 *
 * The Nested Accordion appearance is provided globally by `.jr-faq` in the
 * main dark stylesheet.
 *
 * @package Jedi_Theme_Dark
 * @subpackage Pages
 */
body.jr-page-about-us
	.entry-content
	> .elementor
	> .e-con {
	position: relative;
	width: calc(100% - var(--jr-gutter));
	max-width: 74rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

@media (max-width: 620px) {
	body.jr-page-about-us
		.entry-content
		> .elementor
		> .e-con {
		width: calc(100% - 2rem);
		padding: 0;
		margin-top: 3.5rem;
	}
}

/* ==========================================================================
   Responsive layout
   ========================================================================== */

@media (max-width: 900px) {
	body.jr-page-about-us
		.entry-content
		> .elementor
		> .elementor-section
		> .elementor-container {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	@supports selector(.elementor-column:has(.elementor-widget-image)) {
		body.jr-page-about-us
			.entry-content
			> .elementor
			> .elementor-section
			.elementor-column:has(.elementor-widget-heading) {
			order: 1;
		}

		body.jr-page-about-us
			.entry-content
			> .elementor
			> .elementor-section
			.elementor-column:has(.elementor-widget-image) {
			order: 2;
		}
	}

	body.jr-page-about-us
		.entry-content
		> .elementor
		> .elementor-section
		.elementor-widget-text-editor {
		max-width: none;
	}
}

@media (max-width: 620px) {
	body.jr-page-about-us {
		--jr-about-section-gap: 1rem;
		--jr-about-section-padding: 1.25rem;
	}


	body.jr-page-about-us
		.entry-content
		> .elementor
		> .elementor-section {
		border-radius: 0.375rem;
	}


}

/* ==========================================================================
   Progressive scroll reveal
   ========================================================================== */

/**
 * Reveal story cards as they enter the viewport.
 *
 * JavaScript adds the enhancement classes only when IntersectionObserver is
 * available. Content therefore remains visible without JavaScript, and users
 * requesting reduced motion never receive the transition.
 *
 * @package Jedi_Theme_Dark
 */
@media (prefers-reduced-motion: no-preference) {
	body.jr-page-about-us.jr-about-reveal-enabled .jr-about-reveal {
		opacity: 0;
		transform: translateY(2rem);
		transition:
			opacity 750ms ease var(--jr-reveal-delay, 0ms),
			transform 850ms cubic-bezier(0.2, 0.75, 0.25, 1)
				var(--jr-reveal-delay, 0ms);
	}

	body.jr-page-about-us.jr-about-reveal-enabled
		.jr-about-reveal.is-visible {
		opacity: 1;
		transform: none;
	}
}

/* ==========================================================================
   Reduced-motion preference
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	body.jr-page-about-us .jr-about-reveal {
		opacity: 1 !important;
		transform: none !important;
	}

	body.jr-page-about-us
		.entry-content
		> .elementor
		> .elementor-section
		.elementor-widget-image
		img {
		transition: none;
	}

	body.jr-page-about-us
		.entry-content
		> .elementor
		> .elementor-section
		.elementor-widget-image:hover
		img {
		transform: none;
	}
}

/* ==========================================================================
   Editorial heading connector
   ========================================================================== */

/**
 * Replace the inherited solid connector with a restrained white fade.
 *
 * The neutral line separates the heading from the image without competing
 * with the existing green eyebrow and card-top accent.
 *
 * @package Jedi_Theme_Dark
 */
@media (min-width: 993px) {
	body.jr-page-about-us
		.entry-content
		> .elementor
		> .elementor-section
		.title-left
		h2,
	body.jr-page-about-us
		.entry-content
		> .elementor
		> .elementor-section
		.title-right
		h2 {
		--jr-heading-connector-width: clamp(2.5rem, 4vw, 4.5rem);

		position: relative;
	}

	body.jr-page-about-us
		.entry-content
		> .elementor
		> .elementor-section
		.title-left
		h2::after,
	body.jr-page-about-us
		.entry-content
		> .elementor
		> .elementor-section
		.title-right
		h2::before {
		position: absolute;
		top: 0.68em;

		width: var(--jr-heading-connector-width);
		height: 1px;

		background-color: transparent;
		content: "";
		pointer-events: none;

		box-shadow: none;
		filter: drop-shadow(
			0 0 0.35rem rgba(255, 255, 255, 0.12)
		);
	}

	/* Text column on the left; image column on the right. */
	body.jr-page-about-us
		.entry-content
		> .elementor
		> .elementor-section
		.title-left
		h2::after {
		right: calc(-1 * var(--jr-heading-connector-width));
		left: auto;

		background:
			linear-gradient(
				90deg,
				rgba(255, 255, 255, 0.68) 0%,
				rgba(196, 213, 232, 0.38) 58%,
				transparent 100%
			) !important;
	}

	/* Image column on the left; text column on the right. */
	body.jr-page-about-us
		.entry-content
		> .elementor
		> .elementor-section
		.title-right
		h2::before {
		right: auto;
		left: calc(-1 * var(--jr-heading-connector-width));

		background:
			linear-gradient(
				270deg,
				rgba(255, 255, 255, 0.68) 0%,
				rgba(196, 213, 232, 0.38) 58%,
				transparent 100%
			) !important;
	}
}

@media (max-width: 992px) {
	body.jr-page-about-us
		.entry-content
		> .elementor
		> .elementor-section
		.title-left
		h2::after,
	body.jr-page-about-us
		.entry-content
		> .elementor
		> .elementor-section
		.title-right
		h2::before {
		content: none !important;
	}
}


/* Build: 2026-08-07-jr-faq-common */