/* ==========================================================================
   Webnificent motion & "wow" layer (v1.1)
   Every effect is opt-in by class name or block style, and is disabled for
   visitors who prefer reduced motion. Content is visible without JS.
   ========================================================================== */

/* ---------- Scroll reveal ---------- */
.wn-motion .wn-reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--wn-i, 0) * 90ms); }
.wn-motion .wn-reveal.is-visible { opacity: 1; transform: none; }
.wn-reduced-motion .wn-reveal { opacity: 1 !important; transform: none !important; }

/* ---------- Aurora backgrounds ---------- */
.wn-aurora { position: relative; isolation: isolate; overflow: hidden; }
.wn-aurora::before {
	content: ""; position: absolute; inset: -20%; z-index: -2; pointer-events: none;
	background:
		radial-gradient(40% 45% at 18% 25%, color-mix(in srgb, var(--wp--preset--color--primary) 38%, transparent), transparent 70%),
		radial-gradient(35% 40% at 82% 20%, color-mix(in srgb, var(--wp--preset--color--accent) 42%, transparent), transparent 70%),
		radial-gradient(45% 50% at 60% 85%, color-mix(in srgb, var(--wp--preset--color--primary) 22%, transparent), transparent 70%);
	filter: blur(40px) saturate(120%);
	animation: wn-aurora 18s ease-in-out infinite alternate;
}
.wn-aurora::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		linear-gradient(color-mix(in srgb, var(--wp--preset--color--contrast) 7%, transparent) 1px, transparent 1px),
		linear-gradient(90deg, color-mix(in srgb, var(--wp--preset--color--contrast) 7%, transparent) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
	        mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.wn-aurora--soft::before { opacity: .55; }
@keyframes wn-aurora {
	0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
	50%  { transform: translate3d(3%, -2%, 0) rotate(8deg) scale(1.06); }
	100% { transform: translate3d(-3%, 2%, 0) rotate(-6deg) scale(1.02); }
}

/* ---------- Gradient text & pill ---------- */
.wn-gradient-text, .wn-gradient-text * {
	background: linear-gradient(100deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--accent) 55%, var(--wp--preset--color--primary) 100%);
	background-size: 200% auto;
	-webkit-background-clip: text; background-clip: text; color: transparent !important;
	animation: wn-shine 8s linear infinite;
}
@keyframes wn-shine { to { background-position: 200% center; } }
.wn-pill {
	display: inline-flex !important; align-items: center; gap: .55rem; width: fit-content;
	padding: .4rem .9rem !important; border-radius: 999px; font-size: var(--wp--preset--font-size--x-small) !important; font-weight: 600; letter-spacing: .04em;
	background: color-mix(in srgb, var(--wp--preset--color--primary) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 35%, transparent);
	color: var(--wp--preset--color--contrast);
}
.wn-pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--wp--preset--color--primary); box-shadow: 0 0 0 0 color-mix(in srgb, var(--wp--preset--color--primary) 70%, transparent); animation: wn-pulse 2.2s infinite; }
.has-text-align-center.wn-pill { margin-inline: auto; }
@keyframes wn-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--wp--preset--color--primary) 60%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- Glass & spotlight cards ---------- */
.is-style-wn-glass, .wn-glass {
	background: color-mix(in srgb, var(--wp--preset--color--surface) 55%, transparent) !important;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent);
	border-radius: var(--wp--custom--card--radius);
	padding: var(--wp--custom--card--padding);
	-webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 1px 0 color-mix(in srgb, var(--wp--preset--color--contrast) 8%, transparent) inset, 0 20px 50px rgba(0,0,0,.25);
}
.is-style-wn-spotlight, .wn-spotlight {
	position: relative; isolation: isolate; overflow: hidden;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--card--radius);
	padding: var(--wp--custom--card--padding);
	transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, box-shadow .35s ease;
}
.is-style-wn-spotlight::before, .wn-spotlight::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s ease;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--wp--preset--color--primary) 18%, transparent), transparent 60%);
}
.is-style-wn-spotlight:hover, .wn-spotlight:hover, .is-style-wn-spotlight:focus-within, .wn-spotlight:focus-within {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--wp--preset--color--primary) 45%, var(--wp--preset--color--border));
	box-shadow: 0 24px 60px -20px color-mix(in srgb, var(--wp--preset--color--primary) 35%, transparent);
}
.is-style-wn-spotlight:hover::before, .wn-spotlight:hover::before { opacity: 1; }
.is-style-wn-spotlight > :first-child, .wn-spotlight > :first-child, .is-style-wn-glass > :first-child { margin-top: 0; }

