/* ==========================================================================
   YWS Studio – main stylesheet
   Colours, fonts, sizes come from Theme Options as CSS variables (see inc/dynamic-css.php).
   ========================================================================== */

:root {
	--c-bg: #09090D;
	--c-bg-2: #111016;
	--c-card: #18151F;
	--c-accent: #B64EFF;
	--c-accent-soft: #D59AFF;
	--c-text: #F5F2F7;
	--c-text-2: #AAA5B2;
	--c-border: #292330;
	--c-accent-rgb: 182, 78, 255;
	--c-a10: rgba(var(--c-accent-rgb), .10);
	--c-a20: rgba(var(--c-accent-rgb), .20);
	--c-a35: rgba(var(--c-accent-rgb), .35);
	--c-dim: #6f6878;
	--c-success: #7BD7A6;
	--c-error: #FF8A9A;

	--f-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--f-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--fs-base: 16px;
	--h-scale: 1;
	--fs-hero: calc(clamp(2.8rem, 1.5rem + 5.2vw, 6.2rem) * var(--h-scale));
	--fs-h2: calc(clamp(2.2rem, 1.4rem + 3.2vw, 4.3rem) * var(--h-scale));
	--fs-h3: calc(clamp(1.4rem, 1.15rem + .8vw, 1.85rem) * var(--h-scale));

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section-y: clamp(72px, 9vw, 140px);
	--radius: 20px;
	--radius-sm: 12px;
	--btn-radius: 100px;
	--header-h: 76px;
	--ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: var(--fs-base); }
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--f-body);
	font-size: 1rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	overflow-x: clip;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--c-accent); color: #fff; }
:focus-visible { outline: 2px solid var(--c-accent-soft); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-display); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--c-text); }
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); line-height: 1.04; }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
h4 { font-size: calc(1.35rem * var(--h-scale)); }
h1 em, h2 em, h3 em, .page-title em { font-style: italic; font-weight: 500; color: var(--c-accent-soft); }
.icon { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon .f { fill: currentColor; stroke: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 300; background: var(--c-accent); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .3s; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: calc(780px + var(--gutter) * 2); }
.center { text-align: center; }

/* ---------- Buttons (theme + core/button) ---------- */
.btn,
.wp-block-button__link,
.wp-element-button,
input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px; border-radius: var(--btn-radius);
	font-family: var(--f-body); font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap;
	border: 1px solid transparent; cursor: pointer; text-decoration: none;
	transition: background .35s var(--ease), border-color .35s, color .35s, transform .35s var(--ease), box-shadow .35s;
}
.btn .icon, .wp-block-button__link .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: .875rem; }
.btn-primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link,
input[type="submit"] {
	background: var(--c-accent); color: #fff; box-shadow: 0 10px 30px -12px var(--c-a35);
}
.btn-primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
input[type="submit"]:hover {
	filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(var(--c-accent-rgb), .55); color: #fff;
}
.btn-ghost,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent; border-color: var(--c-border); color: var(--c-text);
}
.btn-ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--c-accent); color: var(--c-accent-soft); transform: translateY(-2px);
}
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 0; }
.wp-block-buttons:first-child { margin-top: 0; }
.wp-block-button { margin: 0; }

.text-link, .arrow-link a { display: inline-flex; align-items: center; gap: 8px; color: var(--c-accent-soft); font-weight: 600; font-size: .9rem; transition: gap .3s var(--ease), color .3s; }
.text-link .icon { width: 16px; height: 16px; }
.arrow-link a::after { content: "→"; transition: transform .3s var(--ease); }
.arrow-link a:hover::after, .text-link:hover .icon { transform: translateX(4px); }
.arrow-link a:hover, .text-link:hover { color: #fff; }

/* Entry links */
.entry-content a:not(.wp-block-button__link):not(.btn):not(.stretched):not([class*="yws"]) { color: var(--c-accent-soft); text-decoration: underline; text-decoration-color: var(--c-a35); text-underline-offset: 3px; transition: color .3s, text-decoration-color .3s; }
.entry-content a:not(.wp-block-button__link):not(.btn):not(.stretched):hover { color: #fff; text-decoration-color: currentColor; }
.svc-list a, .contact-info a, .post-card a, .project a, .svc a, .arrow-link a { text-decoration: none !important; color: inherit !important; }
.arrow-link a { color: var(--c-accent-soft) !important; }

/* Click whole card */
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- Header ---------- */
.site-header {
	position: relative; z-index: 100; min-height: var(--header-h); padding-block: 10px;
	display: flex; align-items: center;
	background: rgba(9, 9, 13, .9);
	border-bottom: 1px solid var(--c-border);
	transition: background .4s, border-color .4s, box-shadow .4s;
}
/* Sticky = truly fixed. It never moves, hides or changes height while scrolling. */
.has-sticky-header .site-header { position: fixed; top: 0; left: 0; right: 0; }
.has-sticky-header:not(.has-transparent-header) { padding-top: var(--header-h); }
.admin-bar.has-sticky-header .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.has-sticky-header .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar.has-sticky-header .site-header { top: 0; } }
.has-transparent-header .site-header { background: transparent; border-color: transparent; }
.has-transparent-header:not(.has-sticky-header) .site-header { position: absolute; top: 0; left: 0; right: 0; }
.admin-bar.has-transparent-header:not(.has-sticky-header) .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.has-transparent-header:not(.has-sticky-header) .site-header { top: 46px; } }
.site-header.is-scrolled { background: color-mix(in srgb, var(--c-bg) 88%, transparent); border-color: var(--c-border); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.header-logo { flex: none; }

.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; color: var(--c-text); }
.logo img { width: var(--logo-w); max-width: none; height: auto; max-height: none; object-fit: contain; object-position: left center; }
.logo-footer img { width: var(--flogo-w); max-width: 100%; }
/* Text logo (no image uploaded) also follows the width setting */
.logo-text-only.logo-header { font-size: calc(var(--logo-w) / 160 * 1.05rem); }
.logo-text-only.logo-footer { font-size: calc(var(--flogo-w) / 170 * 1.05rem); }
.logo-text-only .logo-mark { width: 2.2em; height: 2.2em; font-size: 1.25em; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; font-family: var(--f-display); font-size: 1.35rem; font-style: italic; border: 1px solid var(--c-a35); color: var(--c-accent-soft); background: var(--c-a10); }
.site-title-text em { font-family: var(--f-display); font-style: italic; font-size: 1.2em; font-weight: 500; color: var(--c-accent-soft); }

/* Desktop menu */
.primary-nav { flex: 1; display: flex; justify-content: center; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.primary-nav .menu > li { position: relative; display: flex; align-items: center; }
.primary-nav .menu > li > a { display: block; padding: 10px 14px; font-size: .9rem; color: var(--c-text-2); transition: color .3s; position: relative; }
.primary-nav .menu > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.primary-nav .menu > li:hover > a, .primary-nav .menu > li > a:focus-visible, .primary-nav .menu > .current-menu-item > a, .primary-nav .menu > .current-menu-ancestor > a { color: var(--c-text); }
.primary-nav .menu > li:hover > a::after, .primary-nav .menu > .current-menu-item > a::after, .primary-nav .menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.primary-nav .menu-item-has-children > a { padding-right: 4px; }
.sub-toggle { background: none; border: 0; padding: 6px; margin-right: 6px; color: var(--c-text-2); display: grid; place-items: center; border-radius: 6px; }
.sub-toggle .icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.primary-nav li.is-open > .sub-toggle .icon, html:not(.js) .primary-nav li:hover > .sub-toggle .icon, .sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.primary-nav .sub-menu {
	list-style: none; margin: 0; padding: 10px;
	position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px;
	background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius-sm);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.primary-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -40px; height: 40px; }
.primary-nav .menu > li.mega > .sub-menu { top: calc(100% - 4px); }
.primary-nav .menu > li.mega > .sub-menu::before { top: -70px; height: 70px; }
.primary-nav .sub-menu { pointer-events: none; }
html:not(.js) .primary-nav li:hover > .sub-menu, .primary-nav li:has(> a:focus-visible) > .sub-menu, .primary-nav li:has(> .sub-menu :focus-visible) > .sub-menu, .primary-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.primary-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .9rem; color: var(--c-text-2); transition: background .25s, color .25s; }
.primary-nav .sub-menu a:hover, .primary-nav .sub-menu .current-menu-item > a { background: var(--c-a10); color: var(--c-text); }
.primary-nav .sub-menu .sub-toggle { display: none; }
.menu-desc { display: block; font-size: .78rem; color: var(--c-dim); margin-top: 2px; line-height: 1.4; }

