/*
Theme Name: SpyTalk
Theme URI: https://spytalk.co.il
Author: SpyTalk
Description: ערכת העיצוב של ספייטוק: לוח סוכנים כחול לילה, כותרות בגופן Karantina, וכפתורי פליז. ערכת בלוקים, עריכה מלאה בעורך של וורדפרס.
Version: 0.2.1
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spytalk
*/

/* Layout: full-width bands (hero, sections) on a night-blue radar grid; content capped at 720px, wide at 1120px. */

body {
	background-image:
		linear-gradient(rgba(95, 212, 231, .055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(95, 212, 231, .055) 1px, transparent 1px);
	background-size: 56px 56px;
	background-position: center top;
	-webkit-font-smoothing: antialiased;
}

:where(h1, h2, h3) { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--wp--preset--color--radar); outline-offset: 3px; }
::selection { background: var(--wp--preset--color--brass); color: var(--wp--preset--color--ink); }

/* ---------- header ---------- */
/* the template-part wrapper is what sticks (the inner group is only as tall as itself) */
.wp-site-blocks > .wp-block-template-part:first-child { position: sticky; top: 0; z-index: 30; }
.admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: 0; } }
.st-header {
	border-bottom: 1px dashed var(--wp--preset--color--line);
	padding-block: 14px;
	background: rgba(13, 33, 63, .92);
	backdrop-filter: blur(6px);
}
.st-header-inner { gap: 12px 24px; }
.st-brand { gap: 12px; }
.st-brand .wp-block-site-logo img { border-radius: 12px; }
.st-header .wp-block-site-title a:hover { color: var(--wp--preset--color--brass); }
.st-header .wp-block-buttons .wp-element-button { font-size: var(--wp--preset--font-size--medium); padding: .6em 1.1em; }
.st-header .wp-block-navigation { gap: 6px 22px; }
.st-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--night);
	color: var(--wp--preset--color--fg);
	padding: 24px;
}
.st-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.25rem; }
@media (max-width: 600px) {
	.st-header .st-play-btn { display: none; }
}

/* ---------- shared bits ---------- */
.st-eyebrow {
	font-size: .95rem !important;
	font-weight: 600;
	letter-spacing: .02em;
	color: var(--wp--preset--color--brass);
	margin-bottom: -.4rem !important;
}
.st-eyebrow:lang(en), .st-eyebrow[dir="ltr"] { font-family: var(--wp--preset--font-family--mono); letter-spacing: .16em; text-transform: uppercase; font-size: .78rem !important; }
.st-lead { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--muted); max-width: 60ch; }
.st-note { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.st-draft-note {
	border: 2px dashed var(--wp--preset--color--signal);
	border-radius: 12px;
	padding: 12px 16px;
	color: var(--wp--preset--color--fg);
	background: rgba(255, 93, 59, .08);
}

.st-section { padding-block: clamp(56px, 8vw, 96px); }
.st-alt {
	background: rgba(8, 22, 41, .55);
	border-block: 1px solid rgba(45, 81, 133, .6);
}

.st-card {
	background: var(--wp--preset--color--deck);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 16px;
	padding: 22px 22px 18px;
}
.st-card > :first-child { margin-top: 0; }
.st-card ul { padding-inline-start: 1.2em; margin: 0; display: grid; gap: .45rem; }
.st-card li::marker { color: var(--wp--preset--color--brass); }
.st-card p { color: var(--wp--preset--color--muted); margin-bottom: 0; }

.st-head > p:not(.st-eyebrow) { max-width: 62ch; color: var(--wp--preset--color--muted); }
.st-faq-wrap > * { max-width: 760px; }

/* ---------- hero ---------- */
.st-hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 96px); }
.st-hero-cols { align-items: center !important; gap: clamp(28px, 5vw, 64px) !important; }
.st-hero-text { flex-basis: 52% !important; }
.st-hero-media { flex-basis: 48% !important; }
.st-hero h1 { margin-block: .6rem 1rem; }
.st-hero .st-lead { margin-bottom: 1.6rem; }
.st-shot { margin: 0; }
.st-shot img {
	border-radius: 18px;
	border: 1px solid var(--wp--preset--color--line);
	box-shadow: 0 30px 60px -28px rgba(2, 8, 18, .85), 0 0 0 8px rgba(20, 48, 90, .55);
	transform: rotate(-1.2deg);
}
@media (max-width: 781px) {
	.st-shot img { transform: none; }
}

