/*
Theme Name: Reach Agency
Theme URI: https://reach.youssry99.com
Author: Y99 Agency
Author URI: https://y99.tech
Description: Custom brand theme for Reach Agency — geometric mint-green and yellow identity, built Elementor-first with full Theme Builder location support (header, footer, single, archive), RTL/Arabic ready.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reach-agency
Tags: one-column, custom-logo, custom-menu, featured-images, translation-ready, rtl-language-support, block-styles, wide-blocks
*/

:root {
	--reach-green: #00d19d;
	--reach-green-dark: #00b184;
	--reach-yellow: #ffc200;
	--reach-black: #131313;
	--reach-gray: #5f6368;
	--reach-light: #f6f7f7;
	--reach-white: #ffffff;
	--reach-font-heading: "Archivo", "IBM Plex Sans Arabic", "Cairo", sans-serif;
	--reach-font-body: "Hanken Grotesk", "IBM Plex Sans Arabic", "Cairo", sans-serif;
	--reach-radius: 16px;
	--reach-container: 1200px;
}

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

body {
	margin: 0;
	font-family: var(--reach-font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--reach-black);
	background: var(--reach-white);
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--reach-font-heading);
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 0.6em;
	color: var(--reach-black);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

a { color: var(--reach-green-dark); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--reach-black); }

.reach-container {
	max-width: var(--reach-container);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Buttons ---------- */
.reach-btn,
.wp-block-button__link,
button, input[type="submit"] {
	display: inline-block;
	background: var(--reach-green);
	color: var(--reach-black);
	font-family: var(--reach-font-heading);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 14px 32px;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}
.reach-btn:hover,
.wp-block-button__link:hover,
button:hover, input[type="submit"]:hover {
	background: var(--reach-yellow);
	color: var(--reach-black);
	transform: translateY(-2px);
}
.reach-btn--yellow { background: var(--reach-yellow); }
.reach-btn--yellow:hover { background: var(--reach-green); }

/* ---------- Fallback header ---------- */
.reach-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: var(--reach-white);
	border-bottom: 1px solid rgba(10, 10, 10, 0.07);
}
.reach-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}
.reach-header .custom-logo { max-height: 48px; width: auto; }
.reach-header__brand { display: flex; align-items: center; gap: 12px; }
.reach-header__title {
	font-family: var(--reach-font-heading);
	font-weight: 900;
	font-size: 22px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--reach-black);
}
.reach-header__title:hover { color: var(--reach-green-dark); }

.reach-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.reach-nav a {
	display: block;
	padding: 8px 16px;
	font-family: var(--reach-font-heading);
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--reach-black);
	border-radius: 999px;
}
.reach-nav a:hover,
.reach-nav .current-menu-item > a {
	background: var(--reach-yellow);
	color: var(--reach-black);
}

.reach-menu-toggle { display: none; background: transparent; padding: 8px; }
.reach-menu-toggle span {
	display: block;
	width: 26px; height: 3px;
	background: var(--reach-black);
	margin: 5px 0;
	border-radius: 2px;
}

@media (max-width: 860px) {
	.reach-menu-toggle { display: block; }
	.reach-nav {
		display: none;
		position: absolute;
		inset: 100% 0 auto 0;
		background: var(--reach-white);
		border-bottom: 1px solid rgba(10,10,10,0.07);
		padding: 12px 24px 20px;
	}
	.reach-nav.is-open { display: block; }
	.reach-nav ul { flex-direction: column; }
}

/* ---------- Fallback footer ---------- */
.reach-footer {
	background: var(--reach-black);
	color: #cfd3d4;
	margin-top: 80px;
}
.reach-footer__bar { display: flex; height: 6px; }
.reach-footer__bar span { flex: 1; }
.reach-footer__bar span:first-child { background: var(--reach-green); }
.reach-footer__bar span:last-child { background: var(--reach-yellow); }
.reach-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 36px 24px;
	max-width: var(--reach-container);
	margin: 0 auto;
}
.reach-footer a { color: var(--reach-yellow); }
.reach-footer a:hover { color: var(--reach-green); }
.reach-footer__logo img { max-height: 44px; width: auto; }

/* ---------- Content / blog fallbacks ---------- */
.reach-main { min-height: 50vh; }
.reach-page-header {
	background: var(--reach-light);
	padding: 64px 0;
	margin-bottom: 48px;
	border-bottom: 4px solid var(--reach-green);
}
.reach-page-header h1 { margin: 0; }

