:root {
	/* surface/page — sections sit on white over the page's beige ground; beige-on-beige made them invisible. */
	--move-content-bg: var(--move-color-surface, #ffffff);
	--move-content-text: var(--move-color-text, #475c76);

	--move-content-font-eyebrow: var(--move-font-size-sm, 0.875rem);  /* 14px */
	--move-content-font-heading: var(--move-font-size-md, 1.125rem);  /* 18px */
	--move-content-font-body: var(--move-font-size-base, 1rem);       /* 16px */
}

.move-content-section {
	container-type: inline-size;
	container-name: move-content-section;
	width: 100%;
	background: var(--move-content-bg);
	color: var(--move-content-text);
	font-family: var(--move-font-base);
	font-size: 1rem;
	font-weight: var(--move-font-weight-light, 300);
	--move-strong-weight: var(--move-font-weight-bold, 700);
	/* Clears the sticky sub-nav bar when a tab link jumps here; main.js keeps this in sync with its measured height. */
	scroll-margin-top: var(--move-subnav-sticky-height, 2.5rem);
}

.move-content-section__container {
	max-width: var(--move-container-max, 1312px);
	margin-inline: auto;
	/* Figma: espacing/grid/vertical — 80px, not the 48px card-gap step. */
	padding: var(--move-space-96, 6rem) var(--move-container-gutter, 2rem);
}

/* Small uppercase label above the heading (Figma "QUEM SOMOS"). Measured off
   node 429:7664: 14px Regular, +1% tracking, line-height 1 — not the
   Tagline-12 step (+5%), which is wrong for an overline. */
.move-content-section__eyebrow {
	margin: 0 0 var(--move-space-sm, 1rem);
	font-size: var(--move-content-font-eyebrow);
	font-weight: var(--move-font-weight-regular, 400);
	line-height: 1;
	letter-spacing: var(--move-letter-spacing-wide, 0.01em);
	text-transform: uppercase;
	color: var(--move-color-text-muted, #627995);
}
.move-content-section--dark .move-content-section__eyebrow {
	/* text/overline — accent tagline for dark bands. Node 429:7660: Medium 500 at
	   +7%, its own step (between Tagline-12 +5% and Tagline-14 +15%), so a literal. */
	color: var(--move-color-accent, #689fdf);
	font-weight: var(--move-font-weight-medium, 500);
	letter-spacing: 0.07em;
}

.move-content-section__heading {
	margin: 0 0 var(--move-space-sm, 1rem);
	font-size: var(--move-content-font-heading);
	font-weight: var(--move-font-weight-regular, 400);
	line-height: var(--move-line-snug, 1.3);
	/* -2%: what every sans-serif heading in the file carries except H3 (-4%). No Figma section at this exact size. */
	letter-spacing: var(--move-letter-spacing-tighter, -0.02em);
	/* text/display — every heading Figma draws on a light ground uses this darker step; dark variant overrides to white. */
	color: var(--move-color-text-title, #061b33);
}

/* Text/Text-16: 16px Light at 1.4, tracked -1% — not the 1.5 of the Text-18/20 step. */
.move-content-section__body {
	max-width: 48rem;
	font-size: var(--move-content-font-body);
	font-weight: var(--move-font-weight-light, 300);
	line-height: var(--move-line-normal, 1.4);
	letter-spacing: var(--move-letter-spacing-tight, -0.01em);
}
.move-content-section__body p:first-child {
	margin-top: 0;
}
.move-content-section__body p:last-child {
	margin-bottom: 0;
}
.move-content-section__body a {
	color: var(--move-content-text);
}
.move-content-section__body a:focus-visible {
	outline: 2px solid var(--move-color-focus, #315179);
	outline-offset: 2px;
}

/* Dark variant — Figma's navy full-width bands. Same palette pattern as
   move-why-section's dark variant, not shared CSS: markup differs too much (no cards here). */
.move-content-section--dark {
	background: var(--move-color-dark, #0f2a4a);
	color: var(--move-color-text-inverse, #e3e7ec);
}
.move-content-section--dark .move-content-section__heading {
	/* text/inverse/title — plain white, distinct from body's --move-color-text-inverse; no token names it. */
	color: #ffffff;
}
.move-content-section--dark .move-content-section__body a {
	color: inherit;
}

/* Optional background photo, dark variant only. Flat scrim, not a lighter tint,
   keeps text legible regardless of upload — same reasoning as move-why-section's --has-image. */
.move-content-section--has-image {
	position: relative;
	/* Mobile-first: an editor mobile crop wins here; with none set it falls back to the shared image. */
	background-image:
		linear-gradient(rgba(6, 27, 51, 0.72), rgba(6, 27, 51, 0.72)),
		var(--move-content-section-image-mobile, var(--move-content-section-image));
	background-size: cover;
	background-position: center;
}

.move-content-section--center {
	text-align: center;
}
.move-content-section--center .move-content-section__body {
	margin-inline: auto;
}

/* Node 429:7666, measured on the instance, not the named style ("Headings/H3/sans
   serif", 40px Regular 1.2/-4%): actual section is Light 300 at 1.3, absolute -1px. */
.move-content-section--heading-large .move-content-section__heading {
	font-size: var(--move-font-size-4xl, 2.5rem); /* 40px */
	font-weight: var(--move-font-weight-light, 300);
	letter-spacing: -1px;
	line-height: var(--move-line-snug, 1.3);
	/* Rosario Medium against the Light roman at the same 40px — no size step here;
	   emphasis instead shifts colour to #315179 (8.13:1 on white, computed). */
	--move-em-weight: var(--move-font-weight-medium, 500);
	--move-em-color: #315179;
}
/* Node 429:8019: 64px Regular at 1.3, tracked -3.2px = -5% at this size, the file's tightest step. */
.move-content-section--heading-xlarge .move-content-section__heading {
	font-size: var(--move-font-size-6xl, 4rem); /* 64px */
	font-weight: var(--move-font-weight-regular, 400);
	letter-spacing: var(--move-letter-spacing-crushed, -0.05em);
	line-height: var(--move-line-snug, 1.3);
}
/* Text/Text-20: 20px Light at 1.5, tracked -1% — restores the looser line-height the base rule's Text-16 step lacks. */
.move-content-section--heading-large .move-content-section__body {
	font-size: var(--move-font-size-lg, 1.25rem); /* 20px */
	line-height: var(--move-line-relaxed, 1.5);
	max-width: 40rem;
}
/* Display: 404 page's three-tier layout — a large decorative number (reuses
   the `eyebrow` field/slot) above the real heading, which is the page's own H1
   (no Page Header band here). Mobile-first off 921:17751, desktop step below
   is 921:17743. Number is Rosario Medium — the one non-Work-Sans spot on this page. */
.move-content-section--heading-display .move-content-section__eyebrow {
	margin-bottom: 0;
	font-family: var(--move-font-heading);
	font-size: var(--move-font-size-7xl, 6rem); /* 96px */
	font-weight: var(--move-font-weight-medium, 500);
	/* leading-none on both frames, no tracking of its own. */
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	color: var(--move-color-dark, #0f2a4a);
}
.move-content-section--heading-display .move-content-section__heading {
	font-size: var(--move-font-size-4xl, 2.5rem); /* 40px */
	font-weight: var(--move-font-weight-regular, 400);
	letter-spacing: var(--move-letter-spacing-tightest, -0.04em);
	line-height: var(--move-line-tight, 1.2);
}
.move-content-section--heading-display .move-content-section__body {
	font-size: var(--move-font-size-sm, 0.875rem); /* 14px */
	line-height: var(--move-line-normal, 1.4);
	max-width: 34rem;
}
.move-content-section--heading-display .move-content-section__container {
	padding-block: var(--move-section-padding-lg, 7.5rem);
}
@container move-content-section (min-width: 768px) {
	.move-content-section--heading-display .move-content-section__eyebrow {
		font-size: 9rem; /* 144px — a literal; the scale stops at 96px */
	}
	.move-content-section--heading-display .move-content-section__heading {
		font-size: 3rem; /* 48px — a literal; 5xl is 56px, and this is not it */
		/* -0.96px at 48px, where the mobile frame's -1.6px at 40px is the
		   tightest step. Proportional either way, so both stay em-based. */
		letter-spacing: var(--move-letter-spacing-tighter, -0.02em);
		line-height: var(--move-line-snug, 1.3);
	}
	.move-content-section--heading-display .move-content-section__body {
		font-size: var(--move-font-size-md, 1.125rem); /* 18px */
		line-height: var(--move-line-relaxed, 1.5);
	}
}

/* Node 429:8020: 24px Regular at 1.3 tracked -2%, not Light at 1.4/1.5 like every
   other body — a photo band, set tighter and heavier to hold up against the image. */
.move-content-section--heading-xlarge .move-content-section__body {
	font-size: var(--move-font-size-xl, 1.5rem); /* 24px — Figma's pairing for the 64px heading */
	font-weight: var(--move-font-weight-regular, 400);
	line-height: var(--move-line-snug, 1.3);
	letter-spacing: var(--move-letter-spacing-tighter, -0.02em);
	max-width: 50rem;
}
.move-content-section--center .move-content-section__body {
	max-width: 62rem;
}

/* Dark, centred = Figma's "statement" band (About's "Mission"): no heading in
   the design — eyebrow is the label, body is the 40px display line with Rosario
   italic emphasis. Mobile-first; stepped up in the container query below. */
.move-content-section--dark.move-content-section--center .move-content-section__body {
	font-size: var(--move-font-size-xl, 1.5rem);
	font-weight: var(--move-font-weight-light, 300);
	/* Proportional at this size; the desktop step below swaps to Figma's
	   absolute -1px, which at 24px would be -0.042em, too tight. */
	letter-spacing: var(--move-letter-spacing-tight, -0.01em);
	line-height: var(--move-line-snug, 1.3);
	color: #ffffff;
	/* Rosario Medium, stepping to 48px against the 40px roman (node 429:7661); weight holds, size step is desktop-only. */
	--move-em-weight: var(--move-font-weight-medium, 500);
}

/* Split layout — "Who we are": side by side from desktop width; single column
   below degrades to the existing stacked layout with no extra CSS. */
@container move-content-section (min-width: 768px) {
	.move-content-section--has-image {
		background-image:
			linear-gradient(rgba(6, 27, 51, 0.72), rgba(6, 27, 51, 0.72)),
			var(--move-content-section-image);
	}
	.move-content-section--dark.move-content-section--center .move-content-section__body {
		font-size: var(--move-font-size-4xl, 2.5rem); /* 40px */
		/* Absolute letter-spacing/tight (-1px), not the proportional step above: at 40px those differ (-1px vs -0.4px). */
		letter-spacing: -1px;
		/* 48px emphasis against the 40px roman — desktop-only, since a 48px run in a 24px mobile line would double it. */
		--move-em-size: 3rem; /* 48px */
	}
}

@container move-content-section (min-width: 1024px) {
	.move-content-section--split .move-content-section__container {
		display: grid;
		grid-template-columns: 1fr 1fr;
		/* `auto 1fr`, not `auto auto`: the body spans both rows, and an equal split would halve the heading's row. */
		grid-template-rows: auto 1fr;
		gap: var(--move-space-lg, 3rem);
		align-items: start;
	}
	/* Explicit placement, not auto-flow: auto-flow would drop the heading in column
	   2. Figma stacks label+statement in column 1, running copy in column 2. */
	.move-content-section--split .move-content-section__eyebrow {
		grid-column: 1;
		grid-row: 1;
	}
	.move-content-section--split .move-content-section__heading {
		grid-column: 1;
		grid-row: 2;
		margin-bottom: 0;
	}
	/* Without an eyebrow, an empty row 1 still claims height from the body's
	   own intrinsic size (measured 48px, Education "Clinical Trials Fellowship").
	   Spanning the heading across both rows removes the gap instead of just hiding it. */
	.move-content-section--split:not(:has(.move-content-section__eyebrow)) .move-content-section__heading {
		grid-row: 1 / span 2;
	}
	.move-content-section--split .move-content-section__body {
		grid-column: 2;
		grid-row: 1 / span 2;
		max-width: none;
	}
}