/* Mega menu: add CSS class "mega" to a top-level item */
.primary-nav .menu > li.mega { position: static; }
.primary-nav .menu > li.mega > .sub-menu {
	left: 50%; transform: translate(-50%, 8px); width: min(960px, calc(100vw - 48px));
	display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4px 18px; padding: 22px;
}
html:not(.js) .primary-nav .menu > li.mega:hover > .sub-menu, .primary-nav .menu > li.mega:has(> a:focus-visible) > .sub-menu, .primary-nav .menu > li.mega:has(> .sub-menu :focus-visible) > .sub-menu, .primary-nav .menu > li.mega.is-open > .sub-menu { transform: translate(-50%, 0); }
.primary-nav li.mega > .sub-menu > li.menu-item-has-children > a { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent-soft); font-weight: 600; pointer-events: none; padding-bottom: 6px; }
.primary-nav li.mega .sub-menu .sub-menu { position: static; opacity: 1; visibility: inherit; pointer-events: inherit; transform: none; box-shadow: none; border: 0; padding: 0; min-width: 0; background: none; }
.primary-nav li.mega .sub-menu .sub-menu::before { display: none; }
.primary-nav li.mega .sub-menu .sub-menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px 8px; }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--c-text-2); transition: color .3s; }
.header-phone:hover { color: var(--c-text); }
.header-phone .icon { color: var(--c-accent-soft); width: 18px; height: 18px; }

.menu-toggle { display: none; position: relative; width: 46px; height: 46px; border: 1px solid var(--c-border); border-radius: 50%; background: transparent; padding: 0; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--c-text); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-drawer {
	position: fixed; inset: 0; z-index: 90; background: var(--c-bg); overflow-y: auto;
	display: flex; flex-direction: column; gap: 28px;
	padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
	opacity: 0; visibility: hidden; transform: translateY(-12px);
	transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.menu-open { overflow: hidden; }
.menu-open .mobile-drawer { opacity: 1; visibility: visible; transform: none; }
.menu-open .site-header { background: var(--c-bg); border-color: var(--c-border); }
.admin-bar .mobile-drawer { padding-top: calc(var(--header-h) + 70px); }
.mobile-drawer .menu, .mobile-drawer .sub-menu { list-style: none; margin: 0; padding: 0; }
.mobile-drawer .menu > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--c-border); }
.mobile-drawer .menu > li > a { flex: 1; font-family: var(--f-display); font-size: clamp(1.8rem, 7vw, 2.5rem); line-height: 1.3; padding: 8px 0; }
.mobile-drawer .menu > li > a:hover, .mobile-drawer .current-menu-item > a { color: var(--c-accent-soft); }
.mobile-drawer .sub-toggle { width: 44px; height: 44px; border: 1px solid var(--c-border); border-radius: 50%; margin: 0; }
.mobile-drawer .sub-menu { width: 100%; display: none; padding: 4px 0 14px 4px; }
.mobile-drawer li.is-open > .sub-menu { display: block; }
.mobile-drawer .sub-menu a { display: block; padding: 8px 0; color: var(--c-text-2); font-size: 1rem; }
.mobile-drawer .sub-menu .sub-menu { display: block; padding: 0 0 8px 14px; border-left: 1px solid var(--c-border); }
.mobile-drawer .sub-menu > .menu-item-has-children > a { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent-soft); padding-top: 14px; }
.mobile-drawer .sub-menu .sub-toggle { display: none; }
.mobile-drawer .sub-menu a:hover { color: var(--c-text); }
.mobile-drawer .menu-desc { display: none; }
.drawer-foot { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.drawer-foot .btn { width: 100%; }
.drawer-foot .socials { justify-content: center; margin-top: 8px; }

@media (max-width: 1100px) {
	.primary-nav, .header-actions .header-cta, .header-actions .header-phone { display: none !important; }
	.menu-toggle { display: block; }
}
@media (max-width: 600px) {
	.logo img { width: var(--logo-w-m); max-width: 62vw; }
	.logo-text-only.logo-header { font-size: calc(var(--logo-w-m) / 160 * 1.05rem); }
}

/* ---------- Layout helpers for block content ---------- */
.entry-content > * { margin-block-start: 0; margin-block-end: 0; }
.landing-content > .alignfull:first-child.yws-section { padding-top: calc(var(--section-y) * .8); }
.page-content { padding: clamp(40px, 6vw, 80px) var(--gutter) var(--section-y); }
.page-content > *:not(.alignfull):not(.alignwide) { max-width: 780px; }
.page-content > * + * { margin-block-start: 1.3em; }
.page-content > .alignfull { margin-inline: calc(var(--gutter) * -1); }
.alignwide { max-width: 1400px; }

.yws-section { padding: var(--section-y) var(--gutter); position: relative; }
.yws-section.yws-section-tight { padding-block: calc(var(--section-y) * .55); }
.yws-section > * + *, .is-style-yws-card > * + *, .wp-block-column > * + * { margin-block-start: 1.25rem; }
.yws-section > .wp-block-columns + *, .yws-section > .section-head + * { margin-block-start: 0; }
.is-style-yws-alt { background: var(--c-bg-2); border-block: 1px solid var(--c-border); }
.is-style-yws-alt + .is-style-yws-alt { border-top: 0; }

.section-head { margin-bottom: clamp(40px, 6vw, 72px) !important; gap: 28px !important; align-items: flex-end !important; }
.section-head h2 { margin-bottom: 0; }
.section-intro { color: var(--c-text-2); max-width: 460px; }
.has-text-align-center.section-intro { margin-inline: auto; }

/* Block styles: text */
.is-style-yws-label, .section-label {
	display: flex; align-items: center; gap: 12px;
	font-family: var(--f-body); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
	color: var(--c-accent-soft); margin-bottom: 1.4rem !important;
}
.is-style-yws-label::before, .section-label::before { content: ""; width: 28px; height: 1px; background: var(--c-accent); }
.has-text-align-center.is-style-yws-label { display: flex; justify-content: center; }
.is-style-yws-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--c-text); line-height: 1.65; }
.is-style-yws-display { font-size: var(--fs-hero) !important; line-height: .98 !important; letter-spacing: -.025em; }
h2.is-style-yws-display { font-size: calc(clamp(2.6rem, 1.6rem + 4.2vw, 5.4rem) * var(--h-scale)) !important; }

/* Block styles: columns */
.wp-block-columns { gap: clamp(24px, 3vw, 40px); margin-bottom: 0; }
.wp-block-columns.is-style-yws-gap-lg { gap: clamp(40px, 6vw, 96px); }
.wp-block-columns.v-center { align-items: center !important; }
.intro-cols { align-items: flex-end !important; }
.equal-cards > .wp-block-column { display: flex; }
.equal-cards > .wp-block-column > * { flex: 1; }
@media (min-width: 900px) {
	.sticky-cols > .wp-block-column:first-child { position: sticky; top: calc(var(--header-h) + 30px); align-self: flex-start; }
}
@media (max-width: 899px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) { flex-wrap: wrap !important; }
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; }
}

/* Block style: card */
.is-style-yws-card {
	position: relative; background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius);
	padding: clamp(26px, 3vw, 40px); transition: border-color .45s var(--ease), transform .45s var(--ease);
	display: flex; flex-direction: column;
}
.is-style-yws-card:hover { border-color: var(--c-a35); }
.is-style-yws-card > .wp-block-buttons { margin-top: auto !important; padding-top: 1.6rem; }
.is-style-yws-card.featured { background: linear-gradient(165deg, color-mix(in srgb, var(--c-accent) 14%, var(--c-card)) 0%, var(--c-card) 55%); border-color: var(--c-a35); }
.card-badge { position: absolute; top: 22px; right: 22px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; background: var(--c-accent); color: #fff; margin: 0 !important; }
.is-style-yws-card h3 { margin-bottom: .4rem; }
.is-style-yws-card p { color: var(--c-text-2); }
.form-card { padding: clamp(22px, 3.2vw, 44px); }

/* Block style: glow CTA */
.is-style-yws-glow {
	position: relative; text-align: center; border-radius: calc(var(--radius) + 8px);
	border: 1px solid var(--c-a20); padding: clamp(56px, 9vw, 120px) var(--gutter); overflow: hidden;
	background: radial-gradient(ellipse 60% 70% at 50% 110%, rgba(var(--c-accent-rgb), .22), transparent 70%), var(--c-bg-2);
}
.is-style-yws-glow > * { margin-inline: auto; }
.is-style-yws-glow .wp-block-buttons { justify-content: center; }
.is-style-yws-glow .wp-block-shortcode, .is-style-yws-glow > p:has(.btn) { margin-top: 12px; }

/* Block style: lists */
.wp-block-list { padding-left: 1.2em; }
.entry-content ul:not([class*="is-style"]) li::marker { color: var(--c-accent); }

.is-style-yws-check { list-style: none; padding: 0; display: grid; gap: 12px; }
.is-style-yws-check li { position: relative; padding-left: 28px; }
.is-style-yws-check li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 6px; border-left: 1.5px solid var(--c-accent-soft); border-bottom: 1.5px solid var(--c-accent-soft); transform: rotate(-45deg); }

.is-style-yws-pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.is-style-yws-pills.center { justify-content: center; }
.is-style-yws-pills li { padding: 7px 16px; border: 1px solid var(--c-border); border-radius: 100px; font-size: .88rem; color: var(--c-text-2); background: rgba(255, 255, 255, .02); transition: border-color .3s, color .3s; }
.is-style-yws-pills li:hover { border-color: var(--c-a35); color: var(--c-text); }
.hero-points { margin-top: 2.6rem !important; padding-top: 1.6rem !important; border-top: 1px solid var(--c-border); }
.hero-points li { border: 0; padding: 0 18px 0 16px; background: none; position: relative; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--c-accent); }

