/* yENSOF home: Proposal C plus two borrowed pieces.
   From A, the working-service demonstration (shown as immigration).
   From B, evidence cards that travel beside each market-entry stage. */

/* Demonstration ------------------------------------------------------ */
.h-see { padding-block: clamp(64px, 8vw, 112px); background:
	radial-gradient(900px 520px at 90% 20%, var(--lav) 0%, rgba(243,233,244,0) 70%), #fff; }
.h-see__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.h-see h2 { font-size: clamp(32px, 3.6vw, 48px); max-width: 15ch; }
.h-see__lede { font-size: 18.5px; color: var(--ink-2); max-width: 44ch; }
.h-see__points { list-style: none; padding: 0; margin: 1.4em 0 2em; display: grid; gap: 10px; }
.h-see__points li { position: relative; padding-left: 30px; font-weight: 500; }
.h-see__points li::before {
	content: ""; position: absolute; left: 4px; top: .45em; width: 11px; height: 6px;
	border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg);
}
.h-see__note { margin: 1.4em 0 0; font-size: 13.5px; color: var(--ink-2); }

.h-visa { text-align: left; padding: 18px 20px; }
.h-visa .a-cert__name { margin: 4px 0 12px !important; }
.h-visa__grid { margin: 0 0 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.h-visa__grid dt { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--plum); }
.h-visa__grid dd { margin: 0; font-weight: 600; font-size: 14.5px; color: var(--deep); font-variant-numeric: tabular-nums; }

/* How we enter a market ---------------------------------------------- */
.h-entry { padding-block: clamp(64px, 8vw, 112px) clamp(40px, 5vw, 72px); background: #fff; }
.h-entry__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.h-entry__head h2 { font-size: clamp(30px, 3.4vw, 44px); }
.h-entry__head p { font-size: 18.5px; color: var(--ink-2); margin: 0; }

.h-route { list-style: none; margin: 0; padding: 0; }
.h-step {
	display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px);
	min-height: clamp(240px, 38vh, 380px); padding-bottom: 40px;
}
.h-step:last-child { min-height: 0; }

/* B's evidence card, sticky so it travels with its stage while it is read */
.h-ev {
	align-self: start; position: sticky; top: 110px;
	background: var(--lav); border-radius: var(--r-md); padding: 20px 20px 22px;
	border-left: 4px solid var(--green);
	transition: transform .5s var(--ease), opacity .5s var(--ease), box-shadow .35s, border-color .35s;
}
.h-ev p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.h-ev .h-ev__num { font-family: var(--f-display); font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: -.02em; color: var(--deep); margin-bottom: 10px; }

.h-step__body { position: relative; padding-left: 68px; max-width: 620px; }
.h-step__body::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: -40px; width: 2px; background: var(--line); }
.h-step:last-child .h-step__body::before { display: none; }
.h-step__body .h-step__no {
	position: absolute; left: 0; top: 0; margin: 0; width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center; background: var(--deep); color: #fff;
	font-family: var(--f-display); font-weight: 600; font-size: 16px; line-height: 1;
	transition: background-color .35s, transform .35s var(--ease);
}
.h-step__body h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 4px 0 .45em; }
.h-step__body p { font-size: 18px; line-height: 1.7; color: var(--ink); margin: 0; }

.h-step.is-active .h-step__body .h-step__no { background: var(--green-ui); transform: scale(1.08); }
.h-step.is-active .h-ev { box-shadow: 0 22px 44px -26px rgba(92,36,103,.55); border-left-color: var(--plum); }

/* Reveal: armed by script so the content is never hidden without it */
.h-route.is-armed .h-step .h-ev { opacity: 0; transform: translateX(-28px); }
.h-route.is-armed .h-step .h-step__body { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease) .08s, transform .6s var(--ease) .08s; }
.h-route.is-armed .h-step.is-in .h-ev { opacity: 1; transform: none; }
.h-route.is-armed .h-step.is-in .h-step__body { opacity: 1; transform: none; }

/* Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
	.h-see__grid { grid-template-columns: 1fr; }
	.h-step { grid-template-columns: 1fr; gap: 16px; min-height: 0; padding-bottom: 36px; }
	.h-ev { position: static; order: 2; margin-left: 68px; }
	.h-step__body { order: 1; }
	.h-step__body::before { bottom: -36px; }
}
@media (max-width: 620px) {
	.h-ev { margin-left: 0; }
	.h-step__body { padding-left: 56px; }
	.h-step__body::before { display: none; }
	.h-visa__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.h-route.is-armed .h-step .h-ev, .h-route.is-armed .h-step .h-step__body { opacity: 1; transform: none; }
}

/* Partners sit on lavender here, so the portrait ring switches to white. */
#partners .c-people img { box-shadow: 0 0 0 8px #fff; }
