/* ==========================================================================
   Founder page parts (widget "Founder"): hero (the page's only photo), story
   (centred text column) and quote card. Colours and radii come from the site
   palette and card system.
   ========================================================================== */

.hec-founder-eyebrow {
	margin: 0;
	color: var(--hec-accent);
	font-family: var(--e-global-typography-eyebrow-font-family, inherit);
	font-size: var(--e-global-typography-eyebrow-font-size, 0.8125rem);
	font-weight: var(--e-global-typography-eyebrow-font-weight, 600);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.hec-founder-heading { margin: 0 0 1rem; color: var(--hec-primary); }
.hec-founder-notice { margin: 0; padding: 1rem; border: 1px dashed var(--hec-border); color: var(--hec-muted); font-size: 0.875rem; }

/* Rounded photo frame with a soft shadow. */
.hec-founder-frame {
	position: relative;
	margin: 0;
	border-radius: 20px;
	overflow: hidden;
	background: var(--hec-surface);
	box-shadow: 0 2px 6px rgba(35, 39, 44, 0.06), 0 18px 40px rgba(43, 80, 131, 0.16);
}
.hec-founder-frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* 1. Hero: text left, portrait right; on small screens the portrait comes first. */
.hec-founder-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.hec-founder-hero__text { display: flex; flex-direction: column; gap: 0.875rem; }
.hec-founder-hero__name { margin: 0; overflow-wrap: anywhere; }
.hec-founder-hero__title { margin: 0; color: var(--hec-text); font-family: var(--hec-font-head); font-size: 1.25rem; font-weight: 700; line-height: 1.35; }
.hec-founder-hero__intro { margin: 0; max-width: 34em; color: var(--hec-muted); font-size: 1.125rem; line-height: 1.6; }
.hec-founder-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; }
.hec-founder-hero__actions .elementor-button { display: inline-flex; align-items: center; gap: 0.5rem; }
.hec-founder-hero__actions svg { flex: none; }
.hec-founder-hero__media { position: relative; justify-self: center; width: min(100%, 460px); padding: 0 0 18px 18px; }
/* Subtle logo-blue accent shape behind the portrait, offset down and left, with a thin ring. */
.hec-founder-hero__accent {
	position: absolute;
	inset: 18px 18px 0 0;
	border-radius: 24px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--hec-primary) 22%, transparent), color-mix(in srgb, var(--hec-secondary) 8%, transparent));
}
.hec-founder-hero__accent::after {
	content: "";
	position: absolute;
	right: -16px;
	top: -16px;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	border: 3px solid color-mix(in srgb, var(--hec-primary) 30%, transparent);
}
.hec-founder-hero__media .hec-founder-frame { position: relative; z-index: 1; }

/* 2. Story: a single centred text column (no photo). */
.hec-founder-story { max-width: 760px; margin-inline: auto; }
.hec-founder-story__bio p { margin: 0 0 1em; font-size: 1.0625rem; line-height: 1.7; }
.hec-founder-story__bio p:last-child { margin-bottom: 0; }

/* 3. Quote card. */
html body .hec-founder-quote {
	max-width: 880px;
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 3.5rem);
	border-left: 4px solid var(--hec-primary);
}
.hec-founder-quote__mark {
	display: block;
	height: 0.5em;
	margin: -0.05em 0 0.15em;
	color: color-mix(in srgb, var(--hec-primary) 35%, transparent);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(5rem, 10vw, 6.5rem);
	font-weight: 700;
	line-height: 1;
	pointer-events: none;
}
.hec-founder-quote .hec-founder-heading { position: relative; }
.hec-founder-quote__text { position: relative; margin: 0; padding: 0; border: 0; }
.hec-founder-quote__text p { margin: 0 0 0.85em; color: var(--hec-text); font-family: var(--hec-font-head); font-size: clamp(1.125rem, 2.2vw, 1.375rem); font-weight: 600; line-height: 1.55; }
.hec-founder-quote__text p:last-child { margin-bottom: 0; }
.hec-founder-quote__sign { font-style: normal; display: flex; flex-direction: column; gap: 0.15rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--hec-border); }
.hec-founder-quote__name { color: var(--hec-primary); font-family: var(--hec-font-head); font-weight: 800; font-size: 1.0625rem; }
.hec-founder-quote__role { color: var(--hec-muted); font-size: 0.9375rem; }

/* Small screens: one column, portrait first. */
@media (max-width: 880px) {
	.hec-founder-hero { grid-template-columns: minmax(0, 1fr); }
	.hec-founder-hero__media { order: -1; width: min(100%, 400px); }
}
