/* ==========================================================================
   Front page
   Section geometry, colours and type are carried over one-for-one from the
   previous build's generated block CSS.
   ========================================================================== */

.fda-front #wrapper.site {
	background: var(--fda-palette9);
}

/* Shared bits ------------------------------------------------------------- */

.eyebrow {
	margin: 0;
	font-family: var(--fda-font-body);
	font-size: 12px;
	font-weight: 700;
	line-height: 19.2px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--fda-palette7);
}

.eyebrow strong {
	font-weight: 700;
}

.eyebrow--accent {
	font-weight: 800;
	color: #741723;
}

.eyebrow--light {
	color: var(--fda-palette7);
}

.highlight {
	background: none;
	color: var(--fda-palette7);
}

.highlight--muted {
	color: var(--fda-palette6);
}

.highlight--serif {
	font-family: Georgia, serif;
	font-weight: 700;
}

.rule {
	display: block;
	width: 56px;
	height: 3px;
	margin: 20px 0;
	background: var(--fda-palette2);
}

.rule--light {
	background: rgba(237, 242, 247, 0.5);
}

.rule--center {
	margin-left: auto;
	margin-right: auto;
}

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */

.home-hero {
	background: var(--fda-palette2);
}

.home-hero__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 94vw;
	margin: 0 auto;
	min-height: 530px;
}

.home-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 24px 0;
}

.home-hero__eyebrow {
	margin: 0 0 16px;
	font-family: var(--fda-font-body);
	font-size: 12px;
	font-weight: 700;
	line-height: 19.2px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--fda-palette7);
}

.home-hero__title {
	margin: 24px 0 20px;
	font-family: var(--fda-font-heading);
	font-size: 40px;
	font-weight: 900;
	line-height: 50px;
	color: var(--fda-palette9);
}

.home-hero__text {
	margin: 0 0 32px;
	padding-right: 104px;
	font-family: var(--fda-font-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 22.4px;
	color: var(--fda-palette7);
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
}

.home-hero__media {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 530px;
	margin-right: -3vw;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.home-hero__caption {
	margin: 0;
	padding: 0 16px;
	font-family: var(--fda-font-body);
	font-size: 18px;
	font-weight: 600;
	line-height: 28.8px;
	letter-spacing: 4px;
	text-transform: uppercase;
	text-align: center;
	color: var(--fda-palette9);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

/* Underlined text links used in the hero and on cards. */
.link-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
	border-bottom: 1px solid var(--fda-palette6);
	font-family: var(--fda-font-body);
	font-size: 14.4px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: 3px;
	text-transform: uppercase;
	text-decoration: none;
	transition: color var(--fda-speed), border-color var(--fda-speed);
}

.link-btn__icon .fda-icon {
	width: 16px;
	height: 16px;
	stroke: currentColor;
}

.link-btn--primary {
	color: var(--fda-palette7);
}

.link-btn--muted {
	color: #a59499;
}

.link-btn:hover,
.link-btn:focus {
	color: var(--fda-palette9);
	border-bottom-color: var(--fda-palette9);
}

/* Card links keep sentence case and drop the rule. */
.link-btn--card {
	padding: 0;
	border-bottom: 0;
	font-size: 14.4px;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	color: var(--fda-palette7);
}

.link-btn--card:hover,
.link-btn--card:focus {
	color: var(--fda-palette9);
	border-bottom: 0;
}

/* --------------------------------------------------------------------------
   2. Industry universe
   -------------------------------------------------------------------------- */

.home-universe {
	background: var(--fda-palette1);
}

.home-universe__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 64px 24px;
}

.home-universe__head {
	max-width: 785px;
}

.home-universe__title {
	margin: 24px 0 18px;
	font-family: Georgia, serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 50px;
	color: var(--fda-palette9);
}

.home-universe__text {
	margin: 0;
	padding-right: 160px;
	font-family: var(--fda-font-body);
	font-size: 14px;
	line-height: 22.4px;
	color: var(--fda-palette7);
}

.home-universe__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	padding: 48px 0 24px;
}