.is-style-yws-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(36px, 5vw, 60px) !important; counter-reset: card; }
.is-style-yws-cards li {
	counter-increment: card; position: relative; padding: clamp(26px, 3vw, 36px); border: 1px solid var(--c-border); border-radius: var(--radius);
	background: var(--c-card); color: var(--c-text-2); font-size: .95rem; transition: border-color .4s, transform .4s var(--ease);
}
.is-style-yws-alt .is-style-yws-cards li { background: var(--c-bg); }
.is-style-yws-cards li::before { content: counter(card, decimal-leading-zero); display: block; font-size: .72rem; letter-spacing: .16em; color: var(--c-dim); margin-bottom: 18px; }
.is-style-yws-cards li strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: calc(1.5rem * var(--h-scale)); line-height: 1.15; color: var(--c-text); margin-bottom: 6px; }
.is-style-yws-cards li strong + br { display: none; }
.is-style-yws-cards li:hover { border-color: var(--c-a35); transform: translateY(-4px); }
@media (max-width: 900px) { .is-style-yws-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .is-style-yws-cards { grid-template-columns: 1fr; } }

.is-style-yws-steps { list-style: none; padding: 0; position: relative; counter-reset: step; }
.is-style-yws-steps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: var(--c-border); }
.is-style-yws-steps::after { content: ""; position: absolute; left: 27px; top: 28px; width: 1px; height: var(--progress, 0%); max-height: calc(100% - 56px); background: linear-gradient(var(--c-accent), var(--c-accent-soft)); transition: height .5s var(--ease); }
.is-style-yws-steps li { counter-increment: step; position: relative; padding: 0 0 clamp(34px, 5vw, 54px) 84px; color: var(--c-text-2); min-height: 56px; }
.is-style-yws-steps li:last-child { padding-bottom: 0; }
.is-style-yws-steps li::before {
	content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; z-index: 1;
	width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; letter-spacing: .08em;
	border: 1px solid var(--c-border); background: var(--c-bg-2); color: var(--c-text-2); transition: all .5s var(--ease);
}
.is-style-yws-steps li.is-active::before { border-color: var(--c-accent); color: #fff; background: var(--c-a20); box-shadow: 0 0 0 6px var(--c-a10); }
.is-style-yws-steps li strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: var(--fs-h3); line-height: 1.15; color: var(--c-text); margin: 10px 0 8px; }
.is-style-yws-steps li strong + br { display: none; }
.no-js .is-style-yws-steps li::before, .no-anim .is-style-yws-steps li::before { border-color: var(--c-a35); }

/* Marquee */
.yws-strip { border-block: 1px solid var(--c-border); background: var(--c-bg-2); overflow: hidden; padding: 22px 0 !important; }
.is-style-yws-marquee { list-style: none; padding: 0; margin: 0; display: flex; width: max-content; animation: yws-marquee 40s linear infinite; }
.yws-strip:hover .is-style-yws-marquee { animation-play-state: paused; }
.is-style-yws-marquee li { display: flex; align-items: center; gap: 44px; padding-right: 44px; white-space: nowrap; font-family: var(--f-display); font-style: italic; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); color: var(--c-text-2); }
.is-style-yws-marquee li::after { content: ""; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--c-accent); }
@keyframes yws-marquee { to { transform: translateX(-50%); } }
.editor-styles-wrapper .is-style-yws-marquee { animation: none; flex-wrap: wrap; width: auto; }

/* Image */
.wp-block-image { margin: 0; }
.wp-block-image img { border-radius: var(--radius-sm); }
.is-style-yws-rounded img { border-radius: var(--radius); border: 1px solid var(--c-border); width: 100%; }
.wp-block-image figcaption { color: var(--c-text-2); font-size: .85rem; text-align: center; margin-top: 10px; }

/* FAQ (core/details) */
.wp-block-details { border-bottom: 1px solid var(--c-border); }
.is-style-yws-faq { border-top: 1px solid var(--c-border); }
.is-style-yws-faq > * + * { margin-top: 0 !important; }
.wp-block-details summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 24px 0; font-family: var(--f-body); font-weight: 500; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); transition: color .3s;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--c-border);
	display: grid; place-items: center; font-size: 1.2rem; line-height: 1; color: var(--c-text-2); transition: transform .45s var(--ease), background .35s, border-color .35s, color .35s;
}
.wp-block-details summary:hover { color: var(--c-accent-soft); }
.wp-block-details[open] summary::after { transform: rotate(45deg); background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.wp-block-details > *:not(summary) { color: var(--c-text-2); padding-bottom: 24px; max-width: 640px; margin: 0; }
.wp-block-details[open] > *:not(summary) { animation: yws-fade .45s var(--ease); }
@keyframes yws-fade { from { opacity: 0; transform: translateY(-6px); } }

/* Separator, quote, table, code */
.wp-block-separator { border: 0; border-top: 1px solid var(--c-border); margin: 2.5em auto; opacity: 1; }
.wp-block-quote { border-left: 2px solid var(--c-accent); padding: 4px 0 4px 24px; margin: 2em 0; font-family: var(--f-display); font-size: 1.5rem; line-height: 1.35; font-style: italic; }
.wp-block-quote cite { display: block; font-family: var(--f-body); font-style: normal; font-size: .85rem; color: var(--c-text-2); margin-top: 10px; }
.wp-block-pullquote { border-color: var(--c-border); }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.wp-block-table th, .wp-block-table td { border: 1px solid var(--c-border); padding: 12px 14px; text-align: left; }
.wp-block-table th { background: var(--c-card); }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
:not(pre) > code { background: var(--c-card); border: 1px solid var(--c-border); border-radius: 6px; padding: 2px 6px; }
pre, .wp-block-code { background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 20px; overflow-x: auto; }
.wp-block-embed iframe { border-radius: var(--radius-sm); }
.wp-block-shortcode { margin: 0; }

/* ---------- Hero ---------- */
.yws-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) var(--gutter) clamp(64px, 8vw, 110px) !important; }
.yws-hero::before {
	content: ""; position: absolute; top: -10%; right: -10%; width: min(800px, 90vw); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, rgba(var(--c-accent-rgb), .2) 0%, rgba(var(--c-accent-rgb), .06) 40%, transparent 70%);
}
.yws-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .28;
	background-image: linear-gradient(var(--c-border) 1px, transparent 1px), linear-gradient(90deg, var(--c-border) 1px, transparent 1px);
	background-size: 96px 96px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000, transparent 75%);
}
.yws-hero > * { position: relative; z-index: 1; }
.hero-cols { align-items: center !important; }
.yws-hero h1 { margin-bottom: 1.5rem; }
.yws-hero .is-style-yws-lead { color: var(--c-text-2); max-width: 540px; }
body:not(.has-transparent-header) .yws-hero { padding-top: clamp(56px, 8vw, 110px) !important; }

