/* Octzen Showcase: about hero (floating cards, no hexagon) */
.abh {
	--abh-max: 1200px;
	--abh-pad: clamp(48px, 8vw, 110px);
	--abh-h: clamp(340px, 40vw, 520px);
	position: relative;
	padding: var(--abh-pad) var(--ocs-gutter);
	overflow: hidden;
	background: var(--ocs-bg);
	isolation: isolate;
}

.abh::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(45% 50% at 78% 45%, color-mix(in srgb, var(--ocs-cool) 16%, transparent), transparent 70%),
		radial-gradient(35% 40% at 8% 90%, color-mix(in srgb, var(--ocs-accent) 8%, transparent), transparent 70%);
}

.abh .abh__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 80px);
	align-items: center;
	max-width: var(--abh-max);
	margin: 0 auto;
}

.abh.visual-left .abh__stage { order: -1; }

/* ---- copy */
.abh .abh__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; font-weight: 600; font-size: 0.78rem; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ocs-accent); }
.abh .abh__eyebrow i { width: 9px; height: 10px; background: var(--ocs-accent); clip-path: var(--ocs-hex); }
.abh .abh__title { max-width: 14ch; margin: 0; font-weight: 700; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.03; letter-spacing: -0.04em; text-wrap: balance; color: var(--ocs-text); }
.abh .ocs-hl { color: var(--ocs-accent); }
.abh .abh__text { max-width: 44ch; margin: clamp(18px, 2.4vw, 26px) 0 0; font-size: clamp(1rem, 1.3vw, 1.14rem); line-height: 1.7; color: var(--ocs-muted); }
.abh .abh__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 34px); }

/* ---- floating field */
.abh .abh__stage { position: relative; min-width: 0; height: var(--abh-h); scale: calc(var(--abh-s, 100) / 100); transform-origin: top center; margin-bottom: calc((var(--abh-s, 100) / 100 - 1) * var(--abh-h)); }

.abh .abh__orb {
	position: absolute;
	top: 50%; left: 50%;
	width: 62%; aspect-ratio: 1;
	margin: -31% 0 0 -31%;
	border-radius: 50%;
	background: radial-gradient(circle at 40% 38%, color-mix(in srgb, var(--ocs-accent) 42%, transparent), color-mix(in srgb, var(--ocs-cool) 26%, transparent) 55%, transparent 74%);
	filter: blur(34px);
	opacity: 0.75;
	animation: abh-breathe 8s ease-in-out infinite;
}

@keyframes abh-breathe { 50% { transform: scale(1.14); opacity: 0.95; } }

.abh .abh__ring { position: absolute; top: 50%; left: 50%; width: 74%; aspect-ratio: 1; margin: -37% 0 0 -37%; border: 1px dashed var(--ocs-line-strong); border-radius: 50%; animation: abh-turn 60s linear infinite; }
.abh .abh__ring--2 { width: 50%; margin: -25% 0 0 -25%; border-style: solid; border-color: var(--ocs-line); animation-direction: reverse; animation-duration: 44s; }
@keyframes abh-turn { to { transform: rotate(360deg); } }

.abh .abh__bit { position: absolute; background: var(--ocs-accent); clip-path: var(--ocs-hex); opacity: 0.8; animation: abh-float 7s ease-in-out infinite; }
.abh .abh__bit--1 { top: 8%; left: 30%; width: 14px; height: 16px; }
.abh .abh__bit--2 { top: 20%; right: 10%; width: 9px; height: 10px; background: var(--ocs-cool); animation-delay: -2s; }
.abh .abh__bit--3 { bottom: 10%; right: 28%; width: 12px; height: 14px; animation-delay: -3.5s; }
.abh .abh__bit--4 { bottom: 24%; left: 6%; width: 8px; height: 9px; background: var(--ocs-cool); animation-delay: -1.2s; }
.abh .abh__bit--5 { top: 52%; left: 46%; width: 6px; height: 7px; animation-delay: -4.6s; opacity: 0.5; }

@keyframes abh-float { 50% { transform: translate3d(0, -14px, 0); } }