.env-card {
	display: flex;
	flex-direction: column;
	padding: 20px 20px 10px;
	border-radius: 6px;
	background: var(--fda-palette2);
	text-decoration: none;
	transition: transform var(--fda-speed) var(--fda-ease), box-shadow var(--fda-speed) var(--fda-ease);
}

.env-card:hover,
.env-card:focus {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.env-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.25);
}

.env-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.env-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.env-card__title {
	display: block;
	margin: 8px 0 12px;
	font-family: Georgia, serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 28px;
	color: var(--fda-palette9);
}

.env-card__text {
	display: block;
	flex: 1 1 auto;
	font-family: var(--fda-font-body);
	font-size: 14px;
	line-height: 20px;
	color: var(--fda-palette7);
}

.env-card__more {
	display: block;
	margin: 10px 0;
	padding: 4px 0;
	font-family: var(--fda-font-body);
	font-size: 11px;
	font-weight: 700;
	line-height: 19px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--fda-palette7);
}

/* --------------------------------------------------------------------------
   3. Credibility strip
   -------------------------------------------------------------------------- */

.home-strip {
	background: var(--fda-palette9);
}

.home-strip__text {
	max-width: var(--fda-content-width);
	margin: 0 auto;
	padding: 32px 24px;
	font-family: var(--fda-font-body);
	font-size: 12px;
	font-weight: 700;
	line-height: 24px;
	letter-spacing: 3px;
	text-transform: uppercase;
	text-align: center;
	color: var(--fda-palette6);
}

/* --------------------------------------------------------------------------
   4. Former FDA expertise
   -------------------------------------------------------------------------- */

.home-expertise {
	background: #091f2a;
}

.home-expertise__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 64px;
	align-items: center;
	max-width: 1280px;
	margin: 0 auto;
	padding: 64px 24px 80px;
}

.home-expertise__media img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.home-expertise__title {
	margin: 24px 0 0;
	font-family: var(--fda-font-heading);
	font-size: 36px;
	font-weight: 900;
	line-height: 42px;
	color: var(--fda-palette9);
}

.home-expertise__text {
	margin: 0 0 24px;
	font-family: var(--fda-font-body);
	font-size: 14px;
	line-height: 22.4px;
	color: var(--fda-palette7);
}

.check-list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.check-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 2px 0;
}

.check-list__icon .fda-icon {
	width: 12px;
	height: 12px;
	fill: var(--fda-palette2);
}

.check-list__text {
	font-family: var(--fda-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 25.6px;
	color: var(--fda-palette7);
}

/* --------------------------------------------------------------------------
   5. Consulting services
   -------------------------------------------------------------------------- */

.home-services {
	background: var(--fda-palette9);
}

.home-services__inner {
	display: grid;
	grid-template-columns: 394fr 806fr;
	gap: 32px;
	align-items: center;
	max-width: 1280px;
	margin: 0 auto;
	padding: 80px 24px;
}

.home-services__title {
	margin: 24px 0 0;
	font-family: var(--fda-font-heading);
	font-size: 36px;
	font-weight: 900;
	line-height: 42px;
	color: var(--fda-palette3);
}

.home-services__text {
	margin: 16px 0 0;
	padding-right: 104px;
	font-family: var(--fda-font-body);
	font-size: 14px;
	line-height: 22.4px;
	color: var(--fda-palette5);
}

.home-services__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 28px;
	padding: 24px 0;
}

.svc-card {
	position: relative;
	padding: 28px;
	min-height: 293px;
	background: #6d0815;
	color: var(--fda-palette9);
	transition: background-color var(--fda-speed) var(--fda-ease);
	/* Cut corner: bottom-right on the left column, top-left on the right. */
	clip-path: polygon(0 0, 100% 0, 100% 89%, 87% 100%, 0 100%, 0 10%);
}

.svc-card--offset {
	margin-top: 30px;
	clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 12%);
}

.svc-card:hover {
	background: var(--fda-palette2);
}

.svc-card__number {
	display: block;
	margin: 0 0 24px;
	font-family: var(--fda-font-body);
	font-size: 48px;
	font-weight: 900;
	line-height: 40px;
	color: #943844;
}