/* ---------- Floating & tilt visuals ---------- */
.wn-float { animation: wn-float 7s ease-in-out infinite; }
.wn-float--2 { animation-delay: -2.5s; animation-duration: 8s; }
.wn-float--3 { animation-delay: -4.5s; animation-duration: 9s; }
@keyframes wn-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.wn-tilt { transition: transform .4s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; will-change: transform; }

/* Browser-window frame for screenshots */
.wn-browser { position: relative; border-radius: var(--wp--custom--radius--large); overflow: hidden; border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 12%, transparent); background: var(--wp--preset--color--surface); box-shadow: 0 40px 100px -30px color-mix(in srgb, var(--wp--preset--color--primary) 45%, transparent), 0 20px 50px rgba(0,0,0,.45); padding-top: 34px !important; }
.wn-browser::before { content: ""; position: absolute; top: 12px; left: 16px; width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; box-shadow: 16px 0 0 #febc2e, 32px 0 0 #28c840; }
.wn-browser img { display: block; width: 100%; border-radius: 0 !important; }

/* Hero stage with floating badges */
.wn-hero-stage { position: relative; }
.wn-hero-stage .wn-badge-float { position: absolute; z-index: 2; margin: 0 !important; }
.wn-badge-float { display: inline-flex !important; align-items: center; gap: .5rem; padding: .7rem 1rem !important; border-radius: 14px; font-size: var(--wp--preset--font-size--small) !important; font-weight: 600; white-space: nowrap; }
.wn-badge-float--tl { top: 8%; left: -6%; }
.wn-badge-float--br { bottom: 10%; right: -4%; }
.wn-badge-float--bl { bottom: -4%; left: 10%; }
@media (max-width: 781px) { .wn-hero-stage .wn-badge-float { position: static; margin-top: .6rem !important; } }

/* ---------- Marquee ---------- */
.wn-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.wn-marquee .wn-marquee__track { display: flex !important; flex-wrap: nowrap !important; gap: 3rem !important; width: max-content; align-items: center; }
.wn-marquee.is-ready .wn-marquee__track { animation: wn-marquee 40s linear infinite; }
.wn-marquee:hover .wn-marquee__track, .wn-marquee:focus-within .wn-marquee__track { animation-play-state: paused; }
.wn-marquee .wn-marquee__track > * { flex: 0 0 auto; margin: 0 !important; }
.wn-marquee img { height: 64px !important; width: auto !important; max-width: none; object-fit: contain; background: #fff; padding: 8px 16px; border-radius: 12px; opacity: .82; filter: saturate(.85); transition: opacity .3s, filter .3s, transform .3s; }
.wn-marquee img:hover { opacity: 1; filter: none; transform: translateY(-2px); }
@keyframes wn-marquee { to { transform: translateX(-50%); } }
.wn-reduced-motion .wn-marquee .wn-marquee__track { animation: none !important; flex-wrap: wrap !important; width: auto; justify-content: center; }

/* ---------- Bento grid ---------- */
.wn-bento { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: var(--wp--preset--spacing--30) !important; }
.wn-bento > * { grid-column: span 3; margin: 0 !important; }
.wn-bento > .wn-span-2 { grid-column: span 2; }
.wn-bento > .wn-span-4 { grid-column: span 4; }
.wn-bento > .wn-span-6 { grid-column: span 6; }
@media (max-width: 900px) { .wn-bento > * { grid-column: span 6 !important; } }
.wn-bento .wn-card-icon img { width: 64px !important; height: 64px !important; filter: drop-shadow(0 8px 20px color-mix(in srgb, var(--wp--preset--color--primary) 45%, transparent)); }

/* ---------- Stats ---------- */
.wn-stat-big { font-family: var(--wp--custom--heading--font-family); font-weight: 700; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem) !important; line-height: 1 !important; margin: 0 0 .35rem !important; letter-spacing: -.03em; }
.wn-stats > * { position: relative; }
.wn-stats > * + *::before { content: ""; position: absolute; left: calc(var(--wp--preset--spacing--30) / -2); top: 15%; bottom: 15%; width: 1px; background: var(--wp--preset--color--border); }
@media (max-width: 781px) { .wn-stats > * + *::before { display: none; } }

/* ---------- Steps timeline ---------- */
.wn-steps { counter-reset: wnstep; position: relative; }
.wn-steps > * { position: relative; counter-increment: wnstep; }
.wn-steps > *::before {
	content: counter(wnstep, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center;
	width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: 14px; font-weight: 700;
	background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent)); color: var(--wp--preset--color--on-primary);
	box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--wp--preset--color--primary) 60%, transparent);
}

