/*
Theme Name: Weslene
Theme URI: https://weslene.com
Author: Weslene Orwoba
Description: Block theme for Weslene Orwoba, Marketing & Commercial Leader. Core blocks only: every section is an editable block pattern, styled from the presets in theme.json.
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 7.4
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: weslene
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, editor-style, template-editing, translation-ready, accessibility-ready, portfolio
*/

/* ============================================================
   Shortcuts to the theme.json presets
   ============================================================ */
:root {
	--c-primary: var(--wp--preset--color--primary);
	--c-primary-deep: var(--wp--preset--color--primary-deep);
	--c-primary-light: var(--wp--preset--color--primary-light);
	--c-accent: var(--wp--preset--color--accent);
	--c-accent-hover: var(--wp--preset--color--accent-hover);
	--c-accent-bright: var(--wp--preset--color--accent-bright);
	--c-accent-soft: var(--wp--preset--color--accent-soft);
	--c-accent-pale: var(--wp--preset--color--accent-pale);
	--c-body: var(--wp--preset--color--body);
	--c-muted: var(--wp--preset--color--muted);
	--c-subtle: var(--wp--preset--color--subtle);
	--c-line: var(--wp--preset--color--line);
	--c-line-cool: var(--wp--preset--color--line-cool);
	--c-line-strong: var(--wp--preset--color--line-strong);
	--c-control: var(--wp--preset--color--control);
	--c-surface: var(--wp--preset--color--surface);
	--c-surface-cool: var(--wp--preset--color--surface-cool);
	--f-body: var(--wp--preset--font-family--body);
	--f-heading: var(--wp--preset--font-family--heading);
	--f-display: var(--wp--preset--font-family--display);
	--gutter: 20px;
	--section-y: 64px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);

	/* Icons used by buttons and links (masks, so they take the text colour) */
	--i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.333 8h9.334M8.667 4l4 4-4 4'/%3E%3C/svg%3E");
	--i-back: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.667 8H3.333M7.333 4l-4 4 4 4'/%3E%3C/svg%3E");
	--i-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3'/%3E%3C/svg%3E");
	--i-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4.5v15l12.5-7.5z'/%3E%3C/svg%3E");
	--i-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M7 7h10v10'/%3E%3C/svg%3E");
	--i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--i-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E");
	--i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	--i-person: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='24' cy='16' r='7'/%3E%3Cpath d='M10 40C11.5 31.8 16.6 27 24 27C31.4 27 36.5 31.8 38 40'/%3E%3C/svg%3E");
	--i-whatsapp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413Z'/%3E%3C/svg%3E");
}
@media (min-width: 640px) { :root { --gutter: 40px; --section-y: 96px; } }
@media (min-width: 768px) { :root { --gutter: 48px; } }
@media (min-width: 1024px) { :root { --gutter: 72px; --section-y: 112px; } }

/* ============================================================
   Base
   ============================================================ */
html { scroll-behavior: smooth; }
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
::selection { background: color-mix(in srgb, var(--c-accent) 15%, transparent); color: var(--c-primary); }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.wp-site-blocks { padding: 0; }
[id] { scroll-margin-top: 16px; }

/* Every section sets its own spacing, so blocks inside start flush */
.wes-header :where(p, h1, h2, h3, figure, ul, blockquote, .wp-block-group, .wp-block-buttons),
.wes-hero :where(p, h1, h2, h3, figure, ul, blockquote, .wp-block-group, .wp-block-buttons),
.wes-section :where(p, h1, h2, h3, figure, ul, blockquote, .wp-block-group, .wp-block-buttons, .wp-block-columns),
.wes-footer :where(p, h1, h2, h3, figure, ul, .wp-block-group, .wp-block-buttons),
.wes-article :where(p, h1, h2, h3, figure, ul, .wp-block-group, .wp-block-buttons),
.wes-gallery-page :where(p, h1, h2, h3, figure, .wp-block-group) { margin-block: 0; }

.wes-container {
	width: 100%;
	max-width: 1320px;
	margin-inline: auto !important;
	padding-inline: var(--gutter);
	box-sizing: border-box;
}
.wes-section { position: relative; padding-block: var(--section-y); }
.is-surface { background: var(--c-surface); }

/* Section headings: one size and style everywhere */
.wes-section-title,
h2.wp-block-heading.wes-section-title {
	font-family: var(--f-heading);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.14;
	letter-spacing: -0.035em;
	color: var(--c-primary);
	text-align: center;
	text-wrap: balance;
	margin-bottom: 32px;
}
@media (min-width: 640px) { .wes-section-title, h2.wp-block-heading.wes-section-title { font-size: 34px; margin-bottom: 48px; } }
@media (min-width: 1024px) { .wes-section-title, h2.wp-block-heading.wes-section-title { font-size: 42px; } }

/* The one accented word: editors italicise it */
:where(h1, h2, h3, .wes-article__cta-text) em,
.wes-section-title em {
	font-family: var(--f-display);
	font-style: italic;
	font-weight: 600;
	font-size: 1.12em;
	letter-spacing: -0.01em;
	color: var(--c-accent);
}
.wes-section-intro {
	margin-top: 16px;
	font-family: var(--f-body);
	font-size: 15px;
	line-height: 24px;
	color: var(--c-muted);
	text-align: center;
}
@media (min-width: 640px) { .wes-section-intro { font-size: 17px; line-height: 27px; } }

/* ============================================================
   Buttons (core/button + block styles)
   ============================================================ */
