/**!
 * @file AboutPage.css
 * @desc Modern about/marketing page for esl_about.php. Salvages content
 *       from the legacy about_en.html / about.html Mobirise pages and
 *       presents it in the site's modern brand language.
 *
 *       Scoped under body.about-page so nothing leaks.
 */
/************************************************************************************************************************************/

body.about-page {
	--ab-brand:      var(--sw-brand-color, #0e6630);
	--ab-brand-dark: #084a22;
	--ab-brand-soft: #e8f3ec;
	--ab-brand-tint: #f4f9f5;
	--ab-ink:        #14211a;
	--ab-ink-soft:   #4a5b51;
	--ab-card:       #ffffff;
	--ab-border:     #e0e8e3;
	--ab-radius:     16px;
	--ab-radius-sm:  10px;
	--ab-max-width:  1180px;
	--ab-shadow:     0 1px 2px rgba(20, 50, 30, 0.04),
	                 0 8px 28px rgba(20, 50, 30, 0.08);
	--ab-shadow-sm:  0 1px 2px rgba(20, 50, 30, 0.04),
	                 0 4px 14px rgba(20, 50, 30, 0.06);

	background-color: var(--ab-brand-tint) !important;
}

/* ------------------------------------------------------------------ */
/* PAGE                                                                */
/* ------------------------------------------------------------------ */

body.about-page .ab-page {
	max-width: var(--ab-max-width);
	margin: 0 auto;
	padding: 0 16px 32px 16px;
}

/* ------------------------------------------------------------------ */
/* HERO                                                                */
/* ------------------------------------------------------------------ */

body.about-page .ab-hero {
	margin-top: 18px;
	padding: 52px 40px 56px 40px;
	background:
		radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
		linear-gradient(135deg, var(--ab-brand) 0%, var(--ab-brand-dark) 100%);
	color: #fff;
	border-radius: var(--ab-radius);
	box-shadow: var(--ab-shadow);
	text-align: center;
	position: relative;
	overflow: hidden;
}

body.about-page .ab-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(255, 255, 255, 0.95);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	margin-bottom: 20px;
}

body.about-page .ab-hero__title {
	font-size: clamp(2rem, 4.2vw, 3.4rem);
	font-weight: 800;
	margin: 0 0 14px 0;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

body.about-page .ab-hero__lead {
	margin: 0 auto 28px auto;
	max-width: 640px;
	font-size: clamp(1rem, 1.4vw, 1.18rem);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.94);
}

body.about-page .ab-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	background: #fff;
	color: var(--ab-brand-dark);
	font-weight: 700;
	font-size: 1rem;
	border-radius: 999px;
	text-decoration: none;
	transition: transform 0.12s ease, box-shadow 0.15s ease;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

body.about-page .ab-hero__cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
	color: var(--ab-brand-dark);
	text-decoration: none;
}

/* Invitation-only note that appears under the hero CTA when
   $REG_OPEN_FLAG is FALSE — explains why a guest can't just register. */
body.about-page .ab-hero__note {
	max-width: 560px;
	margin: 18px auto 0 auto;
	font-size: 0.88rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.82);
}

/* ------------------------------------------------------------------ */
/* SECTIONS                                                            */
/* ------------------------------------------------------------------ */

body.about-page .ab-section {
	margin-top: 36px;
	background: var(--ab-card);
	border-radius: var(--ab-radius);
	box-shadow: var(--ab-shadow-sm);
	padding: 40px 36px 44px 36px;
}

body.about-page .ab-section__head {
	text-align: center;
	margin-bottom: 28px;
}

body.about-page .ab-section__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ab-brand-dark);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--ab-brand-soft);
	margin-bottom: 14px;
}

body.about-page .ab-section__title {
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	font-weight: 800;
	margin: 0 0 8px 0;
	color: var(--ab-ink);
	letter-spacing: -0.01em;
}

body.about-page .ab-section__lead {
	margin: 0 auto;
	max-width: 600px;
	font-size: 1rem;
	color: var(--ab-ink-soft);
	line-height: 1.55;
}

/* ------------------------------------------------------------------ */
/* WHY ENGLISH? — feature grid (4 cards with image + text)            */
/* ------------------------------------------------------------------ */

body.about-page .ab-feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	margin-top: 12px;
}

