/* ==========================================================================
   Violet Operator — design tokens
   ========================================================================== */

:root {
	--as-bg: #FFFFFF;
	--as-surface: #F6F5FB;
	--as-ink: #14121F;
	--as-muted: #5C5872;
	--as-line: #E5E3EF;
	--as-accent: #5B32E0;
	--as-secondary: #F2760C;
	--as-dark: #0D0B1A;
	--as-dark-surface: #1A1730;

	--as-r-sm: 10px;
	--as-r-md: 16px;
	--as-r-lg: 24px;
	--as-r-pill: 999px;

	--as-shadow: 0 18px 40px -18px rgba(91, 50, 224, 0.28);
	--as-wrap: 1180px;
}

/* ==========================================================================
   Page shell
   ========================================================================== */

.as-page {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 400;
	color: var(--as-ink);
	background: var(--as-bg);
	line-height: 1.65;
}

.as-page h1,
.as-page h2,
.as-page h3,
.as-page h4 {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 800;
	color: var(--as-ink);
	letter-spacing: -0.02em;
	line-height: 1.08;
}

.as-page p {
	max-width: 62ch;
}

.as-section {
	padding-inline: 24px;
}

.as-section > .wp-block-group__inner-container,
.as-wrap {
	max-width: var(--as-wrap);
	margin-inline: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.as-page .wp-block-button__link {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: var(--as-r-pill);
	padding: 15px 28px;
	line-height: 1.2;
	transition: transform 0.15s ease, background-color 0.15s ease;
}

.as-page .wp-block-button__link:active {
	transform: translateY(1px);
}

.as-page .as-btn-primary .wp-block-button__link {
	background: var(--as-accent);
	color: #FFFFFF;
	border: 1px solid var(--as-accent);
}

.as-page .as-btn-primary .wp-block-button__link::after {
	content: "\2192";
	margin-left: 10px;
	display: inline-block;
}

.as-page .as-btn-primary .wp-block-button__link:hover {
	background: #4A27C4;
	border-color: #4A27C4;
	color: #FFFFFF;
}

/* Play-style secondary: circular glyph, plain label beside it. */
.as-page .as-btn-play .wp-block-button__link {
	background: transparent;
	background-color: transparent;
	color: var(--as-ink);
	border: 0;
	padding: 15px 4px 15px 0;
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.as-btn-play .wp-block-button__link::before {
	content: "";
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: var(--as-r-pill);
	border: 1px solid var(--as-line);
	background: #FFFFFF
		url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B32E0'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E")
		no-repeat center / 14px 14px;
}

.as-btn-play .wp-block-button__link:hover {
	color: var(--as-accent);
	background: transparent;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.as-hero {
	padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 88px);
	overflow: clip;
}

.as-hero .wp-block-columns {
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}

.as-hero__content {
	flex-basis: 52% !important;
}

.as-hero__media {
	flex-basis: 48% !important;
	position: relative;
}

/* Eyebrow */
.as-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 24px;
	padding: 8px 18px 8px 14px;
	border: 1px solid var(--as-line);
	border-radius: var(--as-r-pill);
	background: var(--as-bg);
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--as-muted);
	line-height: 1.4;
}

.as-hero__eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: var(--as-r-pill);
	background: var(--as-accent);
	flex: 0 0 auto;
}

/* Headline */
.as-hero__title {
	margin: 0 0 22px;
	font-size: clamp(2.1rem, 4vw, 3.4rem);
	line-height: 1.1;
}

/* Accent line: core text-color inline format. */
.as-hero__title mark {
	background: transparent;
	color: var(--as-accent);
}

/* Script word: core italic format, restyled to the declared script face. */
.as-hero__title em {
	font-family: "Caveat", cursive;
	font-style: normal;
	font-weight: 700;
	color: var(--as-secondary);
	font-size: 1.24em;
	letter-spacing: 0;
	padding-bottom: 0.1em;
	display: inline-block;
	line-height: 1.15;
}

.as-hero__sub {
	margin: 0 0 32px;
	font-size: 1rem;
	color: var(--as-muted);
	max-width: 46ch;
}

.as-hero__actions {
	gap: 20px;
	align-items: center;
	margin-bottom: 44px;
}

/* Venture strip */
.as-ventures__label {
	margin: 0 0 14px;
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--as-muted);
}

