:root {
	--move-hero-bg: var(--move-color-dark, #0f2a4a);
	--move-hero-text: var(--move-color-text-inverse, #e3e7ec);
	--move-hero-accent: var(--move-color-accent, #689fdf);

	/* Type — the Figma-named scale (tokens.css), not the retired prototype scale. */
	--move-hero-font-eyebrow: var(--move-font-size-xs, 0.75rem);  /* 12px */
	/* Mobile-first: 48px (node 409:6423) steps to 56px desktop (Figma 64px, 409:7082) via the container query below. */
	--move-hero-font-heading: 3rem;                                   /* 48px */
	--move-hero-font-heading-lg: var(--move-font-size-5xl, 3.5rem);   /* 56px — client asked for a quieter cover (Asana 1219046582191005), Figma draws 64px */
	/* Same mobile-first step as the heading (409:6424). */
	--move-hero-font-description: var(--move-font-size-base, 1rem);      /* 16px, mobile */
	--move-hero-font-description-lg: var(--move-font-size-md, 1.125rem); /* 18px, desktop */
	--move-hero-font-button: var(--move-font-size-base, 1rem);        /* 16px */
}

.move-hero {
	position: relative;
	/* The animation frame runs off both edges of the band at every width; the band clips it. */
	overflow: hidden;
	container-type: inline-size;
	container-name: move-hero;
	width: 100%;
	background: var(--move-hero-bg);
	color: var(--move-hero-text);
	font-family: var(--move-font-base);
	font-size: 1rem;
	font-weight: 400;
	--move-strong-weight: var(--move-font-weight-bold, 700);
}

/* Animação Hero, 1440x720, placed per breakpoint (not full-bleed cover —
   that showed only the artwork's middle, no endpoints). Percentages below
   are node 409:6427 (mobile) / 409:6995 (desktop) geometry.
   .move-hero__container stays above it and, in animation mode, drops to a
   single column since there's no media grid cell to share the row with. */
/* Mobile 828px is node 409:6421 (desktop 878px: the @media block near the foot).
   min-height, not height, so real copy can still grow it; the art hangs off the
   band's bottom and the container reserves its zone, so longer copy never meets it. */
.move-hero--has-animation {
	min-height: 828px;
}
.move-hero--has-animation .move-hero__container {
	/* 319 / 390: Figma's gap from the button's bottom edge to the band's bottom edge. */
	padding-bottom: 81.8205cqw;
}

.move-hero__animation {
	position: absolute;
	/* 944 / 390 — frame is 2.42x the band's width on a phone, hung off the right edge. */
	width: 242.0513%;
	right: 0;
	bottom: -18.2051cqw; /* 71 / 390: the frame hangs 71px under Figma's mobile band */
	aspect-ratio: 1440 / 720;
	pointer-events: none;
}
.move-hero__animation svg {
	display: block;
	width: 100%;
	height: 100%;
	color: var(--move-hero-accent); /* the accent path's currentColor */
}
/* Sequence transcribed from Figma's motion (get_motion_context on 409:6995):
   tracer draws, dot pops in, tag slides in — each group 0.8s behind the last
   via --move-hero-seq (set per group in render.php). Plays once and holds;
   Figma's own timeline resets to blank at 6.9s but the client compares
   against the settled state, so the comet hands off to the drawn line at
   exit rather than looping. `both` fill keeps each element hidden through
   its own delay, which is why reduced-motion below is a plain `none`. */
.move-hero__animation-tracer {
	animation: move-hero-tracer 4.1s linear both;
	animation-delay: calc(0.4s + var(--move-hero-seq, 0) * 0.8s);
}
.move-hero__animation-dot {
	transform-origin: center;
	transform-box: fill-box;
	animation: move-hero-dot-in 0.25s ease-out both;
	animation-delay: calc(4.5s + var(--move-hero-seq, 0) * 0.8s);
}
@keyframes move-hero-tracer {
	/* dasharray 0.075 = 7.5% of pathLength="1", eased out to dashoffset -0.925. */
	0% {
		opacity: 0;
		stroke-dasharray: 0.075 1;
		stroke-dashoffset: 0;
		animation-timing-function: ease-out;
	}
	7.22% {
		opacity: 1;
	}
	90.24% {
		opacity: 1;
		stroke-dasharray: 0.075 1;
		stroke-dashoffset: -0.925;
	}
	/* Comet runs off the end; the full line lights up behind it. */
	90.25% {
		opacity: 0;
		stroke-dasharray: 1 1;
		stroke-dashoffset: -1;
	}
	100% {
		opacity: 1;
		stroke-dasharray: 1 1;
		stroke-dashoffset: 0;
	}
}
@keyframes move-hero-dot-in {
	from {
		opacity: 0;
		transform: scale(0.001);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}
@keyframes move-hero-tag-in {
	from {
		opacity: 0;
		transform: translate(-7px, -50%);
	}
	to {
		opacity: 1;
		transform: translate(0, -50%);
	}
}
/* Shown at every width — placed rather than cover-scaled, the tags now land
   at the ends of the flow lines instead of over the copy, so they no longer
   need hiding below 768px. Sized mobile-first at Figma's own 65.556% scale
   (390px frame); desktop block below steps to the full 10px / 15/10. */
.move-hero__animation-label {
	position: absolute;
	/* Anchored past the dot's centre, not centred over it (Figma Tag frames
	   start ~13.5px past their endpoint's centre); one value for all three. */
	margin-left: 0.5531rem; /* 8.85px — 13.5px at the mobile frame's 65.556%. */
	transform: translate(0, -50%);
	animation: move-hero-tag-in 0.5s ease-out both;
	animation-delay: calc(4.75s + var(--move-hero-seq, 0) * 0.8s);
	white-space: nowrap;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.13);
	color: var(--move-hero-text);
	font-size: 0.4097rem; /* 6.5556px — 10px at the mobile frame's 65.556%. */
	font-weight: var(--move-font-weight-semibold, 600);
	/* 1.2px at 10px, measured on node 409:7049 — proportional so it survives the mobile step-down. */
	letter-spacing: 0.12em;
	text-transform: uppercase;
	/* gap/10 block, 15px inline, measured on the same nodes, x 0.65556. */
	padding: 0.4097rem 0.6146rem;
	/* Decorative — aria-hidden on the .move-hero__animation container already excludes it from the a11y tree. */
}

.move-hero__container {
	position: relative;
	max-width: var(--move-container-max, 1312px);
	margin-inline: auto;
	padding: var(--move-space-xl, 4rem) var(--move-container-gutter, 2rem);
	display: grid;
	/* Figma's gap is 36px — between the 32px and 48px steps, so it's a literal here. */
	gap: 2.25rem;
	grid-template-columns: 1fr;
	align-items: center;
}

/* Copy column owns its own vertical rhythm via gap; children carry no bottom margins. */
.move-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2.25rem;
}

.move-hero__eyebrow {
	color: var(--move-hero-accent);
	font-weight: 600;
	/* Figma's Tagline/tagline-14 tracking, replacing the prototype's own 1.2px-at-11.5px value. */
	letter-spacing: var(--move-letter-spacing-looser, 0.15em);
	text-transform: uppercase;
	font-size: var(--move-hero-font-eyebrow);
	margin: 0;
}

.move-hero__heading {
	/* Weight 400, not 600: Figma H1 is Work Sans Regular, contrasting against the Rosario Medium emphasis span. */
	/* text/inverse/title, not body-inverse: Figma draws this H1 pure white against the paragraph's #e3e7ec. */
	color: var(--move-color-text-inverse-title, #ffffff);
	font-size: var(--move-hero-font-heading);
	font-weight: var(--move-font-weight-regular, 400);
	letter-spacing: var(--move-letter-spacing-tighter, -0.02em);
	line-height: var(--move-line-snug, 1.3);
	margin: 0;
	max-width: 45rem; /* 711px — Figma H1's measured wrap width. */
	/* Medium against this Regular roman is the weight contrast the lockup depends on. */
	--move-em-weight: var(--move-font-weight-medium, 500);
}
/* Emphasis stays italic on desktop too: the client's call (Asana 1218998817743378), Figma draws it upright there (409:7082). */

.move-hero__description {
	/* text/inverse/body, not the muted step. */
	color: var(--move-color-text-inverse, #e3e7ec);
	font-size: var(--move-hero-font-description);
	font-weight: var(--move-font-weight-light, 300);
	line-height: var(--move-line-relaxed, 1.5);
	letter-spacing: var(--move-letter-spacing-tight, -0.01em);
	max-width: 47rem; /* 751px, measured. */
	margin: 0;
}
.move-hero__description p:first-child {
	margin-top: 0;
}
.move-hero__description p:last-child {
	margin-bottom: 0;
}

.move-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	/* .move-hero__copy is flex-start, so without this the row shrinks to content
	   width and a 100% button has nothing to be 100% of. */
	align-self: stretch;
}

.move-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	/* Full-width on mobile, matching the CTA banner button on the same page; shrink-to-fit from 768px. */
	width: 100%;
	/* Figma: gap/16 inline, gap/12 block. */
	padding: var(--move-space-12, 0.75rem) var(--move-space-sm, 1rem);
	font-size: var(--move-hero-font-button);
	font-weight: var(--move-font-weight-regular, 400);
	/* Label/label-16 metrics, matching .move-button — these buttons have their own rules, not inherited. */
	line-height: 1;
	letter-spacing: var(--move-letter-spacing-tight, -0.01em);
	text-decoration: none;
	border: var(--move-border-width, 1px) solid transparent;
	border-radius: var(--move-radius, 0.75rem);
}
/* Colours measured off the Home hero frame; Figma draws only the white button, so
   primary carries that treatment (10.67:1, computed). Secondary is unused on Home,
   kept for any future second label. */
.move-hero__button--primary {
	background: #ffffff;
	color: #1e3f68;
	border-color: #f2f7fe;
}
.move-hero__button--secondary {
	background: transparent;
	color: var(--move-hero-text);
	border-color: var(--move-color-border-inverse, rgba(227, 231, 236, 0.2));
}
.move-hero__button:hover {
	filter: brightness(0.92);
}
.move-hero__button:focus-visible {
	outline: 2px solid var(--move-hero-text);
	outline-offset: 2px;
}

@container move-hero (min-width: 768px) {
	.move-hero__heading {
		font-size: var(--move-hero-font-heading-lg);
	}
	.move-hero__description {
		font-size: var(--move-hero-font-description-lg);
	}
	.move-hero__button {
		width: auto;
	}
	.move-hero__container {
		/* Block padding only — inline stays on the shared rail gutter so the H1
		   aligns with the header logo and section headings, not Figma's 80px literal. */
		padding-block: var(--move-section-padding-lg, 7.5rem);
	}
}

/* Figma's hero band is 878px tall, matching the animation's own viewBox.
 * @media not @container: `.move-hero` sets container-type on itself, and an
 * element is never its own container — a `@container move-hero` rule here
 * would silently never match. Also page layout (band height), which is the
 * standing exception for sizing a block's own band. min-height so real copy can still grow it.
 */
@media (min-width: 768px) {
	/* Desktop frame is full band width, 206px down (206 / 878). */
	.move-hero__animation {
		width: 100%;
		right: auto;
		left: 0;
		top: 23.4624%;
		bottom: auto;
	}
	.move-hero__animation-label {
		font-size: 0.625rem; /* 10px */
		padding: 0.625rem 0.9375rem;
		margin-left: 0.84375rem; /* 13.5px */
	}
	.move-hero--has-animation {
		min-height: 878px;
		display: flex;
		align-items: flex-start;
	}
	.move-hero--has-animation .move-hero__container {
		width: 100%;
		padding-top: var(--move-space-xl, 4rem);
		padding-bottom: var(--move-section-padding-lg, 7.5rem);
	}
}

@container move-hero (min-width: 1024px) {
	.move-hero__container {
		grid-template-columns: 1.1fr 1fr;
	}
	/* No boxed media item to share the row with in animation mode — copy column takes full width. */
	.move-hero--has-animation .move-hero__container {
		grid-template-columns: 1fr;
	}
	.move-hero--has-animation .move-hero__copy {
		max-width: 46rem;
	}
}

/* Last in the file on purpose — ties in specificity with the animation rules, so
   source order decides. Base states are already the finished ones, so `none` suffices. */
@media (prefers-reduced-motion: reduce) {
	.move-hero__animation-tracer,
	.move-hero__animation-dot,
	.move-hero__animation-label {
		animation: none;
	}
}