/* Hero dashboard mock */
.hero-visual { position: relative; padding-bottom: 40px; }
.mock-window { border: 1px solid var(--c-border); border-radius: var(--radius); background: linear-gradient(180deg, color-mix(in srgb, var(--c-card) 85%, #000), var(--c-bg-2)); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--c-border); font-size: .72rem; color: var(--c-text-2); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c2635; }
.mock-bar span { margin-left: 12px; padding: 3px 12px; border-radius: 6px; background: rgba(255, 255, 255, .04); }
.mock-body { display: grid; grid-template-columns: 54px 1fr; min-height: 330px; }
.mock-side { border-right: 1px solid var(--c-border); padding: 18px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mock-side b { width: 24px; height: 24px; border-radius: 7px; background: var(--c-a35); }
.mock-side span { width: 18px; height: 18px; border-radius: 5px; background: rgba(255, 255, 255, .07); }
.mock-side span.on { background: var(--c-accent); }
.mock-main { padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpis div { padding: 12px; border: 1px solid var(--c-border); border-radius: 12px; background: rgba(255, 255, 255, .015); min-width: 0; }
.mock-kpis small { display: block; font-size: .66rem; color: var(--c-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-kpis strong { display: block; font-size: 1.05rem; font-weight: 700; margin: 2px 0; }
.mock-kpis em { font-style: normal; font-size: .66rem; color: var(--c-accent-soft); }
.mock-chart { border: 1px solid var(--c-border); border-radius: 12px; padding: 12px; height: 128px; }
.mock-chart svg { width: 100%; height: 100%; }
.chart-area { fill: rgba(var(--c-accent-rgb), .18); }
.chart-line { fill: none; stroke: var(--c-accent-soft); stroke-width: 2; stroke-dasharray: 420; stroke-dashoffset: 420; animation: yws-draw 2.4s var(--ease) .5s forwards; }
@keyframes yws-draw { to { stroke-dashoffset: 0; } }
.mock-rows div { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--c-border); font-size: .75rem; color: var(--c-text-2); }
.mock-rows em { margin-left: auto; font-style: normal; font-size: .68rem; color: var(--c-success); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-success); box-shadow: 0 0 0 3px rgba(123, 215, 166, .12); }
.mock-phone {
	position: absolute; right: -14px; bottom: 0; width: 178px; padding: 14px 14px 18px; border-radius: 28px;
	border: 1px solid color-mix(in srgb, var(--c-border) 60%, #fff 10%); background: linear-gradient(180deg, var(--c-card), var(--c-bg-2));
	box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9); animation: yws-float 7s ease-in-out infinite;
}
.phone-notch { width: 56px; height: 14px; border-radius: 10px; background: #000; margin: 0 auto 14px; }
.mock-phone small { font-size: .66rem; color: var(--c-text-2); }
.mock-phone > strong { display: block; font-family: var(--f-display); font-size: 1.3rem; font-weight: 500; margin-bottom: 10px; }
.phone-card { padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); margin-top: 8px; font-size: .68rem; }
.phone-card span { color: var(--c-text-2); display: block; }
.phone-card b { display: block; font-size: .85rem; margin: 2px 0 8px; }
.phone-card i { display: block; height: 4px; border-radius: 4px; background: var(--c-border); position: relative; overflow: hidden; }
.phone-card i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, var(--c-accent), var(--c-accent-soft)); border-radius: 4px; }
@keyframes yws-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 899px) { .hero-visual { max-width: 560px; margin-top: 12px; } .mock-phone { right: 0; } }
@media (max-width: 520px) {
	.mock-kpis { grid-template-columns: 1fr 1fr; }
	.mock-kpis div:last-child { display: none; }
	.mock-body { grid-template-columns: 40px 1fr; min-height: 290px; }
	.mock-main { padding: 14px; }
	.mock-phone { width: 140px; right: -4px; padding: 12px; }
	.mock-phone .phone-card:last-child { display: none; }
	.yws-hero .wp-block-buttons { flex-direction: column; }
	.yws-hero .wp-block-button, .yws-hero .wp-block-button__link { width: 100%; }
}

/* ---------- Cards (services, projects) ---------- */
.card { position: relative; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-card); overflow: hidden; isolation: isolate; transition: border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .45s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--c-accent-rgb), .12), transparent 55%); }
.card:hover { border-color: var(--c-a35); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.card:hover::before { opacity: 1; }

.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.svc { grid-column: span 4; display: flex; flex-direction: column; }
.svc-content { position: relative; padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.svc h3 { margin: 0 0 12px; }
.svc h3 a { color: var(--c-text); }
.svc p { color: var(--c-text-2); font-size: .95rem; margin-bottom: 22px; }
.svc .text-link { margin-top: auto; }
.svc-num { position: absolute; top: clamp(26px, 3vw, 36px); right: clamp(26px, 3vw, 36px); font-size: .75rem; letter-spacing: .15em; color: var(--c-dim); }
.svc-badge { align-self: flex-start; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 4px 12px; border-radius: 100px; background: var(--c-accent); color: #fff; margin-bottom: 18px; }
.svc-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid var(--c-a20); background: var(--c-a10); color: var(--c-accent-soft); transition: transform .5s var(--ease), background .4s; }
.svc-icon .icon { width: 22px; height: 22px; stroke-width: 1.5; }
.svc:hover .svc-icon { transform: rotate(-6deg); background: var(--c-a20); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 22px; }
.tags span { font-size: .75rem; padding: 4px 11px; border: 1px solid var(--c-border); border-radius: 100px; color: var(--c-text-2); }

.layout-bento .svc-feature { grid-column: span 7; display: grid; grid-template-columns: 1.1fr .9fr; }
.layout-bento .svc-feature h3 { font-size: calc(clamp(1.8rem, 1.4rem + 1.3vw, 2.6rem) * var(--h-scale)); }
.layout-bento .svc-feature .svc-mock, .layout-bento .svc-feature .svc-media { margin: clamp(26px, 3vw, 36px) clamp(26px, 3vw, 36px) clamp(26px, 3vw, 36px) 0; }
.layout-bento .svc-tall { grid-column: span 5; }
.layout-bento .svc-wide { grid-column: span 12; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.layout-bento .svc-wide .ai-mock, .layout-bento .svc-wide .svc-media { margin: clamp(26px, 3vw, 36px) clamp(26px, 3vw, 36px) clamp(26px, 3vw, 36px) 0; }
.layout-bento .svc-half { grid-column: span 6; }
.layout-bento .svc-feature .svc-num, .layout-bento .svc-wide .svc-num, .layout-bento .svc-tall .svc-num { position: static; display: block; margin-bottom: 12px; }
.svc-media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--c-accent) 18%, var(--c-card)), var(--c-bg-2)); border-radius: 0; }
.svc-feature .svc-media, .svc-wide .svc-media { border-radius: var(--radius-sm); aspect-ratio: auto; }
.svc-media img, .project-media img, .post-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc:hover .svc-media img { transform: scale(1.05); }
.svc-mock { border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-bg); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.code-lines span { display: block; height: 7px; width: var(--w); border-radius: 4px; background: rgba(255, 255, 255, .08); margin-bottom: 11px; }
.code-lines span.acc { background: var(--c-a35); }
.mini-table div { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--c-border); }
.mini-table i { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .07); }
.mini-table i.acc { background: var(--c-accent); }
.ai-mock { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-bg); padding: 20px; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 14px; font-size: .85rem; }
.msg.user { align-self: flex-end; background: var(--c-a20); border: 1px solid var(--c-a35); }
.msg.bot { background: rgba(255, 255, 255, .04); border: 1px solid var(--c-border); display: flex; flex-direction: column; gap: 9px; }
.msg.bot span { display: flex; align-items: center; gap: 10px; color: var(--c-text-2); font-size: .78rem; }
.msg.bot i { display: block; height: 5px; width: var(--w); max-width: 90px; flex: none; border-radius: 4px; background: linear-gradient(90deg, var(--c-accent), var(--c-accent-soft)); }
.layout-grid .svc { grid-column: span 4; }

@media (max-width: 1100px) {
	.layout-bento .svc-feature, .layout-bento .svc-wide { grid-column: span 12; }
	.layout-bento .svc-tall { grid-column: span 12; display: grid; grid-template-columns: 1fr 1fr; }
	.layout-bento .svc-tall .svc-media { aspect-ratio: auto; height: 100%; }
	.svc, .layout-grid .svc, .layout-bento .svc-half { grid-column: span 6; }
}
@media (max-width: 700px) {
	.svc-grid { grid-template-columns: 1fr; }
	.svc-grid > .svc { grid-column: 1 / -1 !important; }
	.layout-bento .svc-feature, .layout-bento .svc-wide, .layout-bento .svc-tall { grid-template-columns: 1fr; }
	.layout-bento .svc-feature .svc-mock, .layout-bento .svc-wide .ai-mock, .layout-bento .svc-feature .svc-media, .layout-bento .svc-wide .svc-media { margin: 0 clamp(22px, 5vw, 30px) clamp(22px, 5vw, 30px); }
	.layout-bento .svc-tall .svc-media { aspect-ratio: 16 / 10; }
}

