/* ==========================================================================
   About: Core values
   The "What we stand for" intro box and four value cards. HTML: template-parts/about/core-values.php
   ========================================================================== */

.values__wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; align-items: stretch; }
.values__intro { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3.5vw, 44px); border-radius: 24px; background: radial-gradient(90% 60% at 0% 0%, rgba(124, 58, 237, .35), transparent 60%), radial-gradient(80% 60% at 100% 100%, rgba(34, 211, 238, .18), transparent 60%), #0d0828; border: 1px solid transparent; background-clip: padding-box; box-shadow: 0 0 0 1px rgba(167, 139, 250, .3), 0 30px 70px -40px rgba(124, 58, 237, .9); }
.values__intro::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #a78bfa, #22d3ee, #f472b6, #f59e0b); }
.values__intro::after { content: ""; position: absolute; z-index: -1; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px dashed rgba(167, 139, 250, .25); box-shadow: inset 0 0 0 30px rgba(167, 139, 250, .03); }
.values__intro .eyebrow { margin-bottom: 14px; }
.values__title { font-size: clamp(1.9rem, 2.9vw, 2.6rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 16px; }
.values__title .text-gradient { white-space: nowrap; }
.values__lead { color: #cfc9ea; font-size: 1.05rem; margin-bottom: 26px; max-width: 440px; }
.values__quote { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 18px; max-width: 440px; border-radius: 16px; border: 1px solid rgba(34, 211, 238, .3); background: linear-gradient(90deg, rgba(34, 211, 238, .12), rgba(167, 139, 250, .08)); color: #f1eefc; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.values__quote .std-icon { flex: none; color: #22d3ee; }
.values__grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 18px; }
.value {
	--vc: #a78bfa; --vc2: #7c3aed;
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	padding: 26px 24px 24px;
	border-radius: 24px;
	background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--vc) 26%, transparent), transparent 60%), linear-gradient(165deg, color-mix(in srgb, var(--vc2) 16%, #0d0828), #0b0720);
	border: 1px solid color-mix(in srgb, var(--vc) 34%, transparent);
	transition: border-color .3s, box-shadow .5s, translate .5s var(--ease);
}
.value::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--vc2), var(--vc), transparent); box-shadow: 0 0 16px var(--vc); }
.value:hover { translate: 0 -6px; border-color: var(--vc); box-shadow: 0 30px 60px -28px var(--vc); }
.value__mark { position: absolute; z-index: -1; right: -34px; bottom: -40px; color: color-mix(in srgb, var(--vc) 12%, transparent); transition: transform .9s var(--ease); }
.value:hover .value__mark { transform: rotate(-12deg) scale(1.1); }
.value__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.value__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--vc), var(--vc2)); color: #0b0620; box-shadow: 0 12px 28px -10px var(--vc); transition: transform .5s var(--ease); }
.value:hover .value__icon { transform: rotate(-8deg) scale(1.06); }
.value__num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px color-mix(in srgb, var(--vc) 60%, transparent); }
.value__title { font-size: 1.3rem; margin-bottom: 8px; }
.value__text { color: #cfc9ea; font-size: .94rem; line-height: 1.6; margin-bottom: 18px; }
.value__tag { align-self: flex-start; margin-top: auto; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--vc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--vc) 45%, transparent); color: var(--vc); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 1024px) {
	.values__wrap { grid-template-columns: 1fr; }
	.values__lead, .values__quote { max-width: 620px; }
}

@media (max-width: 600px) {
	.values__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
}