.wp-block-buttons { gap: 12px; }
.wp-block-button .wp-element-button {
	--btn-fill: var(--c-accent);
	--btn-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 55%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	box-sizing: border-box;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: 9999px;
	font-family: var(--f-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.01em;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
	/* primary: solid fill, fading inner stroke, soft drop shadow */
	background:
		linear-gradient(var(--btn-fill), var(--btn-fill)) padding-box,
		linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%) border-box,
		linear-gradient(var(--btn-fill), var(--btn-fill)) border-box;
	color: #fff;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2), inset 0 0 6px 2px rgba(255, 255, 255, 0.24), 0 0 0 1px var(--btn-fill);
}
.wp-block-button .wp-element-button:hover,
.wp-block-button .wp-element-button:focus-visible { --btn-fill: var(--c-accent-hover); color: #fff; }
.wp-block-button .wp-element-button:active { transform: translateY(1px); }

.wp-block-button.is-style-secondary .wp-element-button {
	background: var(--btn-sheen), linear-gradient(180deg, #fff 0%, var(--c-surface-cool) 100%);
	border-color: color-mix(in srgb, var(--c-primary) 16%, transparent);
	color: var(--c-primary);
	box-shadow: inset 0 1px 0 #fff, 0 1px 2px color-mix(in srgb, var(--c-primary) 8%, transparent), 0 4px 10px -4px color-mix(in srgb, var(--c-primary) 16%, transparent);
}
.wp-block-button.is-style-secondary .wp-element-button:hover {
	color: var(--c-primary);
	border-color: color-mix(in srgb, var(--c-primary) 35%, transparent);
	box-shadow: inset 0 1px 0 #fff, 0 2px 3px color-mix(in srgb, var(--c-primary) 10%, transparent), 0 8px 16px -6px color-mix(in srgb, var(--c-primary) 22%, transparent);
}
.wp-block-button.is-style-light .wp-element-button {
	background: var(--btn-sheen), linear-gradient(180deg, #fff 0%, var(--c-accent-pale) 100%);
	color: var(--c-primary);
	box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 color-mix(in srgb, var(--c-primary) 12%, transparent), 0 1px 2px rgba(0, 8, 24, 0.25), 0 8px 20px -6px rgba(0, 8, 24, 0.45);
}
.wp-block-button.is-style-light .wp-element-button:hover {
	color: var(--c-primary);
	background: var(--btn-sheen), linear-gradient(180deg, #fff 0%, var(--c-surface-cool) 100%);
}
.wp-block-button.is-style-outline-light .wp-element-button {
	background: var(--btn-sheen), linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
	border-color: rgba(255, 255, 255, 0.3);
	color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 16px -6px rgba(0, 8, 24, 0.5);
}
.wp-block-button.is-style-outline-light .wp-element-button:hover {
	border-color: rgba(255, 255, 255, 0.6);
	background: var(--btn-sheen), linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 100%);
}
.wp-block-button:is(.is-style-light, .is-style-outline-light) .wp-element-button:focus-visible { outline-color: #fff; }
.wp-block-button.wes-btn-sm .wp-element-button { min-height: 44px; padding: 0 20px; font-size: 14px; }

/* Icons on buttons */
.wp-block-button:is(.wes-icon-arrow, .wes-icon-external) .wp-element-button::after,
.wp-block-button:is(.wes-icon-download, .wes-icon-play, .wes-icon-back) .wp-element-button::before {
	content: "";
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	background: currentColor;
	-webkit-mask: var(--wes-icon) center / contain no-repeat;
	mask: var(--wes-icon) center / contain no-repeat;
	transition: transform 0.2s;
}
.wes-icon-arrow { --wes-icon: var(--i-arrow); }
.wes-icon-back { --wes-icon: var(--i-back); }
.wes-icon-download { --wes-icon: var(--i-download); }
.wes-icon-play { --wes-icon: var(--i-play); }
.wes-icon-external { --wes-icon: var(--i-external); }
.wp-block-button.wes-icon-play .wp-element-button::before { width: 14px; height: 14px; }
.wp-block-button.wes-icon-arrow .wp-element-button:hover::after { transform: translateX(2px); }

/* Round icon controls added by site.js (carousel arrows) */
.wes-round {
	--btn-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 55%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	padding: 0;
	border-radius: 9999px;
	border: 1px solid color-mix(in srgb, var(--c-primary) 15%, transparent);
	background: var(--btn-sheen), linear-gradient(180deg, #fff 0%, var(--c-surface-cool) 100%);
	color: var(--c-primary);
	cursor: pointer;
	box-shadow: inset 0 1px 0 #fff, 0 1px 2px color-mix(in srgb, var(--c-primary) 8%, transparent), 0 4px 10px -4px color-mix(in srgb, var(--c-primary) 16%, transparent);
	transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
}
.wes-round::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--i-arrow) center / contain no-repeat;
	mask: var(--i-arrow) center / contain no-repeat;
}
.wes-round.is-prev::before { -webkit-mask-image: var(--i-back); mask-image: var(--i-back); }
.wes-round:hover {
	background: var(--btn-sheen), linear-gradient(180deg, var(--c-primary-light) 0%, var(--c-primary) 100%);
	border-color: var(--c-primary);
	color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 14px -4px color-mix(in srgb, var(--c-primary) 45%, transparent);
}
.wes-round:active { transform: translateY(1px); }
.wes-round.is-small { width: 40px; height: 40px; }
.wes-round.is-small::before { width: 17px; height: 17px; }

/* Carousel dots added by site.js */
.wes-dots { display: flex; align-items: center; gap: 6px; }
.wes-dot {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	min-width: 32px;
	padding: 0 4px;
	border: 0;
	background: none;
	cursor: pointer;
}
.wes-dot::before {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background: var(--c-control);
	transition: all 0.3s;
}
.wes-dot:hover::before { background: var(--c-subtle); }
.wes-dot[aria-current="true"]::before { width: 28px; height: 6px; background: var(--c-accent); }

.screen-reader-text,
.wes-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ============================================================
   Header
   ============================================================ */
.wes-header {
	position: relative;
	z-index: 40;
	background: var(--c-primary);
	color: #fff;
	user-select: none;
}
body:not(.home) .wes-header {
	background-image: var(--wp--preset--gradient--hero);
	padding-bottom: 16px;
}
@media (min-width: 640px) { body:not(.home) .wes-header { padding-bottom: 20px; } }

/* The white notch at the top */
.wes-header .wes-notch {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 356px;
	max-width: 100%;
	height: 40px;
	margin: 0 auto;
	padding-bottom: 2px;
	box-sizing: border-box;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 392 42' preserveAspectRatio='none'%3E%3Cpath d='M0 0C26 0 34 42 66 42H326C358 42 366 0 392 0H0Z' fill='%23fff'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	font-family: var(--f-heading);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: -0.01em;
	white-space: nowrap;
	color: var(--c-primary);
}
.wes-header .wes-notch::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 9999px;
	background: var(--c-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--c-primary) 25%, transparent);
}
@media (min-width: 640px) { .wes-header .wes-notch { width: 392px; height: 42px; font-size: 13px; } }

.wes-header__bar {
	max-width: 1320px;
	margin-inline: auto;
	padding: 6px 16px 0;
	box-sizing: border-box;
	gap: 12px;
}
@media (min-width: 640px) { .wes-header__bar { padding: 8px 32px 0; } }
@media (min-width: 768px) { .wes-header__bar { padding-inline: 48px; } }
@media (min-width: 1024px) { .wes-header__bar { padding-inline: 72px; } }

.wes-brand { gap: 6px; flex-shrink: 0; }
.wes-brand .wes-brand__icon img { display: block; width: 48px; height: 48px; object-fit: contain; }
.wes-brand .wes-brand__name { margin: 0; font-family: var(--f-heading); font-size: 15px; font-weight: 600; line-height: 1.25; letter-spacing: -0.035em; white-space: nowrap; }
.wes-brand .wes-brand__name a { color: #fff; text-decoration: none; }
@media (min-width: 640px) {
	.wes-brand { gap: 8px; }
	.wes-brand .wes-brand__icon img { width: 60px; height: 60px; }
	.wes-brand .wes-brand__name { font-size: 17px; }
}
@media (min-width: 1024px) {
	.wes-brand .wes-brand__icon img { width: 72px; height: 72px; }
	.wes-brand .wes-brand__name { font-size: 19px; }
}

/* Navigation: links in a row on desktop, the core overlay menu below 1024px */
.wes-header .wes-nav { --wes-nav-gap: 16px; }
.wes-header .wes-nav .wp-block-navigation__container { gap: var(--wes-nav-gap); }
.wes-header .wes-nav .wp-block-navigation-item__content { color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 14px; font-weight: 500; line-height: 21px; transition: color 0.2s; }
.wes-header .wes-nav .wp-block-navigation-item__content:hover { color: #fff; }
@media (min-width: 1280px) {
	.wes-header .wes-nav { --wes-nav-gap: 28px; }
	.wes-header .wes-nav .wp-block-navigation-item__content { font-size: 16px; }
}
.wes-header .wes-nav .wes-nav-cta { display: none; }
.wes-header .wes-header__cta { flex-shrink: 0; }

@media (max-width: 1023px) {
	.wes-header .wes-header__cta { display: none; }
	.wes-header .wes-nav { margin-left: auto; }
	/* keep the hamburger and overlay between 600px and 1023px too */
	.wes-header .wes-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.wes-header .wes-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
.wes-header .wes-nav .wp-block-navigation__responsive-container-open {
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
}
.wes-header .wes-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--c-primary) !important;
	background-image: var(--wp--preset--gradient--hero) !important;
	color: #fff !important;
	padding: 24px var(--gutter);
}
.wes-header .wes-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px; }
.wes-header .wes-nav .is-menu-open .wp-block-navigation__container { gap: 6px; width: 100%; }
.wes-header .wes-nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.wes-header .wes-nav .is-menu-open .wp-block-navigation-item__content { display: block; width: 100%; padding: 12px 0; font-size: 22px; font-family: var(--f-heading); font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.wes-header .wes-nav .is-menu-open .wes-nav-cta { display: block; margin-top: 16px; }
.wes-header .wes-nav .is-menu-open .wes-nav-cta .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0;
	border-radius: 9999px;
	background: linear-gradient(180deg, #fff 0%, var(--c-accent-pale) 100%);
	color: var(--c-primary);
	font-family: var(--f-body);
	font-size: 15px;
}
.wes-header .wes-nav .wp-block-navigation__responsive-container-close { color: #fff; top: 24px; right: var(--gutter); }

/* ============================================================
   Hero
   ============================================================ */
.wes-hero { position: relative; z-index: 10; display: flex; flex-direction: column; }
.wes-hero__main {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--c-primary);
	color: #fff;
	text-align: center;
	padding: 32px var(--gutter) 48px;
}
@media (min-width: 640px) { .wes-hero__main { padding-top: 40px; padding-bottom: 64px; } }
@media (min-width: 1024px) {
	.wes-hero { min-height: calc(100svh - 120px); }
	.wes-hero__main { padding-top: 24px; padding-bottom: 64px; }
}
.wes-hero .wes-hero__title {
	max-width: 640px;
	font-family: var(--f-heading);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.035em;
	color: #fff;
	text-wrap: balance;
}
.wes-hero .wes-hero__title em {
	font-size: 1.1em;
	line-height: 1;
	padding-right: 0.08em;
	color: transparent;
	background: var(--wp--preset--gradient--headline-accent);
	-webkit-background-clip: text;
	background-clip: text;
}
@media (min-width: 400px) { .wes-hero .wes-hero__title { font-size: 33px; } }
@media (min-width: 640px) { .wes-hero .wes-hero__title { font-size: 44px; } }
@media (min-width: 768px) { .wes-hero .wes-hero__title { font-size: 48px; } }
@media (min-width: 1024px) { .wes-hero .wes-hero__title { font-size: 54px; max-width: 900px; } }
@media (min-width: 1280px) { .wes-hero .wes-hero__title { font-size: 62px; } }

.wes-hero .wes-hero__intro {
	max-width: 335px;
	margin-top: 20px;
	font-family: var(--f-body);
	font-size: 15px;
	line-height: 24px;
	letter-spacing: -0.005em;
	color: rgba(255, 255, 255, 0.7);
	text-wrap: balance;
}
@media (min-width: 640px) { .wes-hero .wes-hero__intro { max-width: 600px; margin-top: 24px; font-size: 17px; line-height: 27px; } }

.wes-hero .wes-hero__ctas {
	display: grid;
	grid-template-columns: 1fr;
	width: 100%;
	max-width: 340px;
	gap: 10px;
	margin-top: 24px;
}
.wes-hero .wes-hero__ctas .wp-block-button { width: 100%; }
.wes-hero .wes-hero__ctas .wp-element-button { width: 100%; padding-inline: 16px; }
.wes-hero .wes-hero__ctas .wes-icon-arrow .wp-element-button::after { display: none; }
@media (min-width: 640px) {
	.wes-hero .wes-hero__ctas { display: flex; justify-content: center; width: auto; max-width: none; gap: 12px; margin-top: 32px; }
	.wes-hero .wes-hero__ctas .wp-block-button { width: auto; }
	.wes-hero .wes-hero__ctas .wp-element-button { min-width: 200px; padding-inline: 28px; }
	.wes-hero .wes-hero__ctas .wes-icon-arrow .wp-element-button::after { display: block; }
}

/* The video on a glass screen with viewfinder corners */
.wes-hero .wes-screen {
	position: relative;
	width: 100%;
	max-width: 720px;
	margin-top: 28px;
	padding: 1px;
	border-radius: 22px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
	box-shadow: var(--wp--preset--shadow--glow);
	box-sizing: border-box;
}
.wes-hero .wes-screen::before {
	content: "";
	position: absolute;
	inset: -12px;
	display: none;
	border: 2px solid color-mix(in srgb, var(--c-accent-soft) 70%, transparent);
	border-radius: 8px;
	pointer-events: none;
	-webkit-mask:
		linear-gradient(#000 0 0) top left / 20px 20px no-repeat,
		linear-gradient(#000 0 0) top right / 20px 20px no-repeat,
		linear-gradient(#000 0 0) bottom left / 20px 20px no-repeat,
		linear-gradient(#000 0 0) bottom right / 20px 20px no-repeat;
	mask:
		linear-gradient(#000 0 0) top left / 20px 20px no-repeat,
		linear-gradient(#000 0 0) top right / 20px 20px no-repeat,
		linear-gradient(#000 0 0) bottom left / 20px 20px no-repeat,
		linear-gradient(#000 0 0) bottom right / 20px 20px no-repeat;
}
.wes-hero .wes-screen__video {
	padding: 6px;
	border-radius: 21px;
	background: color-mix(in srgb, var(--c-primary-deep) 80%, transparent);
	backdrop-filter: blur(12px);
}
.wes-hero .wes-screen__video video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 16px;
	background: #000;
}
@media (min-width: 640px) {
	.wes-hero .wes-screen { margin-top: 48px; border-radius: 26px; }
	.wes-hero .wes-screen::before { display: block; }
	.wes-hero .wes-screen__video { padding: 8px; border-radius: 25px; }
	.wes-hero .wes-screen__video video { border-radius: 18px; }
}
@media (min-width: 1024px) { .wes-hero .wes-screen { width: min(880px, 68vw); max-width: none; margin-top: 48px; } }

/* Marketing strengths, resting under the hero */
.wes-strengths { padding: 20px var(--gutter) 12px; text-align: center; background: #fff; margin-top: 12px; }
@media (min-width: 640px) { .wes-strengths { padding-top: 24px; padding-bottom: 16px; margin-top: 16px; } }
@media (min-width: 1024px) { .wes-strengths { padding-top: 32px; margin-top: 0; } }
.wes-strengths .wes-strengths__label { font-family: var(--f-body); font-size: 15px; font-weight: 600; line-height: 22px; letter-spacing: -0.01em; color: var(--c-primary); margin-bottom: 4px; }
@media (min-width: 640px) { .wes-strengths .wes-strengths__label { font-size: 16px; margin-bottom: 8px; } }

.wes-ticker {
	position: relative;
	max-width: 1060px;
	margin-inline: auto;
	padding-block: 8px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 40px;
}
.wes-ticker .wes-ticker__item { font-family: var(--f-heading); font-size: 13px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; color: var(--c-primary); }
@media (min-width: 640px) { .wes-ticker .wes-ticker__item { font-size: 15px; } }
/* site.js turns the row into a scrolling ticker */
.wes-ticker.is-ticking { display: block; padding-block: 8px; }
.wes-ticker__viewport {
	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);
}
.wes-ticker__track { display: flex; width: max-content; animation: wes-ticker 30s linear infinite; }
.wes-ticker.is-paused .wes-ticker__track { animation-play-state: paused; }
.wes-ticker__set { display: flex; flex-shrink: 0; align-items: center; height: 56px; gap: 40px; padding-right: 40px; }
@media (min-width: 640px) { .wes-ticker__set { gap: 56px; padding-right: 56px; } }
@keyframes wes-ticker { from { transform: translateX(0); } to { transform: translateX(-33.333333%); } }
.wes-ticker__toggle {
	position: absolute;
	top: -20px;
	right: 4px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.9);
	color: var(--c-muted);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	cursor: pointer;
}
.wes-ticker__toggle:hover { color: var(--c-primary); }
.wes-ticker__toggle svg { width: 12px; height: 12px; }

/* ============================================================
   About
   ============================================================ */
.wes-about .wes-about__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 640px) { .wes-about .wes-about__grid { gap: 40px; } }
@media (min-width: 768px) { .wes-about .wes-about__grid { grid-template-columns: 5fr 7fr; } }
@media (min-width: 1024px) { .wes-about .wes-about__grid { gap: 56px; } }
.wes-about .wes-about__grid > .wp-block-column { width: auto; min-width: 0; }
.wes-about .wes-about__photo { display: flex; justify-content: center; }
@media (min-width: 768px) { .wes-about .wes-about__photo { justify-content: flex-start; position: sticky; top: 40px; } }

.wes-portrait {
	position: relative;
	width: 100%;
	max-width: 360px;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 22px;
	background: var(--c-accent-pale);
	box-shadow: var(--wp--preset--shadow--photo), 0 0 0 1px rgba(0, 0, 0, 0.05);
}
@media (min-width: 640px) { .wes-portrait { max-width: 400px; border-radius: 24px; } }
@media (min-width: 768px) { .wes-portrait { max-width: 440px; aspect-ratio: 3 / 4; } }
@media (min-width: 1024px) { .wes-portrait { aspect-ratio: 3 / 5; } }
.wes-portrait .wes-portrait__img,
.wes-portrait .wes-portrait__img img { width: 100%; height: 100%; }
.wes-portrait .wes-portrait__img img { object-fit: cover; object-position: top; transition: transform 0.7s; }
.wes-portrait:hover .wes-portrait__img img { transform: scale(1.02); }
.wes-portrait::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 176px;
	pointer-events: none;
	background: linear-gradient(to top, color-mix(in srgb, var(--c-primary-deep) 75%, transparent), color-mix(in srgb, var(--c-primary-deep) 25%, transparent), transparent);
}
.wes-portrait .wes-portrait__social { position: absolute; z-index: 2; left: 20px; bottom: 20px; gap: 10px; }
@media (min-width: 640px) { .wes-portrait .wes-portrait__social { left: 24px; bottom: 24px; } }
.wes-portrait__social.wp-block-social-links .wp-social-link {
	width: 40px;
	height: 40px;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: color-mix(in srgb, var(--c-primary) 65%, transparent);
	backdrop-filter: blur(12px);
	color: #fff;
	transition: background 0.2s;
}
.wes-portrait__social.wp-block-social-links .wp-social-link:hover { background: var(--c-accent); transform: none; }
.wes-portrait__social .wp-block-social-link-anchor { width: 100%; height: 100%; padding: 0; justify-content: center; align-items: center; }
.wes-portrait__social .wp-block-social-link-anchor svg { width: 16px; height: 16px; }

.wes-about .wes-about__text { display: flex; flex-direction: column; align-items: flex-start; }
.wes-about .wes-about__para,
.wes-about .wes-about__quote {
	font-family: var(--f-body);
	font-size: 15px;
	line-height: 25px;
	letter-spacing: -0.01em;
	color: var(--c-body);
}
.wes-about .wes-about__para + .wes-about__para,
.wes-about .wes-about__quote { margin-top: 16px; }
.wes-about .wes-about__para strong { font-weight: 500; color: var(--c-primary); }
.wes-about .wes-about__para:first-child strong { font-weight: 600; }
.wes-about .wes-about__para mark { font-weight: 600; }
.wes-about .wes-about__quote {
	padding: 6px 0 6px 16px;
	border-left: 2px solid var(--c-accent);
	font-weight: 500;
	color: var(--c-primary);
}
@media (min-width: 640px) {
	.wes-about .wes-about__para { font-size: 16px; line-height: 28px; }
	.wes-about .wes-about__quote { font-size: 16px; line-height: 26px; padding-block: 8px; }
	.wes-about .wes-about__para + .wes-about__para,
	.wes-about .wes-about__quote { margin-top: 20px; }
}
.wes-about .wes-about__ctas { margin-top: 28px; width: 100%; flex-direction: column; align-items: stretch; gap: 12px; }
.wes-about .wes-about__ctas .wp-element-button { width: 100%; }
@media (min-width: 640px) {
	.wes-about .wes-about__ctas { margin-top: 32px; width: auto; flex-direction: row; align-items: center; gap: 14px; }
	.wes-about .wes-about__ctas .wp-element-button { width: auto; }
}

/* ============================================================
   Selected work
   ============================================================ */
.wes-work-slide { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.wes-work-slide + .wes-work-slide { margin-top: 64px; padding-top: 64px; border-top: 1px solid color-mix(in srgb, var(--c-primary) 10%, transparent); }
@media (min-width: 1024px) {
	.wes-work-slide { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
	.wes-work-slide .wes-work-slide__media { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 24px; }
}
@media (max-width: 1023px) {
	.wes-work-slide .wes-work-slide__media { display: contents; }
	.wes-work-slide .wes-work-slide__contrib { order: 10; }
}
.wes-work-slide__photos { display: flex; flex-direction: column; gap: 12px; }

.wes-work-photo {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 24px;
	background: var(--c-primary);
}
@media (min-width: 640px) { .wes-work-photo { border-radius: 28px; } }
.wes-work-photo img,
.wes-work-photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wes-work-photo video { object-fit: contain; background: #000; }
.wes-work-photo.is-contain img { object-fit: contain; padding: 32px; box-sizing: border-box; }
.wes-work-photo.is-contain-tight img { padding: 12px; }
.wes-bg-2e9b48 { background-color: #2e9b48; }
.wes-bg-ffffff { background-color: #fff; }
.wes-bg-f1e8df { background-color: #f1e8df; }
/* Without site.js every photo shows; with it, one at a time plus thumbnails */
.wes-work.is-enhanced .wes-work-photo:not(.is-active) { display: none; }
.wes-work-photo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wes-video-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 9999px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}
.wes-thumbs { display: flex; gap: 10px; }
.wes-thumb {
	position: relative;
	width: 76px;
	height: 56px;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 12px;
	background: var(--c-line-cool);
	opacity: 0.55;
	cursor: pointer;
	transition: opacity 0.2s;
}
.wes-thumb:hover { opacity: 0.9; }
.wes-thumb[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--c-surface), 0 0 0 4px var(--c-accent); }
.wes-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wes-thumb.is-video::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.25) no-repeat center / 14px;
	-webkit-mask: none;
}

.wes-work-slide .wes-work-slide__label { font-family: var(--f-body); font-size: 13px; font-weight: 600; line-height: 19px; color: var(--c-primary); }
.wes-work-slide .wes-work-slide__contribution { margin-top: 6px; font-family: var(--f-body); font-size: 14px; line-height: 22px; color: var(--c-muted); }
@media (min-width: 640px) {
	.wes-work-slide .wes-work-slide__label { font-size: 14px; }
	.wes-work-slide .wes-work-slide__contribution { font-size: 15px; line-height: 24px; }
}

.wes-work-slide__body { display: flex; flex-direction: column; justify-content: center; }
.wes-work-slide .wes-work-slide__subtitle { font-family: var(--f-body); font-size: 14px; font-weight: 500; line-height: 20px; color: var(--c-muted); }
@media (min-width: 640px) { .wes-work-slide .wes-work-slide__subtitle { font-size: 15px; } }
.wes-work-slide .wes-work-slide__logo { display: flex; align-items: center; height: 48px; margin-top: 8px; }
.wes-work-slide .wes-work-slide__logo img { max-height: 48px; max-width: 220px; width: auto; object-fit: contain; object-position: left; }
/* A project without a logo shows its name in the logo's place */
.wes-work-slide .wes-work-slide__brand { display: flex; align-items: center; min-height: 48px; margin: 8px 0 0; font-family: var(--f-heading); font-size: 26px; font-weight: 700; line-height: 1.1; color: var(--c-primary); }
.wes-tile__monogram { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 4px; border-radius: 6px; background: var(--c-primary); color: #fff; font-family: var(--f-heading); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; box-sizing: border-box; }
.wes-picker-grid .wes-tile__monogram { min-width: 48px; height: 48px; border-radius: 12px; font-size: 18px; }
.wes-work-slide .wes-work-slide__logo.is-square img { width: 48px; height: 48px; }
/* Citizen TV: the wordmark is cropped out of a larger image */
.wes-work-slide__logo.is-citizen img,
.wes-tile .is-citizen img { width: 180px; max-width: none; max-height: none; margin: -73px 0 0 -36px; }
.wes-work-slide__logo.is-citizen { width: 108px; height: 36px !important; overflow: hidden; align-self: flex-start; margin-top: 14px !important; margin-bottom: 6px !important; }

.wes-work-slide .wes-work-slide__metric {
	margin-top: 20px;
	font-family: var(--f-display);
	font-style: italic;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: var(--c-accent);
}
@media (min-width: 640px) { .wes-work-slide .wes-work-slide__metric { font-size: 38px; } }
.wes-work-slide .wes-work-slide__overview { margin-top: 16px; font-family: var(--f-body); font-size: 15px; line-height: 24px; color: var(--c-muted); }
@media (min-width: 640px) { .wes-work-slide .wes-work-slide__overview { font-size: 16px; line-height: 25px; } }

.wes-ticks { list-style: none; padding: 0; margin-top: 24px !important; }
.wes-ticks li {
	position: relative;
	padding-left: 32px;
	font-family: var(--f-body);
	font-size: 15px;
	font-weight: 400;
	line-height: 22px;
	color: var(--c-body);
}
.wes-ticks li + li { margin-top: 12px; }
.wes-ticks li strong { font-weight: 600; color: var(--c-primary); }
.wes-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 20px;
	height: 20px;
	border-radius: 9999px;
	background: var(--c-accent-pale);
}
.wes-ticks li::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 5px;
	width: 12px;
	height: 12px;
	background: var(--c-accent);
	-webkit-mask: var(--i-check) center / contain no-repeat;
	mask: var(--i-check) center / contain no-repeat;
}
@media (min-width: 640px) { .wes-ticks li { font-size: 16px; } }
.wes-work-slide .wes-work-slide__role {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid color-mix(in srgb, var(--c-primary) 10%, transparent);
	font-family: var(--f-body);
	font-size: 13px;
	line-height: 19px;
	color: var(--c-muted);
}
@media (min-width: 640px) { .wes-work-slide .wes-work-slide__role { font-size: 14px; } }
.wes-work-slide .wes-work-slide__cta { margin-top: 24px; }
.wes-work-slide .wes-work-slide__links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.wes-work-slide__links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--f-body);
	font-size: 14px;
	font-weight: 500;
	color: var(--c-accent);
	text-decoration: none;
	text-underline-offset: 4px;
}
.wes-work-slide__links a:hover { text-decoration: underline; }
.wes-work-slide__links a::after {
	content: "";
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: var(--i-external) center / contain no-repeat;
	mask: var(--i-external) center / contain no-repeat;
}
@media (min-width: 640px) { .wes-work-slide__links a { font-size: 15px; } }

/* site.js: one project at a time, with a picker */
.wes-work.is-enhanced .wes-work-slide:not(.is-active) { display: none; }
.wes-work.is-enhanced .wes-work-slide { margin-top: 0; padding-top: 0; border-top: 0; animation: wes-fade 0.5s ease; }
@keyframes wes-fade { from { opacity: 0; } to { opacity: 1; } }

.wes-picker-top { margin: 0 calc(var(--gutter) * -1) 24px; }
.wes-picker-top__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding-inline: var(--gutter); }
.wes-picker-top__count { font-family: var(--f-body); font-size: 13px; color: var(--c-muted); }
.wes-picker-top__count b { font-weight: 600; color: var(--c-primary); }
.wes-picker-top__arrows { display: flex; gap: 8px; }
.wes-strip {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	padding: 0 var(--gutter) 4px;
	scrollbar-width: none;
}
.wes-strip::-webkit-scrollbar { display: none; }
.wes-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex-shrink: 0;
	width: 108px;
	height: 68px;
	padding: 0 8px;
	box-sizing: border-box;
	border: 1px solid color-mix(in srgb, var(--c-primary) 10%, transparent);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.55);
	scroll-snap-align: start;
	cursor: pointer;
	transition: all 0.2s;
}
.wes-tile[aria-current="true"] { border-color: var(--c-accent); background: #fff; }
.wes-tile__logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 24px; overflow: hidden; }
.wes-tile__logo img { max-width: 84px; height: 24px; object-fit: contain; }
.wes-tile__label {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: var(--f-body);
	font-size: 11px;
	font-weight: 500;
	line-height: 14px;
	color: var(--c-muted);
}
.wes-tile[aria-current="true"] .wes-tile__label { font-weight: 600; color: var(--c-primary); }
.wes-tile .is-citizen { position: relative; width: 72px; height: 24px; overflow: hidden; }
.wes-strip .wes-tile .is-citizen img { width: 120px; height: auto; max-width: none; margin: -49px 0 0 -24px; }

.wes-picker-bottom { display: none; margin-top: 48px; gap: 24px; align-items: center; }
.wes-picker-grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (min-width: 1280px) { .wes-picker-grid { grid-template-columns: repeat(5, 1fr); } }
.wes-picker-grid .wes-tile { width: auto; height: auto; min-height: 108px; gap: 8px; padding: 12px; border-radius: 16px; }
.wes-picker-grid .wes-tile:hover { border-color: color-mix(in srgb, var(--c-primary) 25%, transparent); background: #fff; }
.wes-picker-grid .wes-tile[aria-current="true"] { box-shadow: var(--wp--preset--shadow--selected); }
.wes-picker-grid .wes-tile__logo { height: 48px; opacity: 0.8; }
.wes-picker-grid .wes-tile[aria-current="true"] .wes-tile__logo,
.wes-picker-grid .wes-tile:hover .wes-tile__logo { opacity: 1; }
.wes-picker-grid .wes-tile__logo img { max-width: 160px; height: 48px; }
.wes-picker-grid .wes-tile__logo .is-square-logo { max-width: 48px; }
.wes-picker-grid .wes-tile .is-citizen { width: 108px; height: 36px; }
.wes-picker-grid .wes-tile__label { white-space: normal; text-wrap: balance; text-align: center; font-size: 13px; line-height: 16px; }
.wes-picker-bottom__arrows { display: flex; gap: 8px; flex-shrink: 0; }

.wes-more-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--c-primary) 10%, transparent); }
.wes-more-projects button { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.wes-more-projects button + button { align-items: flex-end; text-align: right; }
.wes-more-projects small { font-family: var(--f-body); font-size: 13px; color: var(--c-muted); }
.wes-more-projects span { max-width: 100%; font-family: var(--f-body); font-size: 15px; font-weight: 600; line-height: 20px; color: var(--c-primary); }
@media (min-width: 1024px) {
	.wes-picker-top, .wes-more-projects { display: none; }
	.wes-picker-bottom { display: flex; }
}

/* ============================================================
   Insights
   ============================================================ */
.wes-insights { overflow: hidden; }
.wes-insights .wes-insights__title { max-width: 720px; margin-inline: auto; }
.wes-insights__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
	scrollbar-width: none;
}
.wes-insights__track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .wes-insights__track { gap: 20px; } }
.wes-insight-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-shrink: 0;
	width: min(820px, calc(100vw - 40px));
	min-height: 420px;
	padding: 24px;
	box-sizing: border-box;
	overflow: hidden;
	scroll-snap-align: start;
	border: 1px solid var(--c-line);
	border-radius: 16px;
	background: var(--c-accent-bright);
	transition: opacity 0.5s;
}
.wes-insights.is-enhanced .wes-insight-card:not(.is-active) { opacity: 0.65; }
.wes-insight-card::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.3;
	background-image: radial-gradient(rgba(255, 255, 255, 0.65) 0.8px, transparent 0.8px);
	background-size: 14px 14px;
	-webkit-mask-image: linear-gradient(135deg, #000, transparent 75%);
	mask-image: linear-gradient(135deg, #000, transparent 75%);
}
.wes-insight-card > * { position: relative; }
@media (min-width: 640px) { .wes-insight-card { min-height: 400px; padding: 40px; border-radius: 20px; } }
@media (min-width: 1024px) { .wes-insight-card { min-height: 420px; padding: 48px; } }
.wes-insight-card .wes-insight-card__topic { font-family: var(--f-body); font-size: 14px; font-weight: 500; line-height: 20px; color: rgba(255, 255, 255, 0.7); }
.wes-insight-card .wes-insight-card__question {
	max-width: 680px;
	margin-top: 8px;
	font-family: var(--f-heading);
	font-size: 28px;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.035em;
	color: #fff;
	text-wrap: balance;
}
.wes-insight-card .wes-insight-card__summary {
	max-width: 640px;
	margin-top: 16px;
	margin-bottom: auto;
	font-family: var(--f-body);
	font-size: 15px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.8);
}
.wes-insight-card .wes-insight-card__cta { margin-top: 32px; }
@media (min-width: 640px) {
	.wes-insight-card .wes-insight-card__topic { font-size: 15px; }
	.wes-insight-card .wes-insight-card__question { font-size: 36px; }
	.wes-insight-card .wes-insight-card__summary { margin-top: 24px; font-size: 16px; }
	.wes-insight-card .wes-insight-card__cta { margin-top: 40px; }
}
@media (min-width: 1024px) {
	.wes-insight-card .wes-insight-card__question { font-size: 42px; }
	.wes-insight-card .wes-insight-card__summary { font-size: 17px; }
}
.wes-carousel-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 28px; }
.wes-carousel-nav .wes-dots { grid-column: 2; }
.wes-carousel-nav .wes-arrows { grid-column: 3; justify-self: end; display: flex; gap: 8px; }

