.text-link:hover {
	text-decoration: underline;
}
.company-section h2 {
	font-size: clamp(1.9rem, 3vw, 2.7rem);
}
.stage-details {
	margin: 0;
}
.stage-details > div + div {
	border-top: 1px solid var(--line);
	margin-top: 1rem;
	padding-top: 1rem;
}
.stage-details dt {
	font-weight: 600;
}
.stage-details dd {
	margin: 0.4rem 0 0;
	color: var(--muted);
	font-size: 0.95rem;
}
.project-note {
	padding: 1.75rem 2rem;
	margin-block: 2.5rem;
	background: var(--surface);
	border-left: 3px solid var(--accent);
}
.project-note h2 {
	font-size: 1.45rem;
}
.project-note p {
	margin-top: 0.75rem;
	max-width: 52rem;
	color: var(--muted);
}
.company-section {
	padding-block: 3.5rem;
}
.company-split {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 5rem;
	align-items: start;
}
.company-split p {
	margin-top: 1.2rem;
	color: var(--muted);
}
.company-facts {
	padding: 2rem;
	background: var(--navy);
	color: white;
}
.company-facts > strong {
	font-size: 5rem;
	line-height: 1.1;
	font-weight: 400;
}
.company-facts > strong span {
	color: var(--accent);
}
.company-facts h3 {
	margin-top: 1rem;
}
.company-facts p {
	color: #d2d9e6;
}
.fact-location {
	border-top: 1px solid #ffffff30;
	margin-top: 1.5rem;
	padding-top: 1rem;
	color: var(--blue);
	font-weight: 700;
	letter-spacing: 0.06em;
}
.fact-location span {
	display: block;
	font-size: 0.85rem;
	color: #d2d9e6;
	letter-spacing: 0;
	font-weight: 400;
}
.company-tint {
	background: var(--surface);
}
.company-values {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	margin-top: 2rem;
}
.company-values article {
	border-top: 1px solid var(--line);
	padding-top: 1rem;
}
.company-values article > span {
	color: var(--accent-ink);
	font-size: 0.9rem;
}
.company-values h3 {
	margin-top: 0.85rem;
	line-height: 1.3;
}
.company-values p {
	color: var(--muted);
	margin-top: 0.75rem;
	font-size: 0.95rem;
}
.sector-list {
	padding: 0;
	margin: 0;
	list-style: none;
}
.sector-list li {
	padding: 1rem 0;
	border-bottom: 1px solid var(--line);
	font-size: 1.15rem;
}
.sector-list span {
	font-size: 0.85rem;
	color: var(--accent-ink);
	margin-right: 1rem;
}
.text-link {
	display: inline-block;
	margin-top: 1.25rem;
	border-bottom: 1px solid var(--accent);
	padding-bottom: 0.3rem;
	font-weight: 600;
}
@media (max-width: 1000px) {
	.company-split {
		gap: 2.5rem;
	}
	.company-values {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 760px) {
	.stage-details {
		grid-column: 2;
	}
	.company-split {
		grid-template-columns: 1fr;
	}
	.company-section {
		padding-block: 2.5rem;
	}
	.company-values {
		gap: 1.5rem;
	}
	.project-note {
		padding: 1.3rem;
	}
}
@media (max-width: 420px) {
	.company-values {
		grid-template-columns: 1fr;
	}
}

.testimonials-intro {
	color: var(--muted);
	max-width: 42rem;
	margin-top: 1rem;
}
.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 2rem;
	align-items: stretch;
}
.testimonial-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	background: var(--white);
}
.testimonial-card .eyebrow {
	font-size: 0.75rem;
}
.testimonial-card blockquote {
	margin: 1.2rem 0;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ink);
}
.testimonial-author {
	margin-top: auto;
	display: grid;
	gap: 0.25rem;
}
.testimonial-author strong {
	font-size: 0.95rem;
	font-weight: 600;
}
.testimonial-author span {
	color: var(--muted);
	font-size: 0.85rem;
}
.testimonial-letter {
	margin-top: 1.5rem;
	border-top: 1px solid var(--line);
}
.testimonial-letter summary {
	cursor: pointer;
	list-style: none;
	padding-top: 1rem;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.875rem;
	color: var(--accent-ink);
}
.testimonial-letter summary::-webkit-details-marker {
	display: none;
}
.testimonial-letter summary:after {
	content: "+";
}
.testimonial-letter[open] summary:after {
	content: "−";
}
.testimonial-letter summary:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 4px;
}
.testimonial-copy {
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--muted);
	overflow-wrap: anywhere;
}
.testimonial-copy p {
	margin: 1rem 0;
}
.testimonials-note {
	font-size: 0.8rem;
	color: var(--muted);
	margin-top: 1.5rem;
}
@media (max-width: 1100px) {
	.testimonial-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 760px) {
	.testimonial-grid {
		grid-template-columns: 1fr;
	}
	.testimonial-card {
		padding: 1.5rem;
	}
}