body.about-page .ab-feature {
	background: var(--ab-brand-tint);
	border: 1px solid var(--ab-border);
	border-radius: var(--ab-radius-sm);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

body.about-page .ab-feature:hover {
	transform: translateY(-2px);
	border-color: var(--ab-brand);
	box-shadow: var(--ab-shadow-sm);
}

body.about-page .ab-feature__img {
	width: 100%;
	aspect-ratio: 16 / 10;
	background: var(--ab-brand-soft);
	overflow: hidden;
}

body.about-page .ab-feature__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

body.about-page .ab-feature__body {
	padding: 16px 18px 18px 18px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

body.about-page .ab-feature__title {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 700;
	color: var(--ab-ink);
	line-height: 1.3;
}

body.about-page .ab-feature__body p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--ab-ink-soft);
	line-height: 1.55;
}

/* ------------------------------------------------------------------ */
/* JOURNEY — 3 numbered steps                                          */
/* ------------------------------------------------------------------ */

body.about-page .ab-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 22px;
	margin-top: 14px;
}

body.about-page .ab-step {
	background: var(--ab-card);
	border: 1px solid var(--ab-border);
	border-radius: var(--ab-radius-sm);
	padding: 28px 22px 24px 22px;
	text-align: center;
	position: relative;
}

body.about-page .ab-step__num {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ab-brand) 0%, var(--ab-brand-dark) 100%);
	color: #fff;
	font-size: 1.5rem;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	box-shadow: 0 4px 12px rgba(14, 102, 48, 0.25);
}

body.about-page .ab-step__title {
	margin: 0 0 8px 0;
	font-size: 1.08rem;
	font-weight: 700;
	color: var(--ab-ink);
}

body.about-page .ab-step__body {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--ab-ink-soft);
}

/* ------------------------------------------------------------------ */
/* FOUNDER NOTE — testimonial card                                     */
/* ------------------------------------------------------------------ */

body.about-page .ab-note {
	margin-top: 36px;
	background: linear-gradient(180deg, var(--ab-brand-tint) 0%, var(--ab-card) 100%);
	border: 1px solid var(--ab-border);
	border-left: 6px solid var(--ab-brand);
	border-radius: var(--ab-radius);
	box-shadow: var(--ab-shadow-sm);
	padding: 36px 40px 36px 40px;
	position: relative;
}

body.about-page .ab-note__quote {
	position: absolute;
	top: 18px;
	right: 24px;
	font-size: 4rem;
	color: var(--ab-brand-soft);
	font-family: Georgia, serif;
	line-height: 1;
	pointer-events: none;
}

body.about-page .ab-note__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ab-brand-dark);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--ab-brand-soft);
	margin-bottom: 14px;
}

body.about-page .ab-note p {
	margin: 0 0 12px 0;
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--ab-ink);
}

body.about-page .ab-note p:last-of-type {
	margin-bottom: 18px;
}

body.about-page .ab-note__sig {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 8px;
}

body.about-page .ab-note__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ab-brand) 0%, var(--ab-brand-dark) 100%);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.2rem;
	flex-shrink: 0;
}

body.about-page .ab-note__sig-text {
	display: flex;
	flex-direction: column;
}

body.about-page .ab-note__signature {
	font-weight: 700;
	font-size: 1rem;
	color: var(--ab-ink);
}

body.about-page .ab-note__role {
	font-size: 0.82rem;
	color: var(--ab-ink-soft);
}

/* ------------------------------------------------------------------ */
/* CLOSING CTA                                                         */
/* ------------------------------------------------------------------ */

body.about-page .ab-close {
	margin-top: 36px;
	padding: 36px 28px;
	background: linear-gradient(135deg, var(--ab-brand) 0%, var(--ab-brand-dark) 100%);
	color: #fff;
	border-radius: var(--ab-radius);
	text-align: center;
	box-shadow: var(--ab-shadow);
}

body.about-page .ab-close__title {
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	font-weight: 800;
	margin: 0 0 10px 0;
}

body.about-page .ab-close__lead {
	margin: 0 0 22px 0;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.92);
	line-height: 1.55;
}

body.about-page .ab-close__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 26px;
	background: #fff;
	color: var(--ab-brand-dark);
	font-weight: 700;
	border-radius: 999px;
	text-decoration: none;
	transition: transform 0.12s ease, box-shadow 0.15s ease;
}

body.about-page .ab-close__cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
	color: var(--ab-brand-dark);
	text-decoration: none;
}

/* ------------------------------------------------------------------ */
/* RESPONSIVE                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 720px) {
	body.about-page .ab-hero {
		padding: 36px 22px 40px 22px;
	}
	body.about-page .ab-section {
		padding: 28px 22px 32px 22px;
	}
	body.about-page .ab-note {
		padding: 26px 22px;
	}
	body.about-page .ab-note__quote {
		font-size: 3rem;
		top: 10px;
		right: 14px;
	}
}