.svc-card__title {
	margin: 0 0 9px;
	font-family: var(--fda-font-heading);
	font-size: 18px;
	font-weight: 700;
	line-height: 27px;
	color: var(--fda-palette8);
}

.svc-card__text {
	margin: 0 0 32px;
	font-family: var(--fda-font-body);
	font-size: 15px;
	line-height: 23px;
	color: var(--fda-palette7);
}

.svc-card__overlay,
.intel-card__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.svc-card .link-btn,
.intel-card .link-btn {
	position: relative;
	z-index: 2;
}

/* --------------------------------------------------------------------------
   6. Regulatory intelligence
   -------------------------------------------------------------------------- */

.home-intel {
	background: var(--fda-palette8);
}

.home-intel__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 64px 24px;
}

.home-intel__head {
	max-width: 785px;
}

.home-intel__title {
	margin: 24px 0 0;
	font-family: var(--fda-font-heading);
	font-size: 36px;
	font-weight: 900;
	line-height: 46px;
	color: var(--fda-palette3);
}

.home-intel__text {
	margin: 16px 0 0;
	padding-right: 104px;
	font-family: var(--fda-font-body);
	font-size: 14px;
	line-height: 22.4px;
	color: var(--fda-palette5);
}

.home-intel__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	padding: 48px 0 24px;
}

.intel-card {
	position: relative;
	padding: 48px;
	min-height: 270px;
	color: var(--fda-palette9);
	/* Same cut corner as the service cards, a touch shallower. */
	clip-path: polygon(0 0, 100% 0, 100% 89%, 91% 100%, 0 100%, 0 10%);
	transition: background-color var(--fda-speed) var(--fda-ease);
}

.intel-card--flush {
	background: var(--fda-palette1);
}

.intel-card--offset {
	background: var(--fda-palette2);
}

.intel-card__title {
	margin: 0 0 16px;
	font-family: var(--fda-font-heading);
	font-size: 24px;
	font-weight: 700;
	line-height: 32px;
	color: var(--fda-palette8);
}

.intel-card__text {
	margin: 0 0 28px;
	font-family: var(--fda-font-body);
	font-size: 15px;
	line-height: 23px;
	color: var(--fda-palette7);
}

/* --------------------------------------------------------------------------
   7. Statement band
   -------------------------------------------------------------------------- */

.home-statement {
	position: relative;
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
	isolation: isolate;
}

.home-statement__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(9, 31, 42, 0.78);
}

.home-statement__inner {
	max-width: var(--fda-content-width);
	margin: 0 auto;
	padding: 128px 0;
	text-align: center;
}

.home-statement__title {
	margin: 0 0 18px;
	font-family: var(--fda-font-heading);
	font-size: 36px;
	font-weight: 900;
	line-height: 46px;
	color: var(--fda-palette9);
}

.home-statement__text {
	margin: 0;
	font-family: var(--fda-font-body);
	font-size: 28px;
	font-weight: 700;
	line-height: 40px;
	color: #9ca6a8;
}

/* --------------------------------------------------------------------------
   8. Learn / latest posts
   -------------------------------------------------------------------------- */

.home-learn {
	margin: 48px 0;
	background: var(--fda-palette2);
}

.home-learn__inner {
	max-width: var(--fda-content-width);
	margin: 0 auto;
	padding: 64px 24px 72px;
}

.home-learn__head {
	text-align: center;
	padding-bottom: 24px;
}

.home-learn__head .eyebrow {
	font-size: 48px;
	font-weight: 900;
	line-height: 55px;
	letter-spacing: 0;
	color: #7e3948;
}

.home-learn__title {
	margin: 16px 0 0;
	font-family: var(--fda-font-heading);
	font-size: 28px;
	font-weight: 900;
	line-height: 40px;
	color: var(--fda-palette9);
}

/* --------------------------------------------------------------------------
   9. Closing call to action
   -------------------------------------------------------------------------- */

.home-cta {
	background: #091f2a;
}