/* ============================================================
   Services
   ============================================================ */
.wes-services h2.wp-block-heading.wes-section-title { margin-bottom: 0; max-width: 640px; margin-inline: auto; }
.wes-services .wes-section-intro { max-width: 640px; margin: 16px auto 32px; }
@media (min-width: 640px) { .wes-services .wes-section-intro { margin-bottom: 48px; } }
.wes-services__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .wes-services__grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1024px) { .wes-services__grid { grid-template-columns: repeat(3, 1fr); } }
.wes-service {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 148px;
	padding: 20px;
	box-sizing: border-box;
	border: 1px solid color-mix(in srgb, var(--c-primary) 10%, transparent);
	border-radius: 20px;
	background: #fff;
	text-align: left;
	transition: border-color 0.2s, box-shadow 0.2s;
}
@media (min-width: 640px) { .wes-service { padding: 24px; } }
.wes-service[role="radio"] { cursor: pointer; }
.wes-service[role="radio"]:hover { border-color: color-mix(in srgb, var(--c-primary) 30%, transparent); }
.wes-service[aria-checked="true"] { border-color: var(--c-accent); box-shadow: 0 0 0 1px var(--c-accent); }
.wes-service[role="radio"]::after {
	content: "";
	position: absolute;
	top: 20px;
	right: 20px;
	width: 24px;
	height: 24px;
	box-sizing: border-box;
	border: 1px solid color-mix(in srgb, var(--c-primary) 20%, transparent);
	border-radius: 9999px;
	transition: all 0.2s;
}
.wes-service[aria-checked="true"]::after {
	border-color: var(--c-accent);
	background: var(--c-accent) no-repeat center / 13px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
@media (min-width: 640px) { .wes-service[role="radio"]::after { top: 24px; right: 24px; } }
.wes-service .wes-service__number { font-family: var(--f-body); font-size: 13px; font-weight: 500; color: var(--c-subtle); }
.wes-service .wes-service__title {
	margin-top: 8px;
	padding-right: 32px;
	font-family: var(--f-heading);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: var(--c-primary);
}
@media (min-width: 640px) { .wes-service .wes-service__title { font-size: 19px; } }
.wes-service .wes-service__text { margin-top: 8px; font-family: var(--f-body); font-size: 15px; line-height: 23px; color: var(--c-muted); }
.wes-service.is-other { margin-top: 12px; width: 100%; gap: 4px; border-style: dashed; border-color: color-mix(in srgb, var(--c-primary) 25%, transparent); background: transparent; min-height: 0; }
.wes-service.is-other .wes-service__title { margin-top: 0; }
.wes-service.is-other .wes-service__text { margin-top: 0; }
.wes-service.is-other[aria-checked="true"] { border-style: solid; background: #fff; }
@media (min-width: 640px) { .wes-service.is-other { margin-top: 16px; } }
@media (min-width: 1024px) {
	.wes-service.is-other { flex-direction: row; align-items: center; gap: 24px; }
	.wes-service.is-other .wes-service__title { flex-shrink: 0; }
}
.wes-services .wes-services__cta { position: sticky; bottom: 16px; z-index: 10; justify-content: center; margin-top: 32px; padding-right: 56px; }
.wes-services .wes-services__cta .wp-element-button { padding-inline: 32px; }
@media (min-width: 640px) { .wes-services .wes-services__cta { margin-top: 40px; padding-right: 0; } }
@media (min-width: 1024px) { .wes-services .wes-services__cta { position: static; } }

/* ============================================================
   Testimonials
   ============================================================ */
.wes-testimonial { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.wes-testimonial + .wes-testimonial { margin-top: 48px; }
@media (min-width: 640px) { .wes-testimonial { gap: 40px; } }
@media (min-width: 768px) { .wes-testimonial { grid-template-columns: 5fr 7fr; } }
@media (min-width: 1024px) { .wes-testimonial { gap: 64px; } }
.wes-testimonials.is-enhanced .wes-testimonial:not(.is-active) { display: none; }
.wes-testimonials.is-enhanced .wes-testimonial { margin-top: 0; animation: wes-fade 0.5s ease; }
.wes-testimonial__media { display: flex; justify-content: center; }
@media (min-width: 768px) { .wes-testimonial__media { justify-content: flex-start; } }
.wes-testimonial__media > * {
	width: 100%;
	max-width: 260px;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 20px;
	background: var(--c-surface);
	box-shadow: var(--wp--preset--shadow--photo-sm), 0 0 0 1px rgba(0, 0, 0, 0.05);
}
@media (min-width: 640px) { .wes-testimonial__media > * { max-width: 320px; } }
@media (min-width: 768px) { .wes-testimonial__media > * { max-width: 340px; } }
@media (min-width: 1024px) { .wes-testimonial__media > * { max-width: 360px; } }
.wes-testimonial__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wes-testimonial__placeholder {
	position: relative;
	background: linear-gradient(to bottom right, var(--c-surface-cool), var(--c-accent-pale)) !important;
}
.wes-testimonial__placeholder::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 96px;
	height: 96px;
	margin: -48px 0 0 -48px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: var(--wp--preset--shadow--badge);
}
.wes-testimonial__placeholder::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 44px;
	height: 44px;
	margin: -22px 0 0 -22px;
	background: var(--c-accent);
	-webkit-mask: var(--i-person) center / contain no-repeat;
	mask: var(--i-person) center / contain no-repeat;
}
.wes-testimonial__body { display: flex; flex-direction: column; align-items: center; text-align: center; }
@media (min-width: 768px) { .wes-testimonial__body { align-items: flex-start; text-align: left; } }
.wes-testimonial .wes-testimonial__quote { max-width: 660px; margin: 0; padding: 0; border: 0; }
.wes-testimonial .wes-testimonial__quote p {
	font-family: var(--f-heading);
	font-size: 19px;
	font-weight: 400;
	line-height: 1.38;
	letter-spacing: -0.025em;
	color: var(--c-primary);
}
@media (min-width: 640px) { .wes-testimonial .wes-testimonial__quote p { font-size: 23px; } }
@media (min-width: 768px) { .wes-testimonial .wes-testimonial__quote p { font-size: 24px; } }
@media (min-width: 1024px) { .wes-testimonial .wes-testimonial__quote p { font-size: 29px; } }
.wes-testimonial .wes-testimonial__author { margin-top: 24px; font-family: var(--f-body); font-size: 16px; font-weight: 600; line-height: 21px; color: var(--c-primary); }
@media (min-width: 640px) { .wes-testimonial .wes-testimonial__author { margin-top: 32px; } }
.wes-testimonial__author a { color: inherit; text-decoration: underline; text-decoration-color: var(--c-line-strong); text-underline-offset: 4px; }
.wes-testimonial__author a:hover { color: var(--c-accent); text-decoration-color: currentColor; }
.wes-testimonial .wes-testimonial__role { margin-top: 2px; font-family: var(--f-body); font-size: 15px; line-height: 21px; color: var(--c-muted); }
@media (min-width: 640px) { .wes-testimonial .wes-testimonial__role { font-size: 16px; } }
.wes-signature::after {
	content: "";
	display: block;
	width: 136px;
	height: 44px;
	margin-top: 16px;
	background: color-mix(in srgb, var(--c-primary) 85%, transparent);
	-webkit-mask: var(--sig) left center / contain no-repeat;
	mask: var(--sig) left center / contain no-repeat;
}
@media (min-width: 768px) { .wes-testimonial__body .wes-signature::after { margin-inline: 0; } }
@media (max-width: 767px) { .wes-testimonial__body .wes-signature::after { margin-inline: auto; } }
.wes-signature--claire { --sig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 52' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 34 C22 12, 34 10, 28 32 C25 40, 42 20, 52 26 C60 30, 56 36, 68 28 C82 18, 95 10, 88 28 C84 38, 112 24, 134 29 M44 42 C72 34, 108 32, 146 36'/%3E%3C/svg%3E"); }
.wes-signature--lilly { --sig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 52' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 36 C28 8, 44 12, 38 34 C36 40, 50 22, 64 26 C78 30, 84 16, 98 24 C112 32, 124 20, 142 26 M32 42 C66 36, 104 34, 138 38'/%3E%3C/svg%3E"); }
.wes-testimonials-nav { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 48px; }
.wes-testimonials-nav .wes-dots { max-width: 100%; overflow-x: auto; gap: 4px; scrollbar-width: none; }
.wes-testimonials-nav .wes-dot { min-width: 20px; height: 36px; padding: 0; }
.wes-testimonials-nav .wes-arrows { display: flex; gap: 8px; flex-shrink: 0; }
@media (min-width: 640px) {
	.wes-testimonials-nav { margin-top: 64px; }
	.wes-testimonials-nav .wes-dots { gap: 8px; }
	.wes-testimonials-nav .wes-dot { min-width: 32px; height: 44px; padding: 0 2px; }
}
@media (min-width: 1024px) {
	.wes-testimonials-nav { flex-direction: row; justify-content: space-between; margin-top: 80px; }
	.wes-testimonials-nav .wes-dots { overflow: visible; }
}

/* ============================================================
   Gallery preview (coverflow)
   ============================================================ */
.wes-gallery-preview { overflow: hidden; }
.wes-coverflow { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.wes-coverflow .wes-coverflow__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; }
.wes-coverflow.is-enhanced {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 12px;
	height: 340px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.wes-coverflow.is-enhanced > figure { display: none; }
.wes-cover {
	position: relative;
	flex-shrink: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 22px;
	background: var(--c-line-cool);
	cursor: pointer;
	transition: all 0.5s ease-out;
}
.wes-cover:hover { filter: brightness(1.05); }
.wes-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wes-cover[data-distance="0"] { width: 226px; height: 340px; box-shadow: var(--wp--preset--shadow--lift); cursor: default; filter: none; }
.wes-cover[data-distance="1"] { width: 120px; height: 240px; }
.wes-cover[data-distance="2"], .wes-cover[data-distance="3"] { display: none; }
@media (min-width: 640px) {
	.wes-coverflow.is-enhanced { height: 420px; gap: 16px; }
	.wes-cover[data-distance="0"] { width: 280px; height: 420px; }
	.wes-cover[data-distance="1"] { width: 220px; height: 330px; }
	.wes-cover[data-distance="2"] { display: block; width: 170px; height: 260px; }
}
@media (min-width: 1024px) { .wes-cover[data-distance="3"] { display: block; width: 132px; height: 200px; opacity: 0.4; } }
.wes-gallery-preview .wes-coverflow__cta { justify-content: center; align-items: center; margin-top: 32px; }
@media (min-width: 640px) { .wes-gallery-preview .wes-coverflow__cta { margin-top: 40px; } }

/* ============================================================
   FAQ
   ============================================================ */
.wes-faq .wes-faq__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) {
	.wes-faq .wes-faq__grid { grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; column-gap: 48px; row-gap: 0; }
	.wes-faq .wes-faq__head { grid-column: 1; grid-row: 1; }
	.wes-faq .wes-faq__list { grid-column: 2; grid-row: 1 / span 2; }
	.wes-faq .wes-faq__more { grid-column: 1; grid-row: 2; align-self: end; }
}
@media (min-width: 1024px) { .wes-faq .wes-faq__grid { column-gap: 64px; } }
.wes-faq .wes-faq__head .wes-section-title { text-align: left; margin-bottom: 0; }
.wes-faq .wes-faq__more { padding-top: 8px; }
.wes-faq .wes-faq__more-label { font-family: var(--f-body); font-size: 16px; font-weight: 500; line-height: 21px; color: var(--c-primary); }
.wes-faq .wes-faq__more .wp-block-buttons { margin-top: 12px; }

.wes-faq__list.wp-block-accordion { border-bottom: 1px solid var(--c-line); }
.wes-faq__list .wp-block-accordion-item { padding-block: 20px; border-top: 1px solid var(--c-line); }
.wes-faq__list .wp-block-accordion-item:first-child { padding-top: 0; border-top: 0; }
@media (min-width: 640px) { .wes-faq__list .wp-block-accordion-item { padding-block: 24px; } }
.wes-faq__list .wp-block-accordion-heading { margin: 0; font-size: inherit; }
.wes-faq__list .wp-block-accordion-heading__toggle {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 12px 0;
	margin: -12px 0;
	border: 0;
	background: none;
	text-align: left;
	cursor: pointer;
	color: var(--c-primary);
}
.wes-faq__list .wp-block-accordion-heading__toggle:hover { color: var(--c-accent); }
.wes-faq__list .wp-block-accordion-heading__toggle-title {
	font-family: var(--f-heading);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.32;
	letter-spacing: -0.02em;
	text-decoration: none !important;
}
@media (min-width: 640px) { .wes-faq__list .wp-block-accordion-heading__toggle-title { font-size: 19px; } }
@media (min-width: 1024px) { .wes-faq__list .wp-block-accordion-heading__toggle-title { font-size: 20px; } }
.wes-faq__list .wp-block-accordion-heading__toggle-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding-top: 2px;
	flex-shrink: 0;
	font-size: 22px;
	font-weight: 300;
	line-height: 1;
}
.wes-faq__list .wp-block-accordion-panel { margin-top: 14px; padding-right: 16px; }
.wes-faq__list .wp-block-accordion-panel p { max-width: 620px; font-family: var(--f-body); font-size: 15px; line-height: 23px; color: var(--c-muted); }
.wes-faq__list .wp-block-accordion-panel p + p { margin-top: 12px; }
@media (min-width: 640px) {
	.wes-faq__list .wp-block-accordion-panel { margin-top: 16px; padding-right: 32px; }
	.wes-faq__list .wp-block-accordion-panel p { font-size: 16px; }
}

/* ============================================================
   Footer
   ============================================================ */
.wes-footer { padding: 24px 16px 48px; }
@media (min-width: 640px) { .wes-footer { padding: 32px 32px 64px; } }
@media (min-width: 1024px) { .wes-footer { padding-inline: 48px; } }
.wes-footer__card {
	max-width: 1320px;
	margin-inline: auto;
	padding: 40px 20px 32px;
	box-sizing: border-box;
	border: 1px solid color-mix(in srgb, var(--c-line) 90%, transparent);
	border-radius: 24px;
	background: var(--c-surface);
	box-shadow: var(--wp--preset--shadow--card);
}
@media (min-width: 640px) { .wes-footer__card { padding: 56px 40px 40px; border-radius: 28px; } }
@media (min-width: 768px) { .wes-footer__card { padding-inline: 48px; } }
@media (min-width: 1024px) { .wes-footer__card { padding: 64px 64px 40px; } }
.wes-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
@media (min-width: 640px) { .wes-footer__grid { gap: 40px; } }
@media (min-width: 1024px) { .wes-footer__grid { grid-template-columns: 4fr 2fr 2fr 4fr; gap: 32px; } }
.wes-footer__brand, .wes-footer__touch { grid-column: span 2; }
@media (min-width: 1024px) { .wes-footer__brand, .wes-footer__touch { grid-column: auto; } }
.wes-footer .wes-footer__logo img { display: block; width: 116px; height: 116px; object-fit: contain; }
@media (min-width: 640px) { .wes-footer .wes-footer__logo img { width: 144px; height: 144px; } }
@media (min-width: 1024px) { .wes-footer .wes-footer__logo img { width: 168px; height: 168px; } }
.wes-footer .wes-footer__intro { max-width: 340px; margin-top: 12px; font-family: var(--f-body); font-size: 15px; line-height: 22px; color: var(--c-muted); }
@media (min-width: 640px) { .wes-footer .wes-footer__intro { margin-top: 16px; font-size: 16px; } }
.wes-footer .wes-footer__social { margin-top: 24px; gap: 12px; }
.wes-footer__social.wp-block-social-links .wp-social-link {
	width: 40px;
	height: 40px;
	margin: 0;
	border: 1px solid var(--c-line);
	background: transparent;
	color: var(--c-muted);
	transition: color 0.2s, border-color 0.2s;
}
.wes-footer__social.wp-block-social-links .wp-social-link:hover { border-color: var(--c-accent); color: var(--c-accent); transform: none; }
.wes-footer__social .wp-block-social-link-anchor { width: 100%; height: 100%; padding: 0; justify-content: center; align-items: center; }
.wes-footer__social .wp-block-social-link-anchor svg { width: 16px; height: 16px; }
.wes-footer .wes-footer__heading { margin-bottom: 16px; font-family: var(--f-heading); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--c-primary); }
.wes-footer .wes-footer__links,
.wes-footer .wes-footer__contact { list-style: none; padding: 0; font-family: var(--f-body); font-size: 16px; line-height: 21px; color: var(--c-muted); }
.wes-footer__links li + li { margin-top: 4px; }
.wes-footer__links a { display: inline-block; padding-block: 6px; color: inherit; text-decoration: none; transition: color 0.2s; }
.wes-footer__links a:hover { color: var(--c-accent); }
.wes-footer__contact li { display: flex; align-items: center; gap: 12px; }
.wes-footer__contact li + li { margin-top: 14px; }
.wes-footer__contact li::before {
	content: "";
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	border-radius: 9999px;
	background: var(--c-accent) no-repeat center / 16px;
}
.wes-footer__contact li:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E"); }
.wes-footer__contact li:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.wes-footer__contact li:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3'/%3E%3C/svg%3E"); }
.wes-footer__contact a { color: inherit; text-decoration: none; transition: color 0.2s; }
.wes-footer__contact a:hover { color: var(--c-primary); }
.wes-footer .wes-footer__copy { margin-top: 48px; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--c-line) 80%, transparent); font-family: var(--f-body); font-size: 16px; line-height: 21px; color: var(--c-muted); text-align: center; }
@media (min-width: 640px) { .wes-footer .wes-footer__copy { text-align: left; } }