/* Shared rows align headings, quotations, names and disclosure controls. */
.testimonial-grid {
	row-gap: 0;
}
.testimonial-card {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 4;
	row-gap: 0;
}
.testimonial-card > .eyebrow {
	margin: 0;
	padding-bottom: 1.2rem;
	align-self: start;
}
.testimonial-card blockquote {
	margin: 0;
	padding-bottom: 1.2rem;
	align-self: start;
}
.testimonial-author {
	margin-top: 0;
	align-self: start;
	padding-bottom: 1.5rem;
}
.testimonial-letter {
	margin-top: 0;
	align-self: start;
}
@media (max-width: 1100px) {
	.testimonial-grid {
		row-gap: 1.25rem;
	}
	.testimonial-card {
		row-gap: 0;
	}
}
@media (max-width: 760px) {
	.testimonial-card {
		display: flex;
		grid-row: auto;
	}
	.testimonial-card > .eyebrow {
		width: 100%;
	}
	.testimonial-letter {
		width: 100%;
	}
}

.profile-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
	gap: 3rem;
	align-items: start;
}
.profile-intro {
	color: var(--muted);
	margin-top: 1rem;
	max-width: 27rem;
}
.profile-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.94rem;
	text-align: left;
}
.profile-table th,
.profile-table td {
	padding: 0.8rem 1rem;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}
.profile-table th {
	width: 36%;
	font-weight: 600;
	color: var(--ink);
	padding-left: 0;
}
.profile-table td {
	color: var(--muted);
	padding-right: 0;
}
.profile-table tr:first-child > * {
	border-top: 2px solid var(--accent);
}
.profile-caption {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
}
@media (max-width: 760px) {
	.profile-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.profile-table th {
		width: 40%;
	}
	.profile-table th,
	.profile-table td {
		padding-top: 0.65rem;
		padding-bottom: 0.65rem;
	}
}

/* Compact profile: short heading followed by two groups of five facts. */
#manufacturing-profile {
	padding-block: 2rem;
}
#manufacturing-profile .profile-grid {
	display: block;
}
#manufacturing-profile .eyebrow {
	margin-bottom: 0.4rem;
}

#manufacturing-profile .profile-intro {
	max-width: none;
	margin-top: 0.5rem;
	font-size: 0.9rem;
}
.profile-tables {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	margin-top: 1.25rem;
}
#manufacturing-profile .profile-table {
	font-size: 0.85rem;
	line-height: 1.5;
}
#manufacturing-profile .profile-table th,
#manufacturing-profile .profile-table td {
	padding-top: 0.55rem;
	padding-bottom: 0.55rem;
}
#manufacturing-profile .profile-table th {
	width: 39%;
}
@media (max-width: 760px) {
	.profile-tables {
		grid-template-columns: 1fr;
		gap: 0;
	}
	#manufacturing-profile .profile-tables table + table tr:first-child > * {
		border-top: 0;
	}
	#manufacturing-profile {
		padding-block: 1.5rem;
	}
}

