/*
Theme Name: Svoy
Author: Svoy Team
Copyright: 2026 Svoy Team
Description: A luminous, developer-friendly Full Site Editing theme for brands that want WordPress to feel unmistakably theirs.
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.4
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: svoy
Tags: block-patterns, block-styles, style-variations, custom-colors, custom-logo, editor-style, featured-images, wide-blocks, accessibility-ready, translation-ready, blog, portfolio
*/

:root {
	--svoy-border: rgba(255, 255, 255, 0.1);
	--svoy-border-strong: rgba(255, 255, 255, 0.18);
	--svoy-glass: rgba(17, 20, 28, 0.7);
	--svoy-glass-solid: #11141c;
	--svoy-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
	--svoy-glow: 0 28px 90px rgba(124, 92, 255, 0.25);
	--svoy-header-surface: rgba(11, 13, 19, 0.76);
	--svoy-soft-surface: rgba(255, 255, 255, 0.04);
	--svoy-card-surface: linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.016));
	--svoy-panel-surface: linear-gradient(145deg, rgba(22, 25, 35, 0.92), rgba(11, 13, 19, 0.92));
	--svoy-code-surface: rgba(7, 9, 14, 0.82);
	--svoy-project-surface: linear-gradient(145deg, #151925, #0c0f16);
	--svoy-post-surface: rgba(255, 255, 255, 0.025);
	--svoy-post-surface-hover: rgba(255, 255, 255, 0.045);
	--svoy-grid-line: rgba(255, 255, 255, 0.035);
	--svoy-gradient-text: linear-gradient(100deg, #ffffff 5%, #c6b8ff 42%, #7453f5 68%, #45e6d0 100%);
	--svoy-radius-sm: 14px;
	--svoy-radius: 22px;
	--svoy-radius-lg: 32px;
}

html[data-svoy-theme="dark"] {
	color-scheme: dark;
	--wp--preset--color--canvas: #080a0f;
	--wp--preset--color--paper: #11141c;
	--wp--preset--color--ink: #f7f8fc;
	--wp--preset--color--muted: #9ba3b5;
	--wp--preset--color--electric: #7453f5;
	--wp--preset--color--acid: #45e6d0;
	--wp--preset--color--signal: #ff6fd8;
	--wp--preset--color--lavender: #c6b8ff;
	--wp--preset--color--line: #252a37;
}

html[data-svoy-theme="light"] {
	color-scheme: light;
	--wp--preset--color--canvas: #f5f6fa;
	--wp--preset--color--paper: #ffffff;
	--wp--preset--color--ink: #12141b;
	--wp--preset--color--muted: #656d7d;
	--wp--preset--color--electric: #6847f5;
	--wp--preset--color--acid: #087f73;
	--wp--preset--color--signal: #c12f96;
	--wp--preset--color--lavender: #6550b4;
	--wp--preset--color--line: #dfe2ea;
	--svoy-border: rgba(18, 20, 27, 0.1);
	--svoy-border-strong: rgba(18, 20, 27, 0.18);
	--svoy-glass: rgba(255, 255, 255, 0.78);
	--svoy-glass-solid: #ffffff;
	--svoy-shadow: 0 32px 80px rgba(48, 42, 72, 0.14);
	--svoy-glow: 0 26px 80px rgba(104, 71, 245, 0.15);
	--svoy-header-surface: rgba(255, 255, 255, 0.8);
	--svoy-soft-surface: rgba(255, 255, 255, 0.62);
	--svoy-card-surface: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(245, 246, 250, 0.78));
	--svoy-panel-surface: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(237, 240, 248, 0.94));
	--svoy-code-surface: rgba(255, 255, 255, 0.86);
	--svoy-project-surface: linear-gradient(145deg, #ffffff, #eef1f7);
	--svoy-post-surface: rgba(255, 255, 255, 0.74);
	--svoy-post-surface-hover: rgba(255, 255, 255, 0.96);
	--svoy-grid-line: rgba(18, 20, 27, 0.045);
	--svoy-gradient-text: linear-gradient(100deg, #171923 5%, #6550b4 40%, #6847f5 68%, #087f73 100%);
}

html {
	overflow-x: clip;
	scroll-behavior: smooth;
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

.wp-site-blocks {
	background:
		radial-gradient(circle at 7% 8%, rgba(124, 92, 255, 0.14), transparent 28rem),
		radial-gradient(circle at 93% 26%, rgba(69, 230, 208, 0.08), transparent 25rem),
		var(--wp--preset--color--canvas);
	min-height: 100vh;
}

::selection {
	background: var(--wp--preset--color--acid);
	color: var(--wp--preset--color--canvas);
}

:where(.wp-site-blocks *:focus-visible) {
	outline: 2px solid var(--wp--preset--color--acid);
	outline-offset: 4px;
}

a {
	text-decoration-thickness: 0.07em;
	text-underline-offset: 0.18em;
}

:where(
	.wp-block-post-content,
	.wp-block-comment-content,
	.wp-block-post-excerpt,
	.svoy-footer p
) a:not(.wp-element-button):hover {
	text-decoration-thickness: 0.14em;
}

/* Post navigation */
.svoy-post-navigation {
	align-items: flex-start;
}

.svoy-post-navigation > .wp-block-post-navigation-link {
	align-items: flex-start;
	display: flex;
	flex: 1 1 18rem;
	gap: 0.65rem;
}

.svoy-post-navigation > .wp-block-post-navigation-link a {
	min-width: 0;
}

.svoy-post-navigation .post-navigation-link-next {
	justify-content: flex-end;
	margin-inline-start: auto;
	text-align: end;
}

.svoy-post-navigation :is(
	.wp-block-post-navigation-link__arrow-previous,
	.wp-block-post-navigation-link__arrow-next
) {
	flex: 0 0 auto;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--wp--preset--color--paper);
	border: 2px solid var(--wp--preset--color--acid);
	border-radius: 8px;
	clip-path: none;
	color: var(--wp--preset--color--ink);
	display: block;
	font-size: 1rem;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figcaption {
	text-wrap: pretty;
}

/* Header */
.svoy-header {
	background: transparent !important;
	padding-block: 0.9rem !important;
	position: relative;
	z-index: 100;
}

@supports (position: sticky) {
	.svoy-header {
		position: sticky;
		top: 0;
	}

	.admin-bar .svoy-header {
		top: var(--wp-admin--admin-bar--height, 32px);
	}
}

.svoy-header__inner {
	background: transparent;
	border: 1px solid var(--svoy-border);
	border-radius: 999px;
	box-shadow: 0 12px 38px rgba(0, 0, 0, 0.24);
	isolation: isolate;
	padding: 0.65rem 0.72rem 0.65rem 1.15rem;
	position: relative;
}

.svoy-header__inner::before {
	-webkit-backdrop-filter: blur(20px) saturate(145%);
	backdrop-filter: blur(20px) saturate(145%);
	background: var(--svoy-header-surface);
	border-radius: inherit;
	content: "";
	inset: 0;
	position: absolute;
	z-index: -1;
}

.svoy-wordmark,
.svoy-wordmark a {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
}

.svoy-wordmark::before {
	background: linear-gradient(135deg, var(--wp--preset--color--electric), var(--wp--preset--color--acid));
	border-radius: 999px;
	box-shadow: 0 0 20px rgba(69, 230, 208, 0.45);
	content: "";
	display: inline-block;
	height: 0.72rem;
	width: 0.72rem;
}

.svoy-header .wp-block-navigation-item__content {
	opacity: 0.76;
	text-decoration: none;
	transition: opacity 180ms ease, color 180ms ease;
}

.svoy-header .wp-block-navigation-item__content:hover {
	opacity: 1;
}

.svoy-header .svoy-mobile-only {
	display: none;
}

.svoy-header .svoy-safe-mini-cart .wc-block-mini-cart__button {
	color: var(--wp--preset--color--ink);
	cursor: pointer;
	text-decoration: none;
}

.svoy-header .svoy-safe-mini-cart .wc-block-mini-cart__badge {
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--canvas);
}

.svoy-theme-switcher {
	position: relative;
}

.svoy-theme-switcher__trigger .wp-block-button__link {
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	background: var(--svoy-soft-surface) !important;
	border: 1px solid var(--svoy-border-strong);
	border-radius: 999px;
	color: transparent !important;
	display: grid;
	font-size: 0 !important;
	height: 2.7rem;
	padding: 0 !important;
	place-items: center;
	width: 2.7rem;
}

.svoy-theme-switcher__trigger .wp-block-button__link::after {
	border: 2px solid var(--wp--preset--color--ink);
	border-radius: 50%;
	box-shadow: inset -0.34rem -0.12rem 0 var(--wp--preset--color--ink);
	content: "";
	height: 0.95rem;
	margin: 0;
	transform: rotate(-18deg);
	transition: background-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
	width: 0.95rem;
}

html[data-svoy-theme="light"] .svoy-theme-switcher__trigger .wp-block-button__link::after {
	background: var(--wp--preset--color--electric);
	border-color: var(--wp--preset--color--electric);
	box-shadow: 0 0 0 0.22rem rgba(104, 71, 245, 0.15), 0 0 1rem rgba(104, 71, 245, 0.35);
	transform: rotate(0);
}

.svoy-theme-menu {
	-webkit-backdrop-filter: blur(22px) saturate(140%);
	backdrop-filter: blur(22px) saturate(140%);
	background: var(--svoy-glass);
	border: 1px solid var(--svoy-border-strong);
	border-radius: 16px;
	box-shadow: var(--svoy-shadow);
	display: grid;
	gap: 0.25rem;
	min-width: 10.5rem;
	opacity: 0;
	padding: 0.45rem;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: calc(100% + 0.75rem);
	transform: translateY(-0.45rem) scale(0.98);
	transform-origin: top right;
	transition: opacity 160ms ease, transform 160ms ease;
	visibility: hidden;
	z-index: 120;
}

.svoy-theme-switcher.is-open .svoy-theme-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
	visibility: visible;
}