/* Floating WhatsApp button */
.wes-whatsapp { margin: 0; }
.wes-whatsapp a {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: 9999px;
	background: var(--wp--preset--color--whatsapp);
	box-shadow: var(--wp--preset--shadow--whatsapp), 0 0 0 1px rgba(255, 255, 255, 0.2);
	color: transparent;
	font-size: 0;
	transition: transform 0.2s;
}
.wes-whatsapp a::before {
	content: "";
	width: 24px;
	height: 24px;
	background: #fff;
	-webkit-mask: var(--i-whatsapp) center / contain no-repeat;
	mask: var(--i-whatsapp) center / contain no-repeat;
}
.wes-whatsapp a:hover { transform: scale(1.05); }
.wes-whatsapp a:focus-visible { outline: 2px solid var(--wp--preset--color--whatsapp); outline-offset: 2px; }
@media (min-width: 640px) {
	.wes-whatsapp a { right: 24px; bottom: 24px; width: 56px; height: 56px; }
	.wes-whatsapp a::before { width: 28px; height: 28px; }
}

/* ============================================================
   Gallery page
   ============================================================ */
.wes-gallery-page .wp-block-post-content { padding-top: 40px; padding-bottom: 56px; }
@media (min-width: 640px) { .wes-gallery-page .wp-block-post-content { padding-top: 56px; padding-bottom: 80px; } }
.wes-back-link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--f-body);
	font-size: 14px;
	font-weight: 500;
	color: color-mix(in srgb, var(--c-primary) 70%, transparent);
	text-decoration: none;
}
.wes-back-link a:hover { color: var(--c-primary); }
.wes-back-link a::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i-back) center / contain no-repeat; mask: var(--i-back) center / contain no-repeat; }
.wes-gallery-page .wes-gallery-page__title {
	margin-top: 20px;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.045em;
	text-align: center;
}
@media (min-width: 640px) { .wes-gallery-page .wes-gallery-page__title { font-size: 56px; } }
/* Masonry columns, like the original gallery */
.wes-gallery-page .wp-block-gallery.wes-masonry { display: block; columns: 2; column-gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { .wes-gallery-page .wp-block-gallery.wes-masonry { column-gap: 16px; margin-top: 40px; } }
@media (min-width: 768px) { .wes-gallery-page .wp-block-gallery.wes-masonry { columns: 3; } }
@media (min-width: 1024px) { .wes-gallery-page .wp-block-gallery.wes-masonry { columns: 4; } }
.wes-gallery-page .wp-block-gallery.wes-masonry > .wp-block-image {
	display: block;
	width: 100% !important;
	margin: 0 0 12px !important;
	break-inside: avoid;
	overflow: hidden;
	border-radius: 18px;
	background: var(--c-line-cool);
}
@media (min-width: 640px) { .wes-gallery-page .wp-block-gallery.wes-masonry > .wp-block-image { margin-bottom: 16px !important; } }
.wes-gallery-page .wp-block-gallery.wes-masonry > .wp-block-image img { width: 100%; height: auto !important; object-fit: initial !important; transition: transform 0.7s; }
.wes-gallery-page .wp-block-gallery.wes-masonry > .wp-block-image:hover img { transform: scale(1.03); }
/* Video tiles in the same grid (weslene-content plugin, wp-admin → Gallery) */
.wes-gallery-page .wp-block-gallery.wes-masonry > .wes-gallery-tile {
	display: block;
	position: relative;
	width: 100%;
	margin: 0 0 12px;
	break-inside: avoid;
	overflow: hidden;
	border-radius: 18px;
	background: var(--c-primary-deep);
}
@media (min-width: 640px) { .wes-gallery-page .wp-block-gallery.wes-masonry > .wes-gallery-tile { margin-bottom: 16px; } }
.wes-gallery-tile video { display: block; width: 100%; height: auto; object-fit: contain; background: var(--c-primary-deep); }
.wes-gallery-tile video:not([width]) { aspect-ratio: 16 / 9; }
.wes-gallery-tile__play { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.wes-gallery-tile.is-ready .wes-gallery-tile__play { display: flex; }
.wes-gallery-tile.is-playing .wes-gallery-tile__play { display: none; }
.wes-gallery-tile__play::before { content: ""; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); transition: transform 0.3s; }
.wes-gallery-tile__play::after { content: ""; position: absolute; width: 24px; height: 24px; margin-left: 4px; background: var(--c-primary); -webkit-mask: var(--i-play) center / contain no-repeat; mask: var(--i-play) center / contain no-repeat; }
.wes-gallery-tile__play:hover::before { transform: scale(1.06); }
.wes-gallery-tile__play:focus-visible { outline: 3px solid var(--c-accent); outline-offset: -3px; border-radius: 18px; }
.wes-gallery-page .wes-gallery-page__videos-title { margin-top: 56px; margin-bottom: 32px; }
@media (min-width: 640px) { .wes-gallery-page .wes-gallery-page__videos-title { margin-top: 80px; } }
.wes-gallery-page__videos { display: grid; gap: 20px; }
@media (min-width: 768px) { .wes-gallery-page__videos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .wes-gallery-page__videos { grid-template-columns: repeat(3, 1fr); } }
.wes-gallery-video { overflow: hidden; border-radius: 18px; background: var(--c-surface-cool); }
.wes-gallery-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--c-primary-deep); }