/* Growth services list */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-border); }
.svc-list a {
	display: grid; grid-template-columns: 42px 1fr auto; grid-template-areas: "num name arrow" "num desc arrow";
	column-gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--c-border); transition: background .35s, padding .35s var(--ease);
}
.svc-list a:hover { background: linear-gradient(90deg, var(--c-a10), transparent); padding-left: 14px; }
.sl-num { grid-area: num; font-size: .75rem; color: var(--c-dim); padding-top: 6px; letter-spacing: .1em; }
.sl-name { grid-area: name; font-family: var(--f-display); font-size: calc(clamp(1.3rem, 1.1rem + .6vw, 1.65rem) * var(--h-scale)); font-weight: 500; line-height: 1.25; }
.sl-desc { grid-area: desc; font-size: .875rem; color: var(--c-text-2); }
.sl-arrow { grid-area: arrow; align-self: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-border); display: grid; place-items: center; color: var(--c-text-2); transition: all .35s var(--ease); }
.sl-arrow .icon { width: 15px; height: 15px; }
.svc-list a:hover .sl-arrow { background: var(--c-accent); border-color: var(--c-accent); color: #fff; transform: rotate(45deg); }

/* Projects */
.work-grid { display: grid; gap: 22px; }
.work-grid.layout-feature { grid-template-columns: 1.35fr 1fr; }
.work-grid.layout-feature .project-lg { grid-row: span 2; }
.work-grid.layout-grid { grid-template-columns: repeat(3, 1fr); }
.project { position: relative; display: flex; flex-direction: column; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; background: var(--c-card); transition: border-color .45s, transform .45s var(--ease); }
.project:hover { border-color: var(--c-a35); transform: translateY(-4px); }
.project:hover .project-media img { transform: scale(1.05); }
.project-media { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--c-accent) 16%, var(--c-card)), var(--c-bg-2)); }
.project-lg .project-media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.project-lg .project-info { flex: none; }
.img-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c-a35); }
.img-placeholder .icon { width: 56px; height: 56px; stroke-width: 1; }
.project-info { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-info h3 { margin: 0; }
.project-info h3 a { color: var(--c-text); }
.project-cat { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent-soft); font-weight: 600; margin: 0; }
.project-info p:not(.project-cat) { color: var(--c-text-2); font-size: .95rem; margin: 0; }
.project-info .text-link { margin-top: auto; padding-top: 6px; }
.project-lg h3 { font-size: calc(clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem) * var(--h-scale)); }
@media (max-width: 900px) { .work-grid.layout-feature, .work-grid.layout-grid { grid-template-columns: 1fr; } .work-grid.layout-feature .project-lg { grid-row: auto; } }
@media (min-width: 600px) and (max-width: 900px) { .work-grid.layout-grid { grid-template-columns: 1fr 1fr; } }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.post-card { position: relative; }
.post-card figure { position: relative; margin: 0 0 20px; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); background: linear-gradient(135deg, color-mix(in srgb, var(--c-accent) 14%, var(--c-card)), var(--c-bg-2)); }
.post-card:hover figure img { transform: scale(1.05); }
.post-meta { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-2); margin-bottom: 8px; }
.post-meta span { color: var(--c-accent-soft); font-weight: 600; }
.post-card h3 { font-size: calc(clamp(1.35rem, 1.2rem + .6vw, 1.7rem) * var(--h-scale)); margin: 0; transition: color .3s; }
.post-card:hover h3 { color: var(--c-accent-soft); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.yws-empty { padding: 22px; border: 1px dashed var(--c-a35); border-radius: var(--radius-sm); color: var(--c-accent-soft); font-size: .9rem; }

/* ---------- Contact info + map ---------- */
.contact-info { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 18px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--c-a20); background: var(--c-a10); color: var(--c-accent-soft); }
.ci-icon .icon { width: 19px; height: 19px; }
.ci-label { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-text-2); }
.ci-value { display: block; font-size: 1.02rem; line-height: 1.5; word-break: break-word; }
.ci-value a:hover { color: var(--c-accent-soft) !important; }
.contact-info.style-compact { margin-top: 0; gap: 12px; }
.contact-info.style-compact .ci-icon { width: 32px; height: 32px; border-radius: 9px; }
.contact-info.style-compact .ci-icon .icon { width: 16px; height: 16px; }
.contact-info.style-compact .ci-label { display: none; }
.contact-info.style-compact .ci-value { font-size: .93rem; color: var(--c-text-2); }
.yws-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); line-height: 0; }
.yws-map iframe { width: 100% !important; height: 380px; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); }
.footer-widget .yws-map { margin-top: 16px; }
.footer-widget .yws-map iframe { height: 180px; }

/* ---------- Forms ---------- */
.yws-form { display: grid; gap: 18px; }
.yws-form-title { margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: .85rem; font-weight: 600; padding: 0; }
.req { color: var(--c-accent-soft); }
.opt { color: var(--c-text-2); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="password"], input[type="number"], select, textarea {
	width: 100%; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius-sm);
	padding: 14px 16px; font-size: 16px; line-height: 1.4; color: var(--c-text); transition: border-color .3s, box-shadow .3s; -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23AAA5B2' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
select option, select optgroup { background: var(--c-bg-2); color: var(--c-text); }
textarea { resize: vertical; min-height: 130px; }
::placeholder { color: var(--c-dim); opacity: 1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-a20); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--c-error); }
.field-error { font-size: .78rem; color: var(--c-error); margin: 0; }
.field-error:empty { display: none; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio { position: relative; cursor: pointer; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio span { display: block; padding: 10px 18px; border: 1px solid var(--c-border); border-radius: 100px; font-size: .88rem; font-weight: 500; transition: all .3s; }
.radio input:checked + span { border-color: var(--c-accent); background: var(--c-a20); color: #fff; }
.radio input:focus-visible + span { outline: 2px solid var(--c-accent-soft); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--c-text-2); cursor: pointer; }
.consent input { margin-top: 4px; accent-color: var(--c-accent); width: 16px; height: 16px; flex: none; }
.consent a { color: var(--c-accent-soft); text-decoration: underline; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-status { font-size: .92rem; border-radius: 10px; padding: 14px 16px; }
.form-status.is-success { background: rgba(123, 215, 166, .08); border: 1px solid rgba(123, 215, 166, .3); color: var(--c-success); }
.form-status.is-error { background: rgba(255, 138, 154, .08); border: 1px solid rgba(255, 138, 154, .3); color: var(--c-error); }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } .form-actions .btn { flex: 1 1 100%; } }

.search-form { position: relative; display: flex; max-width: 460px; }
.search-form .search-field { padding-right: 52px; border-radius: 100px; }
.search-submit { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--c-accent); color: #fff; display: grid; place-items: center; }
.search-submit .icon { width: 18px; height: 18px; }

/* ---------- Page hero / breadcrumbs ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 70px); border-bottom: 1px solid var(--c-border); }
.has-transparent-header .page-hero { padding-top: calc(var(--header-h) + clamp(50px, 7vw, 90px)); }
.page-hero-glow { position: absolute; top: -40%; right: -10%; width: min(700px, 80vw); aspect-ratio: 1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(var(--c-accent-rgb), .18), transparent 65%); }
.page-hero .container { position: relative; }
.page-title { font-size: calc(clamp(2.5rem, 1.5rem + 4vw, 5rem) * var(--h-scale)); line-height: 1.02; letter-spacing: -.02em; max-width: 960px; margin: 0; }
.page-subtitle { color: var(--c-text-2); font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); max-width: 640px; margin: 1.4rem 0 0; }
.center .page-subtitle, .center .page-title { margin-inline: auto; }
.breadcrumbs { margin-bottom: 26px; font-size: .82rem; color: var(--c-text-2); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--c-dim); }
.breadcrumbs a:hover { color: var(--c-text); }
.breadcrumbs [aria-current] { color: var(--c-text); }

/* Single article */
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--c-text-2); font-size: .88rem; margin: 1.4rem 0 0; }
.article-cover { margin: clamp(30px, 4vw, 50px) auto 0; }
.article-cover img { width: 100%; border-radius: var(--radius); border: 1px solid var(--c-border); }
.project-cover { margin-top: clamp(30px, 4vw, 50px); }
.project-cover img { width: 100%; border-radius: var(--radius); border: 1px solid var(--c-border); }
.article-layout { padding-block: clamp(40px, 6vw, 80px); }
.article-layout.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; }
.article-content { max-width: 760px; margin-inline: auto; font-size: 1.07rem; }
.article-layout.has-sidebar .article-content { margin-inline: 0; }
.article-content > * + * { margin-block-start: 1.3em; }
.article-content h2 { font-size: calc(clamp(1.9rem, 1.5rem + 1.6vw, 2.7rem) * var(--h-scale)); margin-top: 1.8em; }
.article-content h3 { margin-top: 1.6em; }
.article-content p, .article-content li { color: color-mix(in srgb, var(--c-text) 86%, var(--c-text-2)); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2.5em; }
.post-tags a { font-size: .8rem; padding: 5px 12px; border: 1px solid var(--c-border); border-radius: 100px; color: var(--c-text-2) !important; text-decoration: none !important; }
.post-tags a:hover { border-color: var(--c-accent); color: var(--c-text) !important; }
.blog-sidebar { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; display: grid; gap: 30px; }
.side-h { font-family: var(--f-body); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-accent-soft); }
@media (max-width: 1000px) { .article-layout.has-sidebar { grid-template-columns: 1fr; } .blog-sidebar { position: static; } }
.post-navigation { border-top: 1px solid var(--c-border); padding-top: 30px; margin-bottom: 40px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-navigation .nav-next { text-align: right; }
.nav-label { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-text-2); }
.nav-title { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.25; }
.post-navigation a:hover .nav-title { color: var(--c-accent-soft); }
.related-posts { border-top: 1px solid var(--c-border); }
.related-title { font-size: calc(2.2rem * var(--h-scale)); margin-bottom: 36px; }

