/* Agent Recruitment, Chapter 01 (The Invitation) - staging only - 1.1.0-recruit-ch01-t6329ua0 (scroll corrections; design, copy and image unchanged)
   Same pattern and tokens as the accepted Meet Our Team hero (t1198u): navy/ivory/gold, Cinzel headings, Inter body, full-bleed image with a left shade,
   track > sticky stage, scroll progress drives opacity + small Y moves. No animation library. */
.rc {
	overflow-x: clip;
	--navy: #0c263a;
	--ink: #071624;
	--ivory: #f6f2ea;
	--gold: #d5ae59;
	--gold-lt: #e8ca86;
	background: var(--ink);
	color: var(--ivory);
	font-family: Inter, Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
}
.rc *, .rc *::before, .rc *::after { box-sizing: border-box; }
:where(.rc) :where(h1, h2, p) { margin: 0; }
.rc img { max-width: 100%; display: block; }

.rc-track { position: relative; }
.rc-hero {
	position: relative;
	display: grid;
	min-height: 620px;
	background: var(--ink);
	color: var(--ivory);
	overflow: hidden;
}
.rc-hero__bleed { position: absolute; inset: 0; overflow: hidden; }
.rc-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 72% 50%;
	transform: scale(var(--rc-zoom, 1));
	transform-origin: 70% 50%;
}
.rc-hero__shade {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(5, 20, 34, 0.88) 0%, rgba(5, 20, 34, 0.72) 26%, rgba(5, 20, 34, 0.42) 44%, rgba(5, 20, 34, 0.10) 62%, rgba(5, 20, 34, 0) 100%),
		linear-gradient(180deg, rgba(5, 20, 34, 0.14), rgba(5, 20, 34, 0.08));
}
.rc-frame {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	min-height: inherit;
}
.rc-hero__copy {
	width: min(46vw, 640px);
	padding: 56px 16px 64px 48px;
}
.rc-h1 {
	font-family: Cinzel, "Times New Roman", serif;
	font-weight: 500;
	font-size: clamp(36px, 3.4vw, 56px);
	line-height: 1.1;
	letter-spacing: 0.01em;
	color: #f7f4ee;
}
.rc-h1 span { display: block; }
.rc-h2 {
	margin-top: 22px;
	font-family: Cinzel, "Times New Roman", serif;
	font-weight: 500;
	font-size: clamp(20px, 1.75vw, 27px);
	line-height: 1.25;
	letter-spacing: 0.01em;
	color: var(--gold-lt);
}
.rc-support {
	margin-top: 14px;
	max-width: 38ch;
	font-size: 18px;
	line-height: 1.6;
	color: rgba(246, 242, 234, 0.95);
}
.rc-invite {
	margin-top: 30px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.3;
	color: var(--gold-lt);
	text-shadow: 0 1px 2px rgba(5, 20, 34, 0.55);
}
.rc-cue { flex: none; width: 20px; height: 20px; }

/* t6329ua0: thin gold scroll-tracing line. Left side, clear of the copy; drawn downward by scroll (scaleY from the top); the full line is the static state
   (reduced motion, no JS, script blocked). Opacity-free, transform only. */
.rc-line {
	position: absolute;
	z-index: 2;
	top: 18px;
	bottom: 0;
	left: calc(max(0px, (100% - 1440px) / 2) + 24px);
	width: 2px;
	pointer-events: none;
}
.rc-line__fill {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 1px;
	background: linear-gradient(180deg, var(--gold-lt), var(--gold));
	box-shadow: 0 0 0 1px rgba(5, 20, 34, 0.72);
	transform-origin: 50% 0;
	transform: none;
}
.js-rc .rc-line__fill { transform: scaleY(var(--lt, 0.3)); }
.js-rc .rc:not([data-rc-live]) .rc-line__fill { animation: rc-line-failsafe 0.01s linear 4s forwards; }
@keyframes rc-line-failsafe { to { transform: scaleY(1); } }
.rc-next { height: 0; }

/* Pinned scroll build (set by JS only when it fits the screen; otherwise normal flow). */
.rc[data-rc-mode="pin"] .rc-hero {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100dvh;
	min-height: 0;
}

/* Beats 2 and 3: scroll progress drives opacity + a small Y move. Hidden start state only exists when JS runs (html.js-rc). */
.rc .rc-b { opacity: 1; transform: none; }
.js-rc .rc .rc-b {
	opacity: var(--b, 0);
	transform: translate3d(0, calc((1 - var(--b, 0)) * 14px), 0);
}
/* Fail-safe: if the script never starts, the text still appears (never permanently hidden). */
.js-rc .rc:not([data-rc-live]) .rc-b { animation: rc-failsafe 0.01s linear 4s forwards; }
@keyframes rc-failsafe { to { opacity: 1; transform: none; } }

/* Beat 1: the headline appears on arrival (time-based, short). */
@keyframes rc-rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
	.rc-h1 { animation: rc-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both; }
}

/* Stacked layout: phone, small tablet, any portrait screen. Whole image shown (no crop), text below on navy. */
@media (max-width: 900px), (max-aspect-ratio: 1/1) {
	.rc-hero { display: block; min-height: 0; background: var(--navy); }
	.rc-hero__bleed { position: relative; inset: auto; width: 100%; aspect-ratio: 1672 / 941; }
	.rc-hero__img { height: 100%; object-fit: contain; object-position: 50% 50%; transform: none; }
	.rc-hero__shade { background: linear-gradient(180deg, rgba(12, 38, 58, 0) 78%, var(--navy) 100%); }
	.rc-frame { display: block; min-height: 0; }
	.rc-hero__copy { width: auto; max-width: 640px; margin: 0 auto; padding: 8px 24px 52px; }
	.rc-h1 { font-size: clamp(30px, 8vw, 42px); }
	.rc-h2 { font-size: clamp(19px, 5vw, 24px); }
	.rc-support { font-size: 17px; max-width: none; }
	.rc-line { left: 11px; }
}
@media (min-width: 560px) and (max-width: 900px), (min-width: 560px) and (max-aspect-ratio: 1/1) {
	.rc-hero__copy { padding-left: 40px; padding-right: 40px; }
	.rc-line { left: 19px; }
}

@media (prefers-reduced-motion: reduce) {
	.rc .rc-b, .rc .rc-h1 { opacity: 1 !important; transform: none !important; animation: none !important; }
	.rc-hero__img { transform: none !important; }
	.rc .rc-line__fill { transform: none !important; animation: none !important; }
}