/* ============================================================
   Insight article
   ============================================================ */
.wes-article__wrap { max-width: 1120px; margin-inline: auto !important; padding-inline: 20px; box-sizing: border-box; }
@media (min-width: 640px) { .wes-article__wrap { padding-inline: 40px; } }
.wes-article__head { padding-top: 40px; }
@media (min-width: 640px) { .wes-article__head { padding-top: 56px; } }
.wes-article .wes-article__title { max-width: 880px; margin-top: 28px; font-size: 34px; font-weight: 600; line-height: 1.08; letter-spacing: -0.04em; }
@media (min-width: 640px) { .wes-article .wes-article__title { font-size: 48px; } }
@media (min-width: 1024px) { .wes-article .wes-article__title { font-size: 56px; } }
/* Plain text details, no chips */
.wes-article .wes-article__meta { margin-top: 24px; gap: 4px 0; font-family: var(--f-body); font-size: 14px; font-weight: 500; color: var(--c-muted); }
.wes-article__meta > * { margin: 0; }
.wes-article__meta > * + *::before { content: "·"; margin-inline: 10px; color: var(--c-line-strong); }
.wes-article__meta a { color: inherit; text-decoration: none; }
.wes-article__meta a:hover { color: var(--c-accent); }
.wes-article .wes-article__image { margin-top: 32px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 24px; background: var(--c-primary); }
.wes-article .wes-article__image img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .wes-article .wes-article__image { margin-top: 40px; aspect-ratio: 2 / 1; border-radius: 28px; } }