.reach-content { padding-bottom: 64px; }

.reach-card {
	background: var(--reach-white);
	border: 1px solid rgba(10,10,10,0.08);
	border-radius: var(--reach-radius);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.reach-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,10,10,0.10); }
.reach-card__thumb img { display: block; width: 100%; object-fit: cover; aspect-ratio: 16/9; }
.reach-card__body { padding: 24px; }
.reach-card__title { font-size: 1.25rem; margin-bottom: 8px; }
.reach-card__title a { color: var(--reach-black); }
.reach-card__title a:hover { color: var(--reach-green-dark); }
.reach-card__meta {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--reach-gray);
	margin-bottom: 12px;
}

.reach-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 28px;
}

.reach-single__thumb img { border-radius: var(--reach-radius); }
.reach-single .reach-entry { max-width: 780px; margin: 0 auto; }

.reach-pagination { display: flex; gap: 8px; justify-content: center; margin: 48px 0; }
.reach-pagination .page-numbers {
	display: inline-block;
	min-width: 42px;
	padding: 8px 12px;
	text-align: center;
	border-radius: 999px;
	background: var(--reach-light);
	color: var(--reach-black);
	font-weight: 700;
}
.reach-pagination .page-numbers.current { background: var(--reach-green); }
.reach-pagination .page-numbers:hover { background: var(--reach-yellow); }

/* 404 / search */
.reach-404 { text-align: center; padding: 96px 24px; }
.reach-404 .reach-404__code {
	font-family: var(--reach-font-heading);
	font-weight: 900;
	font-size: clamp(5rem, 16vw, 10rem);
	line-height: 1;
	color: var(--reach-green);
}
.reach-404 .reach-404__code span { color: var(--reach-yellow); }

.search-form { display: flex; gap: 10px; max-width: 480px; margin: 24px auto; }
.search-form .search-field {
	flex: 1;
	padding: 12px 20px;
	border: 2px solid var(--reach-black);
	border-radius: 999px;
	font-family: var(--reach-font-body);
	font-size: 16px;
}

/* ---------- Elementor harmony ---------- */
.elementor-kit- body { font-family: var(--reach-font-body); }
.e-con, .elementor-section { --container-max-width: var(--reach-container); }

/* Full-bleed pages built with Elementor: theme adds no padding */
.elementor-page .reach-main > .reach-container,
.elementor-page .reach-content { max-width: none; padding: 0; }
.elementor-page .reach-page-header { display: none; }

/* WordPress core alignment */
.alignwide { max-width: 1400px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; max-width: 100%; }

/* Accessibility */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px; width: 1px;
	overflow: hidden;
	position: absolute !important;
	word-wrap: normal !important;
}
:focus-visible { outline: 3px solid var(--reach-yellow); outline-offset: 2px; }

/* ==========================================================
   Homepage (front-page.php) — dynamic brand sections
   ========================================================== */

/* Ghost button variant */
.reach-btn--ghost {
	background: transparent;
	color: var(--reach-white);
	box-shadow: inset 0 0 0 2px var(--reach-white);
}
.reach-btn--ghost:hover { background: var(--reach-white); color: var(--reach-black); }