/* ---------- Glow line & buttons ---------- */
.wn-glow-line { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--wp--preset--color--primary), transparent); opacity: .6; }
.wn-glow-btn .wp-block-button:not(.is-style-outline):not(.is-style-wn-link) .wp-block-button__link { box-shadow: 0 0 0 0 transparent, 0 10px 30px -10px color-mix(in srgb, var(--wp--preset--color--primary) 70%, transparent); }
.wn-glow-btn .wp-block-button:not(.is-style-outline):not(.is-style-wn-link) .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px color-mix(in srgb, var(--wp--preset--color--primary) 22%, transparent), 0 18px 40px -12px color-mix(in srgb, var(--wp--preset--color--primary) 80%, transparent); }

/* Animated border for featured cards */
@property --wn-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.wn-glow-border { position: relative; border: 1px solid transparent !important; background: linear-gradient(var(--wp--preset--color--surface), var(--wp--preset--color--surface)) padding-box, conic-gradient(from var(--wn-angle), var(--wp--preset--color--primary), var(--wp--preset--color--accent), transparent 40%, var(--wp--preset--color--primary)) border-box !important; animation: wn-spin 6s linear infinite; }
@keyframes wn-spin { to { --wn-angle: 360deg; } }

/* Card headings that are links */
:is(.is-style-wn-spotlight, .wn-spotlight, .is-style-wn-glass, .wn-glass, .is-style-wn-card, .is-style-wn-card-shadow) .wp-block-heading a { color: inherit; text-decoration: none; }
:is(.is-style-wn-spotlight, .wn-spotlight, .is-style-wn-glass, .wn-glass, .is-style-wn-card, .is-style-wn-card-shadow):hover .wp-block-heading a { color: var(--wp--preset--color--primary); }

/* Stars */
.wn-stars { color: #fbbf24; letter-spacing: .15em; font-size: 1.05em; }

/* Portfolio hover */
.wn-work .wp-block-image { position: relative; overflow: hidden; border-radius: var(--wp--custom--radius--large); margin: 0; }
.wn-work .wp-block-image img { transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s; }
.wn-work .wp-block-image:hover img { transform: scale(1.06); }
.wn-work .wp-block-image figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 2.5rem 1.2rem 1rem; color: #fff; font-weight: 600; font-size: var(--wp--preset--font-size--small); background: linear-gradient(transparent, rgba(0,0,0,.75)); text-align: left; }

/* Header glass when sticky */
.wn-sticky-header .wn-header { -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); background: color-mix(in srgb, var(--wp--custom--header--background) 78%, transparent); }
.wn-sticky-header.wn-is-scrolled .wn-header { box-shadow: 0 1px 0 color-mix(in srgb, var(--wp--preset--color--contrast) 8%, transparent); }