.wes-article__layout { display: grid; grid-template-columns: 1fr; gap: 40px; padding-block: 48px; }
@media (min-width: 640px) { .wes-article__layout { padding-block: 64px; } }
@media (min-width: 1024px) {
	.wes-article__layout { grid-template-columns: 4fr 8fr; gap: 0; }
	.wes-article__aside { padding-right: 40px; border-right: 1px solid color-mix(in srgb, var(--c-primary) 10%, transparent); }
	.wes-article__aside > * { position: relative; }
	.wes-article__aside { align-self: stretch; }
	.wes-article__aside-sticky { position: sticky; top: 32px; }
	.wes-article__body { padding-left: 48px; }
}
.wes-article .wes-toc__label { font-family: var(--f-body); font-size: 15px; font-weight: 600; }
.wes-toc { list-style: none; margin: 16px 0 0; padding: 0; }
.wes-toc a { display: flex; align-items: center; gap: 10px; padding-block: 6px; font-family: var(--f-body); font-size: 14px; line-height: 20px; color: var(--c-muted); text-decoration: none; transition: color 0.2s; }
.wes-toc a::before { content: ""; width: 6px; height: 6px; flex-shrink: 0; background: transparent; transition: background 0.2s; }
.wes-toc a:hover { color: var(--c-primary); }
.wes-toc a[aria-current="location"] { font-weight: 500; color: var(--c-accent); }
.wes-toc a[aria-current="location"]::before { background: var(--c-accent); }
.wes-article .wes-article__cta { display: none; margin-top: 40px; padding: 24px; border-radius: 20px; background: var(--c-surface); }
@media (min-width: 1024px) { .wes-article .wes-article__cta { display: block; } }
.wes-article .wes-article__cta-text { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.wes-article .wes-article__cta .wp-block-buttons { margin-top: 16px; }

.wes-prose { font-family: var(--f-body); color: var(--c-body); }
.wes-prose > * + * { margin-top: 16px; }
.wes-prose > p { font-size: 16px; line-height: 28px; }
@media (min-width: 640px) { .wes-prose > p { font-size: 17px; } }
.wes-prose > h2 { margin-top: 48px; font-family: var(--f-heading); font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -0.035em; color: var(--c-primary); scroll-margin-top: 32px; }
@media (min-width: 640px) { .wes-prose > h2 { font-size: 32px; } }
.wes-prose > h3 { margin-top: 32px; font-family: var(--f-heading); color: var(--c-primary); }
.wes-article__body > p:first-child { font-family: var(--f-heading); font-size: 19px; font-weight: 500; line-height: 1.6; letter-spacing: -0.01em; color: var(--c-primary); }
@media (min-width: 640px) { .wes-article__body > p:first-child { font-size: 21px; } }
.wes-prose a { color: var(--c-accent); }

.wes-more-insights { padding-block: 64px; }
@media (min-width: 640px) { .wes-more-insights { padding-block: 80px; } }
.wes-more-insights .wes-section-title { text-align: left; margin-bottom: 0; }
.wes-more-insights__query { margin-top: 32px; }
.wes-post-grid.wp-block-post-template { gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 639px) { .wes-post-grid.wp-block-post-template.is-layout-grid { grid-template-columns: 1fr; } }
.wes-post-grid .wes-post-card__image { overflow: hidden; border-radius: 20px; background: var(--c-primary); }
.wes-post-grid .wes-post-card__image img { width: 100%; transition: transform 0.7s; }
.wes-post-grid li:hover .wes-post-card__image img { transform: scale(1.03); }
.wes-post-grid .wes-post-card__cat { margin-top: 16px; font-family: var(--f-body); font-size: 13px; font-weight: 500; color: var(--c-muted); }
.wes-post-grid .wes-post-card__cat a { color: inherit; text-decoration: none; }
.wes-post-grid .wes-post-card__title { margin-top: 4px; font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.025em; }
@media (min-width: 640px) { .wes-post-grid .wes-post-card__title { font-size: 22px; } }
.wes-post-grid .wes-post-card__title a { color: var(--c-primary); text-decoration: none; transition: color 0.2s; }
.wes-post-grid .wes-post-card__title a:hover { color: var(--c-accent); }
.wes-post-grid .wes-post-card__excerpt { margin-top: 8px; font-family: var(--f-body); font-size: 15px; line-height: 23px; color: var(--c-muted); }
.wes-post-grid .wes-post-card__excerpt .wp-block-post-excerpt__more-text { margin-top: 8px; }

/* Plain pages, archives, 404 */
.wes-page { padding-block: 56px 80px; }
.wes-page .wes-page__title { margin-bottom: 32px; }
.wes-page .wes-section-intro { text-align: left; }
.wes-page .wes-page__ctas { margin-top: 32px; }
.wes-archive .wes-container { padding-block: 56px 80px; }
.wes-archive .wes-archive__title { margin-bottom: 40px; font-size: 40px; font-weight: 600; letter-spacing: -0.045em; }
@media (min-width: 640px) { .wes-archive .wes-archive__title { font-size: 56px; } }
.wes-pagination { margin-top: 48px; gap: 16px; font-family: var(--f-body); }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.wes-ticker__track { animation-duration: 30s !important; animation-iteration-count: infinite !important; }
}