/* ---------- Hero ---------- */
.rh-hero {
	position: relative;
	overflow: hidden;
	background: var(--reach-black);
	color: var(--reach-white);
}
.rh-hero__inner {
	position: relative;
	z-index: 2;
	padding-top: clamp(80px, 14vh, 160px);
	padding-bottom: clamp(64px, 10vh, 120px);
	max-width: 900px;
}
.rh-hero__kicker {
	display: inline-block;
	font-family: var(--reach-font-heading);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--reach-black);
	background: var(--reach-yellow);
	padding: 6px 14px;
	border-radius: 999px;
	margin: 0 0 20px;
}
.rh-hero__title {
	font-size: clamp(2.6rem, 7vw, 5rem);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--reach-white);
	margin-bottom: 0.4em;
}
.rh-hero__title .rh-hl { color: var(--reach-green); }
.rh-hero__sub {
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	color: rgba(255, 255, 255, 0.78);
	max-width: 620px;
	margin: 0 0 32px;
}
.rh-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Floating geometric shapes (from the R monogram construction) */
.rh-hero__shapes, .rh-cta__shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.rh-shape { position: absolute; display: block; animation: rh-float 7s ease-in-out infinite; }
.rh-shape--tri {
	top: 12%; right: 8%;
	width: 0; height: 0;
	border-left: 60px solid transparent;
	border-right: 60px solid transparent;
	border-bottom: 104px solid var(--reach-green);
	opacity: 0.9;
	animation-delay: 0s;
}
.rh-shape--quarter {
	bottom: 18%; right: 22%;
	width: 120px; height: 120px;
	background: var(--reach-yellow);
	border-radius: 0 100% 0 0;
	animation-delay: 1.6s;
}
.rh-shape--ring {
	top: 62%; right: 16%;
	width: 72px; height: 72px;
	border: 10px solid var(--reach-green);
	border-radius: 50%;
	opacity: 0.35;
	animation-delay: 3.2s;
}
.rh-shape--dot {
	bottom: 34%; right: 6%;
	width: 26px; height: 26px;
	background: var(--reach-yellow);
	border-radius: 50%;
	animation-delay: 2.4s;
}
.rh-shape--sm { transform: scale(0.55); }
@keyframes rh-float {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -22px; }
}
@media (max-width: 860px) {
	.rh-shape--tri { right: -30px; opacity: 0.5; }
	.rh-shape--quarter { right: -40px; opacity: 0.5; }
	.rh-shape--ring { display: none; }
}

/* ---------- Marquee band ---------- */
.rh-marquee {
	position: relative;
	z-index: 2;
	background: var(--reach-green);
	overflow: hidden;
	padding: 14px 0;
}
.rh-marquee__track {
	display: flex;
	gap: 40px;
	width: max-content;
	animation: rh-marquee 22s linear infinite;
	font-family: var(--reach-font-heading);
	font-weight: 900;
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--reach-black);
	white-space: nowrap;
}
.rh-marquee__dot { color: var(--reach-yellow); }
@keyframes rh-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
.rtl .rh-marquee__track { animation-name: rh-marquee-rtl; }
@keyframes rh-marquee-rtl {
	from { transform: translateX(0); }
	to { transform: translateX(50%); }
}

/* ---------- Stats ---------- */
.rh-stats { background: var(--reach-white); padding: clamp(48px, 8vh, 88px) 0; }
.rh-stats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 32px;
	text-align: center;
}
.rh-stat__num, .rh-stat__plus {
	font-family: var(--reach-font-heading);
	font-weight: 900;
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	line-height: 1;
	color: var(--reach-black);
}
.rh-stat__plus { color: var(--reach-green); }
.rh-stat__label {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--reach-gray);
}

/* ---------- Section heads ---------- */
.rh-section-head { max-width: 640px; margin-bottom: 40px; }
.rh-eyebrow {
	font-family: var(--reach-font-heading);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--reach-green-dark);
	margin: 0 0 8px;
}

/* ---------- Services ---------- */
.rh-services { background: var(--reach-light); padding: clamp(56px, 9vh, 100px) 0; }
.rh-services__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 24px;
}
@media (min-width: 1000px) {
	.rh-services__grid { grid-template-columns: repeat(3, 1fr); }
	/* An odd card left alone on the last row spans it fully. */
	.rh-services__grid .rh-service:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
}
.rh-service {
	position: relative;
	background: var(--reach-white);
	border-radius: var(--reach-radius);
	padding: 28px 26px 56px;
	border: 1px solid rgba(19, 19, 19, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
	overflow: hidden;
}
.rh-service:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(19, 19, 19, 0.12); }
.rh-service::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 5px;
	background: var(--reach-green);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}