.as-ventures__marks {
	display: flex;
	align-items: center;
	gap: clamp(24px, 4vw, 48px);
	flex-wrap: wrap;
}

.as-ventures__marks .wp-block-image {
	margin: 0;
}

.as-ventures__marks img {
	height: 30px;
	width: auto;
	object-fit: contain;
}

/* Wordmark stand-ins until the real logo files land. */
.as-ventures__marks p {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--as-ink);
	line-height: 1.2;
}

/* Portrait */
.as-hero__portrait {
	margin: 0;
	position: relative;
	z-index: 1;
}

.as-hero__portrait::before {
	content: "";
	position: absolute;
	inset: 6% 18% 12% 6%;
	border-radius: var(--as-r-pill);
	background: var(--as-surface);
	z-index: -1;
}

.as-hero__portrait img {
	width: 100%;
	height: auto;
	display: block;
}

/* Floating capability cards.
   Groups with flow layout emit an inner container, so the flex context
   has to live on that inner element, not on the outer block. */
.as-caps {
	position: absolute;
	inset-block: 6% 8%;
	right: -2%;
	z-index: 2;
	pointer-events: none;
}

.as-caps > .wp-block-group__inner-container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	gap: 14px;
}

.as-cap {
	pointer-events: auto;
	width: 200px;
	padding: 16px 18px;
	background: #FFFFFF;
	border: 1px solid var(--as-line);
	border-radius: var(--as-r-md);
	box-shadow: var(--as-shadow);
}

.as-cap:nth-child(2) {
	transform: translateX(-14%);
}

/* Card icons are drawn in CSS so the block tree stays free of raw markup. */
.as-cap::before {
	content: "";
	display: block;
	width: 34px;
	height: 34px;
	margin-bottom: 10px;
	border-radius: var(--as-r-sm);
	background-color: var(--as-surface);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 17px 17px;
}

.as-cap--dev::before {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B32E0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 18 22 12 16 6'/%3E%3Cpolyline points='8 6 2 12 8 18'/%3E%3C/svg%3E");
}

.as-cap--ai::before {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B32E0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.4'/%3E%3Ccircle cx='5' cy='19' r='2.4'/%3E%3Ccircle cx='19' cy='19' r='2.4'/%3E%3Cpath d='M12 7.4v3.4M12 10.8H6.6a1 1 0 0 0-1 1v4.8M12 10.8h5.4a1 1 0 0 1 1 1v4.8'/%3E%3C/svg%3E");
}

.as-cap--mkt::before {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2760C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V13M10 20V8M16 20v-5M22 20V4'/%3E%3C/svg%3E");
}

.as-cap__title {
	margin: 0 0 6px;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--as-ink);
}

.as-cap p {
	margin: 0;
	font-size: 0.76rem;
	line-height: 1.5;
	color: var(--as-muted);
}

/* Signature */
.as-hero__signature {
	position: absolute;
	right: 4%;
	bottom: -6px;
	z-index: 3;
	margin: 0;
	font-family: "Caveat", cursive;
	font-weight: 700;
	font-size: 1.7rem;
	color: var(--as-accent);
	line-height: 1.3;
	padding-bottom: 0.12em;
}

/* ==========================================================================
   Hero — mobile collapse
   ========================================================================== */

@media (max-width: 900px) {
	.as-cap {
		width: 168px;
		padding: 13px 14px;
	}

	.as-caps {
		right: -4%;
	}
}

@media (max-width: 767px) {
	.as-hero .wp-block-columns {
		flex-direction: column-reverse;
	}

	.as-hero__content,
	.as-hero__media {
		flex-basis: 100% !important;
	}

	.as-hero__portrait {
		max-width: 420px;
		margin-inline: auto;
	}

	.as-caps {
		position: static;
		margin-top: 20px;
	}

	.as-caps > .wp-block-group__inner-container {
		height: auto;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: stretch;
		justify-content: flex-start;
	}

	.as-cap,
	.as-cap:nth-child(2) {
		width: 100%;
		max-width: none;
		transform: none;
		box-shadow: none;
	}

	.as-hero__signature {
		position: static;
		text-align: right;
		margin-top: 12px;
	}

	.as-hero__actions {
		margin-bottom: 32px;
	}
}