/* positioned wrapper takes the mouse drift; the card inside does the bobbing */
.abh .abh__fl { position: absolute; z-index: 2; translate: var(--px, 0) var(--py, 0); }
.abh .abh__fl--sign { top: 38%; left: 50%; margin-left: -110px; }
.abh .abh__fl--1 { top: 6%; left: 2%; }
.abh .abh__fl--2 { top: 30%; right: 0; }
.abh .abh__fl--3 { bottom: 6%; left: 6%; }

.abh .abh__card {
	border: 1px solid var(--ocs-line-strong);
	border-radius: 20px;
	background: color-mix(in srgb, #0c1019 90%, transparent);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	animation: abh-float 6.5s ease-in-out infinite;
}

.abh .abh__fl--2 .abh__card { animation-delay: -2.2s; }
.abh .abh__fl--3 .abh__card { animation-delay: -4.4s; }
.abh .abh__fl--sign .abh__card { animation-delay: -1s; animation-duration: 7.5s; }

.abh .abh__chip { display: grid; gap: 4px; padding: 14px 20px; }
.abh .abh__chip b { font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1; letter-spacing: -0.03em; color: var(--ocs-text); }
.abh .abh__chip small { font-size: 0.8rem; line-height: 1.2; color: var(--ocs-muted); }

.abh .abh__sign { display: flex; align-items: center; gap: 14px; width: 220px; padding: 14px 18px; border-color: color-mix(in srgb, var(--ocs-accent) 45%, transparent); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 40px color-mix(in srgb, var(--ocs-accent) 18%, transparent); }
.abh .abh__avatar { display: grid; flex: 0 0 auto; place-items: center; width: 48px; height: 48px; overflow: hidden; border-radius: 50%; background: linear-gradient(145deg, var(--ocs-accent), color-mix(in srgb, var(--ocs-accent) 60%, #000)); font-weight: 700; font-size: 1.2rem; color: var(--ocs-accent-ink); }
.abh .abh__avatar img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.abh .abh__sign b { display: block; font-weight: 650; font-size: 1.05rem; color: var(--ocs-text); }
.abh .abh__sign small { display: block; margin-top: 3px; font-size: 0.82rem; line-height: 1.25; color: var(--ocs-muted); }

/* ---- reveal */
.abh.has-js .abh__copy > *,
.abh.has-js .abh__stage { opacity: 0; transform: translate3d(0, 26px, 0); }
.abh.has-js.is-in .abh__copy > *,
.abh.has-js.is-in .abh__stage { opacity: 1; transform: none; transition: opacity 0.9s var(--ocs-ease), transform 1s var(--ocs-ease); }
.abh.has-js.is-in .abh__copy > :nth-child(2) { transition-delay: 90ms; }
.abh.has-js.is-in .abh__copy > :nth-child(3) { transition-delay: 180ms; }
.abh.has-js.is-in .abh__copy > :nth-child(4) { transition-delay: 270ms; }
.abh.has-js.is-in .abh__stage { transition-delay: 200ms; }

/* ---- small */
@media (max-width: 900px) {
	.abh .abh__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.abh .abh__stage, .abh.visual-left .abh__stage { order: -1; }
	.abh .abh__copy { text-align: center; }
	.abh .abh__title, .abh .abh__text { margin-right: auto; margin-left: auto; }
	.abh .abh__actions { flex-direction: column; align-items: center; justify-content: center; }
	.abh .abh__actions .ocs-btn { flex: 0 0 auto; width: auto; max-width: 100%; }
	.abh .abh__stage { --abh-h: 340px; width: min(100%, 460px); margin-inline: auto; }
}

@media (max-width: 767px) {
	.abh .abh__stage { --abh-h: 320px; }
	.abh .abh__card { border-radius: 16px; }
	.abh .abh__chip { padding: 10px 14px; }
	.abh .abh__chip b { font-size: 1.25rem; }
	.abh .abh__chip small { font-size: 0.7rem; }
	.abh .abh__sign { width: 190px; padding: 11px 14px; }
	.abh .abh__fl--sign { margin-left: -95px; }
	.abh .abh__orb { filter: blur(24px); animation: none; }
}

@media (prefers-reduced-motion: reduce) {
	.abh .abh__orb, .abh .abh__ring, .abh .abh__bit, .abh .abh__card { animation: none; }
	.abh.has-js .abh__copy > *, .abh.has-js .abh__stage { opacity: 1; transform: none; }
}
