/*
 * Home, from the Claude Design board "Chosen · Home (all dark)", value for
 * value (front-page.php). Navy #0D0F1E and surface #13152E alternate down the
 * page; cards are #1E2044 on navy... and on surface; text is white with
 * 74–78% white for body copy.
 */

.vfh-rail { max-width: 1240px; margin-inline: auto; padding-inline: 24px; box-sizing: border-box; }
.vfh-hero, .vfh-section { font-family: Manrope, system-ui, sans-serif; color: #FFFFFF; }
.vfh-hero *, .vfh-section * { box-sizing: border-box; }

/* Eyebrows, headings, ledes */
.vfh-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.vfh-eyebrow--indigo { color: #A9A3FF; }
.vfh-eyebrow--violet { color: #C98BEA; }
.vfh-eyebrow--team { margin-bottom: 24px; }
.vfh-h2 { margin: 0 0 16px; color: #FFFFFF; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.vfh-h2--sm { margin: 0; font-size: clamp(28px, 3vw, 36px); letter-spacing: -.025em; }
.vfh-lede { margin: 0; color: rgba(255, 255, 255, .78); font-size: 18px; line-height: 1.6; }
.vfh-head { margin-bottom: 48px; }
.vfh-head__in { max-width: 720px; }
.vfh-head--more { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 40px; }
.vfh-head--more .vfh-head__in { max-width: 640px; }
.vfh-head .vfh-h2 + .vfh-lede, .vfh-head .vfh-h2 { margin-bottom: 14px; }
.vfh-head .vfh-lede:last-child { margin-bottom: 0; }
.vfh-more { color: #A9A3FF; font-size: 15px; font-weight: 700; text-decoration: none; }
.vfh-more:hover { color: #FFFFFF; }

/* Buttons */
.vfh-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vfh-btn {
	display: inline-flex; align-items: center; align-self: flex-start; min-height: 48px; padding: 15px 26px;
	border-radius: 10px; font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.vfh-btn--fill { background: #6C63FF; color: #FFFFFF; }
.vfh-btn--fill:hover { background: color-mix(in srgb, #6C63FF 82%, #000); color: #FFFFFF; }
.vfh-btn--ghost { border: 1px solid rgba(255, 255, 255, .28); color: #FFFFFF; }
.vfh-btn--ghost:hover { border-color: #FFFFFF; background: #FFFFFF; color: #0D0F1E; }

/* Sections */
.vfh-section { padding-block: 104px; }
.vfh-section--navy { background: #0D0F1E; }
.vfh-section--surface { background: #13152E; }
.vfh-section--rule > .vfh-rail { padding-top: 0; }
.vfh-section--rule { border-top: 1px solid rgba(255, 255, 255, .08); }
.vfh-grid { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.vfh-grid--300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.vfh-grid--320 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.vfh-grid--20 { gap: 20px; }
.vfh-grid--24 { gap: 24px; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.vfh-hero { position: relative; overflow: hidden; background: #0D0F1E; padding-top: calc(var(--vef-chrome, 126px) + clamp(40px, 6vw, 96px)); }
.vfh-hero__ring { position: absolute; border-radius: 50%; pointer-events: none; }
.vfh-hero__ring--a { right: -220px; top: 140px; width: 760px; height: 760px; border: 1px solid rgba(169, 163, 255, .14); }
.vfh-hero__ring--b { right: -60px; top: 300px; width: 440px; height: 440px; border: 1px solid rgba(187, 89, 224, .18); }
.vfh-hero__in { position: relative; }
.vfh-hero__eyebrow { margin: 0 0 24px; color: #C98BEA; font-size: 14px; font-weight: 600; letter-spacing: .14em; }
.vfh-hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px 64px; }
.vfh-hero__title {
	flex: 999 1 560px; max-width: 820px; margin: 0;
	color: #FFFFFF; font-size: clamp(44px, 6vw, 80px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em;
}
.vfh-hero__title span { color: #C98BEA; }
.vfh-hero__side { flex: 1 1 320px; max-width: 380px; padding-bottom: 8px; }
.vfh-hero__text { margin: 0 0 28px; color: rgba(255, 255, 255, .78); font-size: 18px; line-height: 1.6; font-weight: 500; }

/* The route */
.vfh-route { position: relative; padding-top: 88px; padding-bottom: 96px; }
.vfh-route__line { height: 4px; margin: 0 0 -12px; border-radius: 4px; background: linear-gradient(90deg, #6C63FF, #BB59E0); }
.vfh-route__stops { display: flex; flex-wrap: wrap; gap: 20px; }
.vfh-stop { flex: 1 1 240px; display: flex; flex-direction: column; gap: 14px; color: #FFFFFF; text-decoration: none; }
.vfh-stop__node { width: 20px; height: 20px; box-sizing: border-box; border-radius: 50%; border: 4px solid var(--vfh-stage); background: #0D0F1E; }
.vfh-stop--last .vfh-stop__node { background: var(--vfh-stage); }
.vfh-stop__card {
	display: flex; flex-direction: column; gap: 10px; min-height: 200px; padding: 28px;
	border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: #13152E;
	transition: border-color .15s ease, transform .15s ease;
}
.vfh-stop--last .vfh-stop__card { border-color: rgba(187, 89, 224, .35); background: #1E2044; }
a.vfh-stop:hover .vfh-stop__card { border-color: var(--vfh-stage); transform: translateY(-3px); }
.vfh-stop__num { color: var(--vfh-ink); font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.vfh-stop__name { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.vfh-stop__text { flex: 1 1 auto; color: rgba(255, 255, 255, .74); font-size: 16px; line-height: 1.5; }
.vfh-stop__more { color: var(--vfh-ink); font-size: 15px; font-weight: 700; }
.vfh-stop--1 { --vfh-stage: #6C63FF; --vfh-ink: #A9A3FF; }
.vfh-stop--2 { --vfh-stage: #8560F4; --vfh-ink: #B19DFB; }
.vfh-stop--3 { --vfh-stage: #A05DEA; --vfh-ink: #BF95F2; }
.vfh-stop--4 { --vfh-stage: #BB59E0; --vfh-ink: #C98BEA; }

/* ── Free guides ───────────────────────────────────────────────────────── */
.vfh-guide { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; background: #13152E; color: #FFFFFF; text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.vfh-guide:hover { transform: translateY(-3px); border-color: rgba(169, 163, 255, .3); }
.vfh-guide__image { display: flex; align-items: center; justify-content: center; height: 200px; overflow: hidden; border-bottom: 4px solid var(--vfh-bar); background: #0D0F1E; }
.vfh-guide__image img { width: 100%; height: 100%; object-fit: cover; }
.vfh-guide__image img.vfh-guide__mark { width: 64px; height: 64px; object-fit: contain; }
.vfh-guide__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 12px; padding: 28px; }
.vfh-guide__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.vfh-guide__stage { color: var(--vfh-ink); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.vfh-guide__date { color: rgba(255, 255, 255, .6); font-size: 13px; }
.vfh-guide__title { font-size: 21px; font-weight: 800; line-height: 1.3; letter-spacing: -.015em; }
.vfh-guide__excerpt { flex: 1 1 auto; color: rgba(255, 255, 255, .74); font-size: 16px; line-height: 1.6; }
.vfh-guide__read { color: #A9A3FF; font-size: 15px; font-weight: 700; }

/* ── About ─────────────────────────────────────────────────────────────── */
.vfh-about { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 80px; }
.vfh-about__figure { position: relative; flex: 1 1 280px; max-width: 400px; margin: 0; }
.vfh-about__ring { position: absolute; left: -16px; top: -16px; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(187, 89, 224, .35); }
.vfh-about__img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 768 / 1076; object-fit: cover; border-radius: 18px; border-bottom: 6px solid #6C63FF; }
.vfh-about__text { flex: 999 1 480px; max-width: 680px; }
.vfh-about__text .vfh-h2 { margin-bottom: 20px; }
.vfh-about__copy { margin-bottom: 32px; color: rgba(255, 255, 255, .78); font-size: 18px; line-height: 1.7; }
.vfh-about__copy p { margin: 0 0 1em; }
.vfh-about__copy p:last-child { margin-bottom: 0; }

/* ── Two ways ──────────────────────────────────────────────────────────── */
.vfh-way { display: flex; flex-direction: column; gap: 16px; padding: 40px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; background: #1E2044; }
.vfh-way__title { margin: 0; color: #FFFFFF; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.vfh-way__text { flex: 1 1 auto; margin: 0; color: rgba(255, 255, 255, .78); font-size: 17px; line-height: 1.65; }

/* ── What partners get ─────────────────────────────────────────────────── */
.vfh-get { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: #1E2044; color: #FFFFFF; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
a.vfh-get:hover { border-color: rgba(169, 163, 255, .4); transform: translateY(-3px); }
.vfh-get__title { font-size: 20px; font-weight: 800; }
.vfh-get__text { color: rgba(255, 255, 255, .74); font-size: 16px; line-height: 1.6; }

/* ── Built to run itself ───────────────────────────────────────────────── */
.vfh-run { display: flex; align-items: flex-start; gap: 18px; padding: 28px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: #13152E; }
.vfh-run svg { flex: 0 0 auto; margin-top: 2px; }
.vfh-run__text { color: rgba(255, 255, 255, .76); font-size: 16px; line-height: 1.6; }
.vfh-run__text strong { display: block; margin-bottom: 4px; color: #FFFFFF; font-size: 19px; font-weight: 800; }

/* ── Our team ──────────────────────────────────────────────────────────── */
.vfh-team { display: grid; gap: 20px; }
.vfh-member { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; padding: 36px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; background: #1E2044; }
.vfh-member__photo { flex: 0 0 auto; display: block; width: 168px; height: 168px; border-radius: 50%; border: 4px solid #6C63FF; object-fit: cover; object-position: top; }
.vfh-member__text { flex: 999 1 360px; display: flex; flex-direction: column; gap: 8px; }
.vfh-member__name { margin: 0; color: #FFFFFF; font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.vfh-member__role { margin: 0; color: #C98BEA; font-size: 15px; font-weight: 700; }
.vfh-member__bio { max-width: 640px; margin: 4px 0 0; color: rgba(255, 255, 255, .78); font-size: 17px; line-height: 1.6; }
.vfh-member .vfh-btn { align-self: center; }

/* ── Your digital reach: two loops in opposite directions ──────────────── */
.vfh-reach-section { overflow: hidden; padding-block: 88px; }
.vfh-reach-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; margin-bottom: 36px; }
.vfh-reach-note { margin: 0; color: rgba(255, 255, 255, .6); font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.vfh-reach { display: flex; flex-direction: column; gap: 14px; }
.vfh-reach__track { overflow: hidden; }
.vfh-reach__row { display: flex; gap: 12px; width: max-content; margin: 0; padding: 0; list-style: none; animation: vfh-reach 40s linear infinite; }
.vfh-reach__row--rev { animation-direction: reverse; }
.vfh-reach:hover .vfh-reach__row { animation-play-state: paused; }
@keyframes vfh-reach { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
.vfh-chip { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: #13152E; color: #FFFFFF; font-size: 17px; font-weight: 700; white-space: nowrap; }
.vfh-chip--alt { border-color: rgba(169, 163, 255, .22); background: #1E2044; }
@media (prefers-reduced-motion: reduce) {
	.vfh-reach__row { flex-wrap: wrap; width: auto; padding-inline: 24px; animation: none; }
	.vfh-chip[aria-hidden="true"] { display: none; }
}

/* ── FAQs ──────────────────────────────────────────────────────────────── */
.vfh-faqs { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 72px; }
.vfh-faqs__head { flex: 1 1 300px; max-width: 400px; }
.vfh-faqs__head .vfh-lede { margin-bottom: 28px; }
.vfh-faqs__list { flex: 999 1 520px; display: flex; flex-direction: column; gap: 12px; }
.vfh-faq { border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; background: #1E2044; }
.vfh-faq[open] { border-color: rgba(169, 163, 255, .3); }
.vfh-faq summary { min-height: 44px; padding: 22px 24px; color: #FFFFFF; font-size: 18px; font-weight: 800; line-height: 1.4; cursor: pointer; }
.vfh-faq__body { padding: 0 24px 24px; color: rgba(255, 255, 255, .76); font-size: 16px; line-height: 1.65; }
.vfh-faq__body p { margin: 0 0 12px; }

/* Phones */
@media (max-width: 600px) {
	/* The stops stack, so the line and its dots have nothing to join. */
	.vfh-route__line, .vfh-stop__node { display: none; }
	.vfh-route { padding-top: 56px; }
	.vfh-section { padding-block: 72px; }
	.vfh-way, .vfh-member { padding: 28px; }
	.vfh-member__photo { width: 120px; height: 120px; }
}

/* The home page's own markup replaces CORE's home sections, so the shared
   skin's home rules (vefusion.css) have nothing to reach here. The bottom
   band follows straight on. */
body.home.vf .vef-main > .vfh-section:last-child { border-bottom: 0; }