/* Reading progress & back to top */
.wn-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent)); }
.admin-bar .wn-progress { top: var(--wp-admin--admin-bar--height, 32px); }
.wn-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--wp--preset--color--primary) 70%, transparent); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s; }
.wn-to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.wn-has-mobile-cta .wn-to-top { bottom: calc(80px + env(safe-area-inset-bottom)); }

/* Reduced motion: switch off every animation in this file */
@media (prefers-reduced-motion: reduce) {
	.wn-aurora::before, .wn-gradient-text, .wn-gradient-text *, .wn-pill::before, .wn-float, .wn-glow-border, .wn-marquee .wn-marquee__track { animation: none !important; }
	.wn-spotlight, .is-style-wn-spotlight, .wn-work .wp-block-image img, .wn-tilt { transition: none !important; transform: none !important; }
}

/* ==========================================================================
   Scroll-driven "electric current" timeline (v1.2)
   Markup: Group .wn-timeline > Groups (one per step). JS adds the spark,
   sets --wn-progress (0–1) and .is-active on reached steps.
   ========================================================================== */
.wn-timeline { --wn-line-x: 2rem; --wn-progress: 0; position: relative; display: flex !important; flex-direction: column; gap: clamp(2rem, 4vw, 3.5rem) !important; padding: 1rem 0 !important; counter-reset: wntl; }
.wn-timeline::before, .wn-timeline::after { content: ""; position: absolute; left: var(--wn-line-x); top: 0; width: 4px; margin-left: -2px; border-radius: 4px; }
.wn-timeline::before { bottom: 0; background: color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent); }
.wn-timeline::after {
	height: calc(var(--wn-progress) * 100%);
	background: repeating-linear-gradient(180deg, var(--wp--preset--color--primary) 0 14px, #ffffff 14px 18px, var(--wp--preset--color--accent) 18px 32px);
	background-size: 100% 64px;
	box-shadow: 0 0 12px var(--wp--preset--color--primary), 0 0 28px color-mix(in srgb, var(--wp--preset--color--primary) 60%, transparent);
	animation: wn-current .6s linear infinite;
}
@keyframes wn-current { to { background-position: 0 64px; } }
.wn-timeline__spark {
	position: absolute; left: var(--wn-line-x); top: calc(var(--wn-progress) * 100%); z-index: 3; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, #fff 0 25%, var(--wp--preset--color--primary) 45%, transparent 70%);
	box-shadow: 0 0 18px 6px color-mix(in srgb, var(--wp--preset--color--primary) 80%, transparent), 0 0 40px 14px color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent);
	animation: wn-flicker .18s steps(2) infinite;
}
.wn-timeline__spark::before, .wn-timeline__spark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 2px; background: linear-gradient(90deg, transparent, #fff, transparent); transform-origin: center; opacity: .8; animation: wn-arc .35s steps(3) infinite; }
.wn-timeline__spark::before { transform: translate(-50%, -50%) rotate(35deg); }
.wn-timeline__spark::after { transform: translate(-50%, -50%) rotate(-40deg); animation-delay: -.15s; }
@keyframes wn-flicker { 50% { opacity: .75; transform: scale(1.15); } }
@keyframes wn-arc { 0% { opacity: .9; } 33% { opacity: .2; } 66% { opacity: .7; } 100% { opacity: 0; } }

.wn-timeline > .wp-block-group { position: relative; counter-increment: wntl; margin: 0 0 0 calc(var(--wn-line-x) + 2.25rem) !important; transition: opacity .5s ease, transform .5s ease; }
.wn-motion .wn-timeline > .wp-block-group { opacity: .35; transform: translateX(10px); }
.wn-motion .wn-timeline > .wp-block-group.is-active { opacity: 1; transform: none; }
.wn-timeline > .wp-block-group::before {
	content: counter(wntl, decimal-leading-zero); position: absolute; left: calc(-2.25rem - 1.625rem); top: 1rem; z-index: 2; width: 3.25rem; height: 3.25rem;
	display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 700; font-size: .95rem;
	background: var(--wp--preset--color--surface); color: var(--wp--preset--color--muted);
	border: 2px solid color-mix(in srgb, var(--wp--preset--color--contrast) 15%, transparent);
	transition: background .4s ease, color .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.wn-timeline > .wp-block-group.is-active::before {
	background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent)); color: var(--wp--preset--color--on-primary); border-color: transparent;
	box-shadow: 0 0 0 6px color-mix(in srgb, var(--wp--preset--color--primary) 18%, transparent), 0 0 30px color-mix(in srgb, var(--wp--preset--color--primary) 70%, transparent);
	animation: wn-node 1.2s ease-out 1;
}
@keyframes wn-node { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--wp--preset--color--primary) 80%, transparent); } 100% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--wp--preset--color--primary) 18%, transparent), 0 0 30px color-mix(in srgb, var(--wp--preset--color--primary) 70%, transparent); } }