.rh-service:hover::after { transform: scaleX(1); }
.rh-service__num {
	font-family: var(--reach-font-heading);
	font-weight: 900;
	font-size: 15px;
	color: var(--reach-yellow);
	background: var(--reach-black);
	border-radius: 999px;
	padding: 6px 12px;
	display: inline-block;
	margin-bottom: 16px;
}
.rh-service h3 { font-size: 1.3rem; margin-bottom: 10px; }
.rh-service p { margin: 0; color: var(--reach-gray); font-size: 15.5px; }
.rh-service__arrow {
	position: absolute;
	bottom: 18px;
	inset-inline-end: 22px;
	font-size: 22px;
	color: var(--reach-green-dark);
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.rh-service:hover .rh-service__arrow { opacity: 1; transform: translateX(0); }
.rtl .rh-service__arrow { transform: scaleX(-1) translateX(-8px); }
.rtl .rh-service:hover .rh-service__arrow { transform: scaleX(-1) translateX(0); }

/* ---------- Reels slider ---------- */
.rh-reels {
	background: var(--reach-black);
	padding: clamp(56px, 9vh, 100px) 0;
	overflow: hidden;
}
.rh-reels .rh-eyebrow { color: var(--reach-green); }
.rh-reels h2 { color: var(--reach-white); }
.rh-reels__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.rh-reels__head .rh-section-head { margin-bottom: 28px; }
.rh-reels__nav { display: flex; gap: 10px; margin-bottom: 28px; }
.rh-reels__btn {
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
	color: var(--reach-white);
	font-size: 19px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.rh-reels__btn:hover {
	background: var(--reach-green);
	color: var(--reach-black);
	box-shadow: inset 0 0 0 2px var(--reach-green);
}
.rtl .rh-reels__btn { transform: scaleX(-1); }
.rh-reels__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-block: 4px 18px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.rh-reels__track::-webkit-scrollbar { display: none; }
.rh-reel {
	position: relative;
	flex: 0 0 auto;
	width: min(66vw, 258px);
	aspect-ratio: 9 / 16;
	border-radius: 22px;
	overflow: hidden;
	scroll-snap-align: start;
	background: #16181d;
	display: block;
	text-decoration: none;
}
.rh-reel--g1 { background: linear-gradient(160deg, #00d19d 0%, #054a3a 100%); }
.rh-reel--g2 { background: linear-gradient(160deg, #ffc200 0%, #7a5a00 100%); }
.rh-reel--g3 { background: linear-gradient(160deg, #3ddcff 0%, #0a3d4d 100%); }
.rh-reel--g4 { background: linear-gradient(160deg, #ff7ab6 0%, #5c1136 100%); }
.rh-reel--g5 { background: linear-gradient(160deg, #b3ff5c 0%, #2f4d0a 100%); }
.rh-reel--g6 { background: linear-gradient(160deg, #b08cff 0%, #2a1a5c 100%); }
.rh-reel__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.rh-reel:hover .rh-reel__img { transform: scale(1.05); }
.rh-reel::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, 0) 48%, rgba(10, 10, 10, 0.82) 100%);
}
.rh-reel__views {
	position: absolute;
	z-index: 2;
	top: 14px;
	inset-inline-start: 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(10, 10, 10, 0.6);
	color: var(--reach-green);
	font-family: var(--reach-font-heading);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	backdrop-filter: blur(4px);
}
.rh-reel__play {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	width: 54px;
	height: 54px;
	margin: -27px 0 0 -27px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65);
	backdrop-filter: blur(3px);
	transition: background 0.25s ease, transform 0.25s ease;
}
.rh-reel__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-38%, -50%);
	border-style: solid;
	border-width: 9px 0 9px 15px;
	border-color: transparent transparent transparent var(--reach-white);
}
.rh-reel:hover .rh-reel__play { background: var(--reach-green); transform: scale(1.08); }
/* Card entrance — staggered rise once the track scrolls into view. */
@keyframes rh-reel-in {
	from { opacity: 0; transform: translateY(34px) scale(0.94); }
	to { opacity: 1; transform: none; }
}
.rh-reels__track.is-visible .rh-reel {
	animation: rh-reel-in 0.7s cubic-bezier(0.22, 0.75, 0.3, 1) backwards;
	animation-delay: var(--d, 0s);
}
.rh-reel { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.rh-reel:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45); }
/* Pulsing ring around the play button. */
.rh-reel__play::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
	animation: rh-reel-pulse 2.4s ease-out infinite;
}
@keyframes rh-reel-pulse {
	0% { transform: scale(1); opacity: 1; }
	70%, 100% { transform: scale(1.55); opacity: 0; }
}
.rh-reels__btn:active { transform: scale(0.9); }
.rtl .rh-reels__btn:active { transform: scaleX(-1) scale(0.9); }
.rh-reel__title {
	position: absolute;
	z-index: 2;
	bottom: 0;
	inset-inline: 0;
	padding: 18px 16px;
	color: var(--reach-white);
	font-family: var(--reach-font-heading);
	font-weight: 800;
	font-size: 15.5px;
	line-height: 1.35;
}
button.rh-reel {
	border: 0;
	padding: 0;
	font: inherit;
	text-align: start;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
button.rh-reel:focus-visible { outline: 3px solid var(--reach-green); outline-offset: 3px; }
.rh-reel-modal[hidden] { display: none; }
.rh-reel-modal {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.rh-reel-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, 0.88);
	cursor: pointer;
}
.rh-reel-modal__body {
	position: relative;
	z-index: 2;
	margin: 0;
	width: min(90vw, calc(86vh * 9 / 16));
}
.rh-reel-modal__video {
	display: block;
	width: 100%;
	aspect-ratio: 9 / 16;
	max-height: 86vh;
	border-radius: 22px;
	background: #000;
	object-fit: cover;
}
.rh-reel-modal__close {
	position: absolute;
	top: -14px;
	inset-inline-end: -14px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--reach-green);
	color: var(--reach-black);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.25s ease;
}
.rh-reel-modal__close:hover { background: var(--reach-yellow); }
/* Modal entrance. */
.rh-reel-modal__backdrop { animation: rh-modal-fade 0.25s ease both; }
.rh-reel-modal__body { animation: rh-modal-pop 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.15) both; }
@keyframes rh-modal-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes rh-modal-pop {
	from { opacity: 0; transform: translateY(26px) scale(0.92); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.rh-reel__img, .rh-reel__play { transition: none; }
	.rh-reels__track.is-visible .rh-reel, .rh-reel__play::before, .rh-reel-modal__backdrop, .rh-reel-modal__body { animation: none; }
	.rh-reel { transition: none; }
	.rh-reel:hover { transform: none; box-shadow: none; }
	.rh-reel:hover .rh-reel__img { transform: none; }
}

/* ---------- Latest posts ---------- */
.rh-latest { padding: clamp(56px, 9vh, 100px) 0; }

/* ---------- CTA ---------- */
.rh-cta {
	position: relative;
	overflow: hidden;
	background: var(--reach-black);
	color: var(--reach-white);
	text-align: center;
}
.rh-cta__inner { position: relative; z-index: 2; padding-top: clamp(64px, 10vh, 110px); padding-bottom: clamp(64px, 10vh, 110px); }
.rh-cta h2 { color: var(--reach-white); font-size: clamp(2rem, 5vw, 3.2rem); }
.rh-cta p { color: rgba(255, 255, 255, 0.75); margin: 0 auto 28px; max-width: 520px; }
.rh-cta .rh-shape--tri { top: auto; bottom: -30px; left: 4%; right: auto; opacity: 0.6; }
.rh-cta .rh-shape--quarter { top: -30px; right: 5%; bottom: auto; opacity: 0.6; }

/* Front page: no footer gap (CTA sits flush against footer) */
.home .reach-footer { margin-top: 0; }

/* ---------- Scroll reveal ---------- */
.rh-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.6s ease var(--d, 0s), transform 0.6s ease var(--d, 0s);
}
.rh-reveal.is-visible { opacity: 1; transform: none; }
.no-js .rh-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.rh-reveal { opacity: 1; transform: none; transition: none; }
	.rh-shape { animation: none; }
	.rh-marquee__track { animation-duration: 60s; }
}

/* ---------- Language switcher ---------- */
.reach-lang ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.reach-lang a {
	display: block;
	padding: 6px 12px;
	font-family: var(--reach-font-heading);
	font-weight: 800;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--reach-black);
	border-radius: 999px;
	box-shadow: inset 0 0 0 2px var(--reach-black);
}
.reach-lang a:hover { background: var(--reach-green); }
.reach-lang .current-lang a { background: var(--reach-black); color: var(--reach-white); }
@media (max-width: 860px) {
	.reach-lang { margin-inline-start: auto; }
}

/* ---------- Trusted by (client marquee) ---------- */
.rh-clients { background: var(--reach-white); padding: clamp(56px, 9vh, 100px) 0 0; overflow: hidden; }
.rh-clients .rh-section-head { margin-bottom: 8px; max-width: 760px; }
.rh-clients__marquee { overflow: hidden; padding: 26px 0 clamp(48px, 8vh, 84px); }
.rh-clients__track {
	display: flex;
	align-items: center;
	gap: 14px;
	width: max-content;
	animation: rh-marquee 55s linear infinite;
	white-space: nowrap;
}
.rtl .rh-clients__track { animation-name: rh-marquee-rtl; }
.rh-client {
	display: inline-block;
	padding: 10px 24px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 2px rgba(19, 19, 19, 0.12);
	font-family: var(--reach-font-heading);
	font-weight: 800;
	font-size: 16px;
	color: var(--reach-gray);
}

/* ---------- Why Reach Reel ---------- */
.rh-why { background: var(--reach-white); padding: clamp(56px, 9vh, 100px) 0; }
.rh-why__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 14px;
}
.rh-why__item {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--reach-light);
	border-radius: 14px;
	padding: 18px 20px;
	font-family: var(--reach-font-heading);
	font-weight: 800;
}
.rh-why__check {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--reach-green);
	color: var(--reach-black);
	font-size: 12px;
}