/* Listing */
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.cat-filter a { padding: 8px 18px; border: 1px solid var(--c-border); border-radius: 100px; font-size: .88rem; color: var(--c-text-2); transition: all .3s; }
.cat-filter a:hover, .cat-filter a[aria-current] { border-color: var(--c-accent); color: var(--c-text); background: var(--c-a10); }
.listing { padding-top: clamp(40px, 6vw, 70px); }
.pagination { margin-top: 60px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; display: grid; place-items: center; border: 1px solid var(--c-border); border-radius: 100px; font-size: .9rem; transition: all .3s; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.empty-state { text-align: center; display: grid; justify-items: center; gap: 20px; padding: 40px 0; color: var(--c-text-2); }
.error-404 { min-height: 70vh; display: flex; align-items: center; border: 0; }
.big-404 { font-family: var(--f-display); font-style: italic; font-size: clamp(6rem, 22vw, 14rem); line-height: .8; margin: 0 0 10px; background: linear-gradient(180deg, var(--c-accent-soft), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404 .search-form { margin: 30px auto 0; }
.error-actions { margin-top: 24px; }

/* Legal pages */
.legal h2 { font-size: calc(1.9rem * var(--h-scale)); margin-top: 1.6em; }
.legal p, .legal li { color: var(--c-text-2); }
.legal-note { font-size: .85rem; padding: 12px 16px; border-radius: 10px; background: var(--c-a10); border: 1px solid var(--c-a20); color: var(--c-accent-soft) !important; }
.facts { list-style: none; padding: 0; display: grid; gap: 18px; }
.facts li { color: var(--c-text); }
.facts strong { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-text-2); font-weight: 600; }
.facts strong + br { display: none; }

/* Comments */
.comments-area { padding: 40px 0 60px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { border-top: 1px solid var(--c-border); padding: 22px 0; }
.comment-list .children { list-style: none; padding-left: 30px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.comment-metadata { font-size: .8rem; color: var(--c-text-2); }
.comment-respond { margin-top: 30px; }
.comment-form p { margin-bottom: 16px; }
.comment-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; border-top: 1px solid var(--c-border); padding: clamp(64px, 8vw, 100px) 0 30px; background: color-mix(in srgb, var(--c-bg) 80%, #000); overflow: hidden; }
.site-footer > .container { position: relative; z-index: 1; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
.footer-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.footer-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.footer-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.footer-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.footer-grid.layout-wide-first.cols-2 { grid-template-columns: 1.6fr 1fr; }
.footer-grid.layout-wide-first.cols-3 { grid-template-columns: 1.6fr 1fr 1fr; }
.footer-grid.layout-wide-first.cols-4 { grid-template-columns: 1.6fr repeat(3, 1fr); }
.footer-grid.layout-wide-first.cols-5 { grid-template-columns: 1.6fr repeat(4, 1fr); }
.footer-brand p { color: var(--c-text-2); font-size: .93rem; margin: 20px 0 24px; max-width: 320px; }
.footer-h { font-family: var(--f-body); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-accent-soft); margin: 0 0 20px; }
.footer-widget + .footer-widget { margin-top: 32px; }
.footer-widget ul { list-style: none; margin: 0; padding: 0; }
.footer-widget li { margin-bottom: 11px; font-size: .93rem; color: var(--c-text-2); }
.footer-widget a { color: var(--c-text-2); transition: color .3s; }
.footer-widget a:hover { color: var(--c-text); }
.footer-widget p, .widget-text { color: var(--c-text-2); font-size: .93rem; }
.footer-widget .wp-block-heading, .footer-widget h2, .footer-widget h3, .footer-widget h4 { font-family: var(--f-body); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-accent-soft); margin: 0 0 20px; }
.footer-widget img { border-radius: var(--radius-sm); }
.footer-widget .wp-block-navigation__container { flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-hint p { color: var(--c-dim); font-size: .85rem; border: 1px dashed var(--c-border); padding: 16px; border-radius: 12px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--c-border); display: grid; place-items: center; color: var(--c-text); transition: all .35s var(--ease); }
.socials a:hover { border-color: var(--c-accent); background: var(--c-a20); transform: translateY(-3px); }
.socials .icon { width: 17px; height: 17px; }
.footer-widget .socials { margin-top: 18px; }
.footer-word {
	position: absolute; z-index: 0; left: 0; right: 0; top: 50%; transform: translateY(-50%); margin: 0;
	font-family: var(--f-display); font-style: italic; font-size: clamp(4rem, 17vw, 17rem); line-height: .9; text-align: center; letter-spacing: -.03em;
	white-space: nowrap; pointer-events: none; user-select: none;
	background: linear-gradient(180deg, rgba(var(--c-accent-rgb), .16), rgba(var(--c-accent-rgb), .03)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-bottom { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 700px) { .footer-word { font-size: 26vw; white-space: normal; line-height: .85; word-break: break-word; } }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 24px; border-top: 1px solid var(--c-border); font-size: .82rem; color: var(--c-text-2); }
.footer-bottom p { margin: 0; }
.legal-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal-menu a:hover { color: var(--c-text); }
@media (max-width: 1000px) {
	.footer-grid[class*="cols-"], .footer-grid.layout-wide-first[class*="cols-"] { grid-template-columns: repeat(2, 1fr); }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.footer-grid[class*="cols-"], .footer-grid.layout-wide-first[class*="cols-"] { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
	.footer-col:last-child:nth-child(even) { grid-column: 1 / -1; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* WhatsApp float + toast */
.wa-float { position: fixed; bottom: 22px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6); transition: transform .35s var(--ease); }
.wa-float.pos-right { right: 22px; }
.wa-float.pos-left { left: 22px; }
.wa-float .icon { width: 28px; height: 28px; stroke-width: 1.5; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: yws-ring 2.6s ease-out infinite; }
@keyframes yws-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 150; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 100px; background: var(--c-card); border: 1px solid var(--c-a35); font-size: .88rem; box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .8); transition: opacity .35s, transform .35s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Icons for blocks: add the CSS class ico-NAME (Advanced → Additional CSS class) ---------- */
.ico-activity{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l3-8 4 16 3-8h4'/%3E%3C/svg%3E")}
.ico-award{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M8.5 14l-1.5 7 5-3 5 3-1.5-7'/%3E%3C/svg%3E")}
.ico-bag{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 13H6z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E")}
.ico-bell{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16v-5a6 6 0 0 1 12 0v5l2 2H4z'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E")}
.ico-browser{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M7 6.5h.01M10 6.5h.01'/%3E%3C/svg%3E")}
.ico-calendar{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E")}
.ico-card{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2'/%3E%3Cpath d='M2.5 10h19M6 15h4'/%3E%3C/svg%3E")}
.ico-cart{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.5 11h11L21 7H6.5'/%3E%3Ccircle cx='9' cy='19.5' r='1.3'/%3E%3Ccircle cx='18' cy='19.5' r='1.3'/%3E%3C/svg%3E")}
.ico-chart{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E")}
.ico-chat{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E")}
.ico-check{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")}
.ico-check-circle,.hero-points li{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12l3 3 5-6'/%3E%3C/svg%3E")}
.ico-clock{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")}
.ico-cloud{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18a4.5 4.5 0 0 1-.4-8.98A6 6 0 0 1 18 9.5a4 4 0 0 1-.5 8.5H7z'/%3E%3Cpath d='M12 12v4M10 14h4'/%3E%3C/svg%3E")}
.ico-code{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='13' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4M7.5 9l2.5 2.5L7.5 14M12.5 14h4'/%3E%3C/svg%3E")}
.ico-database{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3'/%3E%3C/svg%3E")}
.ico-education{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9l10-5 10 5-10 5z'/%3E%3Cpath d='M6 11v5c3 2 9 2 12 0v-5M22 9v5'/%3E%3C/svg%3E")}
.ico-eye{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
.ico-factory{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V10l6 4V10l6 4V6l6 3v12z'/%3E%3Cpath d='M7 17h2M13 17h2'/%3E%3C/svg%3E")}
.ico-flow{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='2.5'/%3E%3Ccircle cx='18' cy='18' r='2.5'/%3E%3Cpath d='M8.5 6H14a3 3 0 0 1 3 3v6.5M6 8.5V14a3 3 0 0 0 3 3h6.5'/%3E%3C/svg%3E")}
.ico-gauge{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 18a9 9 0 1 1 16 0'/%3E%3Cpath d='M12 14l4-5'/%3E%3Ccircle cx='12' cy='14' r='1.2'/%3E%3C/svg%3E")}
.ico-globe{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.5 3.8 5.5 3.8 9s-1.3 6.5-3.8 9c-2.5-2.5-3.8-5.5-3.8-9S9.5 5.5 12 3z'/%3E%3C/svg%3E")}
.ico-handshake{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 11l4-4 4 2 3-2 3 1 6 4-3 3'/%3E%3Cpath d='M6 7v6l5 5 2-1 2 1 3-3M11 18l-2-2M13 17l-2-2'/%3E%3C/svg%3E")}
.ico-headset{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-2a8 8 0 0 1 16 0v2'/%3E%3Crect x='3' y='14' width='4' height='6' rx='1.5'/%3E%3Crect x='17' y='14' width='4' height='6' rx='1.5'/%3E%3Cpath d='M19 20a4 4 0 0 1-4 2h-2'/%3E%3C/svg%3E")}
.ico-heart{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-9-9a5 5 0 0 1 9-3 5 5 0 0 1 9 3c-2 4.6-9 9-9 9z'/%3E%3Cpath d='M8 12h2l1-2 2 4 1-2h2'/%3E%3C/svg%3E")}
.ico-home{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E")}
.ico-layers{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l9 5-9 5-9-5z'/%3E%3Cpath d='M3 13l9 5 9-5'/%3E%3C/svg%3E")}
.ico-layout{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18M9 21V9'/%3E%3C/svg%3E")}
.ico-link{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1'/%3E%3Cpath d='M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E")}
.ico-lock{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2'/%3E%3Cpath d='M8 10.5V7a4 4 0 0 1 8 0v3.5'/%3E%3C/svg%3E")}
.ico-mail{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E")}
.ico-map{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E")}
.ico-megaphone{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10v4h3l7 4V6L7 10H4z'/%3E%3Cpath d='M18 9a4 4 0 0 1 0 6'/%3E%3C/svg%3E")}
.ico-mobile{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6.5' y='2.5' width='11' height='19' rx='2.5'/%3E%3Cpath d='M11 18.5h2'/%3E%3C/svg%3E")}
.ico-palette{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 0 0 0 18c1 0 1.5-.8 1.5-1.5 0-1-.8-1.2-.8-2.2 0-.8.7-1.3 1.5-1.3H16a5 5 0 0 0 5-5c0-4.4-4-8-9-8z'/%3E%3Ccircle cx='7.5' cy='11' r='1'/%3E%3Ccircle cx='10' cy='7' r='1'/%3E%3Ccircle cx='15' cy='7.5' r='1'/%3E%3C/svg%3E")}
.ico-pen{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9a2.8 2.8 0 0 0-4-4L4 16z'/%3E%3Cpath d='M13.5 6.5l4 4'/%3E%3C/svg%3E")}
.ico-phone{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E")}
.ico-plug{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2v6M15 2v6M6 8h12v3a6 6 0 0 1-12 0zM12 17v5'/%3E%3C/svg%3E")}
.ico-refresh{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 0-14.6-4.5L4 8M4 4v4h4M4 13a8 8 0 0 0 14.6 4.5L20 16M20 20v-4h-4'/%3E%3C/svg%3E")}
.ico-rocket{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15l-3-3a12 12 0 0 1 9-9 12 12 0 0 1-9 9'/%3E%3Cpath d='M9 12H5l2-4h4M12 15v4l4-2v-4M6 17c-1 1-1.5 3-1.5 3s2-.5 3-1.5'/%3E%3C/svg%3E")}
.ico-rupee{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4h12M6 9h12M9 4c6 0 6 10 0 10H6l9 7'/%3E%3C/svg%3E")}
.ico-search{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-5-5'/%3E%3C/svg%3E")}
.ico-shield{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E")}
.ico-sparkle{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 4.6L18.5 9l-4.7 1.6L12 15l-1.8-4.4L5.5 9l4.7-1.4z'/%3E%3Cpath d='M18 15l.8 2 2 .8-2 .8-.8 2-.8-2-2-.8 2-.8z'/%3E%3C/svg%3E")}
.ico-star{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1L3.2 9.5l6.1-.9z'/%3E%3C/svg%3E")}
.ico-target{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E")}
.ico-tool{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.6 2.6-2.8-.4-.4-2.8z'/%3E%3C/svg%3E")}
.ico-truck{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h12v10H2zM14 10h4l4 4v2h-8'/%3E%3Ccircle cx='6' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E")}
.ico-users{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20a6.5 6.5 0 0 1 13 0M16 4.5a3.5 3.5 0 0 1 0 7M21.5 20a6.5 6.5 0 0 0-4-6'/%3E%3C/svg%3E")}
.ico-whatsapp{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 0 0-7.8 13.5L3 21l4.6-1.2A9 9 0 1 0 12 3z'/%3E%3Cpath d='M8.8 8.5c.2-.5.5-.5.8-.5h.5c.2 0 .4 0 .5.4l.7 1.6c.1.2 0 .4-.1.6l-.5.6c-.1.1-.2.3 0 .5.6 1 1.5 1.8 2.5 2.3.2.1.4.1.5-.1l.6-.7c.2-.2.3-.2.6-.1l1.5.7c.3.1.4.3.3.6-.2 1-1 1.6-1.9 1.6-2.9-.3-5.6-3-6-5.6 0-.8.3-1.5.5-1.9z'/%3E%3C/svg%3E")}
.ico-wifi{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9a15 15 0 0 1 20 0M5 12.5a10 10 0 0 1 14 0M8.5 16a5 5 0 0 1 7 0'/%3E%3Ccircle cx='12' cy='19.5' r='.8'/%3E%3C/svg%3E")}
.ico-zap{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E")}

/* Icon box on Card Grid items (list style "Card Grid") */
.is-style-yws-cards li { --pad: clamp(26px, 3vw, 36px); }
.is-style-yws-cards li[class*="ico-"] { padding-top: calc(var(--pad) + 74px); }
.is-style-yws-cards li[class*="ico-"]::before {
	content: ""; position: absolute; top: var(--pad); left: var(--pad); width: 54px; height: 54px; margin: 0;
	border-radius: 15px; border: 1px solid var(--c-a20); background: linear-gradient(145deg, var(--c-a20), var(--c-a10));
	transition: transform .5s var(--ease), background .4s;
}
.is-style-yws-cards li[class*="ico-"]::after {
	content: ""; position: absolute; top: calc(var(--pad) + 15px); left: calc(var(--pad) + 15px); width: 24px; height: 24px;
	background: var(--c-accent-soft); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
	transition: transform .5s var(--ease);
}
.is-style-yws-cards li[class*="ico-"]:hover::before { transform: rotate(-8deg); background: var(--c-a35); }
.is-style-yws-cards li[class*="ico-"]:hover::after { transform: rotate(-8deg) scale(1.05); }

/* Icon on Card groups (Group style "Card") */
.is-style-yws-card { --pad: clamp(26px, 3vw, 40px); }
.is-style-yws-card[class*="ico-"]::before {
	content: ""; display: block; flex: none; width: 54px; height: 54px; margin-bottom: 22px;
	border-radius: 15px; border: 1px solid var(--c-a20); background: linear-gradient(145deg, var(--c-a20), var(--c-a10));
}
.is-style-yws-card[class*="ico-"]::after {
	content: ""; position: absolute; top: calc(var(--pad) + 15px); left: calc(var(--pad) + 15px); width: 24px; height: 24px;
	background: var(--c-accent-soft); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}

/* Inline icon before a heading or paragraph */
:is(h2, h3, h4, p, .wp-block-heading)[class*="ico-"]:not(.is-style-yws-card)::before {
	content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .45em; vertical-align: -.12em;
	background: var(--c-accent-soft); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}

/* Hero points: check icons */
.hero-points li { padding-left: 24px; }
.hero-points li::before { width: 16px; height: 16px; margin-top: -8px; border-radius: 0; background: var(--c-accent-soft); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }

/* Growth list icon */
.svc-list a { grid-template-columns: 46px 1fr auto; grid-template-areas: "ico name arrow" "ico desc arrow"; }
.sl-ico { grid-area: ico; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--c-a20); background: var(--c-a10); color: var(--c-accent-soft); align-self: center; transition: transform .45s var(--ease); }
.sl-ico .icon { width: 19px; height: 19px; }
.svc-list a:hover .sl-ico { transform: rotate(-8deg); }

/* ---------- Image showcase (Gallery style "Scrolling Showcase") ---------- */
.yws-showcase { overflow: hidden; padding-inline: 0 !important; }
.yws-showcase > .section-head { max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto !important; padding-inline: var(--gutter); }
.yws-showcase .showcase-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wp-block-gallery.is-style-yws-showcase {
	display: flex !important; flex-wrap: nowrap !important; gap: 18px !important; width: max-content; max-width: none !important; margin: 0 !important;
	animation: yws-marquee 70s linear infinite;
}
.wp-block-gallery.is-style-yws-showcase:hover { animation-play-state: paused; }
.wp-block-gallery.is-style-yws-showcase figure.wp-block-image {
	flex: none !important; width: clamp(240px, 28vw, 380px) !important; aspect-ratio: 4 / 3; height: auto; margin: 0 !important;
	border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); background: var(--c-card);
}
.wp-block-gallery.is-style-yws-showcase figure.wp-block-image img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0; transition: transform .8s var(--ease); }
.wp-block-gallery.is-style-yws-showcase figure.wp-block-image:hover img { transform: scale(1.05); }
.editor-styles-wrapper .wp-block-gallery.is-style-yws-showcase { animation: none; flex-wrap: wrap !important; width: auto; }

/* ---------- Portfolio grid (Gallery style "Portfolio Grid") ---------- */
.wp-block-gallery.is-style-yws-grid { gap: 18px !important; }
.wp-block-gallery.is-style-yws-grid figure.wp-block-image { flex-grow: 0 !important; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); background: var(--c-card); }
.wp-block-gallery.is-style-yws-grid figure.wp-block-image img { height: 100% !important; width: 100%; object-fit: cover; border-radius: 0; transition: transform .8s var(--ease); }
.wp-block-gallery.is-style-yws-grid figure.wp-block-image:hover img { transform: scale(1.05); }
.portfolio-head { display: flex; align-items: center; gap: 14px; margin: 0 0 22px !important; }

/* Founder card */
.founder-card { position: relative; }
.founder-card .wp-block-image img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--radius); border: 1px solid var(--c-border); }
.founder-card .founder-note { position: absolute; left: 18px; right: 18px; bottom: 18px; margin: 0 !important; padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--c-bg) 78%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--c-border); font-size: .9rem; color: var(--c-text-2); }
.founder-card .founder-note strong { display: block; color: var(--c-text); font-family: var(--f-display); font-weight: 500; font-size: 1.25rem; }

/* Service / project hero with image */
.page-hero.has-image .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.page-hero.has-image .breadcrumbs { grid-column: 1 / -1; margin-bottom: 0; }
.page-hero-media { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); aspect-ratio: 4 / 3; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
@media (max-width: 900px) { .page-hero.has-image .container { grid-template-columns: 1fr; } }

/* WhatsApp buttons */
.btn-wa, .wp-block-button__link.is-wa, .btn[data-wa] { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.wp-block-button__link.is-wa .icon, .btn .icon:first-child { width: 18px; height: 18px; }
.btn-wa { background: #25D366; color: #06290f !important; border-color: #25D366; }
.btn-wa:hover { filter: brightness(1.08); transform: translateY(-2px); }
.wp-block-button.is-style-outline .wp-block-button__link.is-wa .icon { color: #25D366; }
.form-status .btn { margin-top: 12px; }
.form-note { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--c-text-2); margin: 0 !important; }
.form-note .icon { width: 16px; height: 16px; color: var(--c-accent-soft); }
.btn.is-loading { opacity: .7; pointer-events: none; }


/* ==========================================================================
   v1.2 – images are always shown in full
   ========================================================================== */
.yws-frame { position: relative; display: block; margin: 0; overflow: hidden; isolation: isolate; aspect-ratio: var(--ratio, 4 / 3); background: var(--c-bg-2); }
.yws-frame::before { content: ""; position: absolute; inset: -14%; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(28px) saturate(1.2) brightness(.62); opacity: .95; }
.yws-frame img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: contain !important; padding: 5%; border-radius: 0; transition: transform .8s var(--ease); filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .45)); }
.card:hover .yws-frame img, .project:hover .yws-frame img, .post-card:hover .yws-frame img { transform: scale(1.035); }
.project-media::after { display: none; }

/* Bento service cards */
.layout-bento .svc-media.yws-frame { aspect-ratio: var(--ratio, 4 / 3) !important; height: auto !important; align-self: center; border-radius: var(--radius-sm); border: 1px solid var(--c-border); }
.layout-bento .svc-tall .svc-media.yws-frame { --ratio: 16 / 11; border-radius: 0; border: 0; border-bottom: 1px solid var(--c-border); align-self: stretch; }
.layout-bento .svc-wide .svc-media.yws-frame { --ratio: 16 / 10; }
@media (max-width: 1100px) { .layout-bento .svc-tall .svc-media.yws-frame { --ratio: 4 / 3; align-self: center; } }
.svc.svc-has-top { padding: 0; }
.layout-bento .svc-media.svc-top, .svc-media.svc-top { align-self: stretch !important; width: 100%; border: 0; border-bottom: 1px solid var(--c-border); border-radius: 0; }
.svc-has-top > .svc-content > .svc-num { top: clamp(26px, 3vw, 36px); }

/* Project and blog cards */
.project-media.yws-frame { --ratio: 16 / 11; }
.project-lg .project-media.yws-frame { aspect-ratio: auto; min-height: 340px; flex: 1; }
.post-card .yws-frame { --ratio: 16 / 11; margin: 0 0 20px; border-radius: var(--radius); border: 1px solid var(--c-border); }

/* Service / project hero */
.page-hero-media.yws-frame { --ratio: 4 / 3; aspect-ratio: var(--ratio) !important; border-radius: var(--radius); border: 1px solid var(--c-border); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.page-hero.has-image .container { align-items: center; }
.page-hero-extra { margin-top: 1.6rem; }
.hero-tags { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags li { font-size: .8rem; padding: 6px 14px; border: 1px solid var(--c-border); border-radius: 100px; color: var(--c-text-2); background: rgba(255, 255, 255, .02); }
.hero-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hero-checks li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.hero-checks .icon { color: var(--c-accent-soft); width: 18px; height: 18px; }
.page-hero-actions { margin-top: 1.8rem; }

/* Founder photo – full photo, note below it */
.founder-card .wp-block-image img { aspect-ratio: auto !important; height: auto !important; object-fit: initial !important; width: 100%; }
.founder-card .founder-note { position: static; margin-top: 14px !important; }

/* Scrolling showcase – every photo at its natural shape */
html body .wp-block-gallery.is-style-yws-showcase figure.wp-block-image { width: auto !important; aspect-ratio: auto !important; height: clamp(220px, 24vw, 320px) !important; flex: none !important; }
html body .wp-block-gallery.is-style-yws-showcase figure.wp-block-image img { width: auto !important; height: 100% !important; max-width: none !important; flex: none !important; object-fit: contain !important; }

/* Portfolio grid – masonry, full photos, no gaps */
html body .wp-block-gallery.is-style-yws-grid { display: block !important; columns: 3; column-gap: 18px; }
html body .wp-block-gallery.is-style-yws-grid figure.wp-block-image { display: block !important; width: 100% !important; aspect-ratio: auto !important; height: auto !important; margin: 0 0 18px !important; break-inside: avoid; }
html body .wp-block-gallery.is-style-yws-grid figure.wp-block-image img { width: 100% !important; height: auto !important; max-width: 100% !important; flex: none !important; object-fit: initial !important; }
@media (max-width: 900px) { html body .wp-block-gallery.is-style-yws-grid { columns: 2; column-gap: 12px; } html body .wp-block-gallery.is-style-yws-grid figure.wp-block-image { margin-bottom: 12px !important; } }
.editor-styles-wrapper .wp-block-gallery.is-style-yws-grid { display: flex !important; }

/* ---------- Scroll reveal (only when JS is on) ---------- */
.js body:not(.no-anim) .reveal, .js body:not(.no-anim) .yws-section > *:not(.wp-block-columns):not(.section-head), .js body:not(.no-anim) .yws-section > .wp-block-columns > .wp-block-column, .js body:not(.no-anim) .section-head > * {
	opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js body:not(.no-anim) .is-in { opacity: 1 !important; transform: none !important; }
.js body:not(.no-anim) .yws-strip > * { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.js body .reveal, .js body .yws-section > *, .js body .yws-section > .wp-block-columns > .wp-block-column, .js body .section-head > * { opacity: 1 !important; transform: none !important; }
	.is-style-yws-marquee { animation: none; flex-wrap: wrap; width: auto; }
	.chart-line { stroke-dashoffset: 0; }
}

/* Print */
@media print {
	.site-header, .mobile-drawer, .site-footer, .wa-float, .toast { display: none !important; }
	body { background: #fff; color: #000; }
}

/* ==========================================================================
   v1.3 – photos fill their frame (rounded), text columns match image size
   ========================================================================== */
.yws-frame { background: var(--c-bg-2); border-radius: var(--radius-sm); }
.yws-frame::before { display: none !important; }
.yws-frame img { padding: 0 !important; object-fit: cover !important; object-position: center; filter: none !important; border-radius: inherit; }

/* Bento cards: photo sits inset in the card, rounded, filling its box */
.layout-bento .svc-media.yws-frame { border: 1px solid var(--c-border); border-radius: var(--radius-sm) !important; }
.layout-bento .svc-feature, .layout-bento .svc-wide { align-items: stretch; }
.layout-bento .svc-feature .svc-media.yws-frame,
.layout-bento .svc-wide .svc-media.yws-frame { aspect-ratio: auto !important; height: auto !important; min-height: 300px; align-self: stretch !important; }
.svc.svc-has-top, .layout-bento .svc-tall { padding: 0; }
.layout-bento .svc-tall .svc-media.yws-frame,
.layout-bento .svc-media.svc-top, .svc-media.svc-top { --ratio: 16 / 10; aspect-ratio: var(--ratio) !important; width: auto !important; margin: 12px 12px 0 !important; align-self: stretch !important; border: 1px solid var(--c-border) !important; border-radius: calc(var(--radius) - 6px) !important; }
.layout-bento .svc-tall .svc-media.yws-frame { --ratio: 16 / 11; }

/* Highlights in the large cards */
.svc-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 11px; }
.svc-points li { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; color: var(--c-text-2); line-height: 1.5; }
.svc-points .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--c-a20); color: var(--c-accent-soft); stroke-width: 2.4; }
.svc-tags { margin: 0 0 24px; }
.layout-bento .svc-wide .svc-points { grid-template-columns: 1fr 1fr; column-gap: 22px; }

@media (max-width: 1100px) {
	.layout-bento .svc-tall { display: flex; flex-direction: column; }
	.layout-bento .svc-tall .svc-media.yws-frame { --ratio: 16 / 9; }
}
@media (max-width: 700px) {
	.layout-bento .svc-feature .svc-media.yws-frame, .layout-bento .svc-wide .svc-media.yws-frame { min-height: 0; aspect-ratio: 4 / 3 !important; }
	.layout-bento .svc-wide .svc-points { grid-template-columns: 1fr; }
}

/* Project cards: rounded photo inset, fills the space */
.project-media.yws-frame { margin: 12px 12px 0; border-radius: calc(var(--radius) - 6px); border: 1px solid var(--c-border); }
.project-lg .project-media.yws-frame { min-height: 360px; }
.post-card .yws-frame { border-radius: var(--radius); }
.page-hero-media.yws-frame { border-radius: var(--radius); }
