/* ---------- Groundworks scroll scene ---------- */
.gw { position: relative; background: #17191C; color: #fff; padding: 0; }
.gw-pin { position: relative; height: 100vh; min-height: 620px; overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.gw-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		linear-gradient(rgba(217,130,24,.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(217,130,24,.06) 1px, transparent 1px),
		linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
	background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
	mask-image: radial-gradient(ellipse at 40% 55%, #000 30%, transparent 78%); }
.gw-inner { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; width: min(1320px, 100% - 2 * var(--gutter)); }
.gw-copy h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 28px; }
.gw-steps { position: relative; display: grid; }
.gw-step { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08);
	opacity: .32; transition: opacity .35s ease; }
.gw-step h3 { font-size: 21px; margin: 2px 0 4px; }
.gw-step p { margin: 0; color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.55; max-height: 0; overflow: hidden; opacity: 0;
	transition: max-height .45s ease, opacity .35s ease; }
.gw-step.is-active { opacity: 1; }
.gw-step.is-active p { max-height: 120px; opacity: 1; }
.gw-num { font-weight: 900; font-size: 28px; line-height: 1; color: rgba(255,255,255,.25); font-variant-numeric: tabular-nums; padding-top: 2px; transition: color .3s; }
.gw-step.is-active .gw-num { color: var(--orange); }
.gw-dots { display: none; }
.gw-stage { position: relative; }
.gw-stamp { position: absolute; top: 4%; inset-inline-end: 6%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; background: var(--orange); color: #fff; font-weight: 900; font-size: 18px; border-radius: 4px; box-shadow: 0 14px 40px rgba(0,0,0,.35);
	opacity: var(--gw-done, 0); transform: translateY(calc((1 - var(--gw-done, 0)) * 14px)) scale(calc(.92 + var(--gw-done, 0) * .08)); pointer-events: none; }
.gw-stamp svg { width: 22px; height: 22px; background: #fff; color: var(--orange); border-radius: 50%; padding: 4px; }
.gw-svg { width: 100%; height: auto; max-height: 78vh; display: block; overflow: visible; }
.gw-svg text { font-family: var(--font); }
.gw-progress { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.06); }
.gw-progress span { display: block; height: 100%; width: calc(var(--gw-progress, 0) * 100%); background: var(--orange); margin-inline-start: auto; }
.gw-hint { position: absolute; bottom: 22px; inset-inline-start: 50%; transform: translateX(50%); font-size: 13px; letter-spacing: .2em; opacity: calc(.6 - var(--gw-progress, 0) * 6); pointer-events: none; }
.gw-hint::after { content: ""; display: block; width: 1px; height: 28px; margin: 8px auto 0; background: linear-gradient(#fff, transparent); animation: gwHint 1.6s ease-in-out infinite; }
@keyframes gwHint { 0%,100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); } }
.gw.is-static .gw-pin { height: auto; padding: 72px 0; }
.gw.is-static .gw-step { opacity: 1; }
.gw.is-static .gw-step p { max-height: none; opacity: 1; }

@media (max-width: 860px) {
	.gw-pin { align-items: center; min-height: 0; }
	.gw-inner { grid-template-columns: 1fr; gap: 8px; padding-top: 40px; }
	.gw-copy { order: 2; }
	.gw-stage { order: 1; margin: 0 -8px; }
	.gw-svg { max-height: 52vh; }
	.gw-copy h2 { display: none; }
	.gw-copy .eyebrow { display: none; }
	.gw-steps { min-height: 150px; }
	.gw-step { position: absolute; inset: 0 0 auto 0; border: 0; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; pointer-events: none; }
	.gw-step.is-active { opacity: 1; transform: none; }
	.gw-step p { max-height: none; opacity: 1; }
	.gw-dots { display: flex; gap: 6px; margin-top: 8px; }
	.gw-dot { flex: 1; height: 3px; background: rgba(255,255,255,.15); border-radius: 2px; transition: background .3s; }
	.gw-dot.is-done, .gw-dot.is-active { background: var(--orange); }
	.gw-progress { display: none; }
}

/* v3: clarity + depth */
.gw { background: #17191C; }
.gw-pin::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; will-change: transform; transform: translateZ(0);
	background: var(--grain), radial-gradient(ellipse 55% 60% at 70% 55%, rgba(217,130,24,.10), transparent 65%), linear-gradient(180deg, #15171A, #1B1E22 60%, #131518); }
.gw-grid { will-change: transform; transform: translateZ(0); }
.gw-step { cursor: pointer; }
.gw-step:hover { opacity: .7; }
.gw-step.is-active:hover { opacity: 1; }
.gw-step.is-active .gw-num { background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gw-count { position: absolute; top: 2%; right: 4%; left: auto; direction: ltr; display: flex; align-items: baseline; gap: 8px; pointer-events: none;
	font: 700 13px/1 ui-monospace, 'SFMono-Regular', Menlo, monospace; letter-spacing: .14em; color: rgba(246,241,232,.45); }
.gw-count b { font: 900 clamp(34px, 4vw, 54px)/1 var(--font); letter-spacing: -.02em; color: var(--bone); font-variant-numeric: tabular-nums; }
.gw-progress span { background: linear-gradient(270deg, var(--orange-300), var(--orange-600)); }
.gw-stamp { background: var(--grad-orange); }
@media (max-width: 860px) { .gw-count { top: 0; right: 2%; } .gw-count b { font-size: 30px; } }

.gw-go { all: unset; cursor: pointer; font: inherit; color: inherit; }
.gw-go:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 2px; }