/* ---------- Featured productions (podcast) ---------- */
.rh-podcast { background: var(--reach-black); padding: clamp(56px, 9vh, 100px) 0 0; }
.rh-podcast .rh-eyebrow { color: var(--reach-green); }
.rh-podcast h2 { color: var(--reach-white); }
.rh-podcast__grid { display: grid; gap: 32px; align-items: center; padding-bottom: 12px; }
@media (min-width: 940px) {
	.rh-podcast__grid { grid-template-columns: 3fr 2fr; }
}
.rh-podcast__video {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	padding: 0;
	border: 0;
	border-radius: 22px;
	overflow: hidden;
	background: #000;
	cursor: pointer;
	text-transform: none;
	letter-spacing: normal;
}
.rh-podcast__video:hover { background: #000; transform: none; }
.rh-podcast__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.rh-podcast__video:hover .rh-podcast__poster { transform: scale(1.04); }
.rh-podcast__video:hover .rh-reel__play { background: var(--reach-green); transform: scale(1.08); }
.rh-podcast__caption {
	position: absolute;
	z-index: 2;
	inset-inline: 0;
	bottom: 0;
	padding: 56px 22px 18px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
	color: var(--reach-white);
	font-family: var(--reach-font-heading);
	font-weight: 800;
	font-size: 15.5px;
	text-align: start;
}
.rh-podcast__side p { color: rgba(255, 255, 255, 0.75); margin-bottom: 0; }
.rh-podcast__shows {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.rh-podcast__shows li {
	padding: 8px 18px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
	color: var(--reach-white);
	font-family: var(--reach-font-heading);
	font-weight: 800;
	font-size: 14px;
}

/* ---------- Industries ---------- */
.rh-industries { background: var(--reach-white); padding: clamp(56px, 9vh, 100px) 0; }
.rh-industries__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.rh-industry {
	padding: 10px 24px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 2px var(--reach-black);
	font-family: var(--reach-font-heading);
	font-weight: 800;
	font-size: 15px;
	transition: background 0.25s ease, transform 0.25s ease;
}
.rh-industry:hover { background: var(--reach-yellow); transform: translateY(-2px); }

/* ---------- Process ---------- */
.rh-process { background: var(--reach-light); padding: clamp(56px, 9vh, 100px) 0; }
.rh-process__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 16px;
}
.rh-process__step { background: var(--reach-white); border-radius: 18px; padding: 24px 22px; }
.rh-process__num {
	display: block;
	margin-bottom: 10px;
	font-family: var(--reach-font-heading);
	font-weight: 900;
	font-size: 14px;
	letter-spacing: 0.08em;
	color: var(--reach-green);
}
.rh-process__step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.rh-process__step p { margin: 0; color: var(--reach-gray); font-size: 14.5px; }

/* ---------- CTA actions & footer contact ---------- */
.rh-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.rh-cta .reach-btn--ghost {
	background: transparent;
	color: var(--reach-white);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}
.rh-cta .reach-btn--ghost:hover { background: var(--reach-green); color: var(--reach-black); box-shadow: inset 0 0 0 2px var(--reach-green); }
.reach-footer__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 26px;
	font-family: var(--reach-font-heading);
	font-weight: 700;
	font-size: 14.5px;
}
.reach-footer__contact span { color: rgba(255, 255, 255, 0.7); }
@media (prefers-reduced-motion: reduce) {
	.rh-clients__track { animation-duration: 120s; }
	.rh-podcast__poster, .rh-industry { transition: none; }
}
