/*
 * FIFE church leadership training — design system and page styles.
 *
 * Direction: editorial institutional. FIFE brand purple as the primary colour,
 * a deep plum (same hue) for full-width moments, warm ivory/paper neutrals,
 * charcoal type and a restrained brass accent used only decoratively.
 * Type: the site's own Poppins (display) and Inter (text) — no extra fonts.
 *
 * Everything is scoped to .fct so the rest of the site is untouched.
 */

/* ── Tokens ─────────────────────────────────────────────────── */
.fct {
	--plum: hsl(311 50% 37%);          /* FIFE brand purple (theme --color-primary) */
	--plum-600: hsl(311 52% 30%);
	--plum-800: hsl(312 44% 17%);
	--plum-900: hsl(312 48% 11%);
	--lilac: hsl(312 42% 95%);
	--lilac-200: hsl(311 48% 85%);
	--ivory: #f7f3ec;
	--paper: #fdfbf7;
	--stone: #eee7dd;
	--line: #ddd2c5;
	--line-strong: #8c8178;            /* ≥3:1 on paper, for form borders */
	--ink: #1d1920;
	--ink-2: #463f4c;
	--ink-3: #645c6a;
	--brass: #caa05a;                  /* decorative only, on dark */
	--brass-ink: #855f1d;              /* brass tone that passes as text on light */
	--error: #b42318;
	--success: #146c43;

	--display: 'Poppins', 'Inter', system-ui, sans-serif;
	--text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--wrap: 1240px;
	--gutter: clamp(1.25rem, 5vw, 3.5rem);
	--band: clamp(4.5rem, 9vw, 8rem);
	--r: 6px;
	--r-lg: 14px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-offset: 96px;

	color: var(--ink);
	font-family: var(--text);
	font-size: 1.0625rem;
	line-height: 1.7;
	background: var(--paper);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

/* Local reset: neutralise theme element styles inside the page. */
.fct *, .fct *::before, .fct *::after { box-sizing: border-box; }
.fct h1, .fct h2, .fct h3, .fct h4, .fct p, .fct ol, .fct ul, .fct figure, .fct dl, .fct dd, .fct blockquote { margin: 0; }
.fct ol, .fct ul { padding: 0; list-style: none; }
.fct h1, .fct h2, .fct h3, .fct h4 { font-family: var(--display); color: inherit; text-shadow: none; letter-spacing: -0.01em; }
.fct img { display: block; max-width: 100%; height: auto; }
.fct [hidden] { display: none !important; }
/* The theme hyphenates and centres text on small screens; this page sets its own rules. */
.fct, .fct * { text-align: start; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
[data-fct-lang="de"] .fct-display, [data-fct-lang="de"] .fct-h2, [data-fct-lang="de"] .fct-course__title,
[data-fct-lang="de"] .fct-statement, [data-fct-lang="de"] .fct-fund__title, [data-fct-lang="de"] .fct-index__t,
[data-fct-lang="de"] .fct-choice__text { hyphens: auto; -webkit-hyphens: auto; }
/* German compounds: hyphenate only words of 12+ letters, with at least 5 on each side. */
[data-fct-lang="de"] .fct * { hyphenate-limit-chars: 12 5 5; -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 5; }
.fct a { color: var(--plum); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.fct a:hover { color: var(--plum-600); text-decoration-thickness: 2px; }
.fct p + p { margin-top: 1em; }
.fct .fct-ico { width: 1.25em; height: 1.25em; flex: none; }

.fct-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.fct-band { padding-block: var(--band); background: var(--ivory); }
.fct-band--paper { background: var(--paper); }
.fct-band--stone { background: var(--stone); }

.fct [id] { scroll-margin-top: var(--header-offset); }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

/* ── Type ───────────────────────────────────────────────────── */
/* font-size/line-height carry !important only because the theme forces h2/h3 sizes
   with !important on small screens (style.css "GLOBAL HEADINGS"). */
.fct-display {
	font-size: clamp(2.35rem, 1.1rem + 4.4vw, 4.5rem) !important;
	font-weight: 600;
	line-height: 1.03 !important;
	letter-spacing: -0.03em !important;
	text-wrap: balance;
	max-width: 15ch;
	hyphens: manual;
}
[data-fct-lang="de"] .fct-display { max-width: 17ch; font-size: clamp(1.9rem, .9rem + 4.4vw, 4.25rem) !important; }
.fct-display--md { font-size: clamp(2rem, 1.1rem + 3.2vw, 3.6rem) !important; max-width: 18ch; }
.fct-h2 {
	font-size: clamp(1.9rem, 1.2rem + 2.3vw, 3rem) !important;
	font-weight: 600;
	line-height: 1.1 !important;
	letter-spacing: -0.025em !important;
	text-wrap: balance;
	margin-bottom: 1.25rem !important;
}
.fct-h3 {
	display: flex; align-items: center; gap: .6rem;
	font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem) !important;
	font-weight: 600; line-height: 1.25 !important;
	margin: 1.5rem 0 .75rem !important;
}
.fct-h3 .fct-ico { color: var(--plum); }
.fct-statement {
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem) !important;
	line-height: 1.2 !important;
	letter-spacing: -0.02em;
	text-wrap: balance;
	color: var(--plum-900);
	position: relative;
	padding-top: 1.75rem;
}
.fct-statement::before { content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 3px; background: var(--plum); }
.fct-statement--xl { font-size: clamp(2.1rem, 1.3rem + 3.3vw, 4rem) !important; line-height: 1.06 !important; letter-spacing: -0.03em; padding-top: 0; }
.fct-statement--xl::before { display: none; }
.fct-lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem); line-height: 1.65; color: var(--ink-2); max-width: 60ch; }
.fct-eyebrow {
	display: inline-flex; align-items: center; gap: .75rem;
	font-family: var(--text) !important;
	font-size: .78rem !important; font-weight: 600; letter-spacing: .16em !important; text-transform: uppercase;
	color: var(--brass-ink); margin-bottom: 1rem !important;
}
.fct-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.fct-eyebrow--plum { color: var(--plum); }
.fct-kicker {
	font-family: var(--text) !important;
	font-size: .8rem !important; font-weight: 700; letter-spacing: .14em !important; text-transform: uppercase;
	color: var(--ink-3); margin: 2.25rem 0 1rem !important;
}
.fct-note {
	font-size: .95rem; color: var(--ink-2);
	border-left: 3px solid var(--plum); padding: .25rem 0 .25rem 1rem; margin-top: 1.25rem;
}
.fct-text-link { font-weight: 600; }
.fct-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── Buttons ────────────────────────────────────────────────── */
.fct-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.fct-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
	min-height: 52px; padding: .8rem 1.5rem;
	border: 1.5px solid transparent; border-radius: var(--r);
	font-family: var(--text); font-size: 1rem; font-weight: 600; line-height: 1.2;
	text-decoration: none !important; text-align: center; cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.fct-btn .fct-ico { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.fct-btn:hover .fct-ico { transform: translateX(4px); }
.fct-btn:active { transform: translateY(1px); }
.fct-btn--primary { background: var(--plum); color: #fff !important; }
.fct-btn--primary:hover { background: var(--plum-600); color: #fff !important; }
.fct-btn--light { background: var(--ivory); color: var(--plum-900) !important; }
.fct-btn--light:hover { background: #fff; color: var(--plum) !important; }
.fct-btn--ghost-light { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .55); }
.fct-btn--ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff !important; }
.fct-btn--outline { background: transparent; color: var(--plum) !important; border-color: var(--plum); }
.fct-btn--outline:hover { background: var(--plum); color: #fff !important; }
.fct-btn--lg { min-height: 58px; padding-inline: 2rem; font-size: 1.05rem; }

/* ── Opening (hero) ─────────────────────────────────────────── */
.fct-opening {
	position: relative;
	background:
		radial-gradient(70% 90% at 88% 0%, hsl(311 48% 22% / .85), transparent 65%),
		var(--plum-900);
	color: #f6eef4;
	padding: calc(var(--header-offset) + clamp(1.25rem, 5vw, 4.5rem)) 0 clamp(3.5rem, 8vw, 7rem);
}
.fct-opening__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
@media (min-width: 1000px) {
	.fct-opening__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
}
.fct-opening__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: 1.75rem; }
.fct-opening__meta .fct-eyebrow { color: var(--brass); margin: 0 !important; }
.fct-lang {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
	border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
	color: #fff !important; font-size: .9rem; font-weight: 600; text-decoration: none !important;
}
.fct-lang:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.fct-opening .fct-display { color: #fff; }
.fct-opening__subtitle {
	font-size: clamp(1.2rem, 1rem + .8vw, 1.55rem); font-weight: 300; line-height: 1.4;
	color: var(--lilac-200); margin-top: 1.25rem !important;
}
.fct-opening__body { color: rgba(246, 238, 244, .86); max-width: 54ch; margin-top: 1.25rem !important; }
.fct-opening__link { margin-top: 1.25rem !important; font-size: .98rem; }
.fct-opening__link a { color: #fff; }
.fct-opening__link a:hover { color: var(--lilac-200); }

.fct-opening__media { position: relative; max-width: 520px; width: 100%; justify-self: end; }
.fct-opening__figure { position: relative; }
.fct-opening__figure::before {
	content: ""; position: absolute; inset: 0; transform: translate(18px, 18px);
	border: 1px solid var(--brass); border-radius: 4px; pointer-events: none;
}
.fct-opening__figure img, .fct-opening__img {
	position: relative; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 50% 30%;
	border-radius: 4px; background: var(--plum-800);
}
.fct-opening__facts {
	position: relative; display: grid; gap: .6rem;
	margin-top: 2rem !important;
	font-size: .95rem; color: rgba(246, 238, 244, .9);
}
.fct-opening__facts li { display: flex; align-items: flex-start; gap: .65rem; }
.fct-opening__facts .fct-ico { color: var(--brass); margin-top: .2em; width: 1.1em; height: 1.1em; }
@media (min-width: 1000px) {
	.fct-opening__facts {
		position: absolute; left: -3.5rem; bottom: -2.25rem; margin: 0 !important;
		background: var(--paper); color: var(--ink); padding: 1.25rem 1.5rem; border-radius: var(--r);
		box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .55); width: 300px;
	}
	.fct-opening__facts .fct-ico { color: var(--plum); }
}
@media (max-width: 999px) {
	.fct-opening__media { justify-self: stretch; max-width: none; }
	.fct-opening__figure img, .fct-opening__img { aspect-ratio: 16 / 10; object-position: 50% 28%; max-height: 52vh; }
	.fct-opening__figure::before { transform: translate(10px, 10px); }
}

/* ── Splits ─────────────────────────────────────────────────── */
.fct-split { display: grid; gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 900px) {
	.fct-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
	.fct-split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
	.fct-split--narrow-left { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
}

/* Intro steps */
.fct-steps-line { display: grid; gap: 0; counter-reset: s; }
.fct-steps-line li { position: relative; display: grid; grid-template-columns: 2.25rem 1fr; gap: 1rem; padding-bottom: 1.25rem; }
.fct-steps-line li:not(:last-child)::before {
	content: ""; position: absolute; left: calc(1.125rem - .5px); top: 2.25rem; bottom: 0; width: 1px; background: var(--line);
}
.fct-steps-line__n {
	display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
	border: 1.5px solid var(--plum); color: var(--plum); font-weight: 700; font-size: .9rem; background: var(--paper);
}
.fct-steps-line li > span:last-child { padding-top: .3rem; color: var(--ink-2); }

/* Audience index */
.fct-index { border-top: 1px solid var(--line); }
.fct-index li {
	display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; align-items: baseline;
	padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.fct-index__n { font-size: .85rem; font-weight: 600; color: var(--brass-ink); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.fct-index__t { font-family: var(--display); font-weight: 500; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.3; color: var(--ink); }

/* ── Courses ────────────────────────────────────────────────── */
.fct-courses { background: var(--paper); }
.fct-courses__head { padding-top: var(--band); padding-bottom: clamp(1rem, 3vw, 2.5rem); }
.fct-courses__head .fct-lead { margin-top: -.25rem; }
.fct-course { padding-block: clamp(3rem, 7vw, 6.5rem); }
.fct-courses__head + .fct-course { padding-top: clamp(1rem, 2vw, 1.5rem); }
.fct-course__grid { display: grid; gap: clamp(2.5rem, 5vw, 5.5rem); }
@media (min-width: 1000px) {
	.fct-course__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
	.fct-course__media { position: sticky; top: calc(var(--header-offset) + 1.5rem); }
	.fct-course--cycle .fct-course__media { order: 2; }
}
.fct-course__media { position: relative; }
.fct-course__num {
	position: relative; z-index: 1; display: block;
	margin: 0 0 -.2em -.04em;
	font-family: var(--display); font-weight: 600; font-size: clamp(4.5rem, 3rem + 6vw, 8.5rem); line-height: .8;
	color: var(--plum); letter-spacing: -.05em; font-variant-numeric: tabular-nums;
	pointer-events: none;
}
.fct-course--cycle .fct-course__num { color: var(--brass); }
.fct-course__figure { position: relative; z-index: 0; }
.fct-course__figure { overflow: hidden; border-radius: 4px; }
.fct-course__figure img, .fct-course__img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; transition: transform 1.2s var(--ease); }
.fct-course--plan .fct-course__img { object-position: 45% 50%; }
.fct-course--cycle .fct-course__img { object-position: 55% 50%; }
@media (max-width: 999px) {
	.fct-course__figure img, .fct-course__img { aspect-ratio: 3 / 2; }
}
.fct-course__title { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.25rem) !important; font-weight: 600; line-height: 1.06 !important; letter-spacing: -.03em !important; text-wrap: balance; }
.fct-course__lead {
	font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); font-weight: 300; line-height: 1.4;
	color: var(--plum); margin: 1rem 0 1.5rem !important; max-width: 34ch;
}
.fct-course__body > p:not([class]) { color: var(--ink-2); max-width: 60ch; }
.fct-course__cta { margin-top: 2rem !important; }

/* Course 1 — planning track */
.fct-topics--plan li { position: relative; display: grid; grid-template-columns: 2.25rem 1fr; gap: 1rem; padding-bottom: 1rem; }
.fct-topics--plan li:not(:last-child)::before {
	content: ""; position: absolute; left: calc(1.125rem - 1px); top: 2.25rem; bottom: 0; width: 2px;
	background: repeating-linear-gradient(to bottom, var(--lilac-200) 0 6px, transparent 6px 10px);
}
.fct-topics--plan .fct-topics__n {
	display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
	background: var(--plum); color: #fff; font-weight: 700; font-size: .9rem;
}
.fct-topics--plan .fct-topics__t { padding-top: .35rem; font-weight: 500; color: var(--ink); }

/* Course 2 — learning cycle */
.fct-course--cycle { background: var(--plum-900); color: #f3eaf1; }
.fct-course--cycle .fct-course__title { color: #fff; }
.fct-course--cycle .fct-course__lead { color: var(--lilac-200); }
.fct-course--cycle .fct-course__body > p:not([class]) { color: rgba(243, 234, 241, .85); }
.fct-course--cycle .fct-eyebrow { color: var(--brass); }
.fct-course--cycle .fct-kicker { color: rgba(243, 234, 241, .7); }
.fct-topics--cycle { display: grid; gap: .75rem; position: relative; }
.fct-topics--cycle li {
	position: relative; display: grid; grid-template-columns: 2rem 1fr; gap: .85rem; align-items: start;
	padding: 1rem 1.1rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; background: rgba(255, 255, 255, .03);
}
.fct-topics--cycle .fct-topics__n {
	display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
	border: 1.5px solid var(--brass); color: var(--brass); font-weight: 700; font-size: .85rem;
}
.fct-topics--cycle .fct-topics__t { padding-top: .15rem; font-weight: 500; color: #fff; line-height: 1.45; }
@media (min-width: 640px) {
	/* Clockwise loop: 1 → 2 ↓ 3 ← 4 ↑ 1 (reading order stays 1–4). */
	.fct-topics--cycle { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
	.fct-topics--cycle li:nth-child(3) { grid-column: 2; grid-row: 2; }
	.fct-topics--cycle li:nth-child(4) { grid-column: 1; grid-row: 2; }
	.fct-topics--cycle li::after { position: absolute; color: var(--brass); font-size: 1.1rem; line-height: 1; }
	.fct-topics--cycle li:nth-child(1)::after { content: "→"; right: -1.35rem; top: 50%; transform: translateY(-50%); }
	.fct-topics--cycle li:nth-child(2)::after { content: "↓"; bottom: -1.45rem; left: 50%; transform: translateX(-50%); }
	.fct-topics--cycle li:nth-child(3)::after { content: "←"; left: -1.4rem; top: 50%; transform: translateY(-50%); }
	.fct-topics--cycle li:nth-child(4)::after { content: "↑"; top: -1.45rem; left: 50%; transform: translateX(-50%); }
}

/* Practical output */
.fct-deliverable {
	display: grid; grid-template-columns: 3rem 1fr; gap: 1.1rem; align-items: start;
	margin-top: 2.25rem; padding: 1.5rem 1.6rem; border-radius: var(--r);
	background: var(--ivory); border: 1px solid var(--line); border-top: 3px solid var(--plum);
}
.fct-deliverable__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 10px; background: var(--lilac); color: var(--plum); }
.fct-deliverable__label {
	font-family: var(--text) !important; font-size: .78rem !important; font-weight: 700; letter-spacing: .14em !important;
	text-transform: uppercase; color: var(--plum); margin-bottom: .4rem !important;
}
.fct-deliverable p { color: var(--ink); font-weight: 500; line-height: 1.55; }
.fct-course--cycle .fct-deliverable { background: var(--plum-800); border-color: rgba(255, 255, 255, .14); border-top-color: var(--brass); }
.fct-course--cycle .fct-deliverable__icon { background: rgba(202, 160, 90, .14); color: var(--brass); }
.fct-course--cycle .fct-deliverable__label { color: var(--brass); }
.fct-course--cycle .fct-deliverable p { color: #fff; }

/* ── Campus or online ───────────────────────────────────────── */
.fct-format__grid { display: grid; gap: 2.5rem; margin-top: 1.5rem; }
@media (min-width: 900px) {
	.fct-format__grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 2.5rem; align-items: start; }
}
.fct-format__figure { overflow: hidden; border-radius: 4px; }
.fct-format__figure img, .fct-format__img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: 50% 60%; }
.fct-format__screen {
	display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 4px;
	/* Quiet grid: a "screen" texture, not a photo of a platform we cannot name. */
	background-color: var(--lilac);
	background-image: repeating-linear-gradient(0deg, transparent 0 31px, hsl(311 38% 89%) 31px 32px), repeating-linear-gradient(90deg, transparent 0 31px, hsl(311 38% 89%) 31px 32px);
	color: var(--plum);
}
.fct-format__screen .fct-ico { width: clamp(4rem, 9vw, 6rem); height: auto; stroke-width: 1.2; }
.fct-format__online > p, .fct-format__campus > p { color: var(--ink-2); max-width: 52ch; }
.fct-format__or { display: none; }
@media (min-width: 900px) {
	.fct-format__or { display: flex; flex-direction: column; align-items: center; align-self: stretch; margin: 0; }
	.fct-format__or::before, .fct-format__or::after { content: ""; flex: 1; width: 1px; background: var(--line); }
	.fct-format__or span {
		display: grid; place-items: center; width: 3rem; height: 3rem; margin: .75rem 0; border-radius: 50%;
		border: 1px solid var(--line); background: var(--ivory); color: var(--ink-3);
		font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
	}
}

/* ── Why FIFE ───────────────────────────────────────────────── */
.fct-why .fct-statement--xl { margin-top: .25rem; }
.fct-arrow-links { margin-top: 2rem; border-top: 1px solid var(--line); }
.fct-arrow-links li { border-bottom: 1px solid var(--line); }
.fct-arrow-links a {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px;
	font-family: var(--display); font-weight: 500; font-size: 1.15rem; color: var(--ink); text-decoration: none;
}
.fct-arrow-links a .fct-ico { color: var(--plum); transition: transform .25s var(--ease); }
.fct-arrow-links a:hover { color: var(--plum); }
.fct-arrow-links a:hover .fct-ico { transform: translateX(6px); }
.fct-why__sub { margin-top: 4rem !important; }
.fct-tutors { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .fct-tutors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fct-tutor { display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; align-items: start; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.fct-tutor__img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
.fct-tutor__name { font-size: 1.2rem !important; font-weight: 600; margin-bottom: .4rem !important; }
.fct-tutor p { color: var(--ink-2); font-size: .98rem; }
.fct-example { margin-top: 3rem; padding: 2rem; background: var(--ivory); border-radius: var(--r-lg); }

/* ── Funding ────────────────────────────────────────────────── */
.fct-funding__grid { display: grid; gap: 1.5rem; margin-top: 1rem; }
@media (min-width: 880px) { .fct-funding__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.fct-fund { display: flex; flex-direction: column; padding: clamp(1.75rem, 3.5vw, 3rem); border-radius: var(--r-lg); }
.fct-fund--person { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--plum); }
.fct-fund--org { background: var(--plum); color: #fff; }
.fct-fund__eyebrow {
	display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase; color: var(--plum); margin-bottom: 1.25rem !important;
}
.fct-fund--org .fct-fund__eyebrow { color: var(--lilac-200); }
.fct-fund__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem) !important; font-weight: 600; line-height: 1.15 !important; letter-spacing: -.02em !important; }
.fct-fund__lead { font-size: 1.15rem; font-weight: 500; line-height: 1.5; margin: 1rem 0 !important; }
.fct-fund > p:not([class]) { color: var(--ink-2); }
.fct-fund--org > p:not([class]), .fct-fund--org .fct-fund__lead { color: #fff; }
.fct-fund--person .fct-note { background: var(--lilac); border-left-color: var(--plum); padding: .9rem 1rem; border-radius: 0 var(--r) var(--r) 0; }
.fct-fund__cta { margin-top: auto !important; padding-top: 2rem; }

/* ── FAQ ────────────────────────────────────────────────────── */
@media (min-width: 900px) { .fct-faq__aside { position: sticky; top: calc(var(--header-offset) + 1.5rem); } }
.fct-faq__contact { display: flex; gap: .65rem; align-items: center; color: var(--ink-2); }
.fct-faq__contact .fct-ico { color: var(--plum); }
.fct-faq__list { border-top: 1px solid var(--line); }
.fct-faq__item { border-bottom: 1px solid var(--line); }
.fct-faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	min-height: 64px; padding: 1.25rem 0; cursor: pointer; list-style: none;
	font-family: var(--display); font-weight: 500; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.35; color: var(--ink);
}
.fct-faq__item summary::-webkit-details-marker { display: none; }
.fct-faq__item summary:hover .fct-faq__q { color: var(--plum); }
.fct-faq__mark {
	position: relative; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%;
	border: 1.5px solid var(--line-strong); transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease);
}
.fct-faq__mark::before, .fct-faq__mark::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink);
	transform: translate(-50%, -50%); transition: transform .3s var(--ease), background-color .25s;
}
.fct-faq__mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.fct-faq__item[open] .fct-faq__mark { background: var(--plum); border-color: var(--plum); }
.fct-faq__item[open] .fct-faq__mark::before, .fct-faq__item[open] .fct-faq__mark::after { background: #fff; }
.fct-faq__item[open] .fct-faq__mark::after { transform: translate(-50%, -50%) rotate(0deg); }
.fct-faq__answer { padding: 0 3.5rem 1.5rem 0; color: var(--ink-2); max-width: 64ch; overflow: hidden; }

/* ── Enquiry form ───────────────────────────────────────────── */
.fct-form-layout { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 1040px) {
	.fct-form-layout { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: start; }
	.fct-form-intro { position: sticky; top: calc(var(--header-offset) + 1.5rem); }
}
.fct-form-intro > p { color: var(--ink-2); }
.fct-next { counter-reset: n; display: grid; gap: .75rem; }
.fct-next li { counter-increment: n; display: grid; grid-template-columns: 1.75rem 1fr; gap: .75rem; color: var(--ink-2); font-size: .98rem; }
.fct-next li::before {
	content: counter(n); display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%;
	background: var(--plum); color: #fff; font-size: .8rem; font-weight: 700;
}
.fct-privacy { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }

.fct-panel {
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: clamp(1.25rem, 3.5vw, 2.75rem);
	box-shadow: 0 1px 2px rgba(29, 25, 32, .04), 0 24px 48px -32px rgba(43, 15, 40, .35);
}
.fct-form__req { margin-bottom: .5rem !important; }
.fct-group { padding-top: 2rem; margin-top: 2rem; border-top: 1px solid var(--line); }
.fct-group:first-of-type { margin-top: 1rem; }
.fct-group__title { display: flex; align-items: center; gap: .75rem; font-size: 1.2rem !important; font-weight: 600; margin-bottom: 1.5rem !important; }
.fct-group__n {
	display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
	background: var(--plum-900); color: #fff; font-family: var(--text); font-size: .85rem; font-weight: 700;
}
.fct-row { display: grid; gap: 0 1.25rem; }
@media (min-width: 640px) { .fct-row { grid-template-columns: 1fr 1fr; } }

.fct-field { margin: 0 0 1.5rem; min-width: 0; }
.fct-fieldset { border: 0; padding: 0; }
.fct-label { display: block; font-weight: 600; font-size: .98rem; color: var(--ink); margin-bottom: .35rem; padding: 0; }
.fct-subhead { font-family: var(--display); font-weight: 600; font-size: 1.05rem !important; padding: 0; margin-bottom: .5rem; }
.fct-hint { color: var(--ink-3); font-size: .9rem; line-height: 1.5; margin: 0 0 .55rem !important; }
.fct-req { color: var(--error); font-weight: 700; }
.fct-optional { font-weight: 400; color: var(--ink-3); }
.fct-form input[type="text"],
.fct-form input[type="email"],
.fct-form select,
.fct-form textarea {
	width: 100%; min-height: 52px; padding: .7rem .9rem;
	font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
	border: 1.5px solid var(--line-strong); border-radius: var(--r);
	transition: border-color .15s, box-shadow .15s;
}
.fct-form select { appearance: none; padding-right: 2.5rem;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23463f4c' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 1rem center; }
.fct-form textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.fct-form input:hover, .fct-form select:hover, .fct-form textarea:hover { border-color: var(--ink-2); }
.fct-form [aria-invalid="true"] { border-color: var(--error) !important; border-width: 2px; }
.fct-counter { font-size: .88rem; color: var(--ink-3); margin: .35rem 0 0 !important; min-height: 1.4em; }

.fct-choices { display: grid; gap: .6rem; }
@media (min-width: 560px) { .fct-choices { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); } }
.fct-choice {
	position: relative; display: flex; align-items: center; gap: .75rem; min-height: 52px;
	padding: .7rem 1rem; background: #fff; border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer;
	transition: border-color .15s, background-color .15s;
	font-weight: 500; line-height: 1.35;
}
.fct-choice:hover { border-color: var(--plum); }
.fct-choice input { flex: none; width: 1.2rem; height: 1.2rem; margin: 0; accent-color: var(--plum); }
.fct-choice:has(input:checked) { border-color: var(--plum); background: var(--lilac); }
#fct_reply_lang-group .fct-choices, #fct_format-group .fct-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fct-choices--tiles { gap: .75rem; }
@media (min-width: 720px) { .fct-choices--tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fct-tile { flex-direction: column; align-items: flex-start; gap: .85rem; padding: 1.1rem 1.1rem 1.2rem; min-height: 132px; }
.fct-tile input { position: absolute; top: 1rem; right: 1rem; }
.fct-tile__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 10px; background: var(--lilac); color: var(--plum); transition: background-color .2s, color .2s; }
.fct-tile:has(input:checked) .fct-tile__icon { background: var(--plum); color: #fff; }
.fct-tile .fct-choice__text { font-family: var(--display); font-weight: 600; font-size: 1.02rem; padding-right: 1.5rem; }
@media (max-width: 719px) {
	.fct-tile { flex-direction: row; align-items: center; min-height: 64px; }
	.fct-tile input { position: static; order: 3; margin-left: auto; }
}

.fct-conditional {
	margin: 0 0 1.5rem; padding: 1.4rem 1.4rem .25rem; border: 0; border-radius: 10px;
	background: var(--lilac); box-shadow: inset 3px 0 0 var(--plum);
	min-width: 0;
}
.fct-conditional[hidden] { display: none; }
.fct-conditional .fct-choice { background: #fff; }
.fct-motion .fct-conditional:not([hidden]) { animation: fct-in .35s var(--ease); }

.fct-error-msg { color: var(--error); font-weight: 600; font-size: .95rem; margin: 0 0 .45rem !important; display: flex; gap: .4rem; }
.fct-error-msg::before { content: "!"; flex: none; display: grid; place-items: center; width: 1.2rem; height: 1.2rem; margin-top: .15rem; border-radius: 50%; background: var(--error); color: #fff; font-size: .75rem; font-weight: 800; }
.fct-error-summary {
	margin-bottom: 1.5rem; padding: 1.25rem 1.4rem; border-radius: var(--r);
	border: 2px solid var(--error); background: #fff7f6;
}
.fct-error-summary h3 { font-size: 1.1rem !important; color: var(--error); margin-bottom: .5rem !important; }
.fct-error-summary ul { list-style: disc; padding-left: 1.25rem; }
.fct-error-summary li + li { margin-top: .25rem; }
.fct-error-summary a { color: var(--error); font-weight: 600; text-decoration: underline; }
.fct-error-summary:focus { outline: 3px solid var(--error); outline-offset: 3px; }

.fct-form__submit { display: grid; gap: .75rem; justify-items: start; margin-top: 1rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.fct-spinner { display: none; width: 1.1em; height: 1.1em; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: fct-spin .8s linear infinite; }
.fct-submit[aria-disabled="true"] { cursor: progress; opacity: .9; }
.fct-submit[aria-disabled="true"] .fct-spinner { display: inline-block; }
.fct-submit[aria-disabled="true"] .fct-ico { display: none; }

/* Honeypot: off-screen and hidden from assistive technology. */
.fct-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ── Booking (State B) ──────────────────────────────────────── */
.fct-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.fct-steps { counter-reset: b; display: grid; gap: .6rem; margin: 0 0 2.5rem !important; }
@media (min-width: 900px) { .fct-steps { grid-template-columns: repeat(3, 1fr); gap: 1rem 2rem; } }
.fct-steps li { counter-increment: b; display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; color: var(--ink-2); }
.fct-steps li::before { content: counter(b); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid var(--plum); color: var(--plum); font-weight: 700; font-size: .85rem; }
.fct-instances { display: grid; gap: 1.25rem; margin-bottom: 2.5rem; }
@media (min-width: 900px) { .fct-instances { grid-template-columns: 1fr 1fr; } }
.fct-instance__head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 1rem; }
.fct-instance__head h3 { font-size: 1.35rem !important; font-weight: 600; }
.fct-badge { font-size: .8rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; border: 1.5px solid currentColor; letter-spacing: .04em; }
.fct-badge--open { color: var(--success); }
.fct-badge--full, .fct-badge--closed { color: var(--ink-3); }
.fct-dl { display: grid; gap: 0; }
.fct-dl > div { display: grid; grid-template-columns: minmax(8rem, 38%) 1fr; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.fct-dl dt { font-weight: 600; color: var(--ink-3); font-size: .92rem; }
.fct-dl dd { overflow-wrap: anywhere; }
.fct-callout { background: var(--lilac); border-radius: var(--r); padding: 1rem 1.25rem; color: var(--ink); }
.fct-booking-form { margin-top: 1rem; }
#fct_instance-group .fct-choices { grid-template-columns: 1fr; }
.fct-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }

/* ── Closing ────────────────────────────────────────────────── */
.fct-closing { position: relative; isolation: isolate; color: #fff; padding-block: clamp(5rem, 11vw, 9rem); overflow: hidden; }
.fct-closing__bg { position: absolute; inset: 0; z-index: -1; }
.fct-closing__bg picture, .fct-closing__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.fct-closing__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, hsl(312 48% 9% / .96) 0%, hsl(312 48% 11% / .9) 55%, hsl(312 48% 14% / .8) 100%); }
.fct-closing .fct-display { color: #fff; }
.fct-closing__links { margin-top: 1.25rem !important; }
.fct-closing a:not(.fct-btn) { color: #fff; }
.fct-closing a:not(.fct-btn):hover { color: var(--lilac-200); }
.fct-closing__contact { margin-top: 2.5rem !important; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .88); }
.fct-legal { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; margin-top: 1rem; font-size: .92rem; }
.fct-legal a { display: inline-flex; align-items: center; min-height: 44px; }

/* ── Success / payment views ────────────────────────────────── */
.fct-result { background: var(--plum-900); color: #f3eaf1; padding: calc(var(--header-offset) + 3rem) 0 clamp(4rem, 8vw, 6rem); }
.fct-result__inner { max-width: 760px; }
.fct-result h1 { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.4rem) !important; font-weight: 600; line-height: 1.08 !important; letter-spacing: -.03em; margin: 1rem 0 1.25rem; }
.fct-result__icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--success); color: #fff; }
.fct-result__icon .fct-ico { width: 1.75rem; height: 1.75rem; stroke-width: 2.5; }
.fct-result__msg { font-size: 1.15rem; line-height: 1.65; color: rgba(243, 234, 241, .92); }
.fct-ticket {
	display: inline-flex; flex-direction: column; gap: .25rem; margin: 2rem 0;
	padding: 1.1rem 1.5rem; border: 1px dashed rgba(255, 255, 255, .45); border-radius: var(--r);
}
.fct-ticket span { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.fct-ticket strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(1.4rem, 1rem + 1.5vw, 1.9rem); letter-spacing: .06em; color: #fff; }
.fct-result .fct-next li { color: rgba(243, 234, 241, .9); }
.fct-result .fct-kicker { color: var(--brass); }
.fct-result--compact { padding-bottom: clamp(2rem, 4vw, 3rem); }
.fct-result--compact h1 { margin-bottom: 0; }
.fct-pay { padding-block: clamp(3rem, 6vw, 5rem); background: var(--ivory); }
.fct-pay .fct-dl { margin: 0 0 2rem; }
.fct-pay .fct-steps { grid-template-columns: 1fr; }
.fct-success-note { color: var(--success); font-weight: 600; }

.fct-preview-banner { position: relative; z-index: 5; margin-top: var(--header-offset); padding: .65rem 1rem; text-align: center; font-weight: 600; background: #fff3cd; color: #5c4400; }

/* ── Focus ──────────────────────────────────────────────────── */
.fct a:focus-visible, .fct button:focus-visible, .fct input:focus-visible, .fct select:focus-visible,
.fct textarea:focus-visible, .fct summary:focus-visible, .fct [tabindex="-1"]:focus-visible {
	outline: 3px solid var(--plum); outline-offset: 3px; box-shadow: 0 0 0 6px #fff;
}
.fct-form input:focus-visible, .fct-form select:focus-visible, .fct-form textarea:focus-visible { outline-offset: 1px; border-color: var(--plum); box-shadow: 0 0 0 4px var(--lilac-200); }
.fct-choice:has(input:focus-visible) { outline: 3px solid var(--plum); outline-offset: 2px; }
.fct-opening a:focus-visible, .fct-opening button:focus-visible, .fct-course--cycle a:focus-visible,
.fct-fund--org a:focus-visible, .fct-closing a:focus-visible, .fct-result a:focus-visible {
	outline-color: #fff; box-shadow: 0 0 0 6px var(--plum-900);
}
.fct-faq__item summary:focus-visible { outline-offset: 0; border-radius: 4px; }

/* ── Motion (only when JS adds .fct-motion and motion is allowed) ── */
@media (prefers-reduced-motion: no-preference) {
	.fct-motion [data-fct-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--fct-d, 0s); }
	.fct-motion [data-fct-reveal].is-in { opacity: 1; transform: none; }
	.fct-motion .fct-course__media[data-fct-reveal] .fct-course__img { transform: scale(1.06); }
	.fct-motion .fct-course__media[data-fct-reveal].is-in .fct-course__img { transform: scale(1); }
}
@keyframes fct-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes fct-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	.fct *, .fct *::before, .fct *::after { transition: none !important; animation: none !important; }
}

/* ── Small screens ──────────────────────────────────────────── */
@media (max-width: 599px) {
	.fct { font-size: 1rem; }
	.fct-actions .fct-btn, .fct-fund__cta .fct-btn, .fct-course__cta .fct-btn, .fct-form__submit .fct-btn { width: 100%; }
	.fct-faq__answer { padding-right: 0; }
	.fct-dl > div { grid-template-columns: 1fr; gap: .1rem; }
	.fct-tutor { grid-template-columns: 72px 1fr; }
	.fct-tutor__img { width: 72px; height: 72px; }
	.fct-deliverable { grid-template-columns: 1fr; }
}