.svoy-theme-menu__option {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 11px;
	color: var(--wp--preset--color--ink);
	cursor: pointer;
	display: flex;
	font: 600 0.82rem/1.2 var(--wp--preset--font-family--sans);
	gap: 0.65rem;
	padding: 0.7rem 0.75rem;
	text-align: left;
	width: 100%;
}

.svoy-theme-menu__option:hover,
.svoy-theme-menu__option:focus-visible,
.svoy-theme-menu__option.is-active {
	background: var(--svoy-soft-surface);
}

.svoy-theme-menu__option.is-active {
	color: var(--wp--preset--color--acid);
}

.svoy-theme-menu__icon {
	border: 1px solid var(--svoy-border-strong);
	border-radius: 50%;
	height: 0.8rem;
	width: 0.8rem;
}

.svoy-theme-menu__option[data-mode="system"] .svoy-theme-menu__icon {
	background: linear-gradient(90deg, #f7f8fc 50%, #11141c 50%);
}

.svoy-theme-menu__option[data-mode="light"] .svoy-theme-menu__icon { background: #f7f8fc; }
.svoy-theme-menu__option[data-mode="dark"] .svoy-theme-menu__icon { background: #11141c; }

/* Shared type and buttons */
.svoy-display {
	font-family: var(--wp--preset--font-family--display);
}

.svoy-kicker,
.svoy-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.62rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.svoy-kicker::before,
.svoy-eyebrow::before {
	background: currentColor;
	border-radius: 999px;
	box-shadow: 0 0 16px currentColor;
	content: "";
	flex: 0 0 auto;
	height: 0.45rem;
	width: 0.45rem;
}

.svoy-eyebrow {
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	background: var(--svoy-soft-surface);
	border: 1px solid var(--svoy-border);
	border-radius: 999px;
	padding: 0.58rem 0.82rem;
}

.svoy-gradient-text,
.svoy-gradient-text mark {
	-webkit-background-clip: text !important;
	background: var(--svoy-gradient-text) !important;
	background-clip: text !important;
	color: transparent !important;
}

.wp-block-button__link {
	position: relative;
	overflow: hidden;
	transition: box-shadow 220ms ease, transform 220ms ease, background-color 220ms ease;
	white-space: nowrap;
}

.wp-block-button__link::before {
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.34) 50%, transparent 70%);
	content: "";
	inset: 0;
	position: absolute;
	transform: translateX(-140%);
	transition: transform 520ms ease;
}

.wp-block-button__link:hover {
	box-shadow: 0 12px 36px rgba(124, 92, 255, 0.32);
	transform: translateY(-2px);
}

.wp-block-button__link:hover::before {
	transform: translateX(140%);
}

.is-style-outline > .wp-block-button__link {
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	background: var(--svoy-soft-surface);
	border-color: var(--svoy-border-strong);
	color: var(--wp--preset--color--ink);
}

.is-style-svoy-arrow .wp-block-button__link::after {
	content: "\2197";
	display: inline-block;
	font-size: 1.05em;
	line-height: 0;
	margin-inline-start: 0.68em;
	transition: transform 180ms ease;
}

.is-style-svoy-arrow .wp-block-button__link:hover::after {
	transform: translate(2px, -2px);
}

/* Hero */
.svoy-hero {
	background:
		radial-gradient(circle at 80% 40%, rgba(124, 92, 255, 0.2), transparent 27rem),
		radial-gradient(circle at 64% 75%, rgba(69, 230, 208, 0.08), transparent 22rem) !important;
	isolation: isolate;
	min-height: min(58rem, calc(100vh - 3rem));
	overflow: hidden;
	position: relative;
}

.svoy-hero::before {
	background-image:
		linear-gradient(var(--svoy-grid-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--svoy-grid-line) 1px, transparent 1px);
	background-size: 72px 72px;
	content: "";
	inset: 0;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 88%);
	opacity: 0.55;
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

.svoy-hero::after {
	background: var(--wp--preset--color--electric);
	border-radius: 999px;
	box-shadow: 0 0 170px 75px rgba(124, 92, 255, 0.36);
	content: "";
	filter: blur(15px);
	height: 6rem;
	position: absolute;
	right: 10%;
	top: 27%;
	width: 6rem;
	z-index: -1;
}

.svoy-hero__inner {
	position: relative;
	z-index: 2;
}

.svoy-hero-title {
	font-size: clamp(4.2rem, 8.2vw, 8.2rem) !important;
	letter-spacing: -0.075em !important;
	line-height: 0.91 !important;
	max-width: 11ch;
}

.svoy-hero-copy {
	color: var(--wp--preset--color--muted);
	max-width: 36rem;
}

.svoy-hero-proof {
	align-items: center;
	color: var(--wp--preset--color--muted);
	display: flex;
	font-size: 0.82rem;
	gap: 0.8rem;
}

.svoy-hero-proof::before {
	background: var(--wp--preset--color--acid);
	border: 3px solid rgba(69, 230, 208, 0.15);
	border-radius: 999px;
	box-shadow: 0 0 18px rgba(69, 230, 208, 0.45);
	content: "";
	height: 0.52rem;
	width: 0.52rem;
}

.svoy-hero__visual {
	min-height: 38rem;
	perspective: 1200px;
	position: relative;
}

.svoy-editor-window {
	--wp--preset--color--acid: #45e6d0;
	--wp--preset--color--electric: #7c5cff;
	--wp--preset--color--ink: #f7f8fc;
	--wp--preset--color--muted: #9ba3b5;
	--wp--preset--color--signal: #ff6fd8;
	-webkit-backdrop-filter: blur(24px) saturate(140%);
	backdrop-filter: blur(24px) saturate(140%);
	background: linear-gradient(145deg, rgba(28, 31, 44, 0.86), rgba(10, 12, 18, 0.82));
	border: 1px solid var(--svoy-border-strong);
	border-radius: 26px;
	box-shadow: var(--svoy-shadow), var(--svoy-glow), inset 0 1px rgba(255, 255, 255, 0.09);
	inset: 4.5rem 0.5rem 2.2rem 0;
	overflow: hidden;
	position: absolute;
	transform: rotateY(-5deg) rotateX(2deg);
	transform-style: preserve-3d;
}

.svoy-editor-window,
.svoy-editor-window .wp-block-heading,
.svoy-float-card {
	color: #f7f8fc;
}

.svoy-editor-window .has-muted-color,
.svoy-float-card .has-muted-color {
	color: #9ba3b5 !important;
}

html[data-svoy-theme="light"] .svoy-float-card .has-muted-color {
	color: #d8dce5 !important;
}

.svoy-editor-window .has-acid-color,
.svoy-float-card .has-acid-color {
	color: #45e6d0 !important;
}

.svoy-windowbar {
	align-items: center;
	border-bottom: 1px solid var(--svoy-border);
	display: flex;
	gap: 0.42rem;
	height: 3.2rem;
	padding-inline: 1.1rem;
}

.svoy-dot {
	background: rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	height: 0.5rem;
	margin: 0 !important;
	width: 0.5rem;
}

.svoy-dot:first-child { background: #ff6f91; }
.svoy-dot:nth-child(2) { background: #ffc65c; }
.svoy-dot:nth-child(3) { background: #45e6d0; }

.svoy-window-title {
	color: var(--wp--preset--color--muted);
	font-size: 0.7rem;
	margin-left: auto !important;
}

.svoy-editor-layout {
	display: grid !important;
	grid-template-columns: 4.6rem 1fr;
	height: calc(100% - 3.2rem);
}

.svoy-editor-sidebar {
	align-items: center;
	border-right: 1px solid var(--svoy-border);
	display: flex;
	flex-direction: column;
	gap: 0.78rem;
	padding-top: 1.2rem;
}

.svoy-tool {
	background: rgba(255, 255, 255, 0.065);
	border: 1px solid transparent;
	border-radius: 9px;
	height: 2.1rem;
	margin: 0 !important;
	width: 2.1rem;
}

.svoy-tool:first-child {
	background: rgba(124, 92, 255, 0.2);
	border-color: rgba(124, 92, 255, 0.42);
}

.svoy-editor-canvas {
	background:
		radial-gradient(circle at 76% 25%, rgba(124, 92, 255, 0.35), transparent 26%),
		linear-gradient(145deg, #161a25, #0c0e14);
	margin: 1.15rem !important;
	overflow: hidden;
	padding: clamp(1.2rem, 3vw, 2.2rem);
	position: relative;
}

.svoy-editor-canvas::after {
	background: linear-gradient(130deg, var(--wp--preset--color--electric), var(--wp--preset--color--acid));
	border-radius: 45% 55% 60% 40%;
	content: "";
	filter: blur(2px);
	height: 12rem;
	top: 24%;
	position: absolute;
	right: -2.5rem;
	transform: rotate(-18deg);
	width: 12rem;
}

.svoy-canvas-label {
	color: var(--wp--preset--color--acid);
	font-size: 0.63rem;
	letter-spacing: 0.08em;
	position: relative;
	text-transform: uppercase;
	z-index: 2;
}

.svoy-canvas-title {
	font-size: clamp(2.4rem, 4.8vw, 4.8rem) !important;
	letter-spacing: -0.075em !important;
	line-height: 0.9 !important;
	max-width: 5ch;
	position: relative;
	z-index: 2;
}

.svoy-canvas-line {
	background: rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	height: 0.45rem;
	margin-top: 1rem !important;
	position: relative;
	width: 46%;
	z-index: 2;
}

.svoy-canvas-line--short { width: 29%; }

.svoy-canvas-button {
	background: var(--wp--preset--color--ink);
	border-radius: 999px;
	height: 2.1rem;
	margin-top: 1.6rem !important;
	position: relative;
	width: 6.3rem;
	z-index: 2;
}

.svoy-float-card {
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	background: rgba(22, 25, 36, 0.8);
	border: 1px solid var(--svoy-border-strong);
	border-radius: 16px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
	padding: 0.9rem 1rem;
	position: absolute;
	z-index: 4;
}

.svoy-float-card p { margin: 0; }
.svoy-float-card--top { right: -1rem; top: 1.6rem; }
.svoy-float-card--bottom { bottom: 0; left: -1.5rem; }

.svoy-float-icon {
	background: linear-gradient(135deg, var(--wp--preset--color--electric), var(--wp--preset--color--signal));
	border-radius: 10px;
	display: inline-grid;
	height: 2.25rem !important;
	margin: 0 !important;
	place-items: center;
	width: 2.25rem;
}

.svoy-float-icon::before {
	content: "✦";
	line-height: 1;
}

/* Proof bar */
.svoy-proof-wrap {
	position: relative;
	z-index: 4;
}

.svoy-proof-grid {
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	background: var(--svoy-soft-surface);
	border: 1px solid var(--svoy-border);
	border-radius: var(--svoy-radius);
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	overflow: hidden;
}

.svoy-proof-item {
	border-right: 1px solid var(--svoy-border);
	padding: 1.35rem 1.5rem;
}

.svoy-proof-item:last-child { border-right: 0; }

.svoy-proof-item strong {
	color: var(--wp--preset--color--ink);
	display: block;
	font-weight: 650;
}

.svoy-proof-item span {
	color: var(--wp--preset--color--muted);
	display: block;
	font-size: 0.76rem;
	margin-top: 0.2rem;
}

/* Section system */
.svoy-section {
	position: relative;
}

.svoy-section-heading {
	max-width: 12ch;
}

.svoy-section-intro {
	color: var(--wp--preset--color--muted);
	max-width: 36rem;
}

.svoy-glass-card,
.is-style-svoy-outline-card {
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	background: var(--svoy-card-surface);
	border: 1px solid var(--svoy-border);
	border-radius: var(--svoy-radius);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.055);
	padding: var(--wp--preset--spacing--40);
}

.is-style-svoy-offset {
	border: 1px solid var(--svoy-border-strong);
	border-radius: var(--svoy-radius);
	box-shadow: var(--svoy-glow);
}

.svoy-token-panel {
	background:
		radial-gradient(circle at 75% 15%, rgba(124, 92, 255, 0.27), transparent 34%),
		var(--svoy-panel-surface);
	border: 1px solid var(--svoy-border);
	border-radius: var(--svoy-radius-lg);
	box-shadow: var(--svoy-shadow);
	min-height: 34rem;
	overflow: hidden;
	position: relative;
}

.svoy-token-panel::before {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 32px 32px;
	content: "";
	inset: 0;
	mask-image: linear-gradient(to bottom, #000, transparent);
	opacity: 0.6;
	position: absolute;
}

.svoy-token-panel::after {
	-webkit-background-clip: text;
	background: linear-gradient(135deg, rgba(198, 184, 255, 0.9), rgba(69, 230, 208, 0.42));
	background-clip: text;
	bottom: 1.2rem;
	color: transparent;
	content: "Aa";
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(6rem, 11vw, 10rem);
	font-weight: 700;
	letter-spacing: -0.1em;
	line-height: 0.8;
	opacity: 0.82;
	position: absolute;
	right: 2rem;
}

.svoy-code-window {
	background: var(--svoy-code-surface);
	border: 1px solid var(--svoy-border);
	border-radius: 18px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
	max-width: 31rem;
	padding: 1.2rem;
	position: relative;
	z-index: 2;
}

.svoy-code-line {
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.74rem;
	line-height: 1.9;
	margin: 0 !important;
}

.svoy-code-line strong { color: var(--wp--preset--color--acid); }
.svoy-code-line em { color: var(--wp--preset--color--lavender); font-style: normal; }

.svoy-token-row {
	display: flex !important;
	gap: 0.65rem;
	position: relative;
	z-index: 2;
}

.svoy-token {
	border: 1px solid var(--svoy-border-strong);
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
	height: 4.2rem;
	margin: 0 !important;
	width: 4.2rem;
}

.svoy-token--one { background: #7c5cff; }
.svoy-token--two { background: #45e6d0; }
.svoy-token--three { background: #ff6fd8; }
.svoy-token--four { background: #f7f8fc; }

/* Bento features */
.svoy-bento {
	display: grid !important;
	grid-template-columns: repeat(12, 1fr);
	gap: 1rem;
}

.svoy-bento-card {
	background: var(--svoy-card-surface);
	border: 1px solid var(--svoy-border);
	border-radius: var(--svoy-radius);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
	grid-column: span 6;
	min-height: 23rem;
	overflow: hidden;
	padding: clamp(1.5rem, 3vw, 2.4rem);
	position: relative;
	transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.svoy-bento-card:hover {
	border-color: rgba(124, 92, 255, 0.5);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3), 0 0 55px rgba(124, 92, 255, 0.1);
	transform: translateY(-5px);
}

.svoy-bento-card--large { grid-column: span 7; }
.svoy-bento-card--side { grid-column: span 5; }
.svoy-bento-card--aurora {
	background:
		radial-gradient(circle at 80% 18%, rgba(69, 230, 208, 0.18), transparent 28%),
		linear-gradient(145deg, rgba(124, 92, 255, 0.17), rgba(255, 255, 255, 0.02));
}

.svoy-card-index {
	color: var(--wp--preset--color--acid);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.svoy-bento-card h3 { max-width: 12ch; }
.svoy-bento-card > p:last-child { color: var(--wp--preset--color--muted); max-width: 31rem; }

.svoy-mini-stack {
	display: grid !important;
	gap: 0.65rem;
	margin-top: 2rem !important;
}

.svoy-mini-row {
	align-items: center;
	background: var(--svoy-soft-surface);
	border: 1px solid var(--svoy-border);
	border-radius: 12px;
	display: flex !important;
	justify-content: space-between;
	margin: 0 !important;
	padding: 0.82rem 0.95rem;
}

.svoy-mini-row p { margin: 0; }

.svoy-orbit {
	border: 1px solid rgba(124, 92, 255, 0.28);
	border-radius: 999px;
	height: 15rem;
	margin: 2rem auto 0 !important;
	position: relative;
	width: 15rem;
}

.svoy-orbit::before,
.svoy-orbit::after {
	border: 1px solid rgba(69, 230, 208, 0.2);
	border-radius: inherit;
	content: "";
	inset: 1.8rem;
	position: absolute;
}

.svoy-orbit::after {
	background: linear-gradient(135deg, var(--wp--preset--color--electric), var(--wp--preset--color--acid));
	border: 0;
	box-shadow: 0 0 70px rgba(124, 92, 255, 0.42);
	inset: 4.6rem;
}

.svoy-orbit-dot {
	background: var(--wp--preset--color--signal);
	border-radius: 50%;
	box-shadow: 0 0 24px rgba(255, 111, 216, 0.65);
	height: 1rem;
	left: 50%;
	margin: 0 !important;
	position: absolute;
	top: -0.5rem;
	transform: translateX(-50%);
	width: 1rem;
}

.svoy-style-swatches {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.65rem;
	margin-top: 2rem !important;
}

.svoy-style-swatch {
	border: 1px solid var(--svoy-border);
	border-radius: 13px;
	min-height: 7rem;
	position: relative;
}

.svoy-style-swatch:first-child { background: linear-gradient(145deg, #7c5cff, #1b2030); }
.svoy-style-swatch:nth-child(2) { background: linear-gradient(145deg, #45e6d0, #11141c); }
.svoy-style-swatch:nth-child(3) { background: linear-gradient(145deg, #f7f8fc, #9ba3b5); }

/* Showcase */
.svoy-showcase {
	background: linear-gradient(180deg, transparent, rgba(124, 92, 255, 0.055), transparent) !important;
}

.svoy-showcase-grid {
	display: grid !important;
	gap: 1rem;
	grid-template-columns: repeat(12, 1fr);
}

.svoy-project-card {
	background: var(--svoy-project-surface) !important;
	border: 1px solid var(--svoy-border) !important;
	border-radius: var(--svoy-radius-lg);
	box-shadow: var(--svoy-shadow), inset 0 1px rgba(255, 255, 255, 0.06);
	grid-column: span 6;
	min-height: 35rem;
	overflow: hidden;
	padding: clamp(1.5rem, 3vw, 2.5rem) !important;
	position: relative;
	transition: border-color 240ms ease, transform 240ms ease;
}

.svoy-project-card:hover {
	border-color: rgba(124, 92, 255, 0.55) !important;
	transform: translateY(-5px);
}

.svoy-project-card--wide { grid-column: span 7; }
.svoy-project-card--narrow { grid-column: span 5; }
.svoy-project-card--full { grid-column: 1 / -1; min-height: 28rem; }

.svoy-project-visual {
	background:
		radial-gradient(circle at 75% 25%, rgba(124, 92, 255, 0.38), transparent 28%),
		linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015));
	border: 1px solid var(--svoy-border);
	border-radius: 18px;
	min-height: 20rem;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.svoy-project-visual::before {
	background: rgba(255, 255, 255, 0.9);
	border-radius: 22px;
	bottom: -8%;
	content: "";
	height: 80%;
	left: 10%;
	position: absolute;
	transform: rotate(-5deg);
	width: 63%;
}

.svoy-project-visual::after {
	background: linear-gradient(145deg, var(--wp--preset--color--electric), var(--wp--preset--color--signal));
	border-radius: 50%;
	box-shadow: 0 0 70px rgba(124, 92, 255, 0.4);
	content: "";
	height: 9rem;
	position: absolute;
	right: 7%;
	top: 12%;
	width: 9rem;
}

.svoy-project-visual--aqua::after {
	background: linear-gradient(145deg, var(--wp--preset--color--acid), #4b8dff);
	border-radius: 30% 70% 62% 38%;
}

.svoy-project-visual--full {
	background:
		radial-gradient(circle at 20% 50%, rgba(255, 111, 216, 0.26), transparent 26%),
		radial-gradient(circle at 76% 38%, rgba(69, 230, 208, 0.18), transparent 30%),
		#0b0e15;
	display: grid;
	min-height: 14rem;
	place-items: center;
}

.svoy-project-visual--full::before {
	background: linear-gradient(135deg, rgba(124, 92, 255, 0.3), rgba(69, 230, 208, 0.12));
	border: 1px solid var(--svoy-border-strong);
	border-radius: 20px;
	height: 66%;
	inset: auto;
	transform: rotate(-2deg);
	width: 60%;
}

.svoy-project-visual--full::after {
	border-radius: 20px;
	height: 58%;
	right: 12%;
	top: 21%;
	transform: rotate(5deg);
	width: 28%;
}

html[data-svoy-theme="light"] .svoy-project-visual:not(.svoy-project-visual--full)::before {
	background: linear-gradient(145deg, #1a1d28, #30364a);
}

.svoy-project-meta {
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Posts */
.svoy-notes {
	background: transparent !important;
}

.svoy-query .wp-block-post-template {
	gap: 1rem;
}

.svoy-post-card {
	background: var(--svoy-post-surface);
	border: 1px solid var(--svoy-border) !important;
	border-radius: var(--svoy-radius);
	height: 100%;
	overflow: hidden;
	padding: 1rem !important;
	transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.svoy-post-card:hover {
	background: var(--svoy-post-surface-hover);
	border-color: var(--svoy-border-strong) !important;
	transform: translateY(-4px);
}

.svoy-post-card .wp-block-post-featured-image {
	border: 0 !important;
	border-radius: 14px;
	overflow: hidden;
}

.svoy-post-card .wp-block-post-title a { text-decoration: none; }
.svoy-post-card .wp-block-post-excerpt { color: var(--wp--preset--color--muted); }

/* WooCommerce color-mode integration */
html[data-svoy-theme="dark"] :is(
	.wc-block-components-text-input input,
	.wc-block-components-textarea,
	.wc-block-components-combobox .components-combobox-control__input,
	.wc-block-components-totals-coupon__input input
) {
	background: var(--wp--preset--color--paper) !important;
	border-color: var(--svoy-border-strong) !important;
	box-shadow: none !important;
	color: var(--wp--preset--color--ink) !important;
	color-scheme: dark;
}

html[data-svoy-theme="dark"] :is(
	.wc-block-components-text-input input,
	.wc-block-components-textarea,
	.wc-block-components-combobox .components-combobox-control__input,
	.wc-block-components-totals-coupon__input input
):focus {
	border-color: var(--wp--preset--color--acid) !important;
	box-shadow: 0 0 0 3px rgba(69, 230, 208, 0.14) !important;
	outline: 2px solid var(--wp--preset--color--acid);
	outline-offset: 2px;
}

html[data-svoy-theme="dark"] :is(
	.wc-block-components-text-input input,
	.wc-block-components-textarea,
	.wc-block-components-combobox .components-combobox-control__input,
	.wc-block-components-totals-coupon__input input
)::placeholder {
	color: var(--wp--preset--color--muted) !important;
	opacity: 0.78;
}

html[data-svoy-theme="dark"] .wc-block-components-text-input label,
html[data-svoy-theme="dark"] .wc-blocks-components-select__label {
	color: var(--wp--preset--color--muted) !important;
}

html[data-svoy-theme="dark"] .wc-blocks-components-select__container {
	background: var(--wp--preset--color--paper) !important;
	border-radius: 4px;
}

html[data-svoy-theme="dark"] .wc-blocks-components-select__select {
	background: transparent !important;
	border-color: var(--svoy-border-strong) !important;
	color: var(--wp--preset--color--ink) !important;
	color-scheme: dark;
}

html[data-svoy-theme="dark"] .wc-blocks-components-select__select:focus {
	border-color: var(--wp--preset--color--acid) !important;
	box-shadow: 0 0 0 3px rgba(69, 230, 208, 0.14) !important;
	outline: 2px solid var(--wp--preset--color--acid);
	outline-offset: 2px;
}

html[data-svoy-theme="dark"] .wc-blocks-components-select__select option {
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
}

html[data-svoy-theme="dark"] .wc-blocks-components-select__expand {
	fill: var(--wp--preset--color--ink) !important;
}

html[data-svoy-theme="dark"] .wc-block-components-checkbox__input {
	background: var(--wp--preset--color--paper) !important;
	border-color: var(--svoy-border-strong) !important;
	color-scheme: dark;
}

html[data-svoy-theme="dark"] .wc-block-components-checkbox__input:checked {
	background: var(--wp--preset--color--electric) !important;
	border-color: var(--wp--preset--color--electric) !important;
}

html[data-svoy-theme="dark"] .wc-block-components-checkbox__mark {
	fill: #ffffff !important;
}

html[data-svoy-theme="dark"] .wc-block-components-radio-control__input {
	accent-color: var(--wp--preset--color--electric);
	color-scheme: dark;
}

html[data-svoy-theme="dark"] .wp-block-woocommerce-checkout-order-summary-block {
	background: rgba(17, 20, 28, 0.7);
	border-color: var(--svoy-border-strong) !important;
	border-radius: 16px !important;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
	overflow: hidden;
}

html[data-svoy-theme="dark"] .wc-block-components-order-summary-item__image img {
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--svoy-border);
	border-radius: 9px;
}

html[data-svoy-theme="dark"] .wc-block-components-order-summary-item__image img[src*="woocommerce-placeholder"] {
	filter: invert(0.88) hue-rotate(180deg);
	opacity: 0.72;
}

.wc-block-components-order-summary-item__quantity {
	background: var(--wp--preset--color--ink) !important;
	border-color: var(--wp--preset--color--ink) !important;
	color: #ffffff !important;
}

html[data-svoy-theme="dark"] .wc-block-components-order-summary-item__quantity {
	background: var(--wp--preset--color--electric) !important;
	box-shadow: 0 0 0 2px var(--wp--preset--color--canvas);
	font-weight: 750;
}

html[data-svoy-theme="dark"] .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	background: var(--svoy-soft-surface);
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--electric) !important;
}

html[data-svoy-theme="dark"] .wc-block-components-quantity-selector {
	background: var(--wp--preset--color--paper);
	border-color: var(--svoy-border-strong) !important;
}

html[data-svoy-theme="dark"] .wc-block-components-quantity-selector :is(input, button) {
	color: var(--wp--preset--color--ink) !important;
}

html[data-svoy-theme="dark"] .wc-block-components-text-input input:-webkit-autofill,
html[data-svoy-theme="dark"] .wc-block-components-text-input input:-webkit-autofill:hover,
html[data-svoy-theme="dark"] .wc-block-components-text-input input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--wp--preset--color--ink) !important;
	box-shadow: 0 0 0 1000px var(--wp--preset--color--paper) inset !important;
}

html[data-svoy-theme="light"] .wp-block-button:not(.is-style-outline):not(.svoy-theme-switcher__trigger) > .wp-block-button__link:not(.has-text-color) {
	color: #ffffff;
}

html[data-svoy-theme="light"] .wc-block-mini-cart__footer-checkout.wp-element-button,
html[data-svoy-theme="light"] .wc-block-mini-cart__footer-checkout.wp-element-button:hover,
html[data-svoy-theme="light"] .wc-block-mini-cart__footer-checkout.wp-element-button:focus-visible,
html[data-svoy-theme="light"] .wc-block-mini-cart__footer-checkout.wp-element-button:visited,
html[data-svoy-theme="light"] .wc-block-components-checkout-place-order-button.wp-element-button,
html[data-svoy-theme="light"] .wc-block-components-checkout-place-order-button.wp-element-button:hover,
html[data-svoy-theme="light"] .wc-block-components-checkout-place-order-button.wp-element-button:focus-visible,
html[data-svoy-theme="light"] .wc-block-components-totals-coupon__button.wp-element-button,
html[data-svoy-theme="light"] .wc-block-components-totals-coupon__button.wp-element-button:hover,
html[data-svoy-theme="light"] .wc-block-components-totals-coupon__button.wp-element-button:focus-visible,
html[data-svoy-theme="light"] .wc-block-cart__submit-button.wp-element-button,
html[data-svoy-theme="light"] .wc-block-cart__submit-button.wp-element-button:hover,
html[data-svoy-theme="light"] .wc-block-cart__submit-button.wp-element-button:focus-visible,
html[data-svoy-theme="light"] .wc-block-cart__submit-button.wp-element-button:visited {
	color: #ffffff !important;
}

/* Closing CTA */
.svoy-cta {
	background: transparent !important;
	overflow: hidden;
}

.svoy-cta__panel {
	--wp--preset--color--acid: #45e6d0;
	--wp--preset--color--canvas: #080a0f;
	--wp--preset--color--ink: #f7f8fc;
	--wp--preset--color--muted: #aeb5c5;
	--svoy-border: rgba(255, 255, 255, 0.12);
	--svoy-border-strong: rgba(255, 255, 255, 0.24);
	--svoy-soft-surface: rgba(255, 255, 255, 0.07);
	background:
		radial-gradient(circle at 12% 18%, rgba(255, 111, 216, 0.25), transparent 25rem),
		radial-gradient(circle at 86% 82%, rgba(69, 230, 208, 0.18), transparent 23rem),
		linear-gradient(135deg, #1b1734, #11152a 52%, #0c1820);
	border: 1px solid var(--svoy-border-strong);
	border-radius: clamp(24px, 4vw, 44px);
	box-shadow: 0 40px 120px rgba(37, 26, 110, 0.4), inset 0 1px rgba(255, 255, 255, 0.09);
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

/* The CTA is intentionally dark in every site mode, so its content must not
   inherit the Luminous palette selected on the page. */
.svoy-cta__panel .svoy-cta-title {
	color: #f7f8fc;
}

.svoy-cta__panel .has-muted-color {
	color: #aeb5c5 !important;
}

.svoy-cta__panel .has-acid-color {
	color: #45e6d0 !important;
}

.svoy-cta__panel .has-ink-background-color {
	background-color: #f7f8fc !important;
}

.svoy-cta__panel .has-canvas-color {
	color: #080a0f !important;
}

.svoy-cta__panel .is-style-outline > .wp-block-button__link {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.24);
	color: #f7f8fc;
}

.svoy-cta__panel .is-style-outline > .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.13);
	border-color: rgba(255, 255, 255, 0.4);
}

.svoy-cta__panel::before {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 52px 52px;
	content: "";
	inset: 0;
	mask-image: radial-gradient(circle at center, #000, transparent 78%);
	opacity: 0.5;
	position: absolute;
	z-index: -1;
}

.svoy-cta-title { max-width: 14ch; }

.svoy-error {
	background:
		radial-gradient(circle at 78% 22%, rgba(255, 111, 216, 0.2), transparent 26rem),
		radial-gradient(circle at 20% 75%, rgba(69, 230, 208, 0.1), transparent 24rem),
		transparent !important;
}

.svoy-error__panel {
	background: var(--svoy-card-surface);
	border: 1px solid var(--svoy-border);
	border-radius: var(--svoy-radius-lg);
	box-shadow: var(--svoy-shadow);
}

/* Footer */
.svoy-footer {
	background: transparent !important;
}

.svoy-footer__inner {
	border-top: 1px solid var(--svoy-border);
}

.svoy-footer :is(.wp-block-navigation, .wp-block-site-title) a { text-decoration: none; }

/* Existing composable styles */
.is-style-svoy-plain-list {
	list-style: none;
	padding-inline-start: 0;
}

.is-style-svoy-plain-list li {
	border-top: 1px solid var(--svoy-border);
	padding-block: 0.78rem;
}

.is-style-svoy-plain-list li:last-child { border-bottom: 1px solid var(--svoy-border); }

.wp-block-navigation__responsive-container.is-menu-open {
	background:
		radial-gradient(circle at 82% 15%, rgba(124, 92, 255, 0.3), transparent 18rem),
		radial-gradient(circle at 12% 88%, rgba(69, 230, 208, 0.13), transparent 17rem),
		var(--wp--preset--color--canvas) !important;
	padding: var(--wp--preset--spacing--40);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: flex-start;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 650;
	letter-spacing: -0.04em;
	line-height: 1.05;
	min-height: calc(100vh - 3rem);
	padding-bottom: 0;
	padding-top: 8vh;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: flex-start !important;
	gap: 0 !important;
	width: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	align-items: flex-start !important;
	border-bottom: 1px solid var(--svoy-border);
	font-size: clamp(2.6rem, 12vw, 4rem) !important;
	justify-content: flex-start !important;
	line-height: 1 !important;
	padding-block: 0.68rem;
	width: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	opacity: 1;
	width: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open .svoy-mobile-only {
	display: flex;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content::after {
	background:
		radial-gradient(circle at 76% 45%, rgba(69, 230, 208, 0.82) 0 1.8rem, rgba(75, 141, 255, 0.72) 1.85rem 3.5rem, transparent 3.55rem),
		radial-gradient(circle at 25% 60%, rgba(255, 111, 216, 0.32), transparent 5.5rem),
		linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(255, 255, 255, 0.02));
	border: 1px solid var(--svoy-border-strong);
	border-radius: 20px;
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 20px 60px rgba(0, 0, 0, 0.26);
	content: "";
	flex: 0 0 9rem;
	margin-top: auto;
	width: 100%;
}

/* Progressive motion */
@keyframes svoy-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

@keyframes svoy-orbit {
	to { transform: translateX(-50%) rotate(360deg); transform-origin: 0 8rem; }
}

@keyframes svoy-pulse {
	0%, 100% { opacity: 0.65; transform: scale(0.96); }
	50% { opacity: 1; transform: scale(1.04); }
}

.svoy-float-card--top { animation: svoy-float 5s ease-in-out infinite; }
.svoy-float-card--bottom { animation: svoy-float 6s ease-in-out -2s infinite; }
.svoy-orbit-dot { animation: svoy-orbit 8s linear infinite; }
.svoy-editor-canvas::after { animation: svoy-pulse 7s ease-in-out infinite; }

@supports (animation-timeline: view()) {
	.svoy-bento-card,
	.svoy-project-card,
	.svoy-token-panel {
		animation: svoy-reveal linear both;
		animation-range: entry 5% cover 28%;
		animation-timeline: view();
	}

	@keyframes svoy-reveal {
		from { opacity: 0; transform: translateY(28px) scale(0.985); }
		to { opacity: 1; transform: translateY(0) scale(1); }
	}
}

@media (max-width: 1100px) {
	.svoy-hero-title { font-size: clamp(4rem, 9vw, 7rem) !important; }
	.svoy-hero__visual { min-height: 33rem; }
	.svoy-bento-card--large,
	.svoy-bento-card--side { grid-column: span 6; }
}

@media (max-width: 781px) {
	.svoy-header { padding-block: 0.65rem !important; }
	.svoy-header__inner { border-radius: 20px; padding-left: 0.85rem; }
	.svoy-header .svoy-header__cta { display: none; }
	.svoy-header .svoy-theme-switcher { display: flex; }
	.svoy-header .wp-block-site-logo { display: none; }
	.svoy-theme-menu { right: -0.25rem; }

	.svoy-hero { min-height: auto; }
	.svoy-hero-title { font-size: clamp(3.65rem, 16vw, 6.2rem) !important; max-width: 9ch; }
	.svoy-hero__visual { min-height: 31rem; }
	.svoy-editor-window { inset: 3.5rem 0 1.5rem; transform: rotateY(0) rotateX(0); }
	.svoy-float-card--top { right: -0.5rem; }
	.svoy-float-card--bottom { left: -0.5rem; }

	.svoy-proof-grid { grid-template-columns: repeat(2, 1fr); }
	.svoy-proof-item:nth-child(2) { border-right: 0; }
	.svoy-proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--svoy-border); }

	.svoy-bento-card,
	.svoy-bento-card--large,
	.svoy-bento-card--side,
	.svoy-project-card,
	.svoy-project-card--wide,
	.svoy-project-card--narrow,
	.svoy-project-card--full { grid-column: 1 / -1; }
	.svoy-bento-card { min-height: 20rem; }
	.svoy-project-card { min-height: 29rem; }
	.svoy-token-panel { min-height: 30rem; }
}

@media (max-width: 480px) {
	.svoy-post-navigation > .wp-block-post-navigation-link {
		flex-basis: 100%;
	}

	.svoy-post-navigation .post-navigation-link-next {
		justify-content: flex-start;
		margin-inline-start: 0;
		text-align: start;
	}

	.svoy-hero-title { font-size: clamp(3.25rem, 17vw, 4.9rem) !important; }
	.svoy-editor-layout { grid-template-columns: 3.5rem 1fr; }
	.svoy-editor-sidebar { padding-top: 0.8rem; }
	.svoy-tool { height: 1.7rem; width: 1.7rem; }
	.svoy-editor-canvas { margin: 0.7rem !important; padding: 1rem; }
	.svoy-canvas-title { font-size: 2.35rem !important; }
	.svoy-float-card { font-size: 0.7rem; padding: 0.7rem; }
	.svoy-style-swatches { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
