/* ==========================================================================
   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: #f6f4ee;
}

/* 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: #892943;
}

.eyebrow strong {
	font-weight: 700;
}

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

.eyebrow--light {
	color: #892943;
}

.highlight {
	background: none;
	color: #152641;
}

.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(226, 223, 217, 0.7);
}

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

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

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

.home-hero__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-areas:
		"copy media"
		"actions media";
	grid-template-rows: auto auto;
	align-content: center;
	max-width: 94vw;
	margin: 0 auto;
	min-height: 530px;
}

.home-hero__copy {
	grid-area: copy;
	align-self: end;
	position: relative;
	top: -18px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 24px 0 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-palette2);
}

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

.home-hero__text {
	max-width: 680px;
	margin: 0 0 32px;
	padding-right: 0;
	font-family: var(--fda-font-body);
	font-size: 15.5px;
	font-weight: 400;
	line-height: 22.4px;
	color: var(--fda-palette5);
}

.home-hero__actions {
	grid-area: actions;
	align-self: start;
	position: relative;
	top: -18px;
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	padding: 0 0 24px;
}

.home-hero__media {
	position: relative;
	grid-area: media;
	align-self: stretch;
	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;
	overflow: hidden;
	isolation: isolate;
}

.home-hero__media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(21, 38, 65, 0.34);
}

.home-hero__caption {
	position: relative;
	z-index: 1;
	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 3px 16px rgba(21, 38, 65, 0.85);
}

.home-hero__eyebrow.is-visible {
	animation-delay: 0.05s;
}

.home-hero__title.is-visible {
	animation-delay: 0.14s;
}

.home-hero__text.is-visible {
	animation-delay: 0.23s;
}

.home-hero__actions.is-visible {
	animation-delay: 0.32s;
}

.home-hero__media.is-visible {
	animation-delay: 0.2s;
}

/* Underlined text links used in the hero and on cards. */
.link-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(21, 38, 65, 0.6);
	font-family: var(--fda-font-body);
	font-size: 14.4px;
	font-weight: 800;
	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-palette2);
}

.link-btn--muted {
	color: var(--fda-palette2);
}

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

/* 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: #892943;
}

.link-btn--card:hover,
.link-btn--card:focus {
	color: #152641;
	border-bottom: 0;
}

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

.home-universe {
	background: #ffffff;
}

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

.home-universe__head {
	max-width: 785px;
	margin: 0 auto;
	text-align: center;
}

.home-universe__title {
	margin: 24px 0 18px;
	font-family: Georgia, serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 50px;
	color: #152641;
}

.home-universe__text {
	max-width: 700px;
	margin: 0 auto;
	padding-right: 0;
	font-family: var(--fda-font-body);
	font-size: 15.5px;
	line-height: 22.4px;
	color: rgba(21, 38, 65, 0.78);
}

.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: 1px solid #e2dfd9;
	border-radius: 6px;
	background: #ffffff;
	text-decoration: none;
	transition: transform var(--fda-speed) var(--fda-ease), box-shadow var(--fda-speed) var(--fda-ease), border-color var(--fda-speed) var(--fda-ease);
}

.env-card:hover,
.env-card:focus {
	transform: translateY(-4px);
	border-color: rgba(137, 41, 67, 0.28);
	box-shadow: 0 18px 40px rgba(21, 38, 65, 0.18);
}

.env-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: rgba(21, 38, 65, 0.12);
}

.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: #152641;
}

.env-card__text {
	display: block;
	flex: 1 1 auto;
	font-family: var(--fda-font-body);
	font-size: 15.5px;
	line-height: 20px;
	color: rgba(21, 38, 65, 0.78);
}

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

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

.home-strip {
	background: #892943;
}

.home-strip__text {
	max-width: var(--fda-content-width);
	margin: 0 auto;
	padding: 26px 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: #f6f4ee;
}

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

.home-expertise {
	background: #f6f4ee;
}

.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: #152641;
}

.home-expertise__text {
	margin: 0 0 24px;
	font-family: var(--fda-font-body);
	font-size: 15.5px;
	line-height: 22.4px;
	color: rgba(21, 38, 65, 0.78);
}

.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: #152641;
}

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

.home-services {
	background: #ffffff;
}

.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: 15.5px;
	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: #f6f4ee;
	color: #152641;
	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: #e2dfd9;
}

.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: #892943;
}

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

.svc-card__text {
	margin: 0 0 32px;
	font-family: var(--fda-font-body);
	font-size: 15.5px;
	line-height: 23px;
	color: rgba(21, 38, 65, 0.78);
}

.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: #f6f4ee;
}

.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: 15.5px;
	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: #152641;
	/* 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: #ffffff;
}

.intel-card--offset {
	background: #e2dfd9;
}

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

.intel-card__text {
	margin: 0 0 28px;
	font-family: var(--fda-font-body);
	font-size: 15.5px;
	line-height: 23px;
	color: rgba(21, 38, 65, 0.78);
}

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

.home-statement {
	position: relative;
	background-color: #152641;
	background-image: var(--fda-statement-bg);
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
	isolation: isolate;
}

.home-statement__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	display: block;
	background: rgba(21, 38, 65, 0.48);
}

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

.home-statement__inner::before {
	content: "";
	display: block;
	width: 68px;
	height: 3px;
	margin: 0 auto 24px;
	background: #892943;
}

.home-statement__title {
	margin: 0 0 18px;
	font-family: var(--fda-font-heading);
	font-size: 36px;
	font-weight: 900;
	line-height: 46px;
	color: #ffffff;
	text-shadow: 0 3px 18px rgba(21, 38, 65, 0.75);
}

.home-statement__text {
	margin: 0;
	font-family: var(--fda-font-body);
	font-size: 28px;
	font-weight: 700;
	line-height: 40px;
	color: #f6f4ee;
	text-shadow: 0 2px 14px rgba(21, 38, 65, 0.72);
}

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

.home-learn {
	margin: 48px 0;
	background: #f6f4ee;
}

.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__title {
	margin: 16px 0 0;
	font-family: var(--fda-font-heading);
	font-size: 28px;
	font-weight: 900;
	line-height: 40px;
	color: #152641;
}

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

.home-cta {
	background: #ffffff;
}

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

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

.home-cta__text {
	margin: 16px 0 48px;
	font-family: var(--fda-font-body);
	font-size: 18px;
	line-height: 28px;
	color: rgba(21, 38, 65, 0.78);
}

.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: #f6f4ee;
}

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

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

.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(21, 38, 65, 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(137, 41, 67, 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 {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transform: translateY(-4px);
	transition: max-height 0.38s var(--fda-ease), opacity 0.28s var(--fda-ease), transform 0.28s var(--fda-ease);
}

.accordion__pane.is-open .accordion__panel {
	max-height: 260px;
	opacity: 1;
	transform: translateY(0);
}

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

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

.no-js .accordion__panel {
	max-height: none;
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.accordion__panel {
		transition: none;
	}
}

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

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

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

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

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

	.home-hero__actions {
		top: 0;
		padding: 0 0 56px;
	}

	.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%;
	}
}