/* ============================================================
   Editor: every slide and photo shows, stacked, for editing
   ============================================================ */
.editor-styles-wrapper .wes-ticker { flex-wrap: wrap; }
.editor-styles-wrapper .wes-coverflow { display: grid; }
.editor-styles-wrapper .wes-header { position: static; }
.editor-styles-wrapper .wes-whatsapp a { position: static; }

/* Citizen TV logo inside the project tiles: crop window over the wider image */
.wes-tile__logo .is-citizen { display: block; position: relative; flex-shrink: 0; overflow: hidden; }
.wes-picker-grid .wes-tile__logo .is-citizen { width: 108px; height: 36px; margin-top: 8px; }
.wes-picker-grid .wes-tile__logo .is-citizen img { width: 180px; height: auto; max-width: none; margin: -73px 0 0 -36px; }
.wes-strip .wes-tile__logo .is-citizen { width: 72px; height: 24px; }
.wes-strip .wes-tile__logo .is-citizen img { width: 120px; height: auto; max-width: none; margin: -49px 0 0 -24px; }

/* Insights keeps the full 1320px for the cards, with the gutter outside it */
.wes-insights .wes-container { max-width: calc(1320px + 2 * var(--gutter)); }

/* FAQ: a closed answer takes no space */
.wes-faq__list .wp-block-accordion-item:not(.is-open) .wp-block-accordion-panel { margin-top: 0; }