/* Desktop: centre line, steps alternate left and right */
@media (min-width: 900px) {
	.wn-timeline { --wn-line-x: 50%; }
	.wn-timeline > .wp-block-group { width: calc(50% - 3rem); margin: 0 !important; text-align: right; }
	.wn-timeline > .wp-block-group::before { left: auto; right: calc(-3rem - 1.625rem); }
	.wn-timeline > .wp-block-group:nth-child(even) { align-self: flex-end; text-align: left; }
	.wn-timeline > .wp-block-group:nth-child(even)::before { right: auto; left: calc(-3rem - 1.625rem); }
	.wn-motion .wn-timeline > .wp-block-group:nth-child(odd) { transform: translateX(-16px); }
	.wn-motion .wn-timeline > .wp-block-group:nth-child(even) { transform: translateX(16px); }
	.wn-motion .wn-timeline > .wp-block-group.is-active { transform: none; }
}
.wn-reduced-motion .wn-timeline > .wp-block-group { opacity: 1 !important; transform: none !important; }
.wn-reduced-motion .wn-timeline { --wn-progress: 1; }
@media (prefers-reduced-motion: reduce) { .wn-timeline::after, .wn-timeline__spark, .wn-timeline__spark::before, .wn-timeline__spark::after, .wn-timeline > .wp-block-group.is-active::before { animation: none !important; } }

/* Full-bleed hero with photo */
.wn-hero-photo .wp-block-cover__image-background { object-position: center center; }
.wn-hero-photo .wp-block-cover__background { background: linear-gradient(90deg, color-mix(in srgb, var(--wp--preset--color--base) 62%, transparent) 0%, color-mix(in srgb, var(--wp--preset--color--base) 38%, transparent) 42%, transparent 70%), linear-gradient(0deg, color-mix(in srgb, var(--wp--preset--color--base) 70%, transparent) 0%, transparent 28%) !important; opacity: 1 !important; }
@media (max-width: 781px) { .wn-hero-photo .wp-block-cover__background { background: color-mix(in srgb, var(--wp--preset--color--base) 78%, transparent) !important; } }
.wn-hero-photo .wn-badge-row { gap: .6rem !important; }

/* Keep step numbers above the current line */
.wn-timeline::before, .wn-timeline::after { z-index: 0; }
.wn-timeline > .wp-block-group { z-index: 1; }

/* ==========================================================================
   3D logo wall (v1.3): two opposite-direction marquee rows on a tilted plane,
   large glass-edged tiles, hover lift + glow, periodic light sweep.
   Markup: Group .wn-logo-wall > Group .wn-logo-wall__inner > Groups .wn-marquee (add .wn-marquee--reverse to a row)
   ========================================================================== */