.home-cta__inner {
	max-width: 750px;
	margin: 0 auto;
	padding: 64px 24px;
	text-align: center;
}

.home-cta__inner .eyebrow {
	font-size: 16px;
	line-height: 24px;
	font-weight: 800;
}

.home-cta__title {
	margin: 24px 0 8px;
	font-family: var(--fda-font-heading);
	font-size: 36px;
	font-weight: 900;
	line-height: 46px;
	color: var(--fda-palette9);
}

.home-cta__text {
	margin: 16px 0 48px;
	font-family: var(--fda-font-body);
	font-size: 18px;
	line-height: 28px;
	color: var(--fda-palette7);
}

.home-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

.home-cta__actions .fda-btn {
	min-width: 220px;
}

/* --------------------------------------------------------------------------
   10. FAQ
   -------------------------------------------------------------------------- */

.home-faq {
	background: var(--fda-palette9);
}

.home-faq__inner {
	max-width: 800px;
	margin: 0 auto;
	padding: 64px 24px 80px;
}

.home-faq__head {
	text-align: center;
	padding-bottom: 24px;
}

.home-faq__head .eyebrow {
	font-size: 11px;
	line-height: 19px;
	font-weight: 700;
	color: var(--fda-palette2);
}

.home-faq__title {
	margin: 16px 0;
	font-family: var(--fda-font-heading);
	font-size: 36px;
	font-weight: 900;
	line-height: 46px;
	color: var(--fda-palette3);
}

.accordion {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.accordion__heading {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
}

.accordion__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 64px;
	padding: 18px 24px;
	border: 1px solid rgba(18, 35, 43, 0.1);
	border-radius: 8px;
	background: var(--fda-palette9);
	font-family: var(--fda-font-heading);
	font-size: 15px;
	font-weight: 700;
	line-height: 17px;
	color: var(--fda-palette3);
	text-align: left;
	cursor: pointer;
	transition: border-color var(--fda-speed), background-color var(--fda-speed);
}

.accordion__trigger:hover {
	border-color: rgba(93, 20, 29, 0.4);
}

.accordion__icon .fda-icon {
	width: 14px;
	height: 14px;
	fill: var(--fda-palette5);
	transition: transform var(--fda-speed) var(--fda-ease);
}

.accordion__pane.is-open .accordion__icon .fda-icon {
	transform: rotate(180deg);
}

.accordion__panel {
	display: none;
}

.accordion__pane.is-open .accordion__panel {
	display: block;
}

.accordion__panel-inner {
	padding: 18px 24px 6px;
}

.accordion__panel-inner p {
	margin: 0;
	font-family: var(--fda-font-body);
	font-size: 15px;
	line-height: 24px;
	color: var(--fda-palette5);
}

.no-js .accordion__panel {
	display: block;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.home-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}

	.home-hero__copy {
		padding: 56px 0;
	}

	.home-hero__text {
		padding-right: 0;
	}

	.home-hero__media {
		min-height: 320px;
		margin-right: 0;
	}

	.home-universe__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-universe__text,
	.home-services__text,
	.home-intel__text {
		padding-right: 0;
	}

	.home-expertise__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.home-services__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.svc-card--offset,
	.svc-card--flush {
		transform: none;
	}

	.home-intel__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.home-statement {
		background-attachment: scroll;
	}

	.home-statement__inner {
		padding: 80px 24px;
	}
}

@media (max-width: 767px) {
	.home-hero__title {
		font-size: 30px;
		line-height: 38px;
	}

	.home-universe__grid,
	.home-services__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.home-universe__title {
		font-size: 28px;
		line-height: 38px;
	}

	.home-expertise__title,
	.home-services__title,
	.home-intel__title,
	.home-statement__title,
	.home-cta__title,
	.home-faq__title {
		font-size: 28px;
		line-height: 36px;
	}

	.home-statement__text {
		font-size: 20px;
		line-height: 30px;
	}

	.intel-card,
	.svc-card {
		padding: 28px 24px;
	}

	.home-cta__actions .fda-btn {
		width: 100%;
	}
}