/* ---------- steps ---------- */
.st-steps { gap: 20px !important; margin-top: 2rem; }
.st-step {
	border-top: 3px solid var(--wp--preset--color--brass);
	padding-top: 18px;
}
.st-step-num {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 3.6rem !important;
	line-height: .9;
	color: var(--wp--preset--color--brass);
	margin: 0 0 .3rem;
}
.st-step h3 { margin-top: 0; }
.st-step p:not(.st-step-num) { color: var(--wp--preset--color--muted); }

.st-learn, .st-cards { gap: 18px !important; margin-top: 2rem; }

/* ---------- FAQ ---------- */
.st-faq-title { margin-top: 3rem !important; }
.st-faq { background: var(--wp--preset--color--deck); }
.st-faq + .st-faq { margin-top: 10px !important; }
.st-faq summary { font-weight: 600; cursor: pointer; }
.st-faq p { color: var(--wp--preset--color--muted); margin-bottom: 0; }

/* ---------- closing CTA ---------- */
.st-cta { text-align: center; }
.st-cta > * { margin-inline: auto !important; }
.st-cta h2 { font-size: var(--wp--preset--font-size--xx-large) !important; }
.st-built { margin-top: 2.4rem !important; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }

/* ---------- about page timeline ---------- */
.st-timeline { padding-inline-start: 0; list-style: none; counter-reset: st; display: grid; gap: 14px; }
.st-timeline li {
	counter-increment: st;
	position: relative;
	padding-inline-start: 56px;
	min-height: 40px;
}
.st-timeline li::before {
	content: counter(st);
	position: absolute;
	inset-inline-start: 0;
	top: -2px;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--wp--preset--color--deck);
	border: 1px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--brass);
	font-family: var(--wp--preset--font-family--mono);
	font-weight: 600;
}

/* ---------- footer ---------- */
.st-footer {
	border-top: 1px dashed var(--wp--preset--color--line);
	padding-block: 36px 28px;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}
.st-footer-inner { gap: 16px 32px; }
.st-footer a { color: var(--wp--preset--color--muted); }
.st-footer a:hover { color: var(--wp--preset--color--brass); }
.st-footer-links { gap: 8px 20px; }
.st-footer .wp-block-site-title { font-size: 2rem; }