.process-card-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 1.5rem;
	align-items: start;
}
.process-card {
	border-top: 2px solid var(--navy);
	padding-top: 1rem;
	min-width: 0;
	scroll-margin-top: 2rem;
}
.process-number {
	color: var(--accent-ink);
	font-size: 1.35rem;
}
.process-card h3 {
	font-size: 1rem;
	line-height: 1.4;
	margin: 0.65rem 0;
	min-height: 2.8em;
}
.process-card > p {
	font-size: 0.9rem;
	color: var(--muted);
	line-height: 1.65;
}
.process-card details {
	margin-top: 1rem;
	border-top: 1px solid var(--line);
}
.process-card summary {
	list-style: none;
	cursor: pointer;
	font-size: 0.85rem;
	color: var(--accent-ink);
	padding-top: 0.75rem;
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
}
.process-card summary::-webkit-details-marker {
	display: none;
}
.process-card summary:after {
	content: "+";
}
.process-card details[open] summary:after {
	content: "−";
}
.process-card summary:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 3px;
}
.process-card .stage-details {
	margin-top: 1rem;
	font-size: 0.85rem;
}
.process-card .stage-details dd {
	font-size: 0.85rem;
}
.process-concept {
	font-size: 0.9rem;
	color: var(--muted);
	border-left: 2px solid var(--accent);
	padding-left: 1rem;
	margin-top: 1.5rem;
}
.process-concept strong {
	color: var(--ink);
}
@media (max-width: 1000px) {
	.process-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 760px) {
	.process-card-grid {
		grid-template-columns: 1fr;
	}
	.process-card h3 {
		min-height: 0;
	}
}

.process-role-intro {
	max-width: 65rem;
	margin-top: 1rem;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.7;
}

/* Consistent top spacing for workflow content sections. */
.workflow-page #our-process,
.workflow-page #project-examples,
.workflow-page #manufacturing-faq {
	padding-top: 2.75rem;
}
@media (max-width: 760px) {
	.workflow-page #our-process,
	.workflow-page #project-examples,
	.workflow-page #manufacturing-faq {
		padding-top: 2rem;
	}
}

/* Consistent top spacing across all About content sections. */
.about-page #our-role,
.about-page #manufacturing-profile,
.about-page #what-we-bring,
.about-page #testimonials,
.about-page #who-we-support {
	padding-top: 2.75rem;
}
@media (max-width: 760px) {
	.about-page #our-role,
	.about-page #manufacturing-profile,
	.about-page #what-we-bring,
	.about-page #testimonials,
	.about-page #who-we-support {
		padding-top: 2rem;
	}
}

/* Section labels must not inherit body-paragraph spacing in split layouts. */
.about-page .company-split .eyebrow {
	margin-top: 0;
}

/* Full testimonials open above the unchanged card layout. */
html:has(.about-page) {
	scrollbar-gutter: stable;
}
.testimonial-open {
	width: 100%;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	background: none;
	border: 0;
	padding: 1rem 0 0;
	text-align: left;
	color: var(--accent-ink);
	font: inherit;
	font-size: 0.875rem;
	cursor: pointer;
}
.testimonial-open::after {
	content: "+";
}
.testimonial-dialog {
	width: min(720px, calc(100% - 3rem));
	max-height: 85dvh;
	padding: 0;
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	border-radius: 8px;
	color: var(--ink);
	background: white;
	box-shadow: 0 24px 80px #10172f55;
	overflow: hidden;
}
.testimonial-dialog[open] {
	display: flex;
	flex-direction: column;
}
.testimonial-dialog::backdrop {
	background: rgba(15, 22, 40, 0.65);
}
.testimonial-dialog-header {
	display: flex;
	justify-content: space-between;
	align-items: start;
	gap: 1.5rem;
	padding: 1.5rem 2rem;
	border-bottom: 1px solid var(--line);
	flex: none;
}
.testimonial-dialog-header .eyebrow {
	margin-bottom: 0.5rem;
}
.testimonial-dialog-header h2 {
	font-size: 1.6rem;
	line-height: 1.25;
}
.testimonial-dialog-close {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	font-size: 1.8rem;
	line-height: 1;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--surface);
	color: var(--ink);
	cursor: pointer;
}
.testimonial-dialog-content {
	padding: 1.5rem 2rem;
	overflow-y: auto;
	overscroll-behavior: contain;
	min-height: 0;
}
.testimonial-dialog-content .testimonial-author {
	padding-bottom: 0.5rem;
}
.testimonial-dialog-content .testimonial-copy {
	font-size: 1rem;
}
@media (max-width: 760px) {
	.testimonial-dialog {
		width: calc(100% - 1rem);
		max-height: calc(100dvh - 1rem);
	}
	.testimonial-dialog-header,
	.testimonial-dialog-content {
		padding: 1.25rem;
	}
}