/* Two-column sections use the original's 12-column grid (5 + 7 columns) */
@media (min-width: 768px) {
	.wes-about .wes-about__grid,
	.wes-testimonial { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.wes-about .wes-about__photo,
	.wes-testimonial__media { grid-column: span 5; }
	.wes-about .wes-about__text,
	.wes-testimonial__body { grid-column: span 7; }
	.wes-faq .wes-faq__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.wes-faq .wes-faq__head, .wes-faq .wes-faq__more { grid-column: 1 / span 5; }
	.wes-faq .wes-faq__list { grid-column: 6 / span 7; }
}
/* Core Columns stretches every column; the portrait column keeps its own height so it can stick */
.wes-about .wes-about__grid > .wp-block-column { align-self: start; }

/* Hero headline breaks like the original on phones and tablets:
   Grow your business / through strategic and / creative marketing */
@media (max-width: 1023px) { .wes-hero .wes-hero__title { max-width: 9.15em; text-wrap: wrap; } }

/* Text colour highlights: no browser-default yellow behind them. A background picked in the
   editor is an inline style, so it still wins. (Translated strings pass through wp_kses_post,
   which strips the transparent background WordPress normally adds.) */
mark.has-inline-color { background-color: transparent; }

/* ============================================================
   Forms
   Base field styles for any form plugin, then the few rules
   Fluent Forms needs to drop its own look.
   ============================================================ */
:where(.wp-site-blocks) :where(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="hidden"], [type="file"]), select, textarea) {
	width: 100%;
	min-height: 48px;
	box-sizing: border-box;
	padding: 12px 16px;
	border: 1px solid color-mix(in srgb, var(--c-primary) 18%, transparent);
	border-radius: 14px;
	background: #fff;
	color: var(--c-primary);
	font-family: var(--f-body);
	font-size: 16px; /* 16px stops phones zooming into the field */
	line-height: 1.4;
	box-shadow: inset 0 1px 2px color-mix(in srgb, var(--c-primary) 6%, transparent);
	transition: border-color 0.2s, box-shadow 0.2s;
}
:where(.wp-site-blocks) :where(textarea) { min-height: 140px; resize: vertical; }
:where(.wp-site-blocks) :where(select) {
	appearance: none;
	padding-right: 44px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304224e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px;
}
:where(.wp-site-blocks) :where(input, select, textarea):hover { border-color: color-mix(in srgb, var(--c-primary) 35%, transparent); }
:where(.wp-site-blocks) :where(input, select, textarea):focus {
	outline: none;
	border-color: var(--c-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 18%, transparent);
}
:where(.wp-site-blocks) ::placeholder { color: var(--c-subtle); opacity: 1; }

/* Fluent Forms */
.fluentform .ff-el-group { margin-bottom: 20px; }
.fluentform .ff-el-input--label { margin-bottom: 8px; }
.fluentform .ff-el-input--label label {
	font-family: var(--f-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--c-primary);
}
.fluentform .ff-el-input--label.asterisk-right label::after { color: var(--c-accent); margin-left: 4px; }
.fluentform .ff-el-form-control { margin: 0; }
.fluentform .ff-el-help-message {
	margin-top: 6px;
	font-family: var(--f-body);
	font-size: 14px;
	font-style: normal;
	line-height: 1.5;
	color: var(--c-muted);
}
.fluentform .ff-el-is-error .ff-el-form-control { border-color: #b42318; }
.fluentform .error.text-danger,
.fluentform .ff-el-is-error .text-danger {
	margin-top: 6px;
	font-family: var(--f-body);
	font-size: 14px;
	color: #b42318;
}
.fluentform .ff-t-container { gap: 16px; }
.fluentform .ff-t-cell { padding: 0 !important; }
@media (max-width: 639px) { .fluentform .ff-t-container { flex-direction: column; gap: 0; } }

/* Submit button: the theme's primary button with an arrow */
.fluentform .ff_submit_btn_wrapper { margin-top: 8px; }
.fluentform .ff-btn-submit,
.fluentform .ff-btn-submit:not(.ff_btn_no_style) {
	--btn-fill: var(--c-accent);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 28px;
	border: 1px solid transparent;
	border-radius: 9999px;
	background:
		linear-gradient(var(--btn-fill), var(--btn-fill)) padding-box,
		linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%) border-box,
		linear-gradient(var(--btn-fill), var(--btn-fill)) border-box !important;
	color: #fff !important;
	font-family: var(--f-body);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2), inset 0 0 6px 2px rgba(255, 255, 255, 0.24), 0 0 0 1px var(--btn-fill);
	opacity: 1;
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}
.fluentform .ff-btn-submit::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--i-arrow) center / contain no-repeat;
	mask: var(--i-arrow) center / contain no-repeat;
}
.fluentform .ff-btn-submit:hover,
.fluentform .ff-btn-submit:focus-visible { --btn-fill: var(--c-accent-hover); opacity: 1; }
.fluentform .ff-btn-submit:active { transform: translateY(1px); }
.fluentform .ff-btn-submit:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
@media (max-width: 639px) { .fluentform .ff-btn-submit { width: 100%; justify-content: center; } }

/* The thank-you message after sending */
.fluentform .ff-message-success,
.ff-message-success {
	padding: 20px 24px;
	border: 1px solid color-mix(in srgb, var(--c-accent) 25%, transparent);
	border-radius: 16px;
	background: var(--c-accent-pale);
	box-shadow: none;
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--c-primary);
}

/* Book a Discovery Call and Contact pages */
.wes-form-page__inner { max-width: 720px; margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.wes-form-page .wes-form-page__title { font-size: 40px; font-weight: 600; line-height: 1.05; letter-spacing: -0.045em; }
@media (min-width: 640px) { .wes-form-page .wes-form-page__title { font-size: 56px; } }
.wes-form-page .wes-form-page__intro { margin-top: 16px; margin-bottom: 40px; font-family: var(--f-body); font-size: 16px; line-height: 1.6; color: var(--c-muted); }
@media (min-width: 640px) { .wes-form-page .wes-form-page__intro { font-size: 17px; } }
.wes-form-page .wes-form-page__alt { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--c-line); font-family: var(--f-body); font-size: 15px; color: var(--c-muted); }
.wes-form-page__alt a { color: var(--c-accent); font-weight: 600; }