.wn-logo-wall { position: relative; perspective: 1400px; overflow: hidden; padding-block: 1.5rem !important; }
.wn-logo-wall__inner { display: flex !important; flex-direction: column; gap: 1.4rem !important; transform: rotateX(16deg) rotateZ(-3deg) scale(1.06); transform-style: preserve-3d; }
.wn-logo-wall .wn-marquee { overflow: visible; padding-block: .6rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.wn-logo-wall .wn-marquee .wn-marquee__track { gap: 1.4rem !important; }
.wn-logo-wall .wn-marquee.is-ready .wn-marquee__track { animation-duration: 38s; }
.wn-logo-wall .wn-marquee--reverse.is-ready .wn-marquee__track { animation-direction: reverse; animation-duration: 46s; }
.wn-logo-wall:hover .wn-marquee__track { animation-play-state: paused; }
.wn-logo-wall .wn-marquee img {
	width: 220px !important; height: 110px !important; padding: 14px 24px; object-fit: contain; opacity: 1; filter: none;
	background: linear-gradient(180deg, #ffffff, #eef3fb); border-radius: 20px;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--primary) 18%, transparent), 0 18px 40px -18px rgba(0,0,0,.6);
	transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.wn-logo-wall .wn-marquee img:hover { transform: translateY(-8px) scale(1.07); box-shadow: 0 0 0 2px var(--wp--preset--color--primary), 0 0 36px color-mix(in srgb, var(--wp--preset--color--primary) 55%, transparent), 0 24px 50px -16px rgba(0,0,0,.7); }
.wn-logo-wall::after {
	content: ""; position: absolute; inset: -20% -40%; pointer-events: none; z-index: 2;
	background: linear-gradient(105deg, transparent 40%, color-mix(in srgb, #ffffff 22%, transparent) 50%, transparent 60%);
	transform: translateX(-60%); animation: wn-sweep 6.5s ease-in-out infinite; mix-blend-mode: soft-light;
}
@keyframes wn-sweep { 0%, 35% { transform: translateX(-60%); } 75%, 100% { transform: translateX(60%); } }
.wn-reduced-motion .wn-logo-wall__inner { transform: none; }
.wn-reduced-motion .wn-logo-wall .wn-marquee .wn-marquee__track { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .wn-logo-wall::after { animation: none; display: none; } }
@media (max-width: 781px) { .wn-logo-wall .wn-marquee img { width: 160px !important; height: 80px !important; padding: 10px 16px; } .wn-logo-wall__inner { transform: rotateX(10deg) rotateZ(-2deg); } }

/* Bendy SVG current (v1.3.1) – replaces the straight line when JS is running */
.wn-timeline.has-svg::before, .wn-timeline.has-svg::after, .wn-timeline.has-svg > .wn-timeline__spark { display: none; }
.wn-timeline__svg { position: absolute; left: 0; top: 0; z-index: 0; overflow: visible; pointer-events: none; }
.wn-tl-track { stroke: color-mix(in srgb, var(--wp--preset--color--contrast) 12%, transparent); stroke-width: 3; stroke-linecap: round; }
.wn-tl-glow { stroke-width: 4; stroke-linecap: round; }
.wn-tl-flow { stroke: #ffffff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 3 17; opacity: .9; animation: wn-flow .45s linear infinite; }
@keyframes wn-flow { to { stroke-dashoffset: -40; } }
.wn-tl-head { fill: #ffffff; stroke: var(--wp--preset--color--primary); stroke-width: 3; transition: opacity .2s; }
.wn-tl-bolt { stroke: #e0fbff; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 4px var(--wp--preset--color--primary)); }
/* Scroll-linked progress stays on for reduced motion (user-controlled); only the decoration stops */
.wn-reduced-motion .wn-timeline > .wp-block-group { opacity: .4 !important; }
.wn-reduced-motion .wn-timeline > .wp-block-group.is-active { opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { .wn-tl-flow { animation: none; } .wn-tl-bolt { display: none; } }