/* ---------- page template ---------- */
.st-page-main { padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.st-page-main .wp-block-post-title { margin-bottom: 1.5rem; }

/* =====================================================================
   Motion & graphics (v0.2): city cards, hero radar, floating words,
   step/parent icons, reveal on scroll. Calm under prefers-reduced-motion.
   ===================================================================== */
:root {
	--st-ic-id: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='5' y='12' width='54' height='40' rx='7' fill='%23F3EDE0'/%3E%3Cpath d='M5 19 a7 7 0 0 1 7 -7 h40 a7 7 0 0 1 7 7 v3 H5 Z' fill='%23FF5D3B'/%3E%3Ccircle cx='20' cy='36' r='8' fill='%23FF5D3B'/%3E%3Cpath d='M12 33 h16 l-2 -6 h-12 Z' fill='%231A2231'/%3E%3Crect x='13' y='34' width='14' height='4' rx='2' fill='%231A2231'/%3E%3Crect x='33' y='30' width='19' height='3.5' rx='1.75' fill='%23A6B9D3'/%3E%3Crect x='33' y='37' width='14' height='3.5' rx='1.75' fill='%23A6B9D3'/%3E%3Crect x='33' y='44' width='17' height='3.5' rx='1.75' fill='%23F5B93E'/%3E%3C/svg%3E");
	--st-ic-plane: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M6 52 Q18 40 30 44' stroke='%235FD4E7' stroke-width='3' fill='none' stroke-dasharray='3 5' stroke-linecap='round'/%3E%3Cg transform='rotate(-30 38 28)'%3E%3Cpath d='M16 28 L52 26 Q60 28 52 30 Z' fill='%23F5B93E'/%3E%3Cpath d='M36 27 L27 11 L33 11 L46 27 Z M36 29 L27 45 L33 45 L46 29 Z' fill='%23F5B93E'/%3E%3Cpath d='M20 27.5 L15 20 L19 20 L25 27.5 Z M20 28.5 L15 36 L19 36 L25 28.5 Z' fill='%23C98F1E'/%3E%3C/g%3E%3C/svg%3E");
	--st-ic-medal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M19 4 H29 L35 24 H25 Z' fill='%23FF5D3B'/%3E%3Cpath d='M45 4 H35 L29 24 H39 Z' fill='%23C2391D'/%3E%3Ccircle cx='32' cy='39' r='17' fill='%23F5B93E'/%3E%3Ccircle cx='32' cy='39' r='12.5' fill='none' stroke='%23C98F1E' stroke-width='2.4'/%3E%3Cpath d='M32 29 l2.9 6.2 6.7 .8 -5 4.6 1.4 6.6 -6 -3.4 -6 3.4 1.4 -6.6 -5 -4.6 6.7 -.8 Z' fill='%231A2231'/%3E%3C/svg%3E");
	--st-ic-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 5 L54 14 V31 Q54 49 32 59 Q10 49 10 31 V14 Z' fill='%235FD4E7'/%3E%3Cpath d='M32 5 L54 14 V31 Q54 49 32 59 Z' fill='%2340B6CA'/%3E%3Cpath d='M21 32 L29 40 L43 24' stroke='%231A2231' stroke-width='5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--st-ic-family: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='17' cy='22' r='7' fill='%23F5B93E'/%3E%3Cpath d='M5 52 Q5 33 17 33 Q29 33 29 52 Z' fill='%23F5B93E'/%3E%3Ccircle cx='47' cy='22' r='7' fill='%23FF5D3B'/%3E%3Cpath d='M35 52 Q35 33 47 33 Q59 33 59 52 Z' fill='%23FF5D3B'/%3E%3Ccircle cx='32' cy='32' r='6' fill='%235FD4E7'/%3E%3Cpath d='M22 56 Q22 41 32 41 Q42 41 42 56 Z' fill='%235FD4E7'/%3E%3C/svg%3E");
	--st-ic-levels: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='8' y='34' width='20' height='22' rx='4' fill='%23F5B93E'/%3E%3Crect x='36' y='16' width='20' height='40' rx='4' fill='%23FF5D3B'/%3E%3Cpath d='M18 22 l1.8 3.8 4.2 .5 -3.1 2.9 .9 4.1 -3.8 -2.1 -3.8 2.1 .9 -4.1 -3.1 -2.9 4.2 -.5 Z' fill='%23F3EDE0'/%3E%3Cpath d='M46 4 l1.8 3.8 4.2 .5 -3.1 2.9 .9 4.1 -3.8 -2.1 -3.8 2.1 .9 -4.1 -3.1 -2.9 4.2 -.5 Z' fill='%23F3EDE0'/%3E%3C/svg%3E");
	--st-ic-logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 104 C366 104 436 168 436 248 C436 328 366 392 256 392 C231 392 208 389 187 383 L112 428 L134 358 C98 332 76 292 76 248 C76 168 146 104 256 104 Z' fill='%23F5B93E'/%3E%3Crect x='138' y='204' width='108' height='66' rx='28' fill='%231A2231'/%3E%3Crect x='266' y='204' width='108' height='66' rx='28' fill='%231A2231'/%3E%3Crect x='232' y='221' width='48' height='13' rx='6.5' fill='%231A2231'/%3E%3Cpath d='M162 222 H194 M290 222 H322' stroke='%235FD4E7' stroke-width='10' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* eyebrow: blinking "transmission" dot */
.st-eyebrow::before {
	content: "";
	display: inline-block;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--wp--preset--color--signal);
	margin-inline-end: 8px;
	vertical-align: .12em;
	box-shadow: 0 0 0 4px rgba(255, 93, 59, .18);
	animation: st-blink 1.4s steps(2) infinite;
}

/* ---------- hero: radar, floating words, the pigeon ---------- */
.st-hero { position: relative; overflow: clip; }
.st-hero-text > * { animation: st-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.st-hero-text > *:nth-child(2) { animation-delay: .08s; }
.st-hero-text > *:nth-child(3) { animation-delay: .16s; }
.st-hero-text > *:nth-child(4) { animation-delay: .24s; }
.st-hero-text > *:nth-child(5) { animation-delay: .32s; }
.st-hero-media { position: relative; isolation: isolate; }
.st-hero-media::before,
.st-hero-media::after {
	content: "";
	position: absolute;
	inset: -14% -10%;
	border-radius: 50%;
	z-index: -1;
	pointer-events: none;
}
.st-hero-media::after {
	background: repeating-radial-gradient(circle, transparent 0 54px, rgba(95, 212, 231, .14) 55px 56px);
	-webkit-mask: radial-gradient(circle, #000 55%, transparent 71%);
	mask: radial-gradient(circle, #000 55%, transparent 71%);
}
.st-hero-media::before {
	background: conic-gradient(from 0deg, transparent 0deg, rgba(95, 212, 231, .28) 50deg, transparent 51deg);
	-webkit-mask: radial-gradient(circle, #000 55%, transparent 71%);
	mask: radial-gradient(circle, #000 55%, transparent 71%);
	animation: st-spin 7s linear infinite;
}
.st-floaters { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.st-bub {
	position: absolute;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
	font-weight: 600;
	font-size: .95rem;
	line-height: 1.2;
	padding: 8px 14px;
	border-radius: 14px;
	box-shadow: 0 12px 24px -12px rgba(2, 8, 18, .8);
	white-space: nowrap;
	animation: st-float 5s ease-in-out infinite alternate;
}
.st-bub::after {
	content: "";
	position: absolute;
	bottom: -7px;
	inset-inline-start: 18px;
	border: 8px solid transparent;
	border-top-color: var(--wp--preset--color--paper);
	border-bottom: 0;
}
.st-bub[dir="ltr"] { font-family: var(--wp--preset--font-family--mono); font-size: .85rem; }
.st-bub.b1 { top: -5%; right: 4%; background: var(--wp--preset--color--brass); }
.st-bub.b1::after { border-top-color: var(--wp--preset--color--brass); }
.st-bub.b2 { bottom: 16%; left: -4%; animation-duration: 6s; animation-delay: -2s; }
.st-bub.b3 { top: 34%; left: -9%; background: var(--wp--preset--color--radar); animation-duration: 7s; animation-delay: -4s; }
.st-bub.b3::after { border-top-color: var(--wp--preset--color--radar); }
.st-bub.b3 b { font-family: var(--wp--preset--font-family--mono); }
.st-bub.b4 { bottom: -6%; right: 12%; animation-duration: 5.5s; animation-delay: -1s; }
.st-pigeon {
	position: absolute;
	top: -46px;
	left: -120px;
	width: 74px;
	height: auto;
	animation: st-fly 20s linear infinite;
	animation-delay: 3s;
	opacity: 0;
}
.st-wing { transform-box: view-box; transform-origin: 62px 46px; animation: st-flap .22s ease-in-out infinite alternate; }
@media (max-width: 781px) {
	.st-bub.b3, .st-bub.b4 { display: none; }
	.st-bub.b2 { left: 2%; }
	.st-hero-media::before, .st-hero-media::after { inset: -6% -4%; }
}

/* ---------- steps, learn and parents: illustrated icons ---------- */
.st-step::before,
#parents .st-card::before,
.st-learn .st-card::before {
	content: "";
	display: block;
	width: 64px;
	height: 64px;
	margin-bottom: 12px;
	background: no-repeat center / contain;
	animation: st-bob 4.5s ease-in-out infinite;
}
.st-step:nth-child(1)::before { background-image: var(--st-ic-id); }
.st-step:nth-child(2)::before { background-image: var(--st-ic-plane); animation-delay: -1.5s; }
.st-step:nth-child(3)::before { background-image: var(--st-ic-medal); animation-delay: -3s; }
#parents .st-card:nth-child(1)::before { background-image: var(--st-ic-shield); }
#parents .st-card:nth-child(2)::before { background-image: var(--st-ic-family); animation-delay: -1.5s; }
#parents .st-card:nth-child(3)::before { background-image: var(--st-ic-levels); animation-delay: -3s; }
.st-learn .st-card::before {
	content: "Aa";
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 18px;
	background: var(--wp--preset--color--radar);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 2.1rem;
	line-height: 1;
	box-shadow: 0 5px 0 #2E9EB0;
}
.st-learn .st-card:nth-child(2)::before { content: "אב"; background: var(--wp--preset--color--signal); box-shadow: 0 5px 0 #C2391D; animation-delay: -2s; }
.st-card, .st-step { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.st-card:hover { transform: translateY(-4px); border-color: var(--wp--preset--color--brass); box-shadow: 0 20px 34px -22px rgba(2, 8, 18, .9); }

/* ---------- missions: flight route + city cards ---------- */
.st-route { margin: 1.4rem 0 .2rem; }
.st-route svg { display: block; width: 100%; height: auto; overflow: visible; }
.st-route-line {
	fill: none;
	stroke: var(--wp--preset--color--radar);
	stroke-width: 2.2;
	stroke-dasharray: 7 9;
	stroke-linecap: round;
	opacity: .65;
	animation: st-dash 2.4s linear infinite;
}
.st-route-dots circle { fill: var(--wp--preset--color--brass); }
.st-route-dots circle:first-child { fill: var(--wp--preset--color--signal); }
.st-plane path { fill: var(--wp--preset--color--paper); }

.st-cities {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 430px), 1fr));
	gap: 14px;
}
.st-city {
	position: relative;
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 18px;
	border-radius: 20px;
	border: 1px solid var(--wp--preset--color--line);
	background: linear-gradient(160deg, var(--wp--preset--color--deck) 0%, var(--wp--preset--color--board) 100%);
	overflow: hidden;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.st-city:hover { transform: translateY(-5px); border-color: var(--wp--preset--color--brass); box-shadow: 0 22px 36px -22px rgba(2, 8, 18, .95); }
.st-city-num {
	position: absolute;
	inset-inline-end: 14px;
	bottom: -14px;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 5.4rem;
	line-height: 1;
	color: rgba(95, 212, 231, .07);
	pointer-events: none;
}
.st-city-icon {
	width: 84px;
	height: 84px;
	border-radius: 22px;
	display: grid;
	place-items: center;
	background: radial-gradient(circle at 50% 35%, var(--wp--preset--color--deck-hi), var(--wp--preset--color--board));
	border: 1px solid var(--wp--preset--color--line);
	box-shadow: inset 0 -6px 0 rgba(8, 22, 41, .5);
	transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.st-city:hover .st-city-icon { transform: rotate(-5deg) scale(1.07); }
.st-city-icon svg { width: 64px; height: 64px; overflow: visible; }
.st-city-body { min-width: 0; position: relative; }
.st-city-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.st-city-top code {
	direction: ltr;
	background: #13253F;
	color: var(--wp--preset--color--brass);
	font-family: var(--wp--preset--font-family--mono);
	font-weight: 600;
	font-size: .82rem;
	letter-spacing: .16em;
	padding: 4px 8px;
	border-radius: 5px;
	background-image: linear-gradient(transparent calc(50% - .5px), rgba(8, 22, 41, .9) calc(50% - .5px), rgba(8, 22, 41, .9) calc(50% + .5px), transparent calc(50% + .5px));
}
.st-badge {
	font-size: .78rem;
	font-weight: 700;
	background: var(--wp--preset--color--brass);
	color: var(--wp--preset--color--ink);
	padding: 3px 10px;
	border-radius: 999px;
	animation: st-glow 2.4s ease-in-out infinite;
}
.st-city h3 { margin: .45rem 0 .25rem; font-size: 1.3rem; line-height: 1.25; }
.st-city-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 .55rem; color: var(--wp--preset--color--muted); font-size: .95rem; }
.st-stages b { color: var(--wp--preset--color--fg); font-size: 1.05rem; }
.st-bar { flex: 1 1 70px; max-width: 140px; height: 7px; border-radius: 4px; background: rgba(45, 81, 133, .55); overflow: hidden; }
.st-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--wp--preset--color--radar), var(--wp--preset--color--brass)); }
.st-js .st-city .st-bar i { transform: scaleX(0); transform-origin: right; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) .3s; }
.st-js .st-city.is-in .st-bar i { transform: scaleX(1); }
.st-city-topics { display: grid; gap: 4px; margin: 0; font-size: .93rem; color: var(--wp--preset--color--fg); line-height: 1.45; }
.st-city-topics i {
	font-style: normal;
	font-size: .76rem;
	font-weight: 700;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--radar);
	border-radius: 6px;
	padding: 1px 7px;
	margin-inline-end: 8px;
	vertical-align: .08em;
}
.st-city-topics i.he { background: #FF8FB3; }
@media (max-width: 480px) {
	.st-city { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px; }
	.st-city-icon { width: 64px; height: 64px; border-radius: 18px; }
	.st-city-icon svg { width: 50px; height: 50px; }
}

/* city icon colours (classes inside the inline SVG) */
.ci { color: #1A2231; }
.ci .a { fill: #F5B93E; } .ci .a2 { fill: #C98F1E; } .ci .s { fill: #FF5D3B; } .ci .r { fill: #5FD4E7; }
.ci .p { fill: #F3EDE0; } .ci .i { fill: #1A2231; } .ci .d { fill: #1D3E6F; } .ci .g { fill: #45D69F; }
.ci .g2 { fill: #2FA77D; } .ci .w { fill: #FFE3A1; }
.ci .i-s { stroke: #1A2231; stroke-width: 1.8; fill: none; stroke-linecap: round; }
.ci .p-s { stroke: #F3EDE0; stroke-width: 1.3; fill: none; stroke-linecap: round; }
.ci .r-s { stroke: #BFF3FB; stroke-width: 1.6; fill: none; stroke-linecap: round; }
.ci .a2-s { stroke: #C98F1E; fill: none; stroke-linecap: round; }
.ci-london .ci-hand-m { transform-box: view-box; transform-origin: 32px 26px; animation: st-spin 6s linear infinite; }
.ci-london .ci-hand-h { transform-box: view-box; transform-origin: 32px 26px; animation: st-spin 72s linear infinite; }
.ci-tokyo .ci-swing { transform-box: view-box; transform-origin: 32px 29px; animation: st-swing 2.6s ease-in-out infinite alternate; }
.ci-nyc .ci-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: st-flick .45s ease-in-out infinite alternate; }
.ci-cairo .ci-pulse { transform-box: fill-box; transform-origin: center; animation: st-pulse 3s ease-in-out infinite; }
.ci-paris .ci-tw { transform-box: fill-box; transform-origin: center; animation: st-twinkle 2.4s ease-in-out infinite; }
.ci-paris .ci-tw2 { animation-delay: -.8s; } .ci-paris .ci-tw3 { animation-delay: -1.6s; }
.ci-rio .ci-car { animation: st-car 5s ease-in-out infinite alternate; }
.ci .ci-wave { animation: st-wave 2.6s linear infinite; }
.ci-kenya .ci-nod { transform-box: view-box; transform-origin: 30px 42px; animation: st-nod 3.4s ease-in-out infinite; }
.ci-hq .ci-sway { transform-box: view-box; transform-origin: 46px 26px; animation: st-swing 3.2s ease-in-out infinite alternate; }

/* ---------- closing call to action ---------- */
.st-cta::before {
	content: "";
	display: block;
	width: 104px;
	height: 104px;
	margin: 0 auto 6px;
	background: var(--st-ic-logo) no-repeat center / contain;
	animation: st-bob 3.2s ease-in-out infinite;
	filter: drop-shadow(0 14px 18px rgba(2, 8, 18, .6));
}
.st-cta .wp-element-button { animation: st-glow 2.4s ease-in-out infinite; }

/* ---------- reveal on scroll (classes added by st-motion.js) ---------- */
.st-js .st-rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.st-js .st-rv.is-in { opacity: 1; transform: none; }
.st-js .st-city.st-rv.is-in:hover { transform: translateY(-5px); }

/* ---------- keyframes ---------- */
@keyframes st-blink { 50% { opacity: .25; } }
@keyframes st-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes st-spin { to { transform: rotate(360deg); } }
@keyframes st-float { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@keyframes st-fly { 0% { transform: translate(0, 0); opacity: 1; } 55% { transform: translate(calc(100vw + 240px), 60px); opacity: 1; } 56%, 100% { transform: translate(calc(100vw + 240px), 60px); opacity: 0; } }
@keyframes st-flap { from { transform: rotate(-18deg); } to { transform: rotate(16deg); } }
@keyframes st-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes st-dash { to { stroke-dashoffset: -32; } }
@keyframes st-swing { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes st-flick { from { transform: scale(1, 1); } to { transform: scale(.82, 1.16); } }
@keyframes st-pulse { 50% { transform: scale(1.14); opacity: .85; } }
@keyframes st-twinkle { 0%, 100% { opacity: .15; transform: scale(.55); } 50% { opacity: 1; transform: scale(1); } }
@keyframes st-car { from { transform: translate(0, 0); } to { transform: translate(24px, -12.5px); } }
@keyframes st-wave { to { transform: translateX(16px); } }
@keyframes st-nod { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-7deg); } }
@keyframes st-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 185, 62, 0); } 50% { box-shadow: 0 0 0 6px rgba(245, 185, 62, .22); } }

@media (prefers-reduced-motion: reduce) {
	.st-pigeon, .st-plane { display: none; }
	.st-js .st-rv { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