/* Stretch the existing accessible dialog button across its testimonial card. */
.testimonial-card:has(.testimonial-open) {
	position: relative;
	cursor: pointer;
	background: #fafbfd;
	transition: background-color 0.15s ease;
}
.testimonial-card:has(.testimonial-open):hover,
.testimonial-card:has(.testimonial-open):focus-within {
	background: #fff;
}
.testimonial-open::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.testimonial-open:focus-visible::before {
	outline: 3px solid var(--blue);
	outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
	.testimonial-card:has(.testimonial-open) {
		transition: none;
	}
}

/* Share row heights so each process detail trigger stays aligned. */
.workflow-page .process-card-grid {
	align-items: stretch;
	row-gap: 0;
}
.workflow-page .process-card {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 4;
}
.workflow-page .process-number {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: #55728f;
}
.workflow-page .process-number .step-icon {
	width: 27px;
	height: 27px;
	color: #55728f;
	flex-shrink: 0;
}
@media (max-width: 1000px) {
	.workflow-page .process-card {
		margin-bottom: 2rem;
	}
}
@media (max-width: 760px) {
	.workflow-page .process-card {
		display: block;
	}
}

#our-role .company-split {
	row-gap: 0;
}
#our-role .company-split > .eyebrow {
	grid-column: 1/-1;
}
@media (max-width: 760px) {
	#our-role .company-facts {
		margin-top: 2.5rem;
	}
}

/* Give both company introductions the same responsive header height. */
:is(.about-page, .workflow-page) .cap-intro {
	min-height: calc(15.98rem + 2.3 * clamp(2.6rem, 4vw, 3.65rem));
}
@media (max-width: 760px) {
	:is(.about-page, .workflow-page) .cap-intro {
		min-height: 30.5rem;
	}
}
@media (min-width: 400px) and (max-width: 760px) {
	:is(.about-page, .workflow-page) .cap-intro {
		min-height: 28.25rem;
	}
}

#who-we-support .company-split {
	row-gap: 0;
}
#who-we-support .company-split > .eyebrow {
	grid-column: 1/-1;
}
@media (min-width: 761px) {
	#who-we-support .sector-list li:first-child {
		padding-top: 0;
	}
}
@media (max-width: 760px) {
	#who-we-support .sector-list {
		margin-top: 2.5rem;
	}
}
.workflow-page
	section
	> .container
	> h2:is(
		#our-process-title,
		#project-examples-title,
		#manufacturing-faq-title
	) {
	font-size: clamp(1.9rem, 3vw, 2.7rem);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.035em;
}

#what-we-bring .company-value-marker {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}
#what-we-bring .company-value-icon {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
}

.workflow-page #our-process .process-card {
	border-top: 1px solid var(--line);
}
.workflow-page #our-process .process-number,
.workflow-page #our-process .process-number .step-icon {
	color: var(--accent-ink);
}

.about-page #what-we-bring .company-values > article {
	border-bottom: 1px solid var(--line);
	padding-bottom: 2.2rem;
}
